A wireless connection and upgrade method
Through wireless connection and Bluetooth communication technology, the wireless upgrade method of T-BOX devices is realized, solving the network and traffic limitations of multiple devices being upgraded simultaneously, improving connection stability and reducing upgrade costs, and ensuring that the equipment is upgraded one after another.
Patent Information
- Application Number
- CN202210917598.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-01
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-08-01
AI Technical Summary
In the prior art, the upgrade method of T-BOX devices is limited by network and wired, making it difficult to achieve simultaneous upgrades of multiple devices, and the cloud upgrade method has traffic cost problems.
Provide a wireless connection method, obtaining a list of devices to be upgraded through the upgrade control terminal, establishing a wireless communication connection, diffusing and connecting multiple target devices step by step, and using Bluetooth communication technology to realize communication connection in an inverted tree structure, and then performing step by step iterative upgrade of the device upgrade program.
It realizes wireless simultaneous communication connections of multiple devices, reduces the impact of network and traffic, improves connection stability and reduces upgrade costs, and ensures that all devices are upgraded one after another.
Smart Images

Figure CN115278927B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless upgrade of terminal clusters, and in particular to a wireless connection and upgrade method. Background Art
[0002] Existing T-BOX upgrade methods mostly rely on wired upgrades or remote firmware upgrades via cloud platforms, such as 4G networks or mobile signals. However, these upgrade methods are limited by network and wired connections, making them inflexible. This is especially true when simultaneous firmware upgrades are required for multiple T-BOX devices, as wired upgrades are difficult to achieve simultaneously. Cloud upgrades also incur data costs.
[0003] Therefore, how to provide a wireless connection and upgrade method to overcome the above-mentioned defects in the prior art has become one of the technical problems that those skilled in the art need to solve urgently. Summary of the Invention
[0004] The purpose of the present invention is to provide a wireless connection and upgrade method to solve the problems in the prior art of being unable to achieve simultaneous upgrade of multiple target devices through wired or cloud platform methods and the high upgrade cost.
[0005] In order to achieve the above object, the present invention provides a wireless connection method, comprising:
[0006] The upgrade control terminal obtains a list of devices to be upgraded, and scans according to the list of devices to be upgraded to obtain several current target devices;
[0007] The upgrade control terminal establishes a wireless communication connection with the current target device, and sends the list of devices to be upgraded to the current target device;
[0008] The current target device scans according to the received list of devices to be upgraded to continue to obtain several new target devices, the current target device establishes a wireless communication connection with each of the new target devices, and sends the list of devices to be upgraded to each of the new target devices that have established a wireless communication connection with the current target device; the new target device is used as the current target device; and this iterative process is repeated until wireless communication connections are established with the target devices in the list of devices to be upgraded or with all target devices within a preset range.
[0009] Optionally, the operating mode of the target device includes a host mode and / or a slave mode;
[0010] The target device operating in the host mode includes: the current target device connected to the new target device;
[0011] The target device operating in the slave mode includes: the new target device and the current target device directly connected to the upgrade control terminal.
[0012] Optionally, when the target device operates in a host mode, each of the target devices is wirelessly connected to at least one target device operating in a slave mode;
[0013] When the target devices operate in the slave mode, each of the target devices is in wireless communication connection with only one target device operating in the master mode.
[0014] Optionally, the current target device establishes a wireless communication connection with each of the new target devices, including:
[0015] For each of the new target devices, it is determined whether the new target device has established a connection with the target device other than the current target device; if not, the current target device establishes a wireless communication connection with the new target device.
[0016] Optionally, the wireless communication connection includes: a Bluetooth communication connection.
[0017] Optionally, it also includes: when the target devices in the list of devices to be upgraded or all target devices within a preset range establish a wireless communication connection, each of the target devices sends the device information of all the next-level target devices connected to it to the upper-level target device connected to it, until the upgrade control terminal obtains the device information of all target devices that have established wireless communication connections, and generates a list of connected upgrade devices in the upgrade control terminal.
[0018] In order to achieve the above object, the present invention further provides a wireless upgrade method for upgrading the target device after connecting using any of the wireless connection methods described above, the wireless upgrade method comprising:
[0019] The upgrade control terminal transmits the device upgrade program to all target devices with which wireless communication connections have been established;
[0020] After receiving the device upgrade program, the terminal target device first performs the program upgrade and sends the upgrade result to the target device with which the wireless communication connection is established;
[0021] The target device performs a program upgrade on the target device according to the upgrade result and the device upgrade program, and sends the upgrade result of the target device to the parent target device with which a wireless communication connection is established; the parent target device is used as the target device, and the upgrade result of the target device is used as the upgrade result; and this process is repeated until all target devices with which a wireless communication connection is established complete the program upgrade.
[0022] Optionally, the terminal target device first performs a program upgrade after receiving the device upgrade program, and sends the upgrade result to the target device with which the wireless communication connection is established, including: there are multiple terminal target devices;
[0023] When the plurality of terminal target devices are connected to the same parent target device, the plurality of terminal devices simultaneously perform program upgrades and send respective upgrade results to the parent target device;
[0024] When the plurality of end target devices are connected to different parent target devices, the plurality of end target devices simultaneously perform program upgrades and send respective upgrade results to their respective connected parent target devices.
[0025] Optionally, the target device performs a program upgrade on the target device according to the upgrade result and the device upgrade program, including:
[0026] Determine whether the target device is successfully upgraded based on the upgrade result:
[0027] When the target device program is successfully upgraded, the target device sends an upgrade success result to its parent target device, and the parent target device starts upgrading the parent target device program after receiving the upgrade success result;
[0028] When the target device program upgrade fails, it is determined whether the device upgrade program is damaged. If so, the parent target device resends the device upgrade program to the target device to re-upgrade the program; if not, the target device uses the device upgrade program to repeat the program upgrade until the target device completes the program upgrade.
[0029] Optionally, the target device includes: a T-BOX device;
[0030] The device list to be upgraded includes: a device list to be upgraded generated based on the model of the T-BOX device or the MAC code of the T-BOX device.
[0031] Compared with the prior art, the wireless connection and upgrade method provided by the present invention has the following beneficial effects:
[0032] The present invention provides a wireless connection method, which includes: first, an upgrade control terminal obtains a list of devices to be upgraded, and scans according to the list of devices to be upgraded to obtain several current target devices; secondly, the upgrade control terminal establishes a wireless communication connection with the current target device, and sends the list of devices to be upgraded to the current target device; finally, the current target device scans according to the received list of devices to be upgraded to continue to obtain several new target devices, the current target device establishes a wireless communication connection with each of the new target devices, and sends the list of devices to be upgraded to each of the new target devices that have established a wireless communication connection with the current target device; the new target device is used as the current target device; and this iterative process is repeated until all target devices in the list of devices to be upgraded or within a preset range have established wireless communication connections. The wireless connection method provided by the present invention involves the upgrade control terminal scanning for several current target devices that match the list of devices to be upgraded and establishing wireless communication connections. Subsequently, the current target devices, with which wireless communication connections have been established, search for several new target devices that match the list of devices to be upgraded and establish wireless communication connections. Through the step-by-step diffusion of connections between these new target devices, the upgrade control terminal is able to establish wireless communication connections with all target devices that meet the list of devices to be upgraded within its preset range. Thus, the wireless connection method provided by the present invention is not subject to wired control and can achieve simultaneous communication connections with multiple target devices. Furthermore, this wireless communication connection (e.g., a Bluetooth connection) is not affected by network signals or traffic, improving the connection stability between the upgrade control terminal and the target devices and reducing connection costs.
[0033] The present invention provides a wireless upgrade method for upgrading the target device after being connected using the above-mentioned wireless connection method. First, the upgrade control terminal transmits the device upgrade program to all target devices with which wireless communication connections have been established; after receiving the device upgrade program, the terminal target device first performs a program upgrade and sends the upgrade result to the target device with which the wireless communication connection has been established; the target device performs a program upgrade on the target device according to the upgrade result and the device upgrade program, and sends the upgrade result of the target device to the parent target device with which the wireless communication connection has been established; the parent target device is used as the target device, and the upgrade result of the target device is used as the upgrade result; and this process is repeated until all target devices with which the wireless communication connection has been established have completed the program upgrade. The wireless upgrade method provided by the present invention performs program upgrades on target devices connected using the aforementioned wireless connection method. During the upgrade process, the terminal target device is first upgraded. Only after the upgrade of the terminal target device is complete will the parent target device connected to the terminal target device begin program upgrades. The entire upgrade process proceeds step by step from the terminal target device to the initial target device initially connected to the host control terminal. This allows each parent target device to promptly obtain the upgrade status of the target device connected to it, thereby ensuring that all target devices can complete the upgrade step by step. Therefore, the wireless upgrade method provided by the present invention is not constrained by wiring harnesses and networks, providing a more flexible upgrade method while also reducing upgrade costs. Furthermore, the method can achieve automatic upgrades for a large number of target devices by customizing a preset target range. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A flowchart of a wireless connection method provided in Embodiment 1 of the present invention;
[0035] Figure 2 This is a flowchart of the wireless upgrade method provided in the second embodiment of the present invention;
[0036] Figure 3 This is a scenario application diagram of the wireless upgrade method provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0037] The specific embodiments of the present invention will be described in more detail below with reference to the schematic diagrams. The advantages and features of the present invention will become clearer based on the following description. It should be noted that the drawings are all in very simplified form and are not in exact proportions, and are only used to facilitate and clearly assist in illustrating the purpose of the embodiments of the present invention. It should be understood that the drawings in the specification do not necessarily show the specific structure of the present invention in proportion, and that the illustrative features used to illustrate certain principles of the present invention in the drawings in the specification may also be drawn in a slightly simplified manner. The specific design features of the present invention disclosed herein, including, for example, specific dimensions, directions, positions and shapes, will be determined in part by the specific environment in which they are to be applied and used. In addition, in the embodiments described below, the same figure mark is sometimes used in common between different drawings to represent the same part or a part with the same function, and its repeated description is omitted. In this specification, similar numbers and letters are used to represent similar items, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0038] Example 1
[0039] This embodiment provides a wireless connection method. Figure 1 , which schematically shows the wireless connection method provided by this embodiment, Figure 1 It can be seen that the connection method includes:
[0040] The upgrade control terminal obtains a list of devices to be upgraded, and scans according to the list of devices to be upgraded to obtain several current target devices;
[0041] The upgrade control terminal establishes a wireless communication connection with the current target device, and sends the list of devices to be upgraded to the current target device;
[0042] The current target device scans according to the received list of devices to be upgraded to continue to obtain several new target devices, the current target device establishes a wireless communication connection with each of the new target devices, and sends the list of devices to be upgraded to each of the new target devices that have established a wireless communication connection with the current target device; the new target device is used as the current target device; and this iterative process is repeated until wireless communication connections are established with the target devices in the list of devices to be upgraded or with all target devices within a preset range.
[0043] With this arrangement, the wireless connection method provided by the present invention involves the upgrade control terminal scanning for several current target devices that match the list of devices to be upgraded and establishing wireless communication connections. Subsequently, the current target devices, with which wireless communication connections have been established, search for several new target devices that match the list of devices to be upgraded and establish wireless communication connections. Through the step-by-step diffusion of connections between these new target devices, the upgrade control terminal is able to establish wireless communication connections with all target devices that meet the list of devices to be upgraded within its preset range. Thus, the wireless connection method provided by the present invention is not subject to wired control and can achieve simultaneous communication connections with multiple target devices. Furthermore, this wireless communication connection (e.g., a Bluetooth connection) is not affected by network signals or traffic, improving the connection stability between the upgrade control terminal and the target devices and reducing connection costs.
[0044] In addition, it should be further explained that the preset range may be a parking lot, an OEM factory, or other place where a large number of target devices exist.
[0045] Preferably, the wireless communication connection includes: Bluetooth communication connection; the working mode of the target device includes host mode and / or slave mode; the target device working in host mode includes: the current target device connected to the new target device; the target device working in slave mode includes: the new target device and the current target device directly connected to the upgrade control terminal. In this way, the wireless connection method provided by the present invention uses the master-slave technology of Bluetooth communication for connection, so that the target device can switch freely between host mode and slave mode, and because different Bluetooth technology standards have different communication distances, such as Bluetooth 5.0 can achieve a communication connection of more than 300m, so the target devices using Bluetooth communication as the wireless communication connection can achieve communication connection within their communication distance, thereby realizing automatic connection of a large number of target devices within a preset range. At the same time, the use of Bluetooth communication connection can also reduce the power consumption of the target device during the connection and use of the target device.
[0046] Preferably, the current target device establishes a wireless communication connection with each of the new target devices, including: for each of the new target devices, determining whether the new target device has established a connection with a target device other than the current target device; if not, the current target device establishes a wireless communication connection with the new target device. When the target device operates in host mode, each of the target devices is wirelessly connected to at least one target device operating in slave mode; when the target device operates in slave mode, each of the target devices is wirelessly connected to only one target device operating in host mode. Thus, it can be seen that, using the wireless connection method provided by the present invention, the communication connections of all target devices form an inverted tree structure with the upgrade control terminal as the root node. Except for the terminal target device that only operates in slave mode, other target devices can operate in either slave mode or host mode: when connected to the target device of the next level, they operate in host mode; when connected to the upgrade control terminal or the target device of the previous level, they operate in slave mode. Therefore, the communication connection is an inverted tree structure, which ensures that when information is transmitted, the target device only receives information instructions issued by the only upper-level target device connected to it. At the same time, the feedback information it sends will only be sent to the only upper-level target device connected to it, avoiding information duplication or confusion during the information transmission process.
[0047] Preferably, after wireless communication connections are established with all target devices in the list of devices to be upgraded or within a preset range, each target device sends device information of all target devices in the next lower level connected to it to the target device in the previous level connected to it, until the upgrade control terminal obtains the device information of all target devices with which wireless communication connections have been established and generates a list of connected upgrade devices in the upgrade control terminal. This facilitates the operator to view all target devices that have established wireless communication connections with the upgrade control terminal through the list of connected upgrade devices.
[0048] Example 2
[0049] This embodiment provides a wireless upgrade method for upgrading the target device after connecting using any of the wireless connection methods in the above embodiments. Figure 2 , which schematically shows a flow chart of the wireless upgrade method provided by this embodiment. As can be seen from the figure, the wireless upgrade method includes:
[0050] The upgrade control terminal transmits the device upgrade program to all target devices with which wireless communication connections have been established;
[0051] After receiving the device upgrade program, the terminal target device first performs the program upgrade and sends the upgrade result to the target device with which the wireless communication connection is established;
[0052] The target device performs a program upgrade on the target device according to the upgrade result and the device upgrade program, and sends the upgrade result of the target device to the parent target device with which a wireless communication connection is established; the parent target device is used as the target device, and the upgrade result of the target device is used as the upgrade result; and this process is repeated until all target devices with which a wireless communication connection is established complete the program upgrade.
[0053] With this arrangement, the wireless upgrade method provided by the present invention performs a program upgrade on target devices connected using the aforementioned wireless connection method. During the upgrade process, the terminal target device is first upgraded. Only after the upgrade of the terminal target device is complete will the parent target device connected to the terminal target device begin the program upgrade. The entire upgrade process proceeds step by step from the terminal target device to the initial target device initially connected to the host control terminal. This allows each parent target device to promptly obtain the upgrade status of the target device connected to it, thereby ensuring that all target devices can complete the upgrade in sequence. Therefore, the wireless upgrade method provided by the present invention is not constrained by wiring harnesses and networks, providing a more flexible upgrade method while also reducing upgrade costs. Furthermore, the method can achieve automatic upgrades for a large number of target devices by customizing a preset target range.
[0054] Preferably, the terminal target device first performs a program upgrade after receiving the device upgrade program, and sends the upgrade result to the target device with which the wireless communication connection is established, including: there are multiple terminal target devices;
[0055] When the plurality of terminal target devices are connected to the same parent target device, the plurality of terminal devices simultaneously perform program upgrades and send respective upgrade results to the parent target device;
[0056] When the plurality of end target devices are connected to different parent target devices, the plurality of end target devices simultaneously perform program upgrades and send respective upgrade results to their respective connected parent target devices.
[0057] Therefore, by performing program upgrades simultaneously on the multiple terminal target devices, the time consumed in the entire program upgrade process is reduced, thereby improving the program upgrade efficiency.
[0058] Preferably, the target device performs a program upgrade on the target device according to the upgrade result and the device upgrade program, including: judging whether the upgrade of the target device is successful according to the upgrade result:
[0059] When the target device program is successfully upgraded, the target device sends an upgrade success result to its parent target device, and the parent target device starts upgrading the parent target device program after receiving the upgrade success result;
[0060] When the target device program upgrade fails, it is determined whether the device upgrade program is damaged. If so, the parent target device resends the device upgrade program to the target device to re-upgrade the program; if not, the target device uses the device upgrade program to repeat the program upgrade until the target device completes the program upgrade.
[0061] Therefore, even if the device upgrade program in the target device is damaged, the target device can still re-acquire the intact device upgrade program from the parent target device connected thereto and perform program upgrade again, thereby ensuring that all target devices can complete program upgrade.
[0062] In one preferred embodiment, the upgrade control terminal comprises a tablet or a computer. The target device comprises a T-BOX device, and the list of devices to be upgraded comprises a list of devices to be upgraded generated based on the model or MAC code of the T-BOX device. Thus, the present invention enables program upgrades to be performed on T-BOX devices that meet the list of devices to be upgraded via the tablet or computer.
[0063] In order to make the present invention easier to understand, the following is an example of a specific scenario using the wireless connection and upgrade method provided by the present invention. Figure 3 , which schematically shows the application scenario diagram of the wireless upgrade method provided by this embodiment, from Figure 3As can be seen, in this application scenario, there is a Bluetooth upgrade terminal and seven target devices (T-BOX devices). The Bluetooth upgrade terminal needs to perform a program upgrade on the following seven target devices. First, the Bluetooth upgrade terminal establishes a connection with target device 1 (currently operating in slave mode). Target device 1 receives a list of devices to be upgraded from the Bluetooth upgrade terminal and begins searching for other target devices. Upon finding target devices 2 and 3 within a preset range, target device 1 confirms that they are on the list of devices to be upgraded and establishes a Bluetooth communication connection with them (both currently operating in slave mode). Simultaneously, the list of devices to be upgraded is sent to target devices 2 and 3. Target device 2 (currently operating in master mode) and target device 3 (currently operating in master mode) then perform scans using the same scanning principle as target device 1. However, this time, target device 2 simultaneously scans target device 3 and target device 4. Target device 2 confirms that both are on the list to be upgraded. Since target device 3 is already connected to target device 1, it refuses to connect to target device 2. Target device 2 then connects only to target device 4 (currently operating in slave mode) and issues the list of devices to be upgraded. This process repeats until all target devices are connected, completing the network. Target device 4 (operating in master mode relative to target devices 6 and 7, and in slave mode relative to target device 2) then uploads information about its connected target devices 6 (operating in slave mode) and 7 (operating in slave mode) to target device 2. Other connected target devices also upload information in this manner, ultimately obtaining a list of connected upgrade devices. Upon confirmation, the Bluetooth upgrade terminal begins distributing the device upgrade program step by step. Once all target devices have received the program, target devices 7 and 6, as the final target devices, prioritize the program upgrade. If the program upgrade succeeds, a success message is sent to target device 4. If the upgrade fails, a failure message is sent to target device 4. Target device 4 then re-distributes the program, which restarts the upgrade process after receiving it. Terminal 4 repeats the program upgrade process for target devices 7 and 6, and the program upgrade continues in this manner for other connected target devices until all devices have completed the firmware upgrade.
[0064] In addition, it should be noted that the systems and methods disclosed in the embodiments of this document may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the devices, methods, and computer program products according to the various embodiments of this document. In this regard, each box in the flowchart or block diagram may represent a module, program, or portion of code, wherein the module, program segment, or portion of code contains one or more executable instructions for implementing a specified logical function, and the module, program segment, or portion of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as combinations of boxes in the block diagram and / or flowchart, may be implemented using a dedicated hardware-based system for performing the specified functions or actions, or may be implemented using a combination of dedicated hardware and computer instructions. In the description of this specification, reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the exemplary expressions of the above terms do not necessarily refer to the same embodiment or example.
[0065] In summary, the wireless connection method provided by the present invention involves the upgrade control terminal scanning for several current target devices that match the list of devices to be upgraded and establishing wireless communication connections. Subsequently, the current target devices with which wireless communication connections have been established search for several new target devices that match the list of devices to be upgraded and establish wireless communication connections. Through the step-by-step diffusion of connections between the new target devices, the upgrade control terminal is able to establish wireless communication connections with all target devices that meet the list of devices to be upgraded within its preset range. Therefore, the wireless connection method provided by the present invention is not subject to wired control and can achieve simultaneous communication connections with multiple target devices. Furthermore, the wireless communication connection (e.g., Bluetooth connection) is not affected by network signals and traffic, and can improve the connection stability between the upgrade control terminal and the target devices and reduce connection costs.
[0066] The wireless upgrade method provided by the present invention performs program upgrades on target devices connected using the aforementioned wireless connection method. During the upgrade process, the terminal target device is first upgraded. Only after the upgrade of the terminal target device is complete will the parent target device connected to the terminal target device begin program upgrades. The entire upgrade process proceeds step by step from the terminal target device to the initial target device initially connected to the host control terminal. This allows each parent target device to promptly obtain the upgrade status of the target device connected to it, thereby ensuring that all target devices can complete the upgrade step by step. Therefore, the wireless upgrade method provided by the present invention is not constrained by wiring harnesses and networks, providing a more flexible upgrade method while also reducing upgrade costs. Furthermore, the method can achieve automatic upgrades for a large number of target devices by customizing a preset target range.
[0067] The above description is merely a preferred embodiment of the present invention and does not limit the present invention in any way. Any person skilled in the art who, without departing from the scope of the present invention, makes any equivalent substitution, modification, or other changes to the technical solution and technical content disclosed in the present invention shall be deemed to be within the scope of the present invention and still fall within the scope of protection of the present invention.
Claims
1. A wireless upgrade method, characterized in that: include: The upgrade control terminal obtains a list of devices to be upgraded, and scans according to the list of devices to be upgraded to obtain several current target devices; The upgrade control terminal establishes a wireless communication connection with the current target device, and sends the list of devices to be upgraded to the current target device; The current target device scans according to the received list of devices to be upgraded to continue acquiring a plurality of new target devices, the current target device establishes a wireless communication connection with each of the new target devices, and sends the list of devices to be upgraded to each of the new target devices that have established a wireless communication connection with the current target device; Using the new target device as the current target device; This process is repeated until wireless communication connections are established with the target devices in the list of devices to be upgraded or with all target devices within a preset range. Wherein, the working mode of the target device includes a host mode and a slave mode; The target device operating in the host mode includes: the current target device connected to the new target device; The target device operating in the slave mode includes: the new target device and the current target device directly connected to the upgrade control terminal; When the target device operates in the host mode, each of the target devices is wirelessly connected to at least one target device operating in the slave mode; When the target device operates in the slave mode, each of the target devices is wirelessly connected to and only to one of the target devices operating in the host mode; The current target device establishes a wireless communication connection with each of the new target devices, including: For each of the new target devices, determining whether the new target device has established a connection with the target device other than the current target device; if not, establishing a wireless communication connection between the current target device and the new target device; The upgrade control terminal transmits the device upgrade program to all target devices with which wireless communication connections have been established; After receiving the device upgrade program, the terminal target device first performs the program upgrade and sends the upgrade result to the target device with which the wireless communication connection is established; The target device performs a program upgrade on the target device according to the upgrade result and the device upgrade program, and sends the upgrade result of the target device to the parent target device with which a wireless communication connection is established; the parent target device is used as the target device, and the upgrade result of the target device is used as the upgrade result; and this process is repeated until all target devices with which a wireless communication connection is established complete the program upgrade.
2. The wireless upgrade method according to claim 1, wherein: The terminal target device first performs a program upgrade after receiving the device upgrade program, and sends the upgrade result to the target device with which the wireless communication connection is established, including: there are multiple terminal target devices; When the plurality of terminal target devices are connected to the same parent target device, the plurality of terminal target devices simultaneously perform program upgrades and send respective upgrade results to the parent target device; When the plurality of end target devices are connected to different parent target devices, the plurality of end target devices simultaneously perform program upgrades and send respective upgrade results to their respective connected parent target devices.
3. The wireless upgrade method according to claim 1, wherein: The target device performs a program upgrade on the target device according to the upgrade result and the device upgrade program, including: Determine whether the target device is successfully upgraded based on the upgrade result: When the target device program is successfully upgraded, the target device sends an upgrade success result to its parent target device, and the parent target device starts upgrading the parent target device program after receiving the upgrade success result; When the target device program upgrade fails, it is determined whether the device upgrade program is damaged. If so, the parent target device resends the device upgrade program to the target device to re-upgrade the program; if not, the target device uses the device upgrade program to repeat the program upgrade until the target device completes the program upgrade.
4. The wireless upgrade method according to claim 1, wherein: The target device includes: a T-BOX device; The device list to be upgraded includes: a device list to be upgraded generated based on the model of the T-BOX device or the MAC code of the T-BOX device.
Citation Information
Patent Citations
Method for upgrading child nodes in wireless network
CN108737178A
Firmware upgrading method and device based on Bluetooth network topology and Bluetooth network topology
CN111796844A
Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium
CN112714426A
Multi-device OTA upgrading method based on Bluetooth, electronic device, storage medium and program product
CN114531431A