Command interaction method of battery management system, battery management system and monitoring equipment

By introducing a command interaction method in the battery management system, the problems of message command reliability and data loss on the CAN bus are solved, and the accurate data transmission and interaction reliability are achieved.

CN119766893APending Publication Date: 2025-04-04CLOUDNINE INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411696249.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the battery management system, the reliability of message commands on the CAN bus is affected, resulting in data loss when the bus is busy, affecting the timeliness and accuracy of information interaction between master and slave control devices.

Method used

By introducing a command interaction method in the battery management system, the master control device issues a broadcast message, including the operation instructions and execution sequence of the slave control device. The first slave control device parses and executes the operation instructions, generates a response message, and adds a protocol tag and packs remaining operation instructions to the response message until all slave control devices complete the operation instructions in sequence.

Benefits of technology

It effectively avoids the busyness of the CAN bus, ensures that the master control device can collect data from slave control devices in a timely and accurate manner, prevents the loss of key data, and improves the accuracy of data and the reliability of interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119766893A_ABST
    Figure CN119766893A_ABST
Patent Text Reader

Abstract

The invention relates to a command interaction method of a battery management system, the battery management system and monitoring equipment. Each slave control device receives the broadcast message sent by the master control device; the broadcast message comprises an operation instruction, an execution sequence and a first protocol label of N slave control devices; a first slave control device in the N slave control devices performs protocol analysis on the broadcast message, and extracts a first protocol label; executing a corresponding operation instruction according to the first protocol label, and adding a second protocol label in the generated first response message and packaging the remaining operation instruction according to the execution sequence; and waiting for the next slave control device to receive the first response message, generating a second response message by referring to the generation mode of the first response message, and sending the second response message to the bus until the N slave control devices complete all operation instructions contained in the broadcast message according to the execution sequence. By adopting the method, busy of the CAN bus is avoided, data loss is prevented, and the reliability of information interaction between the master control equipment and the slave control equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a command interaction method for a battery management system, a battery management system and a monitoring device. Background Art

[0002] In the battery management system, the information exchange between the master control and the slave control mainly depends on the CAN bus. Therefore, the reliability of the message commands on the CAN bus is crucial.

[0003] When the master controller collects key information from the slave controller, it will initiate a broadcast request to each slave controller on the bus to obtain all slave devices currently connected to the bus. At this time, the slave devices connected to the bus will immediately respond to the master controller. Although the CAN bus has an arbitration mechanism, if multiple slave controllers respond at the same time, there will be too many interactive command messages on the bus, which will cause the bus to be busy, and packet loss will inevitably occur, resulting in data loss and affecting the timeliness of the interaction between the master and slave controllers. Especially when the slave controller is a monitoring module, if the master control system cannot accurately monitor the status of the module, it will not be able to detect potential problems such as battery aging and temperature changes in time, further affecting the performance and safety of the module, resulting in data lag in the monitoring device, and being unable to detect and respond to potential safety issues such as battery overheating and short circuits in time. Summary of the invention

[0004] Based on this, it is necessary to provide a battery management system command interaction method, battery management system and monitoring equipment that can avoid bus busyness, allow the master control to collect slave control data in a timely and accurate manner, prevent key data loss, and ensure accurate monitoring equipment data in response to the above technical problems.

[0005] In a first aspect, the present application provides a command interaction method for a battery management system, wherein the battery management system includes a master control device and a plurality of slave control devices, wherein the slave control devices are communicatively connected to the master control device via a bus, and the method includes:

[0006] Each of the slave control devices receives a broadcast message sent by the master control device; the broadcast message includes operation instructions corresponding to the N slave control devices, an execution order of the N slave control devices, and a first protocol tag;

[0007] The first slave control device among the N slave control devices performs protocol parsing on the broadcast message, extracts the first protocol label of the broadcast message; parses and executes the operation instruction corresponding to the first slave control device in the broadcast message according to the first protocol label, and generates a first response message; adds a second protocol label to the first response message according to the execution order of the N slave control devices, and packs the remaining operation instructions into the first response message; sends the first response message to the bus, and waits for the next slave control device to receive the first response message;

[0008] The next slave control device performs protocol parsing on the first response message, extracts the second protocol tag of the first response message, generates a second response message and sends it to the bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message until N slave control devices complete all operation instructions contained in the broadcast message in the execution order.

[0009] In one of the embodiments, the master control device sequentially receives the response messages returned to the bus by the N slave control devices according to the execution order of the N slave control devices.

[0010] In one embodiment, the first slave control device among the N slave control devices performs protocol parsing on the broadcast message, and extracting the first protocol label of the broadcast message includes:

[0011] Each of the slave control devices performs protocol parsing on the broadcast message to extract a first protocol label of the broadcast message; respectively determines whether the first protocol label is a target protocol label of the respective slave control device, and if the determination result of any slave control device is yes, the slave control device is used as the first slave control device;

[0012] The first slave control device parses and executes the operation instruction corresponding to the first slave control device in the broadcast message according to the first protocol tag;

[0013] The remaining slave control devices discard the broadcast message.

[0014] In one of the embodiments, after the first slave control device is determined and the remaining slave control devices discard the broadcast message, the remaining slave control devices enter a waiting state.

[0015] In one of the embodiments, the second response message includes a third protocol tag and operation instructions corresponding to N-2 slave control devices.

[0016] In one of the embodiments, the third protocol tag is generated by the next control device according to the execution order of the N slave control devices.

[0017] In the second aspect, the present application also provides a battery management system, which includes a master control device and multiple slave control devices, wherein the slave control devices are communicatively connected to the master control device via a bus, wherein the master control device is used to send broadcast messages; and the multiple slave control devices use the command interaction method of the battery management system described in the first aspect above to parse and respond to the broadcast messages.

[0018] In a third aspect, the present application further provides a monitoring device, comprising a slave control device of the battery management system as described in the second aspect.

[0019] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps corresponding to the command interaction method of the battery management system described in the first aspect above are implemented.

[0020] In the command interaction method, battery management system and monitoring device of the above-mentioned battery management system, a broadcast message sent by the master control device is received by each of the slave control devices; the broadcast message includes operation instructions corresponding to N slave control devices, the execution order of the N slave control devices and a first protocol tag; the first slave control device among the N slave control devices performs protocol parsing on the broadcast message and extracts the first protocol tag of the broadcast message; according to the first protocol tag, the operation instruction corresponding to the first slave control device in the broadcast message is parsed and executed to generate a first response message; according to the execution order of the N slave control devices, a second protocol tag is added to the first response message, and the remaining operation instructions are packaged into the first In the response message; the first response message is sent to the bus, and the next slave control device is waited for to receive the first response message; the next slave control device performs protocol parsing on the first response message, extracts the second protocol tag of the first response message, and generates a second response message and sends it to the bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message, until N slave control devices complete all operation instructions contained in the broadcast message in the execution order, thereby avoiding the busyness of the CAN bus, and providing the master control device with an effective and reliable data stream, preventing the loss of key data, ensuring data accuracy, and improving the reliability of information interaction between the master control device and the slave control device. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 is a structural block diagram of a battery management system in one embodiment;

[0023] Figure 2 is a flowchart of a command interaction method of a battery management system in one embodiment;

[0024] Figure 3 A schematic diagram of a process of extracting the first protocol label of the broadcast message in an embodiment;

[0025] Figure 4 FIG. 4 is a diagram showing the internal structure of a monitoring device in one embodiment. DETAILED DESCRIPTION

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

[0027] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0028] The command interaction method of the battery management system provided in the embodiment of the present application can be applied to Figure 1 In the battery management system shown in FIG. , a plurality of slave control devices 102 are communicatively connected with a master control device 104 via a CAN bus.

[0029] The master control device is used to send a broadcast message to the CAN bus. The broadcast message includes operation instructions corresponding to N slave control devices, the execution order of the N slave control devices and a first protocol tag.

[0030] Each of the slave control devices receives a broadcast message sent by the master control device from the CAN bus; the first slave control device among the N slave control devices performs protocol analysis on the broadcast message and extracts the first protocol tag of the broadcast message; according to the first protocol tag, the operation instruction corresponding to the first slave control device in the broadcast message is analyzed and executed to generate a first response message; according to the execution order of the N slave control devices, a second protocol tag is added to the first response message, and the remaining operation instructions are packaged into the first response message; the first response message is sent to the bus, and the next slave control device is waited for to receive the first response message; the next slave control device performs protocol analysis on the first response message, extracts the second protocol tag of the first response message, and generates a second response message and sends it to the CAN bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message, until the N slave control devices complete all the operation instructions contained in the broadcast message according to the execution order.

[0031] The master control device 10 and the slave control device 102 may be, but are not limited to, various personal computers, laptop computers, smart phones, tablet computers, monitoring devices, and the like.

[0032] In an exemplary embodiment, Figure 2 As shown, a command interaction method for a battery management system is provided, and the method is applied to Figure 1 The slave control devices in the example are used to illustrate, including the following steps 201 to 203. Among them:

[0033] Step 201: Each of the slave control devices receives a broadcast message sent by the master control device.

[0034] The broadcast message includes operation instructions corresponding to N slave control devices, the execution order of the N slave control devices and a first protocol label.

[0035] In detail, since the CAN bus connects the master device with each slave device for communication, all slave devices can receive the broadcast message sent by the master device on the CAN bus.

[0036] In step 202, the first slave control device among the N slave control devices performs protocol parsing on the broadcast message and extracts the first protocol label of the broadcast message; according to the first protocol label, the operation instruction corresponding to the first slave control device in the broadcast message is parsed and executed to generate a first response message; according to the execution order of the N slave control devices, a second protocol label is added to the first response message, and the remaining operation instructions are packaged into the first response message; the first response message is sent to the bus, and the next slave control device is waited for to receive the first response message.

[0037] In detail, since the broadcast message only contains the first label protocol, only the first slave control device among the slave control devices can successfully parse the broadcast protocol and extract the operation instructions corresponding to the first slave control device in the broadcast message. After the first slave control device executes the corresponding operation instruction, it generates a first response message and sends it to the CAN bus. In the first response message, the first slave control device adds the second protocol label to the first response message according to the execution order of the N slave control devices, and packs the remaining operation instructions into the first response message.

[0038] Step 203: The next slave control device performs protocol parsing on the first response message, extracts the second protocol tag of the first response message, generates a second response message and sends it to the bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message until N slave control devices complete all operation instructions contained in the broadcast message in the execution order.

[0039] In detail, since the first response message is returned to the CAN bus, all other slave control devices can obtain the first response message. However, only the next slave control device that matches the second protocol tag can refer to the generation method of the first response message to generate a second response message and send it to the CAN bus, wherein the second response message includes a third protocol tag and operation instructions corresponding to N-2 slave control devices. The third protocol tag is generated by the next control device according to the execution order of the N slave control devices. The second response message can only be parsed and executed by another slave control device that matches the third protocol tag until the operation instructions corresponding to the N slave control devices contained in the broadcast message are executed in sequence by the N slave control devices.

[0040] In the command interaction method of the battery management system, each of the slave control devices receives a broadcast message sent by the master control device; the broadcast message includes operation instructions corresponding to N slave control devices, the execution order of the N slave control devices, and a first protocol tag; the first slave control device among the N slave control devices performs protocol parsing on the broadcast message and extracts the first protocol tag of the broadcast message; according to the first protocol tag, the operation instruction corresponding to the first slave control device in the broadcast message is parsed and executed to generate a first response message; according to the execution order of the N slave control devices, a second protocol tag is added to the first response message, and the remaining operation instructions are packaged into the first response message; The first response message is sent to the bus, and the next slave control device is waited for to receive the first response message; the next slave control device performs protocol parsing on the first response message, extracts the second protocol tag of the first response message, generates a second response message and sends it to the bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message, until N slave control devices complete all operation instructions contained in the broadcast message in the execution order, thereby avoiding busyness of the CAN bus and providing an effective and reliable data stream for the master control device, preventing the loss of key data, ensuring data accuracy, and improving the reliability of information interaction between the master control device and the slave control device.

[0041] In one of the embodiments, the master control device sequentially receives the response messages returned to the bus by the N slave control devices according to the execution order of the N slave control devices.

[0042] In detail, since each executed slave device generates a response message and sends it to the CAN bus, the master device can sequentially obtain the response messages returned by N slave devices from the CAN bus, thereby achieving efficient data stream transmission and avoiding data loss.

[0043] In one embodiment, if Figure 3 As shown, in step 202, the first slave control device among the N slave control devices performs protocol parsing on the broadcast message to extract the first protocol label of the broadcast message, which specifically includes the following steps 301 to 303:

[0044] In step 301, each of the slave control devices performs protocol parsing on the broadcast message and extracts the first protocol label of the broadcast message; and determines whether the first protocol label is the target protocol label of each slave control device. If the judgment result of any slave control device is yes, the slave control device is used as the first slave control device.

[0045] Step 302: The first slave control device parses and executes the operation instruction corresponding to the first slave control device in the broadcast message according to the first protocol tag.

[0046] Step 303: The remaining slave control devices discard the broadcast message.

[0047] In detail, after the first slave control device is determined and the remaining slave control devices discard the broadcast message, the remaining slave control devices enter a waiting state.

[0048] In this embodiment, the first slave control device is determined by comparing whether the first protocol tag is the target protocol tag of each slave control device. The first slave control device executes the broadcast message, and the other slave control devices are in a waiting state. This can effectively alleviate bus congestion caused by multiple slave control devices working simultaneously on the CAN bus and further avoid data loss.

[0049] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0050] In an exemplary embodiment, a monitoring device is provided. The device may be a terminal, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a command interaction method of a battery management system is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

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

[0052] In an exemplary embodiment, a monitoring device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0053] receiving a broadcast message sent by the master control device; the broadcast message includes operation instructions corresponding to N slave control devices, an execution order of the N slave control devices, and a first protocol tag;

[0054] Perform protocol parsing on the broadcast message and extract the first protocol label of the broadcast message; according to the first protocol label, parse and execute the operation instruction corresponding to the first slave control device in the broadcast message to generate a first response message; according to the execution order of the N slave control devices, add a second protocol label to the first response message, and pack the remaining operation instructions into the first response message; send the first response message to the bus, and wait for the next slave control device to receive the first response message; wherein, the next slave control device performs protocol parsing on the first response message, extracts the second protocol label of the first response message, generates a second response message and sends it to the bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message, until the N slave control devices complete all the operation instructions contained in the broadcast message in the execution order.

[0055] In one embodiment, when the processor executes the computer program, the following steps are also implemented: each of the slave control devices performs protocol parsing on the broadcast message and extracts the first protocol label of the broadcast message; respectively determines whether the first protocol label is the target protocol label of each slave control device, and if the judgment result of any slave control device is yes, the slave control device is used as the first slave control device; the first slave control device parses and executes the operation instructions corresponding to the first slave control device in the broadcast message according to the first protocol label; and the remaining slave control devices discard the broadcast message.

[0056] In one embodiment, when the processor executes the computer program, the following steps are further implemented: after determining the first slave control device and the remaining slave control devices discard the broadcast message, the remaining slave control devices enter a waiting state.

[0057] In one embodiment, the second response message includes a third protocol tag and operation instructions corresponding to N-2 slave control devices.

[0058] In one embodiment, the third protocol tag is generated by the next control device according to the execution order of the N slave control devices.

[0059] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0060] Each of the slave control devices receives a broadcast message sent by the master control device; the broadcast message includes operation instructions corresponding to the N slave control devices, an execution order of the N slave control devices, and a first protocol tag;

[0061] The first slave control device among the N slave control devices performs protocol parsing on the broadcast message, extracts the first protocol label of the broadcast message; parses and executes the operation instruction corresponding to the first slave control device in the broadcast message according to the first protocol label, and generates a first response message; adds a second protocol label to the first response message according to the execution order of the N slave control devices, and packs the remaining operation instructions into the first response message; sends the first response message to the bus, and waits for the next slave control device to receive the first response message;

[0062] The next slave control device performs protocol parsing on the first response message, extracts the second protocol tag of the first response message, generates a second response message and sends it to the bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message until N slave control devices complete all operation instructions contained in the broadcast message in the execution order.

[0063] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the master control device sequentially receives response messages returned to the bus by the N slave control devices according to the execution order of the N slave control devices.

[0064] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: each of the slave control devices performs protocol parsing on the broadcast message and extracts the first protocol label of the broadcast message; respectively determines whether the first protocol label is the target protocol label of each slave control device, and if the judgment result of any slave control device is yes, the slave control device is used as the first slave control device; the first slave control device parses and executes the operation instructions corresponding to the first slave control device in the broadcast message according to the first protocol label; and the remaining slave control devices discard the broadcast message.

[0065] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: after determining that the first slave control device and the other slave control devices discard the broadcast message, the other slave control devices enter a waiting state.

[0066] In one embodiment, the second response message includes a third protocol tag and operation instructions corresponding to N-2 slave control devices.

[0067] In one embodiment, the third protocol tag is generated by the next control device according to the execution order of the N slave control devices.

[0068] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps corresponding to the command interaction method of the battery management system described in the above embodiments.

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

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

[0071] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A command interaction method for a battery management system, the battery management system comprising a master control device and a plurality of slave control devices, the slave control devices being communicatively connected to the master control device via a bus, characterized in that: The method comprises: Each of the slave control devices receives a broadcast message sent by the master control device; the broadcast message includes operation instructions corresponding to the N slave control devices, an execution order of the N slave control devices, and a first protocol tag; The first slave control device among the N slave control devices performs protocol parsing on the broadcast message, extracts the first protocol label of the broadcast message; parses and executes the operation instruction corresponding to the first slave control device in the broadcast message according to the first protocol label, and generates a first response message; adds a second protocol label to the first response message according to the execution order of the N slave control devices, and packs the remaining operation instructions into the first response message; sends the first response message to the bus, and waits for the next slave control device to receive the first response message; The next slave control device performs protocol parsing on the first response message, extracts the second protocol tag of the first response message, generates a second response message and sends it to the bus with reference to the generation method of the first response message of the first slave control device, and waits for another slave control device to receive the second response message until N slave control devices complete all operation instructions contained in the broadcast message in the execution order.

2. The command interaction method of the battery management system according to claim 1, characterized in that: The master control device sequentially receives the response messages returned to the bus by the N slave control devices according to the execution order of the N slave control devices.

3. The command interaction method of the battery management system according to claim 1, characterized in that: The first slave control device among the N slave control devices performs protocol parsing on the broadcast message, and extracting the first protocol label of the broadcast message includes: Each of the slave control devices performs protocol parsing on the broadcast message to extract a first protocol label of the broadcast message; respectively determines whether the first protocol label is a target protocol label of the respective slave control device, and if the determination result of any slave control device is yes, the slave control device is used as the first slave control device; The first slave control device parses and executes the operation instruction corresponding to the first slave control device in the broadcast message according to the first protocol tag; The remaining slave control devices discard the broadcast message.

4. The command interaction method of the battery management system according to claim 3, characterized in that: After the first slave control device is determined and the other slave control devices discard the broadcast message, the other slave control devices enter a waiting state.

5. The command interaction method of the battery management system according to claim 1, characterized in that: The second response message includes a third protocol tag and operation instructions corresponding to N-2 slave control devices.

6. The command interaction method of the battery management system according to claim 5, characterized in that: The third protocol tag is generated by the next control device according to the execution order of the N slave control devices.

7. A battery management system, characterized in that: The system includes a master control device and multiple slave control devices, wherein the slave control devices are communicatively connected to the master control device via a bus, wherein the master control device is used to send broadcast messages; and the multiple slave control devices use the command interaction method of the battery management system as described in claim 1 to parse and respond to the broadcast messages.

8. The battery management system according to claim 7, characterized in that: The master control device is also used to sequentially receive response messages returned to the bus by the N slave control devices according to the execution order of the N slave control devices.

9. A monitoring device, characterized in that: A slave control device comprising a battery management system as described in any one of claims 7-8.

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

Citation Information

Patent Citations

  • Equipment addressing method, device and system

    CN110868479A

  • Wireless battery management method and system

    CN115764015A