Battery cell data management method, battery management system and battery cell data management system
By adopting the battery cell data management method of encryption, sharding and blockchain network verification in multiple battery management systems, the problem of insufficient data security in battery cell data management is solved, and high security and integrity in battery cell data transmission and storage process is achieved.
Patent Information
- Application Number
- CN202510227132.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-27
- Publication Date
- 2025-05-30
AI Technical Summary
There is a problem of insufficient data security in the data management process of existing battery cells, especially in data transmission and storage, which are susceptible to tampering and privacy leakage.
By implementing a battery cell data management method in multiple battery management systems, the method includes sending a data submission request to the blockchain network, encrypting and sharding the battery cell data, and ensuring the integrity and security of the data through mutual verification, and ultimately storing the shard data to the storage system and the blockchain network.
Through the verification mechanism of encryption, sharding and blockchain network, this method significantly improves the security of battery cell data transmission and storage, prevents data tampering and privacy leakage, and ensures the authenticity and reliability of the data.
Smart Images

Figure CN120074927A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and specifically provides a method for managing cell data, a battery management system, and a cell data management system. Background Art
[0002] As one of the core components of an energy storage system, the performance of a battery is directly related to the stability and safety of the entire energy storage system. Therefore, the management of cell health data is crucial and of great significance for predicting cell life, optimizing the battery management system, and ensuring the safety of the energy storage system. However, the traditional methods of storing and transmitting cell health data have risks such as data being easily tampered with and privacy leakage, which not only affect the authenticity and reliability of the data but also pose a threat to the privacy and security of users.
[0003] In response to this, in related technologies, blockchain is used to manage cell health data, but there are still problems with insufficient data security. Summary of the Invention
[0004] This application aims to solve the above technical problems, that is, to solve the problem of insufficient data security in the existing process of managing cell data.
[0005] In a first aspect, this application provides a method for managing cell data, which is implemented based on any one of multiple battery management systems. The method includes:
[0006] Sending a data submission request to a blockchain network;
[0007] In response to the instruction that the data submission request passes, encrypting the cell data to obtain encrypted cell data;
[0008] Performing sharding processing on the encrypted cell data to obtain a plurality of first fragment data;
[0009] Decrypting the encrypted cell data to obtain first decrypted cell data, and obtaining second decrypted cell data transmitted by other battery management systems in the plurality of battery management systems, and mutually verifying the first decrypted cell data and the second decrypted cell data;
[0010] When the verification passes, storing the plurality of first fragment data in a storage system, and storing the storage information corresponding to the plurality of first fragment data in the blockchain network, where the storage information includes at least the storage location.
[0011] In some embodiments, the sending a data submission request to a blockchain network includes:
[0012] In response to a user's data submission instruction, sending a data submission request to the blockchain network.
[0013] In some embodiments, before sending the data submission request to the blockchain network, the method further includes:
[0014] Authenticate the user, and when it is determined based on the authentication result that the user has the data submission permission, send a data submission request to the blockchain network.
[0015] In some embodiments, encrypting the cell data includes: encrypting the cell data using an encryption algorithm different from that of other battery management systems among the multiple battery management systems.
[0016] In some embodiments, after performing sharding processing on the encrypted cell data to obtain multiple first fragment data, the method further includes:
[0017] Encrypt each of the multiple first fragment data using a hash algorithm to obtain first hash values of the multiple first fragment data, and the storage information further includes the first hash values.
[0018] In some embodiments, after performing mutual verification on the first decrypted cell data and the second decrypted cell data, the method further includes:
[0019] When the verification passes, perform sharding processing on the first decrypted cell data to obtain multiple second fragment data, and obtain second hash values of the multiple second fragment data;
[0020] Compare the second hash values of the multiple second fragment data with the first hash values of the multiple first fragment data, and when the comparison result is the same, store the multiple first fragment data in a storage system, and store the storage information corresponding to the multiple first fragment data in the blockchain network.
[0021] In some embodiments, storing the multiple first fragment data in a storage system includes:
[0022] Store the multiple first fragment data in a distributed storage system.
[0023] In some embodiments, performing sharding processing on the encrypted cell data includes:
[0024] Perform sharding processing on the encrypted cell data based on at least one of the importance level, CPU utilization rate, memory occupancy rate, and data growth amount within a preset period of the encrypted cell data.
[0025] In some embodiments, the method further includes:
[0026] Send a cell data extraction request to the blockchain network;
[0027] When the cell data extraction request is passed, obtain the storage information of the cell data to be extracted from the blockchain network, and extract a plurality of first fragment data from the storage system based on the storage information;
[0028] Recombine and decrypt the plurality of first fragment data to obtain the extracted cell data.
[0029] In some embodiments, after recombining and decrypting the plurality of first fragment data to obtain the extracted cell data, the method further includes:
[0030] Obtain the cell data extracted by the remaining battery management systems among the plurality of battery management systems;
[0031] Compare the cell data extracted by the remaining battery management systems with the cell data extracted by itself;
[0032] When the comparison is consistent, store the cell data extracted by itself.
[0033] In some embodiments, before storing the cell data extracted by itself, the method further includes:
[0034] When the comparison is consistent, perform sharding processing on the cell data extracted by itself to obtain a plurality of third fragment data, and obtain the third hash values of the plurality of third fragment data;
[0035] Compare the third hash values of the plurality of third fragment data with the first hash values of the plurality of first fragment data, and when the comparison result is the same, store the cell data extracted by itself.
[0036] In a second aspect, the present application provides a cell data management method, which is implemented based on a plurality of battery management systems, and the method includes:
[0037] The plurality of battery management systems respectively send data submission requests to the blockchain network;
[0038] In response to the instruction that the data submission request is passed, the plurality of battery management systems respectively encrypt the cell data to obtain their respective encrypted cell data;
[0039] The plurality of battery management systems respectively perform sharding processing on their respective encrypted cell data to obtain a plurality of first fragment data;
[0040] The plurality of battery management systems respectively decrypt their respective encrypted cell data to obtain their respective decrypted cell data;
[0041] Any one of the multiple battery management systems transmits its decrypted cell data to other battery management systems among the multiple battery management systems, and the other battery management systems perform mutual verification on the received decrypted cell data and their own decrypted cell data;
[0042] When the verification passes, the multiple battery management systems respectively store their respective multiple first segment data in the storage system, and store the storage information corresponding to their respective multiple first segment data in the blockchain network, where the storage information at least includes the storage location.
[0043] In a third aspect, the present application provides a battery management system configured to execute any one of the above-mentioned cell data management methods implemented based on any one of the multiple battery management systems.
[0044] In a fourth aspect, the present application provides a cell data management system, which includes multiple battery management systems configured to execute the above-mentioned cell data management method implemented based on multiple battery management systems.
[0045] In the case of adopting the above technical solutions, the present application can be implemented by using any one of multiple battery management systems (Battery Management System, BMS). By sending a data submission request to the blockchain network; in response to an instruction that the data submission request passes, encrypting the cell data to obtain encrypted cell data; performing sharding processing on the encrypted cell data to obtain multiple first segment data; decrypting the encrypted cell data to obtain first decrypted cell data, and obtaining second decrypted cell data transmitted by other battery management systems among the multiple battery management systems, and performing mutual verification on the first decrypted cell data and the second decrypted cell data; when the verification passes, storing the multiple first segment data in the storage system, and storing the storage information corresponding to the multiple first segment data in the blockchain network, where the storage information at least includes the storage location. This method can further improve the security of the cell data transmission process and storage process by performing mutual verification on its own decrypted cell data and the decrypted cell data of other BMSs among the multiple BMSs. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The following describes the preferred embodiments of the present application with reference to the drawings, in which:
[0047] Figure 1 is a schematic flowchart of the main steps of a cell data management method applied to a BMS provided by an embodiment of the present application;
[0048] Figure 2It is a schematic flow chart of a method for managing cell data provided by another embodiment of the present application;
[0049] Figure 3 It is a schematic flow chart of a method for extracting cell data provided by an embodiment of the present application;
[0050] Figure 4 It is a schematic flow chart of a method for extracting cell data provided by another embodiment of the present application;
[0051] Figure 5 It is a schematic flow chart of a method for managing cell data implemented based on multiple BMSs provided by an embodiment of the present application;
[0052] Figure 6 It is a schematic flow chart of a method for managing cell data based on a first BMS and a second BMS provided by an embodiment of the present application;
[0053] Figure 7 It is a schematic flow chart of a method for fragmenting and processing encrypted cell data provided by an embodiment of the present application;
[0054] Figure 8 It is a schematic structural diagram of a cell data management system provided by an embodiment of the present application. Detailed implementation manners
[0055] The following describes some embodiments of the present application with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principle of the present application and are not intended to limit the protection scope of the present application.
[0056] Based on the description in the background art section, it can be known that in the related art, the health data of cells is managed based on the blockchain, but there is still a problem of insufficient data transmission security. In view of this, the present application provides a method for managing cell data, which can be implemented based on any one of multiple BMSs. Refer to Figure 1 as shown Figure 1 It is a schematic main step flow chart of a method for managing cell data applied to a BMS provided by an embodiment of the present application, which may include:
[0057] Step S11: Send a data submission request to the blockchain network;
[0058] Step S12: In response to the instruction that the data submission request is passed, encrypt the cell data to obtain encrypted cell data;
[0059] Step S13: Perform fragmentation processing on the encrypted cell data to obtain a plurality of first fragment data;
[0060] Step S14: Decrypt the encrypted cell data to obtain the first decrypted cell data, and acquire the second decrypted cell data transmitted by other battery management systems among multiple battery management systems, and perform mutual verification on the first decrypted cell data and the second decrypted cell data;
[0061] When the verification passes, execute Step S15: Store multiple first fragment data in the storage system, and store the storage information corresponding to the multiple first fragment data in the blockchain network, where the storage information includes at least the storage location.
[0062] Among them, multiple BMSs can communicate with each other, multiple BMSs can all collect cell data, communicate with the same blockchain network, and multiple BMSs can also communicate with the same storage system.
[0063] In some embodiments, before Step S11, it may also include collecting cell data, where the cell data may include parameters such as the capacity, temperature, and internal resistance of the cell.
[0064] In some embodiments, Step S11 may be that the BMS directly sends a data submission request to the blockchain network; in other embodiments, Step S11 may be that the BMS sends a data submission request to the blockchain network in response to the user's data submission instruction.
[0065] In some embodiments, Step S12 may specifically be: Encrypt the cell data using an encryption algorithm different from that of other battery management systems among multiple battery management systems.
[0066] In some embodiments, the cell data may be encrypted using a symmetric encryption algorithm or an asymmetric encryption algorithm. The symmetric encryption algorithm may include DES (Data Encryption Standard), AES (Advanced Encryption Standard), RC4 (Rivest Cipher 4, but it is a type of stream encryption algorithm), IDEA (International Data Encryption Algorithm), and the asymmetric encryption algorithm may include the RSA algorithm, ECC (Elliptic Curves Cryptography), and DSA (Digital Signature Algorithm).
[0067] In some embodiments, Step S13 may specifically be:
[0068] Fragment the encrypted battery cell data based on at least one of the importance level of the encrypted battery cell data, the CPU (Central Processing Unit) utilization rate, the memory occupancy rate, and the data growth amount within a preset time period.
[0069] In some embodiments, the size and quantity of the fragments can be determined based on at least one of the importance level of the encrypted battery cell data, the CPU utilization rate, the memory occupancy rate, and the data growth amount within a preset time period, and the encrypted battery cell data is fragmented according to the determined size and quantity.
[0070] In some embodiments, the importance level of the encrypted battery cell data can be determined based on whether the data access frequency meets a preset condition. For example, the higher the access frequency, the higher the importance level. In other embodiments, it can also be determined by comparing the data access frequency with the average data access frequency within a historical time period, and the importance level is determined according to the comparison relationship. For example, if it is twice the average data access frequency within the historical time period, the importance level is determined as "high".
[0071] In some embodiments, when fragmenting the encrypted battery cell data based on the importance level, the higher the importance level, the smaller the fragment size to ensure a certain redundancy; the lower the importance level, the larger the fragment size to improve the fragmentation efficiency. As an example, the importance level can include three levels: "high", "medium", and "low". When the importance level is "high", a fragment size of 1KB - 16KB can be used; when the importance level is "medium", a fragment size of 16KB - 64KB can be used; when the importance level is "low", a fragment size of 64KB - 256KB can be used.
[0072] When fragmenting based on the CPU utilization rate, when the CPU utilization rate is high, a relatively small fragment size can be used or the number of fragments can be increased to disperse the load and reduce the processing time of a single task. As an example, when the CPU utilization rate continuously exceeds 80%, it indicates a high system load. At this time, the fragment size can be considered to be reduced to reduce the processing time of a single task, or the number of fragments can be increased to disperse the load.
[0073] When fragmenting based on the memory occupancy rate, the larger the memory occupancy rate, the smaller the available memory, and the relatively resources are more tense, and a larger fragment size can be used. In some embodiments, the available memory can also be determined based on the memory occupancy rate, and it is determined whether the available memory exceeds a preset percentage of the total memory. If so, a relatively large fragment size is used accordingly. In some embodiments, if the available memory is lower than 20% of the total memory, it is prompted that the resources are tense, and the fragment size is appropriately adjusted to be larger to release more memory space.
[0074] When performing sharding based on the data growth amount within a preset time period, it is possible to determine whether to adopt a larger sharding size based on whether the data growth amount exceeds a preset percentage of the historical average growth amount, so as to reasonably allocate resources. As an example, when the data growth amount within the preset time period exceeds 20% of the historical average growth amount, a larger sharding size is adopted.
[0075] In some embodiments, when performing sharding processing on the encrypted battery cell data based on the importance level of the encrypted battery cell data, CPU utilization rate, memory occupancy rate, and the data growth amount within a preset time period, it may further include:
[0076] Determining an initial range of the sharding size based on the CPU utilization rate;
[0077] Determining whether to increase the sharding size based on the memory occupancy rate, the data growth amount within the preset time period, and the importance level;
[0078] When it is determined that the sharding size needs to be increased based on at least one of the memory occupancy rate, the data growth amount within the preset time period, and the importance level, adjusting the initial range to obtain the target sharding size.
[0079] In some embodiments, decrypting the encrypted battery cell data in step S14 may specifically be that when using a symmetric encryption algorithm for encryption, the same key is used for both the encryption process and the decryption process. Correspondingly, the encrypted battery cell data can be decrypted with the same key; when using an asymmetric encryption algorithm for encryption, in the encryption process, the public key is specifically used for encryption, and the corresponding private key is used to decrypt the encrypted battery cell data.
[0080] In some embodiments, mutually verifying the first decrypted battery cell data and the second decrypted battery cell data in step S14 may be to determine whether the first decrypted battery cell data and the second decrypted battery cell data are consistent. If so, the verification passes.
[0081] Because multiple BMS systems are used to submit the same battery cell data, therefore, when the verification passes, it can be determined that the battery cell data has not been tampered with. The method of mutual verification can improve the security of data transmission.
[0082] In some embodiments, storing the multiple first fragment data in the storage system in step S15 may include: storing the multiple first fragment data in a distributed storage system to further improve the security of the data.
[0083] The above is a method for managing cell data provided by an embodiment of the present application, which can be implemented based on any one of multiple BMSs. By sending a data submission request to the blockchain network; in response to an instruction that the data submission request passes, encrypting the cell data to obtain encrypted cell data; performing sharding processing on the encrypted cell data to obtain multiple first fragment data; decrypting the encrypted cell data to obtain first decrypted cell data, and obtaining second decrypted cell data transmitted by other battery management systems in multiple battery management systems, and mutually verifying the first decrypted cell data and the second decrypted cell data; when the verification passes, storing the multiple first fragment data in a storage system, and storing storage information corresponding to the multiple first fragment data in the blockchain network, where the storage information at least includes a storage location. This method can further improve the security of cell data during the transmission and storage processes by mutually verifying its own decrypted cell data and the decrypted cell data of other BMSs in multiple BMSs.
[0084] In some embodiments, as shown in Figure 2 shown, Figure 2 is a flowchart of a method for managing cell data provided by another embodiment of the present application, which may include:
[0085] Step S20: Receive a data submission instruction from a user and authenticate the user;
[0086] When it is determined based on the authentication result that the user has the data submission permission, execute step S21: In response to the user's data submission instruction, send a data submission request to the blockchain network;
[0087] Step S22: In response to an instruction that the data submission request passes, encrypt the cell data to obtain encrypted cell data;
[0088] Step S23: Perform sharding processing on the encrypted cell data to obtain multiple first fragment data;
[0089] Step S24: Encrypt each of the multiple first fragment data using a hash algorithm to obtain first hash values of the multiple first fragment data;
[0090] Step S25: Decrypt the encrypted cell data to obtain first decrypted cell data, and obtain second decrypted cell data transmitted by other battery management systems in multiple battery management systems, and mutually verify the first decrypted cell data and the second decrypted cell data;
[0091] When the verification passes, execute step S26: Perform sharding processing on the first decrypted cell data to obtain multiple second fragment data, and obtain second hash values of the multiple second fragment data;
[0092] Step S27: Compare the second hash values of multiple second fragment data with the first hash values of multiple first fragment data;
[0093] When the comparison result is the same, execute Step S28: Store multiple first fragment data in the storage system, and store the storage information corresponding to the multiple first fragment data in the blockchain network. The storage information includes at least the storage location.
[0094] Among them, Steps S22, S23, S25, and S28 can be implemented in the same manner as the corresponding steps in Steps S12 to S15. For the sake of brevity, they will not be elaborated here.
[0095] In some embodiments, Step S20 may specifically be to receive a data submission instruction from a user. The data submission instruction may include the identity identification information of the battery cell data to be submitted and the user's identity verification information such as username and password, etc.; the BMS compares the identity verification information submitted by the user with the pre-stored legitimate user identity information. When the comparison is consistent, that is, the identity verification is passed, it is determined that the user has the data submission permission.
[0096] In the embodiments of the present application, the first fragment data and the first hash value are in one-to-one correspondence, and the second fragment data and the second hash value are in one-to-one correspondence. In Step S26, the same method as in Step S23 can be used for sharding processing, and in Step S26, the same method as in Step S24 can be used to perform hash encryption on the sharded data. Thus, when the comparison result is the same, it can be determined that the first decrypted battery cell data and the encrypted battery cell data are consistent. When the comparison result is inconsistent, it can be determined that there is a risk of incomplete data or data tampering, which is beneficial to improving the security and integrity of battery cell data transmission.
[0097] The above is the battery cell data management method provided by another embodiment of the present application, which can achieve the same beneficial effects as Figure 1 the corresponding embodiment. In addition, by authenticating the user's identity, it is beneficial to improve the security of data submission. By encrypting multiple first fragment data, double encryption is beneficial to improving data security. At the same time, by performing sharding processing on the first decrypted battery cell data and obtaining the second hash value of the second fragment data, and comparing the second hash values of multiple second fragment data with the first hash values of multiple first fragment data, the integrity of the battery cell data can be determined, further improving the security of battery cell data management.
[0098] In some embodiments, the method may further include a battery cell data extraction process. Refer to Figure 3 as shown, Figure 3 which is a flowchart of the battery cell data extraction method provided by the embodiments of the present application. It can be implemented based on any one of multiple BMSs. The method may include:
[0099] Step S31: Send a request for extracting cell data to the blockchain network;
[0100] When the request for extracting cell data is approved, execute Step S32: Obtain the storage information of the cell data to be extracted from the blockchain network, and extract multiple first fragment data from the storage system based on the storage information;
[0101] Step S33: Recombine and decrypt the multiple first fragment data to obtain the extracted cell data.
[0102] In some embodiments, when the blockchain network receives a request for extracting cell data, it will authenticate the BMS that sends the request to avoid data leakage.
[0103] The storage information may include the storage location of the cell data to be extracted, or the storage location and the first hash value.
[0104] In some embodiments, in order to verify the validity of the data and avoid data tampering, after recombining and decrypting the multiple first fragment data to obtain the extracted cell data, as shown in Figure 3 shown, the method may further include:
[0105] Step S34: Obtain the cell data extracted by the remaining battery management systems among the multiple battery management systems;
[0106] Step S35: Compare the cell data extracted by the remaining battery management systems with the cell data extracted by itself;
[0107] When the comparison is consistent, execute Step S36: Store the cell data extracted by itself.
[0108] Among them, multiple BMSs are all configured to send requests for extracting cell data to the blockchain network to extract the same cell data.
[0109] In some embodiments, when the comparison is consistent, as shown in Figure 4 shown, before Step S36 stores the cell data extracted by itself, the method may further include:
[0110] Step S41: Fragment the cell data extracted by itself to obtain multiple third fragment data, and obtain the third hash value of the third fragment data;
[0111] Step S42: Compare the third hash value of the multiple third fragment data with the first hash value of the multiple first fragment data, so that when the comparison result is the same, then execute Step S36.
[0112] Among them, step S41 can adopt the same sharding processing method as step S23, and can adopt the same encryption method as step S24. By comparing the third hash value with the first hash value, the authenticity and integrity of the cell data can be verified.
[0113] On the other hand, the present application also provides a cell data management method, which is implemented based on multiple battery management systems. Refer to Figure 5 as shown in Figure 5 FIG. is a schematic flowchart of a cell data management method implemented based on multiple BMSs provided by an embodiment of the present application. The method may include:
[0114] Step S51: Multiple battery management systems respectively send data submission requests to the blockchain network;
[0115] Step S52: In response to the instruction that the data submission request passes, multiple battery management systems respectively encrypt the cell data to obtain their respective encrypted cell data;
[0116] Step S53: Multiple battery management systems respectively perform sharding processing on their respective encrypted cell data to obtain multiple first fragment data;
[0117] Step S54: Multiple battery management systems respectively decrypt their respective encrypted cell data to obtain their respective decrypted cell data;
[0118] Step S55: Any one of the multiple battery management systems transmits its own decrypted cell data to other battery management systems among the multiple battery management systems, and the other battery management systems perform mutual verification on the received decrypted cell data and their own decrypted cell data;
[0119] When the verification passes, step S56 is executed: Multiple battery management systems respectively store their respective multiple first fragment data in the storage system, and store the storage information corresponding to their respective multiple first fragment data in the blockchain network. The storage information includes at least the storage location.
[0120] Multiple BMSs can communicate with each other. Multiple BMSs can all collect cell data, communicate with the same blockchain network, and multiple BMSs can also communicate with the same storage system.
[0121] Among them, when executing steps S51-S53 and S56, any one of the multiple BMSs can correspondingly adopt the same method as steps S11-S13 and S15. It should be noted that multiple BMSs can use different encryption algorithms to encrypt the cell data.
[0122] When performing step S54, any one of the multiple BMSs can decrypt the encrypted cell data using the same method as in step S14.
[0123] In some embodiments, when other battery management systems in step S55 perform mutual verification on the received decrypted cell data and their own decrypted cell data, if the verification passes, it can be determined that the cell data submitted by the multiple BMSs is consistent, and other BMSs can transmit the verification passed result to the BMS system that sent them the decrypted cell data.
[0124] It should be noted that the current BMS can also receive the decrypted cell data sent by other BMSs, perform mutual verification on its own decrypted cell data and the decrypted cell data sent by other BMSs, and transmit the verification passed result to other BMSs when the verification passes.
[0125] In addition, multiple BMSs can all be configured to implement the methods described in any of the corresponding embodiments above Figures 2 to 4 and achieve the same beneficial effects. For specific details, please refer to the following description.
[0126] In some embodiments, multiple BMSs can include a first BMS and a second BMS. As shown in FIG. 6, Figure 6 is a schematic flowchart of a cell data management method based on the first BMS and the second BMS provided by an embodiment of the present application, which can include:
[0127] Step S60: The first BMS and the second BMS respectively receive a data submission instruction from the user and authenticate the user;
[0128] When it is determined based on the authentication result that the user has the data submission permission, step S61 is executed: The first BMS and the second BMS respectively respond to the data submission instruction of the user and send a data submission request to the blockchain network;
[0129] Step S62: The first BMS and the second BMS respectively encrypt the cell data in response to the instruction that the data submission request passes, to obtain encrypted cell data;
[0130] Step S63: The first BMS and the second BMS respectively perform sharding processing on their respective encrypted cell data to obtain their respective multiple first fragment data;
[0131] Step S64: The first BMS and the second BMS respectively encrypt their respective multiple first fragment data using a hash algorithm to obtain the first hash values of their respective multiple first fragment data;
[0132] Step S65: The first BMS and the second BMS respectively decrypt the encrypted cell data to obtain their respective decrypted cell data;
[0133] Step S66: The first BMS transmits its decrypted cell data to the second BMS;
[0134] Step S67: The second BMS performs mutual verification on the received decrypted cell data and its own decrypted cell data;
[0135] When the verification passes, the second BMS sends the result of the passed verification to the first BMS, and step S68 is executed: The first BMS and the second BMS respectively perform sharding processing on their own decrypted cell data to obtain multiple second fragment data, and obtain the second hash values of their respective multiple second fragment data;
[0136] Step S69: The first BMS and the second BMS compare the second hash values of their respective multiple second fragment data with the first hash values of their respective multiple first fragment data;
[0137] When the comparison result is the same, step S70 is executed: The first BMS and the second BMS store their respective multiple first fragment data in the storage system, and store the storage information corresponding to their respective multiple first fragment data in the blockchain network, where the storage information includes the storage location and the first hash values of the multiple first fragment data.
[0138] In some embodiments, the encrypted cell data can be sharded based on the importance level of the encrypted cell data, CPU utilization rate, memory occupancy rate, and data growth amount within a preset period. Refer to Figure 7 as shown in Figure 7 is a schematic flowchart of a method for processing sharding of encrypted cell data provided by an embodiment of the present application, which may include:
[0139] Compare the CPU utilization rate with at least one of a first threshold and a second threshold, and determine the initial range of the shard size according to the comparison result; wherein, the first threshold can be 85%, the second threshold can be 95%, when the CPU utilization rate is less than 85%, the initial range can be the first shard size range: 1KB - 16KB; when the CPU utilization rate is greater than 85% and less than 95%, the initial range can be the second shard size range: 16KB - 64KB; when the CPU utilization rate is greater than 95%, the initial range can be the third shard size range: 64KB - 254KB.
[0140] And, the following steps are respectively executed:
[0141] Judge whether the available memory is lower than 20% of the total memory, where the available memory can be obtained based on the total memory and the memory occupancy rate; judge whether the data growth amount within 1 hour exceeds 20% of the historical average growth amount; judge whether the actual importance level is "low".
[0142] If the judgment result of any of the above is yes, adjust to use a larger shard size to obtain the target shard size. Among them, when the available memory is lower than 20% of the total memory and / or the data growth amount within 1 hour exceeds 20% of the historical average growth amount, and the importance level is not "low", and the initial range is the first shard size range, the initial range can be adjusted to the second shard size range, or when the initial range is the second shard size range, the initial range can be adjusted to the third shard size range.
[0143] When the importance level is "low" and the initial range is the first shard size range or the second shard size range, the initial range can be directly adjusted to the third shard size range.
[0144] The above is a method for managing cell data based on multiple BMSs provided by an embodiment of the present application. This method stores the same cell data in a storage system and a blockchain network through multiple BMSs respectively, and mutually verifies the cell data based on multiple BMSs, which can effectively improve the security of data management and ensure the integrity and accuracy of data.
[0145] On the other hand, the present application also provides a battery management system, which is configured to execute the above Figures 1 to 4 cell data management method provided by any of the embodiments.
[0146] On the other hand, the present application also provides a cell data management system, which may include multiple battery management systems, and the multiple battery management systems are configured to execute the above Figure 5 or Figure 6 cell data management method provided by the corresponding embodiment.
[0147] In some embodiments, the cell data management system may further include a blockchain network and a storage system. Multiple BMSs can communicate with each other. Multiple BMSs can all collect cell data, communicate with the same blockchain network, and multiple BMSs can also communicate with the same storage system.
[0148] In some embodiments, as shown in Figure 8 shown, Figure 8 is a schematic structural diagram of a cell data management system provided by an embodiment of the present application, in which the multiple BMSs shown exemplarily include a first BMS and a second BMS, and the storage system may be a distributed storage system.
[0149] Among them, both the first BMS and the second BMS can be configured to obtain cell data, and receive a cell data submission request or a cell data extraction request from a user.
[0150] Both the first BMS and the second BMS may include an encryption and decryption module and a storage management module. The encryption and decryption module is used to encrypt the cell data to be uploaded or decrypt the extracted encrypted cell data. Among them, the first BMS and the second BMS may use different algorithms to encrypt the cell data to improve the security of data management. As an example, the first BMS may use the RSA algorithm for encryption, and the second BMS may use the ECC algorithm for encryption. The storage management module can be used to store the keys sent by the encryption and decryption module for subsequent decryption of the extracted encrypted cell data, and can also be used to store the extracted cell data.
[0151] The first BMS and the second BMS are also configured to fragment their respective encrypted cell data to obtain their respective multiple first fragment data, encrypt the multiple first fragment data using a hash algorithm, and store their respective multiple first fragment data in a distributed storage system.
[0152] Among them, the storage system may include a distributed storage module for distributed storage of the multiple first fragment data, and a key distribution and management module that can be used to store the first hash values of the multiple first fragment data.
[0153] The blockchain network may include a hash record module and a consensus mechanism module. The first BMS and the second BMS are also configured to store the storage information of their respective multiple first fragment data, such as storage locations and first hash values, in the blockchain network. The consensus mechanism module can be configured to verify the storage information. When the verification passes, the storage information can be stored in the blockchain. The hash record module can be used to record the first hash values in the storage information.
[0154] So far, the technical solution of the present application has been described in combination with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principle of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of the present application.
Claims
1. A cell data management method, characterized in that: Based on any one of a plurality of battery management systems, the method includes: Send data submission request to the blockchain network; In response to an instruction that the data submission request is passed, encrypting the cell data to obtain encrypted cell data; Slice the encrypted battery cell data to obtain a plurality of first fragment data; Decrypting the encrypted cell data to obtain first decrypted cell data, acquiring second decrypted cell data transmitted by other battery management systems among the multiple battery management systems, and mutually verifying the first decrypted cell data and the second decrypted cell data; When the verification passes, the multiple first fragment data are stored in the storage system, and the storage information corresponding to the multiple first fragment data is stored in the blockchain network, and the storage information at least includes the storage location.
2. The method according to claim 1, characterized in that The sending of a data submission request to the blockchain network includes: In response to the user's data submission instruction, a data submission request is sent to the blockchain network.
3. The method according to claim 2, characterized in that Before sending the data submission request to the blockchain network, the method further includes: The user is authenticated and, when it is determined based on the authentication result that the user has the authority to submit data, a data submission request is sent to the blockchain network.
4. The method according to claim 1, characterized in that: Encrypting the cell data includes: encrypting the cell data using an encryption algorithm different from that of other battery management systems in the multiple battery management systems.
5. The method according to claim 1, characterized in that After the encrypted cell data is fragmented to obtain a plurality of first fragment data, the method further includes: The multiple first fragment data are encrypted respectively using a hash algorithm to obtain first hash values of the multiple first fragment data, and the storage information also includes the first hash value.
6. The method according to claim 5, characterized in that After mutually verifying the first decrypted battery cell data and the second decrypted battery cell data, the method further includes: When the verification passes, the second first decrypted battery cell data is fragmented to obtain a plurality of second fragment data, and a second hash value of the plurality of second fragment data is obtained; The second hash values of the multiple second fragment data are compared with the first hash values of the multiple first fragment data, and when the comparison results are the same, the multiple first fragment data are stored in the storage system, and the storage information corresponding to the multiple first fragment data is stored in the blockchain network.
7. The method according to claim 1, characterized in that Storing the plurality of first fragment data in a storage system includes: The plurality of first fragment data are stored in a distributed storage system.
8. The method according to claim 1, characterized in that The slicing process of the encrypted cell data includes: The encrypted battery cell data is segmented based on at least one of an importance level of the encrypted battery cell data, a CPU utilization rate, a memory occupancy rate, and a data growth amount within a preset time period.
9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: Sending a cell data extraction request to the blockchain network; When the cell data extraction request is approved, the storage information of the cell data to be extracted is obtained from the blockchain network, and a plurality of first fragment data are extracted from the storage system based on the storage information; The plurality of first fragment data are reorganized and decrypted to obtain extracted cell data.
10. The method according to claim 9, characterized in that After the plurality of first fragment data are reorganized and decrypted to obtain the extracted cell data, the method further includes: Acquire battery cell data extracted by other battery management systems among the multiple battery management systems; Comparing the cell data extracted by the other battery management systems with the cell data extracted by the battery management system itself; When the comparison is consistent, the extracted battery cell data is stored.
11. The method according to claim 10, characterized in that Before storing the extracted cell data, the method further includes: When the comparison is consistent, the battery cell data brought up by itself is fragmented to obtain a plurality of third fragment data, and a third hash value of the plurality of third fragment data is obtained; The third hash values of the plurality of third segment data are compared with the first hash values of the plurality of first segment data, and when the comparison results are the same, the extracted cell data is stored.
12. A method for managing battery cell data, characterized in that: Based on multiple battery management systems, the method includes: The multiple battery management systems respectively send data submission requests to the blockchain network; In response to the instruction that the data submission request is passed, the multiple battery management systems encrypt the battery cell data respectively to obtain their own encrypted battery cell data; The multiple battery management systems respectively perform fragmentation processing on the respective encrypted battery cell data to obtain multiple first fragment data; The multiple battery management systems respectively decrypt the respective encrypted battery cell data to obtain respective decrypted battery cell data; Any one of the multiple battery management systems transmits its own decrypted cell data to other battery management systems in the multiple battery management systems, and the other battery management systems mutually verify the received decrypted cell data and their own decrypted cell data; When the verification passes, the multiple battery management systems respectively store their respective multiple first fragment data to the storage system, and store the storage information corresponding to their respective multiple first fragment data to the blockchain network, and the storage information at least includes the storage location.
13. A battery management system, characterized in that: The battery management system is configured to execute the battery cell data management method according to any one of claims 1 to 11.
14. A battery cell data management system, characterized in that: The system comprises a plurality of battery management systems, wherein the plurality of battery management systems are configured to execute the battery cell data management method according to claim 12.