A collection terminal, load management center and quantum safety load management system

By using ESAN encryption chips and quantum secure encryption modules in the power load management system for key expansion, the problems of low encryption and decryption efficiency and insufficient security in the existing technology are solved, and efficient and secure power data transmission is achieved, improving the efficiency and security of power data. The information security protection capabilities of the power industry.

CN117749371BActive Publication Date: 2024-12-03STATE GRID ANHUI ELECTRIC POWER CO LTD MARKETING SERVICE CENTER +2
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311813579.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-25
Publication Date
2024-12-03
Estimated Expiration
2043-12-25

AI Technical Summary

Technical Problem

The existing power load management system has low processing efficiency, low data transmission security, and lacks an effective data integrity verification mechanism, which is susceptible to eavesdropping, intercepting or tampering.

Method used

Using ESAN encryption chip and quantum security encryption module, key expansion is performed through key expansion algorithm to form quantum security transmission frames, ensure the encryption and decryption process of power data, and use offline preset key pools and wheel key pools to enhance Key complexity and security.

Benefits of technology

It improves the efficiency and security of the encryption and decryption process, ensures the security and integrity of data transmission, can maintain security under future quantum computer attacks, and enhances the information security protection capabilities of the power industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117749371B_ABST
    Figure CN117749371B_ABST
Patent Text Reader

Abstract

The invention discloses a collection terminal, a load management center and a quantum safety load management system. The quantum safety load management system comprises a collection terminal and a load management center. The communication module of the collection terminal and the global quantum safety network in the load management center are connected through 4G / 5G virtual private network communication. A quantum safety encryption module obtains power data to be transmitted, selects a key and uses an expansion algorithm to expand the key, performs quantum encryption on the power data and a key of the same length to form a quantum safety transmission frame, and transmits it to the global quantum safety network through the communication module. The global quantum safety network expands the key and performs quantum decryption on the quantum safety transmission frame through the expanded key to obtain the user's power data, and transmits it to a power consumption information collection system. The power consumption information collection system transmits the power data to the power load management system. The invention has the advantages of high processing efficiency and high data transmission security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric power, and in particular to a data acquisition terminal, a load management center and a quantum safety load management system. Background Art

[0002] With the popularization and rapid development of Internet technology, in the power system, data is not only a digital information carrier, but also a key resource for power production and network operation. In modern power systems, a large amount of data needs to be transmitted, processed and stored through the network. These data include status data of various equipment in the system, power load data, market operation data, etc. In the current power system, data transmission has the following problems:

[0003] 1. Data leakage issue

[0004] Data leakage may be caused by vulnerabilities in certain locations in the system, which are exploited by attackers to steal data, or by deliberate leakage by system insiders.

[0005] 2. Data tampering problem

[0006] Data may be tampered by hackers or attackers during transmission, processing and storage, which may lead to misjudgment of the power system and affect power production and market competition.

[0007] 3. Data loss issue

[0008] The integrity and reliability of data are very important. Once data is lost for some reason, it will seriously affect the normal operation of the system. At the same time, data loss may also make subsequent data recovery very difficult.

[0009] 4. Transmission load data volume issue

[0010] The center is responsible for collecting data from numerous terminal devices. The amount of data reported in real time is very huge, which creates a huge load pressure on communication transmission and is not conducive to data collection and equipment management of various terminal devices.

[0011] In response to the above problems, a new type of power load management system is developed. This system can quickly replace the traditional power load management system to meet the challenges and opportunities facing the current power industry. The new power load management system plays an important role in many aspects, including optimizing the balance of power supply and demand, improving the efficiency of power grid operation, realizing the time-differential power consumption strategy, supporting the integration of renewable energy, providing personalized power services, supporting power market operations, and reducing energy consumption and environmental impact. However, the power load data reported by users of this new system still uses traditional methods for data transmission, and there are still problems with data security, including being vulnerable to eavesdropping, interception or illegal acquisition of data, resulting in the risk of data leakage. In addition, load data may face the risk of being tampered with or forged, because there is a lack of effective data integrity verification mechanism, attackers have the opportunity to tamper with the data, resulting in misleading load control and scheduling, and may even cause inaccurate or lost data. In addition, not all power load data needs to be strongly encrypted, because if all data is required, the network will face huge computing power and pressure challenges.

[0012] Chinese patent publication number CN115567201A discloses an adaptive terminal quantum encryption and decryption method and system thereof, which adopts a one-time quantum encryption method to combine quantum keys with classical encryption algorithms to ensure the integrity and security of communication data. Corresponding adjustment strategies are pre-set for different data types, as well as the corresponding different encryption strengths. The current quantum key switching strategy is determined according to the key reception rate, and different proportions of quantum keys are used to achieve automatic switching of encryption and decryption modes, which effectively solves the problems existing in the above-mentioned new power load management system. However, the encryption and decryption algorithm of the patent application is complex and has low processing efficiency. It only uses quantum random numbers to encrypt data packets through key mixing, and cannot guarantee the adequacy of the key, and the data transmission security is not high. Summary of the invention

[0013] The technical problem to be solved by the present invention is that the encryption and decryption algorithms used in the prior art terminal equipment and power load management systems have low processing efficiency and low data transmission security.

[0014] The present invention solves the above technical problems through the following technical means: a collection terminal, comprising an ESAN encryption chip, a quantum security encryption module and a communication module connected in series in sequence, the ESAN encryption chip collects the user's power data, the quantum security encryption module obtains the power data to be transmitted, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, quantum encrypts the power data and the key of the same length to form a quantum security transmission frame, and transmits it through the communication module.

[0015] Furthermore, the quantum secure encryption module includes a first key pool and a first-round key pool, and the first key pool and the first-round key pool are preset offline.

[0016] Furthermore, the power data includes a frame header and a frame payload, the frame header includes a frame identifier, a frame length, a key offset and a key length, the frame payload includes an ID and a power data ciphertext, the frame identifier is used to identify the type or protocol of the frame; the frame length indicates the length of the entire frame, including the length of the frame header and the frame payload; the key offset specifies the offset of the key; the key length indicates the length of the key to be used for encryption; the ID is the unique identifier of the quantum security device, which is used to identify the quantum security device; the power data ciphertext is used to place the power load data that has been quantum encrypted. When encryption is not performed, the data bits of the power data ciphertext are empty.

[0017] Furthermore, the determining of the key length, calculating the multiple to be expanded, and selecting a key to expand the key using an expansion algorithm include:

[0018] Step 1: Divide the length of the power data ciphertext in the frame payload by the key length, and then round it up to get the multiple t to be expanded; determine whether t is less than or equal to 1. If so, directly select a key of the same length as the power data ciphertext for 1:1 encryption. If not, execute step 2;

[0019] Step 2: Take out the key with the same address as the key offset address of the power data from the first key pool as the first key W;

[0020] Step 3: Perform bit-by-bit XOR on each byte of the key W, and the resulting key is recorded as W 2i-1 , i is the number of expansion rounds;

[0021] Step 4: Determine whether 2i is greater than or equal to t. If so, select a key of the same length as the power data ciphertext for encryption. If not, proceed to step 5.

[0022] Step 5: Determine whether i / 16 is equal to 0. If yes, go to step 6; if no, go to step 7.

[0023] Step 6: W 2i-1 Negate;

[0024] Step 7: W 2i-1 Each byte of the key is replaced by the corresponding number obtained from the first round key pool, the result is W2`, and then the key W is obtained 2i =W 2i-1 ⊕W2`;

[0025] Step 8: Determine W 2i Is it equal to W? 2i-1 If not, go directly to step nine. If yes, first set W 2iTake the inverse and execute step nine again;

[0026] Step 9: W 2i Each byte of the bit-by-bit XOR is obtained 2i+1 ;

[0027] Step 10: Add 1 to the number of rounds of expansion and determine whether 2i is greater than t. If so, end the expansion; if not, return to step 5.

[0028] Furthermore, the quantum secure transmission frame is obtained in the following manner:

[0029] After the key expansion is completed, key B is obtained. The user's power data A is XORed with key B to obtain a ciphertext, which is inserted into the position of the power data ciphertext to obtain a quantum secure transmission frame.

[0030] The present invention also provides a load management center, including a headquarters platform, a marketing business system, a dispatching management system, an electricity consumption information collection system and a global quantum security network. The headquarters platform includes a power load management system, which is respectively communicatively connected with the marketing business system, the dispatching management system and the electricity consumption information collection system, and the electricity consumption information collection system is also connected with the global quantum security network; the global quantum security network obtains a quantum security transmission frame, determines the key length, calculates the multiple to be expanded, selects a key and uses an expansion algorithm to expand the key, performs quantum decryption on the quantum security transmission frame through the expanded key, obtains the user's power data, and transmits it to the power consumption information collection system, and the power consumption information collection system transmits the power data to the power load management system.

[0031] Furthermore, the global quantum security network includes a second key pool and a second round key pool, and the second key pool and the second round key pool are preset offline.

[0032] Furthermore, the power data includes a frame header and a frame payload, the frame header includes a frame identifier, a frame length, a key offset and a key length, the frame payload includes an ID and a power data ciphertext, the frame identifier is used to identify the type or protocol of the frame; the frame length indicates the length of the entire frame, including the length of the frame header and the frame payload; the key offset specifies the offset of the key; the key length indicates the length of the key to be used for encryption; the ID is the unique identifier of the quantum security device, which is used to identify the quantum security device; the power data ciphertext is used to place the power load data that has been quantum encrypted. When encryption is not performed, the data bits of the power data ciphertext are empty.

[0033] Furthermore, the determining of the key length, calculating the multiple to be expanded, and selecting a key to expand the key using an expansion algorithm include:

[0034] Step 1: Divide the length of the power data ciphertext in the frame payload by the key length, and then round it up to get the multiple t to be expanded; determine whether t is less than or equal to 1. If so, directly select a key of the same length as the power data ciphertext for 1:1 encryption. If not, execute step 2;

[0035] Step 2: Take out the key with the same address as the key offset address of the power data from the second key pool as the first key W;

[0036] Step 3: Perform bit-by-bit XOR on each byte of the key W, and the resulting key is recorded as W 2i-1 , i is the number of expansion rounds;

[0037] Step 4: Determine whether 2i is greater than or equal to t. If so, select a key of the same length as the power data ciphertext for encryption. If not, proceed to step 5.

[0038] Step 5: Determine whether i / 16 is equal to 0. If yes, go to step 6; if no, go to step 7.

[0039] Step 6: W 2i-1 Negate;

[0040] Step 7: W 2i-1 Each byte of the key is replaced by the corresponding number obtained from the second round key pool, the result is W2`, and then the key W is obtained 2i =W 2i-1 ⊕W2`;

[0041] Step 8: Determine W 2i Is it equal to W? 2i-1 If not, go directly to step nine. If yes, first set W 2i Take the inverse and execute step nine again;

[0042] Step 9: W 2i Each byte of the bit-by-bit XOR is obtained 2i+1 ;

[0043] Step 10: Add 1 to the number of rounds of expansion and determine whether 2i is greater than t. If so, end the expansion; if not, return to step 5.

[0044] Furthermore, the method of quantum decrypting the quantum secure transmission frame by using the expanded key is:

[0045] After the key expansion is completed, key B is obtained, and the quantum secure transmission frame is XORed with key B to obtain the user's power data.

[0046] The present invention also provides a quantum security load management system, comprising the above-mentioned collection terminal and the above-mentioned load management center, the communication module of the collection terminal and the global quantum security network in the load management center are connected through a 4G / 5G virtual private network communication; the quantum security encryption module obtains the power data to be transmitted, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, quantum encrypts the power data and the key of the same length to form a quantum security transmission frame, and transmits it to the global quantum security network through the communication module, the global quantum security network obtains the quantum security transmission frame, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, and quantum decrypts the quantum security transmission frame through the expanded key to obtain the user's power data, and transmits it to the power consumption information collection system, and the power consumption information collection system transmits the power data to the power load management system.

[0047] Furthermore, the quantum secure encryption module includes a first key pool and a first-round key pool, the first key pool and the first-round key pool are preset offline, the global quantum secure network includes a second key pool and a second-round key pool, the second key pool and the second-round key pool are preset offline, the first key pool and the second key pool are matched one-to-one, and the first-round key pool and the second-round key pool are matched one-to-one.

[0048] Furthermore, the power data includes a frame header and a frame payload, the frame header includes a frame identifier, a frame length, a key offset and a key length, the frame payload includes an ID and a power data ciphertext, the frame identifier is used to identify the type or protocol of the frame; the frame length indicates the length of the entire frame, including the length of the frame header and the frame payload; the key offset specifies the offset of the key; the key length indicates the length of the key to be used for encryption; the ID is the unique identifier of the quantum security device, which is used to identify the quantum security device; the power data ciphertext is used to place the power load data that has been quantum encrypted. When encryption is not performed, the data bits of the power data ciphertext are empty.

[0049] Furthermore, the expansion algorithm executed by the quantum-safe encryption module is the same as the expansion algorithm executed by the global quantum-safe network, and the steps of the expansion algorithm executed by the quantum-safe encryption module are:

[0050] Step 1: Divide the length of the power data ciphertext in the frame payload by the key length, and then round it up to get the multiple t to be expanded; determine whether t is less than or equal to 1. If so, directly select a key of the same length as the power data ciphertext for 1:1 encryption. If not, execute step 2;

[0051] Step 2: Take out the key with the same address as the key offset address of the power data from the first key pool as the first key W;

[0052] Step 3: Perform bit-by-bit XOR on each byte of the key W, and the resulting key is recorded as W 2i-1 , i is the number of expansion rounds;

[0053] Step 4: Determine whether 2i is greater than or equal to t. If so, select a key of the same length as the power data ciphertext for encryption. If not, proceed to step 5.

[0054] Step 5: Determine whether i / 16 is equal to 0. If yes, go to step 6; if no, go to step 7.

[0055] Step 6: W 2i-1 Negate;

[0056] Step 7: W 2i-1 Each byte of the key is replaced by the corresponding number obtained from the first round key pool, the result is W2`, and then the key W is obtained 2i =W 2i-1 ⊕W2`;

[0057] Step 8: Determine W 2i Is it equal to W? 2i-1 If not, go directly to step nine. If yes, first set W 2i Take the inverse and execute step nine again;

[0058] Step 9: W 2i Each byte of the bit-by-bit XOR is obtained 2i+1 ;

[0059] Step 10: Add 1 to the number of rounds of expansion and determine whether 2i is greater than t. If so, end the expansion; if not, return to step 5.

[0060] Furthermore, the process of quantum encrypting the power data and a key of the same length to form a quantum secure transmission frame is as follows:

[0061] After the quantum secure encryption module completes key expansion, it obtains key B. The user's power data A is XORed with key B to obtain ciphertext, which is inserted into the power data ciphertext position to obtain a quantum secure transmission frame.

[0062] Furthermore, the process of quantum decrypting the quantum secure transmission frame by using the expanded key is:

[0063] After the global quantum security network completes key expansion, key B is obtained, and the quantum security transmission frame is XORed with key B to obtain the user's power data.

[0064] The advantages of the present invention are:

[0065] (1) The encryption process of the present invention is simple and has high processing efficiency. The multiples required for expansion are calculated based on the key length, and then a key is selected for key expansion. Through key expansion, the key is sufficient, the complexity and security of the key are improved, and the problem of low data transmission security in the prior art is solved.

[0066] (2) The keys of the present invention are distributed offline and managed locally, and do not participate in network relay, thereby ensuring the security of the keys.

[0067] (3) The round key pool of the present invention is an important input source for key expansion, which can enhance the complexity and security of the key. The key pool is used as the expansion source of the key, and each expanded key maintains correlation, ensuring that the key expansion is highly random. The expansion is only performed through XOR and negation operations, without traditional addition, subtraction, multiplication and division operations to improve efficiency.

[0068] (4) The present invention uses quantum encryption to improve the security of power data communication to the quantum security level. The power load data generated and verified based on quantum technology can remain secure under future quantum computer attacks, improving the security and reliability of power load data and promoting the development of new power load management systems. This will greatly enhance the information security protection capabilities of the power industry and provide users with more reliable, efficient and secure power services. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 This is a structural block diagram of a collection terminal disclosed in Embodiment 1 of the present invention;

[0070] Figure 2 This is a schematic diagram of a frame header of power data collected in a terminal according to Embodiment 1 of the present invention;

[0071] Figure 3 This is a schematic diagram of a frame load of power data in a terminal for collecting power data disclosed in Embodiment 1 of the present invention;

[0072] Figure 4 This is a schematic diagram of a first key pool in a collection terminal disclosed in Embodiment 1 of the present invention;

[0073] Figure 5 This is a schematic diagram of a first round key pool in a collection terminal disclosed in Embodiment 1 of the present invention;

[0074] Figure 6 This is a flow chart of a key expansion algorithm in a collection terminal disclosed in Embodiment 1 of the present invention;

[0075] Figure 7 This is a structural block diagram of a load management center disclosed in Embodiment 2 of the present invention;

[0076] Figure 8This is a structural block diagram of a quantum security load management system disclosed in Example 3 of the present invention;

[0077] Fig. 9 This is a workflow diagram of a quantum security load management system disclosed in Example 3 of the present invention;

[0078] Fig.10 A schematic diagram of encrypted communication between a first key pool, a first-round key pool, a second key pool, and a second-round key pool in a quantum secure load management system disclosed in Embodiment 3 of the present invention;

[0079] Fig.11 This is a schematic diagram of a detailed structure of a quantum security load management system disclosed in Example 3 of the present invention;

[0080] Fig.12 This is a schematic diagram of the on-site installation layout of a quantum security load management system disclosed in Example 3 of the present invention;

[0081] Fig.13 This is a schematic diagram of data interaction between a global quantum secure network and a quantum secure encryption module in a quantum secure load management system disclosed in Example 3 of the present invention. DETAILED DESCRIPTION

[0082] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0083] Example 1

[0084] like Figure 1 As shown, a collection terminal mainly includes three types of terminals, namely, type I special transformer collection terminal, type II special transformer collection terminal, and type III special transformer collection terminal. Each special transformer collection terminal includes an ESAN encryption chip, a quantum security encryption module, and a communication module. The quantum security encryption module is installed on the mainboard of the core unit of the special transformer collection terminal and is connected in series between the ESAM encryption chip and the communication module. The ESAN encryption chip collects the user's power data, and the quantum security encryption module obtains the power data to be transmitted, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, and performs quantum encryption on the power data and the key of the same length to form a quantum security transmission frame, which is transmitted through the communication module.

[0085] In this embodiment, the quantum-safe encryption module includes a first key pool and a first-round key pool, which are preset offline. All keys are not distributed on the network, but are distributed offline to the quantum-safe encryption module before leaving the factory to ensure the security of the keys. Secondly, the first key pool is a business key pool, which is updated regularly, and the first-round key pool is reserved for expansion.

[0086] In this embodiment, Figure 2 and Figure 3 As shown, the power data includes a frame header and a frame load. The frame header includes a frame identifier, a frame length, a key offset, and a key length. The frame identifier (16 bits) is used to identify the type or protocol of the frame. The frame length (32 bits) indicates the length of the entire frame, including the length of the frame header and the frame load. The key offset (32 bits) specifies the offset of the key, which is used to extract the corresponding key. The key length (32 bits) indicates the length of the quantum key used for encryption. The frame load includes an ID and a power data ciphertext. The ID is a unique identifier of a quantum security device, which is used to identify a specific quantum security device. The power data ciphertext is used to place the power load data that has been quantum encrypted. When it is not encrypted, the data bits of the power data ciphertext are empty. The frame header and frame load structure can ensure that the necessary information and security protection are provided during the data transmission to the quantum security network.

[0087] The following describes in detail how the quantum-safe encryption module performs key expansion and quantum encryption. Before leaving the factory, the key and round key are sent offline to the quantum-safe encryption module. The first key pool formed is as follows: Figure 4 As shown, the first key pool can be infinite. The size of the first key pool varies according to the business and update frequency strategy. Here, a section of the first key pool is selected to calculate the expansion algorithm to demonstrate how to expand the algorithm. The keys in the first key pool are not fully shown. The first round of key pool is as follows Figure 5 shown.

[0088] like Figure 6 As shown, the key length is determined, the multiple to be expanded is calculated, and the key is selected to expand the key using an expansion algorithm, including the following steps:

[0089] S1. Divide the length of the power data ciphertext in the frame payload by the key length, and then round it up to get the multiple t to be expanded; determine whether t is less than or equal to 1. If so, directly select a key with the same length as the power data ciphertext for 1:1 encryption. If not, execute S2;

[0090] S2, taking out the key with the same address as the key offset address of the power data from the first key pool as the first key W;

[0091] S3. Perform bit-by-bit XOR on each byte of the key W, and the resulting key is recorded as W 2i-1, i is the number of rounds of expansion; for example, the bytes of W are b0 b2 b3 b4, and after XORing them one by one, we get a0=b0⊕b1, a1=b1⊕b2, a2=b2⊕b3, a3=b3⊕b0, and the key composed of a0 a2 a3 a4 is used as W 2i-1 .

[0092] S4, determine whether 2i is greater than or equal to t, if so, select a key of the same length as the power data ciphertext for encryption, if not, execute S5;

[0093] S5, determine whether i / 16 is equal to 0, if so, execute S6, if not, execute S7;

[0094] S6, W 2i-1 Negate;

[0095] S7, W 2i-1 Each byte of the key is replaced by the corresponding number obtained from the first round key pool, the result is W2`, and then the key W is obtained 2i =W 2i-1 ⊕W2`; for example, each byte a0 a2 a3 a4 is replaced by a corresponding number from the first round key pool L[0,255], that is, a0=a 轮0 , a1=a 轮1 , a2=a 轮2 , a3=a 轮3 , the number formed is W2`, W2i=w⊕W2`.

[0096] S8. Determine W 2i Is it equal to W? 2i-1 If not, execute S9 directly. If yes, first set W 2i Take the inverse, keep the key non-repetitive, and then execute S9;

[0097] S9, W 2i Each byte of the bit-by-bit XOR is obtained 2i+1 ;

[0098] S10, increase the number of expansion rounds by 1, and determine whether 2i is greater than t. If so, end the expansion; if not, return to S5.

[0099] The following is an example of the expansion algorithm to help you understand the algorithm more clearly.

[0100] For a word W0 (a word w is represented by 4 bytes in the calculation set), it is recorded as w0=b0b1b2b3. The expansion algorithm expansion process is as follows:

[0101] 2x expansion:

[0102] Expanding from W0 to W1, W1 (a0a1a2a3), the expansion process is as follows: a0=b0⊕b1, a1=b1⊕b2, a2=b2⊕b3, a3=b3⊕b0. For w0, its four bytes have no connection. W1 expanded according to the above algorithm is also a random number. The number of bits of W1 is the same as w, so it achieves a 2-fold increase.

[0103] n-fold expansion:

[0104] If we assume that W0 is an unpredictable number each time, we can use the above 2x algorithm to expand infinitely. The concept of round key pool is introduced here. As long as a W0` is randomly taken out from a fixed round key pool according to a different sequence number in each round, it can be expanded infinitely. The number of round keys here is fixed and consists of 256 bytes. If we want to improve randomness, we can use the business key pool as the round key pool, and the starting position of the round key pool is specified by the business sequence number.

[0105] Assume i is the number of expansion rounds:

[0106] 1) The above has been expanded by 2 times, so here we expand from W1 to W2, and the corresponding numbers are obtained from the round key pool L[0,255] by each byte of the previous w, that is, W1 (a0a1a2a3), to replace them, that is, a0 = a 轮0 , a1=a 轮1 , a2=a 轮2 , a3=a 轮3 The number formed is W2`, W2=w⊕W2` (keeping the relationship between the round key and the input quantum key source).

[0107] 2) The acquisition of W3 uses the 2-fold expansion step, and W3 is obtained by using the 2-fold expansion method (the above-mentioned 2-fold expansion).

[0108] Following the above two steps, you can expand infinitely, increasing at a rate of 2w.

[0109] Every 16 times, the original number w is inverted ~w, and then the above operation is repeated to obtain an infinitely expanded key.

[0110] Repeated case cracking: If W 2i and W 2i-1 The same, that is, if we continue with this algorithm, there will be repetitions. 2i Invert, and perform bit-by-bit XOR on each byte of the inverted number to get W 2i+1 .

[0111] The round key pool of 256 w does not need to be fixed and can change with the business.

[0112] After the above-mentioned key expansion operation, assuming that the key obtained after the key expansion is B, and the user's power data is A, the user's power data A is XORed with the key B to obtain a ciphertext, which is inserted into the position of the power data ciphertext to obtain a quantum secure transmission frame.

[0113] Through the above technical scheme, the encryption process of the present invention is simple and has high processing efficiency. The multiples required for expansion are calculated according to the key length, and then the key is selected for key expansion. Through key expansion, the key is sufficient, the complexity and security of the key are improved, and the problem of low data transmission security in the prior art is solved.

[0114] Example 2

[0115] like Figure 7 As shown, the present invention also provides a load management center, including a headquarters platform, a marketing business system, a dispatching management system, an electricity information collection system and a global quantum security network. The headquarters platform includes a power load management system, which is respectively connected to the marketing business system, the dispatching management system and the power information collection system, and the power information collection system is also connected to the global quantum security network; the power load management system in the headquarters platform is used to respond to user needs, provide data processing, data analysis, data storage, data monitoring and other management functions for the business data reported by the power information collection system, and guide orderly power consumption according to the data processing results. The power information collection system is used to integrate and collect business data reported by each collection terminal. The global quantum security network is used to provide network data security transmission, quantum key encryption, equipment authentication, key relay, and system isolation security network. In this embodiment, the global quantum security network includes a second key pool and a second round key pool, and the second key pool and the second round key pool are preset offline. Other business systems on the provincial side, including the marketing business system and the dispatching management system, are responsible for communicating and processing with the power load system.

[0116] The global quantum security network obtains the quantum security transmission frame, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, performs quantum decryption on the quantum security transmission frame with the expanded key, obtains the user's power data, and transmits it to the power consumption information collection system. The power consumption information collection system transmits the power data to the power load management system.

[0117] The power data includes a frame header and a frame load, and the specific settings are the same as those in Example 1. The global quantum security network determines the key length, calculates the multiple to be expanded, selects a key and uses an expansion algorithm to expand the key. The specific key expansion method is exactly the same as in Example 1 and will not be repeated here. After the global quantum security network completes the key expansion, it also obtains the key B, and then XORs the quantum security transmission frame with the key B to obtain the user's power data.

[0118] Through the above technical scheme, the round key pool of the present invention is similar to the round constant, which is reserved for key expansion to reset the key expansion base, which can ensure the complexity of the key, increase randomness, ensure security, and the length of the round key pool is fixed. By presetting the length of the key pool, the expandable multiple can be infinitely increased, which saves resources, improves the encryption ratio, and ensures the security of the business. By expanding the algorithm, the sufficiency of the key is guaranteed, the one-time pad can be guaranteed to operate normally, and the security level is improved. The security level of the business is improved to the quantum security level.

[0119] Example 3

[0120] like Figure 8 As shown, the present invention also provides a quantum security load management system, including the acquisition terminal described in Example 1 and the load management center described in Example 2, the communication module of the acquisition terminal and the global quantum security network in the load management center are connected through 4G / 5G virtual private network communication; combined Fig. 9 The quantum security encryption module obtains the power data to be transmitted, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, quantum encrypts the power data and the key of the same length to form a quantum security transmission frame, and transmits it to the global quantum security network through the communication module. The global quantum security network obtains the quantum security transmission frame, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, and quantum decrypts the quantum security transmission frame with the expanded key to obtain the user's power data and transmit it to the power consumption information collection system. The power consumption information collection system transmits the power data to the power load management system.

[0121] like Fig.10 As shown, the quantum security encryption module includes a first key pool and a first round key pool, the first key pool and the first round key pool are preset offline, the global quantum security network includes a second key pool and a second round key pool, the second key pool and the second round key pool are preset offline, the first key pool and the second key pool match one by one, the content is consistent, and they are used as business keys, but when they need to be expanded, they are used as source data for expanding keys. The first round key pool matches the second round key pool one by one, the content is consistent, and as a replacement key pool, the corresponding data in the round key pool is indexed through the source data.

[0122] It should be noted that the power data includes a frame header and a frame payload, and the specific settings are the same as those in Example 1. The quantum security encryption module obtains the power data to be transmitted, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, and quantum encrypts the power data and the key of the same length to form a quantum security transmission frame. The specific key expansion process is exactly the same as in Example 1 and will not be repeated here. The global quantum security network determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key. The specific key expansion method is exactly the same as in Example 1 and will not be repeated here.

[0123] After the quantum security encryption module completes key expansion, key B is obtained. The user's power data A is XORed with key B to obtain ciphertext, which is inserted into the location of the power data ciphertext to obtain a quantum security transmission frame. After the global quantum security network completes key expansion, key B is obtained. The quantum security transmission frame is XORed with key B to obtain the user's power data. Thus, the encryption and decryption process of power data is realized. The two XORs corresponding to the encryption and decryption processes replace the reversible encryption and decryption processes. The sender and receiver only need to use the same algorithm to expand the same key B. After the center side receives the encrypted frame of the device, the extended length is obtained according to the ratio of the ciphertext load and the key length, and then it is expanded in the same way as the device side, and the expanded key is used for quantum decryption to obtain the user's power data, which is transmitted to the power load management center by the global quantum security network.

[0124] As a further improvement of Example 3 of the present invention, Fig.11 and Fig.12 As shown, the global quantum security network includes a quantum security terminal server, a quantum security access base station, a quantum security key center, a quantum security network management system and a quantum security root key center. The quantum security terminal server is used to provide quantum decryption function for the data sent and received by the power consumption information collection system. For example, the key expansion algorithm described in Example 1 is executed, and then quantum decryption is performed through XOR to ensure the confidentiality of the transmission of load control instructions. The quantum security access base station is used to provide key relay and other functions for the quantum security terminal server, and cooperates with the quantum security network management system to complete the network access authentication of the collection terminal node. The quantum security key center sends the preset first key pool and the first round key pool to the quantum security encryption module in an offline manner. The quantum security network management system is used to monitor and manage each device in the power load management system to ensure network communication within the power load management system. The quantum security root key center is used to preset the second key pool and the second round key pool offline in the global quantum security network. As Fig.13As shown, the quantum key distribution subsystem is mainly implemented through quantum security access base station, quantum security key center and quantum security root key center, and its main functions are to complete terminal equipment access and identity authentication, preset key generation and injection, key generation and distribution, etc. The quantum key application subsystem includes a quantum security terminal server and a quantum security encryption module, and its main function is to realize quantum security communication between the master station and the acquisition terminal node based on quantum key, combined with the quantum security algorithm (that is, the key expansion algorithm and encryption algorithm described in Example 1), improve the security of the 4G / 5G virtual private network transmission channel, and ensure that the control instructions issued by the load system can be "unconditionally securely" transmitted to the load control terminal. The quantum security network management subsystem mainly includes the quantum security network management system, and its main function is to deploy and plan quantum security equipment resources and equipment roles, configuration parameters, monitoring status, remote maintenance, etc. in one stop.

[0125] Through the above technical solutions, the present invention uses quantum encryption to improve the security of power data communication to the quantum security level. The power load data generated and verified based on quantum technology can remain safe under future quantum computer attacks, improve the security and reliability of power load data, and promote the development of new power load management systems. This will greatly enhance the information security protection capabilities of the power industry and provide users with more reliable, efficient and safe power services.

[0126] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A collection terminal, characterized in that: It includes an ESAN encryption chip, a quantum security encryption module and a communication module connected in series in sequence. The ESAN encryption chip collects the user's power data, and the quantum security encryption module obtains the power data to be transmitted, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, performs quantum encryption on the power data and the key of the same length, and forms a quantum security transmission frame, which is transmitted through the communication module; The step of calculating the multiple to be expanded and selecting a key to expand the key using an expansion algorithm comprises: Step 1: Divide the length of the power data ciphertext in the frame payload by the key length, and then round it up to get the multiple t to be expanded; determine whether t is less than or equal to 1. If so, directly select a key of the same length as the power data ciphertext for 1:1 encryption. If not, execute step 2; Step 2: Take out the key with the same address as the key offset address of the power data from the first key pool as the first key W; Step 3: Perform bit-by-bit XOR on each byte of the key W, and the resulting key is recorded as W 2i-1 , i is the number of expansion rounds; Step 4: Determine whether 2i is greater than or equal to t. If so, select a key of the same length as the power data ciphertext for encryption. If not, proceed to step 5. Step 5: Determine whether i / 16 is equal to 0. If yes, go to step 6; if no, go to step 7. Step 6: W 2i-1 Negate; Step 7: W 2i-1 Each byte of the key is replaced by the corresponding number obtained from the first round key pool, the result is W2`, and then the key W is obtained 2i =W 2i-1 ⊕W2`; Step 8: Determine W 2i Is it equal to W? 2i-1 If not, go directly to step nine. If yes, first set W 2i Take the inverse and execute step nine again; Step 9: W 2i Each byte of the bit-by-bit XOR is obtained 2i+1 ; Step 10: Add 1 to the number of rounds of expansion and determine whether 2i is greater than t. If so, end the expansion; if not, return to step 5.

2. A collection terminal according to claim 1, characterized in that: The quantum-safe encryption module includes a first key pool and a first-round key pool, and the first key pool and the first-round key pool are preset offline.

3. A collection terminal according to claim 2, characterized in that: The power data includes a frame header and a frame payload, wherein the frame header includes a frame identifier, a frame length, a key offset and a key length, and the frame payload includes an ID and a ciphertext of the power data, wherein the frame identifier is used to identify the type or protocol of the frame; the frame length indicates the length of the entire frame, including the length of the frame header and the frame payload; and the key offset specifies the offset of the key; The key length indicates the length of the key to be used for encryption; ID is the unique identifier of the quantum security device and is used to identify the quantum security device; the power data ciphertext is used to place the quantum encrypted power load data. When no encryption is performed, the data bits of the power data ciphertext are empty.

4. A collection terminal according to claim 1, characterized in that: The method for obtaining the quantum secure transmission frame is: After the key expansion is completed, key B is obtained. The user's power data A is XORed with key B to obtain ciphertext, which is inserted into the position of the power data ciphertext to obtain a quantum secure transmission frame.

5. A load management center, characterized in that: It includes a headquarters platform, a marketing business system, a dispatching management system, a power consumption information collection system and a global quantum security network. The headquarters platform includes a power load management system, which is respectively connected to the marketing business system, the dispatching management system and the power consumption information collection system. The power consumption information collection system is also connected to the global quantum security network. The global quantum security network obtains the quantum security transmission frame transmitted by the collection terminal described in claim 1, determines the key length, calculates the multiple to be expanded, selects a key and uses an expansion algorithm to expand the key, performs quantum decryption on the quantum security transmission frame using the expanded key, obtains the user's power data, and transmits it to the power consumption information collection system, and the power consumption information collection system transmits the power data to the power load management system; The determining of the key length, calculating the multiple to be expanded, and selecting a key to expand the key using an expansion algorithm include: Step 1: Divide the length of the power data ciphertext in the frame payload by the key length, and then round it up to get the multiple t to be expanded; determine whether t is less than or equal to 1. If so, directly select a key of the same length as the power data ciphertext for 1:1 encryption. If not, execute step 2; Step 2: Take out the key with the same address as the key offset address of the power data from the second key pool as the first key W; Step 3: Perform bit-by-bit XOR on each byte of the key W, and the resulting key is recorded as W 2i-1 , i is the number of expansion rounds; Step 4: Determine whether 2i is greater than or equal to t. If so, select a key of the same length as the power data ciphertext for encryption. If not, proceed to step 5. Step 5: Determine whether i / 16 is equal to 0. If yes, go to step 6; if no, go to step 7. Step 6: W 2i-1 Negate; Step 7: W 2i-1 Each byte of the key is replaced by the corresponding number obtained from the second round key pool, the result is W2`, and then the key W is obtained 2i =W 2i-1 ⊕W2`; Step 8: Determine W 2i Is it equal to W? 2i-1 If not, go directly to step nine. If yes, first set W 2i Take the inverse and execute step nine again; Step 9: W 2i Each byte of the bit-by-bit XOR is obtained 2i+1 ; Step 10: Add 1 to the number of rounds of expansion and determine whether 2i is greater than t. If so, end the expansion; if not, return to step 5.

6. A load management center according to claim 5, characterized in that: The global quantum security network includes a second key pool and a second round key pool, and the second key pool and the second round key pool are preset offline.

7. A load management center according to claim 6, characterized in that: The power data includes a frame header and a frame payload, wherein the frame header includes a frame identifier, a frame length, a key offset and a key length, and the frame payload includes an ID and a ciphertext of the power data, wherein the frame identifier is used to identify the type or protocol of the frame; the frame length indicates the length of the entire frame, including the length of the frame header and the frame payload; and the key offset specifies the offset of the key; The key length indicates the length of the key to be used for encryption; ID is the unique identifier of the quantum security device and is used to identify the quantum security device; the power data ciphertext is used to place the quantum encrypted power load data. When no encryption is performed, the data bits of the power data ciphertext are empty.

8. A load management center according to claim 5, characterized in that: The method of quantum decrypting the quantum secure transmission frame by using the expanded key is: After the key expansion is completed, key B is obtained, and the quantum secure transmission frame is XORed with key B to obtain the user's power data.

9. A quantum security load management system, characterized in that: It includes the acquisition terminal according to any one of claims 1 to 4 and the load management center according to any one of claims 5 to 8, and the communication module of the acquisition terminal and the global quantum security network in the load management center are connected through 4G / 5G virtual private network communication; The quantum security encryption module obtains the power data to be transmitted, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, quantum encrypts the power data and the key of the same length to form a quantum security transmission frame, and transmits it to the global quantum security network through the communication module. The global quantum security network obtains the quantum security transmission frame, determines the key length, calculates the multiple to be expanded, selects the key and uses the expansion algorithm to expand the key, and quantum decrypts the quantum security transmission frame with the expanded key to obtain the user's power data and transmit it to the power consumption information collection system. The power consumption information collection system transmits the power data to the power load management system.

10. A quantum security load management system according to claim 9, characterized in that: The quantum-safe encryption module includes a first key pool and a first-round key pool, which are preset offline. The global quantum-safe network includes a second key pool and a second-round key pool, which are preset offline. The first key pool and the second-round key pool are matched one-to-one, and the first-round key pool and the second-round key pool are matched one-to-one.

11. A quantum security load management system according to claim 10, characterized in that: The power data includes a frame header and a frame payload, wherein the frame header includes a frame identifier, a frame length, a key offset and a key length, and the frame payload includes an ID and a ciphertext of the power data, wherein the frame identifier is used to identify the type or protocol of the frame; the frame length indicates the length of the entire frame, including the length of the frame header and the frame payload; and the key offset specifies the offset of the key; The key length indicates the length of the key to be used for encryption; ID is the unique identifier of the quantum security device and is used to identify the quantum security device; the power data ciphertext is used to place the quantum encrypted power load data. When no encryption is performed, the data bits of the power data ciphertext are empty.

12. A quantum security load management system according to claim 11, characterized in that: The expansion algorithm executed by the quantum-safe encryption module is the same as the expansion algorithm executed by the global quantum-safe network. The steps of the expansion algorithm executed by the quantum-safe encryption module are: Step 1: Divide the length of the power data ciphertext in the frame payload by the key length, and then round it up to get the multiple t to be expanded; determine whether t is less than or equal to 1. If so, directly select a key of the same length as the power data ciphertext for 1:1 encryption. If not, execute step 2; Step 2: Take out the key with the same address as the key offset address of the power data from the first key pool as the first key W; Step 3: Perform bit-by-bit XOR on each byte of the key W, and the resulting key is recorded as W 2i-1 , i is the number of expansion rounds; Step 4: Determine whether 2i is greater than or equal to t. If so, select a key of the same length as the power data ciphertext for encryption. If not, proceed to step 5. Step 5: Determine whether i / 16 is equal to 0. If yes, go to step 6; if no, go to step 7. Step 6: W 2i-1 Negate; Step 7: W 2i-1 Each byte of the key is replaced by the corresponding number obtained from the first round key pool, the result is W2`, and then the key W is obtained 2i =W 2i-1 ⊕W2`; Step 8: Determine W 2i Is it equal to W? 2i-1 If not, go directly to step nine. If yes, first set W 2i Take the inverse and execute step nine again; Step 9: W 2i Each byte of the bit-by-bit XOR is obtained 2i+1 ; Step 10: Add 1 to the number of rounds of expansion and determine whether 2i is greater than t. If so, end the expansion; if not, return to step 5.

13. A quantum security load management system according to claim 9, characterized in that: The process of quantum encrypting the power data and the key of the same length to form a quantum secure transmission frame is as follows: After the quantum secure encryption module completes key expansion, it obtains key B. The user's power data A is XORed with key B to obtain ciphertext, which is inserted into the power data ciphertext position to obtain a quantum secure transmission frame.

14. A quantum security load management system according to claim 9, characterized in that: The process of quantum decryption of the quantum secure transmission frame by using the expanded key is as follows: After the global quantum security network completes key expansion, key B is obtained, and the quantum security transmission frame is XORed with key B to obtain the user's power data.

Citation Information

Patent Citations

  • Self-adaptive terminal quantum encryption and decryption method and system

    CN115567201A

  • Pre-sharing-based secure data transmission method for electric load management system

    CN102111273A

  • Data encryption method and device, data decryption method and device and storage medium

    CN116527232A

  • Key expansion method

    CN117201012A

  • Multifunctional intelligent ammeter and electric quantity safety acquisition system

    CN210323146U