Power industrial control system data security encryption method based on optimized SM2 algorithm

By applying the fast dot product operation and storage optimization method of optimizing the SM2 algorithm in the power industrial control system, the problems of transmission delay and poor storage performance of the SM2 algorithm in the power industrial control system are solved, and the computing efficiency and security of the system are improved. High-throughput data encryption and decryption is achieved.

CN118631433APending Publication Date: 2024-09-10CHINA DATANG CORP SCI & TECH RES INST CO LTD EAST CHINA BRANCH +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410701298.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The SM2 algorithm has problems with high transmission delay and poor storage performance in power industrial control systems. It cannot meet the needs of high-throughput data encryption and decryption operations. Moreover, the industrial control systems in the power industry lack the adaptation and application of commercial password security evaluation standards.

Method used

The fast dot product operation and storage optimization method based on the optimized SM2 algorithm is used to perform SM2 encryption and decryption operations on the transmission links, server hosts and data storage of the power industrial control system. The complexity of the dot product operation is reduced through binary conversion and binary tree operations, and the Randomly select points on the elliptic curve for key generation, encryption and decryption to reduce storage occupancy.

Benefits of technology

It improves the computing efficiency and storage space optimization of the power industrial control system, reduces the transmission delay, improves the security of commercial passwords and evaluation security, and meets the throughput and computing performance requirements of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631433A
    Figure CN118631433A
Patent Text Reader

Abstract

The invention provides a power industrial control system data security encryption method based on an optimized SM2 algorithm, and belongs to the technical field of power generation enterprise industrial control system data security and domestic passwords. The method comprises the steps that fast dot product operation and storage optimization operation are adopted when SM2 encryption and decryption operation is carried out on a transmission link, a server host and data storage of the electric power industrial control system, and SM2 encryption and decryption operation is carried out on three modes of the transmission link, the server host and the data storage of the electric power industrial control system. Comprising a fast dot product operation and storage optimization method, the operation efficiency of the power industrial control system is improved, the storage space is optimized, the problems of transmission delay and storage when the SM2 algorithm is applied to the power industrial control system are solved, and the commercial password safety, the evaluation safety and the password safety protection capability of the power industrial control system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of data security of industrial control systems of power generation enterprises and domestic cryptographic technology, and in particular to a data security encryption method for power industrial control systems based on an optimized SM2 algorithm. Background Art

[0002] The power industry is an important basic industry related to the national economy and people's livelihood, and it is also a technology and capital intensive industry. In recent years, the network information security situation has become increasingly severe, and the information security issues of the power system have become increasingly prominent, which has posed a serious threat to the normal operation of the power system production and operation. The hidden dangers of power system information security will not only lead to information and economic losses, but also endanger personal and social safety. Therefore, in order to establish a complete security protection system for important information systems in the power industry, it is necessary to accelerate the promotion of the use of national commercial cryptographic algorithms in power-specific security protection systems and monitoring terminals to ensure the security of information systems in the power industry, which is of great practical significance.

[0003] The national secret SM2 algorithm is widely used in business, financial and other systems, and has good encryption and decryption security protection capabilities. For example, the paper "Power Data Security Access Method Based on SM2 Cryptographic Algorithm" (Journal of Nanjing University of Science and Technology, Wang Gaozhou et al., State Grid Shandong Electric Power Company Information and Communication Company, December 2022) proposes a power data security access method based on the SM2 national secret algorithm for heterogeneous edge devices in smart grids. Through this method, the measurement data of the power grid and the power data of power users can be safely collected from various edge devices without causing data privacy leakage. However, the SM2 algorithm is basically rarely used in power industrial control systems. Considering that the power industrial control system has high requirements for data transmission timeliness, the real-time production system even has a transmission delay of no more than milliseconds, and the power industrial control system has limited computing and storage capabilities, which cannot meet high-throughput data encryption and decryption operations. Therefore, there are technical difficulties in the application of the SM2 encryption and decryption algorithm in the power industrial control system.

[0004] At the same time, when conducting commercial cryptographic security assessments on industrial control systems in the power industry, there are basically no companies that meet the commercial cryptographic security standards. Adapting and applying commercial cryptographic algorithms to industrial control systems in the power industry has become a difficult problem that the current power industry needs to overcome. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the shortcomings of the SM2 algorithm. Aiming at the problems of high transmission delay and poor storage performance of the existing SM2 algorithm, a data security encryption method for an electric power industrial control system based on an optimized SM2 algorithm with strong applicability, good effect and high computing performance is proposed.

[0006] The present invention solves the above technical problems through the following technical solutions: a data security encryption method for an electric power industrial control system based on an optimized SM2 algorithm, the method comprising using fast dot product operations and storage optimization operations when performing SM2 encryption and decryption operations on a transmission link, a server host, and data storage of the electric power industrial control system.

[0007] The present invention performs SM2 encryption and decryption operations on three modes: power industrial control system transmission link, server host and data storage, including fast dot product operations and storage optimization methods, to achieve improved computing efficiency and storage space optimization of the power industrial control system, solve the transmission delay and storage problems of the SM2 algorithm applied to the power industrial control system, and improve the commercial cryptographic security, evaluation security and cryptographic security protection capabilities of the power industrial control system.

[0008] Preferably, the fast dot product operation includes:

[0009] Binary conversion: First, define the dot product operation in the public key generation or encryption / decryption algorithm as nP, and then convert the multiple n into binary, recorded as (n i n i-1 …n2 n1), that is

[0010] (n) 10 =(n i n i-1 …n2n1)2 (1) Where i represents the subscript of a binary digit, and 1≤i≤[log2n]+1, where the result of [log2n] is rounded down;

[0011] Point entry: Create two empty queues, named Z1 and Z2, generate a binary tree of the binary bits generated by binary conversion, and enter the queue according to the following rules:

[0012]

[0013] Where L(n') represents the length of the binary tree generated by n, L(n) represents the number of bits of the binary number n, Indicates that the generated binary number is put into queue Z1, Indicates that the generated binary number is put into queue Z2;

[0014] Fast calculation: The binary numbers generated in queues Z1 and Z2 are calculated according to the following rules:

[0015]

[0016] In the formula Indicates that the calculation result is used as the initial value of the next calculation, k represents the subscript of the binary digit, and 1≤k≤i. When the calculation is performed according to formula (3) in queue Z1, the calculation is performed from low to high in binary; when the calculation is performed according to formula (3) in queue Z2, the calculation is performed from high to low in binary.

[0017] Preferably, the binary tree generation mechanism is: taking the low-order binary digit n1 as the root node, and establishing the binary tree according to the principle that nodes smaller than the root node are the left leaf nodes, and nodes larger than the root node are the right leaf nodes.

[0018] Preferably, the storage optimization operation includes:

[0019] The process of generating the key: The sender determines the elliptic curve E on the prime field F(p), randomly selects two points R1(x1,y1) and R2(x2,y2) on the elliptic curve E, defines R1(x1,y1)>R2(x2,y2), selects a random number r, a prime private key k, and generates R3(x3,y3) and R4(x4,y4) according to the point addition and point subtraction operation rules. The calculation method is as follows:

[0020]

[0021] Calculate the public keys Q1 and Q2 as follows:

[0022]

[0023] The process of encrypting plaintext: The sender uses public keys Q1 and Q2 to encrypt the plaintext point P m1 and P m2 Encryption is performed to generate ciphertext points (C1, C2, C3). The calculation method is as follows:

[0024]

[0025] The process of decrypting ciphertext: The receiving end uses the private key to decrypt the received ciphertext point into a plaintext point. The calculation process is as follows:

[0026]

[0027] Plain text point (P m1 ,P m2 ) is decoded to obtain the plaintext.

[0028] Preferably, the transmission links of the electric power industrial control system include: the link from the field measurement point of the DCS system in production area I to the station control layer switch, the transmission link between the network gates of production area I and production area II, the transmission link between the network gates of production area II and production area III, and the transmission link between the network gates of production area III and production area IV.

[0029] Preferably, the server host includes: a historical database server, a mirror server, and a SIS server.

[0030] Preferably, the data storage includes an engineer station, an operator station and an interface machine.

[0031] The advantages provided by the present invention are:

[0032] 1. The present invention performs SM2 encryption and decryption operations on three modes: transmission link, server host and data storage of the electric power industrial control system, including fast dot product operations and storage optimization methods, to improve the computing efficiency and storage space optimization of the electric power industrial control system, solve the transmission delay and storage problems of the SM2 algorithm applied to the electric power industrial control system, and improve the security of commercial cryptographic security assessment and cryptographic security protection capabilities of the electric power industrial control system.

[0033] 2. The present invention converts the decimal multiples of the dot product operation into binary numbers, and converts the dot product operation into an operation with lower complexity based on the characteristics of the binary number, thereby reducing the computational complexity of the original dot product operation. The fast dot product operation can replace the original dot product operation method in the SM2 algorithm, requiring only 3 / 2×[log2n] operations on average, greatly reducing the complexity of the original SM2 elliptic curve method when using dot product operations on nP, thereby improving the transmission real-time and transmission efficiency of the power industrial control system.

[0034] 3. The present invention optimizes storage, encrypting two plaintext points into three ciphertext points. Compared with the SM2 ECC algorithm, which encrypts two plaintext points into four ciphertext points, the algorithm can reduce the system storage occupancy by 25%, thereby optimizing the allocation of storage space occupancy. The storage optimization operation can replace the original storage method in the SM2 algorithm, saving the storage space required for data encryption and decryption, improving the data storage encryption capability, and satisfying the system throughput and computing performance.

[0035] 4. The present invention performs SM2 data encryption and decryption security protection on the safety zone I, safety zone II and safety zone III of the electric power industrial control system, involving DCS system, SIS system, including data encryption and decryption security protection of the network communication layer, computing device layer and application data layer, involving SM2 encryption and decryption operations of the engineer station, operator station and the server's own SSL client, SM2 encryption and decryption operations of the encryption machine for server storage data, and IPsec VPN SM2 encryption and decryption operations for remote communication between different systems and between systems. When performing SM2 encryption and decryption operations, fast dot product operations and storage optimization operations are mainly involved, ultimately realizing data security encryption of the electric power industrial control system based on the optimized SM2 algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1A schematic diagram of the encryption and decryption positions of the power industrial control system in the power industrial control system data security encryption method based on the optimized SM2 algorithm provided in an embodiment of the present invention;

[0037] Figure 2 A schematic diagram of power industrial control system encryption in a power industrial control system data security encryption method based on an optimized SM2 algorithm provided in an embodiment of the present invention;

[0038] Figure 3 A flowchart of fast dot product operation in a power industrial control system data security encryption method based on an optimized SM2 algorithm provided in an embodiment of the present invention;

[0039] Figure 4 A flowchart of storage optimization operations in a data security encryption method for an electric power industrial control system based on an optimized SM2 algorithm provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the technical solution of the present invention is clearly and completely described below in combination with specific embodiments and with reference to the accompanying drawings. 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.

[0041] like Figure 1-2 As shown, this embodiment provides a data security encryption method for an electric power industrial control system based on an optimized SM2 algorithm, which is mainly used in the field of industrial control systems of power plants. The electric power industrial control system includes production area I, production area II, production area III, and production area IV. Production area I is a DCS system, including a control system and a station control layer. The station control layer includes a historical database server, an engineer station, an operator station, a printer, and an interface machine, etc. Production area II is a SIS system, including a DCS interface machine, a public interface machine, and a real-time server, etc. Production area III is a SIS system, including a mirror server, a SIS server, and a printer, etc.

[0042] The method comprises the steps of using fast dot product operation and storage optimization operation when performing SM2 encryption and decryption operations on a transmission link, a server host and data storage of an electric power industrial control system.

[0043] The transmission links of the power industrial control system include: the link from the field measurement point of the DCS system in production area I to the station control layer switch, the transmission link between the network gates of production area I and production area II, the transmission link between the network gates of production area II and production area III, and the transmission link between the network gates of production area III and production area IV.

[0044] The server hosts include: historical database server, mirror server, SIS server. Data storage includes host computers such as engineer station, operator station and interface machine.

[0045] like Figure 3 As shown, the fast dot product operation includes the following steps:

[0046] Binary conversion: First, define the dot product operation in the public key generation or encryption / decryption algorithm as nP, and then convert the multiple n into binary, recorded as (n i n i-1 …n2 n1), that is

[0047] (n) 10 =(n i n i-1 …n2n1)2 (1)

[0048] Wherein i represents the subscript of a binary digit, and 1≤i≤[log2n]+1, where the calculation result of [log2n] is rounded down.

[0049] Point entry: Create two empty queues, denoted as Z1 and Z2, and generate a binary tree with the binary bits generated in step 1. The binary tree generation mechanism is: take the low-order binary bit n1 as the root node, and build a binary tree according to the principle that the node smaller than the root node is the left leaf node and the node larger than the root node is the right leaf node, and enter the queue according to the following rules:

[0050]

[0051] Where L(n') represents the length of the binary tree generated by n, L(n) represents the number of bits of the binary number n, Indicates that the generated binary number is put into queue Z1, It means that the generated binary numbers are put into queue Z2, that is, the binary digits in queue Z1 are all 1, and the binary digits in queue Z2 are not all 1.

[0052] Fast calculation: The binary numbers generated in queues Z1 and Z2 are calculated according to the following rules:

[0053]

[0054] In the formula Indicates that the calculation result is used as the initial value of the next calculation, k represents the subscript of the binary digit, and 1≤k≤i. When the calculation is performed according to formula (3) in queue Z1, the calculation is performed from low to high in binary; when the calculation is performed according to formula (3) in queue Z2, the calculation is performed from high to low in binary, and finally the optimized and fast calculation of dot product is realized.

[0055] When the original SM2 elliptic curve method is used to perform dot product operations on nP, n dot addition operations need to be performed; the present invention converts the decimal multiples of the dot product operation into binary numbers, and converts the dot product operation into an operation with lower complexity based on the characteristics of the binary numbers, thereby reducing the computational complexity of the original dot product operation. The fast dot product operation can replace the original dot product operation method in the SM2 algorithm, requiring only 3 / 2×[log2n] operations on average, greatly reducing the computational complexity of the dot product operation, and improving the transmission real-time performance and transmission efficiency of the power industrial control system.

[0056] like Figure 4 As shown, storage optimization operations include:

[0057] The process of generating the key: The sender determines an elliptic curve E on the prime field F(p), then randomly selects two points R1(x1,y1) and R2(x2,y2) on the elliptic curve E, defines R1(x1,y1)>R2(x2,y2), selects a random number r, a prime private key k, and defines the plaintext point P m1 and P m2 Encryption is performed and R3(x3,y3) and R4(x4,y4) are generated according to the point addition and point subtraction operation rules. The specific calculation method is as follows:

[0058]

[0059] Calculate the public keys Q1 and Q2. The public key calculation method is as follows:

[0060]

[0061] The process of encrypting plaintext: The sender uses public keys Q1 and Q2 to encrypt the plaintext point P m1 and P m2 Encryption is performed to generate ciphertext points (C1, C2, C3). The specific calculation method is as follows:

[0062]

[0063] The process of decrypting ciphertext: The receiving end uses the private key to decrypt the received ciphertext point into a plaintext point. The specific calculation process is as follows:

[0064]

[0065] Get the plaintext point (P m1 ,P m2), and finally the plaintext is obtained by decoding. Through the above storage optimization algorithm, it can be seen that two plaintext points are encrypted into three ciphertext points, compared with the SM2 ECC algorithm, which encrypts two plaintext points into four ciphertext points, the algorithm can reduce the system storage occupancy by 25%, and realize the optimized allocation of storage space occupancy. The storage optimization operation can replace the original storage method in the SM2 algorithm, save the storage space required for data encryption and decryption, improve the storage encryption capability of data, and meet the throughput and computing performance of the system.

[0066] When performing SM2 encryption and decryption operations on the electric power industrial control system, a large number of dot product operations and storage operations are involved, and the dot product operations and storage operations require a certain amount of time cost. Therefore, a large amount of delay will be generated when performing data encryption and decryption, which is not conducive to the real-time interaction of data in the electric power industrial control system. The present invention performs SM2 encryption and decryption operations mainly on three modes of transmission link, server host and data storage of the electric power industrial control system according to the commercial cryptography evaluation standard, including fast dot product operations and storage optimization methods, so as to improve the computing efficiency of the electric power industrial control system and optimize the storage space, solve the transmission delay and storage problems of the SM2 algorithm applied to the electric power industrial control system, and improve the commercial cryptography security, evaluation security and cryptographic security protection capabilities of the electric power industrial control system.

[0067] The data security encryption method of the power industrial control system based on the optimized SM2 algorithm of the present invention mainly performs SM2 data encryption and decryption security protection for the safety zone I, safety zone II and safety zone III of the power industrial control system. Since the NCS system has data encryption and decryption security protection capabilities on the dispatching data network side with a vertical encryption device, it is not considered here temporarily. Specifically, it involves the DCS system and the SIS system, including the data encryption and decryption security protection of the network communication layer, the computing device layer and the application data layer, and specifically involves the SM2 encryption and decryption operations of the engineer station, the operator station and the server's own SSL client, the SM2 encryption and decryption operations of the encryption machine for server storage data, and the IPsec VPN SM2 encryption and decryption operations for remote communication between different systems and systems. When performing SM2 encryption and decryption operations, it mainly involves fast dot product operations and storage optimization operations, and finally realizes the data security encryption of the power industrial control system based on the optimized SM2 algorithm, and provides an innovative data security encryption method for the data security of the industrial control system of power generation enterprises and the application field of domestic cryptographic technology, solves the problems of the prior art, and provides a replicable template for the data security protection of the power industrial control system and the security assessment of commercial cryptography.

[0068] 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 data security encryption method for power industrial control systems based on an optimized SM2 algorithm, characterized in that: The method comprises the steps of using fast dot product operation and storage optimization operation when performing SM2 encryption and decryption operations on a transmission link, a server host and data storage of an electric power industrial control system.

2. The method for data security encryption of power industrial control system based on optimized SM2 algorithm according to claim 1 is characterized in that: The fast dot product operation includes: Binary conversion: First, define the dot product operation in the public key generation or encryption / decryption algorithm as nP, and then convert the multiple n into binary, recorded as (n i n i-1 …n2 n1), that is (n) 10 =(n i n i-1 …n2n1)2 (1) Where i represents the subscript of a binary digit, and 1≤i≤[log2n]+1, where the result of the calculation of [log2n] is rounded down; Point entry: Create two empty queues, named Z1 and Z2, generate a binary tree of the binary bits generated by binary conversion, and enter the queue according to the following rules: Where L(n') represents the length of the binary tree generated by n, L(n) represents the number of bits of the binary number n, Indicates that the generated binary number is put into queue Z1, Indicates that the generated binary number is put into queue Z2; Fast calculation: The binary numbers generated in queues Z1 and Z2 are calculated according to the following rules: In the formula Indicates that the calculation result is used as the initial value of the next calculation, k represents the subscript of the binary digit, and 1≤k≤i. When the calculation is performed according to formula (3) in queue Z1, the calculation is performed from low to high in binary; when the calculation is performed according to formula (3) in queue Z2, the calculation is performed from high to low in binary.

3. The data security encryption method for power industrial control system based on optimized SM2 algorithm according to claim 2 is characterized in that: The binary tree generation mechanism is: taking the low-order binary digit n1 as the root node, and establishing the binary tree according to the principle that nodes smaller than the root node are the left leaf nodes, and nodes larger than the root node are the right leaf nodes.

4. The data security encryption method for power industrial control system based on optimized SM2 algorithm according to claim 1 is characterized in that: The storage optimization operation includes: The process of generating the key: The sender determines the elliptic curve E on the prime field F(p), randomly selects two points R1(x1,y1) and R2(x2,y2) on the elliptic curve E, defines R1(x1,y1)>R2(x2,y2), selects a random number r, a prime private key k, and generates R3(x3,y3) and R4(x4,y4) according to the point addition and point subtraction operation rules. The calculation method is as follows: Calculate the public keys Q1 and Q2 as follows: The process of encrypting plaintext: The sender uses public keys Q1 and Q2 to encrypt the plaintext point P m1 and P m2 Encryption is performed to generate ciphertext points (C1, C2, C3). The calculation method is as follows: The process of decrypting ciphertext: The receiving end uses the private key to decrypt the received ciphertext point into a plaintext point. The calculation process is as follows: Plain text point (P m1 ,P m2 ) is decoded to obtain the plaintext.

5. The method for data security encryption of electric power industrial control system based on optimized SM2 algorithm according to claim 1 is characterized in that: The transmission links of the power industrial control system include: the link from the field measurement point of the DCS system in production area I to the station control layer switch, the transmission link between the network gates of production area I and production area II, the transmission link between the network gates of production area II and production area III, and the transmission link between the network gates of production area III and production area IV.

6. The data security encryption method for power industrial control system based on optimized SM2 algorithm according to claim 1 is characterized in that: The server host includes: a historical database server, a mirror server, and a SIS server.

7. The method for data security encryption of power industrial control system based on optimized SM2 algorithm according to claim 1 is characterized in that: The data storage includes an engineer station, an operator station and an interface machine.