Search

CN-122027244-A - Data management method and system of mobile power supply and related equipment

CN122027244ACN 122027244 ACN122027244 ACN 122027244ACN-122027244-A

Abstract

The invention provides a data management method, a system and related equipment of a mobile power supply, wherein the method comprises the steps of monitoring and collecting daily operation data of the mobile power supply; the method comprises the steps of responding to connection of a mobile power supply and an upper computer, establishing a first safe communication channel of the mobile power supply and the upper computer, sending operation data to the upper computer, updating UI interface parameter display of the mobile power supply on the upper computer, responding to a data uploading instruction, establishing a second safe communication channel of the upper computer and a cloud server, encrypting the operation data through the second safe communication channel, and storing the operation data to a database of the cloud server. The invention provides a complete mobile power data acquisition, transmission and storage all-link solution by constructing a segmented secure communication and encryption storage mechanism in the mobile power, the upper computer and the cloud server, and effectively ensures confidentiality, integrity and security of data.

Inventors

  • ZHANG QI
  • LIN RONGHU
  • SHI CUN
  • CHEN XUHUI
  • WANG JUNLEI
  • HUANG JINGHUI

Assignees

  • 深圳传应创新科技有限公司

Dates

Publication Date
20260512
Application Date
20260122

Claims (10)

  1. 1. A data management method for a mobile power supply, comprising: Monitoring and collecting daily operation data of a mobile power supply; responding to connection of the mobile power supply and an upper computer, and establishing a first secure communication channel between the mobile power supply and the upper computer; the operation data are sent to the upper computer, and UI interface parameter display of the mobile power supply on the upper computer is updated; Responding to a data uploading instruction, and establishing a second secure communication channel between the upper computer and the cloud server; And encrypting the operation data through the second secure communication channel and storing the operation data into a database of the cloud server.
  2. 2. The method of claim 1, wherein monitoring and collecting daily operational data of the mobile power supply comprises: Periodically monitoring, by a microcontroller within the mobile power supply, operating parameters including voltage, current and temperature; when the working parameters exceed a preset threshold value, generating an abnormal record containing an abnormal type and a time stamp; And storing the abnormal record in a nonvolatile memory inside the mobile power supply.
  3. 3. The method of claim 2, wherein establishing a first secure communication channel between the mobile power supply and the host computer in response to the mobile power supply being connected to the host computer comprises: Transmitting an authentication challenge containing a random number and a session ID to the upper computer by the mobile power supply; Generating a session key by the upper computer through an HMAC algorithm based on a preset device key and the session ID, and signing the random number by using the session key to obtain a response signature; And verifying the response signature returned by the upper computer by the mobile power supply, and establishing the first secure communication channel after the verification is passed.
  4. 4. A data management method of a mobile power supply according to claim 3, wherein when the mobile power supply transmits the operation data through the first secure communication channel, AES algorithm encryption is performed on the operation data and/or an HMAC message authentication code is generated using the session key generated in the authentication challenge.
  5. 5. The method for managing data of a mobile power supply according to claim 1, wherein the second secure communication channel is established between the upper computer and the cloud server through HTTPS/TLS protocol, and the JSON network token JWT is used for identity authentication.
  6. 6. The method for managing data of a mobile power supply according to claim 1, wherein the step of encrypting the operation data through the second secure communication channel and storing the encrypted operation data in the database of the cloud server comprises: requesting, by the cloud server, to acquire a data encryption key DEK from a key management service KMS; encrypting the operation data by using the data encryption key DEK; And storing the encrypted operation data to a database of the cloud server.
  7. 7. The method for managing data of a mobile power supply according to claim 2, wherein when the operation parameter exceeds a preset threshold, generating an anomaly record including an anomaly type and a time stamp further comprises: The severity of the abnormality is evaluated, and a hierarchical protection measure is performed according to the severity, the hierarchical protection measure including an operation of triggering the disconnection of the charge-discharge circuit when the abnormality is of a severity level, and an operation of triggering the limitation of the charge-discharge current when the abnormality is of a general level.
  8. 8. A data management system for a mobile power supply, the data management system for a mobile power supply comprising: The data acquisition module is used for monitoring and acquiring daily operation data of the mobile power supply; the first communication establishing module is used for responding to the connection of the mobile power supply and the upper computer and establishing a first safe communication channel between the mobile power supply and the upper computer; The data updating display module is used for sending the operation data to the upper computer and updating the UI interface parameter display of the mobile power supply on the upper computer; the second communication establishing module is used for responding to the data uploading instruction and establishing a second safety communication channel between the upper computer and the cloud server; And the cloud encryption storage module is used for encrypting the operation data through the second secure communication channel and storing the operation data into a database of the cloud server.
  9. 9. The mobile power supply is characterized by comprising a memory and at least one processor, wherein the memory is stored with instructions, and the memory and the at least one processor are interconnected through a circuit; The at least one processor invoking the instructions in the memory to cause the mobile power supply to perform the data management method of the mobile power supply of any of claims 1-7.
  10. 10. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements a method of data management of a mobile power supply according to any of claims 1-7.

Description

Data management method and system of mobile power supply and related equipment Technical Field The present invention relates to the field of mobile power technologies, and in particular, to a method, a system, and a related device for managing data of a mobile power. Background The mobile power supply is used as portable energy storage equipment, is widely applied to daily life of people, is more and more intelligent along with development of the technology of the Internet of things, has a function of monitoring key operation data of the mobile power supply in order to improve the safety of the mobile power supply and facilitate maintenance, is required to be uploaded to a remote cloud server from the mobile power supply for analysis and storage in order to realize utilization of the data, such as remote diagnosis, life prediction or asset management, and lacks of an overall data safety solution aiming at the mobile power supply from end to end of a full link in the prior art. Accordingly, the prior art is still in need of improvement and development. Disclosure of Invention The invention provides a data management method, a system and related equipment of a mobile power supply, and aims to solve the technical problems in the prior art. The first aspect of the present invention provides a data management method for a mobile power supply, including: Monitoring and collecting daily operation data of a mobile power supply; responding to connection of the mobile power supply and an upper computer, and establishing a first secure communication channel between the mobile power supply and the upper computer; the operation data are sent to the upper computer, and UI interface parameter display of the mobile power supply on the upper computer is updated; Responding to a data uploading instruction, and establishing a second secure communication channel between the upper computer and the cloud server; And encrypting the operation data through the second secure communication channel and storing the operation data into a database of the cloud server. In an optional implementation manner of the first aspect of the present invention, the monitoring and collecting daily operation data of the mobile power supply includes: Periodically monitoring, by a microcontroller within the mobile power supply, operating parameters including voltage, current and temperature; when the working parameters exceed a preset threshold value, generating an abnormal record containing an abnormal type and a time stamp; And storing the abnormal record in a nonvolatile memory inside the mobile power supply. In an optional implementation manner of the first aspect of the present invention, the establishing, in response to the connection between the mobile power supply and the host computer, a first secure communication channel between the mobile power supply and the host computer includes: Transmitting an authentication challenge containing a random number and a session ID to the upper computer by the mobile power supply; Generating a session key by the upper computer through an HMAC algorithm based on a preset device key and the session ID, and signing the random number by using the session key to obtain a response signature; And verifying the response signature returned by the upper computer by the mobile power supply, and establishing the first secure communication channel after the verification is passed. In an optional implementation manner of the first aspect of the present invention, when the mobile power supply sends the running data through the first secure communication channel, using the session key generated in the authentication challenge, AES algorithm encryption is performed on the running data and/or an HMAC message authentication code is generated. In an optional implementation manner of the first aspect of the present invention, the second secure communication channel is established between the upper computer and the cloud server through HTTPS/TLS protocol, and the JSON network token JWT is used for identity authentication. In an optional implementation manner of the first aspect of the present invention, the storing the operation data in the database of the cloud server after encrypting the operation data through the second secure communication channel includes: requesting, by the cloud server, to acquire a data encryption key DEK from a key management service KMS; encrypting the operation data by using the data encryption key DEK; And storing the encrypted operation data to a database of the cloud server. In an optional implementation manner of the first aspect of the present invention, when the operating parameter exceeds a preset threshold, generating the anomaly record including the anomaly type and the timestamp further includes: The severity of the abnormality is evaluated, and a hierarchical protection measure is performed according to the severity, the hierarchical protection measure including an operation of triggering th