Method for cloud loading of data of energy management system

By reading and encrypting authentication information in the energy management system, combining cloud authentication and MQTT triple IoT authentication, data security and efficiency problems in the connection between energy storage devices and cloud platforms are solved, and efficient and secure data is achieved Cloud access solution.

CN119299192APending Publication Date: 2025-01-10CUIJI TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411446543.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The connection between existing energy storage equipment and cloud platforms has shortcomings in data security, equipment authentication and data transmission efficiency, and an efficient and secure equipment data cloud solution is needed.

Method used

Through the energy management system's authentication information reading and encryption, cloud authentication, and MQTT triple IoT authentication, ensuring the security and reliability of data transmission, including reading authentication information and using encryption algorithms to form a signature, and sending it to In the cloud, device_id, product_key, product_secret information is generated, and triple authentication connections are performed for HMAC-SHA1 encryption algorithm.

Benefits of technology

The dual authentication mechanism for data cloud is realized, which improves the security and reliability of information and ensures efficient connection between devices and cloud platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299192A_ABST
    Figure CN119299192A_ABST
Patent Text Reader

Abstract

The invention provides an energy management system data cloud method comprising the following steps: S1, energy management system authentication: reading and encrypting energy management system authentication information; performing cloud authentication of the energy management system; reporting topological information of the subsystems; performing MQTT triple internet of things authentication; s2, uploading the MQTT data to the cloud, comprising the following steps: accessing an Internet of Things platform; the energy management system is online; the subsystems are on line; and S3, data transmission and reporting. According to the data cloud method, cloud authentication and Internet of Things platform authentication are carried out, so that the data cloud method is safer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy storage technology, and in particular to a method for uploading data of an energy management system of an energy storage system to the cloud. Background Art

[0002] With the transformation of energy methods, energy storage equipment is becoming more and more important in the energy field. And with the widespread popularization of energy storage equipment, how to manage and operate these energy storage equipment has become a difficult problem.

[0003] In the existing technology, managing many energy storage devices through the cloud has become the mainstream, and the real-time upload and analysis of energy storage device data can be achieved through the cloud. However, the connection between energy storage devices and cloud platforms mostly relies on HTTPS or MQTT protocols, but there are still certain deficiencies in data security, device authentication, and data transmission efficiency. Therefore, there is an urgent need for an efficient and secure device data cloud solution. Summary of the invention

[0004] The purpose of the present invention is to provide a method for uploading data of an energy management system to the cloud.

[0005] In order to achieve the above objectives, the present invention is implemented by the following technical solutions:

[0006] A method for uploading data of an energy management system to the cloud is provided, comprising the following steps:

[0007] S1. Energy management system authentication, including: energy management system authentication information reading and encryption; energy management system cloud authentication; subsystem topology information reporting; MQTT triplet IoT authentication;

[0008] S2, MQTT data uploading to the cloud, including: access to the IoT platform; energy management system online; subsystem online;

[0009] S3. Data transmission reporting.

[0010] Furthermore, in the step S1, the energy management system authentication information is read and encrypted as follows: when the energy management system is started, the authentication information is read, and the authentication information, timestamp and random character string are used to form a signature through an encryption algorithm.

[0011] Furthermore, in step S1, the energy management system cloud authentication is:

[0012] The request header and request body are sent to the cloud via the HTTPS protocol. The cloud decrypts the request header, extracts the signature, and determines whether the decrypted data contains authentication information. If so, the authentication is successful and the next step is continued. If not, the authentication fails.

[0013] The cloud obtains the device business information in the request body, generates device_id, product_key, and product_secret information through the Internet of Things platform, and saves the information in the request body in the cloud.

[0014] Furthermore, the request header includes authentication information, a timestamp, a random string and a signature, and the request body includes device business information, and the device business information includes device model and topology information.

[0015] Furthermore, in the step S1, the MQTT triplet IoT authentication is as follows: the system encrypts the returned device_id, product_key, and product_secret information through an encryption algorithm, generates a triplet, and performs an MQTT authentication connection.

[0016] Furthermore, the triplet is client_id, username and password.

[0017] Furthermore, the authentication information is an identity code, and the identity code is a serial number including the AMC address.

[0018] Furthermore, in step S2, accessing the Internet of Things platform is:

[0019] Take out the triplet and directly treat it as the client_id, username, password triplet and connect it to the IoT platform;

[0020] The energy management system is online as follows: After MQTT is connected to the IoT platform, the system is online;

[0021] Subsystem online: After MQTT is connected to the IoT platform, the subsystem goes online.

[0022] Compared with the prior art, the present invention has the following advantages:

[0023] The data cloud method provided by the present invention includes dual authentication of cloud authentication and Internet of Things authentication, thus ensuring the security and reliability of information. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for the description. Obviously, the drawings described below are an embodiment of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work:

[0025] Figure 1 A schematic diagram of an energy storage device provided by the present invention;

[0026] Figure 2 A schematic diagram of the data cloud migration method provided by the present invention. DETAILED DESCRIPTION

[0027] The scheme proposed by the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the implementation method of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the accompanying drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.

[0028] Figure 1 The schematic diagram of the energy storage device provided by the present invention is shown as follows: Figure 1 As shown, the energy storage device includes an energy management system 110 and a subsystem 120, and the energy management system (EMS) is used for data transmission. The subsystem 120 may include a battery cluster, an electric meter, and an energy storage cabinet. The energy storage device communicates data with the cloud 220 through the energy management system 110. An Internet of Things platform 210 is set between the energy storage device and the cloud 220 to establish a data connection between the energy storage device and the cloud 220.

[0029] Figure 2 A schematic diagram of the data cloud migration method provided by the present invention is shown, Figure 2 As shown, the method for uploading data of the energy management system to the cloud includes the following steps:

[0030] S1. Authentication of the energy management system 110, including: reading and encrypting the authentication information of the energy management system 110; cloud authentication of the energy management system 110; reporting of topology information of the subsystem 120; MQTT triplet IoT authentication;

[0031] S2, MQTT data uploading to the cloud, including: access to the IoT platform; energy management system online; subsystem online;

[0032] S3. Data transmission reporting.

[0033] Among them, in the step S1, the authentication information of the energy management system 110 is read and encrypted as follows: when the energy management system is started, it reads the authentication information, and uses the above authentication information, timestamp and random string to form a signature through an encryption algorithm. The authentication information includes an identity code and a key, and the identity code is a serial number containing the AMC address; the key is generated by a random function. The authentication information has been burned into the energy storage device when it leaves the factory. More specifically, the signature is formed by the identity code, timestamp and random string through the encryption algorithm SHA256.

[0034] In step S1, the energy management system 110 cloud 220 authenticates:

[0035] The request header and request body are sent to the cloud 220 via the HTTPS protocol. The cloud 220 decrypts the request header, extracts the signature, and determines whether the decrypted data contains authentication information. If it does, the authentication is passed and the next step is continued; if it does not, the authentication fails. The decryption is performed using the SHA256 algorithm; the request header includes authentication information, a timestamp, a random string, and a signature. Specifically, the authentication information is an identity code; the request body includes equipment business information. The equipment is an energy storage device. The equipment business information includes equipment model, topology information, etc.

[0036] The cloud obtains the device business information in the request body, generates device_id, product_key, and product_secret information through the Internet of Things platform, and saves the information in the request body in the cloud.

[0037] Subsystem topology information is reported as follows: After cloud authentication is passed, the subsystem information is reported to the cloud. The cloud obtains the information in the request body, generates device_id (i.e. device name), product_key (i.e. device model), and product_secret (key) information through the IoT platform, and saves the topology information in the request body in the cloud.

[0038] In step S1, the MQTT triplet IoT authentication is as follows: the system 110 encrypts the returned device_id, product_key, and product_secret information through an encryption algorithm for MQTT connection authentication, generates a triplet, and performs MQTT authentication connection. The encryption algorithm is the HMAC-SHA1 algorithm.

[0039] The triplet is client_id, username and password:

[0040] client_id is indirectly composed of device_name and product_key, and the format is: {device_name}&{product_key}|signmethod=hmacsha1,authType=1|.

[0041] The username is composed of device_name and product_key directly, and the format is: {device_name}&{product_key}.

[0042] password: Perform HMAC-SHA1 encryption on client_id, username, device_name, and product_key, and the key is product_secret.

[0043] In step S2, accessing the Internet of Things platform is:

[0044] Take out the triplet and directly treat it as the client_id, username, password triplet and connect it to the IoT platform;

[0045] The energy management system is launched as follows: After MQTT is connected to the IoT platform, the system 110 is launched;

[0046] Subsystem online: After MQTT is connected to the Internet of Things platform, subsystem 120 is online.

[0047] In step S3, data reporting specifically includes: setting a certain time interval to report the information of the system and subsystem, and the information may be a combination of data and events. The time interval is 30s.

[0048] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0049] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A method for uploading data of an energy management system to the cloud, characterized in that: Includes steps: S1. Energy management system authentication, including: energy management system authentication information reading and encryption; energy management system cloud authentication; subsystem topology information reporting; MQTT triplet IoT authentication; S2, MQTT data uploading to the cloud, including: access to the IoT platform; energy management system online; subsystem online; S3. Data transmission reporting.

2. The method for cloud-based energy management system data according to claim 1, characterized in that: In the step S1, the energy management system authentication information is read and encrypted as follows: when the energy management system is started, the authentication information is read, and the authentication information, a timestamp and a random character string are used to form a signature through an encryption algorithm.

3. The method for cloud-based energy management system data according to claim 1, characterized in that: In step S1, the energy management system cloud authentication is: The request header and request body are sent to the cloud via the HTTPS protocol. The cloud decrypts the request header, extracts the signature, and determines whether the decrypted data contains authentication information. If so, the authentication is successful and the next step is continued. If not, the authentication fails. The cloud obtains the device business information in the request body, generates device_id, product_key, and product_secret information through the Internet of Things platform, and saves the information in the request body in the cloud.

4. The method for cloud-based energy management system data according to claim 3 is characterized in that: The request header includes authentication information, a timestamp, a random character string and a signature, and the request body includes device business information, and the device business information includes device model and topology information.

5. The method for cloud-based energy management system data according to claim 1, characterized in that: In step S1, the MQTT triplet IoT authentication is as follows: the system encrypts the returned device_id, product_key, and product_secret information through an encryption algorithm to generate a triplet and perform an MQTT authentication connection.

6. The method for cloud-based energy management system data according to claim 5, characterized in that: The triplet is client_id, username and password.

7. The method for cloud-based energy management system data according to claim 2, characterized in that: The authentication information is an identity code, and the identity code is a serial number including the AMC address.

8. The method for cloud-based energy management system data according to claim 1, characterized in that: In step S2, accessing the Internet of Things platform is: Take out the triplet and directly treat it as the client_id, username, password triplet and connect it to the IoT platform; The energy management system is online as follows: After MQTT is connected to the IoT platform, the system is online; Subsystem online: After MQTT is connected to the IoT platform, the subsystem goes online.