Data security transmission method and system for energy storage

By adopting hybrid encryption strategies, AES and ECC encryption algorithms, hash function signatures and MOF encoding technologies in the energy storage system, the challenge of data transmission security in the energy storage system is solved, efficient and secure transmission of data is achieved, and the reliability and adaptability of the system is enhanced.

CN119995934APending Publication Date: 2025-05-13ZHEJIANG GUOHUA ZHENENG POWER GENERATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411982997.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Data transmission security in energy storage systems is threatened, and faces problems such as data interception, tampering, identity forgery and service denial attacks. It is difficult for existing technologies to effectively solve these unique security threats.

Method used

The hybrid encryption strategy is adopted, combined with AES and ECC encryption algorithms, and the hash function is used to sign data, and the encryption and decryption process is optimized through MOF encoding technology to ensure the confidentiality and integrity of the data during transmission.

Benefits of technology

It significantly improves the security of data during transmission, prevents data leakage and tampering, enhances the overall reliability and data protection capabilities of the system, and adapts to future technological development and system expansion needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119995934A_ABST
    Figure CN119995934A_ABST
Patent Text Reader

Abstract

The invention discloses a data secure transmission method and system for energy storage. The method comprises the following steps: encrypting a to-be-transmitted plaintext by using an AES encryption key at a sender to obtain a ciphertext, encrypting the AES encryption key by using an ECC encryption algorithm, signing an abstract of the to-be-transmitted plaintext to obtain a signature block, and sending the ciphertext, the encrypted AES encryption key and the signature block to a receiver; and extracting the ciphertext, the encrypted AES encryption key and the signature block at a receiver, decrypting the encrypted AES encryption key by using an ECC algorithm, decrypting the ciphertext by using the decrypted AES encryption key to obtain the plaintext to be transmitted, and verifying the data integrity according to the signature block. And when the verification is passed, outputting the plaintext to be transmitted. According to the scheme, the operation safety and efficiency of the energy storage system are improved, and support is provided for sustainable development and technology upgrading of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of information security and energy storage, and in particular relates to a data security transmission method and system for energy storage. Background Art

[0002] With the transformation of the global energy structure and the rapid development of renewable energy technology, energy storage systems (such as battery storage, pumped storage, compressed air energy storage, etc.) have become an indispensable part of the modern energy network. The application of energy storage technology can not only balance the supply and demand relationship and improve energy utilization efficiency, but also enhance the stability and reliability of the power grid. However, with the expansion of the scale of energy storage systems and the increase in technological complexity, the data transmission security issues of the system have gradually emerged, becoming an important factor restricting the widespread application of energy storage technology.

[0003] In energy storage systems, a large amount of data needs to be transmitted between multiple nodes, including but not limited to battery status data, energy input and output records, system performance parameters, and environmental monitoring data. The secure transmission of this data is crucial for system operation management, status monitoring, and fault prevention. Once the data is illegally intercepted, tampered with, or lost during transmission, these security vulnerabilities may threaten the stable operation of the system and may even trigger serious safety accidents. This may not only lead to significant economic losses, but also have an adverse impact on the environment.

[0004] At present, data transmission security mainly faces the following challenges:

[0005] Data interception and eavesdropping: The data transmission of energy storage systems usually relies on public networks or wireless communication technologies, which makes data easily intercepted by third parties during transmission. Once sensitive data such as battery performance parameters, real-time power load and other information are leaked, they may be used for illegal activities such as market manipulation or unfair competition by competitors.

[0006] Data tampering: Data may be subject to tampering attacks during transmission. Attackers can modify the transmitted data packets, causing the receiving end to receive incorrect information. This attack not only affects the accuracy of system decision-making, but may also cause erroneous operations of system control, increasing the risk of system operation.

[0007] Identity forgery and replay attacks: Unauthorized access may forge the identity of a legitimate device and send false data or commands to the system. In addition, through old data transmission sessions, attackers can bypass the system's security checks and perform unauthorized operations.

[0008] Denial of Service (DoS) attack: By flooding the energy storage system with a large number of meaningless requests, attackers can make the system unable to process legitimate requests, affecting the normal operation of the system.

[0009] In response to the above problems, existing technologies have proposed a variety of solutions, such as using traditional encryption algorithms to protect the security of data transmission, and preventing unauthorized access through authentication and access control mechanisms. However, these methods often fail to address security threats specific to energy storage systems, such as customized attacks on energy storage systems and advanced persistent threats (APT). In addition, with the continuous advancement of attack technology, traditional security measures have been unable to meet the growing security needs. Summary of the invention

[0010] In order to solve the deficiencies in the prior art, the present invention provides a data security transmission method and system for energy storage, so as to solve the technical problem of effectively improving data security and system reliability and providing strong technical support for the widespread application of energy storage systems.

[0011] In order to solve the above technical problems, the present invention adopts the following technical solutions.

[0012] The present invention first discloses a method for secure data transmission for energy storage, which comprises the following steps:

[0013] The sender uses an AES encryption key to encrypt the plaintext to be transmitted to obtain a ciphertext, encrypts the AES encryption key using an ECC encryption algorithm, signs the summary of the plaintext to be transmitted to obtain a signature block, and sends the ciphertext, the encrypted AES encryption key and the signature block to the receiver;

[0014] The receiving party extracts the ciphertext, the encrypted AES encryption key and the signature block, uses the ECC algorithm to decrypt the encrypted AES encryption key, uses the decrypted AES encryption key to decrypt the ciphertext to obtain the plaintext to be transmitted, verifies the data integrity according to the signature block, and outputs the plaintext to be transmitted when the verification passes.

[0015] The present invention further includes the following preferred embodiments:

[0016] Before encrypting the plaintext to be transmitted, the method further includes:

[0017] The ECC encryption key and AES encryption key are generated during the initialization phase.

[0018] The step of signing the summary of the plaintext to be transmitted to obtain a signature block further includes:

[0019] The plaintext is encrypted using a hash function to generate a summary of the plaintext, and the summary is signed using an ECC signature algorithm to obtain a signature block.

[0020] The method further includes:

[0021] At the beginning of each communication session, a new AES encryption key is dynamically generated.

[0022] The ECC encryption algorithm further comprises:

[0023] The receiver selects an elliptic curve E(a, b), uses a point on the elliptic curve as the base point G, selects a private key k, and generates a public key K=k*G;

[0024] The sender sends E(a, b) and points K, G to the receiver;

[0025] After receiving the message, the sender encodes the plaintext to be transmitted to point m on E(a, b) and generates a random integer r;

[0026] The sender calculates C1=M+rK, C2=rG, and sends it to the receiver;

[0027] The receiver calculates C1-k*C2, obtains the plaintext message M, and decodes the plaintext message M to obtain the plaintext.

[0028] MOF encoding is applied in the scalar multiplication calculation of ECC. Each bit of scalar K is output from left to right through MOF encoding. The scalar multiplication operation state machine generates corresponding control signals according to the input bits to call the double-point operation state machine and the point-addition operation state machine. Finally, the double-point operation state machine and the point-addition operation state machine feed back the calculation results to the scalar multiplication operation state machine.

[0029] The most significant bit in the MOF encoding is always 1; except for the least significant bit, the middle bits of the MOF encoding adopt one of two modes, one is the x0 mode, in which x is a non-zero bit and the sign is opposite to x, and the other is the 0x mode, in which x is a non-zero bit and the sign is the same as x.

[0030] The present invention also discloses a data security transmission system for energy storage using the aforementioned data security transmission method for energy storage, comprising:

[0031] A sending module, configured to encrypt the plaintext to be transmitted using an AES encryption key at the sending party to obtain a ciphertext, encrypt the AES encryption key using an ECC encryption algorithm, sign the summary of the plaintext to be transmitted to obtain a signature block, and send the ciphertext, the encrypted AES encryption key and the signature block to a receiving party;

[0032] The receiving module is used to extract the ciphertext, the encrypted AES encryption key and the signature block at the receiving party, decrypt the encrypted AES encryption key using the ECC algorithm, decrypt the ciphertext using the decrypted AES encryption key to obtain the plaintext to be transmitted, and verify the data integrity according to the signature block, and output the plaintext to be transmitted when the verification passes.

[0033] Accordingly, the present application also discloses a terminal, including a processor and a storage medium;

[0034] The storage medium is used to store instructions;

[0035] The processor is used to operate according to the instructions to execute the steps of the aforementioned method for secure data transmission for energy storage.

[0036] Correspondingly, the present application also discloses a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the aforementioned method for secure data transmission for energy storage are implemented.

[0037] The beneficial effect of the present invention is that, compared with the prior art, the present invention provides a data security transmission method and system for energy storage, which significantly improves the security of data during transmission by adopting a hybrid encryption strategy, combining AEC and ECC encryption algorithms and mutually opposed form (MOF) encoding technology. Even if the key is intercepted, the data remains encrypted, effectively preventing data leakage. By implementing an end-to-end data integrity verification mechanism, it is ensured that the data is not tampered with during transmission. Using a hash algorithm to sign the data can effectively detect and prevent any unauthorized data modification. The use of a hybrid encryption algorithm and MOF encoding technology reduces the risk of key cracking and enhances the overall reliability of the system. The independence of each communication ensures that even if a session key is cracked, it will not affect other sessions. Despite the addition of multiple security measures, the present invention still maintains the efficiency of data transmission. The optimized encryption and decryption process ensures that even in the case of large amounts of data transmission, the response time and processing speed of the system still meet the real-time or near real-time requirements. The protocol designed by the present invention has good scalability and compatibility, and can be easily integrated into the existing energy storage management system, supporting the development of future technologies and the access of new equipment without large-scale system transformation. Enhanced security measures and reliable data protection capabilities can enhance end-user trust in energy storage systems while helping companies comply with increasingly stringent data protection regulations and standards. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is the encryption flow chart of the sender in the present invention;

[0039] Figure 2 is a decryption flow chart of the receiver in the present invention;

[0040] Figure 3 It is the MOF scalar multiplication algorithm diagram in the present invention;

[0041] Figure 4 It is a MOF implementation framework diagram in the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present invention more clear, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0043] The embodiments described in this application are only some embodiments of the present invention, not all embodiments. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the protection scope of the present invention.

[0044] In view of the shortcomings of the prior art, the present invention proposes a data security transmission method and system for energy storage, which significantly improves the confidentiality and security of data during the transmission process through advanced hybrid encryption algorithms and coding technologies. By introducing end-to-end data integrity verification, the authenticity and non-tampering of data during transmission are ensured. An efficient data transmission mechanism is designed to maintain or improve the efficiency of data transmission even while enhancing security measures. The protocol designed by the present invention has good scalability and compatibility, and can adapt to future technological developments and system expansion needs.

[0045] The method for secure transmission of energy storage data disclosed in the present invention comprises the following steps:

[0046] Step 1: The sender uses an AES encryption key to encrypt the plaintext to be transmitted to obtain a ciphertext, encrypts the AES encryption key using an ECC encryption algorithm, signs the summary of the plaintext to be transmitted to obtain a signature block, and sends the ciphertext, the encrypted AES encryption key and the signature block to the receiver.

[0047] During the initialization phase, the system first generates ECC and AES encryption keys. The ECC encryption key is used to securely exchange the AES session key, while the AES encryption key is used for subsequent data encryption transmission. The ECC public key encryption algorithm is used to securely exchange the AES key. The security of the key exchange process is ensured by the ECC elliptic curve multiplication calculation.

[0048] In order to better meet the needs of secure transmission of large amounts of data in the intelligent energy management system, the present invention uses the AES algorithm for data encryption. At the same time, in order to solve the transmission and storage problems of the AES key, the ECC algorithm is used to encrypt the AES key. This hybrid encryption strategy can effectively improve the performance of encryption and decryption and reduce the occupation of system resources. Figure 1 As shown, the encryption process of the sender is as follows:

[0049] Use the AES algorithm to encrypt the plaintext M to obtain the ciphertext C and AES encryption key KAES ;

[0050] The AES encryption key is encrypted based on the ECC encryption algorithm to obtain the encryption result E(K AES );

[0051] A hash function is used to encrypt the plaintext M and generate a summary m of the plaintext, and then the summary m is signed using an ECC signature algorithm to obtain a signature block; the summary m represents a unique value of a fixed length generated by inputting the plaintext M into the hash function.

[0052] The sender sends the ciphertext C, E(K AES ) and the signature block are sent to the recipient.

[0053] Step 2: The receiving party extracts the ciphertext, the encrypted AES encryption key and the signature block, decrypts the encrypted AES encryption key using the ECC algorithm, decrypts the ciphertext using the decrypted AES encryption key to obtain the plaintext to be transmitted, verifies the data integrity based on the signature block, and outputs the plaintext to be transmitted when the verification passes.

[0054] MOF coding is applied in the scalar multiplication calculation of ECC to optimize the calculation process. MOF coding reduces the computational complexity and execution time by reducing the non-zero bits in the calculation steps. An improved algorithm is used to perform scalar multiplication of ECC, and the structural characteristics of MOF coding are used to improve the efficiency of multiplication operations.

[0055] like Figure 2 As shown, the receiver's decryption process is as follows:

[0056] Receive the sender's message and extract the ciphertext C, E (K AES ) and signature block;

[0057] Decrypt E(K using the ECC algorithm AES ) to obtain the encryption key K AES ;

[0058] Use the AES key to decrypt the ciphertext C and obtain the plaintext message M;

[0059] If the receiver successfully authenticates the sender, it outputs m as the decryption result, otherwise the data is discarded.

[0060] The present invention combines the encryption mechanisms of ECC and AES to form a double-layer encryption, which greatly improves the security of data transmission. By adding a hash function or a digital signature, the integrity of the data is ensured, tamper-proof and the identity verification of the sender is ensured.

[0061] In a specific embodiment, a new AES encryption key is dynamically generated at the start of each communication session to enhance security. The data transmitted is encrypted using the AES encryption algorithm to ensure the confidentiality and integrity of the data during the transmission process.

[0062] In a preferred embodiment, the ECC encryption communication process is as follows:

[0063] The receiving party selects an elliptic curve E(a, b), takes a point on the elliptic curve as the base point G, selects a private key k, and generates a public key K = k * G; k < n, where n represents the order of the base point G;

[0064] The sending party sends E(a, b) and the points K, G to the receiving party;

[0065] After receiving the message, the sending party encodes the plaintext of the m point to be transmitted onto E(a, b) and generates a random integer r (r < n);

[0066] The sending party calculates C1 = M + rK, C2 = rG, and sends them to the receiving party;

[0067] The receiving party calculates C1 - k * C2, and the result is the plaintext message M. Then the plaintext message M is decoded to obtain the plaintext.

[0068] In the process of elliptic curve encryption and decryption, the most time-consuming calculation is the scalar multiplication calculation of C1 and C2, which occupies more than 80% of the calculation time in the elliptic curve encryption and decryption process. As the amount of encrypted information increases, the encryption time required also shows a rapid growth trend, which leads to a decline in the overall encryption efficiency. Therefore, the present invention improves the scalar multiplication through MOF encoding.

[0069] MOF (Mutually Opposing Forms) encoding has the following three main characteristics: First, the most significant bit (the highest non-zero bit) in MOF encoding is always 1; Second, except for the least significant bit (the lowest non-zero bit), the middle bits of MOF encoding adopt one of two modes: one is the (x0) mode, where x is a non-zero bit and has the opposite sign to x, and the other is the (0x) mode, where x is a non-zero bit and has the same sign as x, and these two modes can be followed by any number of 0s; Finally, the least significant bit of MOF encoding can be the last bit of the encoding. The application of this encoding method in the scalar multiplication operation is as Figure 3 shown, effectively optimizing the calculation process.

[0070] The MOF encoding length of the number K is at most one bit longer than the binary encoding, and the average number of its non-zero bits is about 1 / 3, which indicates that it inherits the excellent characteristics of NaF encoding. Since the scalar multiplication algorithm based on MOF encoding can be dynamically generated from left to right, the storage space for scalar encoding can be saved.

[0071] The proposed scalar multiplication based on MOF can reduce storage space and is more suitable for mobile devices with limited storage space. The specific implementation framework is as follows Figure 4 As shown in the figure, the MOF encoding output module mainly outputs each bit of the scalar K from left to right. The scalar multiplication operation state machine generates corresponding control signals according to the input bits to call the double-point operation state machine and the point addition operation state machine. Finally, the double-point operation state machine and the point addition operation state machine feed back the calculation results to the scalar multiplication operation state machine.

[0072] By optimizing AES based on the ECC encryption algorithm, the time delay of encryption and decryption is reduced. Dedicated hardware is used to accelerate the encryption and decryption process to meet the needs of real-time data processing.

[0073] The beneficial effect of the present invention is that, compared with the prior art, the present invention provides a data security transmission method and system for energy storage, which significantly improves the security of data during transmission by adopting a hybrid encryption strategy, combining AEC and ECC encryption algorithms and mutually opposed form (MOF) encoding technology. Even if the key is intercepted, the data remains encrypted, effectively preventing data leakage. By implementing an end-to-end data integrity verification mechanism, it is ensured that the data is not tampered with during transmission. Using a hash algorithm to sign the data can effectively detect and prevent any unauthorized data modification. The use of a hybrid encryption algorithm and MOF encoding technology reduces the risk of key cracking and enhances the overall reliability of the system. The independence of each communication ensures that even if a session key is cracked, it will not affect other sessions. Despite the addition of multiple security measures, the present invention still maintains the efficiency of data transmission. The optimized encryption and decryption process ensures that even in the case of large amounts of data transmission, the response time and processing speed of the system still meet the real-time or near real-time requirements. The protocol designed by the present invention has good scalability and compatibility, and can be easily integrated into the existing energy storage management system, supporting the development of future technologies and the access of new equipment without large-scale system transformation. Enhanced security measures and reliable data protection capabilities can enhance end-user trust in energy storage systems while helping companies comply with increasingly stringent data protection regulations and standards.

[0074] The present invention may be a system, a method and / or a computer program product. The present invention also discloses a data security transmission system for energy storage based on the aforementioned data security transmission method for energy storage, comprising:

[0075] A sending module, configured to encrypt the plaintext to be transmitted using an AES encryption key at the sending party to obtain a ciphertext, encrypt the AES encryption key using an ECC encryption algorithm, sign the summary of the plaintext to be transmitted to obtain a signature block, and send the ciphertext, the encrypted AES encryption key and the signature block to a receiving party;

[0076] The receiving module is used to extract the ciphertext, the encrypted AES encryption key and the signature block at the receiving party, decrypt the encrypted AES encryption key using the ECC algorithm, decrypt the ciphertext using the decrypted AES encryption key to obtain the plaintext to be transmitted, and verify the data integrity according to the signature block, and output the plaintext to be transmitted when the verification passes.

[0077] Based on the spirit of the present invention, those skilled in the art can easily think that a computer program product can be obtained based on the aforementioned data security transmission method for energy storage. The computer program product may include a computer-readable storage medium on which computer-readable program instructions for enabling a processor to implement various aspects of the present disclosure are loaded. That is, the present application also includes a terminal, including a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to perform the steps according to the aforementioned data security transmission method for energy storage.

[0078] Computer readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device. Computer readable storage medium can be, for example, - but not limited to - electrical storage device, magnetic storage device, optical storage device, electromagnetic storage device, semiconductor storage device or any suitable combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, punch card or groove protrusion structure with instructions stored thereon and any suitable combination of the above. Computer readable storage medium used here is not interpreted as instantaneous signal itself, such as radio wave or other free propagating electromagnetic wave, electromagnetic wave propagated by waveguide or other transmission medium (for example, light pulse by optical fiber cable) or electrical signal transmitted by wire.

[0079] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0080] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages-such as Smalltalk, C++, etc., and conventional procedural programming languages-such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network-including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may be personalized by utilizing the state information of a computer-readable program instruction, and the electronic circuit may execute a computer-readable program instruction, thereby realizing various aspects of the present disclosure.

[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for secure data transmission for energy storage, characterized in that: The following steps are involved: The sender uses an AES encryption key to encrypt the plaintext to be transmitted to obtain a ciphertext, encrypts the AES encryption key using an ECC encryption algorithm, signs the summary of the plaintext to be transmitted to obtain a signature block, and sends the ciphertext, the encrypted AES encryption key and the signature block to the receiver; The receiving party extracts the ciphertext, the encrypted AES encryption key and the signature block, uses the ECC algorithm to decrypt the encrypted AES encryption key, uses the decrypted AES encryption key to decrypt the ciphertext to obtain the plaintext to be transmitted, verifies the data integrity according to the signature block, and outputs the plaintext to be transmitted when the verification passes.

2. The method for secure data transmission for energy storage according to claim 1, characterized in that: Before encrypting the plaintext to be transmitted, the method further includes: The ECC encryption key and AES encryption key are generated during the initialization phase.

3. The method for secure transmission of energy storage data according to claim 2, characterized in that: The step of signing the summary of the plaintext to be transmitted to obtain a signature block further includes: The plaintext is encrypted using a hash function to generate a summary of the plaintext, and the summary is signed using an ECC signature algorithm to obtain a signature block.

4. The method for secure data transmission for energy storage according to claim 3, characterized in that: The method further includes: At the beginning of each communication session, a new AES encryption key is dynamically generated.

5. The method for secure transmission of energy storage data according to claim 4, characterized in that: The ECC encryption algorithm further comprises: The receiver selects an elliptic curve E(a, b), uses a point on the elliptic curve as the base point G, selects a private key k, and generates a public key K=k*G; The sender sends E(a, b) and points K, G to the receiver; After receiving the message, the sender encodes the plaintext to be transmitted to point m on E(a, b) and generates a random integer r; The sender calculates C1=M+rK, C2=rG and sends it to the receiver; The receiver calculates C1-k*C2, obtains the plaintext message M, and decodes the plaintext message M to obtain the plaintext.

6. The method for secure transmission of energy storage data according to claim 5, characterized in that: MOF encoding is applied in the scalar multiplication calculation of ECC. Each bit of scalar K is output from left to right through MOF encoding. The scalar multiplication operation state machine generates corresponding control signals according to the input bits to call the double-point operation state machine and the point-addition operation state machine. Finally, the double-point operation state machine and the point-addition operation state machine feed back the calculation results to the scalar multiplication operation state machine.

7. The method for secure transmission of energy storage data according to claim 6, characterized in that: The most significant bit in the MOF encoding is always 1; except for the least significant bit, the middle bits of the MOF encoding adopt one of two modes, one is the x0 mode, in which x is a non-zero bit and the sign is opposite to x, and the other is the 0x mode, in which x is a non-zero bit and the sign is the same as x.

8. A data security transmission system for energy storage, characterized in that: include: A sending module, configured to encrypt the plaintext to be transmitted using an AES encryption key at the sending party to obtain a ciphertext, encrypt the AES encryption key using an ECC encryption algorithm, sign the summary of the plaintext to be transmitted to obtain a signature block, and send the ciphertext, the encrypted AES encryption key and the signature block to a receiving party; The receiving module is used to extract the ciphertext, the encrypted AES encryption key and the signature block at the receiving party, decrypt the encrypted AES encryption key using the ECC algorithm, decrypt the ciphertext using the decrypted AES encryption key to obtain the plaintext to be transmitted, and verify the data integrity according to the signature block, and output the plaintext to be transmitted when the verification passes.

9. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the method for secure data transmission for energy storage according to any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for secure transmission of energy storage data described in any one of claims 1 to 7 are implemented.