Data security acquisition method and system applied to electric power communication network

Through the identity-based layered encryption model in the power communication network, homomorphic encryption and blinding factors are used to disrupt the regularity of ciphertexts, the problem of data transmission security risks in the power communication network is solved, and the efficient and security of the data acquisition system is achieved. Transmission and access control.

CN118890181AInactive Publication Date: 2024-11-01CHANGCHUN UNID INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410941366.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-11-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

There are security risks in the power communication network, and data is easily leaked or tampered during transmission. The existing encryption mechanism is highly regular in key parameters, and attackers can calculate keys and encryption algorithms, and the number of user terminals is huge, and data access is The control is complex and it is difficult to achieve effective isolation.

Method used

Design an identity-based hierarchical encryption model to generate session keys through the topology of data acquisition nodes, use homomorphic encryption and blinding factors to disrupt the regularity of ciphertexts, and encrypt and decrypt layer by layer to ensure that each node has decryption permissions , prevent attackers from speculating on keys and algorithms.

Benefits of technology

It realizes the secure transmission of data between the acquisition terminal and the main station, resists conspiracy attacks, improves the security of the data acquisition system, and prevents ciphertext leakage and tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890181A_ABST
    Figure CN118890181A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of network security, and particularly relates to a data security acquisition method and system applied to an electric power communication network. According to the method, an identity-based hierarchical encryption model is generated around a topological structure of data acquisition nodes, and a group of independently running encryption and decryption mechanisms is established between any two adjacent data acquisition nodes through key parameter negotiation with a key control center on a data forwarding link formed between an acquisition terminal and a master station, so that the data acquisition nodes are encrypted and decrypted. Each next-hop data acquisition node has the authority of decrypting the ciphertext of the previous-hop data acquisition node, so that the dual functions of data secure transmission and access control are realized; the data acquisition nodes iteratively execute data encryption and decryption operation along the forwarding path, and the secure transmission channel established by the hierarchical encryption mechanism can effectively resist collusion attacks because the keys used by the data acquisition nodes are different from each other.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of network security, and in particular relates to a data security collection method and system for power communication network applications. Background Art

[0002] The power data acquisition system is a system that collects, processes and monitors the power consumption data of power users in real time, realizing functions such as automatic collection of power consumption information, abnormal measurement monitoring, power quality monitoring, power consumption analysis and management, related information release, distributed energy monitoring, and information interaction of intelligent power consumption equipment. To this end, the acquisition terminal needs to conduct end-to-end remote communication with the main station in order to transmit the collected power data to the power main station.

[0003] However, there are many security risks in the process of power grid communication, which may lead to the leakage or tampering of power consumption information. There are two main types of attack behaviors. One is the malicious attack of lawbreakers during data transmission. The power system master station and the power terminal generally transmit power consumption information through public channels. At this time, the attacker can obtain the user power consumption information collected by the power terminal through certain technical means on the collection channel, and obtain the change rules of the information transmitted by the master station and the terminal through cracking or traffic analysis, and then grasp the information that should not be disclosed to destroy confidentiality. The attacker can also destroy the integrity through tampering, disguise, replay, denial and other methods, and occupy the channel or server resources through the terminal communication channel or send a large number of false request information to the server, so that the normal request cannot be answered and the availability is destroyed. In response to this kind of attack behavior, information security can be guaranteed by information encryption transmission. However, in the traditional security encryption mechanism, since the same key parameters are used to implement data encryption, the generated ciphertext data has a strong regular change, and the attacker can easily use the acquired part of the sample data to infer the key parameters and related encryption algorithms.

[0004] Another attack method is that in the communication network, untrusted nodes collude with attackers to leak user information. By controlling multiple participants who perform collection tasks, the secret parameters stored on some nodes are collected to reconstruct the network transmission key, or the untrusted nodes directly sell the user's identity and electricity information to the attacker. This attack behavior mainly controls data access rights to achieve isolation of data with different security levels. However, due to the large number of existing user terminals and the strong heterogeneity of user-to-user relationships, the top-down data access control strategy implemented by the power control center is relatively complex and even difficult to implement. Summary of the invention

[0005] In order to overcome the above technical defects of the existing data security protection technology, the present invention provides a data security collection method and system for power communication network application. The data collection method designed by the present invention is simple to operate and improves the security of power data collection.

[0006] In order to achieve the above object, the present invention provides a method for secure data collection of power communication network applications, the method comprising the following steps:

[0007] Step 1) Count the data collection nodes in the power communication network, generate a data collection topology structure according to the data forwarding path between the data collection nodes, and build an identity-based hierarchical encryption model for all data collection nodes based on the data collection topology structure, so that on any forwarding path, the next-hop data collection node has the session key to decrypt the ciphertext of the previous-hop data collection node;

[0008] Step 2) At the data sender, the collected power data is encrypted using the homomorphic public key of the data receiver to obtain homomorphic ciphertext, the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters are extracted to generate blinding factors, the homomorphic ciphertext is blinded using the blinding factors to obtain homomorphic blinded ciphertext, the random parameters are encrypted using the local session key to obtain parameter ciphertext, and the homomorphic blinded ciphertext and parameter ciphertext are sent together to the data forwarder;

[0009] Step 3) At the data forwarding party, extract the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate a new blinding factor, use the new blinding factor to perform secondary blinding on the homomorphic blinded ciphertext to obtain a re-blinded ciphertext, use the session key of the previous hop data collection node to decrypt the parameter ciphertext, aggregate the random parameters of the previous hop data collection node with the local random parameters to obtain an aggregated parameter, use the local session key to encrypt the aggregated parameter to obtain a new parameter ciphertext, and send the re-blinded ciphertext and the parameter ciphertext together to the next hop data collection node;

[0010] Step 4) If the next-hop data collection node is the data receiver, execute step 5), otherwise continue to execute step 3);

[0011] Step 5) At the data receiver, the re-blindized ciphertext is decrypted using the homomorphic private key to obtain the blinded plaintext. The intermediate parameters are obtained from the layered encryption model according to the forwarding path between the data sender and the receiver. The parameter ciphertext is decrypted using the session key of the previous data collection node. The de-blinding factor is generated from the intermediate parameters and the aggregated parameters. The blinded plaintext is de-blinded to obtain the power data plaintext.

[0012] As a further optimization solution of the above method, the data acquisition node includes: user meter terminal, data collector, data concentrator, power substation and power main station.

[0013] As a further optimization scheme of the above method, the identity-based hierarchical encryption model construction process includes:

[0014] Parameter initialization phase: The key control center selects a large prime number q and generates a q-order prime number group and , and the bilinear map , let P be the group Generators of, define three hash functions , , , n represents the number of bits of the string generated by the hash function, let the private key of the key control center , calculate its public key , publicly available parameter sequence ;

[0015] Session key negotiation phase: At the data collection node, let the private key of the i-th data collection node , calculate its public key , calculate the identity-based hash value , Represents the identity of the i-th data collection node, and then calculates the master private key , and calculate the session key , Indicates the intermediate parameters customized by the data collection node; in the key control center, the associated parameters are generated for the i-th data collection node and its next-hop data collection node j .

[0016] As a further optimization scheme of the above method, the step 2) includes:

[0017] Step 201) The data sender uses a homomorphic encryption algorithm to generate a homomorphic ciphertext , is the homomorphic public key of the data receiver, is the random parameter selected by the data sender, The plain text of the power data collected by the data sender;

[0018] Step 202) The intermediate parameters of the data sender and random parameters Sum and generate the blinding factor , further generating the homomorphic ciphertext of the blinding factor , and then perform the addition homomorphic operation to obtain the homomorphic blinded ciphertext ;

[0019] Step 203) Use a symmetric encryption algorithm and use the local session key For random parameters Encrypted parameter ciphertext .

[0020] As a further optimization scheme of the above method, the step 3) includes:

[0021] Step 301) The intermediate parameters of the data forwarding party and random parameters Sum and generate the blinding factor , further generating the homomorphic ciphertext of the blinding factor , for the homomorphic blinded ciphertext Perform secondary blinding to obtain re-blinded ciphertext ;

[0022] Step 302) Generate the session key of the data sender using the associated parameters , The association parameter between the data sender and the data forwarder is based on the session key. Decrypt parameter ciphertext Get random parameters ;

[0023] Step 303) The random parameters and Sum and get the aggregation parameters , using a symmetric encryption algorithm and using a local session key Aggregation parameters Encrypted parameter ciphertext .

[0024] As a further optimization scheme of the above method, the step 5) includes:

[0025] Step 501) Using the homomorphic private key Decrypting the re-blinded ciphertext Get blinded plaintext ,in , , p and q are two large prime numbers, let the function , then , a random integer is selected ;

[0026] Step 502) Use the session key of the previous data collection node to decrypt the aggregation ciphertext to obtain the aggregation parameter , sum the intermediate parameters of each data collection node in the forwarding path and generate the deblinding factor , represents the intermediate parameter of the i-th data collection node in the forwarding path, The data collection node set of the forwarding path is deblinded to obtain the power data plaintext .

[0027] Based on the implementation of the above data security collection method, the present invention also provides a data security collection system for power communication network application, the system comprising: a key control center and data collection nodes distributed in the power communication network, in the data forwarding path, the data collection nodes are divided into a data sender, a data forwarder and a data receiver;

[0028] Key control center: Count the data collection nodes in the power communication network, generate a data collection topology structure according to the data forwarding path between the data collection nodes, and build an identity-based hierarchical encryption model for all data collection nodes based on the data collection topology structure, so that on any forwarding path, the next-hop data collection node has the session key to decrypt the ciphertext of the previous-hop data collection node;

[0029] Data sender: Use the homomorphic public key of the data receiver to encrypt the collected power data to obtain homomorphic ciphertext, extract the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate blinding factors, use the blinding factors to blind the homomorphic ciphertext to obtain homomorphic blinded ciphertext, use the local session key to encrypt the random parameters to obtain parameter ciphertext, and send the homomorphic blinded ciphertext and parameter ciphertext together to the data forwarder;

[0030] Data forwarding party: extracts the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate a new blinding factor, uses the new blinding factor to perform secondary blinding on the homomorphic blinded ciphertext to obtain a re-blinded ciphertext, uses the session key of the previous-hop data collection node to decrypt the parameter ciphertext, aggregates the random parameters of the previous-hop data collection node with the local random parameters to obtain an aggregated parameter, uses the local session key to encrypt the aggregated parameter to obtain a new parameter ciphertext, and sends the re-blinded ciphertext and the parameter ciphertext together to the next-hop data collection node;

[0031] Data receiver: Use the homomorphic private key to decrypt the re-blinded ciphertext to obtain the blinded plaintext, obtain the intermediate parameters from the layered encryption model according to the forwarding path between the data sender and the receiver, use the session key of the previous data collection node to decrypt the parameter ciphertext, generate the de-blinding factor from the intermediate parameters and the aggregation parameters, and de-blind the blinded plaintext to obtain the power data plaintext.

[0032] Compared with the prior art, the above solution provided by the present invention has the following technical effects:

[0033] The present invention generates an identity-based hierarchical encryption model around the topological structure of data acquisition nodes. On the data forwarding link formed between the acquisition terminal and the main station, a set of independently running encryption and decryption mechanisms are established between any two adjacent data acquisition nodes through key parameter negotiation with the key control center, so that each next-hop data acquisition node has the authority to decrypt the ciphertext of the previous-hop data acquisition node, so as to realize the dual functions of data security transmission and access control; each data acquisition node iteratively performs data encryption and decryption operations along the forwarding path, and because the keys used by each other are different, the secure transmission channel established by the hierarchical encryption mechanism can effectively resist collusion attacks.

[0034] At the power data acquisition terminal, the power data is homomorphically encrypted using the homomorphic public key of the data receiver (such as the power master station). By adding a custom blinding factor to each data acquisition node, the homomorphic ciphertext is blinded layer by layer along the data forwarding path to disrupt the inherent format and change pattern of the original data ciphertext, making it impossible for attackers to infer the key parameters or encryption algorithm by analyzing the ciphertext format. Then, the blinding factors aggregated by each node are transmitted through a secure channel established by a layered encryption mechanism. Only the next-hop node that is granted access rights can decrypt the blinded parameter ciphertext to prevent the blinded parameters from being leaked during successive aggregation and transmission.

[0035] The present invention also introduces the intermediate parameters used in the session key negotiation phase into the blinding process. Even if the attacker steals the blinding factor on some routing nodes, the ciphertext cannot be de-blinded without knowing the intermediate parameters. Only by aggregating the intermediate parameters of all nodes on the forwarding path and transmitting them to the data receiver by the key control center can the real de-blinding factor be generated at the data receiver to realize the de-blinding operation of the ciphertext, thereby further improving the security of the data acquisition system. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a schematic diagram of the power data acquisition network structure in an embodiment of the present invention;

[0037] Figure 2 A flow chart of a data security collection method for power communication network applications provided by the present invention. DETAILED DESCRIPTION

[0038] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0039] As an important part of the low-voltage power grid construction, the power information collection system is directly related to the use of power in the distribution network, power parameters and the economic benefits of power companies. The power information collection system is mainly responsible for collecting power metering information under different user power consumption conditions, and realizing the measurement, recording and sending of various power information, such as power generation, power supply and power consumption. Different types of special transformer terminals and user meter terminal equipment can be used as metering equipment. The collection system is mainly completed by the main station, collection equipment and collection channels, involving the coordination and management of software, network and multiple communications. Therefore, the high security of the power grid system must be guaranteed to ensure that the power grid system can resist various potential threats during operation.

[0040] Since there is no bidirectional selection between the data acquisition terminal and the power control center (such as the master station), the power data acquisition network has a relatively fixed communication link. The power data needs to be transmitted from a certain acquisition terminal to the power control center through multiple fixed data acquisition nodes. Figure 1 As can be seen from the data collection network shown, the data collection nodes include but are not limited to: user meter terminals, data collectors, data concentrators, power substations and power main stations. In the network hierarchy, the bottom layer is the user meter terminal, which covers various specifications of electric energy meters and is mainly responsible for statistics of the electricity consumption parameters of the majority of users; the second layer is deployed with data collectors, which mainly play a transitional role, realize the connection between the bottom user meter and the next layer concentrator, set the collection mode of the information in the bottom meter in combination with the relevant requirements of the terminal, and transmit the collected information to the terminal level; the data concentrator is the core component of the entire third layer, which is mainly used to distribute information collection instructions according to the designed mode, and receive the data transmitted by the lower layer equipment, and store the received information in the destination memory in a unified manner, so as to facilitate the application needs of the next layer at any time, and can also choose to perform corresponding operations according to the commands sent by the system main station; the highest layer is the control center of the entire collection system, which can be further divided into power substations and power main stations according to the department type, which can realize further management of information and control various parts of the system.

[0041] In the data collection implementation stage, through the interconnection of the network, the collection instructions issued by the system master station can be transmitted step by step from the power substation and the data concentrator to the data collector. The data collector implements power data collection on the user meter terminals within its jurisdiction according to the received instructions and stores them in the preset storage module; the data collector retrieves the grid operation and user power consumption information in the storage module according to the data reception instructions regularly sent by the power master station, and is transmitted back to the power master station by the upper-level data concentrator and power substation. The communication channel established by each data collection node is mainly used to realize the information interaction between the master station and the user meter terminal. The above stage realizes the two-way communication of the data collection system, but compared with the control instructions issued by the master station, the power data containing sensitive information such as user identity and power consumption status transmitted from the bottom user terminal to the upper layer should have a higher security protection strength, and is also the main target of attack.

[0042] To this end, the present invention provides a data security collection method for power communication network applications, such as Figure 2 As shown, the method specifically includes the following execution steps:

[0043] Step 1) Count the data collection nodes in the power communication network, generate a data collection topology structure according to the data forwarding path between the data collection nodes, and build an identity-based hierarchical encryption model for all data collection nodes based on the data collection topology structure, so that on any forwarding path, the next-hop data collection node has the session key to decrypt the ciphertext of the previous-hop data collection node;

[0044] Step 2) At the data sender, the collected power data is encrypted using the homomorphic public key of the data receiver to obtain homomorphic ciphertext, the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters are extracted to generate blinding factors, the homomorphic ciphertext is blinded using the blinding factors to obtain homomorphic blinded ciphertext, the random parameters are encrypted using the local session key to obtain parameter ciphertext, and the homomorphic blinded ciphertext and parameter ciphertext are sent together to the data forwarder;

[0045] Step 3) At the data forwarding party, extract the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate a new blinding factor, use the new blinding factor to perform secondary blinding on the homomorphic blinded ciphertext to obtain a re-blinded ciphertext, use the session key of the previous hop data collection node to decrypt the parameter ciphertext, aggregate the random parameters of the previous hop data collection node with the local random parameters to obtain an aggregated parameter, use the local session key to encrypt the aggregated parameter to obtain a new parameter ciphertext, and send the re-blinded ciphertext and the parameter ciphertext together to the next hop data collection node;

[0046] Step 4) If the next-hop data collection node is the data receiver, execute step 5), otherwise continue to execute step 3);

[0047] Step 5) At the data receiver, the re-blindized ciphertext is decrypted using the homomorphic private key to obtain the blinded plaintext. The intermediate parameters are obtained from the layered encryption model according to the forwarding path between the data sender and the receiver. The parameter ciphertext is decrypted using the session key of the previous data collection node. The de-blinding factor is generated from the intermediate parameters and the aggregated parameters. The blinded plaintext is de-blinded to obtain the power data plaintext.

[0048] In the above embodiment, the process of constructing the data collection topology structure is as follows: first, according to the distribution location of the data collection nodes in the geographical environment and their jurisdiction areas, the following topological structures are identified layer by layer from bottom to top: Figure 1 As shown in the network topology, each parent node in the figure has the authority to access the data of child nodes within its jurisdiction. Conversely, child nodes do not have the authority to access data upward. Then, starting from the user terminal on any leaf node, the multi-hop routes formed by transmitting data from the bottom to the top constitute a data forwarding path for the current user terminal.

[0049] The network types used between network levels include home area network (HAN), neighborhood area network (NAN) and wide area network (WAN); among them, the HAN network is used between the user's electrical equipment (such as household appliances) and the user's meter terminal, and between the user's meter terminal and the data collector, including the use of wired such as RJ45 interface or wireless communication such as WiFi; the NAN network is used between the data collector and the data concentrator, including the use of a wireless private network with a frequency of 230MHz, or the use of a public network channel using GPRS and CDMA technology to achieve Unicom; the WAN network is used between the data concentrator and the power substation and the power main station, and generally uses optical fiber communication. It should be pointed out that in each data forwarding link, in addition to the above-mentioned node units, it actually also includes many intermediate nodes responsible for multi-hop forwarding, such as various types of routers, switches and gateway devices, but these intermediate nodes do not belong to the data acquisition nodes described in the present invention.

[0050] A hierarchical encryption model is established for the data acquisition network of the above topological structure. The hierarchical encryption model can assign different session keys to the data acquisition nodes, and use the session keys to implement layer-by-layer encryption and decryption operations between the upper and lower adjacent layers, thereby achieving access permission control for the collected data while satisfying the condition of secure communication.

[0051] In one of the embodiments provided by the present invention, the identity-based hierarchical encryption model construction process includes:

[0052] Parameter initialization phase: The key control center selects a large prime number q and generates a q-order prime number group and , and the bilinear map , let P be the group Generators of, define three hash functions , , , n represents the number of bits of the string generated by the hash function, let the private key of the key control center , calculate its public key , publicly available parameter sequence ;

[0053] Session key negotiation phase: At the data collection node, let the private key of the i-th data collection node , calculate its public key , calculate the identity-based hash value , Represents the identity of the i-th data collection node, and then calculates the master private key , and calculate the session key , Indicates the intermediate parameters customized by the data collection node. The identity identifier can be a unique device code or a network registration number generated during the network registration phase, and the private key The public key is kept secret by the data collection node. and identity Publicly disclose the session key and intermediate parameters Sent to the key control center in a secret way.

[0054] At the key control center, extract the public identity and the secretly transmitted session key , find the next hop data collection node j of the i-th data collection node, and then generate the association parameter between the two nodes , in the formula The session key of the next hop data collection node j is also sent to the key control center in a secret way. , Identity and intermediate parameters Bind and associate parameters and identity Send to the next hop data collection node j.

[0055] At this time, the next hop data collection node j can use the associated parameters and identity Generate session key for node i Therefore, for the ciphertext received from any child node, as long as the identity of the child node is identified , you can get the associated parameters associated with the local , through the above calculation, we can also get the session key of the child node . Using session keys The algorithm used to perform data encryption and decryption operations is a symmetric encryption algorithm, common algorithms include DES, AES and RC4.

[0056] Between the key control center and any node, the session key The secret transmission method can be implemented by the following embodiments: at data collection node i, using the master private key For intermediate parameters Encryption, ciphertext and public key , Identity Sent together to the key control center; From the calculation formula of the master private key mentioned above, it can be known that Therefore, the key control center uses its own private key Can generate , and then use Decrypt the ciphertext and get the intermediate parameters , further calculate the node's session key .

[0057] The present invention uses a homomorphic encryption algorithm to encrypt the power data of the user terminal, and then adds a custom blinding factor layer by layer at each data acquisition node along the forwarding path to disrupt the inherent format and change rules of the original data ciphertext, so that the attacker cannot infer the key parameters or encryption algorithm by analyzing the ciphertext format and other means. In the following embodiments provided by the present invention, the Paillier encryption algorithm is used, which specifically includes: key parameter generation, data encryption, additive homomorphic operation, and data decryption process.

[0058] Key parameter generation: In the key control center, select security parameters and two large prime numbers , ,make , The length is , set relevant parameters , ; Let the function , randomly select an integer , so that , then let , get the homomorphic public key , and homomorphic private key . The homomorphic public key Publicly available, the homomorphic private key Secretly transmitted to the corresponding receiving object. The receiving object is not limited to the power main station, but can also be any data acquisition node on the forwarding path, because the power data collected from the user terminal is not necessarily uploaded to the power main station. For example, it may be first collected to the data concentrator, and after statistics and analysis by the data concentrator, only the power data analysis results of all users are uploaded to the power substation or main station. At this time, for the user terminal, its data recipient refers to the data concentrator, and the data needs to be decrypted in the data concentrator; and for the data concentrator, its data recipient can be the power substation or main station. Therefore, using the above-mentioned key parameter generation algorithm, it is necessary to generate a homomorphic public-private key pair for each data acquisition node. The user terminal can select the homomorphic public key corresponding to different recipients according to different data sending rules to implement data encryption. Similarly, the corresponding recipient's homomorphic public key can also be selected at other data acquisition nodes to encrypt local data.

[0059] Data encryption: At the user's meter terminal, select the homomorphic public key of the data recipient Encrypt the data. Assuming the receiver is the next-hop data collector, a homomorphic ciphertext can be generated. , is a random parameter selected by the user terminal, and m is the plaintext power data collected by the user terminal.

[0060] Additive Homomorphic Operation: Generate Homomorphic Ciphertext with Blinded Factors , b is the blinding factor generated locally by the user terminal, performing the addition homomorphic operation , that is, the homomorphic blinded ciphertext is obtained , where the blinded message .

[0061] Data decryption: In the data collector, use the homomorphic private key Decrypting homomorphic blinded ciphertext , get the blinded message , and then after obtaining the blinding factor, the blinded message Unblinding operation.

[0062] When there are multiple-hop data collection nodes participating in data forwarding, a blinding operation is performed on the homomorphic blinded ciphertext at each hop of the data collection node, that is, an additive homomorphic operation is performed.

[0063] In order to further illustrate the method of the present invention, the above-mentioned Paillier encryption algorithm is combined with an identity-based layered encryption mechanism, and is described in detail in the following embodiments.

[0064] In the first stage, before executing data collection, we build an identity-based hierarchical encryption model for all data collection nodes based on the data collection topology: the parameter sequence is made public. , the private key generated during the session key negotiation phase The data collection node keeps the public key of the data collection node secret. and identity Publicly disclose the session key and intermediate parameters It is transmitted to the key control center in a secret way; on the other hand, it generates key parameters for the homomorphic encryption algorithm: the homomorphic public key of each data collection node Publicly available, the homomorphic private key The secret is transmitted to the corresponding receiving object.

[0065] In the second stage, when data needs to be transmitted from the sender to the designated receiver, the data sender uses a homomorphic encryption algorithm to generate a homomorphic ciphertext. , is the homomorphic public key of the data receiver, is the random parameter selected by the data sender, The plain text of the power data collected by the data sender;

[0066] The intermediate parameters of the data sender and random parameters Sum and generate the blinding factor , further generating the homomorphic ciphertext of the blinding factor , and then perform the addition homomorphic operation to obtain the homomorphic blinded ciphertext , i.e., the blinded message ;

[0067] Use symmetric encryption algorithm and local session key For random parameters Encrypted parameter ciphertext , and finally the homomorphic blinded ciphertext and parameter ciphertext Sent to the data forwarder together with the data sender's identity in plain text , the homomorphic public key of the data receiver , used to indicate the previous hop node and the final data receiving object.

[0068] In the third stage, assuming that the next-hop data collection node (data collector) is not the final data receiving object, but a data forwarder on the forwarding path, then the intermediate parameters of the data forwarder are and random parameters Sum and generate the blinding factor , according to the received homomorphic public key Further generate homomorphic ciphertext of blinding factor , for the homomorphic blinded ciphertext Perform secondary blinding to obtain re-blinded ciphertext , that is, the message after the second blinding ; then look up the local Association parameters of association , using the associated parameters to generate the data sender's session key , The association parameter between the data sender and the data forwarder is based on the session key. Decrypt parameter ciphertext Get random parameters ; Then the random parameters and Sum and get the aggregation parameters , using a symmetric encryption algorithm and using a local session key Aggregation parameters Encrypted parameter ciphertext ;Finally, the parameter ciphertext and re-blind ciphertext It is sent to the next-hop data collection node together with the data sender's identity in plain text , the identity of the data forwarder , the homomorphic public key of the data receiver .

[0069] The fourth stage is to determine whether the next-hop data collection node is the data receiver, that is, to compare the received homomorphic public key at the next-hop data collection node. Is it consistent with its own homomorphic public key? If not, it indicates that the current node is not the final data recipient, so re-execute the third stage. If consistent, it indicates that the current node is the data recipient, and further execute the fifth stage.

[0070] In the fifth stage, at the data receiver, use its own homomorphic private key Decrypting the re-blinded ciphertext Get blinded plaintext , after multiple blinding messages ,in represents the blinding factor of the i-th data collection node in the forwarding path, is the set of data collection nodes in the forwarding path; then the aggregation ciphertext is decrypted using the session key of the previous hop data collection node to obtain the aggregation parameter ,in , Represents the random parameter defined by the i-th data collection node; after that, the data receiver sends its own identity to the key control center and the data sender's identity The key control center can obtain the intermediate parameters on each node based on the data transmission and reception path. , and summing all the intermediate parameters to obtain , and feeds the value V back to the data receiver; finally, the data receiver can generate the deblinding factor , since the blinding factor for any node is , so the unblinding factor At this time, the power data plaintext can be obtained by deblinding the blinded plaintext .

[0071] The blinding factor in the above embodiment is random and unpredictable. Random parameters are defined at each data collection node, so that the homomorphic blinded ciphertext transmitted hop by hop will change randomly. The intermediate parameter set is only known to the key control center and is unpredictable to the outside. At the data receiving end, only by aggregating the random parameters and intermediate parameters of all data collection nodes at the same time can the data be de-blinded to obtain the correct plaintext.

[0072] In order to improve the security of the layered encryption model, it is necessary to update the session key regularly or according to the upper limit of the encryption frequency. The process of executing the session key update at the i-th data collection node is:

[0073] The first step is to regenerate new intermediate parameters locally , then update the local session key , the session key and intermediate parameters Sent to the key control center in a secret way.

[0074] The second step is to extract the public identity at the key control center. and the secretly transmitted session key , find the next hop data collection node j and the previous hop data collection node h of the i-th data collection node, and then generate the association parameter between the previous hop data collection node h , the updated associated parameters and the identity of node h After rebinding, they are sent together to node i to generate association parameters between the node j and the next hop data collection node. , the updated associated parameters and the identity of node i After rebinding, they are sent together to node j, thus completing the key parameter update process within the model.

[0075] The above update scheme is not only applicable to the update of inherent node session keys, but also to the application scenarios of replacing, deleting and adding nodes. Due to the change of network topology, the changed nodes need to be added to the hierarchical encryption model using the above session key update process and associated with the previous hop and next hop nodes without affecting other nodes in the model.

[0076] In order to implement the data security collection method in each of the above embodiments, the present invention also provides a data security collection system for power communication network application, the system specifically comprising: a key control center and data collection nodes distributed in the power communication network, in the data forwarding path, the data collection nodes are divided into a data sender, a data forwarder and a data receiver;

[0077] Key control center: Count the data collection nodes in the power communication network, generate a data collection topology structure according to the data forwarding path between the data collection nodes, and build an identity-based hierarchical encryption model for all data collection nodes based on the data collection topology structure, so that on any forwarding path, the next-hop data collection node has the session key to decrypt the ciphertext of the previous-hop data collection node;

[0078] Data sender: Use the homomorphic public key of the data receiver to encrypt the collected power data to obtain homomorphic ciphertext, extract the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate blinding factors, use the blinding factors to blind the homomorphic ciphertext to obtain homomorphic blinded ciphertext, use the local session key to encrypt the random parameters to obtain parameter ciphertext, and send the homomorphic blinded ciphertext and parameter ciphertext together to the data forwarder;

[0079] Data forwarding party: extracts the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate a new blinding factor, uses the new blinding factor to perform secondary blinding on the homomorphic blinded ciphertext to obtain a re-blinded ciphertext, uses the session key of the previous-hop data collection node to decrypt the parameter ciphertext, aggregates the random parameters of the previous-hop data collection node with the local random parameters to obtain an aggregated parameter, uses the local session key to encrypt the aggregated parameter to obtain a new parameter ciphertext, and sends the re-blinded ciphertext and the parameter ciphertext together to the next-hop data collection node;

[0080] Data receiver: Use the homomorphic private key to decrypt the re-blinded ciphertext to obtain the blinded plaintext, obtain the intermediate parameters from the layered encryption model according to the forwarding path between the data sender and the receiver, use the session key of the previous data collection node to decrypt the parameter ciphertext, generate the de-blinding factor from the intermediate parameters and the aggregation parameters, and de-blind the blinded plaintext to obtain the power data plaintext.

[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A data security collection method for power communication network application, characterized in that: The method includes: Step 1) Count the data collection nodes in the power communication network, generate a data collection topology structure according to the data forwarding path between the data collection nodes, and build an identity-based hierarchical encryption model for all data collection nodes based on the data collection topology structure, so that on any forwarding path, the next-hop data collection node has the session key to decrypt the ciphertext of the previous-hop data collection node; Step 2) At the data sender, the collected power data is encrypted using the homomorphic public key of the data receiver to obtain homomorphic ciphertext, the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters are extracted to generate blinding factors, the homomorphic ciphertext is blinded using the blinding factors to obtain homomorphic blinded ciphertext, the random parameters are encrypted using the local session key to obtain parameter ciphertext, and the homomorphic blinded ciphertext and parameter ciphertext are sent together to the data forwarder; Step 3) At the data forwarding party, extract the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate a new blinding factor, use the new blinding factor to perform secondary blinding on the homomorphic blinded ciphertext to obtain a re-blinded ciphertext, use the session key of the previous hop data collection node to decrypt the parameter ciphertext, aggregate the random parameters of the previous hop data collection node with the local random parameters to obtain an aggregated parameter, use the local session key to encrypt the aggregated parameter to obtain a new parameter ciphertext, and send the re-blinded ciphertext and the parameter ciphertext together to the next hop data collection node; Step 4) If the next-hop data collection node is the data receiver, execute step 5), otherwise continue to execute step 3); Step 5) At the data receiver, the re-blindized ciphertext is decrypted using the homomorphic private key to obtain the blinded plaintext. The intermediate parameters are obtained from the layered encryption model according to the forwarding path between the data sender and the receiver. The parameter ciphertext is decrypted using the session key of the previous data collection node. The de-blinding factor is generated from the intermediate parameters and the aggregated parameters. The blinded plaintext is de-blinded to obtain the power data plaintext.

2. The data security collection method for power communication network application according to claim 1 is characterized in that: The data collection nodes include: user meter terminals, data collectors, data concentrators, power substations and power main stations.

3. The data security collection method for power communication network application according to claim 1 is characterized in that: The identity-based hierarchical encryption model construction process includes: Parameter initialization phase: The key control center selects a large prime number q and generates a q-order prime number group and , and the bilinear map , let P be the group Generators of, define three hash functions , , , n represents the number of bits of the string generated by the hash function, let the private key of the key control center , calculate its public key , publicly available parameter sequence ; Session key negotiation phase: At the data collection node, let the private key of the i-th data collection node , calculate its public key , calculate the identity-based hash value , Represents the identity of the i-th data collection node, and then calculates the master private key , and calculate the session key , Indicates the intermediate parameters customized by the data collection node; in the key control center, the associated parameters are generated for the i-th data collection node and its next-hop data collection node j .

4. The data security collection method for power communication network application according to claim 3 is characterized in that: The step 2) includes: Step 201) The data sender uses a homomorphic encryption algorithm to generate a homomorphic ciphertext , is the homomorphic public key of the data receiver, is the random parameter selected by the data sender, The plain text of the power data collected by the data sender; Step 202) The intermediate parameters of the data sender and random parameters Sum and generate the blinding factor , further generating the homomorphic ciphertext of the blinding factor , and then perform the addition homomorphic operation to obtain the homomorphic blinded ciphertext ; Step 203) Use a symmetric encryption algorithm and use the local session key For random parameters Encrypted parameter ciphertext .

5. The data security collection method for power communication network application according to claim 4 is characterized in that: The step 3) includes: Step 301) The intermediate parameters of the data forwarding party and random parameters Sum and generate the blinding factor , further generating the homomorphic ciphertext of the blinding factor , for the homomorphic blinded ciphertext Perform secondary blinding to obtain re-blinded ciphertext ; Step 302) Generate the session key of the data sender using the associated parameters , The session key is used as the association parameter between the data sender and the data forwarder. Decrypt parameter ciphertext Get random parameters ; Step 303) The random parameters and Sum and get the aggregation parameters , using a symmetric encryption algorithm and using a local session key For aggregation parameters Encrypted parameter ciphertext .

6. The data security collection method for power communication network application according to claim 5 is characterized in that: The step 5) includes: Step 501) Using the homomorphic private key Decrypting the re-blinded ciphertext Get blinded plaintext ,in , , p and q are two large prime numbers, let the function , then , a random integer is selected ; Step 502) Use the session key of the previous data collection node to decrypt the aggregation ciphertext to obtain the aggregation parameter , sum the intermediate parameters of each data collection node in the forwarding path and generate the deblinding factor , represents the intermediate parameter of the i-th data collection node in the forwarding path, The data collection node set of the forwarding path is deblinded to obtain the power data plaintext .

7. A data security collection system for power communication network applications, characterized in that: The system includes: a key control center and data collection nodes distributed in the power communication network. In the data forwarding path, the data collection nodes are divided into data senders, data forwarders and data receivers; Key control center: Count the data collection nodes in the power communication network, generate a data collection topology structure according to the data forwarding path between the data collection nodes, and build an identity-based hierarchical encryption model for all data collection nodes based on the data collection topology structure, so that on any forwarding path, the next-hop data collection node has the session key to decrypt the ciphertext of the previous-hop data collection node; Data sender: Use the homomorphic public key of the data receiver to encrypt the collected power data to obtain homomorphic ciphertext, extract the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate blinding factors, use the blinding factors to blind the homomorphic ciphertext to obtain homomorphic blinded ciphertext, use the local session key to encrypt the random parameters to obtain parameter ciphertext, and send the homomorphic blinded ciphertext and parameter ciphertext together to the data forwarder; Data forwarding party: extracts the intermediate parameters used in the local session key negotiation phase and the locally customized random parameters to generate a new blinding factor, uses the new blinding factor to perform secondary blinding on the homomorphic blinded ciphertext to obtain a re-blinded ciphertext, uses the session key of the previous-hop data collection node to decrypt the parameter ciphertext, aggregates the random parameters of the previous-hop data collection node with the local random parameters to obtain an aggregated parameter, uses the local session key to encrypt the aggregated parameter to obtain a new parameter ciphertext, and sends the re-blinded ciphertext and the parameter ciphertext together to the next-hop data collection node; Data receiver: Use the homomorphic private key to decrypt the re-blinded ciphertext to obtain the blinded plaintext, obtain the intermediate parameters from the layered encryption model according to the forwarding path between the data sender and the receiver, use the session key of the previous data collection node to decrypt the parameter ciphertext, generate the de-blinding factor from the intermediate parameters and the aggregation parameters, and de-blind the blinded plaintext to obtain the power data plaintext.

Citation Information

Cited By

  • Low-voltage transformer area quantum encryption communication method based on quantum security service platform

    CN119544214A

  • Secure cloud storage and retrieval of client-side encrypted files

    US12470378B2

  • Secure cloud storage and retrieval of client-side encrypted files

    US20230421370A1