Method and system for rapid equipment upgrade
By connecting the wireless Wifi network card to the electronic device and wirelessly communicating with the upgrade management device, the problem of inefficiency and network dependence in the electronic device upgrade method in the existing technology is solved, and efficient configuration or upgrade of simultaneous automatic upgrades and secure connections of multiple devices are realized. .
Patent Information
- Application Number
- CN202010285926.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-13
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-04-13
Smart Images

Figure CN111399886B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of equipment upgrade, and in particular to a method and system for rapid equipment upgrade. Background Art
[0002] With the advancement of science and technology, the continuous development and application of electronic devices, the configuration and upgrading of corresponding software have also become an indispensable step in using electronic devices. The software is configured and upgraded to improve the user experience.
[0003] In the prior art, electronic equipment is generally upgraded offline and online OTA. The offline method uses a USB flash drive, and the USB flash drive needs to be inserted into each device for manual upgrade. This method requires manual operation and cannot be automated and efficiently processed. The online OTA method requires the device to be connected to a public cloud or private cloud and the upgrade is issued through an upgrade management server. This method relies on network connection, and security equipment may not have a cloud server or may not be configured, so effective upgrades cannot be achieved. Summary of the invention
[0004] In view of this, the present application provides a method and system for rapid device upgrade, which can avoid the inefficiency of offline operations and the limitations of online methods that rely on network connections. Multiple devices can be configured and upgraded simultaneously, improving the efficiency of configuration or upgrade and ensuring secure connections.
[0005] In order to solve the above technical problems, this application adopts the following technical solutions:
[0006] In a first aspect, a method for rapid device upgrade according to an embodiment of the present application is applied to an electronic device to be upgraded and an upgrade management device, and the method includes:
[0007] The electronic device is triggered to wirelessly communicate with the upgrade management device through a first event, so that the electronic device and the upgrade management device are in the same local area network, wherein the first event includes events such as connection, pressing an external button, or powering on within N minutes. For example, the electronic device is provided with a USB interface, and a wireless Wifi network card with an external USB interface is connected through the USB interface. When the USB interface wireless network card is successfully connected to the electronic device, the electronic device will be triggered to wirelessly communicate with the upgrade management device. Based on the wireless communication between the electronic device and the upgrade management device, the upgrade management device sends a wireless control signal to the electronic device; the electronic device listens to the wireless control signal sent by the upgrade management device, and when the wireless control signal of the upgrade management device is heard, it downloads or receives configuration parameters or upgrade data on the upgrade management device or other devices provided by the upgrade management device according to the protocol to perform configuration or upgrade. Among them, the wireless control signal may contain upgrade or configuration data information, or address information of a device that can provide upgrade or configuration data information. For example, the wireless control signal includes the address of a specified device, and the electronic device connects to the device according to the specified device address and obtains configuration parameters or upgrade data from the specified device. In addition, when the wireless control signal contains upgrade or configuration data information, that is, the configuration parameters or upgrade data can also be directly downloaded from the upgrade management device to obtain the configuration parameters or upgrade data.
[0008] According to the method for rapid device upgrade in an embodiment of the present application, the electronic device can listen to the wireless control signal of the upgrade management device through the local area network, and configure or upgrade according to the wireless control signal, thereby avoiding the inefficiency of offline operation and the limitation of online mode relying on network connection, and can configure or upgrade multiple devices at the same time, thereby improving the efficiency of configuration or upgrade and ensuring a secure connection.
[0009] As an embodiment of the first aspect of the present application, the first event includes a connection event, pressing an external button, or powering on within N minutes.
[0010] As an embodiment of the first aspect of the present application, the electronic device listens to the wireless control signal sent by the upgrade management device through a wireless network card.
[0011] As an embodiment of the first aspect of the present application, the wireless network card is a wireless network card that is connected to the electronic device through an external USB interface of the electronic device, or is built into the electronic device.
[0012] As an embodiment of the first aspect of the present application, the upgrade management device includes a server, a computer or a mobile phone.
[0013] As an embodiment of the first aspect of the present application, before the electronic device communicates wirelessly with the upgrade management device, it also includes: the electronic device and the upgrade management device perform identity authentication, and after the identity authentication is successful, the electronic device communicates wirelessly with the upgrade management device. For example, after the USB interface is connected to the wireless network card, the electronic device listens for the connection command, wherein the upgrade management device can tell the surrounding electronic devices to connect through the wireless control signal (ProbleRequest) sent by the hotspot (AP), and the wireless control signal can include the wireless WIFi name, for example, yt001 and connection command and other information. When the electronic device hears the wireless communication signal, it can determine whether to connect based on the WiFi name. For example, if the WiFi name is named yitu, it is determined to be a WIFi that meets the set requirements, and then choose to connect. A password needs to be entered when connecting. If the password is correct, the electronic device can be allowed to access the hotspot (AP) to access the wireless control signal information. Two-way identity authentication ensures the security of wireless communication between the electronic device and the upgrade management device and avoids risks.
[0014] As an embodiment of the first aspect of the present application, the wireless control signal is a Wifi, Bluetooth, BLE, zibee or Lora signal, which has a wide range of applications.
[0015] In a second aspect, a system for rapid device upgrade according to an embodiment of the present application includes an electronic device to be upgraded and an upgrade management device, wherein the electronic device wirelessly communicates with the upgrade management device through a first event trigger so that the electronic device and the upgrade management device are in the same local area network; based on the wireless communication between the electronic device and the upgrade management device, the upgrade management device sends a wireless control signal to the electronic device; the electronic device listens to the wireless control signal sent by the upgrade management device, and when the wireless control signal of the upgrade management device is heard, receives configuration parameters or upgrade data according to the wireless control signal, and performs configuration or upgrade.
[0016] According to the rapid configuration and upgrade system of the embodiment of the present application, electronic devices can listen to the wireless control signal of the upgrade management device through the local area network, and configure or upgrade according to the wireless control signal, which can avoid the inefficiency of offline operation and the limitation of online mode relying on network connection. Multiple devices can be configured or upgraded at the same time, which improves the efficiency of configuration or upgrade and ensures a secure connection.
[0017] As an embodiment of the second aspect of the present application, the first event includes a connection event, pressing an external button, or powering on within N minutes.
[0018] As an embodiment of the second aspect of the present application, the electronic device listens to the wireless control signal having the configuration parameters or upgrade data sent by the upgrade management device through a wireless network card.
[0019] As an embodiment of the second aspect of the present application, the wireless network card is a wireless network card that is connected to the electronic device through an external USB interface of the electronic device, or is built into the electronic device.
[0020] As an embodiment of the second aspect of the present application, the upgrade management device includes a computer terminal or a mobile phone terminal.
[0021] As an embodiment of the second aspect of the present application, the system further includes: the electronic device and the upgrade management device perform identity authentication, and after the identity authentication is successful, the electronic device communicates wirelessly with the upgrade management device.
[0022] As an embodiment of the second aspect of the present application, the wireless control signal is a Wifi, Bluetooth, BLE, zibee or Lora signal.
[0023] According to the method and system for rapid device upgrade of the embodiments of the present application, the electronic device can listen to the wireless control signal of the upgrade management device through the local area network, and configure or upgrade according to the wireless control signal, which can avoid the inefficiency of offline operation and the limitation of online mode relying on network connection, and can configure or upgrade multiple devices at the same time, thereby improving the efficiency of configuration or upgrade and ensuring a secure connection. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A scene diagram of the communication connection between the server and the device in the embodiment of the present application;
[0025] Figure 2 A flowchart of a method for rapid device upgrade according to an embodiment of the present application;
[0026] Figure 3 This is another application scenario for a device upgrade process according to an embodiment of the present application;
[0027] Figure 4 This is a schematic diagram of the structure of a system for rapid equipment upgrade according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] 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 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.
[0029] It can be understood that the upgrade management device in the present application can be an electronic device or a server, and the electronic device can include terminal devices such as mobile phones and computers.
[0030] According to some embodiments of the present application, a scenario graph of a communication connection between a server and a device is disclosed. Figure 1 1 is a scene diagram of the communication connection between the server and the device according to an embodiment of the present application. Figure 1 As shown, the scenario includes a server 101 set in a local area and devices 102 and 103 connected to the server, wherein the server 101 serves as an upgrade management device, and devices 102 and 103 serve as electronic devices with upgrades. The server can be connected to devices 102 and 103 through a wireless access point (AP) or softAP, wherein device 102 may have a USB interface and may be connected to a wireless Wifi network card through the USB interface, and device 103 has a built-in Wifi network card. Devices 102 and 103 may communicate wirelessly with the server through the Wifi network card, and the server 101 and the devices connected thereto are set in the same local area network to ensure the network security of the devices. When devices 102 and 103 need to be upgraded, they listen to the wireless control signal of the server through the Wifi network card, and after verification by both parties, devices 102 and 103 are connected to server 101, the server sends a wireless control signal, devices 102 and 103 receive the wireless control signal, and download the upgrade package or obtain the configuration parameters for upgrading or configuration according to the wireless control signal, wherein the wireless control signal may include the address of the device to be upgraded to download the upgrade package or configuration parameters, for example, when the address is displayed as the server 101 itself, the device can directly download the upgrade package or configuration parameters from the server, or the wireless control signal itself contains the upgrade data or configuration parameters. In addition, it can also be other devices specified by the server, and devices 102 and 103 can establish a connection with other devices through the Wifi network card, and download the upgrade package or configuration parameters on other devices specified by the server, thereby completing the upgrade or configuration of the device to be upgraded. This method can complete the upgrade of multiple devices at the same time, improve the efficiency of configuration or upgrade, and does not rely on the external network to ensure a secure connection.
[0031] The method for rapid device upgrade of the present application is described below in conjunction with the accompanying drawings. Figure 2 A flowchart of a method for rapid configuration and upgrading of a device is shown, the method is applied to an electronic device to be upgraded and an upgrade management device, wherein the electronic device to be upgraded can be an electronic device such as a computer or a mobile phone, and the upgrade management device can be an electronic device such as a server or a mobile phone, a computer, etc. Figure 2 As shown, the method includes:
[0032] Step S210, the electronic device triggers wireless communication with the upgrade management device through a first event, so that the electronic device and the upgrade management device are in the same local area network, wherein the first event may include a connection event, pressing an external button or turning on the power within N minutes, etc., N is a natural number greater than 0. For example, the electronic device is provided with a USB interface, and an external USB interface wireless Wifi network card is connected through the USB interface. When the USB interface wireless network card is successfully connected to the electronic device, it will trigger wireless communication between the electronic device and the upgrade management device. The wireless control signal can be a Wifi, Bluetooth, BLE, zibee or Lora signal, which has a wide range of applications and can realize simultaneous connection of multiple devices.
[0033] Step S220, based on the wireless communication between the electronic device and the upgrade management device, the upgrade management device sends a wireless control signal to the electronic device, and the wireless control signal may include the address of the electronic device to download the upgrade package or configuration parameters. The electronic device downloads the upgrade package (upgrade data) or configuration parameters according to the specified address through the wireless control signal, wherein the upgrade package or configuration parameters may be provided by the upgrade management device, or may be provided by a device designated by the upgrade management device, which is not limited here.
[0034] In step S230, the electronic device listens to the wireless control signal sent by the upgrade management device, and when the wireless control signal of the upgrade management device is heard, the configuration parameters or upgrade data are received according to the wireless control signal, and configuration or upgrade is performed. For example, when the USB interface wireless network card is successfully connected to the electronic device, wireless communication between the electronic device and the upgrade management device will be triggered. The USB interface wireless network card starts to listen to the wireless control signal sent by the upgrade management device, and when the electronic device hears the wireless control signal, it receives the upgrade data or configuration parameters according to the wireless control signal, and configuration or upgrade is performed. In addition, the electronic device may also be provided with an external button. When the external button is pressed, the built-in wireless network card starts to listen to the wireless control signal sent by the upgrade management device, or the electronic device may be set to automatically start listening to the wireless control signal sent by the upgrade management device three minutes after it is turned on.
[0035] According to the method for rapid device upgrade in an embodiment of the present application, the electronic device can listen to the wireless control signal of the upgrade management device through the local area network, and configure or upgrade according to the wireless control signal, thereby avoiding the inefficiency of offline operation and the limitation of online mode relying on network connection, and can configure or upgrade multiple devices at the same time, thereby improving the efficiency of configuration or upgrade and ensuring a secure connection.
[0036] According to an embodiment of the present application, the electronic device listens to the wireless control signal sent by the upgrade management device through the wireless network card, and further, the wireless network card is a wireless network card that the electronic device accesses through an external USB interface of the electronic device, or is built into the electronic device. This connection method is simple, convenient for connecting the electronic device to the upgrade management device, and the connection is safe and reliable.
[0037] According to one embodiment of the present application, before the electronic device and the upgrade management device communicate wirelessly, it also includes: the electronic device and the upgrade management device perform identity authentication, and after the identity authentication is successful, the electronic device and the upgrade management device communicate wirelessly. Among them, the upgrade management device can tell the surrounding electronic devices to connect through the wireless control signal (Proble Request) sent by the hotspot (AP), and the wireless control signal can include the wireless Wifi name, for example, yt001 and connection command and other information. When the electronic device detects the wireless control signal, it can determine whether to connect according to the Wifi name. For example, if the Wifi name is named yitu, it is determined to be a Wifi that meets the set requirements, and chooses to connect. When connecting, a password needs to be entered. The password can be a static confidentiality key, and the electronic device to be upgraded uses the same key to access the wireless network. Or select a dynamically encrypted confidentiality password, the electronic device obtains a dynamic key through an encryption algorithm and returns it to the hotspot AP of the management device to be upgraded for authentication and comparison. If the password is correct, the electronic device can be allowed to access the hotspot (AP) to access the wireless control signal information. Two-way identity authentication ensures the security of wireless communication between the electronic device and the upgrade management device and avoids risks.
[0038] The verification and upgrade process is described below with reference to the accompanying drawings. Figure 3 Another application scenario diagram for device upgrade is disclosed, such as Figure 3 As shown, it includes an upgrade management device 301 and a device to be upgraded 302. The device to be upgraded 302 triggers and listens to the connection command of the upgrade management device 301 through a USB network card access. The upgrade management device 301 sends a connection command, and the connection command includes a name yt001. The device to be upgraded 302 hears the connection command, determines that the name yt001 meets the set requirements, and selects to connect, enters the agreed password, and the upgrade management device 302 recognizes the password and determines that the connection is possible, completing the wireless communication. The two complete the interaction of upgrade or configuration data based on the wireless communication, and the device to be upgraded obtains the upgrade or configuration data for upgrade or configuration, and the data interaction ends and the connection is disconnected.
[0039] Based on the same inventive concept as the above method, the present application also provides a system for rapid equipment upgrade. Figure 4 A schematic diagram of the structure of a system for rapid equipment upgrade is shown in FIG. Figure 4As shown, the system includes an electronic device 402 to be upgraded and an upgrade management device 401.
[0040] Specifically, the electronic device 402 wirelessly communicates with the upgrade management device 401 through the first event trigger, so that the electronic device and the upgrade management device are in the same local area network.
[0041] Based on the wireless communication between the electronic device 402 and the upgrade management device 401 , the upgrade management device 401 sends a wireless control signal to the electronic device 402 .
[0042] The electronic device 402 listens to the wireless control signal sent by the upgrade management device 401, and when the wireless control signal of the upgrade management device 401 is heard, it receives the configuration parameters or upgrade data according to the wireless control signal, and performs configuration or upgrade, wherein the wireless control signal may contain upgrade or configuration data information, or address information of a device that can provide upgrade or configuration data information, for example, the wireless control signal includes the address of a specified device, the electronic device connects to the device according to the specified device address, and obtains the configuration parameters or upgrade data from the specified device, and in addition, when the wireless control signal contains upgrade or configuration data information, that is, the configuration parameters or upgrade data can also be directly downloaded from the upgrade management device to obtain the configuration parameters or upgrade data.
[0043] According to one embodiment of the present application, the first event includes a connection event, pressing an external button, or powering on within N minutes as an event that triggers the connection between the electronic device and the upgrade management device.
[0044] According to one embodiment of the present application, the electronic device listens to the wireless control signal sent by the upgrade management device through the wireless network card.
[0045] According to an embodiment of the present application, the wireless network card is a wireless network card that is connected to the electronic device 402 through an external USB interface of the electronic device, or is built into the electronic device 402.
[0046] According to an embodiment of the present application, the upgrade management device 401 includes devices such as a server, a computer or a mobile phone.
[0047] According to an embodiment of the present application, the system further includes the electronic device 402 and the upgrade management device 401 performing identity authentication, and after the identity authentication is successful, the electronic device communicates wirelessly with the upgrade management device.
[0048] According to an embodiment of the present application, the wireless control signal is a signal such as Wifi, Bluetooth, BLE, zibee or Lora, which has a wide range of applications and can achieve simultaneous connection of multiple devices.
[0049] The various components and working processes of the rapid configuration and upgrade system of the present application have been described in detail in the above embodiments. For details, please refer to the methods of the above embodiments, which will not be repeated here.
[0050] According to the system for rapid device upgrade of the embodiment of the present application, the electronic device can listen to the wireless control signal of the upgrade management device through the local area network, and configure or upgrade according to the wireless control signal, which can avoid the inefficiency of offline operation and the limitation of online mode relying on network connection. Multiple devices can be configured or upgraded at the same time, which improves the efficiency of configuration or upgrade and ensures a secure connection.
[0051] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings of the specification. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0052] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0053] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0054] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.
Claims
1. A method for rapid device upgrade, applied to electronic equipment to be upgraded and upgrade management equipment, It is characterized in that The method comprises: The electronic device wirelessly communicates with the upgrade management device through a first event trigger, so that the electronic device and the upgrade management device are in the same local area network; Based on the wireless communication between the electronic device and the upgrade management device, the upgrade management device sends a wireless control signal to the electronic device; The electronic device listens to the wireless control signal sent by the upgrade management device, and when the wireless control signal of the upgrade management device is heard, receives configuration parameters or upgrade data according to the wireless control signal, and performs configuration or upgrade; The wireless control signal includes an address for the electronic device to download the upgrade package or configuration parameters, and the electronic device downloads the upgrade package or configuration parameters according to the specified address through the wireless control signal, wherein the upgrade package or configuration parameters are provided by the upgrade management device or provided by a device specified by the upgrade management device; Before the electronic device communicates wirelessly with the upgrade management device, the method further includes: The electronic device and the upgrade management device perform identity authentication, and after the identity authentication is successful, the electronic device communicates wirelessly with the upgrade management device, wherein the upgrade management device tells surrounding electronic devices to connect via a wireless control signal sent via a hotspot.
2. The method according to claim 1, It is characterized in that The first event includes a connection event, pressing an external button, or powering on within N minutes, where N is a natural number greater than 0.
3. The method according to claim 1, It is characterized in that The electronic device listens to the wireless control signal sent by the upgrade management device through a wireless network card.
4. The method according to claim 3, It is characterized in that The wireless network card is a wireless network card that is connected to the electronic device through an external USB interface of the electronic device, or is built into the electronic device.
5. The method according to claim 1, It is characterized in that The upgrade management device includes a server, a computer or a mobile phone.
6. The method according to claim 1, It is characterized in that The wireless control signal is a Wifi, Bluetooth, BLE, zibee or Lora signal.
7. A system for rapid equipment upgrade, It is characterized in that Including electronic equipment to be upgraded and upgrade management equipment, The electronic device wirelessly communicates with the upgrade management device through a first event trigger, so that the electronic device and the upgrade management device are in the same local area network; Based on the wireless communication between the electronic device and the upgrade management device, the upgrade management device sends a wireless control signal to the electronic device; The electronic device listens to the wireless control signal sent by the upgrade management device, and when the wireless control signal of the upgrade management device is heard, the electronic device receives configuration parameters or upgrade data according to the wireless control signal to perform configuration or upgrade; The wireless control signal includes an address for the electronic device to download the upgrade package or configuration parameters, and the electronic device downloads the upgrade package or configuration parameters according to the specified address through the wireless control signal, wherein the upgrade package or configuration parameters are provided by the upgrade management device or provided by a device specified by the upgrade management device; It also includes: the electronic device and the upgrade management device perform identity authentication, and after the identity authentication is successful, the electronic device communicates wirelessly with the upgrade management device, wherein the upgrade management device tells surrounding electronic devices to connect via a wireless control signal sent via a hotspot.
8. The system according to claim 7, It is characterized in that The first event includes a connection event, pressing an external button, or powering on within N minutes, where N is a natural number greater than 0.
9. The system according to claim 7, It is characterized in that The electronic device listens to the wireless control signal sent by the upgrade management device through the wireless network card.
10. The system according to claim 9, It is characterized in that The wireless network card is a wireless network card that is connected to the electronic device through an external USB interface of the electronic device, or is built into the electronic device.
11. The system according to claim 7, It is characterized in that The upgrade management device includes a server, a computer or a mobile phone.
12. The system according to claim 7, It is characterized in that The wireless control signal is a Wifi, Bluetooth, BLE, zibee or Lora signal.
