A power data security transmission method and system based on coding reconstruction

CN122824512APending Publication Date: 2026-09-25GUANGZHOU UNIPOWER COMP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611297263.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-09-25

AI Technical Summary

Technical Problem

[0006]为解决上述采集端到安全芯片的电力相关数据传输过程存在不安全的技术问题,本发明公开了一种基于编码重构的电力数据安全传输方法及系统

Benefits of technology

(1)本发明方法通过非标准进制编码和数据切片分流,破坏了数据的统计规律性。即使攻击者截获部分数据包,由于缺乏进制转换映射表,也无法还原原始电力数据。因此,本发明方法具有较高的抗破解能力和安全性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122824512A_ABST
    Figure CN122824512A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of power information security, in particular to a power data security transmission method and system based on coding reconstruction. The method comprises the following steps: firstly, in response to the communication connection of a data acquisition end and a data security receiving end and the passing of legal permission verification, basic configuration information of the data security receiving end is read; secondly, a data recognition mechanism in the basic configuration information is configured; thirdly, in response to the definition completion of the data recognition mechanism, initial power data is collected; fourthly, the initial power data is coded and reconstructed according to a preset data coding mechanism, and reconstructed coding is obtained; fifthly, the reconstructed coding is framed and encrypted according to a data coding recognition mechanism and a built-in encryption algorithm, and encrypted data is obtained; and finally, the encrypted data is safely output. Compared with the prior art, the method has higher anti-cracking capability and security, and is particularly suitable for the data transmission section from the data acquisition end to the data security receiving end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power information security technology. More specifically, this invention relates to a method and system for secure transmission of power data based on code reconstruction. Background Technology

[0002] A smart grid is a new type of power network that integrates smart meter technology and telemetry technology for remote transmission of power / power equipment-related data. Compared with traditional on-site meter reading and observation, it has stronger data collection and analysis capabilities. However, its data transmission link is relatively open, leading to a certain risk of remote interception of power and power equipment-related data. Based on this, existing technologies have proposed information encryption strategies based on SSL / TLS or IPSec protocols. These strategies, in addition to using SSL / TLS or IPSec protocols for static data encryption, also incorporate a CRC check mechanism to achieve secure transmission of power and power equipment-related data.

[0003] However, the above method still has shortcomings, specifically:

[0004] First, while the aforementioned SSL / TLS or IPSec protocols provide channel encryption, their encryption algorithms and keys are typically fixed. Once the key is cracked or the chip is physically extracted, attackers can decrypt all transmitted data for an extended period. Second, conventional CRC checks can only detect occasional transmission errors and cannot defend against malicious data injection or replay attacks. Third, existing technical solutions primarily focus on network layer encryption, neglecting the risk of plaintext data exposure along the short transmission path (such as the SPI / I2C bus) between the acquisition end and the security chip, making it vulnerable to data theft via probes or electromagnetic induction.

[0005] In summary, existing technologies have security vulnerabilities in the power-related data transmission process from the acquisition terminal to the security chip. Summary of the Invention

[0006] To address the insecurity issues in the power-related data transmission process from the acquisition terminal to the security chip, this invention discloses a power data security transmission method and system based on encoding reconstruction.

[0007] In a first aspect, the present invention discloses a method for secure transmission of power data based on code reconstruction, comprising: S10: In response to the successful verification of the communication connection and legitimate permissions between the data acquisition end and the data security receiving end, read the basic configuration information of the data security receiving end; S20: Configure the data identification mechanism in the basic configuration information; S30: In response to the completion of the data identification mechanism definition, initial power data is collected; S40: Encode and reconstruct the initial power data according to the preset data encoding mechanism to obtain the reconstructed code; S50: Based on the data encoding and recognition mechanism and the built-in encryption algorithm, the reconstructed encoding is framed and encrypted to obtain encrypted data; S60: Securely output encrypted data.

[0008] Beneficial effects: During the data communication process between the data acquisition end and the data security receiving end, the initial power data is first encoded and reconstructed to directly reconstruct the statistical patterns of the initial power data. Since the data interceptor lacks a data encoding and identification mechanism, it cannot directly obtain useful data or restore the data from the reconstructed encoding. This method effectively solves the technical problem of insecurity in the transmission of power-related data from the acquisition end to the data security receiving end.

[0009] Preferably, the basic configuration information includes a unique hardware identifier, a list of encryption algorithms, key information, a number system conversion mapping table, a registered device ID, frame definition configuration, and a data identification mechanism.

[0010] Preferably, the data recognition mechanism is configured as follows: Verify the validity of the data acquisition terminal's ID based on the registered device ID; In response to the successful validity verification, multiple reconstructed codes within the target period are received; Based on the number system conversion mapping table and the frame definition configuration, the reconstructed data is restored and framed to obtain framed data. Based on the format type of the framed data, a suitable encryption algorithm is retrieved from the encryption algorithm list to support the encryption of the framed data.

[0011] Beneficial Effects: The aforementioned data identification mechanism first establishes a reliable underlying access barrier through pre-verification based on the registered device ID, effectively blocking malicious access and data pollution by unauthorized impersonating nodes, thus ensuring the trustworthiness of the data source. Then, by receiving and reconstructing the encoding, combined with number system conversion mapping and frame configuration for restoration, it breaks down data barriers between multi-source heterogeneous terminals, efficiently integrating fragmented and non-standardized underlying messages into unified and standardized framed data, improving the parsing efficiency of the method for massive amounts of power data. Finally, an adaptive encryption strategy based on format selection is introduced, dynamically allocating the optimal encryption algorithm according to the frame type, avoiding the waste of computing power and communication delays caused by traditional "one-size-fits-all" full-data-heavy encryption, achieving a balance between the security level and underlying operating performance of the power communication system, and enhancing the robustness and agile response capability of power network data interaction.

[0012] Preferably, step S50, which involves framing and encrypting the reconstructed code, includes: Perform integrity verification on the framed data; If the integrity check passes, the corresponding encryption algorithm is invoked to encrypt and encapsulate the framed data, resulting in encrypted data.

[0013] Preferably, the frame data includes at least a synchronization header, device ID, slice index, encoded data, and check bit.

[0014] Preferably, the data encoding mechanism is configured as follows: Based on the number system conversion mapping table, the initial power data within the same time window are reconstructed by number system encoding to obtain the reconstructed encoding; The reconstructed code is sliced ​​and distributed to the corresponding data channels for transmission.

[0015] Preferably, after configuring the data identification mechanism in the basic configuration information, the method of the present invention further includes: Based on the key information, generate the burning lock key; Send a burning lock command to the data security receiver.

[0016] Preferably, it is used for the data transmission segment from the acquisition end to the data security receiving end.

[0017] Secondly, the present invention also discloses a power data security transmission system based on code reconstruction, used to implement the power data security transmission method based on code reconstruction described in the first aspect. The system of the present invention includes a configuration management module, a data acquisition terminal, a security coding module, and a data security receiving terminal. The configuration management module is used to read the basic configuration information of the data security receiver in response to the successful communication connection and legal permission verification between the data acquisition end and the data security receiver; it is also used to configure the data identification mechanism in the basic configuration information. The data acquisition terminal is used to collect initial power data in response to the completion of the data identification mechanism definition; The security coding module is used to reconstruct the initial power data according to a preset data coding mechanism to obtain the reconstructed code; The data security receiver is used to frame and encrypt the reconstructed code according to the data encoding and identification mechanism and the built-in encryption algorithm to obtain encrypted data; it is also used to securely output the encrypted data.

[0018] Preferably, the data acquisition terminal also includes an analog-to-digital conversion unit, which is used to convert analog acquisition quantities in the target power grid into digital acquisition quantities; the digital acquisition quantities serve as initial power data.

[0019] The advantages of this invention, which differ from existing technologies, are as follows: (1) The method of the present invention disrupts the statistical regularity of data by using non-standard base encoding and data slicing. Even if an attacker intercepts part of the data packets, the original power data cannot be restored due to the lack of a base conversion mapping table. Therefore, the method of the present invention has high anti-cracking capability and security.

[0020] (2) The method of the present invention can be configured to be bound to the data security receiving end, and the encoding mechanism of different batches or different devices can be dynamically changed, which increases the cost of attack.

[0021] (3) The method of the present invention can effectively protect the data security on short-distance buses and prevent physical side-channel attacks. Attached Figure Description

[0022] The above and other objects, features, and advantages of exemplary embodiments of the present invention will become readily apparent upon reading the following detailed description with reference to the accompanying drawings. In the drawings, several embodiments of the invention are illustrated by way of example and not limitation, and like or corresponding reference numerals denote like or corresponding parts, wherein: Figure 1 This is a flowchart of the secure power data transmission method based on encoding reconstruction in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of framed data in Embodiment 1 of the present invention; Figure 3 This is a schematic diagram of the power data security transmission system based on encoding reconstruction in Embodiment 3 of the present invention. Detailed Implementation

[0023] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0025] Example 1 like Figure 1 As shown, this embodiment discloses a method for secure transmission of power data based on code reconstruction, mainly used for the data transmission segment from the acquisition end to the secure data receiving end. Specifically, the method of this embodiment includes: S10: In response to the successful verification of the communication connection and legitimate permissions between the data acquisition end and the data security receiving end, read the basic configuration information of the data security receiving end.

[0026] In this embodiment, the data acquisition terminal can be a smart meter, remote sensing monitoring device, DTU (station terminal unit), or FTU (feeder terminal unit), which can collect initial power data through sensors. This initial power data includes voltage data, current data, power factor, and power switch / closing status. The data security receiving terminal refers to a data receiving and routing device supplied by the power operator, containing a security chip.

[0027] The basic configuration information includes a unique hardware identifier, a list of encryption algorithms, key information, a number system conversion mapping table, a registered device ID, frame definition configuration, and a data identification mechanism.

[0028] It should be explained that the hardware unique identifier refers to the unique ID of the data security receiver. The encryption algorithm list records the data encryption types or formats supported by the data security receiver. The number system conversion mapping table is selected based on the data encryption types or formats supported by the data security receiver; it can be a binary-to-ternary conversion mapping table, a binary-to-pental conversion mapping table, or a conversion mapping table for higher number systems. The frame definition configuration is mainly selected based on the data encryption types or formats supported by the data security receiver; different data security receivers may support different numbers of bits in the framed data they can receive. As for the aforementioned data identification mechanism, in the initial stage, it is part of the content to be filled into the script execution.

[0029] It should be noted that during the initial accessibility testing, legal authorization verification and relevant electronic information registration / application with the power operator are required. Only after successful verification and completion of the registration / application procedures can access be granted to the data security receiving terminal for information configuration. Personnel performing configuration work must adhere to relevant confidentiality clauses.

[0030] S20: Configure the data identification mechanism in the basic configuration information.

[0031] Specifically, the aforementioned data identification mechanism is configured as follows: S201: Verify the validity of the data acquisition terminal's ID based on the registered device ID.

[0032] In this embodiment, by pre-configuring the execution script of step S201, when the data acquisition end communicates with the data security receiving end, it is first identified whether the unique ID of the data acquisition end is consistent with the registered device ID. If so, the legality verification is passed; if not, an illegal access alarm is triggered and pushed to the monitoring interaction end.

[0033] S202: In response to the successful validity verification, receive multiple reconstructed codes within the target period.

[0034] Preferably, while reducing the computational load of the data security receiver, the data processing response requirements of the target power system should also be taken into account. The target period is preferably set to 10ms-20ms, that is, every certain period of time, multiple reconstructed codes after fragmentation and diversion processing are received.

[0035] S203: Based on the number system conversion mapping table and the frame definition configuration, restore and frame the reconstructed data to obtain framed data.

[0036] For example, taking the binary to ternary conversion mapping table as an example, its base conversion mapping table is shown in Table 1: Table 1

[0037] Step S203 described above reverses the reconstruction of the ternary format data to obtain the reconstructed segments, and then frames the reconstructed segments according to the frame definition configuration.

[0038] S204: Based on the format type of the framed data, retrieve the appropriate encryption algorithm from the encryption algorithm list to support the encryption of the framed data.

[0039] In this embodiment, the encryption algorithm list includes SM2, SM3, SM4, or other national cryptographic algorithms. These encryption algorithms are publicly available technologies, but different algorithms may have different frame length requirements. Therefore, in this embodiment, the corresponding encryption algorithm needs to be determined according to the final framed data format type (generally the frame length) for subsequent data encapsulation processes to improve the compatibility of the method in this embodiment.

[0040] By following steps S201-S204 above, the secure configuration of the data identification mechanism can be achieved. It should be noted that after completing the above configuration, the following steps also need to be performed: First, generate a burning lock key based on the key information; then send a burning lock command to the data security receiving end.

[0041] Using the above technical solution, a corresponding burning lock command is generated by burning the lock key. After the data security receiver receives the burning lock command, its configuration information burning interface is locked. If decryption is required, relevant personnel from the power operation unit need to take the data security receiver back to the original factory for reset.

[0042] It is important to note that the above process requires joint confirmation from relevant personnel of the power operating unit. After configuration and confirmation, confirmation or electronic signature should be provided in the relevant electronic system. Secondary configuration of the data security receiving end is not permitted. This ensures the security, compliance, reliability, and traceability of the method described in this embodiment.

[0043] S30: In response to the completion of the data identification mechanism definition, initial power data is collected.

[0044] During the data acquisition phase, voltage data, current data, power factor, and power switch / closing status data are mainly collected through the aforementioned smart meters, remote sensing monitoring devices, DTUs, and FTUs.

[0045] S40: The initial power data is encoded and reconstructed according to the preset data encoding mechanism to obtain the reconstructed code.

[0046] Specifically, the above data encoding mechanism is configured as follows: S41: Based on the number system conversion mapping table, the initial power data within the same time window are reconstructed using number system encoding to obtain the reconstructed encoding.

[0047] S42: Slice the reconstructed code and distribute it to the corresponding data channel for transmission.

[0048] Specifically, after encoding and reconstructing the same set of initial power data (such as voltage or current at the same moment) by a number conversion mapping table, it is logically split according to the preset segmentation rules to generate multiple data sub-streams, and timestamps or sequence numbers are introduced to control the transmission of each sub-stream on different time slices or different physical channels.

[0049] S50: Based on the data encoding and recognition mechanism and the built-in encryption algorithm, the reconstructed encoding is framed and encrypted to obtain encrypted data.

[0050] In this embodiment, before framing, the sliced ​​data is restored according to the script execution content recorded in steps S201-S203. Combined with... Figure 2 As shown, the framed data includes at least a synchronization header, device ID, slice index, encoded data, and a check bit. The synchronization header is used for frame synchronization; the device ID identifies the data source; the slice index identifies which slice the current data belongs to; the encoded data is the initial power data segment after encoding and restoration; and the check bit serves as a checksum for integrity verification.

[0051] The aforementioned framing technique enables reliable and efficient recovery of fragmented data. Only the secure data receiving end can read and recover the fragmented data, preventing interception and identification via external physical means. Furthermore, the method in this embodiment is compatible with multiple national cryptographic algorithms, offering stronger compatibility and security compared to existing technologies.

[0052] Furthermore, after framing is completed, the method in this embodiment also includes: Perform integrity verification on the framed data; If the integrity check passes, the corresponding encryption algorithm is invoked to encrypt and encapsulate the framed data, resulting in encrypted data.

[0053] It should be explained that the above integrity verification mainly relies on SM3 digest verification using check bits. SM3 verifies data integrity by comparing the original checksum with a recalculated checksum based on the framed data (excluding the checksum). This method has stronger collision resistance than conventional CRC verification; data cannot pass integrity verification after being tampered with by an attacker. After the integrity verification passes, the framed data is re-encapsulated or signed using the internal key corresponding to the encryption algorithm.

[0054] S60: Securely output encrypted data.

[0055] In this embodiment, the aforementioned security output can be transmitted to the main station via a network bus, uploaded to an encrypted database via wireless technology, or directly stored in a local storage medium.

[0056] Through the above steps S10-S60, the method of this embodiment has at least the following technical advantages: First, it possesses high resistance to cracking. Specifically, the method in this embodiment disrupts the statistical regularity of the data through non-standard base encoding and data slicing. Even if an attacker intercepts part of the data packets, the original power data cannot be reconstructed due to the lack of a base conversion mapping table.

[0057] Secondly, it has good dynamic defense capabilities. Specifically, the encoding and recognition mechanism of the method in this embodiment are deeply bound to the data security receiving end. The adaptability of the encoding mechanism changes for different batches or different devices increases the attack cost for attackers.

[0058] Third, it can provide reliable guarantees for data transmission at the physical layer.

[0059] Fourth, it has stronger compatibility. The method in this embodiment can be deployed as middleware in existing power terminals without large-scale modifications to the underlying communication network.

[0060] Example 2 Based on Embodiment 1, this embodiment discloses a secure transmission of power data based on encoding reconstruction, mainly used in the application scenario of a distribution automation terminal (DTU) uploading fault waveform data to the master station.

[0061] Its specific automated execution process is as follows: 1. The DTU starts up and reads the configuration information of the built-in security chip. At this time, the number system conversion mapping table returned by the chip is a "binary-quinary mapping table", and the slice restoration mechanism is "to restore and reassemble the data sub-streams that are split into 3 pieces in the same channel according to the timestamp, and to perform the frame restoration and reassembly once every 10ms".

[0062] 2. In one acquisition cycle, the current data of phase A is 1250A, and its corresponding binary code is 0000010011100010.

[0063] 3. Based on the binary-to-quinary mapping table, convert the above binary code into a quinary symbol sequence.

[0064] 4. The quinary symbol sequence is split into 3 subsequences and sent to the security chip through the same channel.

[0065] 5. The first slice sequence is given a frame header “SYNC_A” and a slice identifier “1 / 3”, the second slice sequence is given “2 / 3”, and the third slice sequence is given “3 / 3” and a device ID.

[0066] 6. The security chip receives all slice sub-sequences, reassembles the data according to the above-mentioned slice restoration mechanism, verifies the legality of the device ID, signs it using the SM2 algorithm, and finally sends it to the secure storage medium for data storage via the 4G network.

[0067] Ultimately, after receiving the data, the main station decrypted it using the corresponding private key and reconstructed it using the same slicing mechanism, successfully restoring the current data. The data intercepted by the intermediate nodes was merely a discrete, seemingly random stream of 5-ary symbols, which the interceptor could not parse into a valid, real current value. Of course, to increase the difficulty of cracking, the number system mapping table or slicing mechanism could be made even more complex.

[0068] Example 3 like Figure 3 As shown, this embodiment discloses a power data security transmission system based on code reconstruction, which is used to implement the power data security transmission method based on code reconstruction described in Embodiment 1. The system of the present invention includes a configuration management module, a data acquisition terminal, a security coding module, and a data security receiving terminal.

[0069] The configuration management module is used to read the basic configuration information of the data security receiver in response to the successful communication connection and legal permission verification between the data acquisition end and the data security receiver; it is also used to configure the data identification mechanism in the basic configuration information.

[0070] The data acquisition terminal is used to collect initial power data in response to the completion of the data identification mechanism definition.

[0071] The security coding module is used to encode and reconstruct the initial power data according to a preset data coding mechanism to obtain the reconstructed code.

[0072] The data security receiver is used to frame and encrypt the reconstructed code according to the data encoding and identification mechanism and the built-in encryption algorithm to obtain encrypted data; it is also used to securely output the encrypted data.

[0073] Preferably, the data acquisition terminal also includes an analog-to-digital conversion unit, which is used to convert analog acquisition quantities in the target power grid into digital acquisition quantities; the digital acquisition quantities serve as initial power data.

[0074] The system in this embodiment also includes other components well known to those skilled in the art, such as communication interfaces. Their settings and functions are known in the art, and therefore will not be described in detail here.

[0075] In the description of this specification, "multiple" means at least two, such as two, three or more, etc., unless otherwise expressly and specifically defined.

[0076] While this specification has shown and described numerous embodiments of the invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Many modifications, alterations, and alternatives will occur to those skilled in the art without departing from the spirit and essence of the invention. It should be understood that various alternatives to the embodiments of the invention described herein may be employed in the practice of this invention.

Claims

1. A method for secure transmission of power data based on code reconstruction, characterized in that, include: S10: In response to the successful verification of the communication connection and legitimate permissions between the data acquisition end and the data security receiving end, read the basic configuration information of the data security receiving end; S20: Configure the data identification mechanism in the basic configuration information; S30: In response to the completion of the definition of the data identification mechanism, initial power data is collected; S40: The initial power data is encoded and reconstructed according to a preset data encoding mechanism to obtain the reconstructed encoding; S50: Based on the data encoding and recognition mechanism and the built-in encryption algorithm, the reconstructed encoding is framed and encrypted to obtain encrypted data; S60: Securely output the encrypted data.

2. The method for secure transmission of power data based on code reconstruction according to claim 1, characterized in that, The basic configuration information includes a unique hardware identifier, a list of encryption algorithms, key information, a number system conversion mapping table, a registered device ID, a frame definition configuration, and the data identification mechanism.

3. The method for secure transmission of power data based on code reconstruction according to claim 2, characterized in that, The data identification mechanism is configured as follows: Verify the validity of the data acquisition terminal's ID based on the registered device ID; In response to the successful validity verification, multiple reconstructed codes within the target period are received; Based on the number system conversion mapping table and the frame definition configuration, the reconstructed encoding is restored and framed to obtain framed data; Based on the format type of the framed data, a suitable encryption algorithm is retrieved from the encryption algorithm list to support the encryption of the framed data.

4. The method for secure transmission of power data based on code reconstruction according to claim 3, characterized in that, Step S50, which involves framing and encrypting the reconstructed encoding, includes: The integrity of the framed data is verified. If the integrity verification passes, the corresponding encryption algorithm is invoked to encrypt and encapsulate the frame data to obtain the encrypted data.

5. The method for secure transmission of power data based on code reconstruction according to claim 3, characterized in that, The frame data includes at least a synchronization header, device ID, slice index, encoded data, and check bit.

6. The method for secure transmission of power data based on code reconstruction according to claim 2, characterized in that, The data encoding mechanism is configured as follows: Based on the number system conversion mapping table, the initial power data within the same time window are reconstructed using number system encoding to obtain the reconstructed encoding; The reconstructed code is sliced ​​and distributed to the corresponding data channels for transmission.

7. The method for secure transmission of power data based on code reconstruction according to claim 2, characterized in that, After configuring the data identification mechanism in the basic configuration information, the method further includes: Based on the key information, a burning lock key is generated; Send a burning lock command to the data security receiving end.

8. The method for secure transmission of power data based on code reconstruction according to claim 1, characterized in that, The data transmission segment used from the acquisition end to the secure data receiving end.

9. A secure power data transmission system based on code reconstruction, characterized in that, The system is used to implement the secure power data transmission method based on code reconstruction as described in any one of claims 1-8, the system comprising a configuration management module, a data acquisition terminal, a secure coding module, and a secure data receiving terminal; The configuration management module is used to read the basic configuration information of the data security receiver in response to the successful communication connection and legal permission verification between the data acquisition end and the data security receiver; it is also used to configure the data identification mechanism in the basic configuration information. The data acquisition terminal is used to acquire initial power data in response to the completion of the definition of the data identification mechanism; The security coding module is used to encode and reconstruct the initial power data according to a preset data coding mechanism to obtain the reconstructed code; The data security receiver is used to frame and encrypt the reconstructed code according to the data encoding and identification mechanism and the built-in encryption algorithm to obtain encrypted data; it is also used to securely output the encrypted data.

10. The power data secure transmission system based on code reconstruction according to claim 9, characterized in that, The data acquisition terminal also includes an analog-to-digital conversion unit, which is used to convert analog acquisition quantities in the target power grid into digital acquisition quantities; the digital acquisition quantities serve as the initial power data.