A FOTA upgrade stress test method, system, storage medium and computer equipment
Through the automated FOTA upgrade stress testing method, the problems of complex upgrade process and high error rate of embedded communication modules are solved, and efficient and accurate automatic upgrades are achieved.
Patent Information
- Application Number
- CN202411605381.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-04-04
AI Technical Summary
The FOTA upgrade process of embedded communication modules is complex, requiring manual unpacking and on-site upgrade, resulting in high error rates and low efficiency.
Provide a FOTA upgrade stress testing method, read the FOTA file through the test tool, divide it into sub-files, and generate protocol frames according to the platform area fusion terminal protocol combination, and automatically send and upgrade the communication module.
It reduces manual intervention, reduces error rate, improves the accuracy and efficiency of upgrades, and realizes an automated FOTA upgrade process.
Smart Images

Figure CN119759385A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a FOTA upgrade stress testing method, system, storage medium and computer equipment. Background Art
[0002] FOTA (Firmware Over-the-Air) technology mainly refers to a technology that remotely manages and updates the firmware in terminal devices through an air interface. Through the FOTA upgrade operation, you can not only download and upgrade application software, but also update the device's operating system. The FOTA upgrade operation enables device manufacturers to send upgrade packages to users' terminal devices through the network, thereby upgrading firmware and software, which not only facilitates users, but also saves costs for device manufacturers.
[0003] At present, the FOTA upgrade of embedded communication modules faces a series of challenges and problems. First of all, since the embedded communication module is installed in the intelligent fusion terminal of the substation, the version maintenance and upgrade requires unpacking, removal, PC upgrade, re-packing, and installation on the terminal device. This process is not only complicated, but also requires personnel to go to the site for upgrading, which consumes a lot of manpower and material resources. Secondly, manual unpacking is difficult. The FOTA package needs to be split into sub-packages of no more than 1024 bytes. An upgrade file may need to be split into more than 1,000 sub-packages, which requires a lot of manpower and time. Furthermore, the substation fusion protocol is sent in hexadecimal file transfer frames, which need to be manually framed according to the sub-package data and calculate the check frame, which is not only labor-intensive but also prone to errors. Summary of the invention
[0004] The present application mainly provides a FOTA upgrade stress testing method, system, storage medium and computer equipment to solve the problems of complex upgrade process of embedded communication modules, high demand for manual unpacking and on-site upgrades, and high error rate caused by manual splitting of upgrade files and manual framing and calculation of check frames.
[0005] In order to solve the above technical problems, a technical solution adopted in this application is: to provide a FOTA upgrade stress test method, comprising the steps of:
[0006] S10: Run the test tool, read the FOTA file, and divide the FOTA file into sub-files;
[0007] S20: Read each of the sub-files, combine the sub-files according to the station area fusion terminal protocol and generate a first protocol frame;
[0008] S30: The first protocol frame is packaged according to a preset rule to generate a second protocol frame;
[0009] S40: The second protocol frame is sent to the communication module through the control port. After the second protocol frame is sent, the communication module is upgraded.
[0010] Preferably, before the step of reading each of the sub-files, combining the sub-files according to the station area fusion terminal protocol and generating the first protocol frame, the step includes:
[0011] S21: List the serial ports of the test tool, find the control port, return and open the control port.
[0012] Preferably, the second protocol frame is sent to the communication module through the control port. After the second protocol frame is sent, after the step of automatically upgrading the communication module, the method further includes:
[0013] S41: The communication module automatically restarts after the automatic upgrade is successful.
[0014] Preferably, after the step of automatically restarting the communication module after successful upgrade, the method further includes:
[0015] S42: Determine the number of upgrades, and if the number of upgrades is greater than 1, run the test tool again;
[0016] S43: If the upgrade times is 1, then the running of the test tool ends.
[0017] Preferably, the testing tool comprises a user interface, and the user interface is used to configure the upgrade number to upgrade the FOTA file.
[0018] Preferably, the Python OS module reads the upgrade times and performs a cyclic test according to the upgrade times.
[0019] Preferably, the sub-file is fixed to 1024 bytes, and the last package of the sub-file is generated according to the size of the FOTA file.
[0020] The present invention also proposes a FOTA upgrade stress testing system, characterized in that the FOTA upgrade stress testing system includes a Python OS module and a communication module to be upgraded, the Python OS module is communicatively connected with the communication module, and the Python OS module upgrades the communication module through a FOTA upgrade stress testing method.
[0021] In order to solve the above technical problems, another technical solution adopted in the present application is: providing a storage medium storing program data, and the program data implements the steps of the FOTA upgrade stress testing method when executed by a processor.
[0022] To solve the above technical problems, another technical solution adopted in the present application is: providing a computer device, comprising a processor and a memory connected to each other, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the FOTA upgrade stress testing method are implemented.
[0023] The beneficial effects of the present application are as follows: Different from the prior art, the present application discloses a FOTA upgrade stress test method, system, storage medium and computer equipment, which enables the equipment to automatically upgrade after the tester configures the upgrade information, thereby reducing the error rate of manual execution and improving the accuracy and efficiency of the upgrade. In addition, the number of upgrades can be flexibly configured to facilitate single functional testing and multiple stress tests, further improving the test efficiency. Through the automated FOTA upgrade stress test system, the problems existing in the prior art can be effectively solved, the convenience and reliability of the upgrade process can be improved, the maintenance cost can be reduced, and the stability and security of the system can be enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] 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 prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0025] Figure 1 This is a flowchart of a FOTA upgrade stress testing method provided by this application;
[0026] Figure 2 It is a structural diagram of an embodiment of a FOTA upgrade stress testing system provided by the present application;
[0027] Figure 3 It is a structural schematic diagram of an embodiment of a storage medium provided by the present application;
[0028] Figure 4 It is a structural schematic diagram of an embodiment of a computer device provided by the present application.
[0029] Description of the accompanying symbols:
[0030] 100 - FOTA upgrade stress test system; 110 - Python OS module; 120 - communication module; 300 - computer equipment; 310 - memory; 320 - processor; 200 - storage medium; 210 - program data. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] The terms "first", "second", "third" in the embodiments of the present application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of the present application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0033] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0034] See also Figure 1 , a flow chart of a FOTA upgrade stress test method provided in this application. The FOTA upgrade stress test method includes:
[0035] S10: Run the test tool, read the FOTA file, and divide the FOTA file into sub-files.
[0036] Testing tools are a collection of various tools and techniques used to verify whether software, hardware, networks, or other systems work as expected. They can help testers identify and fix defects, vulnerabilities, and performance issues. They can be used for automated testing, performance testing, security testing, compatibility testing, user interface testing, etc. Testers prepare the files to be upgraded in advance. After the files to be upgraded are successfully prepared, testers run the testing tools, and the testing tools upgrade the files.
[0037] FOTA (Firmware Over-The-Air) is a technology that provides firmware upgrade services for devices with networking functions through wireless networks. Testers can obtain smart terminal system upgrade packages through the network in a personalized and easily scalable way, and perform cloud upgrades through FOTA to complete system repairs and function optimization.
[0038] The test tool includes a user interface, on which the tester can configure the upgrade times to upgrade the FOTA file. The upgrade times are configured according to the needs of the tester, and a single function upgrade verification or repeated upgrade verification can be performed, saving test time and improving test efficiency.
[0039] In this embodiment, the Python OS module 110 lists the FOTA files in the current directory, reads the FOTA files in binary mode, and divides the FOTA files into sub-files of a fixed size of 1024 bytes, wherein the last package of sub-files is generated according to the size of the FOTA file.
[0040] Preferably, the Python OS 110 module lists the FOTA files in the current directory, and may use the os.listdir() function. Then, the FOTA files are read in binary format.
[0041] Split the FOTA file into sub-files of a fixed size of 1024 bytes. Binary operations can be easily performed, and 1024 bytes (1KB) is a reasonable data block size suitable for most application scenarios. In wireless network transmission, smaller data blocks are generally more efficient than large data blocks. This is because small data blocks can be retransmitted faster when problems are encountered during transmission, reducing waiting time. When processing large files, a large amount of memory resources may be occupied. Splitting files into small blocks can reduce memory usage, allowing devices to process data more efficiently, especially on embedded devices with limited memory resources. During the FOTA update process, if the update is interrupted, it can continue from the last successful data block instead of starting from the beginning, which improves the reliability of the update.
[0042] The FOTA file is split into sub-files of fixed 1024-byte size, which can be achieved by reading each 1024-byte block of the file and writing it into a new sub-file. The size of the final sub-file is generated according to the size of the FOTA file.
[0043] For example, if the size of the FOTA file is 4830 bytes, then five sub-files are generated, of which four sub-files are 1024 bytes in size and the last sub-file is 734 bytes in size.
[0044] Optionally, the FOTA file may be segmented into other power-of-two forms, such as 256 bytes, 512 bytes, 2048 bytes, etc. The specific block size may be adjusted according to actual needs.
[0045] Splitting the FOTA file can reduce the amount of data transmitted in a single transmission, which is especially important for transmission in wireless environments, because wireless networks often have limited and unstable bandwidth. The split sub-files can be transmitted in parallel, improving the overall transmission efficiency, especially in poor network conditions or when bandwidth is limited.
[0046] S20: Read each sub-file, combine the sub-files according to the station area fusion terminal protocol and generate a first protocol frame.
[0047] The area integration protocol refers to the communication technology specification used to regulate the distributed photovoltaic access integration terminal on the area side in the smart grid. The area integration terminal protocol stipulates the communication architecture and key equipment of the distributed photovoltaic access area integration terminal. The communication requirements mainly involve two aspects: the distributed photovoltaic station side and the integration terminal side, and stipulate the communication method and the standard specifications that need to be met.
[0048] The first protocol frame is a protocol frame generated by combining sub-files according to the station area fusion terminal protocol regulations, and is composed of a length field, a control field, and a data field. The length of the length field is read according to the file size; the data field is the data of each sub-file.
[0049] Reading each subfile, combining the subfiles according to the area fusion terminal protocol and generating the first protocol frame is based on the area side distributed photovoltaic access fusion terminal communication technical specifications, and it is necessary to ensure that data transmission follows the established communication architecture and requirements. This means that during data transmission, the data must be formatted according to the prescribed protocol to ensure that the data can be correctly received and parsed. By combining subfiles into protocol frames, the integrity and correctness of the data can be ensured. The generation of protocol frames allows data to be transmitted in frames, which helps to improve the efficiency of data transmission. At the receiving end, data can be processed quickly by identifying the specific format of the protocol frame without reorganizing the data stream. The area fusion terminal may need to transmit data through different communication media (such as power lines, wireless, etc.). Combining subfiles into protocol frames ensures that the data can adapt to different communication media and environments.
[0050] The Python OS module 110 traverses the generated sub-files, and then reads each sub-file in turn, combines the read sub-file data according to the specific specifications of the station area fusion terminal protocol, and then generates a complete protocol frame according to the protocol specification.
[0051] Read each subfile, combine the subfiles according to the area fusion terminal protocol and generate the first protocol frame to ensure that all subfiles are combined according to the unified area fusion terminal protocol, realize standardized communication process, and improve the compatibility and interoperability of the system. At the same time, through the combination of protocol frames, the integrity of data during transmission is ensured, and errors caused by data loss or damage are reduced. And through the reasonable framing of protocol frames, the transmission of invalid data can be reduced and the efficiency of data transmission can be improved.
[0052] Before the step of reading each of the sub-files, combining the sub-files according to the station area fusion terminal protocol and generating a first protocol frame, the step further includes:
[0053] S21: List the serial ports of the test tool, find the control port, return and open the control port.
[0054] The control port is a port used for management and control. In this embodiment, the control port is used for data exchange between the Python OS module 110 and the communication module 120 to transfer protocol frames.
[0055] By listing the serial ports of the test tool and finding the control port, device testing and data monitoring can be easily performed, improving test efficiency and accuracy, and an intuitive user interface can be provided so that non-professionals can easily perform serial port communication and device control. Supporting the use of virtual serial ports increases the flexibility and application scope of the test tool. The process of listing serial ports, finding the control port and opening the control port not only improves the efficiency of testing and communication, but also enhances the reliability and flexibility of the system.
[0056] S30: The first protocol frame is packaged according to the file system table and the verification algorithm to generate a second protocol frame.
[0057] File system tables are a set of data structures used to maintain file system structure and data in computer file systems. These tables contain metadata of all files and directories in the file system, as well as the location information of file data blocks on storage devices.
[0058] Checksum algorithms are methods used to detect and correct errors that occur during data transmission or storage. These algorithms achieve error detection and / or correction by adding redundant information to the data.
[0059] The second protocol frame is generated by the first protocol frame according to the file system table and the verification algorithm, and is composed of a start marker, a length field, a control field, a data field, a frame check sequence (FCS) and an end marker. The start marker helps the receiving device determine the starting position of the data frame and synchronizes the receiving clock. In different communication protocols and data formats, the length of the start marker may be different. In this embodiment, the length of the start marker is 68. The length of the length field, the length and reserved bits of the control field, and the data content of the data field are the same as those of the first protocol frame.
[0060] The frame check sequence is a verification mechanism used to detect whether errors occur during data transmission. The frame check sequence is a binary code added at the end of the data frame, usually calculated using a cyclic redundancy check algorithm. After receiving the data frame, the receiver will recalculate the frame check sequence value and compare it with the frame check sequence value in the data frame to verify the integrity of the data.
[0061] The terminator is used to identify a specific character or character sequence at the end of a data frame or message. Its function is to help the receiving device determine the boundary of the frame and ensure the integrity and correctness of the data. The use of the terminator is very important for both synchronous and asynchronous communication. In this embodiment, the length of the terminator is 16.
[0062] The data length of the second protocol frame is the sum of the data length, the start marker, the frame check sequence and the end marker length of the first protocol frame.
[0063] The first protocol frame is packaged according to the file system table and the verification algorithm to generate the second protocol frame, making the generated protocol frame more accurate, improving the accuracy of the data, and improving the reliability of the system. And this process is completely completed by the test tool, reducing the difficulty of manual subpackaging, framing, and calculating the frame verification sequence.
[0064] S40: The second protocol frame is sent to the communication module through the control port. After the second protocol frame is sent, the communication module is upgraded.
[0065] After the second protocol frame is sent to the communication module through the control port, the upgrade function of the test tool is triggered, and the upgrade function automatically upgrades the communication module. This solution can upgrade the communication module without a network, which is particularly important for scenarios that require upgrades in remote or network-unreachable environments. In addition, this solution can realize remote upgrades. By remotely / pre-configuring the upgrade information, the upgrade can be automatically started when the second protocol frame is received, without the need for personnel to go to the site, saving manpower.
[0066] The second protocol frame is sent to the communication module through the control port. After the second protocol frame is sent, the communication module automatically upgrades by sending the protocol frame in an automated manner and triggering the upgrade, which reduces manual intervention and improves the efficiency and reliability of the upgrade process. In addition, remote upgrades reduce the need for on-site maintenance, save labor costs and time costs, and improve upgrade efficiency. Remote upgrades can be performed anytime and anywhere without physical connection, which is convenient and fast.
[0067] The second protocol frame is sent to the communication module through the control port. After the second protocol frame is sent, after the step of automatically upgrading the communication module, the step further includes:
[0068] S41: The communication module automatically restarts after successful automatic upgrade.
[0069] The communication module automatically restarts after a successful upgrade to load the new firmware version, so that the upgraded changes are immediately applied to the module.
[0070] The automatic restart of the communication module after a successful upgrade ensures that it can be restarted accurately when the communication module has a program error or anomaly, avoiding the communication module from being in a dead state, thereby improving the security and applicability of communication. The communication module automatically restarts after a successful upgrade, reducing manual intervention, realizing automated intelligent operation and maintenance, and improving operation and maintenance efficiency. In addition, users can remotely enjoy the functions and performance of the latest version without manually restarting the device, which improves the user experience.
[0071] S42: Determine the number of upgrades, and if the number of upgrades is greater than 1, run the test tool again.
[0072] The upgrade times are preset by the tester on the user interface of the test tool. The Python OS module reads the upgrade times and performs loop testing based on the upgrade times. Through loop testing, it can ensure that each upgraded version has been fully tested, increase test coverage, and help discover potential problems.
[0073] By executing test tasks in parallel, test efficiency can be improved and test time can be shortened. Reasonable division of the test scope, such as division by functional modules, executing test tasks for each module separately, and performing multi-threaded testing at the same time can improve test efficiency and reduce test pressure.
[0074] After the communication module automatically restarts, the upgrade times set by the tester are determined. If the upgrade times are greater than 1, the test tool is run again and the test steps are repeated until the upgrade times set by the tester are completed. This solution can flexibly perform single function upgrade verification or repeated upgrade verification according to the tester's configuration. It saves test time and improves test efficiency.
[0075] S43: If the number of upgrades is 1, then the running of the test tool ends.
[0076] The tester sets the upgrade count to 1, and the test tool performs a test on the file. After a test is completed, the communication module automatically updates and restarts, completing the entire test process.
[0077] The testing tool can flexibly adjust the testing process according to the number of upgrades, improving the tool's adaptability and user experience.
[0078] See also Figure 2 , a system schematic diagram of an embodiment of a FOTA upgrade stress testing system provided in this application.
[0079] The FOTA upgrade stress test system 100 includes a Python OS module 110 and a communication module 120 to be upgraded. The Python OS module 110 is in communication connection with the communication module 120 .
[0080] The Python OS module 110 provides many functions for interacting with the operating system, including file and directory operations, environment variable management, process management, etc., and upgrades the communication module 120 through the FOTA upgrade stress testing method.
[0081] In this embodiment, the FOTA upgrade stress testing system 100 can support the testing and verification of 3G communication, 4G communication, and 5G communication of the station integrated terminal protocol, and has strong versatility.
[0082] The FOTA upgrade stress testing system improves the efficiency and accuracy of testing by automating the testing process, reduces dependence on testers, and can output reliable test results, thereby improving the robustness, stability and security of the FOTA system.
[0083] See also Figure 3 , Figure 3 It is a structural diagram of an embodiment of the storage medium provided by the present application.
[0084] The storage medium 200 stores program data 210. When the program data 210 is executed by the processor, the following is achieved: Figure 2 The steps of the FOTA upgrade stress testing method described.
[0085] The program data 210 is stored in a storage medium 200, and includes a number of instructions for enabling a network device (such as a router, a personal computer, a server, or other network device) or a processor to execute all or part of the steps of the method described in each embodiment of the present application.
[0086] Optionally, the storage medium 200 can be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, or other media that can store the program data 210.
[0087] See also Figure 4 , Figure 4 3 is a schematic diagram of a computer device according to an embodiment of the present application. The computer device 300 includes a processor 320 and a memory 310 connected to each other, the memory 310 stores a computer program, and when the processor 320 executes the computer program, the steps of the FOTA upgrade stress test method described above are implemented.
[0088] Different from the prior art, the present application discloses a FOTA upgrade stress testing method, system, storage medium and computer equipment. After the tester configures the upgrade information, the equipment can be automatically upgraded, thereby reducing the error rate of manual execution and improving the accuracy and efficiency of the upgrade. In addition, the number of upgrades can be flexibly configured to facilitate single functional testing and multiple stress tests, further improving the test efficiency. Through the automated FOTA upgrade stress testing system, the problems existing in the prior art can be effectively solved, the convenience and reliability of the upgrade process can be improved, the maintenance cost can be reduced, and the stability and security of the system can be enhanced.
[0089] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the storage medium embodiment and the electronic device embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0090] The present application can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0091] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only illustrative, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0092] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0093] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0094] The above descriptions are merely embodiments of the present application and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A FOTA upgrade stress test method, characterized in that: include: S10: Run the test tool, read the FOTA file, and divide the FOTA file into sub-files; S20: reading each of the sub-files, combining the sub-files according to the station area fusion terminal protocol and generating a first protocol frame; S30: The first protocol frame is packaged according to the file system table and the verification algorithm to generate a second protocol frame; S40: The second protocol frame is sent to the communication module through the control port. After the second protocol frame is sent, the communication module is upgraded.
2. The FOTA upgrade stress testing method according to claim 1, characterized in that: Before the step of reading each of the sub-files, combining the sub-files according to the station area fusion terminal protocol and generating a first protocol frame, the method includes: S21: List the serial ports of the test tool, find the control port, return and open the control port.
3. The FOTA upgrade stress testing method according to claim 1, characterized in that: The second protocol frame is sent to the communication module through the control port. After the second protocol frame is sent, after the step of automatically upgrading the communication module, the method further includes: S41: The communication module automatically restarts after the automatic upgrade is successful.
4. The FOTA upgrade stress testing method according to claim 3, characterized in that: After the step of automatically restarting the communication module after the upgrade is successful, the method further includes: S42: Determine the number of upgrades, and if the number of upgrades is greater than 1, run the test tool again; S43: If the upgrade times is 1, then the running of the test tool ends.
5. The FOTA upgrade stress testing method according to claim 1, characterized in that: The testing tool includes a user interface, and the user interface is used to configure the upgrade number to upgrade the FOTA file.
6. The FOTA upgrade stress testing method according to claim 1, characterized in that: The Python OS module reads the upgrade times and performs a cyclic test according to the upgrade times.
7. The FOTA upgrade stress testing method according to claim 1, characterized in that: The sub-file is fixed to 1024 bytes, and the last package of sub-files is generated according to the size of the FOTA file.
8. A FOTA upgrade stress test system, characterized in that: The FOTA upgrade stress testing system includes a PythonOS module and a communication module to be upgraded, the Python OS module is communicatively connected with the communication module, and the Python OS module upgrades the communication module through the FOTA upgrade stress testing method according to any one of claims 1 to 7.
9. A storage medium storing program data, characterized in that: When the program data is executed by the processor, the steps of the FOTA upgrade stress testing method as described in any one of claims 1 to 7 are implemented.
10. A computer device, characterized in that: It includes a processor and a memory connected to each other, the memory stores a computer program, and when the processor executes the computer program, the steps of the FOTA upgrade stress testing method according to any one of claims 1 to 7 are implemented.