Transformer substation data encryption method based on environmental monitoring, transmission system, equipment and medium

By obtaining and encrypting the substation environment monitoring data in real time, and using dynamic keys for encryption and decryption, the security problem of wireless data transmission in the intelligent substation control cabinet environment monitoring system is solved, and efficient and reliable communication security is achieved.

CN118921207APending Publication Date: 2024-11-08STATE GRID ZHEJIANG ELECTRIC POWER CO LTD HANGZHOU POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411045544.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

How to effectively encrypt wireless transmission data of the intelligent substation control cabinet environment monitoring system to ensure the safe communication and reliable operation of the system, especially in remote and harsh environments.

Method used

By obtaining environmental monitoring status data in real time, encrypting with the initial key, and generating dynamic keys based on time and environment parameters, key derivation and update are carried out, symmetric encryption and decryption are realized, ensuring the security and efficiency of data transmission.

Benefits of technology

The security and efficiency of data transmission are improved, and the dynamic key generated by environmental changes is highly random and unpredictable, reducing the amount of computing, and ensuring the information security of the substation intelligent control cabinet environmental monitoring system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921207A_ABST
    Figure CN118921207A_ABST
Patent Text Reader

Abstract

The invention discloses a transformer substation data encryption method based on environment monitoring, a transmission system, equipment and a medium. The method comprises the following steps: acquiring environment monitoring complete state data of a transformer substation in real time; obtaining a first initial key through a built-in first initial key material, encrypting the environment monitoring complete state data according to the first initial key to obtain a first ciphertext, and sending the first ciphertext to the master station device; when entering a slave station packaging mode, extracting a time parameter and an environment state parameter from the environment monitoring complete state data in real time, and packaging the time parameter and the environment state parameter to obtain a first dynamic key material; obtaining a first dynamic key based on the first dynamic key material; and receiving a second ciphertext sent by the master station equipment, and decrypting the second ciphertext by using the first dynamic key. According to the method, the derived key can be ensured to have high randomness and unpredictability, and the security of encryption, decryption and information transmission is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent substations, and in particular to a substation data encryption method, transmission system, equipment and medium based on environmental monitoring. Background Art

[0002] In recent years, wireless communication technology has developed rapidly and has a good application prospect in the communication of substation monitoring system. The distribution of substations is highly discrete. Some substations are located in remote areas with harsh conditions. The installation of traditional optical fiber transmission is difficult and expensive, which seriously restricts the construction of power grids. The transmission medium of wireless communication is an open physical space, and there are still threats to information security such as eavesdropping, counterfeiting and tampering.

[0003] With the improvement of the intelligence level of substations, smart substations have added many smart control cabinets placed next to primary equipment compared to traditional substations to realize functions such as information collection, measurement, control, protection, metering and monitoring. The working performance of the electronic devices in the smart control cabinet is extremely sensitive to changes in factors such as temperature and humidity inside the smart control cabinet. Therefore, it is of great significance to effectively monitor and adjust the substation smart control cabinet through the smart control cabinet environmental monitoring system to encrypt the wireless transmission data process, which is of great significance to ensure the stability and security of the power grid.

[0004] It can be seen that how to effectively encrypt the information data transmitted by the substation intelligent control cabinet environment monitoring system has become a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention

[0005] The present invention provides a substation data encryption method based on environmental monitoring to solve the problem of how to encrypt information wirelessly transmitted by an intelligent control cabinet environmental monitoring system to ensure communication security and maintain reliable operation of the intelligent control cabinet environmental monitoring system.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a substation data encryption method based on environmental monitoring, which is applied to a slave device of a substation, including:

[0007] Obtaining complete status data of the environmental monitoring of the substation in real time;

[0008] Obtaining a first initial key through a built-in first initial key material, encrypting the complete state data of the environmental monitoring according to the first initial key to obtain a first ciphertext, and sending the first ciphertext to the master station device;

[0009] When entering the slave encapsulation mode, extracting a time parameter and an environmental state parameter from the complete state data of the environmental monitoring in real time, and encapsulating the time parameter and the environmental state parameter to obtain a first dynamic key material;

[0010] Based on the first dynamic key material, obtaining a first dynamic key;

[0011] Receive the second ciphertext sent by the master station device, and decrypt the second ciphertext with the first dynamic key.

[0012] Furthermore, the real-time acquisition of complete status data of the environmental monitoring of the substation and sending it to the master station device includes:

[0013] The slave station equipment collects the complete status data of the environmental monitoring from the primary equipment of the substation.

[0014] Furthermore, the first initial key is obtained through the built-in first initial key material, and the environment monitoring complete state data is encrypted according to the first initial key to obtain a first ciphertext, including:

[0015] The slave device derives a first initial key from the first initial key material through a key derivation function;

[0016] The slave device encrypts the complete state data of the environmental monitoring using a symmetric block encryption algorithm and the first initial key to obtain a first ciphertext.

[0017] Further, the obtaining of the first dynamic key based on the first dynamic key material further includes:

[0018] The slave station device derives the first dynamic key from the first dynamic key material through the key derivation function, and updates the key.

[0019] Furthermore, it also includes:

[0020] When the slave station device completes decryption of the first ciphertext, the first slave station encapsulation mode ends;

[0021] The slave station encapsulation mode is repeated until the communication between the slave station device and the master station device is completed.

[0022] Another embodiment of the present invention provides a substation data encryption method based on environmental monitoring, which is applied to a master station device of a substation, including:

[0023] Obtaining a second initial key through a built-in second initial key material;

[0024] receiving a first ciphertext sent by a slave device, decrypting the first ciphertext using the second initial key, and obtaining the complete state data of the environment monitoring;

[0025] When entering the master station encapsulation mode, extracting time parameters and environmental status parameters from the complete environmental monitoring status data in real time, and encapsulating the time parameters and the environmental status parameters to obtain a second dynamic key material;

[0026] Obtaining a second dynamic key through the second dynamic key material;

[0027] The environmental monitoring and control data of the substation is acquired in real time, the environmental monitoring and control data is encrypted by the second dynamic key to obtain a second ciphertext, and the second ciphertext is sent to the slave station device.

[0028] Furthermore, the environmental state parameters include: temperature data, humidity data and wind speed data.

[0029] Another embodiment of the present invention provides a transmission system, including:

[0030] The system includes a master station device, a slave station device and a primary device:

[0031] The slave station device is used to implement the substation data encryption method based on environmental monitoring as described in the above embodiment; the master station device is used to implement the substation data encryption method based on environmental monitoring as described in another embodiment.

[0032] Another embodiment of the present invention provides a computer device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the substation data encryption method based on environmental monitoring as described above is implemented.

[0033] Yet another embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the substation data encryption method based on environmental monitoring as described above is implemented.

[0034] Compared with the prior art, the embodiments of the present invention have the following advantages:

[0035] (1) By monitoring the environmental status, collecting environmental status parameters and time parameters and encapsulating the dynamic key material, the derived dynamic key is ensured to be highly random and unpredictable by taking advantage of the fact that the temperature, humidity and wind speed of the environment will continue to change and have strong randomness;

[0036] (2) Symmetric encryption is performed on environmental status data and control data. The key derivation function is used to operate on the dynamic key material, and the output value is used as the dynamic key, which ensures the security, certainty, scalability and robustness of the dynamic key. Symmetric encryption of the status data and control data of the environmental monitoring system of the substation intelligent control cabinet can reduce the amount of calculation, improve the speed of encryption and decryption, and ensure transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a schematic flow chart of a method for encrypting substation data based on environmental monitoring in one embodiment of the present invention;

[0038] Figure 2 is a schematic flow chart of a method for encrypting substation data based on environmental monitoring in another embodiment of the present invention;

[0039] Figure 3 is a schematic diagram of the information interaction structure between the master station device and the slave station device in another embodiment of the present invention;

[0040] Figure 4 is a structural block diagram of a transmission system in one embodiment of the present invention;

[0041] Figure 5 This is a block diagram of a computer device structure in one embodiment of the present invention: DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. 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.

[0043] In the description of this application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0044] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. The terms "vertical", "horizontal", "left", "right", "upper", "lower" and similar expressions used herein are only for illustrative purposes, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0045] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.

[0046] The present invention takes into account that a large number of electronic devices are integrated in the intelligent control cabinet of the substation. These devices have extremely high requirements for the working environment, and are particularly sensitive to temperature and humidity. Inappropriate environmental conditions will not only shorten the life of the equipment, but may also cause malfunction or refusal to operate, and even cause equipment damage and power grid accidents. Therefore, real-time monitoring and adjustment of the environment inside the cabinet through the intelligent control cabinet environmental monitoring system is of great significance for ensuring the stability and security of the power grid, and the application of wireless communication encryption methods can further enhance the information security level of the system. With this in mind, an embodiment of the present invention provides a substation data encryption method based on environmental monitoring. For details, please refer to Figure 1 , Figure 1 The figure shows a schematic flow chart of a method for encrypting substation data based on environmental monitoring in one embodiment of the present invention, which includes the following steps:

[0047] S11. Acquire complete status data of the environmental monitoring of the substation in real time.

[0048] Specifically, in this embodiment, the slave station equipment collects the complete status data of the environmental monitoring from the primary equipment of the substation, thereby obtaining the complete status data of the environmental monitoring, including complete status data such as temperature, humidity, air quality, and equipment status.

[0049] S12, obtaining a first initial key through a built-in first initial key material, encrypting the complete state data of the environmental monitoring according to the first initial key to obtain a first ciphertext, and sending the first ciphertext to the master station device. Specifically:

[0050] First, the slave station device derives a first initial key from the first initial key material through a key derivation function; this key is usually longer and more complex than the initial key material, and has better randomness and anti-cracking capabilities.

[0051] The system uses the built-in first initial key material to generate the first initial key. This key material may be pre-stored in a secure, tamper-proof area of ​​the system. In this embodiment, a key derivation function is selected to obtain the initial key. The key derivation function (KDF) is a function used to derive a key or key material from one or more inputs. It can generate a more powerful key from a password provided by the user or some additional parameters during data transmission to enhance data security.

[0052] Preferably, the key derivation function can be selected as a SHA-256 hash function, and the first initial key is a 256-bit hash value output after the SHA-256 hash function operates on the first initial key material.

[0053] Secondly, the slave station device encrypts the complete state data of the environmental monitoring using a symmetric block encryption algorithm and the first initial key to obtain a first ciphertext.

[0054] In this embodiment, the slave device selects a symmetric block cipher algorithm (such as AES, DES, 3DES, etc.) to encrypt data. The characteristic of the symmetric cipher algorithm is that the same key is used for encryption and decryption. The first initial key is used as the encryption key, and the selected symmetric block cipher algorithm is applied to encrypt the complete state data of the environmental monitoring.

[0055] The encryption process will involve splitting the data into fixed-size blocks (for block cipher algorithms) and applying the encryption algorithm to each block. The encrypted data is the first ciphertext. This ciphertext is an encrypted version of the original data and can only be restored to the original data if you have the corresponding decryption key.

[0056] Finally, the first ciphertext is sent to the master station device. During the sending process, the ciphertext may need further protection, such as using the TLS / SSL protocol to ensure security during the transmission process.

[0057] Through the above steps, the embodiment of the present invention enables the slave station device to effectively protect the security of the complete status data of the environment monitoring, and ensure that the data is not accessed or tampered by unauthorized users during the process of being transmitted to the master station device.

[0058] S13~S14, when entering the slave station encapsulation mode, extracting time parameters and environmental status parameters from the complete status data of the environmental monitoring in real time, and encapsulating the time parameters and the environmental status parameters to obtain a first dynamic key material; based on the first dynamic key material, obtaining a first dynamic key.

[0059] When the system enters slave encapsulation mode, it extracts specific time parameters and environmental status parameters from the real-time collected environmental monitoring complete status data, and uses these parameters to generate dynamic key materials, thereby deriving dynamic keys. This practice enhances the security of the system because dynamic keys are generated based on real-time changing data and are therefore difficult to predict and copy.

[0060] In this embodiment, preferably, a hash function is used to operate on the encapsulated first dynamic key material to obtain the first dynamic key. The characteristics of the hash function can ensure that the dynamic key has security, determinism, scalability and robustness. Even if an eavesdropper exhaustively enumerates the dynamic key of the current ciphertext, he cannot reversely obtain the dynamic key material through the dynamic key, and also cannot obtain the relationship between the dynamic key and the ciphertext.

[0061] It can be understood that the embodiment of the present invention utilizes the environmental monitoring data of the environmental monitoring system of the substation intelligent control cabinet to encapsulate the current time and environmental status parameters to obtain dynamic key materials. Since the temperature, humidity and wind speed of the environment are continuously changing, the dynamic key material is a true random number based on the randomness of the physical process. In theory, it is also difficult to predict the next random number, ensuring that the derived dynamic key is highly random and unpredictable.

[0062] Furthermore, the slave station device derives the first dynamic key from the first dynamic key material through the key derivation function, and updates the key.

[0063] In order to maintain the security of the system, regular updating of keys is very important, because using the same key for a long time may increase the risk of being cracked. The first dynamic key material generated using environmental and time parameters is unique because it is based on real-time data.

[0064] In this embodiment, a key update policy can be set. Preferably, this policy can be based on time, for example, updating the key once every hour, day or week, based on events, for example, updating the key when abnormal activity is detected or the system is restarted, or based on the number of times the key is used, for example, updating the key after each encryption / decryption of a certain amount of data. According to the set policy, the slave device updates the current first dynamic key.

[0065] S15. Receive a second ciphertext sent by the master station device, and decrypt the second ciphertext using the first dynamic key.

[0066] In this embodiment, the second ciphertext here is sent by the master device after encrypting the transmitted data. The transmitted data is the control data of the environmental monitoring system, and the slave device uses the first dynamic key derived from the first dynamic key material to decrypt the second ciphertext to restore the original data transmitted by the master device.

[0067] Preferably, after decrypting the data, the slave device can further verify the integrity and authenticity of the data. This is usually achieved by checking the hash value, message authentication code (MAC) or other integrity verification mechanism of the data. If the data is tampered with during transmission, these verification mechanisms will be able to detect it and allow the slave device to take appropriate security measures (such as discarding data, issuing an alarm, etc.).

[0068] Furthermore, since the slave device encapsulates the time data and the environmental status data of the complete environmental monitoring status data and decrypts the second ciphertext sent by the master device when entering the first encapsulation mode, in this embodiment, the initial key, that is, the first initial key derived from the first initial key material, is used for only one round.

[0069] Due to the communication requirements of information transmission between the slave station and the master station, the slave station device may enter the encapsulation mode again. Therefore, in this embodiment, when the slave station device completes the decryption of the first ciphertext, the first slave station encapsulation mode is terminated; the slave station encapsulation mode is repeated until the communication between the slave station device and the master station device is completed.

[0070] Specifically, repeat the above steps, extract parameters from new environmental monitoring data, generate new dynamic key materials, and derive new dynamic keys. Use the new dynamic key to encrypt new data and send it to the master device, or decrypt encrypted data sent by the master device. This process will be repeated until the communication requirements between the slave device and the master device are met. The determination of the end of communication can be based on a variety of factors, such as the completion of all scheduled data transmissions, the reaching of a preset communication time limit, or the slave device or the master device actively initiating a communication end request. Once it is determined that the communication is over, the slave device and the master device will stop sending and receiving data and close the connection.

[0071] The embodiment of the present invention also provides another substation data encryption method based on environmental monitoring, which is applied to the master station equipment of the substation. For details, please refer to Figure 2 , Figure 2 The figure shows a flow chart of a method for encrypting substation data based on environmental monitoring in another embodiment of the present invention, which includes the following steps:

[0072] S21. Obtain a second initial key through a built-in second initial key material.

[0073] In fact, the master station device and the slave station device are built with the same initial key material. In this embodiment, the master station device derives a second initial key from the second initial key material through a key derivation function to decrypt the ciphertext.

[0074] S22, receiving a first ciphertext sent by a slave device, and decrypting the first ciphertext using the second initial key to obtain the complete state data of the environment monitoring;

[0075] The state data of environmental monitoring in this embodiment requires the slave device (computer or PLC) to collect, process, and encrypt the monitoring data of each sensor on all primary devices on site and send it to the master device (monitoring center). The master device is far away from the primary device and cannot directly obtain the complete state data of environmental monitoring from the sensor of the primary device. The master device decrypts the first ciphertext sent by the slave, recovers the complete state data of environmental monitoring, and also obtains the material for generating the next dynamic key, so as to continuously and dynamically update the key. The slave decrypts the ciphertext sent by the master, obtains the control instruction of the master, and can further send it to the primary device for execution.

[0076] S23~S24, when entering the master station encapsulation mode, extracting time parameters and environmental status parameters from the complete status data of the environmental monitoring in real time, and encapsulating the time parameters and the environmental status parameters to obtain a second dynamic key material; obtaining a second dynamic key through the second dynamic key material.

[0077] Specifically, the environmental state parameters include: temperature data, humidity data and wind speed data.

[0078] Time and state data will change constantly and are random, so it is difficult for the eavesdropper to accurately infer the state parameter value at each time point, and thus cannot accurately obtain the key material. This process is similar to the process of generating the first dynamic key material from the slave device, but occurs on the master device.

[0079] After the master station device decrypts and obtains the complete state data of the environmental monitoring, it extracts time parameters such as the current timestamp, date, and environmental state parameters such as temperature, humidity, and air pressure from these data, and then encapsulates the extracted time parameters and environmental state parameters. The encapsulation method can be to organize these parameters according to a certain format or structure to form a data packet or key material. Since the second dynamic key material is based on the environmental data collected in real time, the second dynamic key material has a strong randomness.

[0080] In this embodiment, the actual second dynamic key may be derived from the second dynamic key material through a key derivation function.

[0081] S25. Acquire the environmental monitoring and control data of the substation in real time, encrypt the environmental monitoring and control data by using the second dynamic key to obtain a second ciphertext, and send the second ciphertext to the slave station device.

[0082] Environmental monitoring and control data is an important source of information to ensure the safe and stable operation of the substation. It covers multiple aspects such as the operating status of electrical parameter equipment and security data, such as voltage, current, power and other data. The master station equipment monitors, analyzes and controls this data in real time, and encrypts it using a second dynamic key. In this embodiment, an encryption algorithm such as a symmetric block cipher algorithm can be selected to encrypt the control data.

[0083] Preferably, the second ciphertext obtained after encryption can be sent to the slave device through a network or other communication channels. During the sending process, it may be necessary to consider the integrity and authenticity verification of the data, such as using a message authentication code or digital signature to ensure the security of the communication channel and prevent the data from being intercepted or tampered with during transmission.

[0084] In this embodiment, the master station device needs to regularly update the second dynamic key to prevent security risks caused by long-term use of the same key. Similarly, the master station encapsulation mode is repeated to decrypt the new environmental monitoring complete status data, extract parameters, generate new dynamic key materials, and derive new dynamic keys. Use the new dynamic key to encrypt the new environmental monitoring control data and send it to the slave station device. For details, please refer to Figure 3 , Figure 3The figure shows a schematic diagram of the information interaction structure between the master station device and the slave station device in another embodiment of the present invention.

[0085] In summary, the present invention provides a substation data encryption method based on environmental monitoring, which is suitable for the environmental monitoring system of the substation intelligent control cabinet. It combines specific environmental status perception, key generation, key update, encryption and decryption methods, and symmetrically encrypts the status data and control data of the substation intelligent control cabinet environmental monitoring system, reduces the amount of calculation, and improves the speed of encryption and decryption, which can make the information transmission of the substation more secure and reliable.

[0086] An embodiment of the present invention provides a transmission system. For details, see Figure 4 , Figure 4 FIG. 1 is a block diagram of a transmission system in one embodiment of the present invention, wherein:

[0087] The system includes a master station device M1, a slave station device M2 and a primary device M3:

[0088] The slave station device and the master station device are used to implement the substation data encryption method based on environmental monitoring in the above embodiment.

[0089] It is worth noting that the master device does not directly communicate with the primary device in encrypted form, and does not directly obtain status data, because in that case the master station needs to communicate with multiple primary devices in encrypted form at the same time, which will result in very slow transmission speeds, and some sensors on the primary devices may not support wireless transmission, so the data of the primary devices must first be collected by the slave device, and then interact with the master device in a unified manner.

[0090] like Figure 5 As shown, the embodiment of the present invention further provides a computer device, Figure 5 A structural block diagram of a preferred embodiment of a computer device provided by the present invention, the computer device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor implements the substation data encryption method based on environmental monitoring as described above when executing the computer program.

[0091] Preferably, the computer program can be divided into one or more modules / units (such as computer program 1, computer program 2, ...), and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the computer device.

[0092] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor. The processor is the control center of the terminal device, and various parts of the terminal device are connected using various interfaces and lines.

[0093] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.

[0094] It should be noted that the above terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that Figure 5 The structural block diagram is only an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the figure, or combine certain components, or different components. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0095] Accordingly, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to perform the steps in the substation data encryption method based on environmental monitoring in the above embodiment, for example Figure 1Steps S1 to S5 described in .

[0096] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A substation data encryption method based on environmental monitoring, applied to a substation slave device, characterized in that: include: Obtaining complete status data of the environmental monitoring of the substation in real time; Obtain a first initial key through a built-in first initial key material, encrypt the complete state data of the environmental monitoring according to the first initial key to obtain a first ciphertext, and send the first ciphertext to the master station device; When entering the slave encapsulation mode, extracting a time parameter and an environmental state parameter from the complete state data of the environmental monitoring in real time, and encapsulating the time parameter and the environmental state parameter to obtain a first dynamic key material; Based on the first dynamic key material, obtaining a first dynamic key; Receive the second ciphertext sent by the master station device, and decrypt the second ciphertext with the first dynamic key.

2. The method for encrypting substation data based on environmental monitoring according to claim 1, characterized in that: The real-time acquisition of complete status data of the environmental monitoring of the substation and sending the data to the master station device includes: The slave station equipment collects the complete status data of the environmental monitoring from the primary equipment of the substation.

3. The method for encrypting substation data based on environmental monitoring according to claim 1, characterized in that: The first initial key is obtained through the built-in first initial key material, and the environment monitoring complete state data is encrypted according to the first initial key to obtain a first ciphertext, including: The slave device derives a first initial key from the first initial key material through a key derivation function; The slave device encrypts the complete state data of the environmental monitoring using a symmetric block encryption algorithm and the first initial key to obtain a first ciphertext.

4. The method for encrypting substation data based on environmental monitoring according to claim 1, characterized in that: The obtaining a first dynamic key based on the first dynamic key material further includes: The slave station device derives the first dynamic key from the first dynamic key material through the key derivation function, and updates the key.

5. The method for encrypting substation data based on environmental monitoring according to claim 1, characterized in that: Also includes: When the slave station device completes decryption of the first ciphertext, the first slave station encapsulation mode ends; The slave station encapsulation mode is repeated until the communication between the slave station device and the master station device is completed.

6. A substation data encryption method based on environmental monitoring, applied to the master station equipment of the substation, characterized in that: include: Obtaining a second initial key through a built-in second initial key material; receiving a first ciphertext sent by a slave device, decrypting the first ciphertext using the second initial key, and obtaining the complete state data of the environment monitoring; When entering the master station encapsulation mode, extracting time parameters and environmental status parameters from the complete environmental monitoring status data in real time, and encapsulating the time parameters and the environmental status parameters to obtain a second dynamic key material; Obtaining a second dynamic key through the second dynamic key material; The environmental monitoring and control data of the substation is acquired in real time, the environmental monitoring and control data is encrypted by the second dynamic key to obtain a second ciphertext, and the second ciphertext is sent to the slave station device.

7. The method for encrypting substation data based on environmental monitoring according to claim 1, characterized in that: The environmental state parameters include: temperature data, humidity data and wind speed data.

8. A transmission system, characterized in that: The system includes a master station device, a slave station device and a primary device: The slave station device is used to implement the substation data encryption method based on environmental monitoring as described in claims 2 to 5; the master station device is used to implement the substation data encryption method based on environmental monitoring as described in claims 6 to 7.

9. A computer device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the method for encrypting substation data based on environmental monitoring as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the device where the computer-readable storage medium is located executes the computer program, the substation data encryption method based on environmental monitoring as described in any one of claims 1 to 7 is implemented.