Photovoltaic energy storage system and communication method applied to photovoltaic energy storage system

By selecting the transmission link according to the command priority in the photovoltaic energy storage system, the problem of limited data transmission speed caused by the large number of equipment is solved, and the communication efficiency and overall stability of the system are improved.

CN119728527APending Publication Date: 2025-03-28XIAMEN KEHUA DIGITAL ENERGY TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411552756.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In photovoltaic energy storage systems, the data transmission speed may be limited when the number of equipment is large, resulting in delayed processing or communication delay response in time, seriously affecting system efficiency.

Method used

By obtaining multiple commands and determining their priority, determining the transmission link of each command based on the priority, using high-priority commands to transmit through fast links with small delays, and low-priority commands to transmit through conventional links with large delays.

Benefits of technology

It improves the communication efficiency of the photovoltaic energy storage system, ensures timely handling of high-priority commands, avoids system failures and efficiency reduction, and improves the overall stability and response speed of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728527A_ABST
    Figure CN119728527A_ABST
Patent Text Reader

Abstract

The invention provides a photovoltaic energy storage system and a communication method applied to the photovoltaic energy storage system, and the communication method applied to the photovoltaic energy storage system comprises the steps: obtaining a plurality of commands, and determining the priorities of the plurality of commands; determining a transmission link of each command based on the priorities of the plurality of commands; wherein the higher the priority of the command is, the smaller the time delay of the transmission link of the command is. Therefore, the commands with different priorities can be transmitted through different transmission links based on the priorities of the commands. Therefore, commands with high priorities can be transmitted and executed in time, and the communication performance and the overall stability of the photovoltaic energy storage system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electric power technology, and in particular to a photovoltaic energy storage system and a communication method applied to the photovoltaic energy storage system. Background Art

[0002] As photovoltaic and energy storage software systems become more complex, the master-slave architecture of software has gradually emerged. In the master-slave architecture of photovoltaic energy storage systems, communication is a key link, which is responsible for connecting various devices and ensuring accurate data transmission. However, when there are a large number of devices, the data transmission speed may be limited, resulting in processing delays or untimely response to communication delays, which seriously affects the efficiency of the system. Summary of the invention

[0003] In view of this, the embodiments of the present disclosure provide a photovoltaic energy storage system and a communication method applied to the photovoltaic energy storage system to improve communication efficiency.

[0004] The technical solution of the present invention is achieved in this way:

[0005] An embodiment of the present disclosure provides a communication method applied to a photovoltaic energy storage system, comprising: obtaining multiple commands and determining the priorities of the multiple commands; based on the priorities of the multiple commands, determining the transmission link of each command; wherein, the higher the priority of the command, the smaller the delay of the transmission link of the command.

[0006] In the above scheme, the transmission link includes: a regular link and a fast link; the delay of the fast link is shorter than that of the regular link.

[0007] In the above scheme, establishing the transmission link includes: establishing multiple conventional links on one port; wherein each conventional link is connected to a slave device; after establishing each conventional link, confirming whether to establish the fast link based on the device type of the slave device.

[0008] In the above scheme, multiple conventional links are established on one port, including: creating multiple sockets; wherein the multiple sockets are associated with the port, and each socket is associated with one slave device; monitoring requests from multiple slave devices; if a request to establish the conventional link is received from any one of the slave devices, then establishing one conventional link.

[0009] In the above scheme, obtaining multiple commands and determining the priorities of the multiple commands include: obtaining identifiers of the multiple commands and a mapping list of the priorities and the transmission links; wherein the identifier includes a feature code or a command code for the specified data; determining the priorities of the multiple commands based on the identifiers of the multiple commands; and determining the transmission links of the multiple commands based on the priorities of the multiple commands and the mapping list.

[0010] In the above scheme, after establishing the fast link, the communication method also includes: determining whether the identity authentication information of the slave device is legal; if the identity authentication information of the slave device is illegal, disconnecting the conventional link and the fast link of the slave device; or, if the identity authentication information of the slave device is legal, binding the conventional link and the fast link of the slave device.

[0011] In the above scheme, after establishing a conventional link, the communication method also includes: determining whether the link resources of the port have reached an upper limit; if the link resources of the port have reached an upper limit, disconnecting the conventional link and releasing the association between the slave device and the socket; determining whether the identity authentication information of the slave device is legal; if the identity authentication information of the slave device is illegal, disconnecting the conventional link and releasing the association between the slave device and the socket.

[0012] In the above solution, the identity authentication information includes: device type, serial number, authentication password and type of the transmission link.

[0013] An embodiment of the present disclosure provides a photovoltaic energy storage system, comprising: a host controller, a slave controller and a slave sub-device; wherein the host controller is connected to the slave controller and is configured to obtain multiple commands and determine the priorities of the multiple commands; based on the priorities of the multiple commands, a transmission link of each command is determined; and each command is transmitted to the slave controller through the corresponding transmission link; wherein the higher the priority of the command, the smaller the delay of the transmission link of the command; the slave controller is connected to the slave sub-device and is configured to store the commands transmitted by the conventional link in a task queue and execute the commands on the slave sub-device in sequence according to the order of the task queue; and, based on the idle state of the slave sub-device and the priority of the command transmitted by the fast link, whether to execute the command transmitted by the fast link is selected.

[0014] In the above scheme, the host controller includes: a message filter; wherein the message filter is configured to obtain identifiers of multiple commands, and a mapping list of priorities and transmission links; determine the priorities of multiple commands based on the identifiers of multiple commands; and determine the transmission links of multiple commands based on the priorities of multiple commands and the mapping list; wherein the identifier includes a feature code or a command code of the specified data. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 Schematic diagram of the communication method provided in the embodiment of the present disclosure Figure 1 ;

[0016] Figure 2 The structure of the photovoltaic energy storage system provided in the embodiment of the present disclosure is shown in FIG. Figure 1 ;

[0017] Figure 3 Schematic diagram of the communication method provided in the embodiment of the present disclosure Figure 2 ;

[0018] Figure 4 Schematic diagram of the communication method provided in the embodiment of the present disclosure Figure 3 ;

[0019] Figure 5 A schematic diagram of a priority filtering setting interface provided in an embodiment of the present disclosure;

[0020] Figure 6 A flowchart of an identity authentication method provided by an embodiment of the present disclosure;

[0021] Figure 7 Schematic diagram of the communication method provided in the embodiment of the present disclosure Figure 4 ;

[0022] Figure 8 Schematic diagram of the communication method provided in the embodiment of the present disclosure Figure 5 ;

[0023] Fig. 9 The structure of the photovoltaic energy storage system provided in the embodiment of the present disclosure is shown in FIG. Figure 2 ;

[0024] Fig.10 A schematic diagram of a transmission link establishment method provided in an embodiment of the present disclosure Figure 1 . DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0026] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0027] If similar descriptions of "first / second" appear in the application documents, the following description is added. In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.

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

[0029] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0030] Figure 1 is a flow chart of an optional communication method for a photovoltaic energy storage system provided by an embodiment of the present disclosure, which will be combined with Figure 1 The steps shown are explained.

[0031] S101. Acquire multiple commands and determine priorities of the multiple commands.

[0032] Figure 2 is an optional structural diagram of an optional photovoltaic energy storage system 100 provided in an embodiment of the present disclosure. It should be noted that: Figure 2 The photovoltaic energy storage system 100 shown can be used to implement Figure 1The communication method shown.

[0033] In the embodiments of the present disclosure, reference Figure 2 , the host controller 20 can obtain multiple commands from the platform 10. For example, the platform 10 may include multiple sub-platforms such as a client third-party platform 11, a software platform 12, a cloud platform 13, and a mobile terminal platform 14. Multiple sub-platforms can send commands to the host controller 20, and then transmit them to the slave device 30 corresponding to each command through the host controller 20. For example, the client third-party platform 11 can transmit commands to the host controller 20 through the first switch 41. Both the cloud platform 13 and the mobile terminal platform 14 can transmit commands to the host controller 20 through the wireless communication module 42.

[0034] Each sub-platform may include one or more systems such as a Supervisory Control And Data Acquisition (SCADA), an Automatic Generation Control System (AGC), and a Security Analysis System. The SCADA is used to collect operating data in real time, and will send status query commands to the host controller 20 to obtain equipment operating parameters such as power generation, energy storage, voltage, current, and power. The automatic generation control system is used to adjust the operating status of photovoltaic equipment and energy storage equipment, and will send equipment control commands such as maximum power point tracking (MPPT) adjustment commands and charge and discharge control commands to the host controller 20 to adjust the inclination and direction of photovoltaic equipment, control the charge and discharge status of energy storage equipment, or adjust the output power of the inverter. The security analysis system is used to monitor the fault status of equipment such as power grids, energy storage equipment, and photovoltaic equipment, and will send fault handling commands such as emergency shutdown commands or power grid fault switching commands to the host controller 20 to disconnect the power grid or shut down the equipment (photovoltaic equipment and energy storage equipment) to avoid system failures.

[0035] In the embodiments of the present disclosure, reference Figure 2 In the operation and maintenance management of the photovoltaic energy storage system 100, different types of commands have different importance and urgency. If some important commands and emergency commands cannot be responded to quickly, it will cause system failure or reduce system efficiency. For example, if the control command such as the grid fault switching command is not executed in time, the photovoltaic energy storage system 100 cannot be disconnected from the grid in time, and the fault current of the grid will damage the photovoltaic inverter or energy storage equipment and other equipment, causing system failure.

[0036] Therefore, the host controller 20 can prioritize various operations and tasks within the photovoltaic energy storage system 100 so that it can respond quickly in the event of limited communication resources or emergencies, ensuring that the photovoltaic energy storage system 100 can operate safely and efficiently. The host controller 20 can prioritize the received commands according to the urgency and importance of the operations and tasks, as shown in Table 1 below:

[0037]

[0038]

[0039] Table 1

[0040] It should be noted that the priorities of "first priority", "second priority", "third priority" and "fourth priority" in Table 1 are descending in sequence. The commands of each priority in Table 1 may also include other tasks, which are not limited here. The priority ranking of various operations and tasks within the photovoltaic energy storage system 100 may also be other classifications, which are not limited here.

[0041] S102. Determine a transmission link for each command based on priorities of multiple commands; wherein the higher the priority of a command, the smaller the delay of the transmission link of the command.

[0042] It should also be noted that Figure 2 The slave device 30 shown in the example is an energy storage device. The slave controller 310 in the slave device 30 can perform data transmission with the host controller 20. The dry contact 321, the battery management system (BMS) 322, the energy storage inverter 323, the display light board 324, the dehumidifier 325 and the liquid cooling unit 326 in the slave device 30 can all perform data transmission with the host controller 20 through the slave controller 310. Figure 2 Only one slave device 30 is illustrated, and the photovoltaic energy storage system 100 may also include a greater number of slave devices, which is not limited here.

[0043] In the embodiments of the present disclosure, reference Figure 2, control commands and status information need to be transmitted efficiently and accurately between multiple devices such as the platform 10, the host controller 20, and the slave device 30 in the photovoltaic energy storage system 100. If commands of different priorities are all transmitted through the same transmission link, the fault handling commands and device control commands with higher priority will not be transmitted in time, and thus, the system failure will be caused or the system efficiency will be reduced. For example, in a high-concurrency scenario where the host controller 20 simultaneously sends status queries to multiple slave controllers 310 of multiple devices 30 through the same transmission link, if the host controller 20 needs to send a device control command involving complex operations or setting multiple parameters to one of the slave controllers 310, the network will be congested due to the increase in the amount of data transmitted, and thus, the device control command will not be transmitted in time, and the devices in the slave device 30 cannot be adjusted in time, causing damage to the slave device 30 or a decrease in efficiency.

[0044] To ensure that commands in the photovoltaic energy storage system 100 can be efficiently and accurately transmitted and executed, the host controller 20 can set multiple transmission links with each slave controller 310. The host controller 20 can determine the transmission link of each command based on the priority of multiple commands. For example, the host controller 20 can determine the transmission links of multiple commands based on the priority and mapping list of multiple commands. The mapping list of commands with different priorities and transmission links can be shown in Table 2 below:

[0045] Command Type Priority Transmission Link Fault handling commands First priority Fast Link Device control commands Second priority Fast Link Status query command Third priority Conventional Link Operation and maintenance information query command Fourth priority Conventional Link

[0046] Table 2

[0047] It should be noted that the transmission links shown in Table 2 include conventional links and fast links. Among them, the delay of the fast link is less than that of the conventional link. A larger number of transmission links with different transmission delays can be established between the host controller 20 and the slave controller 310 of the slave device 30, which is not limited here.

[0048] In the present disclosure, in combination Figure 2 As shown in Table 2, the host controller 20 can transmit multiple commands through different transmission links according to the priority. For example, the fault handling commands and equipment control commands with higher priority are transmitted through the fast link, and the status query commands and operation and maintenance information query commands with lower priority are transmitted through the conventional link. In other words, the embodiment of the present disclosure can transmit commands of different priorities through different transmission links based on the priority of the command. In this way, the embodiment of the present disclosure can avoid congestion of high-priority transmission links caused by low-priority commands, and ensure that high-priority commands can be transmitted through transmission links with smaller delays. Thereby, it is avoided that high-priority commands cannot be processed in time, causing system damage and efficiency reduction, and the communication performance and overall stability of the photovoltaic energy storage system are improved.

[0049] In some embodiments of the present disclosure, Figure 3 S201~S202 in the Figure 1 The transmission link of S102.

[0050] S201. Establish multiple regular links on a port; wherein each regular link is connected to a slave device.

[0051] In the embodiments of the present disclosure, reference Figure 2 , the number of ports of the host controller 20 in the photovoltaic energy storage system 100 is often limited by the hardware cost. When the number of slave devices 30 exceeds the number of ports, the slave controllers 310 of some slave devices 30 will not be able to connect to the host controller 20, thereby limiting the expansion capability of the photovoltaic energy storage system 100. In addition, if the host controller 20 establishes multiple transmission links with each slave controller 310, the communication load will be further increased.

[0052] In order to ensure that the host controller 20 can effectively communicate with multiple slave controllers 310, the embodiment of the present disclosure establishes multiple conventional links at each port of the host controller 20. For example, the host controller 20 can communicate with the slave controllers 310 of multiple slave devices 30 through the TCP / IP protocol. The host controller 20 can create multiple conventional links by creating multiple sockets and associating the multiple sockets to the same port. The host controller 20 can communicate with the slave controllers 310 of the corresponding multiple slave devices 30 through multiple conventional links. In this way, each port of the host controller 20 can connect to multiple slave devices 30. Thereby, the embodiment of the present disclosure can further improve the communication performance of the photovoltaic energy storage system.

[0053] S202: After each regular link is established, determine whether to establish a fast link based on the device type of the slave device.

[0054] In the embodiments of the present disclosure, reference Figure 2 , the host controller 20 can use a resource pool method to control the maximum number of accessible slave devices 30 and the types of accessible slave devices 30. For example, Figure 2 The slave devices such as the parallel control board 332 and the electric energy meter 331 usually do not need to receive device control commands for control because they only monitor the operating parameters. Therefore, after each slave device establishes a regular link, the host controller 20 can choose whether to establish a fast link based on the type of the slave device. In this way, the embodiment of the present disclosure can only establish a fast link when the slave device requires a fast link. Therefore, the embodiment of the present disclosure can avoid wasting link resources and further improve the scalability and communication performance of the photovoltaic energy storage system.

[0055] In some embodiments of the present disclosure, after completing Figure 3 After S201~S202 in Figure 3 S203 in the Figure 1 The transmission link of S102.

[0056] S203, determining whether the plurality of slave devices are operating in a steady state; if any of the slave devices is operating in a steady state, disconnecting the fast link of the slave device and increasing the sending frequency of the status query command.

[0057] In the embodiments of the present disclosure, reference Figure 2 In the photovoltaic energy storage system 100, the link management between the slave device and the host controller 20 is crucial to ensure the effective operation of the system. The host controller 20 can compare whether the operating parameters corresponding to multiple status query commands have changed to confirm whether the slave device is running in a steady state. If the operating parameters corresponding to multiple status query commands have not changed, it is confirmed that the slave device is running in a steady state. Furthermore, during the long-term steady-state operation of the slave device 30, the fast link between the slave device 30 and the host controller 20 can be disconnected. At the same time, the frequency of the host controller 20 performing status queries on the slave device is further increased. In this way, the slave device that has been running in a steady state for a long time disconnects the fast link, which can reduce unnecessary communication loads, save bandwidth, reduce the energy consumption of the device, and improve system stability. At the same time, the embodiment of the present disclosure disconnects the fast link of some slave devices, which can release some link resources, and then, the part of the link resources is used to establish a conventional link with the slave device, which can further increase the number of slave devices connected to the host controller 20 and improve the scalability of the photovoltaic energy storage system. In addition, the host controller 20 can obtain the status information of the slave device more frequently, and can respond more quickly when the status of the slave device changes, and re-establish the fast link resource. Therefore, the embodiment of the present disclosure can improve the overall efficiency and reliability of the photovoltaic energy storage system by reasonably managing the disconnection of the link and the adjustment of the query frequency.

[0058] In some embodiments of the present disclosure, S201 may be implemented through S301 to S303, which will be described in conjunction with each step.

[0059] S301: Create a first socket and bind the first socket to a port.

[0060] S302, setting the first socket to a listening state to listen to requests from multiple slave devices; wherein the first socket has a corresponding queue length, and the queue length is used to limit the number of requests from the slave devices.

[0061] In the embodiments of the present disclosure, reference Figure 2, the host controller 20 can call the socket function to create a first socket. After the host controller 20 creates the first socket, it will bind the first socket to the IP address of the host controller 20 and the port number of one of the ports.

[0062] After the binding is completed, the host controller 20 can use the listen function to set the first socket to a listening state, waiting for connection requests from multiple slave devices. In other words, the first socket is used by the host controller 20 to listen to the connection requests from the slave devices. The listen function specifies the length of a queue to limit the number of connection requests from multiple slave devices (resource pool). When a slave device initiates a connection request, the connection request will first enter the queue and wait for the host controller 20 to process.

[0063] S303: If a request for establishing a regular link is received from any slave device, a second socket is created; wherein the second socket is associated with a port, and the second socket is used to communicate with the slave device.

[0064] In the embodiments of the present disclosure, reference Figure 2 In the process of the host controller 20 creating the first socket, the client also needs to call the socket function to create a third socket. In addition, the slave device will use the connection function (connect) to initiate a connection request to the server.

[0065] Then, when the connection request of the slave device reaches the host controller 20, the host controller 20 can call the accept function to accept the connection of the slave device. When there is a connection request from the slave device, the accept function will return a new second socket. In this way, the slave device and the host controller 20 successfully establish a regular link, and the slave device and the host controller 20 can send and receive data through their respective second sockets and third sockets. At this time, the first socket continues to maintain a listening state to receive the connection requests of the remaining slave devices.

[0066] It should be noted that the process of establishing a fast link can be understood by referring to a conventional link, and will not be described in detail here.

[0067] It is understandable that in the TCP / IP protocol, the transmission between multiple transmission links is independent of each other. Each connection has its own state information such as sockets and buffers. The TCP / IP protocol ensures reliable transmission and sequentiality of data by maintaining this state information. Therefore, the data transmission of multiple transmission links will not affect each other.

[0068] In some embodiments of the present disclosure, Figure 4 S401~S402 in the Figure 1S101 in the embodiment will be described in combination with each step.

[0069] S401. Obtain identifiers of multiple commands and a mapping list of priorities and identifiers; wherein the identifier includes a feature code or a command code of designated data.

[0070] S402: Determine priorities of the multiple commands based on identifiers and mapping lists of the multiple commands.

[0071] In the embodiments of the present disclosure, reference Figure 2 Since there is usually more than one platform 10, the protocols used by the platform 10 are often more than one. For example, the protocols used by the platform 10 may include one or more of the HEX protocol, the IEC104 protocol, the modbus protocol, and the TCP / IP protocol. The host controller 20 may use the feature code\command code of the specified data in different protocols as an identifier.

[0072] Figure 5 is a schematic diagram of an optional priority filtering setting interface provided by an embodiment of the present disclosure. It should be noted that: Figure 5 The rule template 51 is used to select the protocol type, and the trigger condition 52 is used to obtain the identifier of the command of different protocol types. The result filter word 55 is used to store the identifier. The operator 54 is used to compare whether the contents of the trigger condition 52 and the result filter word 55 are consistent. The first selection unit 53 is used to add the trigger condition 52. The second selection unit 53 is used to increase the number of rules.

[0073] In the embodiments of the present disclosure, reference Figure 2 The host controller 20 may obtain identifiers of multiple commands and a mapping list of priorities and identifiers, and determine the priorities of the multiple commands based on the identifiers and mapping list of the multiple commands. Figure 5 As shown, when the protocol type corresponding to the rule module 51 is the Modbus protocol, the trigger condition can be the function code of the command of the Modbus protocol, and the register address of the query. The filter word of the function code in the result filter word 55 of the device control command can be 3, and the filter word of the register address in the result filter word 55 can be 10000. The operator can be set to "=", indicating whether the data in the trigger condition is consistent with the result filter word. At this time, if the function code of any command is 3 and the filter word of the register address is 10000, the priority of the command is the device control command, and the corresponding priority is the second priority, then the channel selects the corresponding link as a fast link, that is: the command can select a fast link for transmission.

[0074] It should be noted that the setting methods of other protocol types can be understood by referring to the above Modbus protocol, which will not be repeated here.

[0075] In some embodiments of the present disclosure, after a conventional link is established, the communication method may be implemented through S501 to S504.

[0076] S501: Determine whether the link resources of the port have reached an upper limit.

[0077] S502: If the link resource of the port reaches the upper limit, the conventional link is disconnected, and the association between the slave device and the socket is released.

[0078] In the embodiments of the present disclosure, reference Figure 2 , the host controller 20 can determine whether the link resources of the port have reached the upper limit. If the link resources of the port have reached the upper limit, a newly created regular link is disconnected, and the slave controller 310 in the slave device 30 is disassociated from the socket. In this way, the photovoltaic energy storage system can effectively manage the link resources of the port and prevent network congestion or collapse caused by resource overload. Thus, network performance can be optimized to ensure smooth critical communications.

[0079] S503: Determine whether the identity authentication information of the slave device is legal.

[0080] In the disclosed embodiment, the identity authentication information includes the device type, serial number (SN number), authentication password and the type of transmission link. The host controller 20 can verify one or more of the device type, serial number, authentication password and the type of transmission link to confirm whether the slave device is legitimate.

[0081] S504: If the identity authentication information of the slave device is illegal, disconnect the conventional link and disassociate the slave device from the socket.

[0082] In the embodiment of the present disclosure, the host controller 20 can determine whether the identity authentication information of the slave device 30 is legal. If the identity authentication information of the slave device is illegal, a newly created regular link is disconnected, and the slave device is disassociated from the socket. In this way, the embodiment of the present disclosure identifies and rejects illegal or unauthorized access attempts by verifying the identity authentication information of the slave device. Thus, malicious devices or users can be prevented from accessing the network, thereby enhancing the security of the photovoltaic energy storage system.

[0083] In some embodiments of the present disclosure, after the fast link is established, the communication method may also be implemented through S601 to S602.

[0084] S601, judging whether the identity authentication information of the slave device is legal.

[0085] S602: If the identity authentication information of the slave device is illegal, disconnect the normal link and the fast link of the slave device; or, if the identity authentication information of the slave device is legal, bind the normal link and the fast link of the slave device.

[0086] In the disclosed embodiment, the host controller 20 can verify the identity authentication information of the slave device, identify and reject illegal or unauthorized access attempts. The identity authentication principle of the host controller 20 is described below using the serial number as an example:

[0087] refer to Figure 6 The slave device 30 can encrypt the serial number "0AD23EA2B601" of the slave device 30 according to S701, generate a verification password of "ABCDABCDAB", and send the serial number and the verification password to the host controller 20 for identity authentication at the same time.

[0088] Then, the host controller 20 can decrypt the verification password "ABCDABCDAB" according to S702 to generate and decrypt the serial number. Thus, the host controller 20 can determine whether the decrypted serial number is consistent with the received serial number. If they are consistent, the identity authentication is successful, otherwise, if they are inconsistent, the identity authentication fails. The decryption algorithm of the host controller 20 and the encryption algorithm of the slave device 30 can both be a block algorithm (DES) using key encryption.

[0089] Then, the host controller 20 can judge the device type of the slave device according to the serial number in S703, and choose to establish single-channel communication with the slave device (for example, only establish a regular link) or multi-channel (for example, establish a regular link and a fast link).

[0090] In some embodiments of the present disclosure, Figure 7 S801 to S817 are shown to establish a transmission link, and each step will be described in conjunction with the steps.

[0091] S801. Start.

[0092] S802, the slave device is connected to the host device through a conventional link connection.

[0093] S803. The conventional link is connected successfully.

[0094] In the embodiments of the present disclosure, reference Figure 2 The slave may be a slave control device 310 of the slave device 30. The host may be a host controller 20. The slave controller 310 may establish a conventional link with the host controller 20 by establishing a socket connection.

[0095] S804: The host determines whether the resource upper limit has been reached.

[0096] In the embodiments of the present disclosure, reference Figure 2 The host controller 20 can determine whether the link resource of the current port has reached the upper limit, and if so, execute S808. If not, execute S805.

[0097] S805. The slave initiates an identity authentication request (fast link).

[0098] S806. Identity authentication is legal and successful.

[0099] In the embodiments of the present disclosure, reference Figure 2 After establishing a conventional link, the slave controller 310 may initiate an identity authentication request to the host controller 20. The host controller 20 may determine whether the identity authentication of the slave controller 310 is legal. If not, S808 is executed. If legal, S807 is executed.

[0100] S807: Whether the device type requires a fast link.

[0101] In the embodiments of the present disclosure, reference Figure 2 The host controller 20 can determine whether the device type of the slave controller 310 requires a fast link. If a fast link is not required, S815 is executed. If a fast link is required, S809 is executed.

[0102] S808. The host is disconnected.

[0103] S809: The host allocates fast link resources to the client and specifies an authentication password.

[0104] S810, the slave controller is connected to the host through a fast link connection.

[0105] In the embodiments of the present disclosure, reference Figure 2 The host controller 20 can determine whether the device type of the slave controller 310 requires a fast link. If a fast link is not required, S815 is executed. If a fast link is required, S809 is executed.

[0106] S811. The slave initiates an identity authentication request (fast link).

[0107] S812. Identity authentication is legal and successful.

[0108] S813: The host disconnects all links bound to the slave.

[0109] S814. The host binds the normal link and the fast link of the slave.

[0110] In the embodiments of the present disclosure, reference Figure 2After establishing the fast link, the host controller 20 may verify again whether the identity of the slave device is legal. If not, execute S813. If legal, execute S814.

[0111] S815: Data transmission and reception.

[0112] S816. Distinguish the type of link to be pushed, and push it to the designated link.

[0113] S817, end.

[0114] In the embodiments of the present disclosure, reference Figure 2 The host controller 20 may send the command received from the platform 10 to the slave controller 310, and transmit it to the sub-device in the slave device 30 through the slave controller 310. In addition, according to the priority of the command, a corresponding one may be selected for transmission in the conventional link and the fast link.

[0115] In some embodiments of the present disclosure, Figure 8 S901 to S911 are shown to perform command transmission, and each step will be described below.

[0116] S901. Start.

[0117] S902: Receive a command request.

[0118] S903: Filter the command.

[0119] S904: Determine to which slave the current command needs to be pushed.

[0120] In the embodiments of the present disclosure, reference Figure 2 After the host controller 20 receives multiple commands from the platform, it can continue to filter the multiple commands based on the identifier to determine the priority of each command and the slave device 30 corresponding to each command.

[0121] S905: Is the slave online?

[0122] In the embodiments of the present disclosure, reference Figure 2 After determining the slave device 30 corresponding to each command, the host controller 20 determines whether the slave controller 310 of the slave device 30 is online. If the slave controller 310 is not online, S911 is executed. If the slave controller 310 is online, S906 is executed.

[0123] S906. This command selects a normal link or a fast link.

[0124] In the embodiments of the present disclosure, reference Figure 2The host controller 20 can determine the transmission link corresponding to each command according to the priority of each command. If the transmission link of any command is a regular link, execute S909. If the transmission link of any command is a fast link, execute S907.

[0125] S907: Whether the fast link has been established.

[0126] In the embodiments of the present disclosure, reference Figure 2 The host controller 20 can determine whether the slave controller 310 corresponding to the fast link command has established a fast link. If the slave controller 310 has not established a fast link, S909 is executed. If the slave controller 310 has established a fast link, S908 is executed.

[0127] S908: Switch to a fast link.

[0128] S909: Switch to a regular link.

[0129] S910, send a command to the slave.

[0130] S911, end.

[0131] In the embodiments of the present disclosure, reference Figure 2 After the host controller 20 confirms the transmission link of each command and the slave controller 310 of the command, each command can be transmitted to the corresponding slave controller 310 through the corresponding transmission link.

[0132] Fig. 9 is a schematic diagram of the structure of an optional photovoltaic energy storage system 100 provided in an embodiment of the present disclosure. It should be noted that: Fig. 9 The slave controller 310 shown in the figure includes a first slave controller 310a, a second slave controller 310b and a third slave controller 310c. The photovoltaic energy storage system 100 may also include a greater number of slave controllers, which is not limited here. Fig.10 The slave sub-device 320 shown in the figure includes a first slave sub-device 320a, a second slave sub-device 320b and a third slave sub-device 320c. The photovoltaic energy storage system 100 may also include a larger number of slave sub-devices, which is not limited here. The first slave controller 310a and the first slave sub-device 320a may belong to the same slave device. The second slave controller 310b and the second slave sub-device 320b may belong to the same slave device. The third slave controller 310c and the first slave sub-device 320c may belong to the same slave device. The first slave sub-device 320a, the second slave sub-device 320b and the third slave sub-device 320c may all be Figure 2 Sub-equipment such as battery management system.

[0133] In the embodiments of the present disclosure, reference Fig. 9 , the photovoltaic energy storage system 100 includes a host controller 20, a slave controller 310 and a slave sub-device 320. The host controller 20, connected to the slave controller 310, is configured to obtain multiple commands and determine the priority of multiple commands. The host controller 20 is also configured to determine the transmission link of each command based on the priority of multiple commands. In other words, the host controller 20 is able to obtain and determine the priority of multiple commands. In this way, when receiving multiple commands, the host controller 20 can identify the critical tasks that need to be executed first, that is, commands with high priority. Thereby, it is ensured that critical tasks can be responded to in a timely manner, and the response speed of the entire system is improved.

[0134] In the embodiments of the present disclosure, reference Fig. 9 , the host controller 20 is also configured to transmit each command to the slave controller 310 through the corresponding transmission link; wherein, the higher the priority of the command, the smaller the delay of the transmission link of the command. In other words, the embodiment of the present disclosure transmits high-priority commands through a link with low delay. In this way, the embodiment of the present disclosure can ensure that high-priority fault handling commands and device control commands can be transmitted in a timely manner, thereby improving the communication performance and overall stability of the photovoltaic energy storage system.

[0135] In the embodiments of the present disclosure, reference Fig. 9 , the slave controller 310 is connected to the slave sub-device 320. The slave controller 310 is configured to store the commands transmitted by the conventional link in the task queue, and execute the commands to the slave sub-devices in sequence according to the order of the task queue; and, based on the idle state of the slave sub-device 320 and the priority of the commands transmitted by the fast link, select whether to execute the commands transmitted by the fast link. In other words, for commands transmitted via the fast link, the slave controller 310 can flexibly process them according to the priority of the commands and the idle state of the slave sub-device 320. When high-priority commands arrive, if the slave controller 310 is in an idle state or can quickly release resources, the slave controller 310 will execute these commands first, thereby improving the response speed of the system and the efficiency of command execution.

[0136] In the embodiments of the present disclosure, reference Fig. 9 , the host controller 20 and the slave controller 310 can establish a regular link 51 and a fast link 52. The process of establishing the regular link 51 and the fast link 52 can be as follows: Fig.10 As shown:

[0137] First, the host controller 20 can establish a regular link with the slave controller 310 by creating a socket. Then, the host controller 20 needs to determine whether the requested slave controller 310 is a device of this system. For example, the host controller 20 can be verified by a serial number or other unique identifier. If the serial number verification is successful, the authentication success is returned. If the serial number verification fails, the authentication failure is returned and the link is actively disconnected. The host controller 20 determines the device model according to the specified field of the serial number. If it is a device that supports multi-channels, the number of links allowed to be accessed is returned according to its configuration, and the resource pool settings are adjusted to mark the slave controller 310 to allow the creation of a fast link. In this way, the system can intelligently manage link resources based on the authentication status of the device, the multi-channel capabilities supported, and the number of links currently connected.

[0138] In some embodiments of the present disclosure, reference Fig. 9 , the host controller 20 includes a message filter 210. The message filter 210 is configured to obtain identifiers of multiple commands, as well as a mapping list of priorities and transmission links; determine the priorities of multiple commands based on the identifiers of multiple commands; and determine the transmission links of multiple commands based on the priorities and mapping list of multiple commands; wherein the identifier includes a feature code or command code of the specified data. In other words, the message filter 210 maintains a mapping list of priorities and transmission links. This mapping list associates commands of different priorities with corresponding transmission links, ensuring that each command can be assigned to the most appropriate transmission link according to its priority. In this way, the message filter 210 can intelligently select the transmission link according to the priority of the command, and the command with a high priority will be assigned to a link with a smaller delay and a higher bandwidth, thereby ensuring that it can be received and executed by the slave controller faster.

[0139] The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in the several method embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several product embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in the several method or device embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0140] The above description is only a specific implementation mode of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure.

Claims

1. A communication method applied to a photovoltaic energy storage system, characterized in that: include: Obtaining a plurality of commands and determining a priority of the plurality of said commands; Based on the priorities of the multiple commands, a transmission link of each command is determined; wherein, the higher the priority of the command, the smaller the delay of the transmission link of the command.

2. The communication method according to claim 1, characterized in that: The transmission link includes: a regular link and a fast link; the fast link has a shorter delay than the regular link.

3. The communication method according to claim 2, characterized in that: Establishing the transmission link includes: Establishing a plurality of the conventional links on a port; wherein each of the conventional links is connected to a slave device; After each of the conventional links is established, it is determined whether to establish the fast link based on the device type of the slave device.

4. The communication method according to claim 3, characterized in that: Establishing a plurality of the conventional links on one of the ports comprises: Creating a first socket, and binding the first socket to the port; The first socket is set to a listening state to listen for requests from a plurality of the slave devices; wherein the first socket has a corresponding queue length, and the queue length is used to limit the number of requests from the slave devices; if a request to establish the regular link is received from any one of the slave devices, a second socket is created; wherein the second socket is associated with the port, and the second socket is used to communicate with the slave device.

5. The communication method according to claim 1, characterized in that: Acquiring a plurality of the commands and determining the priorities of the plurality of the commands includes: Acquire identifiers of a plurality of the commands, and a mapping list of the identifiers and the priorities; wherein the identifiers include feature codes or command codes of designated data; Priorities of the plurality of commands are determined based on the identifiers of the plurality of commands and the mapping list.

6. The communication method according to claim 3, characterized in that: After establishing the fast link, the communication method further includes: Determining whether the identity authentication information of the slave device is legal; If the identity authentication information of the slave device is illegal, the conventional link and the fast link of the slave device are disconnected; or if the identity authentication information of the slave device is legal, the conventional link and the fast link of the slave device are bound.

7. The communication method according to claim 4, characterized in that: After establishing one of the conventional links, the communication method further comprises: Determine whether the link resource of the port has reached an upper limit; If the link resource of the port reaches the upper limit, disconnecting the conventional link and disassociating the slave device from the socket; Determining whether the identity authentication information of the slave device is legal; If the identity authentication information of the slave device is illegal, the conventional link is disconnected, and the association between the slave device and the socket is released.

8. The communication method according to claim 6 or 7, characterized in that: The identity authentication information includes: device type, serial number, authentication password and type of the transmission link.

9. A photovoltaic energy storage system, characterized in that: include: A host controller, a slave controller and a slave sub-device; wherein, The host controller is connected to the slave controller and is configured to obtain multiple commands and determine the priorities of the multiple commands; determine the transmission link of each command based on the priorities of the multiple commands; and transmit each command to the slave controller through the corresponding transmission link; wherein the higher the priority of the command, the smaller the delay of the transmission link of the command; The slave controller is connected to the slave sub-device and is configured to store the commands transmitted via the conventional link in a task queue and execute the commands on the slave sub-device in sequence according to the order of the task queue; and, based on the idle state of the slave sub-device and the priority of the commands transmitted via the fast link, select whether to execute the commands transmitted via the fast link.

10. The photovoltaic energy storage system according to claim 9, characterized in that: The host controller includes: a message filter; wherein, The message filter is configured to obtain identifiers of a plurality of the commands and a mapping list of the priorities and the transmission links; determining priorities of the plurality of commands based on identifiers of the plurality of commands; and, Based on the priorities of the plurality of commands and the mapping list, the transmission links of the plurality of commands are determined; wherein, The identifier includes a characteristic code or a command code specifying data.

Citation Information

Cited By

  • Communication execution reliability evaluation method, device, equipment and medium

    CN120282181A