CN112769625B - Grouping configuration method and device for configuration data - Google Patents

Grouping configuration method and device for configuration data Download PDF

Info

Publication number
CN112769625B
CN112769625B CN202110122445.7A CN202110122445A CN112769625B CN 112769625 B CN112769625 B CN 112769625B CN 202110122445 A CN202110122445 A CN 202110122445A CN 112769625 B CN112769625 B CN 112769625B
Authority
CN
China
Prior art keywords
configuration data
independent
common
grouping
electric meter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110122445.7A
Other languages
Chinese (zh)
Other versions
CN112769625A (en
Inventor
王琳
陈名峰
林英喜
陈杰文
李玮棠
马凤鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202110122445.7A priority Critical patent/CN112769625B/en
Publication of CN112769625A publication Critical patent/CN112769625A/en
Application granted granted Critical
Publication of CN112769625B publication Critical patent/CN112769625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/35Utilities, e.g. electricity, gas or water
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • H04L41/0856Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the application discloses a grouping configuration method and device for configuration data. According to the technical scheme, the first common configuration data corresponding to the associated grouping are extracted, the second common configuration data of the current grouping are set based on the first common configuration data, the corresponding independent configuration data are generated based on the independent attributes of the intelligent electric meters of the current grouping, the configuration data packets corresponding to the intelligent electric meters of the current grouping are generated based on the second common configuration data and the independent configuration data, the configuration data packets are correspondingly distributed to the intelligent electric meters of the current grouping, and the second common configuration data and the independent configuration data are packaged into the backup data packets to be stored in the storage node. 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 of the intelligent electric meters is realized, and the operation of the power internet of things is optimized.

Description

Grouping configuration method and device for configuration data
Technical Field
The embodiment of the application relates to the technical field of power internet of things, in particular to a grouping configuration method and device of configuration data.
Background
At present, with the development of the internet of things technology, more power systems are introduced into the internet of things technology to construct a power internet of things system so as to provide more convenient and flexible power operation management. The electric power internet of things is an intelligent service system which is characterized in that modern information technologies such as mobile interconnection, artificial intelligence and the like and advanced communication technologies are fully applied around all links of an electric power system, all things interconnection and man-machine interaction of all links of the electric power system are achieved, and the intelligent service system has the advantages of comprehensive state sensing, efficient information processing and convenient and flexible application. In the power internet of things, automatic collection of user power consumption data is generally realized through an intelligent electric meter, and the collected power consumption data is uploaded to a background server to perform system services such as data management and the like. The intelligent ammeter executes the services of collecting and uploading electricity consumption data, generating work logs, detecting safety of the ammeter and the like, and the services are that ammeter operation parameter configuration is carried out based on configuration data preset by a data management server, and related services are executed according to the operation parameters.
However, the existing power internet of things lacks management on configuration data of the intelligent electric meter, and the intelligent electric meter needs to manually set the configuration data one by one when the configuration data is set, so that the whole process is relatively long, and the configuration data setting process is relatively inefficient.
Disclosure of Invention
The embodiment of the application provides a configuration data grouping configuration method and device, which can be used for grouping configuration data of all intelligent electric meters, realizing efficient configuration of the configuration data of the intelligent electric meters and optimizing operation of an electric power internet of things.
In a first aspect, an embodiment of the present application provides a packet configuration method for configuration data, including:
when configuration data setting is carried out on the intelligent electric meters grouped at present, determining the related grouping of the current grouping, and extracting first common configuration data corresponding to the related grouping, wherein the first common configuration data are set on the basis of the common attributes of the intelligent electric meters in the related grouping;
setting second common configuration data of a current group based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of all intelligent electric meters of the current group, generating configuration data packets corresponding to all intelligent electric meters of the current group based on the second common configuration data and all the independent configuration data, and correspondingly distributing the configuration data packets to all the intelligent electric meters of the current group;
adding an identity identifier corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding a grouping identifier of a current group and signature information pre-distributed by a third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for verification of information storage and extraction.
Further, after storing the backup data packet in the storage node, the method further includes:
when detecting that the configuration data of the smart electric meter corresponding to the current grouping is lost, inquiring the storage node based on the grouping identification of the current grouping and the identity identification of the corresponding smart electric meter, extracting the second common configuration data and the corresponding independent configuration data from the corresponding backup data packet, packaging the second common configuration data and the corresponding independent configuration data into a configuration data packet, and sending the configuration data packet to the corresponding smart electric meter.
Further, after storing the backup data packet in the storage node, the method further includes:
when it is detected that a new electric meter is accessed to a current group, the second common configuration data is requested from the storage node based on the group identification of the current group, 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 second 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 second 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 identifier of the new electric meter to the independent configuration data of the new electric meter, sending the independent configuration data of the new electric meter to the storage node based on the currently grouped group identifier, and storing the independent configuration data of the new electric meter to the corresponding backup data packet.
Further, after storing the backup data packet in the storage node, the method further includes:
when the standby electric meter is detected to replace the corresponding intelligent electric meter to access the current group, the group identification of the current group and the identity identification of the corresponding intelligent electric meter inquire the storage node, the second common configuration data and the corresponding independent configuration data are extracted from the corresponding backup data packet, and the second common configuration data and the corresponding independent configuration data are packaged into a configuration data packet and sent to the standby electric meter.
Further, after the second common configuration data and the corresponding independent configuration data are packaged into a configuration data packet and sent 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 stored in the backup data packet corresponding to the storage node.
Further, after storing the backup data packet in the storage node, the method further includes:
when the second common configuration data is detected to be updated, an update data packet is generated based on the updated second common configuration data, and the update data packet is updated to each intelligent electric meter and the storage node which are grouped currently.
In a second aspect, an embodiment of the present application provides a packet configuration apparatus for configuring data, including:
the extraction module is used for determining the related grouping of the current grouping and extracting first common configuration data corresponding to the related grouping when configuration data setting is carried out on the intelligent electric meters of the current grouping, and the first common configuration data are set based on the common attributes of the intelligent electric meters in the related grouping;
the configuration module is used for setting second common configuration data of the current grouping based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of the intelligent electric meters of the current grouping, generating configuration data packets corresponding to the intelligent electric meters of the current grouping based on the second common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters of the current grouping;
and the backup module is used for adding the identity identification corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding the grouping identification of the current grouping and the signature information pre-distributed by the third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for information storage and extraction verification.
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 the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the packet configuration method of configuration data according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium storing computer-executable instructions for performing the packet configuration method of configuration data as described in the first aspect when executed by a computer processor.
According to the method and the device, when configuration data setting is carried out on the intelligent electric meters which are grouped currently, the related groups which are grouped currently are determined, first common configuration data corresponding to the related groups are extracted, and the first common configuration data are set based on the common attributes of the intelligent electric meters in the related groups; setting second common configuration data of the current grouping based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of the intelligent electric meters of the current grouping, generating configuration data packets corresponding to the intelligent electric meters of the current grouping based on the second common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters of the current grouping; and adding the identity identification corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding the grouping identification of the current grouping and the signature information pre-distributed by the third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for verification of information storage and extraction. 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 of the intelligent electric meters is realized, and the operation of the power internet of things is optimized.
Drawings
Fig. 1 is a flowchart of a method for configuring a packet of configuration data according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating configuration data setting of a current grouping of the power internet of things in the first embodiment of the present application;
FIG. 3 is a diagram illustrating common configuration data update according to one embodiment of the present application;
FIG. 4 is a schematic diagram illustrating configuration data setup of a new electric meter according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a packet configuration apparatus for configuring data according to a second embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
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 configuration data grouping configuration method according to an embodiment of the present application, where the configuration data grouping configuration method provided in this embodiment may be executed by a configuration data grouping configuration device, the configuration data grouping configuration device may be implemented in a software and/or hardware manner, and the configuration data grouping configuration device may be formed by two or more physical entities or may be formed by one physical entity. Generally, the group configuration device of the configuration data may be a data management server of the power internet of things.
The following description will be given taking, as an example, a main body of the packet configuration device of the configuration data as a packet configuration method for executing the configuration data. Referring to fig. 1, the method for configuring a packet of configuration data specifically includes:
s110, when configuration data setting is carried out on the intelligent electric meters grouped at present, determining the related groups of the present groups, and extracting first common configuration data corresponding to the related groups, wherein the first common configuration data are set based on the common attributes of the intelligent electric meters in the related groups;
s120, second common configuration data of the current group are set based on the first common configuration data, corresponding independent configuration data are generated based on independent attributes of all the intelligent electric meters of the current group, configuration data packages corresponding to all the intelligent electric meters of the current group are generated based on the second common configuration data and all the independent configuration data, and the configuration data packages are correspondingly distributed to all the intelligent electric meters of the current group.
The grouping configuration method of the configuration data aims to divide the configuration data into the common configuration data and the independent configuration data for configuration based on the common attribute and the independent attribute of the configuration data, the common configuration data can be configured corresponding to all the intelligent electric meters of the whole group, the independent configuration data are configured based on a single intelligent electric meter, repeated backup of the part of the configuration data corresponding to the common attribute among the intelligent electric meters can be reduced, and the setting efficiency of the configuration data is improved. And when the shared configuration data is set, the related grouping of the current grouping is determined, and the shared configuration data of the current grouping is set based on the shared configuration data of the related grouping, so that the configuration data setting efficiency of each intelligent electric meter of the current grouping is further improved, and the setting process of the configuration data is optimized. 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, the common configuration data are uniformly stored in the common configuration data of all the intelligent electric meters in the same group, the storage space of the common configuration data can be saved, the situation that the same configuration data are repeatedly stored to cause storage resource occupation 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, the data management server 11 is in signal connection with the smart meter 12, the storage node 13 and a third-party server, respectively. The smart 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. The storage 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. The data management server 11 is configured to collectively manage the services of the intelligent electric meters 12, and by setting configuration data of the intelligent electric meters 12, issue the configuration data to the intelligent electric meters 12 to configure operation parameters, so as to implement service operation management of the intelligent electric 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 the data management server 11 and the storage 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 region or one building 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.
Further, when configuration data setting is performed on a plurality of smart meters corresponding to one group, the data management server first performs setting of shared configuration data, defines shared configuration data of the current group as second shared configuration data, and determines an associated group of the current group when performing setting of the second shared configuration data. It should be noted that the association packet and the current packet have an association in the services of power collection, security detection, work log generation, and the like. When the power internet of things groups the intelligent electric meters, the groups corresponding to the intelligent electric meters in the adjacent areas and the adjacent floors are generally set as related groups. Generally speaking, the current packet and the associated packet are basically consistent in processing logics of services such as electric quantity collection, security detection, work log generation and the like, and only there is a difference in sequence in a data transmission or transmission timing sequence. Therefore, in consideration of the high similarity between the current group and the associated group corresponding configuration data, the embodiment of the present application performs the setting of the second common configuration data of the current group by extracting the common configuration data of the current group corresponding to the associated group when performing the setting of the second common configuration data of the current group. And defining the common configuration data of the association group as first common configuration data, and backing up the first common configuration data in the storage node after the configuration data is set in the association group. Referring to fig. 2, the data management server 11 extracts the first common configuration data of the associated group from the storage node 13 when setting the second common configuration data currently grouping the respective smartmeters 12. And generating second common configuration data based on the first common configuration data and the setting information of the operation and maintenance personnel. It can be understood that the first common configuration data and the second common configuration data are highly similar, so that the operation and maintenance personnel only need to provide corresponding modification information, and the data management server modifies the first common configuration data based on the modification information to obtain the second common configuration data. For example, when the common configuration data of a plurality of smart meters in one building is set, another adjacent building is highly similar to the common configuration data in the services of power collection, security detection, working log generation and the like, and then the groups corresponding to the smart meters in the two buildings are determined to be associated with each other. The setting of the second common configuration data can be completed by extracting the first common configuration data corresponding to the prior configuration of the associated packet for adaptive modification. It can be understood that the second common configuration data is set based on the first common configuration data, which can improve the setting efficiency of the currently grouped second common configuration data and simplify the setting process of the configuration data.
Further, after the data management server completes the setting of the common configuration data, the data management server sets the independent configuration data of each intelligent electric 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.
Further, referring to fig. 2, after the setting of the common configuration data and the independent configuration data is completed, the data management server 11 extracts the second common configuration data and the independent configuration data corresponding to the smart meters 12 corresponding to the current group, packages the second common configuration data and the independent configuration data into a configuration data packet, and sends the configuration data packet to the smart meters 12 corresponding to the current group. For each intelligent electric meter 12, the common configuration data and the independent configuration data corresponding to the intelligent electric meter 12 are extracted, and then a configuration data packet is generated and sent to the corresponding intelligent electric meter 12.
S130, adding the identity identification corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding the grouping identification of the current grouping and the signature information pre-distributed by a third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for information storage and extraction verification.
Referring to fig. 2, after the data management server 11 packages each configuration data package and distributes the configuration data package to each smart meter 12, the backup process of the configuration data of each smart meter 12 is further performed. In order to reduce repeated backup of common configuration data among the intelligent electric meters 12 in the same group, in the embodiment of the present application, the configuration data of each intelligent electric meter 12 is backed up without directly backing up the configuration data packet. Only one piece of second common configuration data is stored corresponding to each intelligent electric meter 12 in the same group; the independent configuration data corresponding to each smart meter 12 in the same group needs to be backed up and stored. The identity identification of each intelligent electric meter needs to be added to store the independent configuration data, and after the identity identification of the corresponding intelligent electric meter is correspondingly added to each independent configuration data, a backup data packet is generated based on the second common configuration data and each independent configuration data. And further adding the grouping identifier corresponding to the current grouping to the backup data package, and backing up the backup data package to the storage 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.
Further, when the backup data package is stored in the storage node 13, the data management server further adds the signature information pre-allocated by the third-party server 14 to the backup data package, stores the backup data package in the storage node 13, and the third-party server 14 further pre-allocates the signature information to the storage node 13 for verification of information storage and extraction. It is understood that the signature information is distributed to the data management server 11 and the storage node 13 in advance by the third-party server 14. And when the storage node 13 receives the backup data packet backed up by the data management server 11, comparing the detected corresponding signature information with the pre-configured signature information, if the detected signature information is consistent with the pre-configured signature information, storing the backup data packet, otherwise, discarding the backup data packet. 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 cracked to cause the backup data package to be 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 data management server detects that the second common configuration data is updated, an update data packet is generated based on the updated second common configuration data, and the update data packet is updated to each currently grouped smart meter and the storage node. For example, referring to fig. 3, when an operation and maintenance manager of the power internet of things needs to modify the second common configuration data of the currently grouped smart meters, the second common configuration data is modified through the related update information, and when the data management server 11 detects that the second common configuration data is updated, a corresponding update data packet is correspondingly generated, where the update data packet may include all the updated second common configuration data, or may only include the updated second common configuration data. Further, the data management server 11 sends an update data packet to each smart meter 12 and the storage node 13 currently grouped, so that each smart meter 12 and the storage node 13 update the common configuration data based on the update data packet. The update data packet sent to the storage node 13 may include a group identifier of the current group, so that the storage node 13 searches for the backup data packet, and determines corresponding second 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 lagging versions of the configuration data set and backup by the system, in the embodiment of the application, after the second common configuration data is updated by the data management server, the second common configuration data is updated to the smart meter, and the smart meter resets the relevant operation parameters based on the new second common configuration data. In another invention, the storage node queries the second shared configuration data of the corresponding group stored in the storage node for updating through the updated second shared configuration data, so as to complete the configuration and backup updating of the second shared configuration data, and ensure the real-time performance of the setting and backup of the second shared configuration data.
In one embodiment, when it is detected that a new electric meter accesses a current group, the second common configuration data is requested from the storage node based on a group identifier of the current group, corresponding independent configuration data is generated based on an independent attribute of the new electric meter, and a configuration data packet is generated based on the second common configuration data and the corresponding independent configuration data and is sent to the new electric meter. Referring to fig. 4, based on the backup data packet backed up in advance by the data management server 11, when the new electric meter 1N accesses the currently grouped electric power internet of things, in order to improve efficiency of setting configuration data of the new electric meter 1N and reduce a time period for setting the configuration data, the configuration data of the new electric meter 1N is set by extracting second common configuration data of the current group. It can be understood that, because the new electric 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 new electric meter 1N are the same as those of the other smart electric meters 12 in the same group, at this time, in order to improve the configuration efficiency of the configuration data of the new electric meter 1N, the second 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, the data management server 11 queries the storage node 13 by the group identification of the corresponding group, and extracts the corresponding second common configuration data. Further, the data management server 11 sets the independent configuration data of the new electric 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 second common configuration data and the independent configuration data generated in real time, and sends the configuration data packet to the new electric meter 1N to perform the operation parameter setting of the new electric meter 1N.
Further, the identity of the new electric meter is added to the independent configuration data of the new electric meter, the independent configuration data of the new electric meter is sent to the storage node based on the grouping identity of the current grouping, and the independent configuration data of the new electric meter is stored in the corresponding backup data packet. 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 backup data packet corresponding to the storage node, so that the independent configuration data of the new electric meter can be extracted based on the identity of the new electric meter.
In one embodiment, when the data management server detects that the standby electric meter replaces the corresponding smart electric meter to access the current group, the group identifier of the current group and the identity identifier of the corresponding smart electric meter query the storage node, extract the second common configuration data and the corresponding independent configuration data from the corresponding backup data packet, package the second common configuration data and the corresponding independent configuration data into a configuration data packet, and send the configuration data packet 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 current grouping of the original intelligent electric meter, the operation parameter configuration needs to be carried out on the standby electric meter. Because the standby electric meter replaces the original intelligent electric meter to be connected into the current group, 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, the storage node is inquired through the grouping identification of the current grouping to determine the corresponding backup data packet, and the second common configuration data of the backup data packet is extracted. Further, the backup data packet is inquired based on the identity of the original intelligent electric meter, and independent configuration data of the original intelligent electric meter, which is stored in the backup data packet, is obtained. And generating a configuration data packet based on the second 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 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 second common configuration data which are correspondingly grouped, so that 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.
Further, 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 backup data packet corresponding to 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.
In one embodiment, when the data management server detects that the configuration data of the smart meter corresponding to the current group is lost, the data management server queries the storage node based on the group identifier of the current group and the identity identifier of the corresponding smart meter, extracts the second common configuration data and the corresponding independent configuration data from the corresponding backup data packet, packages the second common configuration data and the corresponding independent configuration data into a configuration data packet, and sends the configuration data packet to the corresponding smart meter. And querying the corresponding backup data packet through the corresponding group identifier to obtain second common configuration data, extracting independent configuration data corresponding to the intelligent electric meter in the backup data packet through the corresponding identity identifier, packaging the extracted second common configuration data and the corresponding independent configuration data into a configuration data packet, and sending the configuration data packet to the corresponding intelligent electric meter, so that reconfiguration when the configuration data is lost is completed, and normal operation of the intelligent electric meter is guaranteed.
In the above, when configuration data setting is performed on the currently grouped smart meters, determining the currently grouped association groups, and extracting first common configuration data corresponding to the association groups, where the first common configuration data is set based on common attributes of the smart meters in the association groups; setting second common configuration data of the current grouping based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of the intelligent electric meters of the current grouping, generating configuration data packets corresponding to the intelligent electric meters of the current grouping based on the second common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters of the current grouping; and adding the identity identification corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding the grouping identification of the current grouping and the signature information pre-distributed by the third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for verification of information storage and extraction. 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 of the intelligent electric meters 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 packet configuration apparatus for configuring data according to a second embodiment of the present application. Referring to fig. 5, the packet configuration apparatus for configuring data provided in this embodiment specifically includes: an extraction module 21, a configuration module 22 and a backup module 23.
The extraction module 21 is configured to, when configuration data setting is performed on currently grouped smart meters, determine a currently grouped association group, and extract first common configuration data corresponding to the association group, where the first common configuration data is set based on common attributes of the smart meters in the association group;
the configuration module 22 is configured to set second common configuration data of a current group based on the first common configuration data, generate corresponding independent configuration data based on independent attributes of the currently grouped smart meters, generate configuration data packages corresponding to the currently grouped smart meters based on the second common configuration data and the independent configuration data, and correspondingly distribute the configuration data packages to the currently grouped smart meters;
the backup module 23 is configured to add an identity identifier corresponding to the smart meter to each of the independent configuration data, package the second common configuration data and the independent configuration data into a backup data packet, add a currently grouped group identifier and signature information pre-allocated by a third-party server to the backup data packet, store the backup data packet in a storage node, and pre-allocate the signature information to the storage node by the third-party server for verification of information storage and extraction.
In the above, when configuration data setting is performed on the currently grouped smart meters, determining the currently grouped association groups, and extracting first common configuration data corresponding to the association groups, where the first common configuration data is set based on common attributes of the smart meters in the association groups; setting second common configuration data of the current grouping based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of the intelligent electric meters of the current grouping, generating configuration data packets corresponding to the intelligent electric meters of the current grouping based on the second common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters of the current grouping; and adding the identity identification corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding the grouping identification of the current grouping and the signature information pre-distributed by the third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for verification of information storage and extraction. 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 of the intelligent electric meters is realized, and the operation of the power internet of things is optimized.
The configuration data grouping configuration device provided in the second embodiment of the present application can be used to execute the configuration data grouping configuration method provided in the first embodiment, 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: a processor 31, a memory 32, a communication module 33, an input device 34, and an output 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.
The memory 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 configuration data described in any embodiment of the present application (for example, an extraction module, a configuration module, and a backup module in a grouping configuration device of configuration data). 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.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory, that is, implements the above-described packet configuration method of configuration data.
The input 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. The output device 35 may include a display device such as a display screen.
The electronic device provided above can be used to execute the configuration data grouping configuration method provided in the first embodiment above, and has corresponding functions and advantages.
Example four:
embodiments of the present application also provide a storage medium storing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for configuring a group of configuration data, where the method for configuring a group of configuration data includes: when configuration data setting is carried out on the intelligent electric meters grouped at present, determining the related grouping of the current grouping, and extracting first common configuration data corresponding to the related grouping, wherein the first common configuration data are set on the basis of the common attributes of the intelligent electric meters in the related grouping; setting second common configuration data of a current group based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of all intelligent electric meters of the current group, generating configuration data packets corresponding to all intelligent electric meters of the current group based on the second common configuration data and all the independent configuration data, and correspondingly distributing the configuration data packets to all the intelligent electric meters of the current group; adding an identity identifier corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding a grouping identifier of a current group and signature information pre-distributed by a third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for verification of information storage and extraction.
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 provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the above-described grouping configuration method for configuration data, and may also perform related operations in the grouping configuration method for configuration data provided in any embodiment of the present application.
The grouping configuration device, the storage medium, and the electronic device for configuration data provided in the foregoing embodiments may execute the grouping configuration method for configuration data provided in any embodiment of the present application, and refer to the grouping configuration method for configuration data 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.

Claims (10)

1. A packet configuration method for configuration data, comprising:
when configuration data setting is carried out on the intelligent electric meters grouped at present, determining the related grouping of the current grouping, and extracting first common configuration data corresponding to the related grouping, wherein the first common configuration data are set on the basis of the common attributes of the intelligent electric meters in the related grouping;
setting second common configuration data of a current group based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of all intelligent electric meters of the current group, generating configuration data packets corresponding to all intelligent electric meters of the current group based on the second common configuration data and all the independent configuration data, and correspondingly distributing the configuration data packets to all the intelligent electric meters of the current group;
adding an identity identifier corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding a grouping identifier of a current group and signature information pre-distributed by a third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for verification of information storage and extraction.
2. The method of claim 1, wherein after storing the backup data package in a storage node, the method further comprises:
when detecting that the configuration data of the smart electric meter corresponding to the current grouping is lost, inquiring the storage node based on the grouping identification of the current grouping and the identity identification of the corresponding smart electric meter, extracting the second common configuration data and the corresponding independent configuration data from the corresponding backup data packet, packaging the second common configuration data and the corresponding independent configuration data into a configuration data packet, and sending the configuration data packet to the corresponding smart electric meter.
3. The method of claim 1, wherein after storing the backup data package in a storage node, the method further comprises:
when it is detected that a new electric meter is accessed to a current group, the second common configuration data is requested from the storage node based on the group identification of the current group, 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 second common configuration data and the corresponding independent configuration data and is sent to the new electric meter.
4. The method of claim 3, wherein after generating a configuration data packet based on the second common configuration data and the corresponding independent configuration data and sending the configuration data packet to the new electric meter, the method further comprises:
and adding the identity identifier of the new electric meter to the independent configuration data of the new electric meter, sending the independent configuration data of the new electric meter to the storage node based on the currently grouped group identifier, and storing the independent configuration data of the new electric meter to the corresponding backup data packet.
5. The method of claim 1, wherein after storing the backup data package in a storage node, the method further comprises:
when the standby electric meter is detected to replace the corresponding intelligent electric meter to access the current group, the group identification of the current group and the identity identification of the corresponding intelligent electric meter inquire the storage node, the second common configuration data and the corresponding independent configuration data are extracted from the corresponding backup data packet, and the second common configuration data and the corresponding independent configuration data are packaged into a configuration data packet and sent to the standby electric meter.
6. The method of claim 5, wherein after packaging the second common configuration data and the corresponding independent configuration data into a configuration data packet and sending the configuration data packet to the standby electric meter, the method further comprises:
and extracting the identity of the standby electric meter, and updating the identity of the standby electric meter to the independent configuration data stored in the backup data packet corresponding to the storage node.
7. The method of claim 1, wherein after storing the backup data package in a storage node, the method further comprises:
when the second common configuration data is detected to be updated, an update data packet is generated based on the updated second common configuration data, and the update data packet is updated to each intelligent electric meter and the storage node which are grouped currently.
8. A packet configuration apparatus for configuring data, comprising:
the extraction module is used for determining the related grouping of the current grouping and extracting first common configuration data corresponding to the related grouping when configuration data setting is carried out on the intelligent electric meters of the current grouping, and the first common configuration data are set based on the common attributes of the intelligent electric meters in the related grouping;
the configuration module is used for setting second common configuration data of the current grouping based on the first common configuration data, generating corresponding independent configuration data based on independent attributes of the intelligent electric meters of the current grouping, generating configuration data packets corresponding to the intelligent electric meters of the current grouping based on the second common configuration data and the independent configuration data, and correspondingly distributing the configuration data packets to the intelligent electric meters of the current grouping;
and the backup module is used for adding the identity identification corresponding to the intelligent electric meter to each independent configuration data, packaging the second common configuration data and the independent configuration data into a backup data packet, adding the grouping identification of the current grouping and the signature information pre-distributed by the third-party server to the backup data packet, storing the backup data packet to a storage node, and pre-distributing the signature information to the storage node by the third-party server for information storage and extraction verification.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of packet configuration of configuration data as claimed in any one of claims 1 to 7.
10. A storage medium storing computer-executable instructions for performing a packet configuration method of configuration data according to any one of claims 1 to 7 when executed by a computer processor.
CN202110122445.7A 2021-01-29 2021-01-29 Grouping configuration method and device for configuration data Active CN112769625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110122445.7A CN112769625B (en) 2021-01-29 2021-01-29 Grouping configuration method and device for configuration data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110122445.7A CN112769625B (en) 2021-01-29 2021-01-29 Grouping configuration method and device for configuration data

Publications (2)

Publication Number Publication Date
CN112769625A CN112769625A (en) 2021-05-07
CN112769625B true CN112769625B (en) 2021-11-30

Family

ID=75706580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110122445.7A Active CN112769625B (en) 2021-01-29 2021-01-29 Grouping configuration method and device for configuration data

Country Status (1)

Country Link
CN (1) CN112769625B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760710A (en) * 2016-08-01 2022-07-15 三星电子株式会社 Method and apparatus for managing data communication in a wireless communication network
US11082908B2 (en) * 2018-01-19 2021-08-03 Qualcomm Incorporated Techniques for providing and/or applying quality of service in wireless communications
US11259285B2 (en) * 2018-02-27 2022-02-22 Qualcomm Incorporated Co-located basic service sets
GB2572982C (en) * 2018-04-18 2021-01-20 Gurulogic Microsystems Oy System and method for creating group networks between network devices
CN109871428B (en) * 2019-01-30 2022-02-18 北京百度网讯科技有限公司 Method, apparatus, device and medium for determining text relevance
CN112099878A (en) * 2020-11-19 2020-12-18 中国电力科学研究院有限公司 Application software configuration management method, device and system

Also Published As

Publication number Publication date
CN112769625A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN108549580B (en) Method for automatically deploying Kubernets slave nodes and terminal equipment
US11153383B2 (en) Distributed data analysis for streaming data sources
CN105049268A (en) Distributed computing resource allocation system and task processing method
CN112333213B (en) Privacy protection method and device for business data of power Internet of things
CN110688213B (en) Resource management method and system based on edge calculation and electronic equipment
CN112333212B (en) Encryption management method and device for business data of power Internet of things
CN113515364B (en) Data migration method and device, computer equipment and storage medium
CN114666333A (en) Control method for cloud computing resource scheduling problem based on multi-tenant theory
WO2023098374A1 (en) Network resource deployment method and apparatus, and electronic device and storage medium
CN114281524A (en) Intelligent cable service processing system management method and device
CN112769625B (en) Grouping configuration method and device for configuration data
CN115941426B (en) Multi-service resource collaboration method, system and computer equipment
CN112787864B (en) Grouping configuration method and device of power internet of things
CN112350875B (en) Centralized management configuration method and device for configuration data
CN112559252B (en) Configuration data management method and device based on attribute classification
CN112468350B (en) Operation parameter configuration management method and device of power Internet of things
CN112559250B (en) Configuration data backup method and device for electric power Internet of things
CN112506705B (en) Distributed storage configuration information backup method and device
CN112559251A (en) Configuration data management method and device for power Internet of things
CN114564530A (en) Database access method, device, equipment and storage medium
CN112367410B (en) Operation parameter management method and device
CN105187244A (en) Access management system of digital communication equipment supporting multiple management modes
CN112560097B (en) Storage management method and device for power business data
CN112333036B (en) Multi-storage-node-based power Internet of things configuration data backup method and device
CN112506703B (en) Backup method and device for configuration information of terminal of Internet of things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant