Network distribution method and apparatus for energy storage system, and computer device

Through the interaction between the main energy storage equipment and the wireless communication module of the terminal equipment, the automatic distribution network of the energy storage system is realized, which solves the cumbersome problems of traditional distribution networks and improves the convenience and operation efficiency of the energy storage system.

WO2024240082A1PCT designated stage expired Publication Date: 2024-11-28GUANGZHOU RIMSEA TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/093918
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-19
Filing Date
2024-05-17
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

In traditional Internet of Things technology, the distribution network of energy storage systems is complicated, and each energy storage device needs to be connected separately, which has low operational convenience.

Method used

Through the first wireless communication module of the energy storage main device interacting with the terminal device, the instructions to enter the distribution network mode and the distribution network demand data are obtained, the energy storage main device is controlled for distribution network, and the second wireless communication module is established with the energy storage sub-equipment Connect, realize one-time network distribution operation to connect multiple devices.

Benefits of technology

It greatly improves the convenience of the energy storage system distribution network, avoids repeated operations, and simplifies the equipment connection process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024093918_28112024_PF_FP_ABST
    Figure CN2024093918_28112024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to a network distribution method and apparatus for an energy storage system, and a computer device, a storage medium and a computer program product. The method comprises: acquiring a network-distribution-mode entering instruction and network-distribution demand data, which are transmitted by a first wireless communication module of a main energy storage device; controlling the main energy storage device to perform network distribution according to the network-distribution-mode entering instruction and the network-distribution demand data, and sending network-distribution result information from the main energy storage device to a terminal device by means of the first wireless communication module; if the main energy storage device succeeds in network distribution, and the network-distribution demand data comprises device parameters of a secondary energy storage device, controlling, according to the network-distribution demand data, a second wireless communication module of the main energy storage device to establish a connection with the corresponding secondary energy storage device; and acquiring network-distribution result information from the secondary energy storage device, and sending the network-distribution result information from the secondary energy storage device to the terminal device by means of the first wireless communication module. By means of the method, the convenience during network distribution for an energy storage system can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Energy storage system distribution network method, device and computer equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to Chinese patent application number 2023105753641, filed with the Chinese Patent Office on May 19, 2023, entitled “Network Distribution Method, Device and Computer Equipment for Energy Storage System,” the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0003] The present disclosure relates to the technical field of Internet of Things distribution networks, and in particular to a distribution network method, apparatus, computer equipment, computer-readable storage medium, and computer program product for an energy storage system. Background Art

[0004] With the development of IoT technology, a wide variety of smart furniture, smart tools, and smart devices are emerging. These devices are controlled through IoT technology, allowing users to easily control these devices remotely via mobile phones and other devices. There is now a demand for IoT-based energy storage system control, requiring the ability to configure and remotely connect energy storage systems.

[0005] In traditional IoT technology, network configuration for energy storage systems typically involves connecting to the network through mobile Wi-Fi and Bluetooth, adding energy storage devices to the system via a router. However, energy storage systems typically contain multiple devices, and network configuration requires establishing a connection for each device, making the process cumbersome and inconvenient.

[0006] Summary of the Invention

[0007] Based on this, the objectives of the present disclosure include: providing a network distribution method, apparatus, computer equipment, computer-readable storage medium, and computer program product for an energy storage system that can improve the convenience of network distribution of the energy storage system.

[0008] The present disclosure provides a network distribution method for an energy storage system, wherein the energy storage system includes an energy storage main device and an energy storage sub-device; the method includes:

[0009] Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, wherein the network distribution mode entry instruction is an instruction sent when the terminal device is within the sensing range of the first wireless communication module;

[0010] Controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and sending network distribution result information of the energy storage master device to the terminal device through the first wireless communication module;

[0011] If the energy storage master device is successfully connected to the network, and the network distribution requirement data includes the device parameters of the energy storage sub-device, controlling the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data;

[0012] The network configuration result information of the energy storage sub-device is obtained, and the network configuration result information of the energy storage sub-device is sent to the terminal device through the first wireless communication module.

[0013] Optionally, controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data includes:

[0014] Controlling the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and sending the network distribution instruction to the terminal device through the first wireless communication module;

[0015] Obtaining network configuration information transmitted by the first wireless communication module, the network configuration information being information sent by the terminal device when receiving the network configuration instruction, the network configuration information including a network name and a network password;

[0016] The energy storage master device is controlled to perform network distribution according to the network distribution information.

[0017] Optionally, controlling the energy storage master device to perform network distribution according to the network distribution information includes:

[0018] The third wireless communication module of the energy storage master device is controlled to establish a communication connection with the cloud server according to the distribution network information.

[0019] Optionally, controlling the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the distribution network demand data includes:

[0020] Verifying the authenticity of the distribution network demand data;

[0021] If the verification is successful, the second wireless communication module of the energy storage main device is controlled to establish a connection with the corresponding energy storage sub-device according to the distribution network demand data after the verification.

[0022] Optionally, controlling the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the verified distribution network demand data includes:

[0023] Based on the verified distribution network demand data, the second wireless communication module of the energy storage master device is controlled to broadcast a handshake request; the handshake request is configured to request to establish a communication connection with the corresponding energy storage sub-device;

[0024] receiving a handshake result fed back by the second wireless communication module;

[0025] If the handshake result indicates that the energy storage main device successfully establishes a communication connection with the corresponding energy storage sub-device, network configuration information is sent to the energy storage sub-device with the established communication connection through the second wireless communication module; the network configuration information includes a network name and a network password.

[0026] Optionally, the first wireless communication module is an NFC module, and the second wireless communication module is a Bluetooth module.

[0027] Optionally, controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and sending network distribution result information of the energy storage master device to the terminal device through the first wireless communication module includes:

[0028] Controlling the energy storage master device to switch to the network distribution mode according to the instruction to enter the network distribution mode, and controlling the energy storage master device to perform network distribution according to the network distribution demand data in the network distribution mode;

[0029] If the network configuration of the energy storage master device is successful, a network configuration success indication will be generated as the network configuration result information of the energy storage master device and sent to the terminal device through the first wireless communication module.

[0030] Optionally, the method further includes:

[0031] If the network configuration of the energy storage master device fails, a network configuration failure data packet will be generated as the network configuration result information of the energy storage master device and sent to the terminal device through the first wireless communication module; the network configuration failure data packet includes a network configuration failure indication and network configuration failure reason data.

[0032] Optionally, controlling the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and sending the network distribution instruction to the terminal device through the first wireless communication module includes:

[0033] Controlling the energy storage master device to switch to the network distribution mode according to the instruction to enter the network distribution mode, and verifying the device parameters of the energy storage master device according to the network distribution demand data in the network distribution mode;

[0034] If the device parameter verification of the energy storage master device is passed, the energy storage master device is controlled to enter the network distribution state, and a network distribution instruction is sent to the terminal device through the first wireless communication module.

[0035] Optionally, the device parameters of the energy storage sub-device included in the network distribution demand data are encrypted and transmitted parameters; and the authenticity verification of the network distribution demand data includes:

[0036] Performing a decryption operation on the device parameters of the energy storage sub-device to obtain the decrypted device parameters of the energy storage sub-device;

[0037] The authenticity of the decrypted device parameters of the energy storage sub-device is verified.

[0038] Optionally, the third wireless communication module is a WiFi module.

[0039] The present disclosure also provides a distribution network device for an energy storage system, the device comprising:

[0040] a network distribution request module configured to obtain a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, wherein the network distribution mode entry instruction is a command sent when the terminal device is within the sensing range of the first wireless communication module;

[0041] a host network distribution module, configured to control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and send network distribution result information of the energy storage master device to the terminal device via the first wireless communication module;

[0042] The slave network distribution module is configured to control the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the network distribution demand data if the network distribution of the energy storage master device is successful and the network distribution demand data includes the device parameters of the energy storage sub-device;

[0043] The network configuration feedback module is configured to obtain the network configuration result information of the energy storage sub-device and send the network configuration result information of the energy storage sub-device to the terminal device through the first wireless communication module.

[0044] The present disclosure also provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0045] Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, wherein the network distribution mode entry instruction is an instruction sent when the terminal device is within the sensing range of the first wireless communication module;

[0046] Controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and sending network distribution result information of the energy storage master device to the terminal device through the first wireless communication module;

[0047] If the energy storage master device is successfully connected to the network, and the network distribution requirement data includes the device parameters of the energy storage sub-device, controlling the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data;

[0048] The network configuration result information of the energy storage sub-device is obtained, and the network configuration result information of the energy storage sub-device is sent to the terminal device through the first wireless communication module.

[0049] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0050] Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, wherein the network distribution mode entry instruction is an instruction sent when the terminal device is within the sensing range of the first wireless communication module;

[0051] Controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and sending network distribution result information of the energy storage master device to the terminal device through the first wireless communication module;

[0052] If the energy storage master device is successfully connected to the network, and the network distribution requirement data includes the device parameters of the energy storage sub-device, controlling the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data;

[0053] The network configuration result information of the energy storage sub-device is obtained, and the network configuration result information of the energy storage sub-device is sent to the terminal device through the first wireless communication module.

[0054] The present disclosure also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0055] Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, wherein the network distribution mode entry instruction is an instruction sent when the terminal device is within the sensing range of the first wireless communication module;

[0056] Controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and sending network distribution result information of the energy storage master device to the terminal device through the first wireless communication module;

[0057] If the energy storage master device is successfully connected to the network, and the network distribution requirement data includes the device parameters of the energy storage sub-device, controlling the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data;

[0058] The network configuration result information of the energy storage sub-device is obtained, and the network configuration result information of the energy storage sub-device is sent to the terminal device through the first wireless communication module.

[0059] The network distribution method, apparatus, computer equipment, computer-readable storage medium, and computer program product of the above-mentioned energy storage system, wherein the energy storage system includes an energy storage main device and an energy storage sub-device, and an interaction between the energy storage main device and the terminal device is established through a first wireless communication module to perform network distribution of the energy storage main device. After the energy storage main device is networked, a communication connection is established between the energy storage main device and the corresponding energy storage sub-device through a second wireless communication module based on the network distribution demand data, so that the energy storage sub-device can be networked by interacting with the energy storage main device. The beneficial effects of the present disclosure include: the terminal device only needs to perform a network distribution operation once to perform network distribution with the energy storage main device and the corresponding energy storage sub-device, avoiding repeated operations and greatly improving the convenience of network distribution of the energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] FIG1 is an application environment diagram of a first energy storage system distribution method provided by an embodiment of the present disclosure;

[0061] FIG2 is a schematic diagram of a flow chart of a network distribution method for an energy storage system provided in an embodiment of the present disclosure;

[0062] 3 is a schematic diagram of a first flow chart of steps for controlling a main energy storage device to perform network distribution according to an instruction to enter a network distribution mode and network distribution demand data, provided by an embodiment of the present disclosure;

[0063] FIG4 is a schematic diagram of a second flow chart of controlling the energy storage master device to perform network distribution steps according to the network distribution mode entry instruction and network distribution demand data provided by an embodiment of the present disclosure;

[0064] FIG5 is an application environment diagram of a second energy storage system distribution method provided by an embodiment of the present disclosure;

[0065] 6 is a flow chart illustrating steps for controlling a second wireless communication module of an energy storage master device to establish a connection with a corresponding energy storage sub-device according to distribution network demand data provided by an embodiment of the present disclosure;

[0066] 7 is a flowchart illustrating steps for controlling the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the verified distribution network demand data provided by an embodiment of the present disclosure;

[0067] FIG8 is a flow chart of a method for distributing a network of an energy storage system in a single distribution network mode according to an embodiment of the present disclosure;

[0068] FIG9 is a structural block diagram of a distribution network device of an energy storage system provided by an embodiment of the present disclosure;

[0069] FIG10 is a diagram showing the internal structure of a computer device according to an embodiment of the present disclosure.

[0070] Icons: 102-terminal device; 104-energy storage master device; 106-energy storage sub-device; 108-cloud server; 902-network distribution request module; 904-master network distribution module; 906-slave network distribution module; 908-network distribution feedback module. DETAILED DESCRIPTION

[0071] In order to make the purpose, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not intended to limit the present disclosure.

[0072] It will be understood that the terms "first," "second," etc., used in this disclosure may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor without departing from the scope of this disclosure. The first resistor and the second resistor are both resistors, but they are not the same resistor.

[0073] It can be understood that the “connection” in the following embodiments should be understood as “electrical connection”, “communication connection”, etc. if there is transmission of electrical signals or data between the connected circuits, modules, units, etc.

[0074] When used herein, the singular forms "a", "an", and "the" may also include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "include / comprise" or "have" and the like specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.

[0075] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the art of the present disclosure. The terms used herein in the specification of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure.

[0076] The network configuration method for an energy storage system provided in an embodiment of the present disclosure can be applied in the application environment shown in FIG1 . The energy storage system includes a main energy storage device 104 and an energy storage sub-device 106. A terminal device 102 communicates with a cloud server 108 via a network. Optionally, the terminal device 102 interacts with the control chip of the main energy storage device 104 via the first wireless communication module of the main energy storage device 104 to achieve network configuration for the main energy storage device 104. Network configuration is considered complete when the main energy storage device 104 is connected to the cloud server 108. Furthermore, based on user needs, after the main energy storage device 104 is successfully networked, the energy storage sub-device 106 can be connected via the second wireless communication module of the main energy storage device 104. The terminal device 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart car devices, for example. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, and the like. The number of energy storage sub-devices 106 can be one or more.

[0077] FIG2 is a flow chart of a method for distributing a network of an energy storage system according to an embodiment of the present disclosure. The method is described by taking the control chip of the energy storage master device 104 in FIG1 as an example, and includes the following steps:

[0078] Step 202: Acquire the network distribution mode entry instruction and network distribution demand data transmitted by the first wireless communication module of the energy storage master device.

[0079] Among them, the instruction to enter the network distribution mode is an instruction sent when the terminal device is within the sensing range of the first wireless communication module. The network distribution requirement data is the verification data required by the energy storage device in the energy storage system for network distribution, and is used to confirm whether the devices on both sides of the network distribution are correct. For example, it can include the device parameters of the energy storage main device, and it can also include the device parameters of the energy storage sub-device, etc. When the user needs to perform network distribution with the energy storage main device and the energy storage sub-device, the network distribution requirement data includes the device parameters of the energy storage main device and the device parameters of the energy storage sub-device; when the user only needs to perform network distribution with the energy storage main device, the network distribution requirement data includes the device parameters of the energy storage main device.

[0080] Optionally, the terminal device needs to download and install an APP (Application, application software) corresponding to the energy storage system. After the user downloads the APP, the APP will request the user to authorize some permissions of the terminal device to the APP. After the user confirms to grant the permissions of the terminal device, when the terminal device is within the sensing range of the first wireless communication module of the energy storage main device, the APP will prompt on the terminal device whether to perform network configuration. And after the user selects the energy storage main device and the energy storage sub-devices that need to be network-configured, the terminal device will send a network configuration mode instruction and network configuration requirement data to the energy storage main device. The first wireless communication module of the energy storage main device senses and obtains the network configuration mode instruction and network configuration requirement data sent by the terminal device, and transmits them to the control chip of the energy storage main device.

[0081] Optionally, the method for the user to select the energy storage main device and the energy storage sub-devices that need to be network-configured is not limited. For example, it can be by the user inputting the unique product authorization codes of the energy storage main device and the energy storage sub-devices respectively as the network configuration requirement data for selection. Among them, the unique product authorization code is the unique identification code possessed by each energy storage main device and energy storage sub-device, also known as a token, which is generated using an encryption algorithm. Optionally, the encryption process is as follows:

[0082] The unique product authorization code is encrypted using the public key encryption algorithm RSA (Rivest-Shamir-Adleman, cryptosystem). First, use the random function random to find two different prime numbers p and q. Then take n = p * q. According to the Euler's totient function:

[0083] There is φ(n) = (p - 1)(q - 1). In the random function, find a number e such that 1 < e < φ(n) and calculate the modular multiplicative inverse d of e with respect to φ(n). After finding d, make ed ≡ 1 (mod φ(n)). Finally, (e, n) is the public key and (d, n) is the private key.

[0084] When decrypting, when the ciphertext uses the calculation method c ≡ me (mod n), the decrypting party can solve it through the ciphertext and the private key: m ≡ cd (mod n), where n = p * q, p and q are two different random prime numbers, m is the data to be encrypted, and m satisfies m < n, so as to ensure the correspondence between the public key and the private key.

[0085] Since the unique product authorization code is the unique identification code corresponding to the energy storage main device and the energy storage sub-devices in the energy storage system, uploading the unique product authorization code token to the cloud server, one unique product authorization code corresponds to one energy storage main device or energy storage sub-device. The unique product authorization code token will be issued only when the user owns the energy storage main device or the energy storage sub-device, so as to ensure the security of the energy storage main device or the energy storage sub-device.

[0086] Exemplarily, in the energy storage master device, the first wireless communication module and the control chip communicate using a UART (Universal Asynchronous Receiver / Transmitter) communication method. The UART communication method features asynchronous full-duplex and parity bit functionality, and can transmit multiple bits of data simultaneously, resulting in high transmission efficiency, effectively reducing the interaction time of the distribution network and improving the interaction success rate of the distribution network.

[0087] Step 204 : Control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and send the network distribution result information of the energy storage master device to the terminal device via the first wireless communication module.

[0088] Optionally, upon receiving the instruction to enter network distribution mode, the control chip of the energy storage master device controls the energy storage master device to switch to network distribution mode. In network distribution mode, the control chip controls the energy storage master device to perform network distribution according to network distribution demand data. Regardless of whether network distribution is successful, network distribution result information of the energy storage master device is transmitted to the terminal device via the first wireless communication module.

[0089] Exemplarily, when the energy storage master device is in network distribution mode and controls the energy storage master device to perform network distribution according to network distribution demand data, if network distribution fails, the control chip of the energy storage master device will generate a network distribution failure data packet as network distribution result information for the energy storage master device. This network distribution failure data packet includes a network distribution failure indication and network distribution failure reason data. The control chip transmits this network distribution failure data packet to the terminal device via the first wireless communication module. The terminal device parses the network distribution failure data packet and displays the network distribution failure indication and the parsed network distribution failure reason on the terminal device's display module, allowing the user to view the failure reason and adjust the network distribution demand data accordingly. When the energy storage master device is in network distribution mode and controls the energy storage master device to perform network distribution according to network distribution demand data, if network distribution succeeds, the control chip of the energy storage master device will generate a network distribution success indication as network distribution result information for the energy storage master device and transmit it to the terminal device via the first wireless communication module.

[0090] Step 206 : If the energy storage master device is successfully connected to the network, and the network connection requirement data includes device parameters of the energy storage sub-device, the second wireless communication module of the energy storage master device is controlled to establish a connection with the corresponding energy storage sub-device according to the network connection requirement data.

[0091] Optionally, if the energy storage master device successfully connects to the network, a network connection success indication is generated as network connection result information for the energy storage master device and transmitted to the terminal device via the first wireless communication module. Simultaneously, the control chip analyzes the network connection requirement data. If the network connection requirement data only includes the device parameters of the energy storage master device, network connection is complete. If the network connection requirement data also includes the device parameters of the energy storage sub-device in addition to the device parameters of the energy storage master device, the control chip of the energy storage master device controls the second wireless communication module of the energy storage master device to establish a connection with the energy storage sub-device corresponding to the network connection requirement data based on the network connection requirement data, thereby enabling network connection for the energy storage sub-device.

[0092] Correspondingly, the energy storage sub-device includes a fourth wireless communication module corresponding to the second wireless communication module, and the fourth wireless communication module is configured to establish a communication connection with the second wireless communication module. Optionally, the fourth wireless communication module and the second wireless communication module can be communication modules of the same type to facilitate communication.

[0093] Step 208: Acquire network configuration result information of the energy storage sub-device, and send the network configuration result information of the energy storage sub-device to the terminal device via the first wireless communication module.

[0094] Optionally, when the energy storage main device and the energy storage sub-device establish a connection, the connection may be successful or unsuccessful. Regardless of whether the connection is successful or not, the control chip of the energy storage main device will obtain the network configuration result information of the energy storage sub-device and send it to the terminal device via the first wireless communication module.

[0095] Exemplarily, when the control chip of the energy storage master device controls the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device based on the network distribution demand data, if the connection fails, the control chip of the energy storage master device will generate a connection failure data packet as the network distribution result information of the energy storage sub-device. This connection failure data packet includes an energy storage sub-device connection failure indication and connection failure reason data. The control chip transmits this connection failure data packet to the terminal device via the first wireless communication module. The terminal device parses the connection failure data packet and displays the energy storage sub-device connection failure indication and the parsed connection failure reason on the terminal device's display module, allowing the user to view the failure reason and adjust the network distribution demand data accordingly. When the control chip of the energy storage master device controls the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device based on the network distribution demand data, if the connection is successful, the control chip of the energy storage master device will generate an energy storage sub-device connection success indication as the network distribution result information of the energy storage sub-device and transmit it to the terminal device via the first wireless communication module.

[0096] In the above-mentioned energy storage system network distribution method, the energy storage system includes a main energy storage device and sub-energy storage devices. Network distribution for the main energy storage device is performed by establishing interaction between the main energy storage device and a terminal device via a first wireless communication module. After the main energy storage device is networked, a second wireless communication module is used to establish a communication connection between the main energy storage device and the corresponding sub-energy storage device based on network distribution demand data, enabling the sub-energy storage device to perform network distribution by interacting with the main energy storage device. The terminal device only needs to perform a single network distribution operation to establish network distribution with the main energy storage device and the corresponding sub-energy storage device, avoiding repeated operations and significantly improving the convenience of network distribution for the energy storage system.

[0097] As shown in FIG3 , step 204 of controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and network distribution demand data includes steps 302 , 304 and 306 .

[0098] Step 302: Control the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and send the network distribution instruction to the terminal device through the first wireless communication module.

[0099] Optionally, upon receiving the instruction to enter network distribution mode, the control chip of the energy storage master device controls the energy storage master device to switch to network distribution mode and, in network distribution mode, verifies the device parameters of the energy storage master device based on the network distribution demand data. If the verification is successful, the energy storage master device enters the network distribution state, transmits the network distribution instruction to the terminal device via the first wireless communication module, and awaits a response from the terminal device.

[0100] As described above, the network distribution demand data may include the device parameters of the energy storage master device, as well as the device parameters of the energy storage sub-devices. In step 302, only the device parameters of the energy storage master device in the network distribution demand data need be used. When the control chip of the energy storage master device verifies the device parameters of the energy storage master device based on the network distribution demand data, the control chip of the energy storage master device optionally performs verification based on the device parameters of the energy storage master device in the network distribution demand data. For example, if the device parameters of the energy storage master device in the network distribution demand data include a unique product authorization code, the control chip of the energy storage master device performs verification based on the unique product authorization code, i.e., decrypts the unique product authorization code to check whether it matches the energy storage master device where the control chip is located. If so, verification is successful, the energy storage master device enters the network distribution state, and transmits a network distribution instruction to the terminal device via the first wireless communication module. If not, verification fails, indicating that the network distribution of the energy storage master device has failed. The control chip of the energy storage master device transmits the network distribution result information of the energy storage master device to the terminal device via the first wireless communication module.

[0101] Step 304: Acquire network configuration information transmitted by the first wireless communication module.

[0102] Network configuration information is sent by the terminal device upon receiving a network configuration instruction. This information includes the network name and password. This information is transmitted using the standard Modbus (serial communication protocol) protocol. The address field determines the data attributes, the function code determines whether the data is written or read, and the data field contains the transmitted data. The last four bits are used for a CRC32 check to verify the correctness of the received and sent data.

[0103] Optionally, after receiving the network configuration instruction, the terminal device will organize the network configuration information and send it to the first wireless communication module. The network configuration information includes the network name and network password of the network used by the terminal device, and the terminal device is also connected to the cloud server through this network.

[0104] Optionally, the network used by the terminal device may be an external network to which the terminal device is connected, or a network initiated by the terminal device itself, such as WiFi, a personal hotspot, or a portable hotspot.

[0105] Step 306: Control the energy storage master device to perform network distribution according to the network distribution information.

[0106] Optionally, the control chip of the energy storage master device controls the energy storage master device's connection to the network based on the network name and network password in the network configuration information. Because this network is used by the terminal device, the energy storage master device and the terminal device are in the same network environment and can connect to the same cloud server, achieving network configuration for the energy storage master device. Once the energy storage master device is connected to the network, network configuration is complete. At this point, the terminal device can remotely control the connected energy storage master device through the cloud server or other network methods.

[0107] In this embodiment, the energy storage master device switches its mode by entering the network distribution mode command, and the network distribution demand data is used to verify the energy storage master device. Then, in the network distribution state, the energy storage master device obtains network distribution information, connects the energy storage master device to the network, completes the network distribution, and enables remote network control.

[0108] As shown in FIG. 4 , step 306 includes step 402 .

[0109] Step 402: Control the third wireless communication module of the energy storage master device to establish a communication connection with the cloud server according to the network distribution information.

[0110] As shown in FIG. 5 , the energy storage master device 104 further includes a third wireless communication module, which is configured to establish a communication connection with the cloud server 108 .

[0111] Optionally, after receiving the network configuration information, the control chip of the energy storage device sends it to a third wireless communication module. The third wireless communication module connects to the network and the cloud server based on the network name and password in the network configuration information. Connecting to the network indicates that the energy storage device has successfully connected to the network. Exemplarily, the third wireless communication module can be a wireless WiFi module, which enables fast network connection based on the network name and password.

[0112] As shown in FIG6 , step 206 controls the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the distribution network demand data, including steps 602 and 604 .

[0113] Step 602: Verify the authenticity of the distribution network demand data.

[0114] The distribution network demand data includes the equipment parameters of the energy storage main device and the equipment parameters of the energy storage sub-device. In this step, the authenticity of the equipment parameters of the energy storage sub-device is verified.

[0115] Optionally, the energy storage sub-device parameters in the distribution network demand data are encrypted and require decryption to verify their authenticity. The encryption and decryption process is detailed in the RSA public key encryption algorithm described above and will not be further described here. Similarly, the energy storage sub-device parameters can be a unique product authorization token.

[0116] Optionally, since the number of energy storage sub-devices is not limited and can be one or more, if the distribution network demand data contains device parameters of multiple energy storage sub-devices, these device parameters need to be decrypted separately and independently verified to ensure that the device parameters of each energy storage sub-device in the distribution network demand data are verified.

[0117] Step 604: If the verification is successful, control the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the verified distribution network demand data.

[0118] Optionally, the authenticity verification result may be a pass or fail. When the verification passes, that is, when the device parameters of all energy storage sub-devices in the distribution network demand data have been verified and verified correctly, the control chip of the energy storage master device controls the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device based on the verified distribution network demand data. The corresponding energy storage sub-device is the energy storage sub-device corresponding to the device parameters of the verified energy storage sub-device.

[0119] Optionally, when partial verification passes, that is, the device parameters of a portion of the energy storage sub-devices in the network distribution demand data are verified correctly, but the device parameters of another portion of the energy storage sub-devices in the network distribution demand data are verified incorrectly, the control chip of the energy storage master device controls the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device based on the device parameters of the portion of energy storage sub-devices that passed verification. The device parameters of the other portion of energy storage sub-devices that failed verification are collected and analyzed by the control chip of the energy storage master device, generating a connection failure packet as network distribution result information for the energy storage sub-device. This connection failure packet includes an indication of a connection failure for the energy storage sub-device and connection failure reason data. The control chip transmits this connection failure packet to the terminal device via the first wireless communication module. The terminal device parses the connection failure packet and displays the energy storage sub-device connection failure indication and the parsed connection failure reason on the terminal device's display module, allowing the user to view the failure reason and adjust the network distribution demand data accordingly. When the verification fails completely, that is, all verifications fail, the aforementioned connection failure packet is also generated as network distribution result information for the energy storage sub-device, which will not be further described here.

[0120] In this embodiment, the connection requirements of the terminal device are confirmed by verifying the authenticity of the distribution network demand data, and after successful verification, a connection is established with the corresponding energy storage sub-device through the second wireless communication module, which can ensure that the connected energy storage sub-device is correct and improve the distribution network accuracy of the energy storage system.

[0121] As shown in FIG. 7 , in step 604 , the second wireless communication module of the energy storage master device is controlled to establish a connection with the corresponding energy storage sub-device according to the verified distribution network demand data, including steps 702 , 704 and 706 .

[0122] Step 702: Based on the verified distribution network demand data, control the second wireless communication module of the energy storage master device to broadcast a handshake request.

[0123] The handshake request is configured to request to establish a communication connection with the corresponding energy storage sub-device.

[0124] Optionally, the handshake request broadcast by the second wireless communication module of the energy storage master device includes verified network distribution requirement data, i.e., the device parameters of the corresponding energy storage sub-device. The device parameters serve as the identification code of the energy storage sub-device (if the device parameters are a product authorization unique code, then they are the unique identification code of the energy storage sub-device) and are used to select the corresponding energy storage sub-device. When the second wireless communication module of the energy storage master device broadcasts the handshake request, only energy storage sub-devices that match the device parameters of the energy storage sub-device contained in the verified network distribution requirement data can participate in the handshake.

[0125] Step 704: Receive the handshake result fed back by the second wireless communication module.

[0126] Optionally, the corresponding energy storage sub-device responds to a handshake request broadcast by the second wireless communication module of the energy storage master device. After participating in the handshake, regardless of whether the handshake is successful, the energy storage sub-device feeds back a handshake result to the second wireless communication module, which is then sent to the control chip of the energy storage master device. The handshake result indicates whether the communication connection between the energy storage master device and the energy storage sub-device is successful.

[0127] Step 706 : If the handshake result indicates that a communication connection is successfully established between the energy storage main device and the corresponding energy storage sub-device, network configuration information is sent to the energy storage sub-device with which the communication connection is established via the second wireless communication module.

[0128] The network configuration information includes the network name and network password.

[0129] Optionally, since the energy storage main device has successfully connected to the network, the energy storage main device has obtained the network connection information from the terminal device for network connection. When the energy storage main device successfully establishes a communication connection with the energy storage sub-device, the energy storage main device sends the network connection information to the energy storage sub-device with which the communication connection has been established. As described above, the energy storage sub-device includes a fourth wireless communication module configured to establish a communication connection with the energy storage main device. In this embodiment, the energy storage sub-device also includes a fifth wireless communication module, which is configured to connect to the network according to the network name and network password in the network connection information, and to connect to the cloud server. Exemplarily, the fifth wireless communication module can be a WiFi module.

[0130] If the handshake result indicates that the energy storage master device and the corresponding energy storage sub-device have failed to establish a communication connection, the control chip of the energy storage master device will generate a connection failure packet as network configuration result information for the energy storage sub-device. This connection failure packet includes an indication of the energy storage sub-device connection failure and the reason for the connection failure. The control chip transmits this connection failure packet to the terminal device via the first wireless communication module. The terminal device parses the connection failure packet and displays the energy storage sub-device connection failure indication and the parsed connection failure reason on the terminal device's display module, allowing the user to view the failure reason and adjust the network configuration demand data accordingly.

[0131] In the disclosed embodiments, a communication connection is established with the energy storage sub-devices in the verified distribution network demand data by broadcasting a handshake request, and the communication establishment status is confirmed based on the handshake results fed back by the energy storage sub-devices. This ensures the accuracy of the network distribution of the energy storage sub-devices in the energy storage system. Furthermore, the energy storage master device transmits the network distribution information to the energy storage sub-devices with which communication connections have been successfully established. This allows for rapid batch distribution of energy storage sub-devices when configuring multiple energy storage sub-devices.

[0132] Optionally, the first wireless communication module is an NFC module, and the second wireless communication module is a Bluetooth module.

[0133] Near Field Communication (NFC) is a short-range, high-frequency wireless communication technology that allows for contactless, point-to-point data transmission between electronic devices. NFC offers a highly secure transmission method, supporting only short-range data. The first wireless communication module, an NFC module, ensures a high degree of confidentiality and security when communicating between the terminal device and the energy storage device.

[0134] The Bluetooth module is small in size, low in power consumption, easy to install and has a wide communication frequency band. The second wireless communication module uses a Bluetooth module to facilitate the communication connection matching between the energy storage main device and the energy storage sub-device. Moreover, since the Bluetooth connection can establish a temporary peer-to-peer connection, it is conducive to realizing a one-to-one or one-to-many connection relationship between the energy storage main device and the energy storage sub-device based on the distribution network demand data.

[0135] In order to better understand the above solution, an example is used below to provide a detailed explanation in combination with the application scenario shown in FIG5 .

[0136] The terminal device is connected to the energy storage system, and the terminal device is a mobile phone. The energy storage system includes a main energy storage device and a sub-energy storage device. The main energy storage device includes a first wireless communication module, a second wireless communication module, a third wireless communication module, and a control chip. The first wireless communication module is an NFC module, the second wireless communication module is a Bluetooth module, the third wireless communication module is a WiFi module, and the control chip is an MCU chip. The sub-energy storage device includes a fourth wireless communication module and a fifth wireless communication module. The fourth wireless communication module is a Bluetooth module, and the fifth wireless communication module is a WiFi module. The Bluetooth module of the main energy storage device and the Bluetooth module of the sub-energy storage device are connected to achieve communication connection between the main energy storage device and the sub-energy storage device. The WiFi module of the main energy storage device and the WiFi module of the sub-energy storage device are configured to connect to the network connected to the mobile phone and to the cloud server.

[0137] Before network configuration, the mobile phone must download and install the app corresponding to the energy storage system and authorize the app. After confirming the mobile phone's permission and the phone is within the sensing range of the NFC module of the energy storage master device, the app will pop up the corresponding network configuration guidance interface, guiding the user to enter the product authorization code of the energy storage master device and energy storage sub-device to be connected, as well as the network configuration information. The above product authorization code is the network configuration requirement data.

[0138] To begin network configuration, the user selects a network configuration mode on their mobile phone and enters the corresponding network configuration data. Network configuration modes include single and batch configuration modes. In single configuration mode, the network configuration data only includes the unique product authorization code of the energy storage device, enabling network configuration for the primary energy storage device. In batch configuration mode, the network configuration data includes the unique product authorization codes of the energy storage device and the required energy storage sub-devices, enabling network configuration for both the primary energy storage device and the required energy storage sub-devices. The mobile phone sends a command to enter network configuration mode and the network configuration data to the primary energy storage device's NFC module. Upon receiving the command, the primary energy storage device's MCU controls the primary energy storage device to switch to network configuration mode and performs key verification on the primary energy storage device's unique product authorization code in the network configuration data. The encryption and decryption process is detailed in the description of the public key encryption algorithm RSA above and will not be further described here. If verification succeeds, the primary energy storage device enters the network configuration state and sends the network configuration command to the mobile phone via the NFC module. After receiving the network configuration instruction, the mobile phone compiles the network configuration information and sends it to the NFC module. The NFC module then sends this information to the MCU chip. After receiving the network configuration information, the MCU chip in the energy storage device sends it to the energy storage device's WiFi module. The WiFi module connects to the network based on the network name and password in the network configuration information, connects to the cloud server, completes the network configuration for the energy storage device, and switches the energy storage device out of network configuration mode. Simultaneously, the energy storage device's network configuration result information is sent to the mobile phone via the NFC module. The network configuration result information can indicate successful completion or incomplete due to a fault or other reason. (If the initial network configuration fails, the mobile phone and energy storage device will attempt to configure the network multiple times. Only when all attempts fail will the network configuration be considered incomplete.) If the user selects the single network configuration mode, meaning that the network configuration requirement data only includes the energy storage device's unique product authorization code, all network configuration steps are now complete. The specific steps in single network configuration mode are shown in Figure 8.

[0139] In the batch network configuration mode, after the energy storage main device is successfully configured (corresponding to the step of "generating network configuration result information of the energy storage main device" in Figure 8), the network configuration of the energy storage sub-device begins. The MCU chip of the energy storage main device performs key verification on the product authorization unique code of the energy storage sub-device in the network configuration demand data to verify its authenticity and accuracy. The encryption and decryption process can be found in the above-mentioned record of the public key encryption algorithm RSA, which will not be repeated here. When the product authorization unique codes of all energy storage sub-devices in the network configuration demand data have been verified and the verification is correct, the Bluetooth module of the energy storage main device is controlled to broadcast a Bluetooth handshake request based on the verified network configuration demand data, requesting the energy storage sub-device corresponding to the product authorization unique code to establish a Bluetooth connection. When the Bluetooth module of the energy storage main device broadcasts a Bluetooth handshake request, only the energy storage sub-device that matches the product authorization unique code of the energy storage sub-device that has passed the verification can participate in the handshake. The Bluetooth module of the corresponding energy storage sub-device responds to the Bluetooth handshake request broadcast by the Bluetooth module of the energy storage main device and participates in the handshake. The signature of the Bluetooth handshake request is generated by encrypting the key obtained from the instruction manual in the packaging box of the energy storage sub-device to be connected according to the operating instructions when the mobile phone registers the APP for the first time. Regardless of whether the handshake is successful or not, the energy storage sub-device will feedback the handshake result to the Bluetooth module of the energy storage main device through its own Bluetooth module, and then transmit it to the MCU chip of the energy storage main device. The handshake result indicates whether the Bluetooth communication connection between the energy storage main device and the energy storage sub-device is successful. If the handshake result indicates that the energy storage main device and the corresponding energy storage sub-device have successfully established a Bluetooth communication connection, the energy storage main device will send the network configuration information to the Bluetooth module of the energy storage sub-device that has established a communication connection through the Bluetooth module of the energy storage main device. The WiFi module of the energy storage sub-device that has established a communication connection connects to the network according to the network name and network password in the network configuration information, and connects to the cloud server to complete the network configuration of the energy storage main device and the energy storage sub-device.

[0140] In this embodiment, the energy storage devices in the energy storage system are connected to the network conveniently and safely based on NFC control. The energy storage system has a reasonable and simple structure and is easy and convenient for users to operate. Multiple energy storage devices can be connected to the network by performing a single connection operation using a mobile phone, which greatly improves the convenience of the energy storage system connection.

[0141] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0142] Based on the same inventive concept, embodiments of the present disclosure also provide an energy storage system distribution network device for implementing the aforementioned energy storage system distribution network method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more energy storage system distribution network device embodiments provided below can be found in the aforementioned limitations of the energy storage system distribution network method and will not be further elaborated here.

[0143] As shown in FIG9 , it is a structural block diagram of a network distribution device of an energy storage system provided by an embodiment of the present disclosure, including: a network distribution request module 902 , a master network distribution module 904 , a slave network distribution module 906 , and a network distribution feedback module 908 , wherein:

[0144] The network distribution request module 902 is configured to obtain the network distribution mode entry instruction and network distribution demand data transmitted by the first wireless communication module of the energy storage master device. The network distribution mode entry instruction is an instruction sent when the terminal device is within the sensing range of the first wireless communication module.

[0145] The host network distribution module 904 is configured to control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and network distribution demand data, and send the network distribution result information of the energy storage master device to the terminal device through the first wireless communication module.

[0146] The slave network configuration module 906 is configured to control the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the network configuration requirement data if the network configuration of the energy storage master device is successful and the network configuration requirement data includes device parameters of the energy storage sub-device.

[0147] The network configuration feedback module 908 is configured to obtain network configuration result information of the energy storage sub-device and send the network configuration result information of the energy storage sub-device to the terminal device via the first wireless communication module.

[0148] Optionally, the host network distribution module 904 is configured to control the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and send the network distribution instruction to the terminal device through the first wireless communication module; obtain the network distribution information transmitted by the first wireless communication module, the network distribution information is the information sent by the terminal device when it receives the network distribution instruction, and the network distribution information includes the network name and network password; control the energy storage master device to perform network distribution according to the network distribution information.

[0149] Optionally, the host network distribution module 904 is configured to control the third wireless communication module of the energy storage master device to establish a communication connection with the cloud server according to the network distribution information.

[0150] Optionally, the slave network distribution module 906 is configured to verify the authenticity of the network distribution demand data; if the verification is successful, the second wireless communication module of the energy storage master device is controlled to establish a connection with the corresponding energy storage sub-device according to the verified network distribution demand data.

[0151] Optionally, the slave network distribution module 906 is configured to control the second wireless communication module of the energy storage master device to broadcast a handshake request based on the verified network distribution demand data; the handshake request is configured to request to establish a communication connection with the corresponding energy storage sub-device; receive the handshake result feedback from the second wireless communication module; if the handshake result indicates that the energy storage master device and the corresponding energy storage sub-device have successfully established a communication connection, send the network distribution information to the energy storage sub-device with which the communication connection has been established through the second wireless communication module; the network distribution information includes the network name and network password.

[0152] Optionally, the first wireless communication module is an NFC module, and the second wireless communication module is a Bluetooth module. Each module in the distribution network device of the energy storage system described above can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0153] The embodiment of the present disclosure also provides a computer device, which can be a terminal, and its internal structure diagram can be shown in Figure 10. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and an external device. The communication interface of the computer device is configured to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a distribution method for an energy storage system is implemented.

[0154] Those skilled in the art will understand that the structure shown in FIG10 is merely a block diagram of a portion of the structure related to the solution of the present disclosure, and does not constitute a limitation on the computer device to which the solution of the present disclosure is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0155] The present disclosure also provides a computer device including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0156] Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, where the network distribution mode entry instruction is a instruction sent when the terminal device is within the sensing range of the first wireless communication module;

[0157] Control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and network distribution demand data, and send the network distribution result information of the energy storage master device to the terminal device through the first wireless communication module;

[0158] If the energy storage master device is successfully connected to the network, and the network distribution requirement data includes the device parameters of the energy storage sub-device, the second wireless communication module of the energy storage master device is controlled to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data;

[0159] Obtain network configuration result information of the energy storage sub-device, and send the network configuration result information of the energy storage sub-device to the terminal device through the first wireless communication module.

[0160] Optionally, when executing the computer program, the processor further implements the following steps: controlling the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and sending the network distribution instruction to the terminal device through the first wireless communication module; obtaining the network distribution information transmitted by the first wireless communication module, the network distribution information is the information sent by the terminal device when it receives the network distribution instruction, and the network distribution information includes the network name and network password; and controlling the energy storage master device to perform network distribution according to the network distribution information.

[0161] Optionally, when the processor executes the computer program, the processor further implements the following steps: controlling the third wireless communication module of the energy storage master device to establish a communication connection with the cloud server according to the distribution network information.

[0162] Optionally, when executing the computer program, the processor further implements the following steps: verifying the authenticity of the distribution network demand data; if the verification is successful, controlling the second wireless communication module of the energy storage main device to establish a connection with the corresponding energy storage sub-device based on the verified distribution network demand data.

[0163] Optionally, when executing the computer program, the processor further implements the following steps: controlling the second wireless communication module of the energy storage main device to broadcast a handshake request based on the verified distribution network demand data; configuring the handshake request to request to establish a communication connection with the corresponding energy storage sub-device; receiving the handshake result fed back by the second wireless communication module; if the handshake result indicates that the energy storage main device and the corresponding energy storage sub-device have successfully established a communication connection, sending the distribution network information to the energy storage sub-device with which the communication connection has been established through the second wireless communication module; the distribution network information includes the network name and the network password.

[0164] Optionally, the first wireless communication module is an NFC module, and the second wireless communication module is a Bluetooth module.

[0165] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the following steps are implemented:

[0166] Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, where the network distribution mode entry instruction is a instruction sent when the terminal device is within the sensing range of the first wireless communication module;

[0167] Control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and network distribution demand data, and send the network distribution result information of the energy storage master device to the terminal device through the first wireless communication module;

[0168] If the energy storage master device is successfully connected to the network, and the network distribution requirement data includes the device parameters of the energy storage sub-device, the second wireless communication module of the energy storage master device is controlled to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data;

[0169] Obtain network configuration result information of the energy storage sub-device, and send the network configuration result information of the energy storage sub-device to the terminal device through the first wireless communication module.

[0170] Optionally, when the computer program is executed by the processor, the following steps are further implemented: controlling the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and sending the network distribution instruction to the terminal device through the first wireless communication module; obtaining the network distribution information transmitted by the first wireless communication module, the network distribution information is the information sent by the terminal device when it receives the network distribution instruction, and the network distribution information includes the network name and network password; and controlling the energy storage master device to perform network distribution according to the network distribution information.

[0171] Optionally, when the computer program is executed by the processor, the following steps are further implemented: controlling the third wireless communication module of the energy storage master device to establish a communication connection with the cloud server according to the distribution network information.

[0172] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: verifying the authenticity of the distribution network demand data; if the verification is successful, controlling the second wireless communication module of the energy storage main device to establish a connection with the corresponding energy storage sub-device based on the verified distribution network demand data.

[0173] Optionally, when the computer program is executed by the processor, the following steps are further implemented: based on the verified distribution network demand data, the second wireless communication module of the energy storage main device is controlled to broadcast a handshake request; the handshake request is configured to request to establish a communication connection with the corresponding energy storage sub-device; a handshake result fed back by the second wireless communication module is received; if the handshake result indicates that the energy storage main device and the corresponding energy storage sub-device have successfully established a communication connection, the distribution network information is sent to the energy storage sub-device with which the communication connection has been established through the second wireless communication module; the distribution network information includes a network name and a network password.

[0174] Optionally, the first wireless communication module is an NFC module, and the second wireless communication module is a Bluetooth module.

[0175] The present disclosure also provides a computer program product, including a computer program, which, when executed by a processor, implements the following steps:

[0176] Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, where the network distribution mode entry instruction is a instruction sent when the terminal device is within the sensing range of the first wireless communication module;

[0177] Control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and network distribution demand data, and send the network distribution result information of the energy storage master device to the terminal device through the first wireless communication module;

[0178] If the energy storage master device is successfully connected to the network, and the network distribution requirement data includes the device parameters of the energy storage sub-device, the second wireless communication module of the energy storage master device is controlled to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data;

[0179] Obtain network configuration result information of the energy storage sub-device, and send the network configuration result information of the energy storage sub-device to the terminal device through the first wireless communication module.

[0180] Optionally, when the computer program is executed by the processor, the following steps are further implemented: controlling the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and sending the network distribution instruction to the terminal device through the first wireless communication module; obtaining the network distribution information transmitted by the first wireless communication module, the network distribution information is the information sent by the terminal device when it receives the network distribution instruction, and the network distribution information includes the network name and network password; and controlling the energy storage master device to perform network distribution according to the network distribution information.

[0181] Optionally, when the computer program is executed by the processor, the following steps are further implemented: controlling the third wireless communication module of the energy storage master device to establish a communication connection with the cloud server according to the distribution network information.

[0182] Optionally, when the computer program is executed by the processor, the following steps are further implemented: verifying the authenticity of the distribution network demand data; if the verification is successful, controlling the second wireless communication module of the energy storage main device to establish a connection with the corresponding energy storage sub-device based on the verified distribution network demand data.

[0183] Optionally, when the computer program is executed by the processor, the following steps are further implemented: based on the verified distribution network demand data, the second wireless communication module of the energy storage main device is controlled to broadcast a handshake request; the handshake request is configured to request to establish a communication connection with the corresponding energy storage sub-device; a handshake result fed back by the second wireless communication module is received; if the handshake result indicates that the energy storage main device and the corresponding energy storage sub-device have successfully established a communication connection, the distribution network information is sent to the energy storage sub-device with which the communication connection has been established through the second wireless communication module; the distribution network information includes a network name and a network password.

[0184] Optionally, the first wireless communication module is an NFC module, and the second wireless communication module is a Bluetooth module.

[0185] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0186] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in the present disclosure may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this disclosure may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in each embodiment provided in this disclosure may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0187] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0188] The above-described embodiments merely represent several implementation methods of the present disclosure. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present disclosure. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present disclosure, all of which fall within the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure shall be determined by the appended claims. Industrial Applicability

[0189] In summary, the energy storage system network distribution method, apparatus, computer equipment, computer-readable storage medium, and computer program product provided by the present disclosure can achieve network distribution with the energy storage main device and the corresponding energy storage sub-devices by only requiring the terminal device to perform a single network distribution operation, thereby avoiding repeated operations and greatly improving the convenience of network distribution for the energy storage system.

Claims

1. A network distribution method for an energy storage system, characterized in that: The energy storage system includes an energy storage main device and an energy storage sub-device; the method includes: Acquire a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, wherein the network distribution mode entry instruction is an instruction sent when the terminal device is within the sensing range of the first wireless communication module; Control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and send the network distribution result information of the energy storage master device to the terminal device through the first wireless communication module; If the energy storage main device is successfully networked, and the network distribution requirement data includes device parameters of the energy storage sub-device, the second wireless communication module of the energy storage main device is controlled to establish a connection with the corresponding energy storage sub-device according to the network distribution requirement data; The network configuration result information of the energy storage sub-device is obtained, and the network configuration result information of the energy storage sub-device is sent to the terminal device through the first wireless communication module.

2. The method according to claim 1, characterized in that: The controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data includes: Control the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and send the network distribution instruction to the terminal device through the first wireless communication module; Acquire network configuration information transmitted by the first wireless communication module, the network configuration information being information sent by the terminal device when receiving the network configuration instruction, the network configuration information including a network name and a network password; The energy storage master device is controlled to perform network distribution according to the network distribution information.

3. The method according to claim 2, characterized in that The controlling the energy storage master device to perform network distribution according to the network distribution information includes: The third wireless communication module of the energy storage master device is controlled to establish a communication connection with the cloud server according to the network distribution information.

4. The method according to claims 1-3, characterized in that: The controlling the second wireless communication module of the energy storage main device to establish a connection with the corresponding energy storage sub-device according to the distribution network demand data includes: Verifying the authenticity of the distribution network demand data; If the verification is successful, the second wireless communication module of the energy storage main device is controlled to establish a connection with the corresponding energy storage sub-device according to the verified distribution network demand data.

5. The method according to claim 4, characterized in that The controlling the second wireless communication module of the energy storage main device to establish a connection with the corresponding energy storage sub-device according to the verified distribution network demand data includes: Based on the verified distribution network demand data, the second wireless communication module of the energy storage master device is controlled to broadcast a handshake request; the handshake request is configured to request to establish a communication connection with the corresponding energy storage sub-device; receiving a handshake result fed back by the second wireless communication module; If the handshake result indicates that a communication connection is successfully established between the energy storage main device and the corresponding energy storage sub-device, network configuration information is sent to the energy storage sub-device with the established communication connection through the second wireless communication module; the network configuration information includes a network name and a network password.

6. The method according to any one of claims 1 to 5, characterized in that: The first wireless communication module is an NFC module, and the second wireless communication module is a Bluetooth module.

7. The method according to any one of claims 1 to 6, characterized in that: The controlling the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and sending the network distribution result information of the energy storage master device to the terminal device through the first wireless communication module, comprises: Control the energy storage master device to switch to the network distribution mode according to the instruction to enter the network distribution mode, and control the energy storage master device to perform network distribution according to the network distribution demand data in the network distribution mode; If the network configuration of the energy storage master device is successful, a network configuration success indication will be generated as the network configuration result information of the energy storage master device and sent to the terminal device through the first wireless communication module.

8. The method according to claim 7, characterized in that The method further comprises: If the network configuration of the energy storage master device fails, a network configuration failure data packet will be generated as the network configuration result information of the energy storage master device and sent to the terminal device through the first wireless communication module; the network configuration failure data packet includes a network configuration failure indication and network configuration failure reason data.

9. The method according to any one of claims 2 to 8, characterized in that: The controlling the energy storage master device to enter the network distribution state according to the network distribution mode entry instruction and the network distribution demand data, and sending the network distribution instruction to the terminal device through the first wireless communication module, includes: Control the energy storage master device to switch to the network distribution mode according to the instruction to enter the network distribution mode, and verify the device parameters of the energy storage master device according to the network distribution demand data in the network distribution mode; If the device parameter verification of the energy storage master device is passed, the energy storage master device is controlled to enter a network distribution state, and a network distribution instruction is sent to the terminal device through the first wireless communication module.

10. The method according to any one of claims 4 to 9, characterized in that: The device parameters of the energy storage sub-device included in the distribution network demand data are encrypted and transmitted parameters; the authenticity verification of the distribution network demand data includes: Performing a decryption operation on the device parameters of the energy storage sub-device to obtain the decrypted device parameters of the energy storage sub-device; The decrypted device parameters of the energy storage sub-device are verified for authenticity.

11. The method according to any one of claims 3 to 10, characterized in that: The third wireless communication module is a WiFi module.

12. A distribution network device for an energy storage system, characterized in that: The device comprises: A network distribution request module, configured to obtain a network distribution mode entry instruction and network distribution demand data transmitted by a first wireless communication module of the energy storage master device, wherein the network distribution mode entry instruction is an instruction sent when the terminal device is within the sensing range of the first wireless communication module; A host network distribution module, configured to control the energy storage master device to perform network distribution according to the network distribution mode entry instruction and the network distribution demand data, and send the network distribution result information of the energy storage master device to the terminal device through the first wireless communication module; The slave network distribution module is configured to control the second wireless communication module of the energy storage master device to establish a connection with the corresponding energy storage sub-device according to the network distribution demand data if the network distribution of the energy storage master device is successful and the network distribution demand data includes the device parameters of the energy storage sub-device; The network configuration feedback module is configured to obtain the network configuration result information of the energy storage sub-device, and send the network configuration result information of the energy storage sub-device to the terminal device through the first wireless communication module.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Smart home control panel sub-equipment configuration method, computer device and computer readable storage medium

    CN112511354A

  • Terminal auxiliary network distribution method and apparatus, and electronic device

    CN113055867A

  • Intelligent equipment network distribution method and system, electronic device and storage medium

    CN114363992A

  • Network distribution method and device of energy storage system and computer equipment

    CN116744407A

  • Network configuration method and apparatus, and computer device

    WO2021169377A1