Disclosure of Invention
The embodiment of the application provides a grouping configuration method and device for an electric power internet of things, which can be used for grouping configuration data of all intelligent electric meters, realizing efficient configuration of the configuration data and optimizing operation of the electric power internet of things.
In a first aspect, an embodiment of the present application provides a grouping configuration method for an electric power internet of things, including:
extracting common configuration data of the current group, and generating corresponding independent configuration data based on the independent attribute of each intelligent electric meter, wherein the common configuration data are set based on the common attribute of each intelligent electric meter of the current group;
generating configuration data packets corresponding to the intelligent electric meters on the basis of the common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters;
adding an identity identifier corresponding to the intelligent electric meter for each independent configuration data, and storing the common configuration data and each independent configuration data to a storage node;
when the fact that the standby electric meter replaces the corresponding intelligent electric meter to access the network is detected, the common configuration data are extracted from the storage node, the corresponding independent configuration data are extracted from the storage node on the basis of the identity of the corresponding intelligent electric meter, the corresponding configuration data packet is generated on the basis of the common configuration data and the corresponding independent configuration data, and the configuration data packet is sent to the standby electric meter.
Further, after adding an identity identifier corresponding to the smart meter to each piece of independent configuration data and storing the common configuration data and each piece of independent configuration data to a storage node, the method further includes:
when the common configuration data is detected to be updated, an update data packet is generated based on the updated common configuration data, and the update data packet is updated to each intelligent electric meter and the storage node.
Further, storing the common configuration data and each of the independent configuration data to a storage node includes:
signature information pre-distributed by a third-party server is added to the common configuration data and each independent configuration data, the common configuration data and each independent configuration data are stored in the storage node, and the signature information is also pre-distributed to the storage node for verification of information storage and extraction.
Further, after adding signature information pre-distributed by a third-party server to the common configuration data and each of the independent configuration data, the method further includes:
and receiving the signature information updated by the third-party server every other signature management period, wherein the third-party server also correspondingly updates the signature information of the storage node.
Further, generating the corresponding configuration data packet based on the common configuration data and the corresponding independent configuration data, and after sending the configuration data packet to the standby electric meter, the method further includes:
and extracting the identity of the standby electric meter, and updating the identity of the standby electric meter to the independent configuration data which is correspondingly stored in the storage node.
Further, after adding an identity identifier corresponding to the smart meter to each piece of independent configuration data and storing the common configuration data and each piece of independent configuration data to a storage node, the method further includes:
when a new electric meter is detected to be accessed into the current group, the common configuration data is requested from the storage node, the corresponding independent configuration data is generated based on the independent attribute of the new electric meter, and a configuration data packet is generated based on the common configuration data and the corresponding independent configuration data and is sent to the new electric meter.
Further, after generating a configuration data packet based on the common configuration data and the corresponding independent configuration data and sending the configuration data packet to the new electric meter, the method further includes:
and adding the identity of the new electric meter to the independent configuration data of the new electric meter, and sending the independent configuration data of the new electric meter to the storage node for storage.
In a second aspect, an embodiment of the present application provides a grouping configuration device for an internet of things for electric power, including:
the generating module is used for extracting the common configuration data of the current group and generating corresponding independent configuration data based on the independent attribute of each intelligent electric meter, and the common configuration data is set based on the common attribute of each intelligent electric meter of the current group;
the configuration module is used for generating configuration data packets corresponding to the intelligent electric meters based on the common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters;
the storage module is used for adding an identity identifier corresponding to the intelligent electric meter for each independent configuration data and storing the common configuration data and each independent configuration data to a storage node;
and the replacing module is used for extracting the common configuration data from the storage node when the standby electric meter is detected to replace the corresponding intelligent electric meter to access the network, extracting the corresponding independent configuration data from the storage node based on the identity of the corresponding intelligent electric meter, generating the corresponding configuration data packet based on the common configuration data and the corresponding independent configuration data, and sending the configuration data packet to the standby electric meter.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, the one or more programs cause the one or more processors to implement the group configuration method of the power internet of things as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the group configuration method of the power internet of things according to the first aspect.
The embodiment of the application extracts the common configuration data of the current group, generates corresponding independent configuration data based on the independent attribute of each intelligent electric meter, sets the common configuration data based on the common attribute of each intelligent electric meter of the current group, generates a configuration data packet corresponding to each intelligent electric meter based on the common configuration data and each independent configuration data, correspondingly distributes the configuration data packet to each intelligent electric meter, adds an identification mark corresponding to each intelligent electric meter to each independent configuration data, stores the common configuration data and each independent configuration data to a storage node, extracts the common configuration data from the storage node when detecting that a standby electric meter replaces the corresponding intelligent electric meter to enter the network, extracts the corresponding independent configuration data from the storage node based on the identification mark corresponding to the intelligent electric meter, and generates the corresponding configuration data packet based on the common configuration data and the corresponding independent configuration data, and sending the configuration data packet to a standby electric meter. By adopting the technical means, the configuration data of the intelligent electric meters can be configured in groups, the efficient configuration of the configuration data is realized, and the operation of the power internet of things is optimized.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The first embodiment is as follows:
fig. 1 is a flowchart of a grouping configuration method of an electric power internet of things according to an embodiment of the present application, where the grouping configuration method of the electric power internet of things provided in this embodiment may be executed by a grouping configuration device of the electric power internet of things, the grouping configuration device of the electric power internet of things may be implemented in a software and/or hardware manner, and the grouping configuration device of the electric power internet of things may be formed by two or more physical entities or may be formed by one physical entity. Generally, the group configuration device of the power internet of things can be a data management server of the power internet of things.
The following description will be given by taking the grouping configuration device of the power internet of things as an example of a main body for executing the grouping configuration method of the power internet of things. Referring to fig. 1, the grouping configuration method of the power internet of things specifically includes:
s110, extracting the common configuration data of the current group, and generating corresponding independent configuration data based on the independent attributes of the intelligent electric meters, wherein the common configuration data is set based on the common attributes of the intelligent electric meters of the current group.
The grouping configuration method of the power internet of things provided by the embodiment of the application aims to realize efficient setting of configuration data and optimize the setting process of the configuration data through grouping unified configuration of the configuration data of the intelligent electric meters. In addition, the configuration data are uniformly backed up in the storage nodes, so that the storage pressure of the data management server can be reduced, and the operation of the power internet of things is optimized. In addition, the configuration data are divided into common configuration data and independent configuration data and stored in the storage nodes, the common configuration data are the same configuration data of all the intelligent electric meters in the same group, and the configuration data of all the intelligent electric meters in the same group are stored in a unified mode, so that the storage space of the part of the configuration data can be saved, the condition that the storage resources are occupied due to repeated storage of the same configuration data is avoided, and the storage management of the configuration data is optimized.
Specifically, referring to fig. 2, in the electric power internet of things system, thedata management server 11 is in signal connection with thesmart meter 12, thestorage node 13 and a third-party server, respectively. Thesmart meter 12 is provided for each electricity consumption unit, and is configured to handle services such as electricity metering, security detection, log generation, and the like. Thestorage node 13 is used for backing up the configuration data set by the data management server for each smart meter, so as to implement backup storage of the configuration data of the smart meters and avoid that the configuration data is lost to influence service operation. Thedata management server 11 is configured to collectively manage the services of the intelligentelectric meters 12, and issue the configuration data to the intelligentelectric meters 12 to configure the operation parameters by setting the configuration data of the intelligentelectric meters 12, so as to implement service operation management of the intelligentelectric meters 12. And the backup storage of the configuration data is realized by sending the configuration data to the storage node. The third-party server 14 is a trusted third-party signature information management server, and is configured to generate signature information corresponding to the configuration data, where the signature information is sent to thedata management server 11 and thestorage node 13, respectively, for verification of subsequent configuration data storage and extraction. It can be understood that the security of data storage and extraction can be guaranteed by verifying the configuration data storage and extraction through the signature information. In addition, the signature information is managed by the trusted third-party server, so that the signature information management process of the data management server can be saved, the service processing burden of the data management server is reduced, and the service processing efficiency is optimized.
Further, when the configuration data of the intelligent electric meter is set, the configuration data of the intelligent electric meter is set in a grouping configuration mode in the embodiment of the application. Generally speaking, when an electric power internet of things system is set, configuration data of electric quantity collection, safety detection and work log generation services of each intelligent electric meter corresponding to one area are the same, and the configuration data shared by all the intelligent electric meters is defined as shared configuration data. The configuration data such as the identity of the intelligent electric meter, the session key for service data transmission, the electric meter number information and the like have independent attributes, and the part of the configuration data is different in each intelligent electric meter, so that the part of the configuration data is defined as independent configuration data. Based on the characteristics of the configuration data, data attribute classification, namely common attributes or independent attributes, of each part of configuration data is predefined, so that the subsequent intelligent electric meters can conveniently set the configuration data based on the data attribute classification. For example, in the architecture of the power internet of things, the smart meters corresponding to each household of the same building are set into the same group, in the group, the operation parameter settings of the electric quantity collection, the safety detection and the work log generation services of each smart meter are the same, that is, the corresponding configuration data are the same, and when the configuration data corresponding to the part of services are set, unified configuration can be performed, and the part of configuration data is defined as common configuration data. On the other hand, in the group, configuration data such as the identification corresponding to each smart meter, the session key for service data transmission, and meter number information are different and have independent attributes, and this part of configuration data needs to be set corresponding to the independent attributes of these smart meters, and this part of configuration data is defined as independent configuration data. It can be understood that the common configuration data is partial configuration data in which all the smart meters currently grouped are the same, and the independent configuration data is partial configuration data in which all the smart meters currently grouped are different. In the embodiment of the application, in consideration of the common attribute of the common configuration data, the common configuration data of each smart meter which is currently grouped is configured only once, and the independent attributes of each smart meter need to be configured independently.
Specifically, after the data management server completes the setting of the common configuration data, the data management server sets the independent configuration data of each smart meter which is currently grouped. The corresponding identity mark, the session key for service data transmission and the electric meter label information can be generated correspondingly through manual setting information, and unique independent attribute information can be extracted one by one from a preset independent attribute information list to configure configuration data such as the identity mark, the session key for service data transmission, the electric meter label information and the like. Before that, the operation and maintenance manager builds the independent attribute information list in advance, and sets a large amount of independent attribute information, wherein each independent attribute information is used for being allocated to one intelligent electric meter to set independent configuration data. The independent attribute information includes information such as an identity, a session key for service data transmission, and electricity meter label information. By constructing the independent attribute information list in advance, automatic setting of independent configuration data of each intelligent electric meter can be conveniently carried out subsequently, and the setting process of the independent configuration data is optimized.
S120, generating configuration data packets corresponding to the intelligent electric meters based on the common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters;
s130, adding an identity mark corresponding to the intelligent electric meter for each independent configuration data, and storing the common configuration data and each independent configuration data to a storage node.
Further, after the setting of the common configuration data and the independent configuration data is completed, corresponding to each intelligent electric meter, the data management server extracts the common configuration data and the independent configuration data corresponding to the intelligent electric meters, packages the common configuration data and the independent configuration data into configuration data packets, and sends the configuration data packets to the intelligent electric meters corresponding to the current group. And for each intelligent electric meter, extracting the common configuration data and the independent configuration data corresponding to the intelligent electric meter, and further generating a configuration data packet and sending the configuration data packet to the corresponding intelligent electric meter.
Referring to fig. 2, after thedata management server 11 packages each configuration data package and distributes the configuration data package to eachsmart meter 12, the backup process of the configuration data of eachsmart meter 12 is further performed. In order to reduce repeated backup of common configuration data among the intelligentelectric meters 12 in the same group, in the embodiment of the present application, the configuration data of each intelligentelectric meter 12 is backed up without directly backing up the configuration data packet. Only one share of common configuration data is stored corresponding to each intelligentelectric meter 12 in the same group; the independent configuration data corresponding to eachsmart meter 12 in the same group needs to be backed up and stored. The identity of the independent configuration data of each smart meter needs to be added for storage, and for the shared configuration data, the group identifier corresponding to the current group is directly added for storage, so that the shared configuration data of the current group and the independent configuration data of each smart meter are backed up to thestorage node 13. By adding corresponding identification information, the index information can be used as data storage and extraction index information, so that a subsequent data management server can perform query extraction of configuration data based on the index information.
Specifically, when storing the common configuration data and the independent configuration data of each smart meter to thestorage node 13, the data management server further adds the signature information pre-allocated by the third-party server 14 to the common configuration data and each independent configuration data, stores the common configuration data and each independent configuration data to thestorage node 13, and pre-allocates the signature information to thestorage node 13 for verification of information storage and extraction. It is understood that the signature information is distributed to thedata management server 11 and thestorage node 13 in advance by the third-party server 14. And when thestorage node 13 receives the shared configuration data backed up by thedata management server 11 and the independent configuration data of each smart meter, comparing the signature information of the corresponding configuration data with the pre-configured signature information by detecting the signature information of the corresponding configuration data, if the signature information is consistent with the pre-configured signature information, storing the relevant configuration data, otherwise, discarding the part of configuration data. Correspondingly, when the subsequent data management server configures data for the storage request, the signature information also needs to be attached to the data request, so that the storage node can conveniently judge whether the current data request is legal or not, and only when the signature information is compared and the data request is verified to be legal, the data request is responded. Therefore, the safe storage of the configuration data can be further ensured, the difficulty of stealing the configuration data is increased, and the safety of the storage and extraction of the configuration data is further improved.
In one embodiment, the signature information updated by the third-party server is received every other signature management period, and the third-party server also updates the signature information of the storage node correspondingly. It can be understood that by periodically updating the signature information, the situation that the signature information is easily broken, which results in the configuration data being stolen and leaked, can be avoided. Therefore, the difficulty of stealing configuration data is increased, the safety of data storage and extraction is improved, and the operation of the power internet of things is optimized.
In one embodiment, when the update of the common configuration data is detected, an update data packet is generated based on the updated common configuration data, and the update data packet is updated to each of the smart electricity meters and the storage nodes. For example, referring to fig. 3, when an operation and maintenance manager of the power internet of things needs to modify the common configuration data of the currently grouped smart meters, the common configuration data is modified through the related update information, and when thedata management service 11 detects that the common configuration data is updated, a corresponding update data packet is correspondingly generated, where the update data packet may include all the updated common configuration data, or may only include the updated common configuration data. Further, thedata management service 11 sends an update data packet to eachsmart meter 12 and thestorage node 13 currently grouped, so that eachsmart meter 12 and thestorage node 13 update the common configuration data based on the update data packet. The update data packet sent to thestorage node 13 may include a packet identifier of the current packet, so that thestorage node 13 searches for corresponding common configuration data to perform data update. It can be understood that, in order to ensure real-time update of configuration data setting and backup and avoid influence on system operation and use of configuration data due to lagged versions of the configuration data set and backup by the system, in the embodiment of the present application, after the data management server updates the common configuration data, the common configuration data is updated to the smart meter, and the smart meter resets the relevant operation parameters based on the new common configuration data. In another invention, the storage node queries the internally stored shared configuration data of the corresponding group through the updated shared configuration data to update, so as to complete the configuration and backup updating of the shared configuration data and ensure the real-time performance of the setting and backup of the shared configuration data.
In one embodiment, when it is detected that a new electric meter accesses a current group, the common configuration data is requested from the storage node, the corresponding independent configuration data is generated based on the independent attribute of the new electric meter, and a configuration data packet is generated based on the common configuration data and the corresponding independent configuration data and sent to the new electric meter. Referring to fig. 4, based on the configuration data previously backed up by thedata management server 11, when the newelectric meter 1N accesses the power internet of things currently grouped, in order to improve efficiency of setting the configuration data of the newelectric meter 1N and reduce a time period for setting the configuration data, the configuration data of the newelectric meter 1N is set by directly extracting common configuration data currently grouped. It can be understood that, because the newelectric meter 1N is in the same group, the configuration requirements of the electric quantity collection, the security detection and the work log generation services of the newelectric meter 1N are the same as those of the other smartelectric meters 12 in the same group, at this time, in order to improve the configuration efficiency of the configuration data of the newelectric meter 1N, the common configuration data corresponding to the current group at the storage node may be extracted to perform configuration data setting of the common attribute part of the new electric meter. At this time, thedata management server 11 queries thestorage node 13 by the group identifier of the corresponding group, and extracts the corresponding common configuration data. Further, thedata management server 11 sets the independent configuration data of the newelectric meter 1N with reference to the configuration manner of the independent configuration data in step S110, further generates a configuration data packet based on the extracted common configuration data and the independent configuration data generated in real time, and sends the configuration data packet to the newelectric meter 1N to perform the setting of the operation parameters of the newelectric meter 1N.
Further, the identity of the new electric meter is added to the independent configuration data of the new electric meter, and the independent configuration data of the new electric meter is sent to the storage node for storage. It will be appreciated that in order to optimise the management of the configuration data for the new meter, a back-up storage of the new meter configuration data is required. Wherein, the common configuration data part of the new electric meter is backed up in the storage node before, and the repeated storage is not needed. And for the independent configuration data of the new electric meter, the identity of the new electric meter needs to be added and then stored in the storage node, so that the independent configuration data of the new electric meter can be conveniently extracted based on the identity of the new electric meter.
S140, when the fact that the standby electric meter replaces the corresponding intelligent electric meter to access the network is detected, the common configuration data are extracted from the storage node, the corresponding independent configuration data are extracted from the storage node on the basis of the identity of the corresponding intelligent electric meter, the corresponding configuration data packet is generated on the basis of the common configuration data and the corresponding independent configuration data, and the configuration data packet is sent to the standby electric meter.
It can be understood that in the operation process of the electric power internet of things system, the situation that the intelligent electric meter needs to be replaced due to equipment failure and equipment aging sometimes occurs. And when the standby electric meter replaces the original intelligent electric meter to access the network, the standby electric meter needs to be configured with operation parameters. Because the standby electric meter is used for replacing the original intelligent electric meter to access the network, and the operation parameters of the standby electric meter are the same as those of the original intelligent electric meter, the operation parameters of the standby electric meter are configured by acquiring the configuration data of the original intelligent electric meter. Specifically, when the data management server detects that the standby electric meter replaces the original intelligent electric meter to access the network. Firstly, inquiring a storage node through an identity of an original intelligent electric meter, and acquiring independent configuration data of the original intelligent electric meter stored at the storage node. And, since the standby meter accesses the current packet, it is necessary to extract the common configuration data of the corresponding packet stored at the storage node. And generating a configuration data packet based on the common configuration data and the independent configuration data of the original intelligent electric meter, and sending the configuration data packet to a standby electric meter for setting the operation parameters. The configuration data of the standby electric meter is configured by extracting the independent configuration data of the original intelligent electric meter and the corresponding grouped common configuration data, so that the setting of the configuration data of the standby electric meter can be reduced, the configuration efficiency of the configuration data is improved, and the operation of the electric power Internet of things system is optimized.
In one embodiment, the data management server extracts the identity of the standby electric meter, and updates the identity of the standby electric meter to the independent configuration data stored in the storage node. It can be understood that, in order to facilitate the data management server to manage the configuration data of the standby electric meter, the identification bound to the independent configuration data stored in the original smart electric meter needs to be updated according to the identification of the standby electric meter, and the identification of the standby electric meter is replaced with the identification of the old electric meter to update the identification. Therefore, the extraction of independent configuration data during the subsequent electricity meter replacement can be facilitated.
The method comprises the steps of extracting common configuration data of a current group, generating corresponding independent configuration data based on independent attributes of the intelligent meters, setting the common configuration data based on the common attributes of the intelligent meters of the current group, generating configuration data packets corresponding to the intelligent meters based on the common configuration data and the independent configuration data, correspondingly distributing the configuration data packets to the intelligent meters, adding identification marks corresponding to the intelligent meters to the independent configuration data, storing the common configuration data and the independent configuration data into a storage node, extracting the common configuration data from the storage node when detecting that a standby electric meter replaces the corresponding intelligent meter to enter a network, extracting the corresponding independent configuration data from the storage node based on the identification marks corresponding to the intelligent meters, and generating the corresponding configuration data packets based on the common configuration data and the corresponding independent configuration data, and sending the configuration data packet to a standby electric meter. By adopting the technical means, the configuration data of the intelligent electric meters can be configured in groups, the efficient configuration of the configuration data is realized, and the operation of the power internet of things is optimized.
Example two:
on the basis of the foregoing embodiment, fig. 5 is a schematic structural diagram of a grouping configuration device of an electric power internet of things according to a second embodiment of the present application. Referring to fig. 5, the grouping configuration device of the power internet of things provided in this embodiment specifically includes: ageneration module 21, aconfiguration module 22, astorage module 23 and areplacement module 24.
The generatingmodule 21 is configured to extract common configuration data of a current group, and generate corresponding independent configuration data based on independent attributes of the smart meters, where the common configuration data is set based on common attributes of the smart meters of the current group;
theconfiguration module 22 is configured to generate a configuration data packet corresponding to each smart meter based on the common configuration data and each of the independent configuration data, and correspondingly distribute the configuration data packet to each smart meter;
thestorage module 23 is configured to add an identity identifier corresponding to the smart meter to each piece of independent configuration data, and store the common configuration data and each piece of independent configuration data to a storage node;
thereplacement module 24 is configured to, when it is detected that the standby electric meter replaces the corresponding smart electric meter to access the network, extract the common configuration data from the storage node, extract the corresponding independent configuration data from the storage node based on the identification of the corresponding smart electric meter, generate the corresponding configuration data packet based on the common configuration data and the corresponding independent configuration data, and send the configuration data packet to the standby electric meter.
The method comprises the steps of extracting common configuration data of a current group, generating corresponding independent configuration data based on independent attributes of the intelligent meters, setting the common configuration data based on the common attributes of the intelligent meters of the current group, generating configuration data packets corresponding to the intelligent meters based on the common configuration data and the independent configuration data, correspondingly distributing the configuration data packets to the intelligent meters, adding identification marks corresponding to the intelligent meters to the independent configuration data, storing the common configuration data and the independent configuration data into a storage node, extracting the common configuration data from the storage node when detecting that a standby electric meter replaces the corresponding intelligent meter to enter a network, extracting the corresponding independent configuration data from the storage node based on the identification marks corresponding to the intelligent meters, and generating the corresponding configuration data packets based on the common configuration data and the corresponding independent configuration data, and sending the configuration data packet to a standby electric meter. By adopting the technical means, the configuration data of the intelligent electric meters can be configured in groups, the efficient configuration of the configuration data is realized, and the operation of the power internet of things is optimized.
The grouping configuration device of the power internet of things provided by the second embodiment of the application can be used for executing the grouping configuration method of the power internet of things provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 6, the electronic device includes: aprocessor 31, amemory 32, acommunication module 33, aninput device 34, and anoutput device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
Thememory 32 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the grouping configuration method of the power internet of things according to any embodiment of the present application (for example, a generation module, a configuration module, a storage module, and a replacement module in a grouping configuration device of the power internet of things). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Thecommunication module 33 is used for data transmission.
Theprocessor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, that is, the grouping configuration method of the power internet of things is realized.
Theinput device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. Theoutput device 35 may include a display device such as a display screen.
The electronic device provided by the embodiment can be used for executing the grouping configuration method of the power internet of things provided by the embodiment one, and has corresponding functions and beneficial effects.
Example four:
embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a group configuration method of a power internet of things, the group configuration method of the power internet of things including: extracting common configuration data of the current group, and generating corresponding independent configuration data based on the independent attribute of each intelligent electric meter, wherein the common configuration data are set based on the common attribute of each intelligent electric meter of the current group; generating configuration data packets corresponding to the intelligent electric meters on the basis of the common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters; adding an identity identifier corresponding to the intelligent electric meter for each independent configuration data, and storing the common configuration data and each independent configuration data to a storage node; when the fact that the standby electric meter replaces the corresponding intelligent electric meter to access the network is detected, the common configuration data are extracted from the storage node, the corresponding independent configuration data are extracted from the storage node on the basis of the identity of the corresponding intelligent electric meter, the corresponding configuration data packet is generated on the basis of the common configuration data and the corresponding independent configuration data, and the configuration data packet is sent to the standby electric meter.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the grouping configuration method of the power internet of things described above, and may also perform related operations in the grouping configuration method of the power internet of things provided in any embodiment of the present application.
The grouping configuration device, the storage medium, and the electronic device of the power internet of things provided in the foregoing embodiments may execute the grouping configuration method of the power internet of things provided in any embodiment of the present application, and reference may be made to the grouping configuration method of the power internet of things provided in any embodiment of the present application without detailed technical details described in the foregoing embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.