A batch upgrade test device and test method for distributed equipment

Through the batch upgrade test method of distributed equipment, multiple BMS devices are simulated and different network environments are simulated, which solves the problem of high cost and poor results of batch update testing of BMS devices, and achieves low-cost and efficient batch upgrade testing.

CN119739641BActive Publication Date: 2025-05-09SHENZHEN ANSHI NEW ENERGY TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510248603.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-04
Publication Date
2025-05-09
Estimated Expiration
2045-03-04

AI Technical Summary

Technical Problem

In the prior art, the batch update test cost of BMS equipment is relatively high and the effect is poor, so it is impossible to effectively simulate complex network environments.

Method used

The batch upgrade test method of distributed devices is adopted. The test software client simulates multiple BMS devices. The batch upgrade server judges the online status of the device based on the database and issues upgrade instructions. The data communication server realizes data communication between the batch upgrade server and the test software client, and simulates different network environments for firmware upgrades.

Benefits of technology

It realizes the upgrade of various BMS devices and their network environments at low cost and efficiently simulates the upgrade, reducing the testing cost and improving the testing effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739641B_ABST
    Figure CN119739641B_ABST
Patent Text Reader

Abstract

The present invention discloses a batch upgrade test device for distributed equipment and a test method thereof. The test device comprises a batch upgrade server, a data communication server, a test software client and an upgrade data server. The batch upgrade server is used to judge the online status of the equipment according to a database and issue upgrade instructions and program data. The test software client is used to simulate multiple BMS equipment. The data communication server is used to realize data communication between the batch upgrade server and the test software client. The upgrade data server is respectively used to store and update the equipment information of the BMS equipment simulated by the test software client. The test software client of the present invention can simulate different simulated BMS equipment and simulate different network environments for each simulated BMS equipment. By forming logs and analyzing them, batch upgrade simulation tests are realized, thereby simulating the upgrade of various different BMS equipment and their network environments with high efficiency at low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of distributed equipment batch upgrade testing, and in particular relates to a distributed equipment batch upgrade testing device and a testing method thereof. Background Art

[0002] There are a large number of BMS devices in large-scale power supply systems. To maintain the update function, security, stability and operating efficiency of the power supply system, the firmware of each BMS device must be kept up to date. However, there are certain differences in the hardware specifications, firmware types and network environments of these devices. If updates are simply pushed to each BMS, it is easy for the update to fail due to network environment and other problems, or even the firmware is damaged and the BMS device stops working, affecting the stability of the entire power supply system.

[0003] Therefore, it is necessary to test the batch upgrade of BMS device firmware. If real BMS devices are used for testing, the cost of occupying a large number of BMS devices is high, and the BMS devices lack redundant space and form test logs. At the same time, the network environment in which the BMS devices are located is relatively simple and cannot provide flexible simulation of the actual complex network environment, so the test effect is poor. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the defects of high cost and poor effect of batch update test of BMS equipment in the prior art, thereby providing a batch upgrade test device and a test method for distributed equipment.

[0005] A batch upgrade test method for distributed devices, the test method comprising the following steps: a test software client simulates to form a plurality of simulated BMS devices; a batch upgrade server determines the online status of the device according to a database and issues upgrade instructions and program data; a data communication server is respectively connected to the batch upgrade server and the test software client for communication, and realizes data communication between the batch upgrade server and the test software client; an upgrade data server is respectively connected to the batch upgrade server and the test software client for communication, and is used to store and update device information of the BMS device simulated by the test software client; the batch upgrade server issues upgrade instructions and program data to the simulated BMS device of the test software client through the data communication server based on the data of the upgrade data server, and the simulated BMS device simulates different network environments and performs firmware upgrade when receiving the upgrade instructions and the program data; data generated by the batch upgrade server, the data communication server, the test software client and the upgrade data server in the firmware upgrade are collected, and a test result is formed;

[0006] The batch upgrade method of distributed devices includes: the batch upgrade server sends an instruction through the data communication server to inquire about the firmware version and working status of the simulated BMS device; if the simulated BMS device is in the APP state, the batch upgrade server sends a Bootloader jump instruction to the simulated BMS device through the data communication server; the batch upgrade server sends a jump confirmation instruction to the simulated BMS device through the data communication server, and if the simulated BMS device is in the Bootloader state, the batch upgrade server sends a jump result response to the batch upgrade server through the data communication server; if the simulated BMS device is in the Bootloader state, the upgrade continues; the batch upgrade server sends a firmware reception instruction to the simulated BMS device through the data communication server; if the simulated BMS device sends a firmware reception instruction to the batch upgrade server If the firmware response cannot be received through continuous sending, the upgrade of the simulated BMS device fails; if the simulated BMS device can receive the firmware, a firmware reception response is sent to the batch upgrade server, and the flash memory is erased at the same time; the batch upgrade server sends firmware file segments to the simulated BMS device through the data communication server, and the simulated BMS device receives the firmware file segments and temporarily stores them in the memory, and checks the firmware file segments and sends a firmware file segment reception response to the batch upgrade server; after the batch upgrade server receives the firmware file segment reception response, it continues to send the next firmware file segment to the simulated BMS device until all the firmware file segments are sent; the simulated BMS device completes the upgrade according to the acquired firmware file segments, and saves the download results of each firmware file segment, the firmware upgrade results, and the temporarily stored firmware file segments to local files.

[0007] Further, the following steps are included:

[0008] Step S1: the test software client obtains a preset amount of BMS device information from the upgrade data server, and the upgrade data server updates the status of the BMS device;

[0009] Step S2: the test software client generates a simulated BMS device according to the acquired BMS device information, and connects the simulated BMS device to the data communication server; the BMS device information includes a device data upload subject, a device data download subject, and a serial number;

[0010] Step S3: The batch upgrade server obtains the BMS device information that needs to be upgraded from the upgrade data server, and sends the upgrade instruction and firmware data to the corresponding device data download topic of the data communication server;

[0011] Step S4: the simulated BMS device of the test software client monitors the corresponding device data download topic of the data communication server, and after monitoring the release message from the batch upgrade server, sends a response message to the batch upgrade server through the data communication server through the simulated network environment;

[0012] Step S5: The batch upgrade server and the simulated BMS device perform batch upgrade based on the batch upgrade method in the batch upgrade test method for distributed devices described above;

[0013] Step S6: Each of the simulated BMS devices records its own data in a local file, where the local file includes an upgrade log, an abnormality log, and firmware saved data;

[0014] Step S7: After all the simulated BMS devices have completed the upgrade, the log of the batch upgrade server is compared with the log of the test software client, and an upgrade error report is output; the firmware file sent by the batch upgrade server is compared with the firmware file received by each of the simulated BMS devices to verify the accuracy of the firmware file;

[0015] Step S8: Repeat the batch upgrade test of steps S1 to S7, and form a comprehensive evaluation based on the test results.

[0016] Furthermore, the upgrade log includes the serial number of the simulated BMS device, the log recording time, the upgrade process status of the simulated BMS device, the received upgrade instructions, the response instructions of the simulated BMS device, and the simulated network parameters.

[0017] Furthermore, the abnormal log includes the serial number of the simulated BMS device, the log recording time, the upgrade stage of the BMS device and detailed information of the error.

[0018] Furthermore, in step S7, the firmware file sent by the batch upgrade server is compared with the firmware file received by each of the simulated BMS devices. When the firmware files are found to be inconsistent, the number of bytes of the difference position is counted, the firmware file segment of the difference is located, and the upgrade log and exception log are queried to inquire about the cause of the error.

[0019] Furthermore, the network environment simulated by each simulated BMS device in the test software client includes simulated bandwidth, simulated jitter and simulated packet loss.

[0020] Furthermore, the simulation method of simulating bandwidth includes presetting a bandwidth upper limit and a bandwidth lower limit for each of the simulated BMS devices, and the bandwidth of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server fluctuates between the bandwidth upper limit and the bandwidth lower limit; the simulation method of simulating delay includes defining a preset delay for each of the simulated BMS devices, and the delay of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server is the preset delay; the simulation method of simulating jitter includes defining a preset jitter for each of the simulated BMS devices, and the jitter of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server is the preset jitter; the simulation method of simulating packet loss includes defining a preset packet loss rate for each of the simulated BMS devices, and the data packets transmitted by each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server are lost with a probability of the preset packet loss rate.

[0021] Furthermore, the number of simulated BMS devices in the test software client is the same as that in the production environment, and the simulated bandwidth, simulated jitter and simulated delay simulated by each of the simulated BMS devices are measured by the devices in the production environment.

[0022] A batch upgrade test device for distributed devices, characterized in that the test device completes the test through the above-mentioned test method, and includes a batch upgrade server, a data communication server, a test software client and an upgrade data server;

[0023] The batch upgrade server is used to determine the online status of the device according to the database and issue upgrade instructions and program data;

[0024] The test software client is used to simulate multiple BMS devices;

[0025] The data communication server is connected to the batch upgrade server and the test software client for communication, and realizes data communication between the batch upgrade server and the test software client;

[0026] The upgrade data server is respectively connected to the batch upgrade server and the test software client for communication, and is used to store and update the device information of the BMS device simulated by the test software client.

[0027] Beneficial effect: The present invention discloses a batch upgrade test device and a test method for distributed equipment. The test device includes a batch upgrade server, a data communication server, a test software client and an upgrade data server. The batch upgrade server is used to determine the online status of the equipment according to the database and issue upgrade instructions and program data. The test software client is used to simulate multiple BMS devices. The data communication server is used to realize data communication between the batch upgrade server and the test software client; the upgrade data server is respectively used to store and update the device information of the BMS device simulated by the test software client; the test software client of the present invention can simulate different simulated BMS devices and simulate different network environments for each simulated BMS device, and realize batch upgrade simulation testing by forming logs and analyzing them, so as to simulate the upgrade of various different BMS devices and their network environments with low cost and high efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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 drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 It is a schematic block diagram of the structure of the testing device of the present invention. DETAILED DESCRIPTION

[0030] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.

[0031] Embodiment 1:

[0032] The present embodiment provides a batch upgrade test method for distributed devices, and the test method includes the following steps: a test software client simulates to form multiple simulated BMS devices; a batch upgrade server determines the online status of the device according to a database and issues upgrade instructions and program data; a data communication server is respectively connected to the batch upgrade server and the test software client for communication, and realizes data communication between the batch upgrade server and the test software client; an upgrade data server is respectively connected to the batch upgrade server and the test software client for communication, and is used to store and update the device information of the BMS device simulated by the test software client; the batch upgrade server issues upgrade instructions and program data to the simulated BMS device of the test software client through the data communication server based on the data of the upgrade data server, and the simulated BMS device simulates different network environments and performs firmware upgrade when receiving the upgrade instructions and the program data; data generated by the batch upgrade server, the data communication server, the test software client and the upgrade data server in the firmware upgrade are collected, and a test result is formed;

[0033] The batch upgrade method of distributed devices includes: the batch upgrade server sends an instruction through the data communication server to inquire about the firmware version and working status of the simulated BMS device; if the simulated BMS device is in the APP state, the batch upgrade server sends a Bootloader jump instruction to the simulated BMS device through the data communication server; the batch upgrade server sends a jump confirmation instruction to the simulated BMS device through the data communication server, and if the simulated BMS device is in the Bootloader state, the batch upgrade server sends a jump result response to the batch upgrade server through the data communication server; if the simulated BMS device is in the Bootloader state, the upgrade continues; the batch upgrade server sends a firmware reception instruction to the simulated BMS device through the data communication server; if the simulated BMS device sends a firmware reception instruction to the batch upgrade server If the firmware response cannot be received through continuous sending, the upgrade of the simulated BMS device fails; if the simulated BMS device can receive the firmware, a firmware reception response is sent to the batch upgrade server, and the flash memory is erased at the same time; the batch upgrade server sends firmware file segments to the simulated BMS device through the data communication server, and the simulated BMS device receives the firmware file segments and temporarily stores them in the memory, and checks the firmware file segments and sends a firmware file segment reception response to the batch upgrade server; after the batch upgrade server receives the firmware file segment reception response, it continues to send the next firmware file segment to the simulated BMS device until all the firmware file segments are sent; the simulated BMS device completes the upgrade according to the acquired firmware file segments, and saves the download results of each firmware file segment, the firmware upgrade results, and the temporarily stored firmware file segments to local files.

[0034] Specifically, the testing method comprises the following steps:

[0035] Step S1: the test software client obtains a preset amount of BMS device information from the upgrade data server, and the upgrade data server updates the status of the BMS device;

[0036] Step S2: the test software client generates a simulated BMS device according to the acquired BMS device information, and connects the simulated BMS device to the data communication server; the BMS device information includes a device data upload subject, a device data download subject, and a serial number;

[0037] Step S3: The batch upgrade server obtains the BMS device information that needs to be upgraded from the upgrade data server, and sends the upgrade instruction and firmware data to the corresponding device data download topic of the data communication server;

[0038] Step S4: the simulated BMS device of the test software client monitors the corresponding device data download topic of the data communication server, and after monitoring the release message from the batch upgrade server, sends a response message to the batch upgrade server through the data communication server through the simulated network environment;

[0039] Step S5: The batch upgrade server and the simulated BMS device perform batch upgrade based on the batch upgrade method in the batch upgrade test method for distributed devices;

[0040] Step S6: After all the simulated BMS devices have completed the upgrade, the log of the batch upgrade server is compared with the log of the test software client, and an upgrade error report is output; the firmware file sent by the batch upgrade server is compared with the firmware file received by each of the simulated BMS devices to verify the accuracy of the firmware file;

[0041] The batch upgrade server log includes the log records sent by the batch upgrade server to the test software client, including the type of instructions sent by the batch upgrade server, the response result of the instruction sent by the batch upgrade server, the log recording time, the device upgrade result and the specific reason for the upgrade failure.

[0042] In the step S7, the firmware file sent by the batch upgrade server is compared with the firmware file received by each of the simulated BMS devices. When the firmware files are found to be inconsistent, the number of bytes of the difference position is counted, and the firmware file segment of the difference is located, and the upgrade log and exception log are queried to inquire about the cause of the error.

[0043] Step S8: Repeat the batch upgrade test of steps S1 to S7, and form a comprehensive evaluation based on the test results.

[0044] In this embodiment, the upgrade log includes the serial number of the simulated BMS device, the log recording time, the upgrade process status of the simulated BMS device, the received upgrade instructions, the response instructions of the simulated BMS device, and the simulated network parameters. The abnormal log includes the serial number of the simulated BMS device, the log recording time, the upgrade stage of the BMS device, and detailed information of the error.

[0045] Specifically, the network environment simulated by each of the simulated BMS devices in the test software client includes simulated bandwidth, simulated delay, simulated jitter and simulated packet loss. The simulation method of the simulated bandwidth includes presetting the bandwidth upper limit and bandwidth lower limit for each of the simulated BMS devices, and the bandwidth of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server fluctuates between the bandwidth upper limit and bandwidth lower limit; the simulation method of the simulated delay includes defining a preset delay for each of the simulated BMS devices, and the delay of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server is the preset delay; the simulation method of the simulated jitter includes defining a preset jitter for each of the simulated BMS devices, and the jitter of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server is the preset jitter; the simulation method of the simulated packet loss includes defining a preset packet loss rate for each of the simulated BMS devices, and the data packets transmitted by each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server are lost with a probability of the preset packet loss rate.

[0046] In some implementations of this embodiment, the number of simulated BMS devices in the test software client is the same as that in the production environment, and the simulated bandwidth, simulated jitter and simulated delay simulated by each of the simulated BMS devices are measured by the devices in the production environment. Therefore, this test method can directly simulate the actual production environment, provide an effective reference for batch upgrades of the production environment, and form an optimization plan.

[0047] Embodiment 2:

[0048] Reference Figure 1 As shown, this embodiment provides a batch upgrade test device for distributed devices, characterized in that the test device completes the test through the test method described in Example 1, and includes a batch upgrade server, a data communication server, a test software client, and an upgrade data server;

[0049] The batch upgrade server is used to determine the online status of the device according to the database and issue upgrade instructions and program data;

[0050] The test software client is used to simulate multiple BMS devices;

[0051] The data communication server is connected to the batch upgrade server and the test software client for communication, and realizes data communication between the batch upgrade server and the test software client;

[0052] The upgrade data server is respectively connected to the batch upgrade server and the test software client for communication, and is used to store and update the device information of the BMS device simulated by the test software client.

[0053] The present embodiment provides a batch upgrade test device and a test method for distributed equipment. The test device includes a batch upgrade server, a data communication server, a test software client and an upgrade data server. The batch upgrade server is used to determine the online status of the equipment according to the database and issue upgrade instructions and program data. The test software client is used to simulate multiple BMS equipment. The data communication server is used to realize data communication between the batch upgrade server and the test software client; the upgrade data server is used to store and update the equipment information of the BMS equipment simulated by the test software client; the test software client of the present invention can simulate different simulated BMS equipment and simulate different network environments for each simulated BMS equipment, and realize batch upgrade simulation testing by forming logs and analyzing them, so as to simulate the upgrade of various different BMS equipment and their network environments with low cost and high efficiency.

[0054] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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 specification.

[0055] 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 construed as limiting the scope of the patent 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 patent application shall be subject to the attached claims.

Claims

1. A batch upgrade test method for distributed devices, characterized in that: The test method includes the following steps: the test software client simulates to form a plurality of simulated BMS devices; the batch upgrade server determines the online status of the device according to the database and issues upgrade instructions and program data; the data communication server is respectively connected to the batch upgrade server and the test software client for communication, and realizes data communication between the batch upgrade server and the test software client; the upgrade data server is respectively connected to the batch upgrade server and the test software client for communication, and is used to store and update the device information of the BMS device simulated by the test software client; the batch upgrade server issues upgrade instructions and program data to the simulated BMS device of the test software client through the data communication server based on the data of the upgrade data server, and the simulated BMS device simulates different network environments and performs firmware upgrade when receiving the upgrade instructions and the program data; the data generated by the batch upgrade server, the data communication server, the test software client and the upgrade data server in the firmware upgrade are collected, and a test result is formed; The batch upgrade method of distributed devices includes: the batch upgrade server sends an instruction through the data communication server to inquire about the firmware version and working status of the simulated BMS device; if the simulated BMS device is in the APP state, the batch upgrade server sends a Bootloader jump instruction to the simulated BMS device through the data communication server; the batch upgrade server sends a jump confirmation instruction to the simulated BMS device through the data communication server, and if the simulated BMS device is in the Bootloader state, the batch upgrade server sends a jump result response to the batch upgrade server through the data communication server; if the simulated BMS device is in the Bootloader state, the upgrade continues; the batch upgrade server sends a firmware reception instruction to the simulated BMS device through the data communication server; if the simulated BMS device sends a firmware reception instruction to the batch upgrade server If the firmware response cannot be received through continuous sending, the upgrade of the simulated BMS device fails; if the simulated BMS device can receive the firmware, a firmware reception response is sent to the batch upgrade server, and the flash memory is erased at the same time; the batch upgrade server sends firmware file segments to the simulated BMS device through the data communication server, and the simulated BMS device receives the firmware file segments and temporarily stores them in the memory, and checks the firmware file segments and sends a firmware file segment reception response to the batch upgrade server; after the batch upgrade server receives the firmware file segment reception response, it continues to send the next firmware file segment to the simulated BMS device until all the firmware file segments are sent; the simulated BMS device completes the upgrade according to the acquired firmware file segments, and saves the download results of each firmware file segment, the firmware upgrade results, and the temporarily stored firmware file segments to local files.

2. A distributed device batch upgrade test method according to claim 1, characterized in that: The following steps are involved: Step S1: the test software client obtains a preset amount of BMS device information from the upgrade data server, and the upgrade data server updates the status of the BMS device; Step S2: the test software client generates a simulated BMS device according to the acquired BMS device information, and connects the simulated BMS device to the data communication server; the BMS device information includes a device data upload subject, a device data download subject, and a serial number; Step S3: The batch upgrade server obtains the BMS device information that needs to be upgraded from the upgrade data server, and sends the upgrade instruction and firmware data to the corresponding device data download topic of the data communication server; Step S4: the simulated BMS device of the test software client monitors the corresponding device data download topic of the data communication server, and after monitoring the release message from the batch upgrade server, sends a response message to the batch upgrade server through the data communication server through the simulated network environment; Step S5: The batch upgrade server and the simulated BMS device perform batch upgrade based on the batch upgrade method in the batch upgrade test method for distributed devices according to claim 1; Step S6: Each of the simulated BMS devices records its own data in a local file, where the local file includes an upgrade log, an abnormality log, and firmware saved data; Step S7: after all the simulated BMS devices have finished upgrading, the log of the batch upgrade server is compared with the log of the test software client, and an upgrade error report is output; Compare the firmware file sent by the batch upgrade server with the firmware file received by each of the simulated BMS devices to verify the accuracy of the firmware file; Step S8: Repeat the batch upgrade test of steps S1 to S7, and form a comprehensive evaluation based on the test results.

3. A distributed device batch upgrade test method according to claim 2, characterized in that: The upgrade log includes the serial number of the simulated BMS device, the log recording time, the upgrade process status of the simulated BMS device, the received upgrade instructions, the response instructions of the simulated BMS device, and the simulated network parameters.

4. A distributed equipment batch upgrade test method according to claim 2, characterized in that: The abnormal log includes the serial number of the simulated BMS device, the log recording time, the upgrade stage of the BMS device and detailed information of the error.

5. A distributed equipment batch upgrade test method according to claim 2, characterized in that: In the step S7, the firmware file sent by the batch upgrade server is compared with the firmware file received by each of the simulated BMS devices. When the firmware files are found to be inconsistent, the number of bytes of the difference position is counted, and the firmware file segment of the difference is located, and the upgrade log and exception log are queried to inquire about the cause of the error.

6. A distributed equipment batch upgrade test method according to claim 2, characterized in that: The network environment simulated by each simulated BMS device in the test software client includes simulated bandwidth, simulated delay, simulated jitter and simulated packet loss.

7. A distributed equipment batch upgrade test method according to claim 6, characterized in that: The simulation method of simulating bandwidth includes presetting a bandwidth upper limit and a bandwidth lower limit for each of the simulated BMS devices, and the bandwidth of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server fluctuates between the bandwidth upper limit and the bandwidth lower limit; the simulation method of simulating delay includes defining a preset delay for each of the simulated BMS devices, and the delay of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server is the preset delay; the simulation method of simulating jitter includes defining a preset jitter for each of the simulated BMS devices, and the jitter of each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server is the preset jitter; the simulation method of simulating packet loss includes defining a preset packet loss rate for each of the simulated BMS devices, and the data packets transmitted by each of the simulated BMSs when receiving and sending instructions and firmware files with the data communication server are lost with a probability of the preset packet loss rate.

8. A distributed equipment batch upgrade test method according to claim 6, characterized in that: The number of simulated BMS devices in the test software client is the same as that in the production environment, and the simulated bandwidth, simulated jitter and simulated delay simulated by each simulated BMS device are measured by the devices in the production environment.

9. A batch upgrade test device for distributed equipment, characterized in that: The test device completes the test by the test method according to any one of claims 1 to 8, and includes a batch upgrade server, a data communication server, a test software client and an upgrade data server; The batch upgrade server is used to determine the online status of the device according to the database and issue upgrade instructions and program data; The test software client is used to simulate multiple BMS devices; The data communication server is connected to the batch upgrade server and the test software client for communication, and realizes data communication between the batch upgrade server and the test software client; The upgrade data server is respectively connected to the batch upgrade server and the test software client for communication, and is used to store and update the device information of the BMS device simulated by the test software client.

Citation Information

Patent Citations

  • Control testing and upgrading method based on CAN card

    CN106249735A

  • HIL test system for battery management system

    CN115343062A