Communication method, communication device, energy storage system and storage medium

By setting up the power line communication connection of the distribution box in the energy storage system, the host and slave are determined, and the communication and management of the terminal and multiple distribution boxes are realized, the problem of cumbersome operation of multiple distribution boxes is solved and management efficiency is improved and convenience.

CN119070473AInactive Publication Date: 2024-12-03SHENZHEN HELLO TECH ENERGY CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411039150.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-12-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the case of multiple distribution boxes, users need to connect and manage each distribution box in turn, which is cumbersome and has low efficiency.

Method used

By setting up multiple distribution boxes in the energy storage system to communicate through power lines, one of the distribution boxes is determined as the host, and the host addresses and transfers other distribution boxes as slaves to realize the terminal and multiple distribution boxes. communication and management.

Benefits of technology

It improves user operation convenience and management efficiency, reduces the need for independent connection of multiple distribution boxes, ensures information interaction and control between distribution boxes, and does not destroy the independence of distribution boxes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070473A_ABST
    Figure CN119070473A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method, a communication device, an energy storage system and a storage medium, and is used for the energy storage system, the energy storage system comprises a plurality of distribution boxes, the plurality of distribution boxes are in communication connection through a power line, and the method comprises the steps: determining a target distribution box as a host under the condition that the target distribution box is in communication connection with a terminal, other distribution boxes except the target distribution box are slave machines, and the target distribution box is any one distribution box; and carrying out communication data transfer through the host, so that the terminal communicates with any slave. The terminal does not need to be respectively connected with a plurality of distribution boxes, and the control and management of the plurality of distribution boxes can be realized through the host, so that the convenience of user operation is improved, and the management efficiency of the user on the plurality of distribution boxes is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of energy storage power supply, and more specifically, to a communication method, a communication device, an energy storage system, and a non-volatile computer-readable storage medium. Background Art

[0002] At present, when managing the distribution box, it is necessary to connect each distribution box to the distribution network separately, and then perform corresponding management operations on the distribution box (such as querying power data, etc.) after the connection. In the case of multiple distribution boxes, since the user needs to connect to each distribution box in turn and perform corresponding management operations on each distribution box in turn, the operation is cumbersome and inefficient. Summary of the invention

[0003] The embodiments of the present application provide a communication method, a communication device, an energy storage system, and a non-volatile computer-readable storage medium, which are simple and convenient to operate and highly efficient.

[0004] The communication method of the present application is used for an energy storage system, which includes multiple distribution boxes, which are connected via power line communication. The method includes: when a target distribution box is communicatively connected to a terminal, determining that the target distribution box is a host, and other distribution boxes other than the target distribution box are slaves, and the target distribution box is any of the distribution boxes; and transferring communication data through the host so that the terminal and any of the slaves can communicate.

[0005] In certain embodiments, the method further includes: addressing each of the slaves through the host to determine a communication address of each of the slaves; and transferring communication data through the host so that the terminal and any of the slaves communicate, including: forwarding the communication data to a target slave through the host, the communication address of the target slave matching the communication data.

[0006] In some embodiments, the addressing of each of the slaves by the host to determine the communication address of each of the slaves includes: communicating with each of the slaves by the host to obtain the serial number of each of the slaves; based on the serial number of each of the slaves, addressing each of the slaves by the host to determine the communication address of each of the slaves, the communication addresses of each of the slaves are different.

[0007] In some embodiments, the method also includes: when the energy storage system is connected to other distribution boxes other than the multiple distribution boxes, determining whether the host exists; if so, determining that the connected distribution box is the slave, and re-addressing each of the slaves through the host to determine the communication address of each of the slaves; if not, based on the access time of all the distribution boxes of the energy storage system, determining that the distribution box with the earliest access time is the host, and the other distribution boxes are the slaves, and re-addressing each of the slaves through the host to determine the communication address of each of the slaves.

[0008] In certain embodiments, the method further includes: when each of the slaves is successfully addressed, sending the communication address corresponding to each of the slaves to each of the slaves through the host, so that each of the slaves determines its own communication address.

[0009] In some embodiments, the communication data is relayed by the host so that the terminal and any of the slaves communicate, including: when the host receives first communication data sent by the terminal, forwarding the first communication data to the corresponding slave; when the host receives second communication data sent by any of the slaves, forwarding the second communication data to the terminal.

[0010] In some embodiments, the energy storage system also includes an energy storage device, which is communicatively connected to the distribution box. The method also includes: when the host and / or the slave receives a control instruction sent by the terminal, controlling the corresponding energy storage device to perform a corresponding operation based on the control instruction.

[0011] In some embodiments, the energy storage system also includes an electrical device, which is connected to the distribution box. The method also includes: when the host and / or the slave receives a control instruction sent by the terminal, supplying power to or stopping power supply to the corresponding electrical device based on the control instruction.

[0012] In some embodiments, a plurality of distribution boxes include a power carrier communication chip, and each distribution box communicates with the power lines therebetween via its own power carrier communication chip.

[0013] In some embodiments, the communication connection mode between the target distribution box and the terminal includes a wired connection mode or a wireless connection mode, and the wireless connection mode includes at least one of a wireless local area network connection, a Bluetooth connection, and a near field communication connection.

[0014] The communication device of the embodiment of the present application is used for an energy storage system, the energy storage system includes a plurality of distribution boxes, the plurality of distribution boxes are connected via power line communication, and the communication device may include a determination module and a transfer module. The determination module is used to determine that the target distribution box is a host, and the other distribution boxes other than the target distribution box are slaves when the target distribution box is connected to the terminal for communication, and the target distribution box is any of the distribution boxes; the transfer module is used to transfer communication data through the host so that the terminal and any of the slaves can communicate.

[0015] The energy storage system of the embodiment of the present application includes multiple distribution boxes, which are connected via power line communication; a processor, a memory; and a computer program, wherein the computer program is stored in the memory and executed by the processor, and the computer program includes instructions for executing the communication method described in any of the above embodiments.

[0016] The non-volatile computer-readable storage medium of the embodiment of the present application includes a computer program. When the computer program is executed by a processor, the processor executes the communication method described in any of the above embodiments.

[0017] The communication method, communication device, energy storage system, and non-volatile computer-readable storage medium of the embodiment of the present application, by setting up multiple distribution boxes connected through power line communication, determine any distribution box (i.e., the target distribution box) that is connected to the terminal for communication as the host, and determine other distribution boxes other than the target distribution box as slaves. The host transfers the communication data so that the terminal and any slave can communicate. The terminal does not need to be connected to multiple distribution boxes separately. The control and management of multiple distribution boxes can be achieved through the host, which not only improves the convenience of user operation, but also improves the user's management efficiency of multiple distribution boxes. In addition, the power line communication connection between multiple distribution boxes can also achieve information interaction and control between each distribution box without destroying the independence of each distribution box.

[0018] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0020] Figure 1 is a flow chart of a communication method according to some embodiments of the present application;

[0021] Figure 2It is a schematic diagram of a scenario of a communication method in some embodiments of the present application;

[0022] Figure 3 is a flow chart of a communication method according to some embodiments of the present application;

[0023] Figure 4 is a flow chart of a communication method according to some embodiments of the present application;

[0024] Figure 5 is a flow chart of a communication method according to some embodiments of the present application;

[0025] Figure 6 is a flow chart of a communication method according to some embodiments of the present application;

[0026] Figure 7 is a flow chart of a communication method according to some embodiments of the present application;

[0027] Figure 8 is a flow chart of a communication method according to some embodiments of the present application;

[0028] Fig. 9 It is a schematic diagram of a scenario of a communication method in some embodiments of the present application;

[0029] Fig.10 is a flow chart of a communication method according to some embodiments of the present application;

[0030] Fig.11 is a schematic diagram of a module of a communication device according to some embodiments of the present application;

[0031] Fig.12 is a schematic diagram of the structure of an energy storage system of certain embodiments of the present application;

[0032] Fig.13 It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0033] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0034] To facilitate understanding of this application, the background technology of this application is introduced below:

[0035] In order to manage the power supply to the load, a distribution box is needed to manage the mains power and energy storage power supply and charging (for example, the power of the energy storage device is distributed to each load through the distribution box). Each distribution box has limited load output interfaces and energy storage access interfaces. If the number of loads is too large or more energy storage devices need to be connected, multiple distribution boxes are required to manage the power supply and discharge of the loads and energy storage.

[0036] At present, the distribution box, the energy storage system connected through the distribution box, and the load are generally regarded as an independent system. The user connects to the distribution box through the application (Application, APP) developed by the matching distribution box on the terminal to manage the distribution box (such as querying or setting power data, etc.). When managing the distribution box, it is necessary to connect each distribution box to the distribution network separately, and then perform corresponding management operations on the distribution box after the connection. In the case of multiple distribution boxes, since the user needs to connect to each distribution box in turn and perform corresponding management operations on each distribution box in turn, the operation is cumbersome and inefficient.

[0037] In order to solve the above technical problems, an embodiment of the present application provides a communication method.

[0038] The communication method of this application will be described in detail below:

[0039] See also Figure 1 The communication method of the embodiment of the present application is used for an energy storage system, the energy storage system includes a plurality of distribution boxes, and the plurality of distribution boxes are connected via power line communication. The method includes:

[0040] Step 011: When the target distribution box is connected to the terminal for communication, determine that the target distribution box is the host, other distribution boxes other than the target distribution box are slaves, and the target distribution box is any distribution box.

[0041] The terminal may be a personal computer, a laptop computer, a smart phone, a tablet computer, a portable wearable device, etc.

[0042] Optionally, the communication connection mode between the target distribution box and the terminal includes a wired connection mode or a wireless connection mode, and the wireless connection mode includes at least one of a wireless local area network connection, a Bluetooth connection and a near field communication connection.

[0043] Among them, the wireless connection method may include a wireless LAN connection; or, the wireless connection method may include a wireless LAN connection and a Bluetooth connection; or, the wireless connection method may also include a wireless LAN connection, a Bluetooth connection and a near-field communication connection. This application does not impose any restrictions on this and will not list them one by one here.

[0044] Among them, Wireless Local Area Network (WLAN) refers to a network system that enables mutual communication and resource sharing through wireless technology (Wi-Fi). Bluetooth is a short-range wireless communication technology that allows wireless transmission of data and voice between devices. Near Field Communication (NFC) refers to a communication method based on a low-speed, short-range transmission wireless network protocol for data exchange (for example, ZigBee communication technology).

[0045] Specifically, the terminal can be connected to the distribution box via a wired connection or a wireless connection (such as at least one of a wireless LAN connection, a Bluetooth connection, and a near-field communication connection) (for example, when connected via Bluetooth, the terminal and the target distribution box are respectively provided with corresponding communication modules to realize communication between the terminal and the target distribution box) to manage the distribution box (for example, to perform data query (such as checking the electric energy consumed by each load connected to the distribution box, etc.), and for another example, to perform electric energy control (such as controlling the switch settings of each load connected to the distribution box, etc.).

[0046] The user can connect and control any distribution box through the APP developed for the matching distribution box on the terminal (the distribution box connected to the APP is determined to be the target distribution box). When the target distribution box is connected to the terminal, the target distribution box is determined to be the host, and a default address (Internet Protocol Address, IP) is assigned to the host, and other distribution boxes in the energy storage system other than the target distribution box are slaves.

[0047] At present, there are ways to achieve communication between distribution boxes based on CAN communication technology (Controller Area Network) or Wi-Fi communication technology on the market. However, CAN communication requires the construction of additional communication lines, which increases the cost of wiring harnesses. In addition, when multiple distribution boxes communicate based on CAN communication, since each distribution box may send and receive a large number of data frames (such as control instructions, status information of distribution boxes, etc.), when the communication volume is large, the data flow on the CAN bus will also increase, resulting in an increase in the occupancy rate of the CAN bus. In addition, when the number of distribution boxes is large, the design difficulty of communication between distribution boxes will also increase accordingly. In the case of Wi-Fi communication, the distance between distribution boxes may be far apart, and there may even be scenarios such as wall communication. Since the Wi-Fi communication signal has poor wall penetration, the communication quality is also poor.

[0048] Optionally, the plurality of distribution boxes include a power carrier communication chip, and each distribution box communicates with the power lines therebetween via its own power carrier communication chip.

[0049] Among them, the power line carrier communication chip is an integrated circuit chip used to transmit data in power line communication (PLC).

[0050] Specifically, by setting up a power carrier communication chip for the distribution box, multiple distribution boxes of the energy storage system can achieve information exchange based on the AC line (AC line) of the mains power grid, without the need to build additional communication lines, effectively saving wiring harness costs and reducing design difficulty. Since the power carrier communication chip can support communication requirements over a distance of one kilometer, it can also avoid the problem of poor communication quality caused by the poor wall penetration of Wi-Fi communication signals, thereby ensuring communication quality.

[0051] Step 012: Communication data is transferred through the host so that the terminal can communicate with any slave.

[0052] The communication data may include the information of the sender, the information of the receiver (host, slave or terminal) and the content of the communication between the two. For example, the terminal sends a control instruction to the slave, the information of the sender is the information of the terminal (such as the communication address of the terminal, the device information of the terminal, etc.), the information of the receiver is the information of the slave (such as the communication address of the slave, etc.), and the control instruction is the specific content of the communication between the sender and the receiver.

[0053] Specifically, the host and the terminal can be connected via a wired connection or a wireless connection, and the distribution boxes can be connected via power line communication. The terminal can also communicate directly with the host. The terminal can also use the host as a transfer device to achieve communication with any slave. For example, after the terminal sends communication data to the host, the host forwards the communication data to the target slave through the power line, thereby achieving communication between the terminal and any slave.

[0054] Since power carrier communication is an asynchronous half-duplex communication mode (i.e., communication data can be transmitted in two directions, and each time, only the communication data in one direction is transmitted), for example, taking the slave sending communication data to the host as an example, the slave can continue to send after sending the communication data, and does not have to wait for the host's response before continuing to send. Therefore, power carrier communication between distribution boxes can also reduce the complexity of communication and save costs.

[0055] For example, see Figure 2, taking multiple distribution boxes including distribution box 10, distribution box 20, distribution box 30 and distribution box 40 as an example for explanation, the four distribution boxes can be connected to the mains through a bus-type connection method, and the four distribution boxes are connected through power lines (AC power grid lines). When the target distribution box (i.e., distribution box 10) is connected to the terminal 50 for communication, the target distribution box 10 is determined to be the host 10, and the distribution boxes 20, 30 and 40 are all slaves. Communication data is transferred through the host 10 so that the terminal can communicate with any slave (slave 20, slave 30 and slave 40).

[0056] In this way, multiple distribution boxes are set up to be connected through power line communication, and any distribution box (i.e., the target distribution box) that is connected to the terminal for communication is determined as the host, and other distribution boxes other than the target distribution box are determined as slaves. The host transfers the communication data so that the terminal and any slave can communicate. The terminal does not need to be connected to multiple distribution boxes separately. The control and management of multiple distribution boxes can be achieved through the host, which not only improves the convenience of user operation, but also improves the user's management efficiency of multiple distribution boxes. In addition, the power line communication connection between multiple distribution boxes can also realize information interaction and control between each distribution box without destroying the independence of each distribution box.

[0057] Compared with the existing method of realizing communication between distribution boxes based on CAN communication technology or Wi-Fi communication technology, the present application does not need to build additional communication lines, which can save wiring harness costs and reduce design difficulty; it can also avoid the problem of poor communication quality caused by poor wall penetration of Wi-Fi communication signals, thereby ensuring communication quality.

[0058] See also Figure 3 In some embodiments, the communication method further comprises:

[0059] Step 013: The host addresses each slave to determine the communication address of each slave;

[0060] Step 012: transferring communication data through the host so that the terminal communicates with any slave, including:

[0061] Step 0121: The communication data is forwarded to the target slave through the host, and the communication address of the target slave matches the communication data.

[0062] The communication address may include IP information, routing identifiers, etc. of each slave machine. Based on the communication address of each slave machine, the communication data may be routed to the corresponding slave machine.

[0063] Specifically, the communication data includes the communication address of the target slave that receives or sends the communication data. When the host is determined, each slave can be addressed by the host. The host forwards the communication data to the corresponding target slave according to the communication address of each slave after addressing.

[0064] See also Figure 4 Optionally, step 012: transferring communication data through the host so that the terminal communicates with any slave, including:

[0065] Step 0122: when the host receives the first communication data sent by the terminal, forward the first communication data to the corresponding slave;

[0066] Step 0123: When the host receives the second communication data sent by any slave, the host forwards the second communication data to the terminal.

[0067] The first communication data may be communication data sent from the terminal to the host, and the second communication data may be communication data sent from any slave to the host.

[0068] Specifically, when the host receives the first communication data sent by the terminal (through a wireless connection, etc.), the host routes the first communication data to the corresponding slave through power line communication according to the communication address in the first communication data; when the host receives the second communication data sent by any slave (through power line communication), the host can forward the second communication data to the terminal through a wired connection or a wireless connection, thereby realizing communication between the terminal and any slave.

[0069] See also Figure 5 In some implementations, step 013: addressing each slave by the host to determine the communication address of each slave includes:

[0070] Step 0131: Communicate with each slave through the host to obtain the serial number of each slave;

[0071] Step 0132: Based on the serial number of each slave, the host addresses each slave to determine the communication address of each slave, and the communication address of each slave is different.

[0072] Among them, the serial number (SN code) is a unique identifier of each distribution box, similar to an ID card, which can be a number, letter identifier, etc. The SN code of each distribution box is different.

[0073] Specifically, the host communicates with each slave to obtain the serial number of each slave. For example, the host can send an addressing instruction to each slave, and each slave responds to the addressing instruction and sends the SN code to the host. Then, by setting a response time (such as 1 second, etc.), the host determines the number of slaves that respond and the serial number of each slave according to the SN code received within the response time. Then, based on the SN code of each slave (such as based on the number of digits of each SN code, etc.), the host addresses each slave to determine the communication address of each slave. For example, by comparing the highest bit of the SN code of each slave, the highest bit of each SN code can be sorted from large to small or from small to large (wherein, when the highest bit of the SN code is the same, the next bit can be compared, and the sorting of each slave can be determined by comparing step by step downward), and the slave number corresponding to each SN code is numbered according to the sorting result.

[0074] For example, the SN codes of each slave include a first SN code 303110000000000 and a second SN code 403110000000000 as an example for explanation, wherein the highest bit 3 of the first SN code is smaller than the highest bit 4 of the second SN code. Therefore, the distribution box corresponding to the first SN code is set as slave No. 1, and the distribution box corresponding to the second SN code is set as slave No. 2. Slave No. 1 and slave No. 2 are addressed accordingly to determine the communication addresses of slave No. 1 and slave No. 2. The communication addresses of each slave are different, thereby ensuring the uniqueness of the communication addresses of each slave and avoiding errors in sending data.

[0075] See also Figure 6 In some embodiments, the communication method further comprises:

[0076] Step 014: When the energy storage system is connected to other distribution boxes other than the multiple distribution boxes, determine whether there is a host;

[0077] Step 015: If yes, determine that the connected distribution box is a slave, and re-address each slave through the host to determine the communication address of each slave;

[0078] Step 016: If not, based on the access time of all the distribution boxes of the energy storage system, determine the distribution box with the earliest access time as the host, and the other distribution boxes as slaves, and address each slave through the host to determine the communication address of each slave.

[0079] Specifically, when the energy storage system is connected to a newly added distribution box, determine whether there is a host. If there is a host, determine that the connected distribution box is a slave, and re-address each slave through the host (such as the host again addresses each slave according to the SN code, etc.) to determine the communication address of each slave; if there is no host, determine the distribution box with the earliest access time as the host and the other distribution boxes as slaves based on the access time of all the distribution boxes in the energy storage system. Among them, in the case where there is at least one distribution box with the same access time and all of them are the earliest, the host can be determined based on the SN numbers of each distribution box. (For example, based on the SN numbers of each distribution box, determine that the one with the largest SN number is the host, etc.). When the host is determined, address each slave through the host to determine the communication address of each slave, thereby improving the stability and interoperability of the system and facilitating subsequent logical processing.

[0080] Optionally, when the master or any slave is disconnected from the grid, addressing is performed again.

[0081] Specifically, when the host exits the grid connection (such as power failure, etc.), the distribution box with the earliest access time can be re-determined as the host according to the access time of all the distribution boxes of the energy storage system, and the other distribution boxes can be re-determined as slaves, and each slave is addressed by the host to determine the communication address of each slave. When any slave exits the grid connection (such as power failure, etc.), the data of each slave that can still be connected (i.e., the slave that is still on the network) (such as the number of slaves that can still be connected and the SN code of each slave, etc.) can be obtained through the host, and re-addressed according to the SN code of each slave.

[0082] See also Figure 7 In some embodiments, the communication method further comprises:

[0083] Step 017: When each slave is successfully addressed, the host sends the communication address corresponding to each slave to each slave, so that each slave determines its own communication address.

[0084] Specifically, when each slave is successfully addressed, the host sends the communication address corresponding to each slave to each slave. For example, the host can send each communication address to the corresponding slave according to the SN code in each communication address; or, the host can generate a message (the message includes an SN code and a communication address corresponding to the SN code) according to the communication address of each slave, and then send the message to each slave. After receiving the message, each slave saves the communication address corresponding to its own SN code and discards the communication address that does not correspond to its own SN code, so that each slave determines its own communication address.

[0085] See also Figure 8 and Fig. 9 In some embodiments, the energy storage system further includes an energy storage device, the energy storage device is communicatively connected to the distribution box, and the communication method further includes:

[0086] Step 018: When the host and / or the slave receives the control instruction sent by the terminal, the corresponding energy storage device is controlled to perform the corresponding operation based on the control instruction.

[0087] Specifically, see Fig. 9 , the energy storage device 11 and the target distribution box 10 can exchange information through the CAN communication connection. For example, a user sends a control instruction to the host 10 through the APP of the terminal 50 based on a wireless connection (such as a wireless LAN connection, etc.). When the host 10 receives the control instruction sent by the terminal 50, it controls the corresponding energy storage device 11 to perform the corresponding operation based on the control instruction included in the control instruction. Communication data may include control instructions. Please refer to Figure 2 and Fig. 9 Taking the example of a user controlling a slave 20 through a terminal 10, the user sends communication data to the host 10 through the APP of the terminal 50 based on a wireless connection (such as a Bluetooth connection, etc.). After receiving the communication data, the host 10 sends the communication data to the corresponding slave 20 based on power line communication. The slave 20 receives and controls the corresponding energy storage device to perform corresponding operations according to the control instructions in the communication data.

[0088] See also Fig.10 Optionally, the energy storage system further includes an electrical device, the electrical device is connected to the distribution box, and the communication method further includes:

[0089] Step 019: When the host and / or the slave receives a control instruction sent by the terminal, power is supplied or stopped to the corresponding electrical equipment based on the control instruction.

[0090] Among them, the electrical equipment can be household appliances (such as air conditioners, refrigerators, etc.) or industrial electrical equipment (such as water pumps, etc.), and this application does not impose any restrictions on this.

[0091] Specifically, the electrical equipment and the distribution box can be connected via CAN communication to exchange information. When the host and / or the slave receives a control instruction sent by the terminal, the corresponding electrical equipment is powered or stopped based on the control instruction.

[0092] See also Fig.11In order to better implement the communication method of the embodiment of the present application, the embodiment of the present application also provides a communication device 300. The communication device 300 can be used in an energy storage system, and the energy storage system includes multiple distribution boxes, and the multiple distribution boxes are connected through power line communication. The communication device 300 may include a determination module 301 and a transfer module 302. The determination module 301 is used to determine that the target distribution box is the host, and other distribution boxes other than the target distribution box are slaves, and the target distribution box is any distribution box when the target distribution box is connected to the terminal for communication; the transfer module 302 is used to transfer communication data through the host so that the terminal and any slave communicate.

[0093] In one embodiment, the communication device 300 also includes an addressing module 303, which is used to address each of the slaves through the host to determine the communication address of each of the slaves; the transit module 302 is also specifically used to forward the communication data to the target slave through the host, and the communication address of the target slave matches the communication data.

[0094] In one embodiment, the addressing module 303 is specifically used to communicate with each of the slaves through the host to obtain the serial number of each of the slaves and based on the serial number of each of the slaves, address each of the slaves through the host to determine the communication address of each of the slaves, and the communication addresses of each of the slaves are different.

[0095] In one embodiment, the communication device 300 also includes a judgment module 304, which is used to judge whether the host exists when the energy storage system is connected to other distribution boxes other than the multiple distribution boxes; if so, the connected distribution box is determined to be the slave, and each of the slaves is re-addressed by the host to determine the communication address of each of the slaves; if not, based on the access time of all the distribution boxes of the energy storage system, the distribution box with the earliest access time is determined to be the host, and the other distribution boxes are the slaves, and each of the slaves is re-addressed by the host to determine the communication address of each of the slaves.

[0096] In one embodiment, the communication device 300 further includes a sending module 305, which is used to send the communication address corresponding to each of the slaves to each of the slaves through the host when each of the slaves is successfully addressed, so that each of the slaves determines its own communication address.

[0097] In one embodiment, the transit module 302 is also specifically used to forward the first communication data sent by the terminal to the corresponding slave when the host receives the first communication data; and to forward the second communication data to the terminal when the host receives the second communication data sent by any of the slaves.

[0098] In one embodiment, the energy storage system also includes an energy storage device, which is communicatively connected to the distribution box. The communication device also includes a control module 306, and the control module 306 is used to control the corresponding energy storage device to perform corresponding operations based on the control instruction when the host and / or the slave receives a control instruction sent by the terminal.

[0099] In one embodiment, the energy storage system also includes an electrical device, which is connected to the distribution box. The control module 306 is specifically used to supply power or stop powering the corresponding electrical device based on the control instruction when the host and / or the slave receives a control instruction sent by the terminal.

[0100] The communication device 300 is described above from the perspective of a functional module in conjunction with the accompanying drawings. The functional module can be implemented in hardware form, can be implemented in software form, or can be implemented in combination with hardware and software modules. Specifically, each step of the method embodiment in the embodiment of the present application can be completed by an integrated logic circuit of hardware in the processor and / or an instruction in software form, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware encoding processor to be executed, or a combination of hardware and software modules in the encoding processor to be executed. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.

[0101] See also Fig.12 The energy storage system of the embodiment of the present application includes multiple distribution boxes (such as Fig.12 The distribution boxes 403, 404, ..., 40n, etc., wherein the multiple distribution boxes are connected via power line communication), a processor 401, a memory 402, and a computer program. The computer program is stored in the memory 402 and executed by the processor 401, and the computer program includes instructions for executing the communication method of any of the above embodiments.

[0102] See also Fig.13The embodiment of the present application also provides a computer-readable storage medium 600 on which a computer program 610 is stored. When the computer program 610 is executed by a processor 620, the steps of the communication method of any of the above-mentioned embodiments are implemented. For the sake of brevity, they are not repeated here.

[0103] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0104] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0105] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A communication method, characterized in that: For an energy storage system, the energy storage system includes a plurality of distribution boxes, the plurality of distribution boxes are connected via power line communication, the method includes: In the case where the target distribution box is connected to the terminal for communication, the target distribution box is determined to be the host, the other distribution boxes other than the target distribution box are slaves, and the target distribution box is any of the distribution boxes; Communication data is transferred through the host so that the terminal and any of the slaves can communicate with each other.

2. The communication method according to claim 1, characterized in that: The method further comprises: Addressing each of the slaves by the host to determine the communication address of each of the slaves; The transferring of communication data by the host so that the terminal communicates with any of the slaves includes: The communication data is forwarded by the host to a target slave whose communication address matches the communication data.

3. The communication method according to claim 2, characterized in that: The addressing of each of the slaves by the host to determine the communication address of each of the slaves includes: Communicating with each of the slaves through the host to obtain a serial number of each of the slaves; Based on the serial number of each of the slaves, each of the slaves is addressed by the host to determine the communication address of each of the slaves, and the communication addresses of each of the slaves are different from each other.

4. The communication method according to claim 2 or 3, characterized in that: The method further comprises: When the energy storage system is connected to other distribution boxes other than the multiple distribution boxes, determining whether the host exists; If yes, the connected distribution box is determined to be the slave, and each of the slaves is re-addressed by the host to determine the communication address of each of the slaves; If not, based on the access time of all the distribution boxes of the energy storage system, determine the distribution box with the earliest access time as the host, and the other distribution boxes as slaves, and address each slave through the host to determine the communication address of each slave.

5. The communication method according to any one of claims 2 to 4, characterized in that: The method further comprises: When each of the slaves is successfully addressed, the host sends the communication address corresponding to each of the slaves to each of the slaves, so that each of the slaves determines its own communication address.

6. The communication method according to claim 1 or 2, characterized in that: The transferring of communication data by the host so that the terminal communicates with any of the slaves includes: When the host receives the first communication data sent by the terminal, forwarding the first communication data to the corresponding slave; When the host receives the second communication data sent by any of the slaves, the host forwards the second communication data to the terminal.

7. The communication method according to claim 1, characterized in that: The energy storage system further includes an energy storage device, and the energy storage device is communicatively connected to the distribution box. The method further includes: When the host and / or the slave receives the control instruction sent by the terminal, the corresponding energy storage device is controlled to perform a corresponding operation based on the control instruction.

8. The communication method according to claim 7, characterized in that: The energy storage system further includes an electrical device, and the electrical device is connected to the distribution box. The method further includes: When the host and / or the slave receives the control instruction sent by the terminal, the host and / or the slave supplies power to or stops supplying power to the corresponding electrical device based on the control instruction.

9. The communication method according to claim 1, characterized in that: The plurality of distribution boxes include a power carrier communication chip, and each distribution box communicates with the power lines therebetween via its own power carrier communication chip.

10. The communication method according to claim 1, characterized in that: The communication connection mode between the target distribution box and the terminal includes a wired connection mode or a wireless connection mode, and the wireless connection mode includes at least one of a wireless local area network connection, a Bluetooth connection and a near field communication connection.

11. A communication device, characterized in that: Used in an energy storage system, the energy storage system includes a plurality of distribution boxes, the plurality of distribution boxes are connected via power line communication, the device includes: A determination module, used for determining, when the target distribution box is connected to the terminal for communication, that the target distribution box is the host, the other distribution boxes other than the target distribution box are slaves, and the target distribution box is any of the distribution boxes; The transfer module is used to transfer communication data through the host so that the terminal and any of the slaves can communicate.

12. An energy storage system, characterized in that: include: A plurality of distribution boxes, wherein the plurality of distribution boxes are connected via power line communication; Processor, memory; and A computer program, wherein the computer program is stored in the memory and executed by the processor, and the computer program includes instructions for executing the communication method according to any one of claims 1 to 10.

13. A non-volatile computer-readable storage medium, characterized in that: The invention comprises a computer program, which, when executed by a processor, enables the processor to execute the communication method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Multi-host communication mechanism based on half duplex communication

    CN106788948A

  • Control method of energy storage device, energy storage system and networking communication method of energy storage system

    CN107069889A

  • Master-slave equipment self-adaption method of power line modem

    CN110932759A

  • Data communication method and device, computer equipment and computer readable storage medium

    CN116527439A

  • Transformer area identification method and device and electronic equipment

    CN117318283A