A method, device, medium and product for identification allocation of a master in an energy storage system
By exchanging broadcast data packets between the master controller and the main controller, the main controller identifier is automatically assigned, which solves the problem of time-consuming manual assignment in the existing technology and achieves efficient identifier assignment and system operation.
Patent Information
- Application Number
- CN202511203767.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2045-08-27
AI Technical Summary
The allocation of master control identification information in existing energy storage systems is time-consuming and labor-intensive, requiring manual settings and resulting in low efficiency.
After the master controller sends a broadcast data packet and sends a response message, it automatically assigns identification information based on the response result, using an Ethernet daisy-chain connection method to assign identifications one by one.
It saves human resources and time, and improves the efficiency of master control identifier allocation and the operating efficiency of energy storage system.
Smart Images

Figure CN120710982B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, and in particular to a method, device, medium and product for assigning an identifier to a master control unit in an energy storage system. BACKGROUND
[0002] An energy storage system is a technology that stores electrical energy for later use, widely used in industrial and household scenarios, which can effectively improve energy utilization efficiency and save costs. As a complex dynamic energy system, the energy storage system can include a master control unit, also known as a battery array unit (BAU), which is responsible for monitoring and managing the state of the battery, and can also include a master control unit, also known as a battery control unit (BCU).
[0003] In the prior art, before the master control unit and the plurality of master control units in the energy storage system interact with each other, the relevant personnel usually manually assign the identifier information corresponding to each master control unit, for example, manually set the mapping relationship between the address and the identifier of each master control unit, which results in a time-consuming and labor-intensive process of assigning the identifier information. SUMMARY
[0004] The present application provides a method, device, medium and product for assigning an identifier to a master control unit in an energy storage system, which can save human resources and time resources consumed in the process of assigning the identifier of the master control unit, and improve the efficiency of assigning the identifier of the master control unit and the operation efficiency of the energy storage system.
[0005] According to an aspect of the present application, a method for assigning an identifier to a master control unit in an energy storage system is provided, wherein a master control unit and a master control link are deployed in the energy storage system, a plurality of master control units are connected in series in the master control link, and the master control unit is connected to a first master control unit in the master control link; the method applied to the master control unit comprises:
[0006] In response to an identifier assignment request, a first broadcast data packet is sent to each master control unit deployed in the energy storage system;
[0007] After receiving a response message fed back by each master control unit in response to the first broadcast data packet, a second broadcast data packet is sent to each master control unit;
[0008] After determining that each master control unit meets the assignment condition according to the response result of each master control unit to the second broadcast data packet, an identifier corresponding to each master control unit is assigned.
[0009] Optionally, the first broadcast data packet is used to instruct each master control unit to disconnect the built-in switch chip data switch;
[0010] After determining that each master control unit meets the assignment condition according to the response result of each master control unit to the second broadcast data packet, an identifier corresponding to each master control unit is assigned.
[0011] If each of the master controllers does not respond to the second broadcast data packet, it is determined that each of the master controllers meets the distribution condition.
[0012] Optionally, the corresponding identification information is distributed to each of the master controllers, including:
[0013] A master controller is determined to be a current processing master controller in the master controller link in sequence.
[0014] The corresponding identification information is distributed to the current processing master controller, and a data switch closing instruction is sent to the current processing master controller to make the current processing master controller close the built-in switch chip data switch.
[0015] It is determined whether the distribution operation to all master controllers is completed.
[0016] If not, the operation of determining a master controller to be a current processing master controller in the master controller link in sequence is returned to be executed until the distribution operation to all master controllers is completed.
[0017] Optionally, after receiving the response message fed back by each master controller for the first broadcast data packet, the method further includes:
[0018] The total number of master controllers currently deployed in the energy storage system is counted according to the response message fed back by each master controller for the first broadcast data packet.
[0019] After the corresponding identification information is distributed to the current processing master controller, the method further includes:
[0020] The currently recorded number of distributed master controllers is updated.
[0021] It is determined whether the distribution operation to all master controllers is completed, including:
[0022] It is determined whether the distribution operation to all master controllers is completed according to the number of currently distributed master controllers and the total number of master controllers.
[0023] Optionally, the data switch closing instruction is sent to the current processing master controller, including:
[0024] It is determined whether the distribution completion response data fed back by the current processing master controller is received.
[0025] If yes, the data switch closing instruction is sent to the current processing master controller.
[0026] According to another aspect of the present application, a master controller identification distribution method in an energy storage system is provided. The energy storage system is deployed with a master controller and a master controller link. A plurality of master controllers in the master controller link are connected in series. The master controller is connected with a first master controller in the master controller link. The method is applied to a target master controller, including:
[0027] After receiving the first broadcast data packet sent by the general control, a response message is fed back to the general control, and the built-in switch chip data switch is disconnected;
[0028] After receiving the identification information corresponding to the target master control sent by the general control, the identification information is stored;
[0029] After receiving the data switch closing instruction corresponding to the target master control sent by the general control, the built-in switch chip data switch is closed.
[0030] Optionally, after receiving the identification information corresponding to the target master control sent by the general control, the method further comprises:
[0031] The target master control is marked as an allocated state, and an allocation completion response data is fed back to the general control.
[0032] According to another aspect of the present application, there is provided an identification allocation device for a master control in an energy storage system, wherein the energy storage system is deployed with a general control and a master control link, a plurality of master controls in the master control link are connected in series, and the general control is connected with a first master control in the master control link; the device is applied to the general control and comprises:
[0033] A data packet sending module is configured to send a first broadcast data packet to each master control deployed in the energy storage system in response to an identification allocation request;
[0034] A response receiving module is configured to send a second broadcast data packet to each master control after receiving a response message fed back by each master control in response to the first broadcast data packet;
[0035] An identification allocation module is configured to allocate corresponding identification information to each master control after determining that each master control meets an allocation condition according to a response result of each master control to the second broadcast data packet.
[0036] According to another aspect of the present application, there is provided an identification allocation device for a master control in an energy storage system, wherein the energy storage system is deployed with a general control and a master control link, a plurality of master controls in the master control link are connected in series, and the general control is connected with a first master control in the master control link; the device is applied to a target master control and comprises:
[0037] A response message feeding back module is configured to feed back a response message to the general control and disconnect a built-in switch chip data switch after receiving a first broadcast data packet sent by the general control;
[0038] An identification receiving module is configured to store the identification information after receiving the identification information corresponding to the target master control sent by the general control;
[0039] The switch control module is configured to close the built-in switch chip data switch after receiving the data switch closing instruction corresponding to the target master sent by the general control.
[0040] According to another aspect of the present application, an electronic device is provided, comprising:
[0041] at least one processor; and
[0042] a memory in communication with the at least one processor; wherein
[0043] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the identification allocation method of the master in the energy storage system according to any one of the embodiments of the present application.
[0044] According to another aspect of the present application, a computer readable storage medium is provided, which stores computer instructions for enabling a processor to implement the identification allocation method of the master in the energy storage system according to any one of the embodiments of the present application when executed by the processor.
[0045] According to another aspect of the present application, a computer program product is provided, which implements the identification allocation method of the master in the energy storage system according to any one of the embodiments of the present application when executed by a processor.
[0046] The technical scheme provided by the embodiments of the present application provides a technical means that the general control in the energy storage system sends a first broadcast data packet to each master deployed in the energy storage system in response to an identification allocation request, receives a response message fed back by each master in response to the first broadcast data packet, sends a second broadcast data packet to each master, and allocates corresponding identification information to each master after determining that each master satisfies the allocation condition according to the response result of each master to the second broadcast data packet, which provides a connection mode of the general control and the master using Ethernet hand-in-hand, can save human resources and time resources consumed in the master identification allocation process, and improves the allocation efficiency of the master identification and the operation efficiency of the energy storage system.
[0047] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0048] In order to make the technical solution in the embodiments of the present application clearer, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and all other drawings obtained by those skilled in the art without any creative effort should be within the protection scope of the present application.
[0049] Figure 1a is a flow chart of a main control identification allocation method in a storage energy system according to an embodiment of the present application;
[0050] Figure 1b is a connection schematic diagram of a general control and a main control in a storage energy system according to an embodiment of the present application;
[0051] Figure 2 is a flow chart of another main control identification allocation method in a storage energy system according to an embodiment of the present application;
[0052] Figure 3 is a flow chart of another main control identification allocation method in a storage energy system according to an embodiment of the present application;
[0053] Figure 4 is a structural schematic diagram of a main control identification allocation device in a storage energy system according to an embodiment of the present application;
[0054] Figure 5 is a structural schematic diagram of another main control identification allocation device in a storage energy system according to an embodiment of the present application;
[0055] Figure 6 is a structural schematic diagram of an electronic device for implementing the main control identification allocation method in a storage energy system according to an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the technical solution in the embodiments of the present application clearer, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and all other drawings obtained by those skilled in the art without any creative effort should be within the protection scope of the present application.
[0057] It should be noted that the terms "first", "second" and the like in the description and in the claims of the present application and above-described accompanying drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in other than the order illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a list of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to such processes, methods, products or devices.
[0058] Figure 1a A flowchart of a main control identification allocation method provided by an embodiment of the present application, which can be applicable to the automatic allocation of identification information to multiple main controls in an energy storage system, can be executed by an identification allocation device of the main control in the energy storage system, which can be realized in the form of hardware and / or software and configured in the general control of the energy storage system. As shown in Figure 1a The method comprises the following steps:
[0059] In step 110, a first broadcast data packet is sent to each main control deployed in the energy storage system in response to the identification allocation request.
[0060] In this embodiment, Figure 1b A connection diagram of a general control and a main control in an energy storage system according to an embodiment of the present application is shown in Figure 1b As shown in the figure, a general control (BAU) and a main control link are deployed in the energy storage system, multiple main controls (BCU1, BCU2, BCU3, BCU4, etc.) in the main control link are connected in series, and the general control is connected to the first main control in the main control link.
[0061] In a specific embodiment, if the personnel of the energy storage system need to use the general control and the main control for data interaction, an identification allocation request can be triggered for the general control, or when other network devices in the energy storage system need to control the general control and the main control for data interaction, an identification allocation request can also be triggered for the general control, which is not limited in this embodiment.
[0062] In this step, after receiving the identification allocation request, the general control can send a first broadcast data packet to each main control to initiate a call to all main controls. Specifically, the first broadcast data packet corresponds to a broadcast address 255.255.255.255, which is used to indicate that the general control sends a data packet to all main controls in the same local area network, and the protocol type that the data packet satisfies can be a user datagram protocol (User Datagram Protocol, UDP).
[0063] Step 120, after receiving the response message of each master feedback to the first broadcast data packet, a second broadcast data packet is sent to each master.
[0064] In this embodiment, each master can feed back a response message to the master controller after receiving the first broadcast data packet. Optionally, the response message can be used to inform the master controller that the corresponding master is running normally, such as a normal transmission link or a normal function parameter configuration.
[0065] In this step, after receiving the response message feedback from each master, the master controller can repeat the operation of step 110, that is, a second broadcast data packet is sent to each master.
[0066] Step 130, according to the response result of each master to the second broadcast data packet, when it is determined that each master meets the allocation condition, the corresponding identification information is allocated to each master.
[0067] In this embodiment, each master can decide whether to make a response result after receiving the second broadcast data packet. Optionally, the response result can be used to inform the master controller whether the corresponding master is ready for identification information allocation.
[0068] In this step, the master controller can allocate the corresponding identification information to the master when it is determined that the master meets the allocation condition according to the response result of the master to the second broadcast data packet. Specifically, each master can enter a locked state after the identification information allocation is completed, so that the master controller allocates identification information to the next master. The identification information can include an identification (ID).
[0069] The technical scheme provided by the embodiment of the application, by the master controller in the energy storage system responding to the identification allocation request, sending a first broadcast data packet to each master deployed in the energy storage system, receiving the response message of each master feedback to the first broadcast data packet, sending a second broadcast data packet to each master, according to the response result of each master to the second broadcast data packet, determining that each master meets the allocation condition, and allocating the corresponding identification information to each master, provides a master controller and master using an Ethernet hand-in-hand connection mode, and the master controller uses a broadcast mode to realize identification allocation to each master, without the support of hardware signals. Compared with the manual allocation of identification by related personnel in the prior art, the human and time resources consumed in the master identification allocation process can be saved, and the efficiency of master identification allocation and the operation efficiency of the energy storage system are improved.
[0070] Figure 2Another flowchart of the method for assigning the identifier of the master control in the energy storage system is provided in the embodiments of the present application, which is applied to the master control of the energy storage system, as shown in the figure, and the method comprises the steps of: Figure 2
[0071] In step 210, the first broadcast data packet is sent to each master control deployed in the energy storage system in response to the identifier assignment request.
[0072] In the embodiments, as shown in the figure, the switch in the switch chip built in each master control further comprises a data switch, and the first broadcast data packet is used to instruct each master control to disconnect the data switch of the built-in switch chip. Figure 1b
[0073] In this step, specifically, after each master control in the energy storage system receives the first broadcast data packet, a response message can be fed back to the master control, and then the data switch of the respective switch chip is disconnected, so that the master control can subsequently assign the identifier to each master control one by one.
[0074] In step 220, the second broadcast data packet is sent to each master control after receiving the response message fed back by each master control in response to the first broadcast data packet.
[0075] In the embodiments, optionally, after receiving the response message fed back by each master control in response to the first broadcast data packet, the method further comprises the step of: counting the total number of master controls currently deployed in the energy storage system according to the response message fed back by each master control in response to the first broadcast data packet.
[0076] Specifically, the master control can count the total number of master controls currently deployed in the energy storage system according to the media access control (MAC) address in the response message fed back by the master control.
[0077] In step 230, if each master control does not respond to the second broadcast data packet, it is determined that each master control meets the assignment condition.
[0078] In the embodiments, after the master control sends the second broadcast data packet to each master control, it can wait for a preset time period, and if each master control does not respond after the waiting period ends, it can be determined that each master control meets the identifier information assignment condition. The preset time period can be 1s, and the specific value can be adjusted according to the actual situation, and the embodiments do not limit this.
[0079] In step 240, one master control is determined as the current processing master control in the master control link.
[0080] Step 250, assigning corresponding identification information to the current processing master, and sending a data switch closing instruction to the current processing master to make the current processing master close the built-in switch chip data switch.
[0081] In this embodiment, after assigning corresponding identification information to the current processing master, the method further comprises: updating the number of the currently recorded assigned masters. Specifically, the total control can increase the recorded number of the assigned masters by one after completing the assignment operation of one master.
[0082] In one embodiment of this embodiment, sending the data switch closing instruction to the current processing master comprises: judging whether the assignment completion response data fed back by the current processing master is received; if yes, sending the data switch closing instruction to the current processing master.
[0083] In this embodiment, after the current processing master receives the identification information, the corresponding working state can be marked as an assigned state, and then the assignment completion response data is fed back to the total control. After the total control receives the assignment completion response data, the data switch closing instruction can be sent to the current processing master. Under this closing instruction, the current processing master can close the built-in switch chip data switch, so that the total control can start the assignment operation of the next master again.
[0084] In one specific embodiment, if the total control does not receive the assignment completion response data fed back by the current processing master, the identification information can be assigned to the current processing master again, or an abnormal alarm can be triggered, etc.
[0085] Step 260, judging whether the assignment operation of all the masters is completed, if yes, determining that the identification assignment method is executed to be ended, if not, returning to execute the operation of determining one master in the master link as the current processing master in step 240, until the assignment operation of all the masters is completed.
[0086] In this step, judging whether the assignment operation of all the masters is completed comprises: judging whether the assignment operation of all the masters is completed according to the number of the currently assigned masters and the total number of the masters.
[0087] Specifically, the number of the currently assigned masters can be compared with the total number of the masters, and whether the assignment operation of all the masters is completed can be judged according to the comparison result.
[0088] The technical scheme provided by the embodiment of the application comprises the following steps: in response to an identification allocation request, a total controller in an energy storage system sends a first broadcast data packet to each master controller deployed in the energy storage system; after receiving a response message fed back by each master controller in response to the first broadcast data packet, the total controller sends a second broadcast data packet to each master controller; if each master controller does not respond to the second broadcast data packet, it is determined that each master controller meets the allocation condition; one master controller in the master controller link is determined as a current processing master controller in sequence; the corresponding identification information is allocated to the current processing master controller; a data switch closing instruction is sent to the current processing master controller, so that the current processing master controller closes the built-in switch chip data switch; it is determined whether the allocation operation on all master controllers is completed; if not, the operation of determining one master controller in the master controller link as a current processing master controller in sequence is returned to be executed until the allocation operation on all master controllers is completed. The technical scheme can save human resources and time resources consumed in the master controller identification allocation process, and improves the allocation efficiency of the master controller identification and the operation efficiency of the energy storage system.
[0089] Figure 3 A flowchart of an identification allocation method of a master controller in an energy storage system is provided in the embodiment of the application. The embodiment can be applied to automatically allocating identification information to multiple master controllers in an energy storage system. The method can be executed by an identification allocation device of a master controller in the energy storage system. The device can be realized in the form of hardware and / or software and is configured in any master controller (i.e., a target master controller) of the energy storage system. As shown in the figure, the method comprises the following steps. Figure 3
[0090] After receiving the first broadcast data packet sent by the total controller, a response message is fed back to the total controller, and the built-in switch chip data switch is disconnected.
[0091] In the embodiment, a total controller and a master controller link are deployed in the energy storage system. Multiple master controllers in the master controller link are connected in series. The total controller is connected with a first master controller in the master controller link. The method is applied to the total controller.
[0092] After receiving the identification information corresponding to the target master controller sent by the total controller, the identification information is stored.
[0093] In this step, specifically, after receiving the identification information corresponding to the target master controller sent by the total controller, the target master controller is marked as an allocated state, and an allocation completion response data is fed back to the total controller.
[0094] After receiving the data switch closing instruction corresponding to the target master controller sent by the total controller, the built-in switch chip data switch is closed.
[0095] The technical scheme provided by the embodiment of the application can save human resources and time resources consumed in the master control identification allocation process, improve the allocation efficiency of the master control identification and the operation efficiency of the energy storage system, through the technical means that the master control in the energy storage system receives the first broadcast data packet sent by the general control, feeds back a response message to the general control, and disconnects the built-in switch chip data switch, stores the identification information corresponding to the target master control after receiving the identification information corresponding to the target master control sent by the general control, and closes the built-in switch chip data switch after receiving the data switch closing instruction corresponding to the target master control sent by the general control.
[0096] Figure 4 The structure diagram of the identification allocation device of the master control in the energy storage system provided by the embodiment of the application is shown in the figure, the general control and the master control link are deployed in the energy storage system, a plurality of master controls are connected in series in the master control link, and the general control is connected with the first master control in the master control link; the device is applied to the general control of the energy storage system, as shown in the figure, the device comprises a data packet sending module 510, a response receiving module 520 and an identification allocation module 530. Figure 4
[0097] The data packet sending module 510 is used for sending a first broadcast data packet to each master control deployed in the energy storage system in response to an identification allocation request.
[0098] The response receiving module 520 is used for sending a second broadcast data packet to each master control after receiving a response message fed back by each master control in response to the first broadcast data packet.
[0099] The identification allocation module 530 is used for allocating corresponding identification information to each master control after determining that each master control meets the allocation condition according to the response result of each master control to the second broadcast data packet.
[0100] The technical scheme provided by the embodiment of the application can save human resources and time resources consumed in the master control identification allocation process, improve the allocation efficiency of the master control identification and the operation efficiency of the energy storage system, through the technical means that the master control in the energy storage system receives the first broadcast data packet sent by the general control, feeds back a response message to the general control, and disconnects the built-in switch chip data switch, stores the identification information corresponding to the target master control after receiving the identification information corresponding to the target master control sent by the general control, and closes the built-in switch chip data switch after receiving the data switch closing instruction corresponding to the target master control sent by the general control.
[0101] On the basis of the above embodiment, the first broadcast data packet is used to instruct each master control to disconnect the built-in switch chip data switch.
[0102] The response receiving module 520 comprises:
[0103] a quantity counting unit, configured to count a total number of the master controllers currently deployed in the energy storage system according to response messages fed back by the respective master controllers in response to the first broadcast data packet.
[0104] The identification allocation module 530 comprises:
[0105] an allocation condition judging unit, configured to determine that the respective master controllers satisfy an allocation condition if the respective master controllers do not respond to the second broadcast data packet;
[0106] a current master processing unit, configured to determine a master controller in the master controller link as a current processing master controller in sequence, allocate corresponding identification information to the current processing master controller, and send a data switch closing instruction to the current processing master controller to make the current processing master controller close a built-in switch chip data switch.
[0107] a loop execution unit, configured to determine whether the allocation operation on all the master controllers is completed; if not, return to perform the operation of determining a master controller in the master controller link as a current processing master controller in sequence until the allocation operation on all the master controllers is completed.
[0108] a quantity updating unit, configured to update the recorded number of the allocated master controllers.
[0109] a quantity comparison unit, configured to determine whether the allocation operation on all the master controllers is completed according to the current number of the allocated master controllers and the total number of the master controllers.
[0110] a response data judging unit, configured to determine whether allocation completion response data fed back by the current processing master controller is received; if so, send a data switch closing instruction to the current processing master controller.
[0111] The device can perform the method provided by all the foregoing embodiments of the present application, and has the corresponding function modules and beneficial effects of performing the foregoing method. Technical details not described in detail in the embodiments of the present application can be referred to the method provided by all the foregoing embodiments of the present application.
[0112] Figure 5 A structural schematic diagram of an identification allocation device for a master controller in an energy storage system is provided in the embodiments of the present application. The energy storage system is deployed with a master controller and a master controller link. A plurality of master controllers in the master controller link are connected in series. The master controller is connected with a first master controller in the master controller link. The device is applied to a target master controller of the energy storage system, as shown in the figure, and comprises a response message feedback module 610, an identification receiving module 620 and a switch control module 630. Figure 5
[0113] The response message feedback module 610 is configured to, after receiving the first broadcast data packet sent by the total control, feed back a response message to the total control and disconnect the built-in switch chip data switch.
[0114] The identification receiving module 620 is configured to, after receiving the identification information corresponding to the target master control sent by the total control, store the identification information.
[0115] The switch control module 630 is configured to, after receiving the data switch closing instruction corresponding to the target master control sent by the total control, close the built-in switch chip data switch.
[0116] The technical scheme provided by the embodiment of the application can save human resources and time resources consumed in the master control identification allocation process, improve the allocation efficiency of the master control identification and the operation efficiency of the energy storage system.
[0117] On the basis of the above-mentioned embodiment, the identification receiving module 620 comprises:
[0118] The state marking unit is configured to, after receiving the identification information corresponding to the target master control sent by the total control, mark the target master control as an allocated state and feed back an allocation completion response data to the total control.
[0119] The above-mentioned device can execute the method provided by all the above-mentioned embodiments of the application, has the corresponding function modules and beneficial effects for executing the above-mentioned method. The technical details not described in detail in the embodiments of the application can be referred to the method provided by all the above-mentioned embodiments of the application.
[0120] Figure 6 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the applications described and / or claimed in this document.
[0121] As Figure 6As shown, the electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected to the at least one processor 11 in communication. The memory stores computer programs executable by the at least one processor 11, and the processor 11 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0122] Various components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, a speaker, etc., a storage unit 18, such as a magnetic disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0123] The processor 11 can be various general and / or special purpose processing components having processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the master-in-ESS-identified allocation method.
[0124] In some embodiments, the master-in-ESS-identified allocation method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the master-in-ESS-identified allocation method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the master-in-ESS-identified allocation method by any other appropriate means, such as by means of firmware.
[0125] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a load programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0126] Computer programs used to implement the processes of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program
[0127] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0128] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0129] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0130] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0131] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in sequence, or executed in a different order, as long as the desired results of the present disclosure are achieved, and the present disclosure is not limited herein.
[0132] The above detailed description does not limit the scope of the present disclosure. It is understood that various modifications, combinations, sub-combinations, and alternatives can be made to the detailed disclosure without departing from the spirit and principles of the present disclosure. Any modifications, equivalent substitutions, improvements, and the like that are made within the spirit and principles of the present disclosure are included in the scope of the present disclosure.
Claims
1. A method for assigning identifiers to the master controller in an energy storage system, characterized in that, The energy storage system is provided with a master control and a master control link, a plurality of master controls are connected in series in the master control link, and the master control is connected with a first master control in the master control link; the master control is a battery system management unit (BAU), and the master control is a battery cluster control management unit (BCU); The method is applied to the master control and includes the following steps: In response to the identification allocation request, a first broadcast data packet is sent to each master control deployed in the energy storage system; the first broadcast data packet is used to instruct each master control to disconnect the built-in switch chip data switch; After receiving the response message fed back by each master control in response to the first broadcast data packet, a second broadcast data packet is sent to each master control; After determining that each master control meets the allocation condition according to the response result of each master control to the second broadcast data packet, corresponding identification information is allocated to each master control; The response result is used to notify the master control whether the master control is ready for the identification information allocation.
2. The method according to claim 1, wherein After determining that each master control meets the allocation condition according to the response result of each master control to the second broadcast data packet, the method includes the following steps: If each master control does not respond to the second broadcast data packet, it is determined that each master control meets the allocation condition.
3. The method of claim 2, wherein, The method of allocating corresponding identification information to each master control includes the following steps: In the master control link, a master control is determined as a current processing master control in sequence; Corresponding identification information is allocated to the current processing master control, and a data switch closing instruction is sent to the current processing master control, so that the current processing master control closes the built-in switch chip data switch; It is judged whether the allocation operation to all master controls is completed; If not, the operation of determining a master control as a current processing master control in sequence in the master control link is returned to be executed until the allocation operation to all master controls is completed.
4. The method of claim 3, wherein, After receiving the response message fed back by each master control in response to the first broadcast data packet, the method further includes the following steps: According to the response message fed back by each master control in response to the first broadcast data packet, the total number of master controls currently deployed in the energy storage system is counted; After allocating corresponding identification information to the current processing master control, the method further includes the following steps: The number of allocated master controls recorded at present is updated; The method of judging whether the allocation operation to all master controls is completed includes the following steps: According to the number of master controls currently allocated and the total number of master controls, it is judged whether the allocation operation to all master controls is completed.
5. The method of claim 4, wherein, The method of sending a data switch closing instruction to the current processing master control includes the following steps: It is judged whether the allocation completion response data fed back by the current processing master control is received; If yes, the data switch closing instruction is sent to the current processing master control.
6. A method for assigning an identity to a master in an energy storage system, the method comprising: The energy storage system is provided with a master control and a master control link, a plurality of master controls are connected in series in the master control link, and the master control is connected with a first master control in the master control link; the master control is a battery system management unit (BAU), and the master control is a battery cluster control management unit (BCU); the method is applied to a target master control and includes the following steps: After receiving the first broadcast data packet sent by the master control, a response message is fed back to the master control, and the built-in switch chip data switch is disconnected; Receiving the second broadcast data packet sent by the total control, and feeding back a response result to the total control; the response result is used for informing the total control whether the corresponding target master control is ready for the allocation of the identification information; After receiving the identification information corresponding to the target master control sent by the total control, storing the identification information; After receiving the data switch closing instruction of the target master control sent by the total control, closing the built-in switch chip data switch.
7. The method of claim 6, wherein, After receiving the identification information corresponding to the target master control sent by the total control, further comprising: Marking the target master control as an allocated state, and feeding back an allocation completion response data to the total control.
8. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the identification allocation method of the master control in the energy storage system according to any one of claims 1-5 or 6-7.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, and the computer instructions are used to enable the processor to execute the identification allocation method of the master control in the energy storage system according to any one of claims 1-5 or 6-7.
10. A computer program product, characterised in that, The computer program product comprises a computer program, and the computer program is executed by the processor to implement the identification allocation method of the master control in the energy storage system according to any one of claims 1-5 or 6-7.
Citation Information
Patent Citations
Slave address allocation method for energy storage battery management system
CN113037889A