A power data transmission encryption method
By employing hierarchical encryption, data slicing, and hybridization mechanisms, the problem of data not being protected in existing quantum encryption schemes has been solved. This achieves a defense effect of breaking one encryption key without gaining complete protection, as well as dynamic mapping protection, thereby improving the security and reliability of power data transmission.
Patent Information
- Application Number
- CN202611330590.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2046-08-31
AI Technical Summary
Existing quantum encrypted data transmission schemes fail to break down data into independent secure units for differentiated protection, lack domain isolation and piecewise protection, and the static mapping relationship between a single key and data is easily analyzed by attackers, resulting in insufficient overall security.
It employs three mechanisms: hierarchical encryption, data slicing, and hashing. By dividing power data into multiple security levels, cutting it into multiple fragments according to the level, and using a hash array for encryption, pseudo-fragment insertion, multi-path transmission, and dynamic updating of key mapping relationships, it achieves this.
It achieves defense in depth, making it difficult for attackers to decrypt complete information, weakening the effectiveness of traffic analysis attacks, and also slices and shuffles low-level data, thereby improving the overall security and reliability of data transmission.
Smart Images

Figure CN122845299B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data transmission technology, and in particular to a method for encrypting power data transmission. Background Technology
[0002] With the acceleration of informatization and digitalization, data transmission faces increasingly severe security threats, especially in highly sensitive areas such as power systems, where data transmission security is directly related to the operational security of critical infrastructure. In recent years, quantum key distribution technology, based on the unconditional security provided by the no-cloning theorem and the measurement collapse principle of quantum mechanics, has been regarded as a revolutionary solution for next-generation communication security and has already seen initial deployment and application.
[0003] However, existing quantum encrypted data transmission schemes still reveal several technical flaws: First, current quantum encryption schemes follow the traditional holistic encryption approach, that is, encrypting the entire data packet payload once using a session key. In this mode, once an attacker obtains the session key through means such as channel attacks, they can decrypt all payload data in batches, causing the security system to collapse instantly. The fundamental reason for this is the failure to break down the data into independent security units for differentiated protection, lacking the ability for domain isolation and piece-by-piece protection.
[0004] Secondly, a static, one-to-one mapping exists between a single key and a single complete piece of data. This mapping is clear, allowing attackers to establish a correlation through long-term passive monitoring and analysis of network traffic, thus enabling them to launch attacks. Even if the quantum key itself cannot be cracked, attackers can still infer the business types, communication frequencies, and even data sensitivity of the communicating parties based on correlation analysis, posing a serious risk of information exposure.
[0005] Finally, existing tiered security schemes generally adopt a compromise strategy of using quantum encryption for high-level services and classical encryption or plaintext transmission for low-level services. This strategy has serious security vulnerabilities: attackers can first break through the communication channel with the lowest protection level, using it as a springboard to carry out lateral movement and ultimately complete the attack on high-level core content. This compromise strategy makes the overall security strength determined by the weakest link, and the security advantages of quantum encryption for high-level services are offset by the vulnerability of low-level channels.
[0006] In summary, existing quantum encryption transmission schemes have many obvious shortcomings. Therefore, there is an urgent need to build a balanced, multi-layered security protection system to fundamentally improve the overall security of data transmission. Summary of the Invention
[0007] Purpose of the Invention: The purpose of this invention is to provide a method for encrypting power data transmission, which solves many problems of existing quantum encryption data transmission schemes, such as the failure to segment data into independent security units for differentiated protection, and the lack of domain isolation and piece-by-piece protection. This invention combines and supports three mechanisms—hierarchical encryption, data slicing, and hybridization—to cope with different attack methods. The overall security of data transmission no longer depends on the protection of any single mechanism. Even if one layer of security defense is breached, the remaining mechanisms can still provide effective resistance, significantly improving the overall security strength.
[0008] Technical solution: This invention provides a method for encrypting power data transmission, the method comprising the following steps:
[0009] (1) Both the sending end and the receiving end are pre-set with the same hybrid array K, verification algorithm and N key pools, and then the N key pools are numbered in sequence; then the same configuration requirements are used to divide the power data into N security levels with decreasing security levels, and each security level corresponds to a set of key pools;
[0010] (2) The sending end obtains the security level of the power data to be transmitted, cuts the data packet of the power data to be transmitted into multiple original fragments according to a fixed size or dynamic size and numbers them, and then calculates the checksum of each original fragment through the local check algorithm; then, the multiple original fragments are encrypted based on the hybrid array K to obtain multiple ciphertext fragments.
[0011] (3) The sending end generates a pseudo fragment and randomly inserts the pseudo fragment between multiple ciphertext fragments; then constructs a data header for all fragments and attaches it before each fragment; then, the constructed fragments are transmitted to the receiving end, and the receiving end decrypts, restores and reassembles the received fragments to finally obtain the power data to be transmitted.
[0012] Furthermore, the cutting according to fixed or dynamic dimensions refers to:
[0013] The data packets of power data to be transmitted are cut into multiple original fragments according to a fixed cutting size; or, the data packets of power data to be transmitted are cut into multiple original fragments according to the cutting size corresponding to their security level.
[0014] As the safety level decreases sequentially, the cutting size corresponding to each safety level increases sequentially.
[0015] Furthermore, the hybrid array K is dynamically updated according to a preset fixed time or the count of encrypted / decrypted data packets, while the version number of the hybrid array K before the update is retained for a certain period of time.
[0016] Furthermore, the sending end and the receiving end are also provided with a hybrid array version record table, which is used to associate the hybrid array K and its corresponding version number and store them in the table.
[0017] Furthermore, the process of encrypting multiple original fragments based on the hybrid array K to obtain multiple ciphertext fragments refers to:
[0018] 1) The hybrid array K is an m-row m-column data structure. Multiple original slices are placed into the hybrid array K in sequence. Each row of the hybrid array K corresponds to one original slice, that is, an original slice is divided into m equal parts and placed into the m array elements corresponding to that row of the hybrid array K. The size of each array element is the length of the original slice / m.
[0019] 2) Detect the number of rows in the hybrid array K where the original fragments are placed and record it as row number x. Then, obtain m keys with a length of (original fragment length × x) / m from the key pool corresponding to the security level of the power data to be transmitted and record the key index idx1. Then, put the m keys with a length of (original fragment length × x) / m into the hybrid array K in sequence. Each column of the hybrid array K corresponds to a key with a length of (original fragment length × x) / m. That is, a key with a length of (original fragment length × x) / m is divided into x parts and put into the x array elements corresponding to that column of the hybrid array K. The key size corresponding to each array element is the original fragment length / m. The original fragment key index corresponding to the x rows is idx1.
[0020] 3) XOR the original fragment data and the key data in all array elements corresponding to x rows and m columns in the hybrid array K. Then, concatenate the XOR-encrypted data in the m array elements corresponding to each row of the hybrid array K to obtain the ciphertext fragment.
[0021] Furthermore, the number of pseudo-fragments accounts for 10% to 30% of the total number of ciphertext fragments.
[0022] Furthermore, the data header includes a data security level, a fragment sequence number, a key index, a fragment authenticity identifier, a version number of the hash array K, and a checksum corresponding to the fragment.
[0023] Furthermore, transmitting the constructed fragments to the receiving end means:
[0024] The constructed fragments corresponding to the data packets of power data to be transmitted are transmitted to the receiving end via multiple paths in parallel.
[0025] Furthermore, the receiving end's decryption, restoration, and reassembly of the received fragments refers to:
[0026] A1: After receiving the fragment, the receiving end first deletes the false fragment according to the fragment authenticity identifier in the data header, and then obtains the corresponding hash array K locally according to the version number of the hash array K. The hash array K is an m-row m-column data structure.
[0027] A2: Place the remaining ciphertext fragments (with headers removed) into the hash array K in the order of the fragment numbers in the headers. The number of rows into which the ciphertext fragments are placed is denoted as row number x. Each row of the hash array K corresponds to one ciphertext fragment, which is to divide a ciphertext fragment into m equal parts and place them into the m array elements corresponding to that row of the hash array K. The size of each array element is the length of the ciphertext fragment / m.
[0028] A3: Based on the key index idx1, obtain m keys of length (ciphertext fragment length × x) / m from the key pool corresponding to the data security level in the data header. Then, put the m keys of length (ciphertext fragment length × x) / m into the hybrid array K in order. Each column of the hybrid array K corresponds to a key of length (ciphertext fragment length × x) / m, that is, a key of length (ciphertext fragment length × x) / m is divided into x parts and put into the x array elements corresponding to that column of the hybrid array K. The key size corresponding to each array element is the ciphertext fragment length / m.
[0029] A4: XOR the ciphertext fragments in all array elements corresponding to x rows and m columns in the mixed array K with the key data to decrypt them. Then, concatenate the XOR-decrypted data in the m array elements corresponding to each row of the mixed array K to obtain the original fragments.
[0030] A5: The receiving end calculates the checksum of each original fragment obtained by splicing using a local verification algorithm, and compares it with the checksum corresponding to the fragment in the data header. If the comparison is successful, all the original fragments are combined in order of fragment number to finally obtain the power data to be transmitted.
[0031] Furthermore, the cutting size range corresponding to the security level is 128 bytes to 1024 bytes.
[0032] The beneficial effects of this invention are:
[0033] (1) This invention fundamentally changes the traditional overall encryption strategy through a collaborative mechanism of data slicing and hybridization. Each data packet is divided into multiple original fragments, and each original fragment is further divided by a hybridization array and then encrypted with different quantum keys. Under this architecture, even if an attacker obtains a quantum session key through channel attacks or other means, they can only decrypt a small portion of the data in a very small number of fragments and cannot piece together the complete information, thus achieving a defense-in-depth effect of breaking one key but not the whole key.
[0034] (2) This invention introduces a dynamic update mechanism for the hybrid array, so that the mapping relationship between the key and the data fragment is no longer fixed, but is randomly replaced according to a preset fixed time or the count of encryption and decryption data packets. Even for data of the same business type and data transmission between the same two communicating parties, completely different key-fragment association patterns will be presented in different time windows. Attackers cannot establish an association model through long-term traffic monitoring, and the effectiveness of traffic analysis attacks is greatly weakened; at the same time, the random injection of pseudo fragments further increases noise interference, effectively protecting the data security of both communicating parties.
[0035] (3) This invention changes the practice of low-level services having no security protection in the existing hierarchical scheme. Even if the power data is classified as the lowest security level service data, the data still undergoes fragmentation and hybridization during transmission, and is then encrypted using quantum keys. This means that even if an attacker successfully intercepts the lowest security level service data, it is fragmented ciphertext after being sliced and hybridized, which cannot restore the effective information, nor can it extract effective information that can be used to attack high-level core content. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a flowchart illustrating the method described in this application;
[0038] Figure 2 A schematic diagram of the mixed array K;
[0039] Figure 3 This is a schematic diagram illustrating the encryption of multiple original fragments based on the hybrid array K. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] Current quantum encrypted data transmission schemes follow the traditional holistic encryption approach, encrypting the entire data packet payload once using a session key. This allows attackers to easily decrypt all payload data in bulk once they obtain the session key through channel attacks, instantly collapsing the security system. They fail to segment data into independent security units for differentiated protection, lacking the ability for domain isolation and piecemeal protection. Furthermore, the transmission scheme presents a static, one-to-one mapping between a single key and a single complete data packet. Attackers can establish this correlation through long-term passive network traffic monitoring and analysis, enabling them to launch attacks. Finally, these schemes generally adopt a compromise strategy: using quantum encryption for high-level services and classical encryption or plaintext transmission for low-level services. This compromise results in the overall security strength being determined by the weakest link; the security advantages of quantum encryption for high-level services are offset by the vulnerability of low-level channels. Therefore, there is an urgent need to construct a balanced, multi-layered security protection system to fundamentally improve the overall security of data transmission.
[0042] In view of this, this embodiment proposes a method for encrypting power data transmission, such as... Figure 1 As shown, the method includes the following steps:
[0043] (1) First, both the sending and receiving ends are pre-set with the same hash array K, verification algorithm, and N key pools. Then, the N key pools are numbered sequentially. The hash array K is an m-row m-column data structure, such as... Figure 2 As shown; the verification algorithm can be a hash algorithm, checksum algorithm, etc.; then, using the same configuration requirements, the power data is divided into N security levels with decreasing security levels, and each security level corresponds to a key pool; for example, the power data is divided into four security levels A, B, C and D with decreasing security levels, and each level corresponds to a key pool. Since security level A is the highest, the randomness of the keys in its corresponding key pool should be the highest, that is, the strength of the quantum key should be the highest; correspondingly, security level D is the lowest, and the randomness of the keys in its corresponding key pool should be the lowest, that is, the strength of the quantum key should be the lowest; this ensures that the data of each security level is transmitted after encryption.
[0044] (2) The sending end obtains the security level of the power data to be transmitted, cuts the data packet of the power data to be transmitted into multiple original fragments according to a fixed size or dynamic size and numbers them, and then calculates the checksum of each original fragment through the local check algorithm;
[0045] Cutting data according to fixed or dynamic dimensions refers to: cutting the entire data packet of power data to be transmitted into multiple original fragments according to a fixed cutting size, such as cutting it into multiple original fragments with a fixed cutting size of 512 bytes; or cutting the data packet of power data to be transmitted into multiple original fragments according to the cutting size corresponding to its security level, with the cutting size corresponding to the security level increasing sequentially as the security level decreases. That is to say, for data of security level A, the cutting size is small (e.g., 128 bytes), which can increase the number of fragments and improve the data dispersion; while for data of security level D, the cutting size is large (e.g., 1024 bytes), which can reduce processing overhead. In this embodiment, the cutting size range corresponding to the security level can be 128 bytes to 1024 bytes.
[0046] Next, as Figure 3 As shown, multiple ciphertext fragments are obtained by encrypting multiple original fragments based on the hybrid array K. Specifically, this means:
[0047] 1) The hybrid array K is an m-row m-column data structure. Multiple original slices are placed into the hybrid array K in sequence. Each row of the hybrid array K corresponds to one original slice, that is, an original slice is divided into m equal parts and placed into the m array elements corresponding to that row of the hybrid array K. The size of each array element is the length of the original slice / m.
[0048] 2) Detect the number of rows in the hybrid array K containing the original fragments and record it as row number x. Then, obtain m keys of length (original fragment length × x) / m from the key pool corresponding to the security level of the power data to be transmitted and record the key index idx1. Then, put the m keys of length (original fragment length × x) / m into the hybrid array K in sequence. Each column of the hybrid array K corresponds to a key of length (original fragment length × x) / m, that is, a key of length (original fragment length × x) / m is divided into x parts and put into the x array elements corresponding to that column of the hybrid array K. The key size corresponding to each array element is the original fragment length / m. The original fragment key index corresponding to the x rows is idx1. When the number of rows in the hybrid array K is less than the number of original fragments, the above steps can be repeated to encrypt all original fragments.
[0049] 3) XOR the original fragment data and the key data in all array elements corresponding to x rows and m columns of the hash array K. Then, concatenate the XOR-encrypted data in the m array elements corresponding to each row of the hash array K to obtain the ciphertext fragment. It can be seen that for an original fragment, a single key is not used for encryption. Instead, multiple keys are used to encrypt different sub-segments of the original fragment, and then the encrypted sub-segments are concatenated in order. This achieves the following: a fragment is encrypted by multiple key hashing, one key serves a part of multiple fragments, and the mapping relationship changes dynamically with transmission.
[0050] This embodiment fundamentally changes the traditional overall encryption strategy by using a collaborative mechanism of data slicing and hashing. Each data packet is divided into multiple original fragments, each fragment is further divided by a hashing array, and then encrypted with different quantum keys. Under this architecture, even if an attacker obtains a quantum session key through channel attacks or other means, they can only decrypt a small portion of the data in a very small number of fragments, unable to piece together the complete information. This achieves a defense-in-depth effect of breaking only one key while gaining the entire key.
[0051] In this embodiment, the hybrid array K is dynamically updated according to a preset fixed time (e.g., 1 hour) or the count of encrypted / decrypted data packets (e.g., 100 data packets). Simultaneously, the version number of the hybrid array K before the update is retained for a certain period. This prevents situations where the hybrid array K is updated just as the data packet is being transmitted to the receiving end, making data decryption impossible. Correspondingly, to facilitate recording the version information of the hybrid array K, the sending and receiving ends can also set up a hybrid array version record table. This table is used to associate and store the hybrid array K and its corresponding version number, facilitating the lookup of the hybrid array.
[0052] This embodiment introduces a dynamic update mechanism for the hybrid array, so that the mapping relationship between the key and data fragments is no longer fixed, but randomly permuted according to a preset fixed time or the count of encryption and decryption data packets. Even for data of the same business type and data transmission between the same communicating parties, completely different key-fragment association patterns will be presented in different time windows. Attackers cannot establish an association model through long-term traffic monitoring, and the effectiveness of traffic analysis attacks is greatly weakened.
[0053] (3) The sending end generates pseudo fragments and randomly inserts them between multiple ciphertext fragments. The pseudo fragments are pure random data generated by a random number generator, which are also pseudo ciphertext fragments. The number of pseudo fragments accounts for 10% to 30% of the number of ciphertext fragments. The random injection of pseudo fragments will further increase noise interference, which is used to confuse attackers and effectively protect the data security of both parties in the communication.
[0054] Next, a data header is constructed for all fragments and appended to each fragment. The data header includes the data security level, fragment sequence number, key index, fragment authenticity identifier, version number of the hash array K, and checksum corresponding to the fragment. Other information, such as timestamps, may also be included. Then, the constructed fragments are transmitted to the receiving end. This means that the constructed fragments corresponding to the data packet of power data to be transmitted are transmitted to the receiving end through multiple paths in parallel. For example, L fragments are transmitted through the main channel (such as a fiber optic leased line channel), and the remaining fragments are transmitted through the alternative channel (Internet). This means that fragments of the same data packet are transmitted in parallel through at least two channels. This design improves transmission reliability in addition to encryption security.
[0055] The receiving end decrypts, restores, and reassembles the received data fragments to obtain the power data to be transmitted. The specific process is as follows:
[0056] A1: After receiving the fragments, the receiving end first deletes the fake fragments according to the fragment authenticity identifier in the data header, and the remaining fragments are encrypted fragments with data headers; then, according to the version number of the hash array K, the corresponding hash array K is obtained locally. The hash array K is an m-row m-column data structure.
[0057] A2: Place the remaining ciphertext fragments (with headers removed) into the hash array K in the order of the fragment numbers in the headers. The number of rows into which the ciphertext fragments are placed is denoted as row number x. Each row of the hash array K corresponds to one ciphertext fragment, which is to divide a ciphertext fragment into m equal parts and place them into the m array elements corresponding to that row of the hash array K. The size of each array element is the length of the ciphertext fragment / m.
[0058] A3: Based on the key index idx1, obtain the key from the key pool corresponding to the data security level in the data header, that is, obtain m keys with a length of (ciphertext fragment length × x) / m, and then put the m keys with a length of (ciphertext fragment length × x) / m into the hybrid array K in order; where each column of the hybrid array K corresponds to a key with a length of (ciphertext fragment length × x) / m, that is, a key with a length of (ciphertext fragment length × x) / m is divided into x parts and put into the x array elements corresponding to that column of the hybrid array K, and the key size corresponding to each array element is the ciphertext fragment length / m;
[0059] A4: XOR the ciphertext fragments in all array elements corresponding to x rows and m columns in the mixed array K with the key data to decrypt them. Then, concatenate the XOR-decrypted data in the m array elements corresponding to each row of the mixed array K to obtain the original fragments.
[0060] A5: The receiving end calculates the checksum of each original fragment obtained by splicing using a local verification algorithm, and compares it with the checksum corresponding to the fragment in the data header. If the comparison is successful, all the original fragments are combined in order of fragment number to finally obtain the power data to be transmitted.
[0061] As can be seen, this embodiment changes the practice in the existing hierarchical scheme where low-level services have no security protection at all. Even if power data is classified as the lowest security level service data, the data still undergoes fragmentation and hybridization during transmission, and is then encrypted using quantum keys. This means that even if an attacker successfully intercepts the lowest security level service data, it is fragmented ciphertext after being sliced and hybridized, which cannot restore the effective information, nor can it extract effective information that can be used to attack high-level core content.
[0062] In summary, the three mechanisms of hierarchical encryption, data slicing, and data hybridization in this invention address different attacks and support each other. Hierarchical encryption handles differentiated resource allocation, ensuring all transmitted data is encrypted while conserving key resources as much as possible. Data slicing discretizes data, forcing attackers to break through multiple fragments to access the complete information. Hybridization dynamically maps relationships, blocking attackers' analysis paths based on static associations. The synergistic effect of these three mechanisms enables data transmission to withstand various attack methods. Its overall security no longer relies on any single mechanism; even if one layer of security is breached, the remaining mechanisms can still provide effective resistance, significantly improving overall security strength.
Claims
1. A method for encrypting power data transmission, characterized in that, The method includes the following steps: (1) Both the sending end and the receiving end are pre-set with the same hybrid array K, verification algorithm and N key pools, and then the N key pools are numbered in sequence; then the same configuration requirements are used to divide the power data into N security levels with decreasing security levels, and each security level corresponds to a set of key pools; (2) The sending end obtains the security level of the power data to be transmitted, cuts the data packet of the power data to be transmitted into multiple original fragments according to a fixed size or dynamic size and numbers them, and then calculates the checksum of each original fragment through the local check algorithm; then, the multiple original fragments are encrypted based on the hybrid array K to obtain multiple ciphertext fragments. (3) The sending end generates pseudo fragments and randomly inserts them between multiple ciphertext fragments; then constructs a data header for all fragments and attaches it before each fragment; then, the constructed fragments are transmitted to the receiving end, and the receiving end decrypts, restores and reassembles the received fragments to finally obtain the power data to be transmitted. The process of encrypting multiple original fragments based on the hybrid array K to obtain multiple ciphertext fragments refers to: 1) The hybrid array K is an m-row m-column data structure. Multiple original slices are placed into the hybrid array K in sequence. Each row of the hybrid array K corresponds to one original slice, that is, an original slice is divided into m equal parts and placed into the m array elements corresponding to that row of the hybrid array K. The size of each array element is the length of the original slice / m. 2) Detect the number of rows in the hybrid array K where the original fragments are placed and record it as row number x. Then, obtain m keys with a length of (original fragment length × x) / m from the key pool corresponding to the security level of the power data to be transmitted and record the key index idx1. Then, put the m keys with a length of (original fragment length × x) / m into the hybrid array K in sequence. Each column of the hybrid array K corresponds to a key with a length of (original fragment length × x) / m. That is, a key with a length of (original fragment length × x) / m is divided into x parts and put into the x array elements corresponding to that column of the hybrid array K. The key size corresponding to each array element is the original fragment length / m. The original fragment key index corresponding to the x rows is idx1. 3) XOR the original fragment data and the key data in all array elements corresponding to x rows and m columns in the hybrid array K. Then, concatenate the XOR-encrypted data in the m array elements corresponding to each row of the hybrid array K to obtain the ciphertext fragment.
2. The method for encrypting power data transmission according to claim 1, characterized in that: The cutting according to fixed or dynamic dimensions refers to: The data packets of power data to be transmitted are cut into multiple original fragments according to a fixed cutting size; or, the data packets of power data to be transmitted are cut into multiple original fragments according to the cutting size corresponding to their security level. As the safety level decreases sequentially, the cutting size corresponding to each safety level increases sequentially.
3. The method for encrypting power data transmission according to claim 1, characterized in that: The hybrid array K is dynamically updated according to a preset fixed time or the count of encrypted / decrypted data packets, while the version number of the hybrid array K before the update is retained for a certain period of time.
4. The method for encrypting power data transmission according to claim 1, characterized in that: The sending end and receiving end are also provided with a hybrid array version record table, which is used to associate the hybrid array K and its corresponding version number and store them in the table.
5. The method for encrypting power data transmission according to claim 1, characterized in that: The number of pseudo-fragments accounts for 10% to 30% of the total number of ciphertext fragments.
6. The method for encrypting power data transmission according to claim 1, characterized in that: The data header includes the data security level, fragment sequence number, key index, fragment authenticity identifier, version number of the hash array K, and checksum corresponding to the fragment.
7. The method for encrypting power data transmission according to claim 1, characterized in that: The transmission of the constructed fragments to the receiving end refers to: The constructed fragments corresponding to the data packets of power data to be transmitted are transmitted to the receiving end via multiple paths in parallel.
8. A method for encrypting power data transmission according to claim 6, characterized in that: The process of decrypting, restoring, and reassembling the received fragments at the receiving end refers to: A1: After receiving the fragment, the receiving end first deletes the false fragment according to the fragment authenticity identifier in the data header, and then obtains the corresponding hash array K locally according to the version number of the hash array K. The hash array K is an m-row m-column data structure. A2: Place the remaining ciphertext fragments (with headers removed) into the hash array K in the order of the fragment numbers in the headers. The number of rows into which the ciphertext fragments are placed is denoted as row number x. Each row of the hash array K corresponds to one ciphertext fragment, which is to divide a ciphertext fragment into m equal parts and place them into the m array elements corresponding to that row of the hash array K. The size of each array element is the length of the ciphertext fragment / m. A3: Based on the key index idx1, obtain m keys of length (ciphertext fragment length × x) / m from the key pool corresponding to the data security level in the data header. Then, put the m keys of length (ciphertext fragment length × x) / m into the hybrid array K in order. Each column of the hybrid array K corresponds to a key of length (ciphertext fragment length × x) / m, that is, a key of length (ciphertext fragment length × x) / m is divided into x parts and put into the x array elements corresponding to that column of the hybrid array K. The key size corresponding to each array element is the ciphertext fragment length / m. A4: XOR the ciphertext fragments in all array elements corresponding to x rows and m columns in the mixed array K with the key data to decrypt them. Then, concatenate the XOR-decrypted data in the m array elements corresponding to each row of the mixed array K to obtain the original fragments. A5: The receiving end calculates the checksum of each original fragment obtained by splicing using a local verification algorithm, and compares it with the checksum corresponding to the fragment in the data header. If the comparison is successful, all the original fragments are combined in order of fragment number to finally obtain the power data to be transmitted.
9. A method for encrypting power data transmission according to claim 2, characterized in that: The cutting size range corresponding to the security level is 128 bytes to 1024 bytes.
Citation Information
Patent Citations
Data transmission method, transmitting end device and receiving end device
CN121356805A
Method and system for encryption and assured deletion of information
US20240364502A1
