CN-122002328-A - Communication network construction method of household energy storage system and related equipment
Abstract
The application provides a communication network construction method of a household energy storage system and related equipment. The method for constructing the communication network of the energy storage host comprises the steps of obtaining communication links supporting communication, generating a first capability list, broadcasting the first capability list to an energy storage communication network, receiving a second capability list broadcast by adjacent equipment nodes in the energy storage communication network, screening communication links communicated with the first capability list and the second capability list, generating a candidate communication link list, calculating link costs of all communication links in the candidate communication link list, determining a first-choice link and a candidate link between the candidate communication link list and the adjacent equipment nodes based on the link costs, establishing communication connection with the adjacent equipment nodes through the first-choice link, periodically detecting the link costs, and switching to establish communication connection with the adjacent equipment nodes through the candidate link under the condition that the link costs of the first-choice link continuously exceed a first threshold value in a first time period.
Inventors
- LIU HEDONG
- SHEN GAOSONG
- XIAO LEI
- LUO FEIYAN
Assignees
- 深圳市华宝新能源股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260204
Claims (18)
- 1. The utility model provides a communication network construction method of energy storage host computer, characterized by that is applied to the host computer node that energy storage host computer corresponds in the domestic energy storage system, domestic energy storage system still includes non-host computer equipment and application program customer end, the method includes: acquiring a communication link supporting communication, generating a first capability list, and broadcasting the first capability list to an energy storage communication network; receiving a second capability list broadcast by adjacent equipment nodes in the energy storage communication network, screening the communication links which are communicated in the first capability list and the second capability list, and generating a candidate communication link list; calculating the link cost of each communication link in the candidate communication link list; Determining a preferred link and an alternative link between the adjacent equipment node based on the link cost, and establishing communication connection with the adjacent equipment node through the preferred link; and periodically detecting the link cost, and switching to establish communication connection with the adjacent equipment node through the alternative link under the condition that the link cost of the preferred link continuously exceeds a first threshold value in a first time period.
- 2. The method of claim 1, wherein calculating the link cost of each of the communication links in the candidate list of communication links comprises: Transmitting a preset number of test data packets to the neighboring device node based on each of the communication links in the list of candidate communication links; Based on the sending and receiving conditions of the test data packet, acquiring a link quality index, and acquiring a power level corresponding to each communication link, wherein the link quality index comprises average round trip delay and packet loss rate; and calculating the link cost based on the average round trip delay, the packet loss rate and the power level.
- 3. The method according to claim 2, wherein calculating the link cost based on the average round trip delay, the packet loss rate, and the power level comprises: Respectively carrying out normalization processing on the average round trip delay, the packet loss rate and the power level to obtain normalized average round trip delay, normalized packet loss rate and normalized power level; And calculating the link cost based on the normalized average round trip delay, a first weight corresponding to the normalized average round trip delay, the normalized packet loss rate, a second weight corresponding to the normalized packet loss rate, and a third weight corresponding to the normalized power level.
- 4. The method of claim 1, wherein determining a preferred link and an alternative link with the neighboring device node based on the link cost comprises: Sorting the link cost of each communication link in the candidate communication link list to obtain a link cost sequence list; And determining the communication link with the smallest link cost as the preferred link based on the link cost sequence list, and determining the communication link with the smallest link cost as the alternative link.
- 5. The method of claim 1, further comprising, after the switching to establish a communication connection with the neighboring device node via the alternative link: Updating the alternative link to be a new preferred link, and eliminating the original alternative link from the candidate communication link list; And recalculating the link cost of the communication links remained in the candidate communication link list, sequencing the communication links, screening the communication links with the minimum link cost after sequencing, and determining the communication links as new candidate links.
- 6. The method for constructing a communication network of an energy storage host according to claim 1, wherein after determining a preferred link and an alternative link with the neighboring device node based on the link cost and establishing a communication connection with the neighboring device node through the preferred link, further comprising: Acquiring host election parameter information, wherein the host election parameter information comprises power supply stability, signal coverage, communication link number and historical stability; Calculating a first host election score based on the host election parameter information, and broadcasting the first host election score to the energy storage communication network; Receiving second host election scores in the adjacent equipment nodes, and sorting all host election scores based on a preset election evaluation rule, wherein the host election scores comprise the first host election score and the second host election score; based on the scoring ordering result, the host node is determined.
- 7. The method of claim 6, wherein calculating a first host election score based on the host election parameter information, comprises: respectively carrying out normalization processing on the power supply stability, the signal coverage area, the communication link number and the historical stability to obtain normalized power supply stability, normalized signal coverage area, normalized communication link number and normalized historical stability; And calculating the host election score based on the normalized power supply stability and the first election weight corresponding to the normalized power supply stability, the normalized signal coverage and the second election weight corresponding to the normalized signal coverage, the normalized communication link number and the third election weight corresponding to the normalized communication link number, and the normalized historical stability and the fourth election weight corresponding to the normalized historical stability.
- 8. The method of claim 6, wherein the determining the host node based on the scoring ordering result comprises: extracting the highest host election score and the next highest host election score in the scoring sorting result, and calculating the difference value of the highest host election score and the next highest host election score; Detecting that the equipment node corresponding to the highest host election score is unchanged in a second time period, and determining the equipment node corresponding to the highest host election score as the host node when the difference value is continuously larger than a preset difference value threshold; If the highest host election score is the first host election score, broadcasting host node confirmation information to the energy storage communication network; and if the highest host election score is the second host election score, receiving the host node confirmation information sent by the equipment node corresponding to the highest host election score.
- 9. The method of claim 8, further comprising, after the extracting the highest host election score and the next highest host election score in the scoring sequence, calculating a difference between the highest host election score and the next highest host election score: If the equipment node transformation corresponding to the highest host election score exists in the second time period or the difference value is smaller than a preset difference value threshold value, recalculating the highest host election score and the next highest host election score.
- 10. The method for constructing a communication network of an energy storage host according to claim 8, wherein after determining the host node based on the score ranking result, further comprising: monitoring the current host node state in real time; if the current host node is abnormal, no heartbeat or obviously reduced host election score is monitored, or a host change request sent by other equipment nodes is received, triggering a host reelect process, wherein a new host node broadcasts host change confirmation information to the located energy storage communication network, an original host node stops host service and enters a cooling period, host competition is not participated in the cooling period, and all the equipment nodes update host node information and establish communication connection with the new host node.
- 11. The method for constructing a communication network of an energy storage host according to claim 8, wherein after receiving the host node acknowledgement information sent by the device node corresponding to the highest host election score, the method further comprises: determining a plurality of communication links between the host nodes based on node topology information of the energy storage communication network and communication links between the equipment nodes; Calculating a total cost for each of the communication links, the total cost being a sum of the link costs for all segmented communication links along the corresponding communication link; sorting all the total cost to obtain a total cost sequence list; And determining the node corresponding to the communication link with the minimum total cost as a preferred parent node based on the total cost sequence list, and determining the node corresponding to the communication link with the minimum total cost as an alternative parent node.
- 12. The utility model provides a communication network construction method of non-host computer equipment, characterized in that is applied to the non-host computer node that non-host computer equipment in the domestic energy storage system corresponds, domestic energy storage system still includes energy storage host computer and application program customer end, and the method includes: Acquiring a communication link supporting communication, generating a third capability list, and broadcasting the third capability list to an energy storage communication network; Receiving a fourth capability list broadcast by adjacent equipment nodes in the energy storage communication network, screening the communication links which are communicated in the third capability list and the fourth capability list, and generating a candidate communication link list; calculating the link cost of each communication link in the candidate communication link list; Determining a preferred link and an alternative link between the adjacent equipment node based on the link cost, and establishing communication connection with the adjacent equipment node through the preferred link; and periodically detecting the link cost, and switching to establish communication connection with the adjacent equipment node through the alternative link under the condition that the link cost of the preferred link continuously exceeds a first threshold value in a first time period.
- 13. The method for constructing a communication network of a non-host device according to claim 12, wherein said calculating a link cost of each of said communication links in said candidate communication link list comprises: Transmitting a preset number of test data packets to the neighboring device node based on each of the communication links in the list of candidate communication links; Based on the sending and receiving conditions of the test data packet, acquiring a link quality index, and acquiring a power level corresponding to each communication link, wherein the link quality index comprises average round trip delay and packet loss rate; and calculating the link cost based on the average round trip delay, the packet loss rate and the power level.
- 14. The method of constructing a communication network of a non-host device according to claim 13, wherein said calculating the link cost based on the average round trip delay, the packet loss rate, and the power level comprises: Respectively carrying out normalization processing on the average round trip delay, the packet loss rate and the power level to obtain normalized average round trip delay, normalized packet loss rate and normalized power level; And calculating the link cost based on the fourth weight corresponding to the normalized average round trip delay and the normalized average round trip delay, the fifth weight corresponding to the normalized packet loss rate and the normalized packet loss rate, and the sixth weight corresponding to the normalized power level.
- 15. The method of claim 12, wherein determining preferred links and alternative links with the neighboring device node based on the link cost comprises: Sorting the link cost of each communication link in the candidate communication link list to obtain a link cost sequence list; And determining the communication link with the smallest link cost as the preferred link based on the link cost sequence list, and determining the communication link with the smallest link cost as the alternative link.
- 16. The method for constructing a communication network of a non-host device according to claim 12, further comprising, after the switching to establish a communication connection with the neighboring device node through the alternative link: Updating the alternative link to be a new preferred link, and eliminating the original alternative link from the candidate communication link list; And recalculating the link cost of the communication links remained in the candidate communication link list, sequencing the communication links, screening the communication links with the minimum link cost after sequencing, and determining the communication links as new candidate links.
- 17. The utility model provides a communication network construction method of application program client, characterized in that is applied to the application program client node that application program client corresponds in the domestic energy storage system, domestic energy storage system still includes energy storage host computer and non-host computer equipment, and the method includes: Responding to the operation of creating a household energy storage system, and generating an energy storage communication network and a system identifier corresponding to the energy storage communication network; Identifying equipment to be accessed, and generating equipment identifiers and area labels corresponding to the equipment, wherein the equipment to be accessed comprises the energy storage host and the non-host equipment; And in response to adding the equipment to be accessed to the household energy storage system, writing the system identifier, the equipment identifier and the area label into the corresponding equipment to be accessed, so that the equipment to be accessed is accessed to the household energy storage system.
- 18. A household energy storage system, comprising: an energy storage host for implementing the communication network construction method of an energy storage host according to any one of claims 1 to 11; A non-host device for implementing the communication network construction method of a non-host device according to any one of claims 12 to 16; An application client for implementing the communication network construction method of an application client according to claim 17.
Description
Communication network construction method of household energy storage system and related equipment Technical Field The application relates to the technical field of self-organizing networks, in particular to a communication network construction method of a household energy storage system and related equipment. Background Along with the rapid development of balcony photovoltaic and household energy storage systems, stable communication among distributed equipment nodes becomes a core guarantee for safe operation of the system, wherein reasonable selection and dynamic adaptation of multi-system communication links are key links. Currently, a single Protocol Stack (Protocol Stack) networking mode is adopted in the mainstream industry, and a certain communication mode, such as WiFi (WIRELESS FIDELITY ) or PLC (PowerLine Communication, power line communication) is selected and used, so that a communication link is constructed to realize interaction between equipment nodes, but the mode only depends on a single fixed communication link, when the quality of a corresponding communication link is deteriorated, communication interruption is easily caused, the continuity of data interaction between the equipment nodes is further affected, and the requirements of the distributed equipment nodes on the communication stability and the flexible adaptability of a communication network are not adapted. Disclosure of Invention The application provides a communication network construction method of a household energy storage system and related equipment, which aims to improve the stability and flexible suitability of communication links among nodes of a distributed network. In view of this, a first aspect of the present application provides a method for constructing a communication network of an energy storage host, applied to a host node corresponding to the energy storage host in a home energy storage system, where the home energy storage system further includes a non-host device and an application client, and the method includes obtaining a communication link supporting communication, generating a first capability list, broadcasting the first capability list to a local energy storage communication network, receiving a second capability list broadcasted by a neighboring device node in the local energy storage communication network, filtering communication links communicating in the first capability list and the second capability list, generating a candidate communication link list, calculating link costs of each communication link in the candidate communication link list, determining a preferred link and an alternative link between the candidate communication link list and the neighboring device node based on the link costs, and establishing a communication connection with the neighboring device node through the preferred link, and periodically detecting the link costs, and switching to establish a communication connection with the neighboring device node through the alternative link when the link costs of the preferred link continuously exceeds a first threshold in a first period of time. In some technical schemes of the application, optionally, calculating the link cost of each communication link in the candidate communication link list comprises sending a preset number of test data packets to the adjacent equipment node based on each communication link in the candidate communication link list, acquiring a link quality index based on the sending and receiving conditions of the test data packets, and acquiring the corresponding power level of each communication link, wherein the link quality index comprises average round trip delay and packet loss rate, and calculating the link cost based on the average round trip delay, the packet loss rate and the power level. In some technical schemes of the application, optionally, calculating the link cost based on the average round trip delay, the packet loss rate and the power level comprises respectively carrying out normalization processing on the average round trip delay, the packet loss rate and the power level to obtain normalized average round trip delay, normalized packet loss rate and normalized power level, and calculating the link cost based on a first weight corresponding to the normalized average round trip delay and normalized average round trip delay, a second weight corresponding to the normalized packet loss rate and the normalized packet loss rate, and a third weight corresponding to the normalized power level and the normalized power level. In some technical schemes of the application, optionally, determining the preferred link and the alternative link between the adjacent equipment nodes based on the link cost comprises sorting the link cost of each communication link in the candidate communication link list to obtain a link cost sequence list, determining the communication link with the minimum link cost as the preferred link based on the link cost sequence list,