Secure cross-regional data transmission method for power system

By setting up a secure server between the security zone III of the power system and the IoT device, performing identity verification and encryption key exchange, the problem of difficult to ensure data transmission security and confidentiality is solved, and high security of data transmission is achieved. Confidentiality.

CN119030726APending Publication Date: 2024-11-26XJ GRP CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310611849.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the power system, the security and confidentiality of IoT devices in the security zone III and substations during data transmission are difficult to ensure.

Method used

Set up a secure server between the security zone III of the power system and the IoT devices, perform identity verification and digital signature authentication, generate and exchange encryption keys, encrypt and transmit communication data, and use asymmetric algorithms and national secret certificate verification system to verify the signature of the country. , and perform two-factor authentication and data verification through the Broker server and SSL/TLS identity visa system.

Benefits of technology

Through dual-factor authentication and encrypted transmission, the security of data interaction is significantly improved, data theft and tampering are prevented, and data transmission between the power system and IoT devices is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030726A_ABST
    Figure CN119030726A_ABST
Patent Text Reader

Abstract

The invention relates to an electric power system cross-regional data security transmission method, and belongs to the field of electric power system data security. According to the method, a security server is arranged between a security area III and an internet-of-things device of a power system, identity verification is carried out on the security area III and the internet-of-things device, after identity verification of the security area III and the internet-of-things device succeeds, opposite-end digital signature authentication is carried out on the security area III and the internet-of-things device, and after authentication of the two parties succeeds, digital signature authentication is carried out on the internet-of-things device. And at least one of the security III area and the Internet of Things equipment generates an encryption key, the encryption key is sent to the opposite end through the security server in an encryption mode, and the security III area and the Internet of Things equipment encrypt or decrypt the communication data by using the encryption key generated or received by the security III area and the Internet of Things equipment. According to the method, through dual verification and information encryption, the security and confidentiality of the security III area Internet of Things equipment during data transmission are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for securely transmitting data across regions of an electric power system, and belongs to the field of data security of an electric power system. Background Art

[0002] At present, with the development of power systems, there are more and more auxiliary control businesses. For data security, the power system divides the operating data into safety zone I, safety zone II, safety zone III and safety zone IV. The importance of data in different areas is different, and cross-area communication needs to meet security standards. Among them, the data security between safety zone I and safety zone II is guaranteed by a firewall; safety zone II and safety zone III need to use forward isolation and reverse isolation devices; safety zone III and safety zone IV need to communicate through a security gateway. Safety zone IV is an Internet area and can use public networks, such as mobile, telecommunications and other IoT networks. Due to business needs, it is now necessary for the equipment in safety zone III to communicate with the substation IoT equipment in safety zone IV, which needs to go through the public IoT. The security and confidentiality of current data transmission are difficult to guarantee. Summary of the invention

[0003] The purpose of the present invention is to provide a method for secure data transmission across power systems, so as to solve the problem that the security and confidentiality of IoT devices between security zone III and substations cannot be guaranteed during data transmission.

[0004] To achieve the above object, the solution of the present invention includes:

[0005] A method for securely transmitting data across regions of a power system according to the present invention comprises the following steps:

[0006] 1) Set up a security server between the power system security zone III and the IoT device, and use the security server to authenticate the security zone III and the IoT device;

[0007] 2) When the identity authentication of the security zone III and the IoT device is successful, the security zone III and the IoT device respectively perform digital signature authentication of the other end through the security server. After the authentication of both parties is successful, at least one of the security zone III and the IoT device generates an encryption key and sends the encryption key to the other end through the security server in an encrypted manner;

[0008] 3) Security Zone III and IoT devices use the encryption keys generated or received by themselves to encrypt or decrypt communication data.

[0009] Beneficial effect: The method for secure data transmission across regions of the power system of the present invention sets a security server between the power system security zone III and the IoT device, verifies the identity of the security zone III and the IoT device through the security server, and after the identity authentication is successful, the security zone III and the IoT device both authenticate the identities of both parties according to the digital signature of the other party. After the identity authentication of both parties is successful, the communication data is encrypted with an encryption key and transmitted to the other party. This method performs dual authentication on the security zone III and the IoT device, increases the security of data interaction, and also uses an encryption key to encrypt the data during data transmission, further preventing the data of the power system from being stolen and tampered with. The security and confidentiality of the data transmission process between the power system and the IoT device is guaranteed.

[0010] Furthermore, the security zone III and the IoT device use an asymmetric algorithm to encrypt the digital signature to the other end.

[0011] Beneficial effects: Security Zone III and IoT devices use asymmetric algorithm encryption to transmit digital signature authentication to the other end, ensuring the security and confidentiality of digital signatures and preventing irrelevant personnel from stealing and tampering with digital signatures.

[0012] Furthermore, the security zone III and the IoT device are respectively equipped with a national secret certificate verification system, and generate their own private key certificates based on the national secret certificate verification system. The public key certificate is generated based on its own private key certificate and sent to the other end. The other end authenticates the digital signature of the received public key certificate.

[0013] Beneficial effects: The private keys of Security Zone III and the IoT device itself are generated by the national secret certificate verification system respectively, and the public key certificate is generated based on its own private key certificate, and the public key certificate is distributed offline to the other end, and the digital signature is encrypted using an asymmetric algorithm.

[0014] Furthermore, the encryption method for the encryption key in step 3) is an asymmetric encryption algorithm.

[0015] Beneficial effect: When the encryption key of the present invention is exchanged, an asymmetric algorithm is used to encrypt the encryption key, thereby preventing the encryption key from being illegally obtained. Even if the encrypted encryption key is stolen, the encryption key cannot be obtained without the private keys of both parties, thereby ensuring the security and confidentiality of the encryption key.

[0016] Furthermore, after the identity authentication of the security zone III and the IoT device is successful, the security zone III and the IoT device are respectively assigned a Client ID and a unique Topic. The security server is logged in through the Client ID, and the unique Topic is subscribed to establish a communication relationship between the security zone III and the IoT device.

[0017] Beneficial effects: Security Zone III and IoT devices are respectively assigned Client ID and a unique Topic that can identify each other. After successful identity authentication, Security Zone III and IoT devices use Client ID to log in to the security server and subscribe to the Topic. At the same time, the security server detects whether the subscribed Topic is legal, thereby preventing data from being illegally obtained. After the Topic subscription is successful, Security Zone III and IoT devices authenticate each other through the subscribed Topic and communicate through the security server, thereby ensuring data security.

[0018] Furthermore, the security server adopts a Broker server, and the Broker server is provided with an SSL / TLS identity certification system for authenticating the security zone III and the IoT devices.

[0019] Furthermore, when the communication data is encrypted using the encryption key, the encryption method adopted is the SM4 algorithm.

[0020] Beneficial effect: The communication data is encrypted using the SM4 algorithm to ensure data security.

[0021] Furthermore, the security zone III and the IoT device also include using an SM3 algorithm to verify the received encrypted communication data.

[0022] Beneficial effect: The present invention adopts the SM3 algorithm to verify the communication data received after encryption by both parties, so as to prevent the data from being tampered with during the transmission process and ensure the security and integrity of the data.

[0023] Furthermore, the data type for interaction between Security Zone III and IoT devices is the Json data type.

[0024] Furthermore, the security zone III and / or IoT devices dynamically generate encryption keys.

[0025] Beneficial effects: Security Zone III and / or IoT devices dynamically generate encryption keys, which can be replaced based on the number of times the encryption key is used, the usage time, the set time, or each time the security server is re-logged in. The encryption key can be flexibly adjusted to ensure the security of the communication data between the two parties during transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a schematic diagram of the composition structure of power system data transmission in a method embodiment of the present invention;

[0027] Figure 2 It is a schematic diagram of the power system data verification process in the method embodiment of the present invention. DETAILED DESCRIPTION

[0028] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0029] Embodiment of the method for securely transmitting data across regions of a power system:

[0030] like Figure 2 A method for secure data transmission across power systems shown in the figure first sets up a security server between the power system security zone III and the IoT device, and uses the security server to authenticate the security zone III and the IoT device. After the identity authentication is successful, the security zone III and the IoT device respectively perform digital signature authentication on the other end. After both parties are successfully authenticated, the security zone III and the IoT device respectively generate encryption keys, and exchange encryption keys with each other. The security zone III and the IoT device use the encryption keys to encrypt and transmit communication data. The specific implementation method is as follows:

[0031] 1) A security server is set up between the power system security zone III and the IoT devices, and the security server is used to authenticate the security zone III and the IoT devices.

[0032] like Figure 1 As shown, the security server in this embodiment is a Broker server. The established Broker server is used to verify the security zone III and IoT devices of the power system using SSL / TLS two-way encryption technology. Only after the verification is passed can the communication between the security zone III and the IoT devices be allowed. In this embodiment, the data interaction between the security zone III and the IoT devices is realized through the Broker server.

[0033] The security gateway platform deploys the Broker server, and deploys the identity visa system on the Broker server. At the same time, the security gateway assigns unique Client IDs and Topics to the security zone III and the IoT device respectively. In this embodiment, the identity visa system uses the SSL / TLS identity visa system that comes with the Broker server. At this time, both the security zone III and the IoT device need to deploy corresponding SSL / TLS identity certificates (the MQTT protocol itself supports the SSL / TLS protocol). The Broker server verifies the SSL / TLS identity certificates of the security zone III and the IoT device. After the Broker server installs the SSL / TLS identity visa system, it generates a private key certificate and a public key certificate for communication, and distributes the private key certificate and the public key certificate for communication offline to the security zone III and the IoT device. Among them, offline distribution means that when the private key certificate and the public key certificate are distributed, they are not transmitted in a network manner. For example, the private key certificate and the public key certificate can be distributed to the security zone III and the IoT device by copying a USB flash drive or the like.

[0034] 2) When the identity authentication of the security zone III and the IoT device is successful, the security zone III and the IoT device will perform digital signature authentication on the other end respectively. After the authentication of both parties is successful, at least one of the security zone III and the IoT device will generate an encryption key and send the encryption key to the other end through the security server in an encrypted manner.

[0035] When the SSL / TLS protocol identity authentication of the security zone III and the IoT device is passed, the security zone III uses the obtained Client ID to log in to the Broker server, and the IoT device also uses the obtained Client ID to log in to the Broker server. After logging in, the security zone III and the IoT device subscribe to the only Topic at the same time. Among them, in order to prevent the data of the IoT device and the security zone III from being illegally obtained, the Broker server checks whether the Topic subscribed by the Client ID of the IoT device is legal. If it is legal, the Broker server allows the IoT device of the Client ID to communicate with the security zone III for verification. If the Topic is illegal, the TCP network connection of the IoT device with the Client ID is disconnected.

[0036] Among them, the security zone III and the IoT device are respectively equipped with a national secret certificate verification system, and the private key used in the security zone III and the private key used in the IoT device can be directly generated based on the national secret certificate verification system. The security zone III generates a public key certificate based on its own private key certificate and sends it to the IoT device. The IoT device generates a public key certificate based on its own private key certificate and sends it to the security zone III.

[0037] When the IoT device connects to the Broker server and subscribes successfully, the device online message is sent to the security zone III through the Broker server. Each time the IoT device reconnects to the Broker server, the device online information needs to be sent according to the type of data content.

[0038] Among them, in this embodiment, the security zone III and the IoT device need to go through the Broker server when performing any data transmission. The transmitted data is the type and structure of the transmission data defined by the security gateway. In this embodiment, the data type defined by the security gateway is the Json data type, and the data format is:

[0039] {

[0040] "body":

[0041] {

[0042] "devSN":"1497074071765024",

[0043] "exitTime":-1,

[0044] "seqid":0,

[0045] "timestamp":1660724361907,

[0046] "dataTP":1,

[0047] "data":"dataString",

[0048] "crc":"dataCRC"

[0049] }

[0050] }

[0051] Specifically, body represents the name of the JSON data object; devSN is the device number, which is a unique identifier assigned offline; exitTime represents the existence time of the message, and -1 represents permanent storage; seqid represents the message sequence number, which is initially assigned by the device in security zone III and accumulated sequentially; timestamp represents the time when the message is sent; dataTP represents the type of the content of data; data represents the formatted string after the transmission data is encrypted, and crc represents the CRC checksum of the encrypted data.

[0052] Specifically, dataTP defines the types as follows: 1H indicates that the device is online; 2H indicates that the master station forward SM2 digital signature verification; 3H indicates that the IoT device reverse SM2 digital signature verification; 4H indicates communication key data; 5H indicates confirmation key data; 6H indicates that the master station requests data; and 7H indicates IoT device data.

[0053] When the security zone III is connected to the Broker server and successfully subscribes to the Topic of the IoT device, it receives the online information sent by the IoT device, where the received data content type dataTP is 1H, and sends a digital signature to the IoT device for authentication. When sending the digital signature, this embodiment uses an asymmetric algorithm to encrypt the digital signature, specifically using the SM2 algorithm for encryption, and transmits the encrypted digital signature to the other end.

[0054] Security Zone III generates a positive SM2 digital signature message based on its own private key, encrypts the digital signature using the public key certificate of the IoT device, generates data with a data content type of dataTP of 2H, and sends it to the IoT device.

[0055] Specifically, when the security zone III receives the online message of the IoT device subscribed to the only Topic, it generates a forward SM2 digital signature message, encrypts the digital signature using the public key certificate of the corresponding IoT device, and sends it to the IoT device. After the IoT device receives the message with dataTP type of 2H, it verifies it, first decrypts the certificate, and verifies the digital signature sent by the security zone III. After the verification is passed, a digital signature is generated according to the IoT device private key, and encrypted using the public key certificate of the security zone III, and a reverse SM2 digital signature message is generated and sent to the security zone III. The data type of the reverse SM2 digital signature of the IoT device is 3H. The security zone III decrypts the digital signature of the IoT device and performs authentication.

[0056] After the digital signature authentication of both parties in the communication between the security zone III and the IoT device is successful, at least one of the security zone III and the IoT device dynamically generates an encryption key, and encrypts the encryption key according to its own key certificate and the public key certificate of the other end (using the SM2 algorithm). At this time, the encrypted dataTP data type is 4H, and the encrypted data is sent to the other end. Specifically, after the security zone III generates the encryption key, it is encrypted by the SM2 algorithm (asymmetric algorithm) and sent to the IoT device. Similarly, after the IoT device generates the encryption key, it is encrypted by the SM2 algorithm and sent to the security zone III. After receiving the data type of dataTP type 4H, the IoT device decrypts it and determines the encryption key. The IoT device generates an encryption key, encrypts it according to the private key of the IoT device and the public key certificate of the security zone III, and sends the encrypted encryption key to the security zone III for verification. The transmitted dataTP type is 5H.

[0057] The encryption key used by the security zone III and the IoT device can be the same, generated by one of the two parties and transmitted to the other party for confirmation. The security zone III and the IoT device can also each generate an encryption key and transmit it to the other party. The party receiving the encrypted data uses the exchanged encryption key for decryption.

[0058] Among them, the security zone III and / or the IoT device can replace the encryption key according to the number of times the encryption key is used, the usage time, or the set time, or each time the security server is re-logged in. The encryption key replacement method can be flexibly adjusted, and the security of the communication data between the two parties during transmission is guaranteed by flexibly adjusting the encryption key. For example, when the security zone III and the IoT device each generate an encryption key, after five data interactions, that is, after the encryption key is used 5 times, the two parties can generate a new encryption key for replacement. Before the two parties transmit data again, they exchange the replaced encryption key in an encrypted manner. After the data is transmitted again, the replaced encryption key is used for decryption.

[0059] 3) Security Zone III and IoT devices use the encryption keys generated or received by themselves to encrypt or decrypt communication data.

[0060] After the security zone III and the IoT device complete mutual identity authentication and encryption key confirmation, the security zone III and the IoT device use the encryption key generated or received by themselves to encrypt the communication data using the national secret SM4 encryption algorithm, and transmit the encrypted data to the other end. When the security zone III and the IoT device share an encryption key, one party uses the encryption key to decrypt after receiving the communication data. When the security zone III and the IoT device each generate an encryption key, one party uses the encryption key of the other end to decrypt after receiving the communication data.

[0061] Specifically, after the security zone III and the IoT device exchange encryption keys, the communication data is encrypted using the SM4 algorithm and sent to the IoT device using the exchanged encryption key. To prevent data tampering during data transmission, this embodiment uses the national encryption SM3 to generate a CRC check code for the encrypted communication data, which is verified by both communicating parties (security zone III and IoT device). For example, if the IoT device verifies the data and the verification fails, the data is directly deleted. If the verification passes, the data transmission is completed.

[0062] Similarly, if the IoT device needs to send data to Security Zone III, the communication process data will be encrypted using SM4 and the exchanged encryption key, and the encrypted data will be transmitted to Security Zone III. During the transmission process, the encrypted data will be verified using the national encryption SM3 to ensure data integrity.

[0063] After the above process, a security server is set up between the power system security zone III and the IoT device to perform identity authentication. After the identity authentication is successful, the security zone III and the IoT device authenticate the identities of both parties based on the digital signature of the other party. After the identity authentication of both parties is successful, the communication data is encrypted using the encryption key and transmitted to the other party. This method performs dual authentication on the security zone III and the IoT device, increasing the security of data interaction. During data transmission, the encryption key is also used to encrypt the data for transmission, further preventing the data of the power system from being stolen and tampered with. The security and confidentiality of the data transmission process between the power system and the IoT device is guaranteed.

Claims

1. A method for secure data transmission across power systems. It is characterized in that The following steps are involved: 1) Set up a security server between the power system security zone III and the IoT device, and use the security server to authenticate the security zone III and the IoT device; 2) When the identity authentication of the security zone III and the IoT device is successful, the security zone III and the IoT device respectively perform digital signature authentication of the other end through the security server. After the authentication of both parties is successful, at least one of the security zone III and the IoT device generates an encryption key and sends the encryption key to the other end through the security server in an encrypted manner; 3) Security Zone III and IoT devices use the encryption keys generated or received by themselves to encrypt or decrypt communication data.

2. According to claim 1, the method for secure transmission of data across regions of the power system, It is characterized in that Security Zone III and IoT devices use asymmetric algorithm encryption to transmit digital signatures to the other end.

3. The method for securely transmitting data across regions of a power system according to claim 2, It is characterized in that Security Zone III and IoT devices are respectively equipped with national secret certificate verification systems, and generate their own private key certificates based on the national secret certificate verification systems. They generate public key certificates based on their own private key certificates and send them to the other end. The other end then authenticates the digital signature of the received public key certificate.

4. The method for securely transmitting data across regions of a power system according to claim 2, It is characterized in that The encryption key in step 3) is encrypted using an asymmetric encryption algorithm.

5. The method for securely transmitting data across regions of a power system according to claim 1, It is characterized in that After the identity authentication of Security Zone III and IoT device is successful, Security Zone III and IoT device are respectively assigned Client ID and unique Topic. The security server is logged in through Client ID and the unique Topic is subscribed to establish the communication relationship between Security Zone III and IoT device.

6. The method for securely transmitting data across regions of a power system according to claim 5, It is characterized in that The security server adopts a Broker server, in which an SSL / TLS identity certification system is set up for identity verification of security zone III and IoT devices.

7. The method for securely transmitting data across regions of a power system according to claim 1, It is characterized in that When using the encryption key to encrypt communication data, the encryption method used is the SM4 algorithm.

8. The method for securely transmitting data across regions of a power system according to claim 7, It is characterized in that Security Zone III and IoT devices also include the use of the SM3 algorithm to verify the received encrypted communication data.

9. The method for securely transmitting data across regions of a power system according to claim 1 or 7, It is characterized in that The data type for interaction between Security Zone III and IoT devices is the Json data type.

10. The method for securely transmitting data across regions of a power system according to claim 3, It is characterized in that Security Zone III and / or IoT devices dynamically generate encryption keys.