Data exchange method in extreme environment

By processing the working status and historical life of lithium battery memory in extreme environments, and using data grouping, compression, and encryption units to process data, the problem of unsafe and untimely data exchange in traditional technology is solved, and safe and efficient data exchange is achieved. .

CN118400194BActive Publication Date: 2024-09-27SHAANXI QUARK AUTOMATIC CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410841552.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-27
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

In extreme environments, traditional data exchange technology fails to effectively consider memory working abnormalities, resulting in unsafe and untimely data exchange problems.

Method used

By receiving data exchange instructions, confirm the working status of the lithium battery, use the data grouping, compression, encryption and decryption unit to process the initial sequence data to ensure data exchange under the abnormal working status of the lithium battery, and judge the lithium battery through historical life screening and comprehensive evaluation. Battery status to ensure the security and timeliness of data transmission.

Benefits of technology

It achieves safe and efficient exchange of data in extreme environments, improves the accuracy and flexibility of data exchange, and ensures the integrity and security of data during transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400194B
    Figure CN118400194B
Patent Text Reader

Abstract

The present invention relates to the technical field of data exchange, and discloses a data exchange method and system under extreme environment, including: confirming a data exchange system and exchange data, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, after confirming that the lithium battery is in an abnormal working state, using a data grouping unit and exchange data to obtain an initial sequence data group, using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, based on the data transmission unit, performing a transmission operation on the encrypted data to obtain interactive data, after confirming that the exchange party has received the interactive data, using a data decryption unit, interactive data and a data decompression unit to obtain decompressed data, and after confirming that the decompressed data is the extracted identification data, the data exchange is realized. The present invention can realize the exchange of data safely and efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data exchange, and in particular to a data exchange method, system, electronic device and computer-readable storage medium under extreme conditions. Background Art

[0002] In extreme environments, traditional data exchange technology faces many challenges, such as easy damage to hardware, unstable signal transmission, and difficulty in ensuring data security. Correspondingly, how to achieve data exchange safely and efficiently is particularly important.

[0003] At present, the main data exchange technology for extreme environments is: adaptive communication technology.

[0004] Although the above method can realize data exchange in extreme environments, it does not take into account the abnormal operation of the memory when exchanging data, resulting in problems such as unsafe data exchange and untimely data exchange. Summary of the invention

[0005] The present invention provides a data exchange method, system and computer-readable storage medium in an extreme environment, the main purpose of which is to achieve data exchange safely and efficiently.

[0006] To achieve the above object, the present invention provides a data exchange method in an extreme environment, comprising:

[0007] Receive a data exchange instruction, and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit;

[0008] After confirming that the working state of the lithium battery is an abnormal working state, an initial sequence data group is obtained by using the data grouping unit and the exchange data, wherein the initial sequence data group includes one or more groups of identification data;

[0009] Extract identification data from the initial sequence data set in sequence, and perform the following operations on the extracted identification data:

[0010] Using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit to perform a transmission operation on the encrypted data to obtain interactive data;

[0011] After confirming that the exchange party has received the interactive data, the data decryption unit, the interactive data and the data decompression unit are used to obtain the decompressed data, and after confirming that the decompressed data is the extracted identification data, the data exchange is realized.

[0012] Optionally, after confirming that the working state of the lithium battery is an abnormal working state, the method includes:

[0013] Obtain a historical life set of a lithium battery, wherein the historical life set includes multiple reference lifespans;

[0014] The historical life set is screened using a pre-constructed life screening relationship to obtain a target life set, and the working state of the lithium battery is confirmed to be an abnormal working state based on the target life set, wherein the life screening relationship is as follows:

[0015] ;

[0016] Among them, B is the preset screening threshold, represents the i-th reference life among multiple reference lifespans, represents the jth reference lifespan among multiple reference lifespans, n represents the total number of n reference lifespans in the historical lifespan set, is a preset coefficient, and Greater than 0 and less than 1.

[0017] Optionally, the using a pre-constructed life screening relationship to screen the historical life set to obtain a target life set includes:

[0018] If the reference life in the historical life set satisfies the life screening relationship, the historical life set is confirmed as the target life set;

[0019] If there is a reference life in the historical life set that does not satisfy the life screening relationship, the reference life corresponding to the historical life set that does not satisfy the life screening relationship is eliminated, and the elimination value corresponding to the number of eliminated reference lifespans is recorded. If the elimination value reaches the preset elimination threshold, the eliminated life set is taken as the historical life set, wherein the eliminated life set is the historical life set after the reference life is eliminated, and the step of using the pre-constructed life screening relationship to filter the historical life set to obtain the target life set is returned until the historical life set is confirmed to be the target life set.

[0020] Optionally, the confirming that the working state of the lithium battery is an abnormal working state based on the target life set includes:

[0021] The life mean is obtained based on the target life set, where the life mean is the average of multiple reference lifespans in the target life set, and the comprehensive evaluation value is calculated using the life mean and the pre-built comprehensive evaluation relationship, where the comprehensive evaluation relationship is as follows:

[0022] ;

[0023] Among them, Z is the comprehensive evaluation value, are all preset coefficients. Indicates the actual usage time of lithium battery. represents the mean life span, Indicates abnormal values ​​of status parameters of lithium batteries;

[0024] The comprehensive evaluation value is compared with a preset evaluation threshold value. If the comprehensive evaluation value is greater than or equal to the evaluation threshold value, the working state of the lithium battery is an abnormal working state.

[0025] Optionally, the obtaining of the initial sequence data group by using the data grouping unit and exchanging data includes:

[0026] Performing a partitioning operation on the exchange data to obtain one or more groups of partitioned data, wherein the memory value corresponding to each group of partitioned data is less than or equal to a preset memory threshold, and each group of partitioned data includes one or more complete numerical data;

[0027] The time group number of the divided data is obtained, and an identification operation is performed on one or more groups of divided data using the time group number to obtain one or more groups of first identification data, wherein the time group number of the first identification data is identified, and the first identification data is sequentially extracted from the one or more groups of first identification data, and the following operations are performed on the extracted first identification data:

[0028] Acquire the identification group number based on the time corresponding to the extracted first identification data, perform an identification operation on the extracted first identification data using the identification group number, and obtain identification data, wherein the identification group number of the identification data is identified;

[0029] Aggregating the identification data to obtain one or more groups of identification data;

[0030] A sorting operation is performed on one or more groups of identification data in the order of the number of time groups from small to large to obtain an initial sequence data group.

[0031] Optionally, the number of identification groups is obtained based on the time corresponding to the extracted first identification data, as shown below:

[0032] ;

[0033] Where A represents the number of identification groups, are all preset coefficients, t represents the time corresponding to the extracted first identification data, represents a time processing function, [] represents a rounding operation, and c represents the memory value corresponding to the extracted first identification data.

[0034] Optionally, the using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data includes:

[0035] The encryption parameters are calculated using the number of identification groups corresponding to the compressed data and the pre-built encryption relationship, where the encryption relationship is as follows:

[0036] ;

[0037] Wherein, a represents an encryption parameter, random represents taking a random number, {} represents taking a prime number, and b is a preset coefficient, and b is greater than one;

[0038] Decryption parameters are obtained based on encryption parameters, public keys and private keys are obtained according to encryption parameters and decryption parameters, and encryption operations are performed on compressed data using the public key and data encryption unit to obtain encrypted data.

[0039] Optionally, acquiring the decryption parameter based on the encryption parameter includes:

[0040] The decryption parameters are calculated using the pre-built decryption equation and encryption parameters, where the decryption equation is as follows:

[0041] ;

[0042] Wherein, d represents the decryption parameter and G is the preset coefficient.

[0043] Optionally, the confirming that the decompressed data is the extracted identification data includes:

[0044] Obtaining decompression characteristic parameters of the decompressed data, wherein the decompression characteristic parameters include: decompression quantity, decompression mean and decompression variance, and obtaining initial characteristic parameters of the identification data, wherein the initial characteristic parameters include: initial quantity, initial mean and initial variance;

[0045] If the decompressed characteristic parameters and the initial characteristic parameters satisfy the pre-constructed judgment relational expression, the decompressed data is confirmed to be the extracted initial data, wherein the judgment relational expression is as follows:

[0046] ;

[0047] Among them, the value of e is 1, 2, 3, Respectively represent the initial quantity and the decompressed quantity, represent the initial mean and the decompressed mean respectively, denote the initial variance and decompressed variance respectively;

[0048] Otherwise, obtain secondary exchange data, wherein the secondary exchange data is identification data having the same time group number as the extracted identification data, and use the secondary exchange data as the identification data, and return to the step of using the data compression unit to perform compression operation on the extracted identification data to obtain compressed data.

[0049] In order to solve the above problems, the present invention further provides a data exchange system in an extreme environment, the system comprising:

[0050] An instruction receiving module is used to receive a data exchange instruction and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit;

[0051] A data exchange start module, used to obtain an initial sequence data group using the data grouping unit and exchange data after confirming that the working state of the lithium battery is an abnormal working state, wherein the initial sequence data group includes one or more groups of identification data;

[0052] The data exchange execution module is used to extract identification data from the initial sequence data group in sequence, and perform the following operations on the extracted identification data:

[0053] Using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit to perform a transmission operation on the encrypted data to obtain interactive data;

[0054] The data exchange verification module is used to confirm that after the exchange party receives the interactive data, it uses the data decryption unit, interactive data and data decompression unit to obtain the decompressed data, and after confirming that the decompressed data is the extracted identification data, realizes the exchange of data.

[0055] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0056] A memory storing at least one instruction; and a processor executing the instruction stored in the memory to implement the data exchange method under extreme environment described above.

[0057] In order to solve the above problem, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the data exchange method under extreme environment described above.

[0058] To solve the problem described in the background technology, an embodiment of the present invention receives a data exchange instruction, and confirms a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory with a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit and a data decompression unit. It can be seen that the data exchange environment proposed by the embodiment of the present invention is more in line with the storage environment of data in real life, that is, the data is stored in a memory with a lithium battery as a mobile power source. Furthermore, after confirming that the working state of the lithium battery is an abnormal working state, the data grouping unit and the exchange data are used to obtain the initial sequence data group. When the working state of the lithium battery is an abnormal working state, the data may not be stored due to damage to the memory. When judging that the working state of the lithium battery is an abnormal working state, both the use of the historical life set and the actual use of the lithium battery are considered to improve the accuracy of judging whether the working state of the lithium battery is an abnormal working state, thereby improving the timeliness of data exchange, and dividing a large amount of exchange data into multiple groups of identification data can improve the flexibility of data exchange during the data exchange process, and the time required for executing the transmission of each group of identification data should be less than the time required for executing the transmission of the exchange data, thereby improving the efficiency of data exchange. The extracted identification data is compressed by a data compression unit to obtain compressed data, the compressed data is encrypted by a data encryption unit to obtain encrypted data, and the encrypted data is transmitted based on the data transmission unit to obtain interactive data. It can be seen that the embodiment of the present invention considers compressing the identification data before transmitting the identification data, and encrypting the compressed data, and the highly random public key and private key used in encryption are used to improve the security and efficiency of the identification data during transmission. After confirming that the exchange party has received the interactive data, the decompressed data is obtained by using the data decryption unit, the interactive data and the data decompression unit. After confirming that the decompressed data is the extracted identification data, the data exchange is realized. It can be seen that the embodiment of the present invention also considers the damage or distortion of the data caused by the transmission process, and therefore verifies that the decompressed data is the identification data to improve the accuracy of the data after transmission. Therefore, the data exchange method, system, electronic device and computer-readable storage medium under extreme environment proposed by the present invention can realize the exchange of data safely and efficiently. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 A schematic diagram of a flow chart of a data exchange method under an extreme environment provided by an embodiment of the present invention;

[0060] Figure 2 A functional module diagram of a data exchange system in an extreme environment provided by an embodiment of the present invention;

[0061] Figure 3 A schematic diagram of the structure of an electronic device for implementing the data exchange method in extreme environments provided by an embodiment of the present invention.

[0062] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0063] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0064] The embodiment of the present application provides a method for exchanging data in an extreme environment. The execution subject of the data exchange method in the extreme environment includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the data exchange method in the extreme environment can be executed by software or hardware installed in a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0065] Reference Figure 1 FIG. 1 is a flow chart of a method for exchanging data in an extreme environment provided by an embodiment of the present invention. In this embodiment, the method for exchanging data in an extreme environment includes:

[0066] S1. Receive a data exchange instruction, and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit.

[0067] It is understandable that the data exchange instruction is an instruction issued by the data management personnel when the data exchange operation needs to be performed. The data exchange environment is the necessary environment constructed when the data exchange operation is performed. The data exchange system refers to an APP or applet used to exchange data, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit and a data decompression unit. For the application of the specific units, please refer to the subsequent embodiments.

[0068] Furthermore, numerical data is a data type that represents quantity and can perform numerical operations.

[0069] S2. After confirming that the working state of the lithium battery is an abnormal working state, an initial sequence data group is obtained by using the data grouping unit and the exchange data, wherein the initial sequence data group includes one or more groups of identification data.

[0070] Further, after confirming that the working state of the lithium battery is an abnormal working state, the method includes:

[0071] Obtain a historical life set of a lithium battery, wherein the historical life set includes multiple reference lifespans;

[0072] The historical life set is screened using a pre-constructed life screening relationship to obtain a target life set, and the working state of the lithium battery is confirmed to be an abnormal working state based on the target life set, wherein the life screening relationship is as follows:

[0073] ;

[0074] Among them, B is the preset screening threshold, represents the i-th reference life among multiple reference lifespans, represents the jth reference lifespan among multiple reference lifespans, n represents the total number of n reference lifespans in the historical lifespan set, is a preset coefficient, and Greater than 0 and less than 1.

[0075] It should be explained that the reference life is the actual service life of the lithium battery. Because, during the actual use of the lithium battery, due to accidental factors or human factors, the actual life of the lithium battery may deviate from the expected life. Therefore, it is necessary to perform screening on the historical life set to obtain the target life, thereby improving the accuracy of judging whether the working state of the lithium battery is an abnormal working state. For example: if the value of the right-hand inequality in the life screening relationship calculated by the third reference life among multiple reference lives is the largest, and the value of the right-hand inequality is greater than the screening threshold, then the third reference life among the multiple reference lives will be eliminated. The retained multiple reference lives constitute the eliminated life set.

[0076] It is understandable that the use of the pre-constructed life screening relationship to screen the historical life set to obtain the target life set includes:

[0077] If the reference life in the historical life set satisfies the life screening relationship, the historical life set is confirmed as the target life set;

[0078] If there is a reference life in the historical life set that does not satisfy the life screening relationship, the reference life corresponding to the historical life set that does not satisfy the life screening relationship is eliminated, and the elimination value corresponding to the number of eliminated reference lifespans is recorded. If the elimination value reaches the preset elimination threshold, the eliminated life set is taken as the historical life set, wherein the eliminated life set is the historical life set after the reference life is eliminated, and the step of using the pre-constructed life screening relationship to filter the historical life set to obtain the target life set is returned until the historical life set is confirmed to be the target life set.

[0079] It should be understood that the rejection value is the number of reference lifespans to be rejected. The purpose of setting the rejection value to reach the preset rejection threshold is to improve the accuracy of the target lifespan set obtained.

[0080] Further, the confirming that the working state of the lithium battery is an abnormal working state based on the target life set includes:

[0081] The life mean is obtained based on the target life set, where the life mean is the average of multiple reference lifespans in the target life set, and the comprehensive evaluation value is calculated using the life mean and the pre-built comprehensive evaluation relationship, where the comprehensive evaluation relationship is as follows:

[0082] ;

[0083] Among them, Z is the comprehensive evaluation value, are all preset coefficients. Indicates the actual usage time of lithium battery. represents the mean life span, Indicates abnormal values ​​of status parameters of lithium batteries;

[0084] The comprehensive evaluation value is compared with a preset evaluation threshold value. If the comprehensive evaluation value is greater than or equal to the evaluation threshold value, the working state of the lithium battery is an abnormal working state.

[0085] It should be understood that the default The purpose is to make the calculated life average larger, thereby reducing the impact of the historical life set on the judgment of the working state of the lithium battery, thereby improving the accuracy of judging that the working state of the lithium battery is an abnormal working state. For example, the average life of the lithium battery obtained from the historical data set is 10 years, while the actual use time of the lithium battery corresponding to the memory is only 7 years. The working state of the lithium battery is an abnormal working state, and it is necessary to quickly perform a transmission operation on the exchange data in the memory.

[0086] It is understandable that, optionally, the state parameter abnormal value is obtained by setting a window in the extended Kalman filter method and taking the mean value in the window as the state parameter abnormal value. This technology is prior art and will not be described in detail here.

[0087] It should be explained that the method of obtaining the initial sequence data group by using the data grouping unit and exchanging data includes:

[0088] Performing a partitioning operation on the exchange data to obtain one or more groups of partitioned data, wherein the memory value corresponding to each group of partitioned data is less than or equal to a preset memory threshold, and each group of partitioned data includes one or more complete numerical data;

[0089] The time group number of the divided data is obtained, and an identification operation is performed on one or more groups of divided data using the time group number to obtain one or more groups of first identification data, wherein the time group number of the first identification data is identified, and the first identification data is sequentially extracted from the one or more groups of first identification data, and the following operations are performed on the extracted first identification data:

[0090] Acquire the identification group number based on the time corresponding to the extracted first identification data, perform an identification operation on the extracted first identification data using the identification group number, and obtain identification data, wherein the identification group number of the identification data is identified;

[0091] Aggregating the identification data to obtain one or more groups of identification data;

[0092] A sorting operation is performed on one or more groups of identification data in the order of the number of time groups from small to large to obtain an initial sequence data group.

[0093] It should be explained that in extreme environments, when data is exchanged, it may be impossible to transmit large amounts of data in one go due to the instability of the data transmission path. Therefore, the data is divided to improve the flexibility of data exchange, thereby improving the efficiency of data exchange. In extreme environments, when data is exchanged, the instability of data exchange may cause the exchanged data to be inconsistent with the original data. Therefore, the operation of performing identification on the divided data is adopted to identify the number of groups of divided data, so as to facilitate re-exchange of the inconsistent group of divided data, thereby improving the accuracy and real-time performance of data exchange. The number of identified groups is a reference factor for performing encryption operations on the group of divided data. The number of time groups is the number of groups identified according to the order of time. When the memory value corresponding to the divided data is less than the memory threshold, and the group of divided data can no longer accommodate a complete numerical data, the complete numerical data corresponding to the current divided data is taken to constitute the group of divided data. In this way, the integrity of the numerical data in each group of divided data and the randomness of the memory value corresponding to each group of divided data are guaranteed. For example: a group of partitioned data includes 10 complete numerical data, and the memory value corresponding to the group of partitioned data is less than the memory threshold. If a numerical data is added to the group of partitioned data, that is, the group of partitioned data includes 11 complete numerical data, the memory value corresponding to the group of partitioned data is greater than the memory threshold, then 10 complete numerical data are taken to constitute the group of partitioned data.

[0094] Exemplarily, the exchange data has a total of 10GB, where the memory threshold is 1GB. After performing a partition operation on the partitioned data, 10 groups of partitioned data with a memory of 1GB are obtained. An identification operation is performed on the 10 groups of partitioned data in chronological order to obtain 10 groups of identification data. A sorting operation is performed on one or more groups of identification data in order from small to large time group numbers to obtain an initial sequence data group, where the initial sequence data group includes 10 identification data, and the time group number corresponding to the first identification data is 1, and the time corresponding to the identification data is the earliest compared to the time corresponding to other identification data.

[0095] Further, the number of identification groups is obtained based on the time corresponding to the extracted first identification data, as shown below:

[0096] ;

[0097] Where A represents the number of identification groups, are all preset coefficients, t represents the time corresponding to the extracted first identification data, represents a time processing function, [] represents a rounding operation, and c represents the memory value corresponding to the extracted first identification data.

[0098] It should be explained that the Indicates that the time corresponding to the extracted first identification data is converted to seconds, and the starting point is midnight. For example: 00:01 in the morning, it will be converted to 60s under the action of the processing function. The purpose of obtaining the number of identification groups is to improve the security of data during data exchange. For specific implementation methods, please refer to subsequent embodiments. Optionally, the rounding operation is rounding to the nearest integer. Other technologies can achieve the same effect, which will not be repeated here.

[0099] S3. Using the data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using the data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit, performing a transmission operation on the encrypted data to obtain interactive data.

[0100] It is understandable that performing a compression operation on identification data can improve the transmission efficiency of identification data in data exchange.

[0101] Exemplarily, Huffman coding is used to perform compression operation on the identification data to obtain compressed data. Other methods can achieve the same effect, which will not be described in detail here.

[0102] Further, the using the data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data includes:

[0103] The encryption parameters are calculated using the number of identification groups corresponding to the compressed data and the pre-built encryption relationship, where the encryption relationship is as follows:

[0104] ;

[0105] Wherein, a represents an encryption parameter, random represents taking a random number, {} represents taking a prime number, and b is a preset coefficient, and b is greater than one;

[0106] Decryption parameters are obtained based on encryption parameters, public keys and private keys are obtained according to encryption parameters and decryption parameters, and encryption operations are performed on compressed data using the public key and data encryption unit to obtain encrypted data.

[0107] It should be explained that the operation of taking prime numbers can be obtained from A plurality of different prime numbers are taken from the calculation result. The randomness of the prime numbers taken can be further improved by taking random numbers, thereby improving the security of compressed data encryption. Optionally, the method of taking prime numbers is: Eratosthenes sieve method. Other technologies can achieve the same effect, which will not be described here. The operation of encrypting compressed data using a public key is a prior art, which will not be described here. Optionally, the encrypted data can be transmitted through a network. Other technologies can achieve the same effect, which will not be described here.

[0108] Further, the obtaining of decryption parameters based on encryption parameters includes:

[0109] The decryption parameters are calculated using the pre-built decryption equation and encryption parameters, where the decryption equation is as follows:

[0110] ;

[0111] Wherein, d represents the decryption parameter and G is the preset coefficient.

[0112] S4. After confirming that the exchange party has received the interactive data, the data decryption unit, the interactive data and the data decompression unit are used to obtain the decompressed data. After confirming that the decompressed data is the extracted identification data, the data exchange is realized.

[0113] It should be explained that the confirming that the decompressed data is the extracted identification data includes:

[0114] Obtaining decompression characteristic parameters of the decompressed data, wherein the decompression characteristic parameters include: decompression quantity, decompression mean and decompression variance, and obtaining initial characteristic parameters of the identification data, wherein the initial characteristic parameters include: initial quantity, initial mean and initial variance;

[0115] If the decompressed characteristic parameters and the initial characteristic parameters satisfy the pre-constructed judgment relational expression, the decompressed data is confirmed to be the extracted initial data, wherein the judgment relational expression is as follows:

[0116] ;

[0117] Among them, the value of e is 1, 2, 3, Respectively represent the initial quantity and the decompressed quantity, represent the initial mean and the decompressed mean respectively, denote the initial variance and decompressed variance respectively;

[0118] Otherwise, obtain secondary exchange data, wherein the secondary exchange data is identification data having the same time group number as the extracted identification data, and use the secondary exchange data as the identification data, and return to the step of using the data compression unit to perform compression operation on the extracted identification data to obtain compressed data.

[0119] It is understandable that the initial number and the decompressed number are the number of numerical data included in the identification data and the number of numerical data included in the decompressed data, respectively, the initial mean and the decompressed mean are the mean of the numerical data included in the identification data and the mean of the numerical data included in the decompressed data, respectively, and the initial variance and the decompressed variance are the variance of the numerical data included in the identification data and the variance of the numerical data included in the decompressed data, respectively. By comparing the decompressed characteristic parameters with the initial characteristic parameters, it is possible to determine whether the decompressed data is distorted, that is, it differs from the identification data. If both the decompressed characteristic parameters and the initial characteristic parameters satisfy the judgment relationship, it is determined that the decompressed data is not distorted.

[0120] It should be understood that the method of obtaining decompressed data by using a data decryption unit, an interactive data and a data decompression unit includes:

[0121] Obtaining decrypted data using the private key, the data decryption unit and the exchange data;

[0122] The decrypted data is decompressed by a data decompression unit to obtain decompressed data.

[0123] It is understandable that using a private key to perform a decryption operation on the exchanged data is a prior art and will not be described in detail here. Using a data decompression unit to decompress the decrypted data is also a prior art and will not be described in detail here.

[0124] Furthermore, the exchanged data may be distorted due to factors such as the exchange path, so the secondary exchange data is obtained and the transmission operation is performed again on the distorted data until the transmitted data is no longer distorted, thereby realizing the exchange of data. Thus, the accuracy of the data in the exchange process is improved, and the number of identification groups obtained is different each time the operation is repeated, and thus, the public key and secret key generated during the repeated operation may also be different, thereby improving the security of data transmission.

[0125] Exemplarily, there are 10 groups of identification data that need to be exchanged. After performing a transmission operation on the first group of identification data, decompressed data corresponding to the first group of identification data is obtained. If the decompressed characteristic parameters corresponding to the decompressed data and the initial characteristic parameters corresponding to the first group of identification data do not satisfy the judgment relationship, the transmission operation is performed again on the first group of identification data, and the encryption operation is performed again on the first group of identification data. The transmission of the first group of identification data is realized until the decompressed characteristic parameters corresponding to the first group of identification data and the initial characteristic parameters satisfy the judgment relationship.

[0126] To solve the problem described in the background technology, an embodiment of the present invention receives a data exchange instruction, and confirms a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory with a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit and a data decompression unit. It can be seen that the data exchange environment proposed by the embodiment of the present invention is more in line with the storage environment of data in real life, that is, the data is stored in a memory with a lithium battery as a mobile power source. Furthermore, after confirming that the working state of the lithium battery is an abnormal working state, the data grouping unit and the exchange data are used to obtain the initial sequence data group. When the working state of the lithium battery is an abnormal working state, the data may not be stored due to damage to the memory. When judging that the working state of the lithium battery is an abnormal working state, both the use of the historical life set and the actual use of the lithium battery are considered to improve the accuracy of judging whether the working state of the lithium battery is an abnormal working state, thereby improving the timeliness of data exchange, and dividing a large amount of exchange data into multiple groups of identification data can improve the flexibility of data exchange during the data exchange process, and the time required for executing the transmission of each group of identification data should be less than the time required for executing the transmission of the exchange data, thereby improving the efficiency of data exchange. The extracted identification data is compressed by a data compression unit to obtain compressed data, the compressed data is encrypted by a data encryption unit to obtain encrypted data, and the encrypted data is transmitted based on the data transmission unit to obtain interactive data. It can be seen that the embodiment of the present invention considers compressing the identification data before transmitting the identification data, and encrypting the compressed data, and the highly random public key and private key used in encryption are used to improve the security and efficiency of the identification data during transmission. After confirming that the exchange party has received the interactive data, the decompressed data is obtained by using the data decryption unit, the interactive data and the data decompression unit. After confirming that the decompressed data is the extracted identification data, the data exchange is realized. It can be seen that the embodiment of the present invention also considers the damage or distortion of the data caused by the transmission process, and therefore verifies that the decompressed data is the identification data to improve the accuracy of the data after transmission. Therefore, the data exchange method, system, electronic device and computer-readable storage medium under extreme environment proposed by the present invention can realize the exchange of data safely and efficiently.

[0127] like Figure 2 FIG. 1 is a functional module diagram of a data exchange system under extreme environment provided by an embodiment of the present invention.

[0128] The data exchange system 100 under extreme environment of the present invention can be installed in an electronic device. According to the functions to be implemented, the data exchange system 100 under extreme environment can include an instruction receiving module 101, a data exchange starting module 102, a data exchange execution module 103 and a data exchange verification module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.

[0129] The instruction receiving module 101 is used to receive a data exchange instruction and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit;

[0130] The data exchange start module 102 is used to obtain an initial sequence data group using the data grouping unit and the exchange data after confirming that the working state of the lithium battery is an abnormal working state, wherein the initial sequence data group includes one or more groups of identification data;

[0131] The data exchange execution module 103 is used to extract identification data from the initial sequence data group in sequence, and perform the following operations on the extracted identification data:

[0132] Using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit to perform a transmission operation on the encrypted data to obtain interactive data;

[0133] The data exchange verification module 104 is used to confirm that the exchange party has received the interactive data, and then obtain the decompressed data using the data decryption unit, interactive data and data decompression unit, and after confirming that the decompressed data is the extracted identification data, the data exchange is realized.

[0134] like Figure 3 FIG. 1 is a schematic diagram of the structure of an electronic device for implementing a method for exchanging data in an extreme environment provided by an embodiment of the present invention.

[0135] The electronic device 1 may include a processor 10, a memory 11, a bus 12 and a communication interface 13, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a data exchange program in an extreme environment.

[0136] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the data exchange program in extreme environments, but also be used to temporarily store data that has been output or is to be output.

[0137] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and a combination of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (such as data exchange programs in extreme environments, etc.) stored in the memory 11, and calling data stored in the memory 11.

[0138] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0139] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0140] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0141] Furthermore, the electronic device 1 may also include a network interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0142] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0143] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.

[0144] The data exchange program under extreme environment stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can achieve:

[0145] Receive a data exchange instruction, and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit;

[0146] After confirming that the working state of the lithium battery is an abnormal working state, an initial sequence data group is obtained by using the data grouping unit and the exchange data, wherein the initial sequence data group includes one or more groups of identification data;

[0147] Extract identification data from the initial sequence data set in sequence, and perform the following operations on the extracted identification data:

[0148] Using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit to perform a transmission operation on the encrypted data to obtain interactive data;

[0149] After confirming that the exchange party has received the interactive data, the data decryption unit, the interactive data and the data decompression unit are used to obtain the decompressed data, and after confirming that the decompressed data is the extracted identification data, the data exchange is realized.

[0150] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0151] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or system that can carry the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0152] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0153] Receive a data exchange instruction, and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit;

[0154] After confirming that the working state of the lithium battery is an abnormal working state, an initial sequence data group is obtained by using the data grouping unit and the exchange data, wherein the initial sequence data group includes one or more groups of identification data;

[0155] Extract identification data from the initial sequence data set in sequence, and perform the following operations on the extracted identification data:

[0156] Using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit to perform a transmission operation on the encrypted data to obtain interactive data;

[0157] After confirming that the exchange party has received the interactive data, the data decryption unit, the interactive data and the data decompression unit are used to obtain the decompressed data, and after confirming that the decompressed data is the extracted identification data, the data exchange is realized.

[0158] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0159] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0161] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0162] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0163] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0164] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems stated in a system claim can also be implemented by one unit or system through software or hardware. Secondary words are used to indicate names, but not to indicate any particular order.

[0165] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution 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 solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A data exchange method in extreme environment, characterized in that: The method comprises: Receive a data exchange instruction, and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit; After confirming that the working state of the lithium battery is an abnormal working state, an initial sequence data group is obtained by using the data grouping unit and the exchange data, wherein the initial sequence data group includes one or more groups of identification data; After confirming that the working state of the lithium battery is an abnormal working state, the method includes: Obtain a historical life set of a lithium battery, wherein the historical life set includes multiple reference lifespans; The historical life set is screened using a pre-constructed life screening relationship to obtain a target life set, and the working state of the lithium battery is confirmed to be an abnormal working state based on the target life set, wherein the life screening relationship is as follows: , in, is the preset screening threshold, Indicates the first of multiple reference lifespans A reference lifespan, Indicates the first of multiple reference lifespans A reference lifespan, The total historical life span A reference lifespan, is a preset coefficient, and Greater than 0 and less than 1; The method of screening the historical life set by using the pre-constructed life screening relational expression to obtain the target life set includes: If the reference life in the historical life set satisfies the life screening relationship, the historical life set is confirmed as the target life set; If there are reference lifespans in the historical lifespan set that do not satisfy the lifespan screening relationship, the reference lifespans that do not satisfy the lifespan screening relationship in the historical lifespan set are eliminated, and the elimination value corresponding to the number of eliminated reference lifespans is recorded. If the elimination value reaches a preset elimination threshold, the eliminated lifespan set is used as the historical lifespan set, wherein the eliminated lifespan set is the historical lifespan set after the reference lifespans are eliminated, and the step of using the pre-constructed lifespan screening relationship to filter the historical lifespan set to obtain the target lifespan set is returned until the historical lifespan set is confirmed to be the target lifespan set; The step of confirming that the working state of the lithium battery is an abnormal working state based on the target life set includes: The life mean is obtained based on the target life set, where the life mean is the average of multiple reference lifespans in the target life set, and the comprehensive evaluation value is calculated using the life mean and the pre-built comprehensive evaluation relationship, where the comprehensive evaluation relationship is as follows: , in, is the comprehensive evaluation value, are all preset coefficients. Indicates the actual usage time of lithium battery. represents the mean life span, Indicates abnormal values ​​of status parameters of lithium batteries; Comparing the comprehensive evaluation value with a preset evaluation threshold, if the comprehensive evaluation value is greater than or equal to the evaluation threshold, the working state of the lithium battery is an abnormal working state; The method of obtaining an initial sequence data group by using a data grouping unit and exchanging data includes: Performing a partitioning operation on the exchange data to obtain one or more groups of partitioned data, wherein the memory value corresponding to each group of partitioned data is less than or equal to a preset memory threshold, and each group of partitioned data includes one or more complete numerical data; The time group number of the divided data is obtained, and an identification operation is performed on one or more groups of divided data using the time group number to obtain one or more groups of first identification data, wherein the time group number of the first identification data is identified, and the first identification data is sequentially extracted from the one or more groups of first identification data, and the following operations are performed on the extracted first identification data: Acquire the identification group number based on the time corresponding to the extracted first identification data, perform an identification operation on the extracted first identification data using the identification group number, and obtain identification data, wherein the identification group number of the identification data is identified; Aggregating the identification data to obtain one or more groups of identification data; Perform a sorting operation on one or more groups of identification data in the order of the time group number from small to large, to obtain an initial sequence data group; Extract identification data from the initial sequence data set in sequence, and perform the following operations on the extracted identification data: Using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit to perform a transmission operation on the encrypted data to obtain interactive data; After confirming that the exchange party has received the interactive data, the data decryption unit, the interactive data and the data decompression unit are used to obtain the decompressed data, and after confirming that the decompressed data is the extracted identification data, the data exchange is realized.

2. The data exchange method under extreme environment as claimed in claim 1, characterized in that: The number of identification groups is obtained based on the time corresponding to the extracted first identification data, as shown below: , in, Indicates the number of identification groups, are all preset coefficients. Indicates the time corresponding to the extracted first identification data, Indicates the time processing function, [] indicates the rounding operation, Indicates the memory value corresponding to the extracted first identification data.

3. The data exchange method under extreme environment as claimed in claim 2, characterized in that: The method of using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data includes: The encryption parameters are calculated using the number of identification groups corresponding to the compressed data and the pre-built encryption relationship, where the encryption relationship is as follows: , in, Indicates encryption parameters, Indicates taking a random number, {} indicates taking a prime number, is a preset coefficient, and greater than one; Decryption parameters are obtained based on encryption parameters, public keys and private keys are obtained according to encryption parameters and decryption parameters, and encryption operations are performed on compressed data using the public key and data encryption unit to obtain encrypted data.

4. The data exchange method under extreme environment as claimed in claim 3, characterized in that: The obtaining of decryption parameters based on encryption parameters includes: The decryption parameters are calculated using the pre-built decryption equation and encryption parameters, where the decryption equation is as follows: , in, Indicates the decryption parameters, is the preset coefficient.

5. The data exchange method under extreme environment as claimed in claim 1, characterized in that: The confirming that the decompressed data is the extracted identification data includes: Obtaining decompression characteristic parameters of the decompressed data, wherein the decompression characteristic parameters include: decompression quantity, decompression mean and decompression variance, and obtaining initial characteristic parameters of the identification data, wherein the initial characteristic parameters include: initial quantity, initial mean and initial variance; If the decompressed characteristic parameters and the initial characteristic parameters satisfy the pre-constructed judgment relational expression, the decompressed data is confirmed to be the extracted initial data, wherein the judgment relational expression is as follows: , in, The value of is 1, 2, 3, Respectively represent the initial quantity and the decompressed quantity, represent the initial mean and the decompressed mean respectively, denote the initial variance and decompressed variance respectively; Otherwise, obtain secondary exchange data, wherein the secondary exchange data is identification data having the same time group number as the extracted identification data, and use the secondary exchange data as the identification data, and return to the step of using the data compression unit to perform compression operation on the extracted identification data to obtain compressed data.

6. A data exchange system in extreme environments, characterized in that: The system comprises: An instruction receiving module is used to receive a data exchange instruction and confirm a data exchange environment based on the data exchange instruction, wherein the data exchange environment includes: a data exchange system and exchange data to be exchanged, wherein the exchange data is stored in a memory using a lithium battery as a mobile power source, and the type of the exchange data is a numerical type, and the data exchange system includes: a data grouping unit, a data compression unit, a data encryption unit, a data decryption unit, a data transmission unit, and a data decompression unit; A data exchange start module, used to obtain an initial sequence data group using the data grouping unit and exchange data after confirming that the working state of the lithium battery is an abnormal working state, wherein the initial sequence data group includes one or more groups of identification data; After confirming that the working state of the lithium battery is an abnormal working state, the method includes: Obtain a historical life set of a lithium battery, wherein the historical life set includes multiple reference lifespans; The historical life set is screened using a pre-constructed life screening relationship to obtain a target life set, and the working state of the lithium battery is confirmed to be an abnormal working state based on the target life set, wherein the life screening relationship is as follows: , in, is the preset screening threshold, Indicates the first of multiple reference lifespans A reference lifespan, Indicates the first of multiple reference lifespans A reference lifespan, The total historical life span A reference lifespan, is a preset coefficient, and Greater than 0 and less than 1; The method of screening the historical life set by using the pre-constructed life screening relational expression to obtain the target life set includes: If the reference life in the historical life set satisfies the life screening relationship, the historical life set is confirmed as the target life set; If there are reference lifespans in the historical lifespan set that do not satisfy the lifespan screening relationship, the reference lifespans that do not satisfy the lifespan screening relationship in the historical lifespan set are eliminated, and the elimination value corresponding to the number of eliminated reference lifespans is recorded. If the elimination value reaches a preset elimination threshold, the eliminated lifespan set is used as the historical lifespan set, wherein the eliminated lifespan set is the historical lifespan set after the reference lifespans are eliminated, and the step of using the pre-constructed lifespan screening relationship to filter the historical lifespan set to obtain the target lifespan set is returned until the historical lifespan set is confirmed to be the target lifespan set; The step of confirming that the working state of the lithium battery is an abnormal working state based on the target life set includes: The life mean is obtained based on the target life set, where the life mean is the average of multiple reference lifespans in the target life set, and the comprehensive evaluation value is calculated using the life mean and the pre-built comprehensive evaluation relationship, where the comprehensive evaluation relationship is as follows: , in, is the comprehensive evaluation value, are all preset coefficients. Indicates the actual usage time of lithium battery. represents the mean life span, Indicates abnormal values ​​of status parameters of lithium batteries; Comparing the comprehensive evaluation value with a preset evaluation threshold, if the comprehensive evaluation value is greater than or equal to the evaluation threshold, the working state of the lithium battery is an abnormal working state; The method of obtaining an initial sequence data group by using a data grouping unit and exchanging data includes: Performing a partitioning operation on the exchange data to obtain one or more groups of partitioned data, wherein the memory value corresponding to each group of partitioned data is less than or equal to a preset memory threshold, and each group of partitioned data includes one or more complete numerical data; The time group number of the divided data is obtained, and an identification operation is performed on one or more groups of divided data using the time group number to obtain one or more groups of first identification data, wherein the time group number of the first identification data is identified, and the first identification data is sequentially extracted from the one or more groups of first identification data, and the following operations are performed on the extracted first identification data: Acquire the identification group number based on the time corresponding to the extracted first identification data, perform an identification operation on the extracted first identification data using the identification group number, and obtain identification data, wherein the identification group number of the identification data is identified; Aggregating the identification data to obtain one or more groups of identification data; Perform a sorting operation on one or more groups of identification data in the order of the number of time groups from small to large, to obtain an initial sequence data group; The data exchange execution module is used to extract identification data from the initial sequence data group in sequence, and perform the following operations on the extracted identification data: Using a data compression unit to perform a compression operation on the extracted identification data to obtain compressed data, using a data encryption unit to perform an encryption operation on the compressed data to obtain encrypted data, and based on the data transmission unit to perform a transmission operation on the encrypted data to obtain interactive data; The data exchange verification module is used to confirm that after the exchange party receives the interactive data, it uses the data decryption unit, interactive data and data decompression unit to obtain the decompressed data, and after confirming that the decompressed data is the extracted identification data, realizes the exchange of data.