Data credibility verification system for energy storage system

By classifying energy storage system data by type and time, and using hash functions and encryption algorithms to verify its credibility on the blockchain, the problem of authenticity assessment of energy storage system data under external attacks is solved and the data is improved. safety and reliability.

CN118734370APending Publication Date: 2024-10-01HEFEI YUANLI ZHONGHE ENERGY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410779522.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, the authenticity and credibility of energy storage system data cannot be effectively evaluated when it is attacked by external attacks, causing the accuracy of decision-making to be affected.

Method used

By dividing energy storage data into sub-data according to type and time, using a hash function to process and save it to the blockchain, combining encryption algorithms and asymmetric algorithms to encrypt and decrypt the data, and generating and comparing correction values ​​to determine the validity of the data. reliability.

Benefits of technology

It can quickly determine whether the data has been tampered with, enhance the security and reliability of the data, and avoid data changes and transmission tampering caused by external attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734370A_ABST
    Figure CN118734370A_ABST
Patent Text Reader

Abstract

The invention discloses a data credibility verification system for an energy storage system. The data credibility verification system comprises a data acquisition module, a credible computing environment, a data verification module and a block chain, relates to the technical field of data verification, and solves the technical problem that the authenticity and credibility of acquired data cannot be evaluated when part of data is modified due to external attacks at present. In the application, the energy storage data is divided according to the type and time, the period is set for the energy storage data in this way to package the energy storage data to obtain the sub-data, and then the sub-data is processed through the hash function after the sub-data is generated, so that the hash value can be obtained and stored in the block chain. According to the method, the data of the receiving end is processed through the Hash function to avoid the change of the energy storage data caused by external attacks when the data is retained locally, the data of the receiving end is processed through the Hash function to obtain the correction value during subsequent verification, and then the correction value is compared with the Hash value to quickly judge the credibility of the data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data verification, and in particular is a data credibility verification system for an energy storage system. Background Art

[0002] With the continuous development of energy technology, energy storage systems are a key link in the transformation of energy structure and the construction of smart grids. The authenticity and credibility of their data are of great significance to fair transactions in the energy market, the stable operation of the power system, and policy decision-making. As the global energy structure transformation accelerates, the importance of energy storage systems as a key technology for balancing supply and demand and improving the flexibility of the power grid is becoming increasingly prominent. Energy storage systems are widely used in many fields such as access and dispatching of renewable energy such as wind power and solar energy, power auxiliary services, microgrid management, and user-side energy management. However, the effective operation of energy storage systems is highly dependent on accurate and reliable system data. Data credibility is not only related to the real-time control accuracy of the energy storage system, but also directly related to system safety, life assessment, economic benefit analysis, and judgment of power grid stability.

[0003] In the existing technology, data verification methods often focus on checking the consistency and integrity of data. Once the data is modified by external attacks, the authenticity and credibility of the acquired data cannot be evaluated. Data collection usually relies on sensor networks and monitoring systems. These components may produce data deviations or errors due to hardware failures, signal interference, software errors or external attacks, thereby affecting the accuracy of decision-making. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a data credibility verification system for an energy storage system, which is used to solve the technical problem that the authenticity and credibility of the acquired data cannot be evaluated when part of the data is modified by external attacks. The present invention first divides the energy storage data according to type and time, and packages the energy storage data in this way to obtain sub-data, and then processes the sub-data through a hash function after the sub-data is generated, so that a hash value can be obtained and saved in a blockchain, and the sub-data at the receiving end is hashed to obtain a correction value, and then the correction value is compared with the hash value to obtain the credibility of the data. In this way, the credibility of the data can be quickly judged to solve the above problem.

[0005] To achieve the above-mentioned object, a first aspect of the present invention provides a data credibility verification system for an energy storage system, comprising: a data processing module and a data acquisition module and a data verification module connected thereto;

[0006] The data acquisition module is used to acquire energy storage data of the energy storage system; and split the energy storage data into a plurality of sub-data based on data type and acquisition time;

[0007] The data processing module: encrypts a plurality of sub-data by using a plurality of encryption algorithms and generates corresponding signature information; and

[0008] Process several sub-data to generate verification values ​​and upload them to the chain; encrypt the transmission data through an asymmetric algorithm to obtain encrypted data; wherein the transmission data includes several signature information, several sub-data and matching relationships;

[0009] The data verification module is used to decrypt the encrypted data to obtain the decrypted data; and verify the decrypted data to obtain the verification result.

[0010] It should be noted that the above system runs in a trusted computing environment.

[0011] Preferably, the energy storage data is split into several sub-data based on data type and acquisition time, including:

[0012] The energy storage data is extracted, and the energy storage data is classified according to the set period to obtain several groups of period data. The energy storage data in the period data is divided into several groups of period data according to the purpose to obtain several sub-data.

[0013] It should be noted that when several groups of periodic data are divided according to their usage, the specific usage classification may include operating status data, performance test data and other data.

[0014] After the data is divided according to the periodic data, the formed sub-data can be processed by the hash function in time to ensure that the hash value obtained is based on the original raw data, thereby ensuring the reliability of the verification result.

[0015] Preferably, the encrypting of the plurality of sub-data by an encryption algorithm and generating corresponding signature information includes:

[0016] Encode several energy storage data in the sub-data in sequence to obtain a coding pool; randomly extract several energy storage data and codes corresponding to the several energy storage data from the coding pool, associate the several energy storage data with the corresponding codes, and obtain several groups of associated information;

[0017] The encryption algorithms in the encryption library are numbered to obtain a number pool; based on the encryption algorithms in the encryption library, several groups of associated information are encrypted and signature information is generated.

[0018] It should be noted that after extracting some energy storage data, the atomic data does not contain the energy storage data corresponding to the code.

[0019] Preferably, the step of encrypting several groups of associated information based on an encryption algorithm and generating signature information includes:

[0020] The encryption algorithms corresponding to several numbers are randomly selected from the number pool to encrypt several groups of associated information in turn, and the numbers corresponding to the several encryption algorithms are integrated according to the encryption order of the associated information to obtain the signature information.

[0021] It should be noted that different related information can be encrypted using the same encryption algorithm. The number of encryption algorithms in the encryption library is no less than two. By arbitrarily selecting an encryption algorithm to encrypt the encrypted data, even if the outer asymmetric algorithm is cracked, the completed sub-data cannot be directly obtained.

[0022] Preferably, the processing of the plurality of sub-data to generate a verification value and uploading the verification value to the chain includes:

[0023] A number of sub-data are processed through a hash function to obtain a verification pool; a number of verification values ​​are sent to the blockchain for storage; wherein the verification pool is composed of hash values ​​corresponding to the number of sub-data.

[0024] Preferably, the encrypting the plurality of signature information and the plurality of sub-data by using an asymmetric algorithm comprises:

[0025] Extract a number of signature information and a number of corresponding sub-data, match the number of signature information with the corresponding sub-data to obtain a matching relationship; encrypt the signature information, the number of sub-data and the matching relationship through a public key to obtain encrypted data.

[0026] Preferably, decrypting the encrypted data comprises:

[0027] Decrypt the encrypted data using the private key to obtain a number of signature information, a number of sub-data and a matching relationship, and match the number of signature information and the number of sub-data based on the matching relationship;

[0028] According to the number in the signature information, the encryption algorithm corresponding to the number is selected in turn to decrypt the associated information corresponding to the number to obtain several groups of associated information. According to the coding in the associated information, several energy storage data are added to the corresponding positions in the corresponding sub-data to obtain decrypted data.

[0029] Preferably, the verifying the decrypted data includes:

[0030] Extract the decrypted data, process the decrypted data through a hash function, and obtain a correction value;

[0031] The correction value is compared with several verification values ​​in the blockchain; if there is a hash value identical to the correction value in the verification pool, the credibility of the corresponding sub-data is marked as completely credible; otherwise, the credibility of the corresponding sub-data is marked as not completely credible.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] 1. In the present invention, the energy storage data is first divided according to type and time, and the energy storage data is packaged periodically in this way to obtain sub-data. After the sub-data is generated, the sub-data is processed by a hash function, so that a hash value can be obtained and saved in the blockchain to avoid changes in the energy storage data caused by external attacks when the data is retained locally. At the same time, the sub-data is encrypted to ensure that it is not easily tampered with during data transmission. When the encrypted data is decrypted during subsequent verification, the decrypted data is processed by a hash function to obtain a correction value, and the correction value is compared with the hash value to obtain the credibility of the data. In this way, it is possible to quickly determine whether the data has been tampered with.

[0034] 2. In the present invention, several randomly acquired data of sub-data are encrypted by several encryption algorithms in the encryption library, which can increase the difficulty of data cracking, and several groups of related information are encrypted by the encryption algorithm in the encryption library and the related information and sub-data are encrypted by the asymmetric encryption algorithm, so as to realize double encryption and ensure the security and reliability of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 It is a flow chart of the data credibility verification system of the present invention;

[0037] Figure 2 This is a logic judgment block diagram for data verification of the present invention. DETAILED DESCRIPTION

[0038] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] See also Figure 1-Figure 2 , a first aspect of the present invention provides a data credibility verification system for an energy storage system, comprising: a data acquisition module, a data processing module and a data verification module; the data acquisition module is electrically connected to the data processing module, and the data processing module is electrically connected to the data verification module;

[0040] The data acquisition module is used to acquire energy storage data of the energy storage system; and split the energy storage data into a plurality of sub-data based on data type and acquisition time;

[0041] The data processing module: encrypts a plurality of sub-data by using a plurality of encryption algorithms and generates corresponding signature information; and

[0042] Process several sub-data to generate verification values ​​and upload them to the chain; encrypt the transmission data through an asymmetric algorithm to obtain encrypted data; wherein the transmission data includes several signature information, several sub-data and matching relationships;

[0043] The data verification module is used to decrypt the encrypted data to obtain the decrypted data; and verify the decrypted data to obtain the verification result.

[0044] In this embodiment, the energy storage data is divided into several sub-data based on the data type and the acquisition time, including:

[0045] The energy storage data is extracted, and the energy storage data is classified according to the set period to obtain several groups of period data. The energy storage data in the period data is divided into several groups of period data according to the purpose to obtain several sub-data.

[0046] When dividing several groups of periodic data according to usage, the specific usage classification may include operating status data, performance test data and other data; the operating status data includes but is not limited to the charge and discharge voltage, charge and discharge current, battery temperature, remaining power percentage, battery health status, battery pack voltage balance status, etc., the performance test data includes the efficiency of the energy storage system, response time, number of cycles, charge and discharge depth, energy conversion efficiency, self-discharge rate, etc., and other data includes maintenance records, fault records, repair history, software upgrade records, etc.

[0047] In order to reduce the possibility of data tampering when it is retained locally, several sub-data are processed to generate verification values ​​and uploaded to the chain, including:

[0048] The obtained sub-data are processed in sequence through a hash function and in a set period to obtain a verification pool; a number of verification values ​​are sent to the blockchain for storage; wherein the verification pool is composed of hash values ​​corresponding to a number of sub-data.

[0049] It should be noted that the above system runs in a trusted computing environment. Trusted computing is a trusted computing environment based on TEE. TEE stands for trusted execution environment. It is an area on the CPU of a device or operating system. The function of this area is to provide a more secure space for the execution of data and code, and to ensure their confidentiality and integrity.

[0050] Furthermore, in order to prevent some sub-data from being attacked during transmission and for the receiving end to decrypt the data after receiving the data, some sub-data are encrypted by an encryption algorithm and corresponding signature information is generated, including:

[0051] Encode several energy storage data in the sub-data in sequence to obtain a coding pool; randomly extract several energy storage data and codes corresponding to the several energy storage data from the coding pool, associate the several energy storage data with the corresponding codes, and obtain several groups of associated information;

[0052] Number the encryption algorithms in the encryption library to obtain a number pool;

[0053] The encryption algorithms corresponding to several numbers are randomly selected from the number pool to encrypt several groups of associated information in sequence, and the numbers corresponding to the several encryption algorithms are integrated according to the encryption order of the associated information to obtain the signature information.

[0054] Furthermore, several signature information and several sub-data are encrypted by an asymmetric algorithm, including:

[0055] Extract a number of signature information and a number of corresponding sub-data, match the number of signature information with the corresponding sub-data to obtain a matching relationship; encrypt the signature information, the number of sub-data and the matching relationship through a public key to obtain encrypted data.

[0056] Signature information is an important basis for decryption. Even if the key of the outer asymmetric encryption algorithm is cracked, if the number of the corresponding encryption algorithm in the key library cannot be obtained, the associated information cannot be cracked and the complete sub-data cannot be obtained.

[0057] As the receiving end, decrypt the encrypted data, including:

[0058] Decrypt the encrypted data using the private key to obtain a number of signature information, a number of sub-data and a matching relationship, and match the number of signature information and the number of sub-data based on the matching relationship;

[0059] According to the number in the signature information, the encryption algorithm corresponding to the number is selected in turn to decrypt the associated information corresponding to the number to obtain several groups of associated information. According to the coding in the associated information, several energy storage data are added to the corresponding positions in the corresponding sub-data to obtain decrypted data.

[0060] Specifically, the verification of decrypted data includes:

[0061] Extract the decrypted data, process the decrypted data through a hash function, and obtain a correction value;

[0062] The correction value is compared with several verification values ​​in the blockchain; if there is a hash value identical to the correction value in the verification pool, the credibility of the corresponding sub-data is marked as completely credible; otherwise, the credibility of the corresponding sub-data is marked as not completely credible.

[0063] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.

[0064] The working principle of the present invention is as follows: it is used to obtain energy storage data of an energy storage system; the energy storage data is split into a plurality of sub-data based on the data type and the acquisition time; the plurality of sub-data are processed to generate verification values ​​and are uploaded to a chain, the plurality of sub-data are respectively encrypted by a plurality of encryption algorithms in an encryption library and corresponding signature information is generated, the transmission data is encrypted by an asymmetric algorithm to obtain encrypted data; the encrypted data is sent to a receiving end, and when the receiving end of the data needs to decrypt the data, the encrypted data is decrypted by a private key, and the sub-data is restored by the signature information, and the restored data is verified to obtain the credibility of the data.

[0065] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A data credibility verification system for energy storage system, It is characterized in that include: Data acquisition module, data processing module and data verification module; The data acquisition module is used to acquire energy storage data of the energy storage system; and split the energy storage data into a plurality of sub-data based on data type and acquisition time; The data processing module: encrypts a plurality of sub-data by using a plurality of encryption algorithms and generates corresponding signature information; and Process several sub-data to generate verification values ​​and upload them to the chain; encrypt the transmission data through an asymmetric algorithm to obtain encrypted data; wherein the transmission data includes several signature information, several sub-data and matching relationships; The data verification module is used to decrypt the encrypted data to obtain the decrypted data; and verify the decrypted data to obtain the verification result.

2. A data credibility verification system for an energy storage system according to claim 1, It is characterized in that The energy storage data is divided into several sub-data based on data type and acquisition time, including: The energy storage data is extracted, and the energy storage data is classified according to the set period to obtain several groups of period data. The energy storage data in the period data is divided into several groups of period data according to the purpose to obtain several sub-data.

3. A data credibility verification system for an energy storage system according to claim 1, It is characterized in that The method of encrypting a plurality of sub-data by using a plurality of encryption algorithms and generating corresponding signature information includes: Encode several energy storage data in the sub-data in sequence to obtain a coding pool; randomly extract several energy storage data and codes corresponding to the several energy storage data from the coding pool, associate the several energy storage data with the corresponding codes, and obtain several groups of associated information; The encryption algorithms in the encryption library are numbered to obtain a number pool; based on the encryption algorithms in the encryption library, several groups of associated information are encrypted and signature information is generated.

4. A data credibility verification system for an energy storage system according to claim 3, It is characterized in that The encryption algorithm in the encryption library is used to encrypt several groups of associated information and generate signature information, including: The encryption algorithms corresponding to several numbers are randomly selected from the number pool to encrypt several groups of associated information in turn, and the numbers corresponding to the several encryption algorithms are integrated according to the encryption order of the associated information to obtain the signature information.

5. A data credibility verification system for an energy storage system according to claim 1, It is characterized in that The processing of the plurality of sub-data to generate a verification value and uploading the verification value to the chain includes: A number of sub-data are processed through a hash function to obtain a verification pool; a number of verification values ​​are sent to the blockchain for storage; wherein the verification pool is composed of hash values ​​corresponding to the number of sub-data.

6. A data credibility verification system for an energy storage system according to claim 1, It is characterized in that The encrypting of the plurality of signature information and the plurality of sub-data by an asymmetric algorithm includes: Extract a number of signature information and a number of corresponding sub-data, match the number of signature information with the corresponding sub-data to obtain a matching relationship; encrypt the signature information, the number of sub-data and the matching relationship through a public key to obtain encrypted data.

7. A data credibility verification system for an energy storage system according to claim 1, It is characterized in that The decrypting of the encrypted data comprises: Decrypt the encrypted data using the private key to obtain a number of signature information, a number of sub-data and a matching relationship, and match the number of signature information and the number of sub-data based on the matching relationship; According to the number in the signature information, the encryption algorithm corresponding to the number is selected in turn to decrypt the associated information corresponding to the number to obtain several groups of associated information. According to the coding in the associated information, several energy storage data are added to the corresponding positions in the corresponding sub-data to obtain decrypted data.

8. A data credibility verification system for an energy storage system according to claim 1, It is characterized in that The verifying of the decrypted data includes: Extract the decrypted data, process the decrypted data through a hash function, and obtain a correction value; The correction value is compared with several verification values ​​in the blockchain; if there is a hash value identical to the correction value in the verification pool, the credibility of the corresponding sub-data is marked as completely credible; otherwise, the credibility of the corresponding sub-data is marked as not completely credible.