CN112751699A - OTA upgrade and upgrade management method, device, network and storage medium - Google Patents

OTA upgrade and upgrade management method, device, network and storage medium Download PDF

Info

Publication number
CN112751699A
CN112751699A CN201911056937.XA CN201911056937A CN112751699A CN 112751699 A CN112751699 A CN 112751699A CN 201911056937 A CN201911056937 A CN 201911056937A CN 112751699 A CN112751699 A CN 112751699A
Authority
CN
China
Prior art keywords
upgraded
ota
equipment
upgrading
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911056937.XA
Other languages
Chinese (zh)
Other versions
CN112751699B (en
Inventor
王森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201911056937.XA priority Critical patent/CN112751699B/en
Publication of CN112751699A publication Critical patent/CN112751699A/en
Application granted granted Critical
Publication of CN112751699B publication Critical patent/CN112751699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

The embodiment of the application provides an OTA upgrading and upgrading management method, equipment, a network and a storage medium. In the embodiment of the application, OTA upgrading is combined with a Mesh network, an OTA data packet can be transmitted to an object to be upgraded by means of communication connection between node equipment with direct OTA upgrading capability in the Mesh network and the object to be upgraded, so that the object to be upgraded realizes indirect OTA upgrading.

Description

OTA upgrade and upgrade management method, device, network and storage medium
Technical Field
The present application relates to the field of network communication technologies, and in particular, to an OTA upgrade and upgrade management method, device, network, and storage medium.
Background
The Over The Air (OTA) technology is a technology for distributing new software and new configuration for a terminal device through an Over the Air radio frequency signal, and is widely used for firmware upgrade of a terminal device in a network.
The existing OTA upgrading method requires that terminal equipment must have OTA upgrading capability, and OTA upgrading can not be carried out on the terminal equipment without the OTA upgrading capability, so that the application of the OTA technology is limited.
Disclosure of Invention
Aspects of the present application provide a method, device, network and storage medium for OTA upgrade, which is a new OTA upgrade method, no longer limited by the capability of the terminal device, and is beneficial to fully exerting the advantages of the OTA technology.
The embodiment of the application provides an OTA upgrading method, which is suitable for a first node device in a Mesh network, and the method comprises the following steps: acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the Mesh network and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the second node equipment according to the identifier of the object to be upgraded and the identifier of the second node equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
The embodiment of the application also provides an OTA upgrading method, which is suitable for a Bluetooth gateway in a Bluetooth Mesh network, and the method comprises the following steps: obtaining an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a Bluetooth device which is in communication connection with the object to be upgraded in the Bluetooth Mesh network and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the Bluetooth equipment according to the identifier of the object to be upgraded and the identifier of the Bluetooth equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
The embodiment of the present application further provides an OTA upgrading method, which is applicable to a first node device in a wireless network, and the method includes: acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the wireless network and has direct OTA upgrading capability; the object to be upgraded does not have the direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the second node equipment according to the identifier of the object to be upgraded and the identifier of the second node equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
An embodiment of the present application further provides a Mesh network, including: a plurality of node devices and server devices; the plurality of node devices are connected with each other, and the server device is in direct communication connection with at least one node device in the plurality of node devices; the first node equipment in the plurality of node equipment is used for acquiring an instruction to be upgraded, and the instruction to be upgraded comprises an identifier of an object to be upgraded and an identifier of second node equipment which is in communication connection with the object to be upgraded and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the second node equipment according to the identifier of the object to be upgraded and the identifier of the second node equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
An embodiment of the present application further provides a wireless network, including: a plurality of network devices having wireless transmission capabilities; the first network equipment in the plurality of network equipment is used for acquiring an instruction to be upgraded, and the instruction to be upgraded comprises an identifier of an object to be upgraded and an identifier of second network equipment which is in communication connection with the object to be upgraded and has direct OTA upgrading capability in the plurality of network equipment; transmitting an OTA data packet to the object to be upgraded through the second network equipment according to the identifier of the object to be upgraded and the identifier of the second network equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade; and the object to be upgraded does not have the direct OTA upgrading capability.
An embodiment of the present application further provides a node device, which may be implemented as a first node device in a Mesh network, where the node device includes: a memory, a processor, and a communication component; the memory for storing a computer program; the processor, coupled with the memory, to execute the computer program to: acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the Mesh network and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the second node equipment based on the communication component according to the identifier of the object to be upgraded and the identifier of the second node equipment, so that the object to be upgraded is subjected to indirect OTA upgrade.
The embodiment of the present application further provides a bluetooth gateway, which is applied to a bluetooth Mesh network, where the bluetooth gateway includes: a memory, a processor, and a communication component; the memory for storing a computer program; the processor, coupled with the memory, to execute the computer program to: obtaining an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a Bluetooth device which is in communication connection with the object to be upgraded in the Bluetooth Mesh network and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the Bluetooth equipment based on the communication assembly according to the identifier of the object to be upgraded and the identifier of the Bluetooth equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the steps in the various OTA upgrade methods provided herein.
The embodiment of the present application further provides an OTA upgrade management method, which is applicable to a gateway device in a wireless network, and the method includes: receiving a connection request sent by equipment to be upgraded, wherein the connection request comprises an identifier of the equipment to be upgraded; judging whether the equipment to be upgraded has the direct OTA upgrading capability or not according to the identifier of the equipment to be upgraded; if the equipment to be upgraded has the direct OTA upgrading capability, controlling the equipment to be upgraded to disable the direct OTA upgrading capability so as to enable the equipment to be upgraded to carry out indirect OTA upgrading through target node equipment; wherein the target node device is a node device which is in communication connection with the device to be upgraded in the wireless network and of which the direct OTA upgrade capability is in an enabled state.
An embodiment of the present application further provides a gateway device, including: a memory, a processor, and a communication component; the memory for storing a computer program; the processor, coupled with the memory, to execute the computer program to: receiving a connection request sent by equipment to be upgraded through the communication assembly, wherein the connection request comprises an identifier of the equipment to be upgraded; judging whether the equipment to be upgraded has the direct OTA upgrading capability or not according to the identifier of the equipment to be upgraded; if the equipment to be upgraded has the direct OTA upgrading capability, controlling the equipment to be upgraded to disable the direct OTA upgrading capability so as to enable the equipment to be upgraded to carry out indirect OTA upgrading through target node equipment; wherein the target node device is a node device which is in communication connection with the device to be upgraded in the wireless network and of which the direct OTA upgrade capability is in an enabled state.
An embodiment of the present application further provides an upgrade management method, including: determining equipment to be upgraded from equipment provided by a third party; determining the upgrading mode of the equipment to be upgraded according to the type and/or function of the equipment to be upgraded; and upgrading the equipment to be upgraded according to the upgrading mode.
An embodiment of the present application further provides an upgrade management device, including: a memory and a processor; the memory for storing a computer program; the processor, coupled with the memory, to execute the computer program to: determining equipment to be upgraded from equipment provided by a third party; determining the upgrading mode of the equipment to be upgraded according to the type and/or function of the equipment to be upgraded; and upgrading the equipment to be upgraded according to the upgrading mode.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the steps in the various upgrade management methods provided herein.
In the embodiment of the application, OTA upgrading is combined with a Mesh network, an OTA data packet can be transmitted to an object to be upgraded by means of communication connection between node equipment with direct OTA upgrading capability in the Mesh network and the object to be upgraded, so that the object to be upgraded realizes indirect OTA upgrading.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1a is a schematic structural diagram of a Mesh network according to an exemplary embodiment of the present application;
fig. 1b is a schematic diagram of a network state of a Mesh network for OTA upgrade according to an embodiment of the present application;
fig. 1c is a schematic diagram of a network state of a Mesh network for OTA upgrade according to an embodiment of the present application;
fig. 2a is a schematic flowchart of an OTA upgrading method according to an exemplary embodiment of the present application;
fig. 2b is a schematic flowchart of another OTA upgrading method according to an exemplary embodiment of the present application;
fig. 2c is a schematic flowchart of another OTA upgrading method provided in an exemplary embodiment of the present application;
fig. 3a is a schematic structural diagram of a bluetooth Mesh network according to an exemplary embodiment of the present application;
fig. 3b is a schematic flowchart of another OTA upgrading method according to an exemplary embodiment of the present application;
fig. 3c is a schematic flowchart of OTA upgrade of an MCU board by a bluetooth module according to an exemplary embodiment of the present application;
fig. 4a is a schematic structural diagram of a wireless network according to an exemplary embodiment of the present application;
fig. 4b is a schematic flowchart of another OTA upgrading method according to an exemplary embodiment of the present application;
fig. 4c is a schematic flowchart of an OTA upgrade management method according to an exemplary embodiment of the present application;
FIG. 4d is a flowchart illustrating an upgrade management method according to an exemplary embodiment of the present application;
fig. 4e is a schematic flowchart of an upgrade management method provided in connection with the system structure according to an exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of a node device according to an exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of a bluetooth gateway according to an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of a network device according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In some embodiments of the application, OTA upgrading is combined with a Mesh network, and an OTA data packet can be transmitted to an object to be upgraded by means of communication connection between a node device with direct OTA upgrading capability in the Mesh network and the object to be upgraded, so that the object to be upgraded realizes indirect OTA upgrading.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1a is a schematic structural diagram of a Mesh network according to an exemplary embodiment of the present application. As shown in fig. 1a, the Mesh network includes: a plurality of node devices 101 and a server device 102. The plural in the present embodiment means two or more. In addition, the number of the server devices 102 is not limited in this embodiment, and one or more server devices 102 may be provided.
In this embodiment, the implementation form of the node device 101 is not limited, and the node device 101 may be any terminal device with certain computing capability and communication capability, for example, a smart phone, a smart speaker, a tablet computer, a notebook computer, a desktop computer, a smart camera, a smart television, a wearable device, a wireless access device (AP), a router, a gateway device, or the like. Regardless of the implementation of node device 101, node device 101 will generally include at least one processing unit, at least one memory, and a communication module. The number of processing units and memories depends on the configuration and type of node device 101. The Memory may include volatile, such as RAM, non-volatile, such as Read-Only Memory (ROM), flash Memory, etc., or both. The memory typically stores an Operating System (OS), one or more application programs, and may also store program data and the like. In addition to the processing unit, the memory and the communication module, the node device 101 also includes some basic configurations, such as other types of network card chips, IO buses, audio-video components, and so on. Optionally, the node device 101 may also include some peripheral devices, such as a keyboard, mouse, stylus, printer, display, electronic screen, etc. These peripheral devices are well known in the art and will not be described in detail herein.
Similarly, in this embodiment, the implementation form of the server device 102 is not limited, and the server device 102 may be any server device that has certain computing and communication capabilities and can respond to the request of the node device 101 and provide corresponding services or data support for the node device 101, for example, may be a conventional server, a cloud host, a virtual center, a server array, or the like. The server device mainly includes a processor, a hard disk, a memory, a system bus, and the like, and is similar to a general computer architecture.
In this embodiment, a plurality of node apparatuses 101 are peer-to-peer and are connected to each other, and each node apparatus 101 may perform direct communication with other node apparatuses 101, and may send a message to other node apparatuses 101 or receive a message sent by other node apparatuses 101. At least one node device in the node devices 101 is in direct communication connection with the server device 102, so as to establish a communication link between the server device 102 and each node device 101; accordingly, the server device 102 is directly connected to at least one node device 101 in communication, and the communication connection may be a wired connection or a wireless connection.
Optionally, the server device 102 is deployed in the cloud, and the node device 101 may access the internet (e.g., a wide area network or a metropolitan area network) through a mobile network such as WiFi, ethernet, optical fiber, 2/3/4G/5G, and establish a communication connection with the server device 102 through the internet. Of course, in addition to being deployed in the cloud, the server device 102 may also be deployed together with the node device 101. In the present embodiment, the deployment location of the server device 102 is not limited.
In this embodiment, at least some of the node devices 101 are provided with direct OTA upgrade capability. For any node device 101, having the direct OTA upgrade capability means that the node device 101 supports the OTA technology, can directly receive OTA data packets sent by other devices through an over-the-air radio frequency signal, and upgrade local related resources according to the received OTA data packets; the "other device" may be any device capable of providing OTA packets to the node device 101 by using over-the-air radio frequency signals, for example, the node device 102 may be another node device different from the node device, or another device outside the Mesh network.
In this embodiment, the Mesh network provided by this embodiment is combined with OTA upgrade, and with the help of the communication connection between the node device having the direct OTA upgrade capability in the Mesh network and the object to be upgraded, the OTA data packet can be transmitted to the object to be upgraded, so that the object to be upgraded realizes indirect OTA upgrade.
The indirect OTA upgrade and the direct OTA upgrade are two relative concepts. The direct OTA upgrading refers to a mode that an object needing upgrading directly receives an OTA data packet sent by other equipment through an air radio frequency signal and upgrades local related resources according to the received OTA data packet. The indirect OTA upgrading is a mode that an object needing upgrading receives an OTA data packet sent by other equipment through an air radio frequency signal by means of another object, and local related resources are upgraded according to the OTA data packet received by the other object. The "object requiring upgrading" is a generic term, and refers to any object requiring upgrading, for example, the object to be upgraded in this embodiment, but is not limited thereto.
In this embodiment, the membership between the object to be upgraded and the Mesh network is not limited, and only the object to be upgraded is in communication connection with the node device in the Mesh network having the direct OTA upgrade capability. In an alternative embodiment, the object to be upgraded is a device, component, board or chip in the Mesh network, and these devices, components, boards or chips are separate from the node device with direct OTA upgrade capability. Fig. 1b is a schematic diagram of a network state of the Mesh network for performing indirect OTA upgrade on devices, components, boards or chips in the Mesh network based on the Mesh network of the present embodiment. In another alternative embodiment, the object to be upgraded is a device, component, board or chip, etc. outside the Mesh network. Fig. 1c is a schematic diagram of a network state in which the Mesh network performs indirect OTA upgrade on devices, components, boards, or chips that are required outside the Mesh network based on the embodiment.
In some application scenarios, due to the requirement of service interconnection, the Mesh network of this embodiment may need to maintain communication connection with devices, components, boards or chips in other networks or systems for a long time. In these scenarios, these devices, components, boards or chips may be used as objects to be upgraded outside the Mesh network of this embodiment, and these devices, components, boards or chips are indirectly upgraded OTA by virtue of the communication connection between these devices, components, boards or chips and the node device with direct OTA upgrade capability in the Mesh network of this embodiment at any time. Especially, in the case that the devices, components, boards or chips in other networks or systems do not have the direct OTA upgrade capability or the direct OTA upgrade capability is disabled, the devices, components, boards or chips can be indirectly OTA upgraded at any time by means of the communication connection between the devices, components, boards or chips and the node device having the direct OTA upgrade capability in the Mesh network of the embodiment.
In other application scenarios, there may be some devices, components, boards or chips used independently outside the Mesh network of this embodiment. Taking the home bluetooth Mesh network as an example, there may be some personal computers, routers, bracelets or mobile phones, etc. without adding the bluetooth Mesh network. In normal times, these devices, components, boards or chips can be used independently of the Mesh network of the present embodiment. Under the condition that the devices, components, boards or chips independent of the Mesh network of the embodiment need to be upgraded, especially under the condition that the devices, components, boards or chips do not have the direct OTA upgrading capability or the direct OTA upgrading capability is disabled, the devices, components, boards or chips can be used as objects to be upgraded outside the Mesh network of the embodiment, and the objects to be upgraded are in communication connection with a certain node device with the direct OTA upgrading capability in the Mesh network, so that the devices, components, boards or chips are indirectly upgraded in an OTA manner by means of the communication connection between the devices, components, boards or chips and the node device with the direct OTA upgrading capability in the Mesh network of the embodiment. Further, after the devices, components, boards or chips are waited for the upgrade of the upgrade object to be completed, the communication connection between the object to be upgraded and a certain node device with the direct OTA upgrade capability in the Mesh network can be disconnected, so that the devices, components, chips or boards enter an independent use state.
In addition, in this embodiment, the OTA capability of the object to be upgraded is not limited. Optionally, the object to be upgraded may not have a direct OTA upgrade capability, and on the basis of the communication connection between the object to be upgraded and the node device in the Mesh network having the direct OTA upgrade capability, the node device in the Mesh network having the direct OTA upgrade capability may transmit an OTA data packet required by the object to be upgraded to the object to be upgraded, so that the object to be upgraded performs indirect OTA upgrade according to the OTA data packet. Of course, for the object to be upgraded having the direct OTA upgrade capability, the node device having the direct OTA upgrade capability and being in communication connection with the node device in the Mesh network may also be used to transmit the OTA data packet required by the object to be upgraded to the object to be upgraded, so that the object to be upgraded performs indirect OTA upgrade according to the OTA data packet. Further optionally, for an object to be upgraded with a direct OTA upgrade capability, before performing indirect OTA upgrade on the object by using the method provided by the embodiment of the present application, the object may be further controlled to disable the direct OTA upgrade capability.
It should be noted that, regardless of whether the object to be upgraded has the direct OTA upgrade capability, the object to be upgraded and the node device in the Mesh network having the direct OTA upgrade capability may be communicatively connected in a wired manner. For example, the object to be upgraded may be via a serial interface, a USB interface, a PCIE interface, or I2The C interface is in wired connection with node equipment with direct OTA upgrading capability in the Mesh network. In this embodiment, the implementation form of the serial interface is not limited. For example, from the viewpoint of data transmission, the Serial Interface of the present embodiment may include a Universal Asynchronous Receiver/Transmitter (UART) Interface, or may be a Synchronous Serial Interface (SSI). In addition, the serial interface of the present embodiment may include various interfaces such as RS-232-C, RS-422 and RS485 in terms of electrical standards and protocols. For node equipment with direct OTA upgrading capability in a Mesh network, after receiving an OTA data packet required by an object to be upgraded through an over-the-air radio frequency signal, transmitting the OTA data packet to the object to be upgraded through wired connection between the node equipment and the object to be upgraded; after receiving the OTA data packet, the object to be upgraded performs OTA upgrade on the local related data, and the OTA upgrade process is called indirect OTA upgrade.
Of course, the object to be upgraded and the node device in the Mesh network having the direct OTA upgrade capability may be in communication connection in a wireless manner, in addition to the wired manner. Optionally, in a case that the object to be upgraded and the node device in the Mesh network having the direct OTA upgrade capability are in communication connection in a wireless manner, a user-defined download protocol (download) may be used for data transmission between the object to be upgraded and the node device connected thereto.
The process of performing indirect OTA upgrading on the object to be upgraded by means of the node equipment with the direct OTA upgrading capability in the Mesh network is the same or similar regardless of whether the object to be upgraded has the direct OTA upgrading capability, whether the object to be upgraded is attached to the Mesh network, and the communication connection between the object to be upgraded and the node equipment with the direct OTA upgrading capability in the Mesh network. The following embodiment will describe a process of performing indirect OTA upgrade on an object to be upgraded by using a node device having a direct OTA upgrade capability in a Mesh network.
In the OTA upgrade method of some embodiments of the present application, a first node device and a second node device are involved. The second node equipment is connected with an object to be upgraded in a communication mode in the Mesh network and has direct OTA upgrading capability; the first node device is another node device different from the second node device in the Mesh network, is equivalent to a control end of an OTA upgrading process, and mainly provides an OTA data packet for the object to be upgraded through the second node device so as to indirectly upgrade the object to be upgraded by the OTA. As shown in fig. 2a, described from the perspective of a first node device, an OTA upgrade method comprises the steps of:
and 21a, obtaining an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the Mesh network and has a direct OTA upgrading capability.
22a, according to the identification of the object to be upgraded and the identification of the second node device, transmitting an OTA data packet to the object to be upgraded through the second node device so as to allow the object to be upgraded to carry out indirect OTA upgrade.
The identifier of the object to be upgraded may be any information capable of uniquely identifying the object to be upgraded, and may be, for example, a name, a serial number, an IP address, an MAC address, or the like of the object to be upgraded. Accordingly, the identifier of the second node device may be any information capable of uniquely identifying the second node device, and may be, for example, a name, a serial number, an IP address, a MAC address, or the like of the second node device.
In this embodiment, the first node device obtains an upgrade instruction, and analyzes an identifier of an object to be upgraded and an identifier of the second node device from the upgrade instruction; and then, according to the identification of the object to be upgraded and the identification of the second node equipment, transmitting an OTA data packet to the object to be upgraded through the second node equipment so as to carry out indirect OTA upgrade on the object to be upgraded.
The transmission of the OTA data packet to the object to be upgraded by the second node device mainly refers to a process that the first node device transmits the OTA data packet to the second node device through an over-the-air radio frequency signal, and the second node device transmits the received OTA data packet to the object to be upgraded through a communication connection between the second node device and the object to be upgraded.
For the object to be upgraded, the OTA data packet transmitted by the second node device can be received, and the local related resources are upgraded according to the OTA data packet. The OTA data packet is a data packet required by the object to be upgraded for indirect OTA upgrade. The content of the OTA data packet is not limited in this embodiment, and may be determined according to the specific upgraded resource type in the object to be upgraded. For example, if the firmware in the object to be upgraded is upgraded, the OTA data packet may be a firmware upgrade packet; if the application program installed in the object to be upgraded is upgraded, the OTA data package can be a new edition installation package of the application software.
According to different application scenarios, the manner in which the first node device obtains the upgrade instruction may also be different. This is exemplified below in connection with the embodiments shown in fig. 2b and 2 c.
In an alternative embodiment, depicted in fig. 2b, from the perspective of the first node device, another OTA upgrade method comprises:
21b, the first node device receives an upgrading instruction issued by the server device, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the Mesh network and has direct OTA capability.
22b, the first node equipment transmits the OTA data packet to the object to be upgraded through the second node equipment according to the identification of the object to be upgraded and the identification of the second node equipment, so that the object to be upgraded is subjected to indirect OTA upgrade.
In this embodiment, a user or a network administrator may deploy an upgrade task on a server device in the Mesh network, where the upgrade task carries an identifier of an object to be upgraded and an identifier of a node device in the Mesh network, which is in communication connection with the object to be upgraded and has direct OTA capability. The node device here is the second node device. The user may be a user of the object to be upgraded, or may be a provider of the object to be upgraded. Further optionally, the upgrade task further includes an OTA data packet required by the object to be upgraded, or a storage address or an access path of the OTA data packet.
The server-side equipment responds to the upgrading task deployment operation, can acquire the upgrading task deployed by the user or the network administrator, and sends an upgrading instruction to the first node equipment according to the upgrading task deployed by the user or the network administrator. The upgrade instruction includes an identifier of the object to be upgraded and an identifier of the second node device. Further optionally, the upgrade instruction may further include an OTA data packet required by the object to be upgraded, or a storage address or an access path of the OTA data packet.
Optionally, before the server device issues the upgrade instruction to the first node device, the first node device may be selected from the Mesh network according to a certain policy. For example, the server device may select, as the first node device, a node device having a signal strength greater than a set signal strength threshold or a signal strength maximum from the signal strengths of the node devices in the Mesh network. For another example, the server device may select a node device with the lightest load as the first node device according to the load condition of each node device in the Mesh network. For another example, the server device may select, as the first node device, a node device with the largest or smallest IP address from the IP addresses of the node devices in the Mesh network. For another example, the server device may select a node device in the gateway role as the first node device according to the roles of the node devices in the Mesh network.
For the first node equipment, the upgrading instruction issued by the server side equipment is received, the identification of the object to be upgraded and the identification of the second node equipment are analyzed from the upgrading instruction, and further an OTA data packet can be transmitted to the object to be upgraded through the second node equipment according to the identification of the object to be upgraded and the identification of the second node equipment, so that the object to be upgraded can be subjected to indirect OTA upgrading.
Before transmitting the OTA data packet to the object to be upgraded through the second node device, the first node device may obtain the OTA data packet required for upgrading the object to be upgraded by using, but not limited to, the following several embodiments:
in an alternative embodiment a1, the upgrade instruction carries the OTA packet required by the object to be upgraded, or the storage address or access path of the OTA packet. Based on the method, the first node equipment can analyze the OTA data packet required by the object to be upgraded from the upgrading instruction; or analyzing the storage address or the access path of the OTA data packet required by the object to be upgraded from the upgrading instruction, and acquiring the OTA data packet required by the object to be upgraded according to the analyzed storage address or the access path.
In another alternative embodiment a2, the user or the network administrator may directly store the OTA data packet required for the object to be upgraded in advance in the first node device, or may provide the storage address or access path of the OTA data packet to the first node device in advance. Based on the above, the first node device may directly obtain the OTA data packet required by the object to be upgraded from the local according to the identifier of the object to be upgraded; or, locally acquiring a storage address or an access path of an OTA data packet required by the object to be upgraded, and acquiring the OTA data packet required by the object to be upgraded according to the analyzed storage address or access path.
In yet another alternative embodiment a3, the first node device may locally store some OTA packets required for object upgrade, which may include objects that have been upgraded before, or may include objects that have been upgraded but have not yet been upgraded with OTA upgrade requirements. The OTA data packet locally stored by the first node device may or may not include the OTA data packet required by the object to be upgraded. Based on the above, the first node device may query whether to locally store the OTA data packet required by the object to be upgraded according to the identifier of the object to be upgraded; if the OTA data packet required by the object to be upgraded is inquired locally, acquiring the OTA data packet required by the locally stored object to be upgraded; and if the OTA data packet required by the object to be upgraded is not inquired locally, acquiring the OTA data packet required by the object to be upgraded from the server-side equipment of the Mesh network or a third-party server. The third party server corresponds to the object to be upgraded and can be responsible for providing the OTA data packet required by the object to be upgraded.
In some application scenarios, the third-party server uploads the OTA data packet required by the object to be upgraded to the server device of the Mesh network in advance, and the OTA data packet required by the object to be upgraded can be acquired from the server device of the Mesh network by the first node device under the condition that the OTA data packet required by the object to be upgraded is not queried locally. For example, the first node device may send a data request to a server device of the Mesh network, where the data request includes an identifier of an object to be upgraded, so as to request the server device of the Mesh network to acquire an OTA data packet required by the object to be upgraded; after receiving the data request, the server device of the Mesh network may obtain an OTA data packet required by the object to be upgraded, and return the OTA data packet to the first node device.
In other application scenarios, the third-party server may directly provide the OTA data packet required by the object to be upgraded, and the first node device may obtain the OTA data packet required by the object to be upgraded from the third-party server when the OTA data packet required by the object to be upgraded is not queried locally. For example, the first node device may send a data request to the third-party server, where the data request includes an identifier of the object to be upgraded, so as to request the third-party server to acquire an OTA data packet required by the object to be upgraded; after receiving the data request, the third-party server may obtain an OTA data packet required by the object to be upgraded, and return the OTA data packet to the first node device.
Further, for the condition that the first node device does not inquire the OTA data packet required by the object to be upgraded locally, after the first node device acquires the OTA data packet required by the object to be upgraded from the server device of the Mesh network or the third-party server, the first node device can also store the OTA data packet acquired from the server device of the Mesh network or the third-party server locally, so that the OTA data can be directly acquired locally during next upgrade, network resources are saved, and upgrade efficiency is improved.
In addition to storing the OTA data packet locally in the manner described above, the first node device may also locally cache the OTA data packet in the following manner. Mode 1: the first node equipment can identify an object needing OTA upgrading from the connected objects as a candidate object according to a certain strategy; the number of candidates may be one or more; and pulling (pull) OTA data packets required by candidate object upgrading from a server device or a third-party server of the Mesh network, and storing the OTA data packets required by the candidate object upgrading locally. Mode 2: a server device or a third-party server of the Mesh network can identify an object needing OTA upgrading from objects connected with the first node device as a candidate object according to a certain strategy, and actively push (push) an OTA data packet required by the candidate object upgrading to the first node device; for the first node device, an OTA data packet required for candidate object upgrade pushed by a server device of the Mesh network or a third-party server may be received, and the OTA data packet required for candidate object upgrade may be stored locally.
It should be noted that the object connected to the first node device is dynamically changed, and the candidate object is also dynamically changed, so that after receiving the upgrade instruction, the first node device needs to determine whether to locally store the OTA data packet required by the object to be upgraded according to the identifier of the object to be upgraded.
In a further alternative embodiment a4, the OTA data packets required for the object to be upgraded are stored on the server device of the Mesh network or on a third party server. After receiving the upgrade instruction, the first node device needs to acquire the OTA data packet required by the object to be upgraded from the server device of the Mesh network or a third-party server before transmitting the OTA data packet required by the first node device to the object to be upgraded through the second node device.
For example, after receiving the upgrade instruction, the first node device may pull (pull) the OTA data packet required by the object to be upgraded from the server device of the Mesh network or the third-party server according to the identifier of the object to be upgraded. For example, the first node device may send a data request to a server device of the Mesh network or a third-party server, where the data request includes an identifier of an object to be upgraded, so as to request the server device of the Mesh network or the third-party server to obtain an OTA data packet required by the object to be upgraded; after receiving the data request, the server device or the third-party server of the Mesh network may obtain an OTA data packet required by the object to be upgraded, and return the OTA data packet to the first node device.
For another example, after sending the upgrade instruction to the first node device, the server device or the third-party server of the Mesh network may actively push the OTA data packet required by the object to be upgraded to the first node device. Based on this, the first node device may receive an OTA data packet, which is pushed by a server device of the Mesh network or a third-party server and is required by the object to be upgraded.
It should be noted that the above manner of acquiring the OTA packet required by the object to be upgraded by the first node device is not only applicable to the above embodiment, but also applicable to the following embodiments.
In an alternative embodiment, depicted in fig. 2c from the perspective of the first node device, yet another OTA upgrade method comprises:
and 21c, the first node equipment responds to the input operation to acquire an upgrading instruction input by a user, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of second node equipment which is in communication connection with the object to be upgraded in the Mesh network and has direct OTA upgrading capability.
22c, the first node equipment transmits the OTA data packet to the object to be upgraded through the second node equipment according to the identification of the object to be upgraded and the identification of the second node equipment, so that the object to be upgraded is subjected to indirect OTA upgrade.
In this embodiment, the first node device has a human-computer interaction function, and when the object to be upgraded needs to be upgraded, a user can directly input an upgrade instruction to the first node device, and the upgrade instruction carries an identifier of the object to be upgraded and an identifier of the second node device. The user may be a user of the object to be upgraded, or may be a provider of the object to be upgraded.
Optionally, the first node device has a voice interaction capability, and when the object to be upgraded needs to be upgraded, the user may initiate a voice input operation and input the upgrade instruction in a voice manner. For example, a user may click a physical key on the first node device to initiate a voice input operation, or perform a touch operation on an electronic screen of the first node device to initiate the voice input operation. The first node device may acquire an upgrade instruction input by a user in a voice manner in response to a voice input operation. An example of a voice upgrade instruction is "upgrade firmware of an MCU board in a water heater through a bluetooth module in the water heater", but is not limited thereto. In this example, the bluetooth module is the second power saving device, and the MCU board is the object to be upgraded.
Optionally, the first node device is provided with an electronic screen, and a human-computer interaction interface can be provided for a user. Based on the method, a user can input an upgrading instruction to the first node device through the man-machine interaction interface. For the first node equipment, an upgrading instruction input on the human-computer interaction interface by a user can be obtained in response to the input operation on the human-computer interaction interface. For example, a user can call up an upgrade setting page through the human-computer interaction interface, and input an identifier of an object to be upgraded and an identifier of a second power saving device connected to the object to be upgraded on the upgrade setting page.
For the first node equipment, the upgrading instruction input by the user in various modes is received, the identification of the object to be upgraded and the identification of the second node equipment are analyzed from the upgrading instruction, and further the OTA data packet can be transmitted to the object to be upgraded through the second node equipment according to the identification of the object to be upgraded and the identification of the second node equipment, so that the object to be upgraded can be subjected to indirect OTA upgrading. In this embodiment, the user may store the OTA data packet for transmission of the object to be upgraded in the first node device in advance, or provide the storage address or the access path of the OTA data packet to the first node device in advance, so that the first node device can obtain the OTA data packet required by the object to be upgraded. In addition to this way, the first node device may also obtain the OTA data packet required by the object to be upgraded in other ways, see the description in the foregoing embodiment, and will not be described herein again.
In the foregoing or following embodiments of the present application, an implementation manner in which the first node device transmits the OTA data packet to the object to be upgraded through the second node device is not limited, and any implementation manner in which the OTA data packet may be transmitted to the object to be upgraded through the second node device is applicable to the embodiments of the present application. Several embodiments for transmitting the OTA data packet to the object to be upgraded via the second node device are listed below, and these embodiments are applicable to the embodiments of the present application.
In the embodiment a, the first node device directly transmits the OTA data packet required by the object to be upgraded to the object to be upgraded through the second node device according to the identifier of the object to be upgraded and the identifier of the second node device, so that the object to be upgraded is subjected to indirect OTA upgrade.
In the embodiment B, the first node device blocks the OTA packet required by the object to be upgraded according to a preset or default block size, and directly transmits the block of the OTA packet to the object to be upgraded through the second node device according to the identifier of the object to be upgraded and the identifier of the second node device, so as to allow the object to be upgraded to perform indirect OTA upgrade.
In embodiment C, the first node device obtains, through the second node device, the data version and the receiving capability information currently used by the object to be upgraded, according to the identifier of the object to be upgraded and the identifier of the second node device; and if the currently used data version of the object to be upgraded accords with the upgrading condition, partitioning the OTA data packet according to the receiving capacity information of the object to be upgraded, and transmitting the partitioned OTA data packet to the object to be upgraded through the second node equipment so as to indirectly upgrade the object to be upgraded by the OTA. If the currently used data version of the object to be upgraded does not accord with the upgrading condition, the upgrading operation is ended. The receiving capability information of the object to be upgraded represents the size of the data volume which can be received by the object to be upgraded in one data transmission.
Optionally, the first node device may compare the data version currently used by the object to be upgraded with the data version of the OTA data packet to be transmitted; if the two data versions are the same, judging that the two data versions do not meet the upgrading condition; and if the two data versions are different, judging that the upgrading conditions are met.
In embodiment C, the first node device performs upgrade verification according to the currently used data version of the object to be upgraded, and can terminate the upgrade operation in time when the upgrade condition is not met, thereby reducing unnecessary operations and saving resources.
It should be noted that, in the embodiment C, a specific embodiment of obtaining the currently used data version and the receiving capability information of the object to be upgraded by the second node device is not limited. For example, the first node device may simultaneously obtain, through the second node device, a data version and reception capability information currently used by the object to be upgraded in one communication process. For another example, the first node device may obtain, through the second node device, the data version and the receiving capability information currently used by the object to be upgraded, respectively, in a multiple communication process.
The method for respectively acquiring the currently used data version and the receiving capability information of the object to be upgraded by the second node device includes: sending a first data request to second node equipment according to the identifier of the second node equipment so as to request a data version currently used by an object to be upgraded, wherein the first data request carries the identifier of the object to be upgraded; receiving a currently used data version of an object to be upgraded returned by the second node equipment; under the condition that the currently used data version of the object to be upgraded meets the upgrading condition, a second data request is continuously sent to second node equipment to request the receiving capacity information of the object to be upgraded, and the second data request carries the identification of the object to be upgraded; and receiving the receiving capability information of the object to be upgraded returned by the second node equipment.
In an optional embodiment, in the process of blocking the OTA data packet, in addition to the receiving capability information of the object to be upgraded, the transmission capability information of the second node device may be considered. The transmission capability information of the second node device indicates the size of the data amount that the second node device can transmit in one data transmission. Of course, under the condition that the transmission capability of the second node device is strong, the OTA data packet may also be blocked according to the receiving capability information of the object to be upgraded separately.
Alternatively, the first node device may store transmission capability information of the second node device in advance. Or the first node device requests the second node device for its transmission capability information according to the identifier of the second node device. Optionally, the process of the first node device requesting the second node device for its transmission capability information may be a different process from the process of the second node device acquiring the currently used data version and the receiving capability information of the object to be upgraded. Of course, the first node device may also request the transmission capability information of the object to be upgraded from the second node device in the process of acquiring the currently used data version and the receiving capability information of the object to be upgraded by the second node device.
For example, in an optional embodiment, the first node device may send a third data request to the second node device according to the identifier of the second node device, so as to request the data version currently used by the object to be upgraded, where the third data request carries the identifier of the object to be upgraded; receiving a currently used data version of an object to be upgraded returned by the second node equipment; and under the condition that the currently used data version of the object to be upgraded meets the upgrade condition, continuously sending a fourth data request to the second node equipment to request the receiving capability information of the object to be upgraded and the transmission capability information of the second node equipment, wherein the fourth data request carries the identifier of the object to be upgraded and the identifier of the second node equipment; and receiving the receiving capability information of the object to be upgraded and the transmission capability information of the second node equipment, which are returned by the second node equipment. And then, the first node equipment blocks the OTA data packet according to the receiving capacity information of the object to be upgraded and the transmission capacity information of the second node equipment, and transmits the block of the OTA data packet to the object to be upgraded through the second node equipment so as to indirectly upgrade the object to be upgraded by the OTA.
In some optional embodiments, in the process of transmitting the blocks of the OTA packet to the object to be upgraded by the second node device, the blocks may be taken as a transmission unit, and after one block is transmitted, the next block is transmitted. Optionally, each partition has a unique number, and each partition of the OTA data packet may be transmitted to the object to be upgraded sequentially through the second node device according to the number of the partition.
Further optionally, each partition may be split into a plurality of partitions, each partition having a unique partition identification. For a block, its transmission process can be split into multiple fragmented transmission processes. For the object to be upgraded, when receiving one fragment, the second node device may return a notification message to the first node device, where the notification message may carry an identifier of the fragment successfully received by the object to be upgraded. Correspondingly, the first node device may also check whether the transmission of the current block is completed according to a notification message returned by the object to be upgraded, and start the transmission process of the next block after determining that the transmission of the current block is completed.
In some optional embodiments, the process of transmitting the chunks of the OTA data packet to the object to be upgraded by the second node device supports breakpoint resumption. For example, a first node device may monitor the presence status of a second node device; under the condition that the second node equipment is monitored to be disconnected, the transmission of the blocks of the OTA data packet to the object to be upgraded through the second node equipment is suspended, and the positions of the transmitted blocks are recorded; and after monitoring that the second node equipment is on-line again, continuously transmitting the blocks of the OTA data packet to the object to be upgraded from the recorded block positions through the second node equipment, and realizing breakpoint continuous transmission.
In the embodiments of the present application, the number of objects to be upgraded is not limited, and may be one or multiple. When there are multiple objects to be upgraded, the multiple objects to be upgraded may be objects that need to be upgraded using the same OTA data packet, or may be objects that need to be upgraded using different OTA data packets.
In the embodiment of the application, the OTA upgrading is combined with the Mesh network, and the OTA data packet can be transmitted to the object to be upgraded by means of the communication connection between the node equipment with the direct OTA upgrading capability in the Mesh network and the object to be upgraded, so that the object to be upgraded realizes indirect OTA upgrading.
It should be noted that, the present embodiment does not limit the communication technology used by the Mesh network, and the used communication technology may be flexibly selected according to the deployment requirement, so as to form the Mesh network in different communication modes. For example, in the Mesh network of the present embodiment, communication technologies such as ZigBee, Bluetooth (Bluetooth), infrared, WiFi, or NFC may be used. If the Mesh network of the embodiment of the application adopts the bluetooth communication technology, the node devices can communicate with each other based on the bluetooth protocol, so that the bluetooth Mesh network is formed.
As shown in fig. 3a, a bluetooth Mesh network provided for an exemplary embodiment of the present application includes: a plurality of bluetooth devices 301, a bluetooth gateway 302 and a server side device 303. The number of the bluetooth gateways 302 may be one or more, depending on the specific scenario and the requirement. These bluetooth devices 301 and bluetooth gateway 302 make bluetooth connections with each other; the bluetooth gateway 302 is in communication connection with a server device 303.
It should be noted that the bluetooth device 301 and the bluetooth gateway 302 in the bluetooth Mesh network may be different in implementation according to different application scenarios. In fig. 3a, taking the bluetooth Mesh network deployed in a home environment as an example, the plurality of bluetooth devices 301 includes but is not limited to: bluetooth lamp, bluetooth switch, bluetooth TV and bluetooth socket etc.. In fig. 3a, the bluetooth gateway 302 is illustrated as an example of a smart speaker, but the present invention is not limited thereto. Similarly, in fig. 3a, the server device 303 is illustrated as a cloud server, but is not limited thereto.
In the bluetooth Mesh network shown in fig. 3a, the bluetooth device 301 supports bluetooth communication and can receive data wirelessly, so that it has a direct OTA upgrade capability. Based on this, the bluetooth gateway 302 may transmit the OTA data packet to the object to be upgraded, which is communicatively connected to the bluetooth device 301, through the bluetooth device 301, so that the object to be upgraded may perform indirect OTA upgrade. The bluetooth gateway 302 corresponds to the role of the first node device in the above embodiment, and the bluetooth device 301 corresponds to the role of the second node device in the above embodiment.
As shown in fig. 3b, the process of the bluetooth gateway 302 performing indirect OTA upgrade on the object to be upgraded, which is communicatively connected with the bluetooth device 301, through the bluetooth device 301 includes the following steps:
31b, obtaining an upgrading instruction, wherein the upgrading instruction comprises an identification of an object to be upgraded and an identification of a Bluetooth device which is in communication connection with the object to be upgraded in the Bluetooth Mesh network and has a direct OTA upgrading capability.
And 32b, transmitting an OTA data packet to the object to be upgraded through the Bluetooth equipment according to the identification of the object to be upgraded and the identification of the Bluetooth equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
The identifier of the object to be upgraded may be any information capable of uniquely identifying the object to be upgraded, and may be, for example, a name, a serial number, an IP address, an MAC address, or the like of the object to be upgraded. Accordingly, the identification of the bluetooth device may be any information capable of uniquely identifying the bluetooth device, and may be, for example, a name, a serial number, an IP address, a MAC address, or the like of the bluetooth device.
In this embodiment, the bluetooth gateway acquires the upgrade instruction, and analyzes the identifier of the object to be upgraded and the identifier of the bluetooth device in communication connection with the object to be upgraded from the upgrade instruction; and then, according to the identification of the object to be upgraded and the identification of the Bluetooth device, transmitting an OTA data packet to the object to be upgraded through the Bluetooth device in communication connection with the object to be upgraded so as to allow the object to be upgraded to carry out indirect OTA upgrade. Specifically, the bluetooth gateway may send, according to the identifier of the bluetooth device, the identifier of the object to be upgraded and the OTA data packet required by the object to be upgraded to the bluetooth device in communication connection with the object to be upgraded (i.e., the bluetooth device identified by the identifier) through a bluetooth signal, and the bluetooth device in communication connection with the object to be upgraded transmits OTA data to the object to be upgraded according to the identifier of the object to be upgraded.
Before transmitting the OTA data packet to the object to be upgraded through the bluetooth device, the bluetooth gateway may acquire the OTA data packet required by the object to be upgraded by using, but not limited to, the following methods:
in an alternative embodiment B1, the upgrade instruction carries the OTA packet required by the object to be upgraded, or the storage address or access path of the OTA packet. Based on the method, the Bluetooth gateway can analyze the OTA data packet required by the object to be upgraded from the upgrading instruction; or analyzing the storage address or the access path of the OTA data packet required by the object to be upgraded from the upgrading instruction, and acquiring the OTA data packet required by the object to be upgraded according to the analyzed storage address or the access path.
In another alternative embodiment B2, the user or the network administrator may directly store the OTA data packet required for the object to be upgraded in advance in the bluetooth gateway, or may provide the storage address or access path of the OTA data packet to the bluetooth gateway in advance. Based on the method, the Bluetooth gateway can directly obtain the OTA data packet required by the object to be upgraded from the local according to the identification of the object to be upgraded; or, locally acquiring a storage address or an access path of an OTA data packet required by the object to be upgraded, and acquiring the OTA data packet required by the object to be upgraded according to the analyzed storage address or access path. The user may be a user of the object to be upgraded, or may be a provider of the object to be upgraded.
In another alternative embodiment B3The bluetooth gateway may locally store some OTA data packets required for upgrading the objects, which may include the objects that have been upgraded before or may include the objects that have been upgraded but have not been upgraded yet. The OTA data packet locally stored by the Bluetooth gateway may or may not include the OTA data packet required by the object to be upgraded. Based on the method, the Bluetooth gateway can inquire whether the object to be upgraded is stored locally or not according to the identification of the object to be upgradedRequired OTA packets; if the OTA data packet required by the object to be upgraded is inquired locally, acquiring the OTA data packet required by the locally stored object to be upgraded; and if the OTA data packet required by the object to be upgraded is not inquired locally, acquiring the OTA data packet required by the object to be upgraded from the server-side equipment of the Mesh network or a third-party server. The third-party server corresponds to the object to be upgraded and can be responsible for providing the OTA data packet required by the object to be upgraded.
Further, for the condition that the bluetooth gateway does not inquire the OTA data packet required by the object to be upgraded locally, after the bluetooth gateway acquires the OTA data packet required by the object to be upgraded from the server device of the Mesh network or the third-party server, the bluetooth gateway can also store the OTA data packet acquired from the server device of the Mesh network or the third-party server locally, so that the OTA data can be directly acquired locally during next upgrade, network resources are saved, and upgrade efficiency is improved.
In addition to storing the OTA data packet locally in the manner described above, the bluetooth gateway may also locally cache the OTA data packet in the following manner. For example, an OTA data packet required for candidate object upgrade is pulled from a server device of the Mesh network or a third-party server, and the OTA data packet required for candidate object upgrade is stored locally; or receiving an OTA data packet required by candidate object upgrade pushed by a server device of the Mesh network or a third-party server, and storing the OTA data packet required by the candidate object upgrade locally. The candidate object is an object which needs OTA upgrading in the objects connected with the first node equipment. The object to which the first node device is connected is dynamically changing, and the candidate object is also dynamically changing.
In a further alternative embodiment a4, the OTA data packets required for the object to be upgraded are stored on the server device of the Mesh network or on a third party server. After receiving the upgrade instruction, the bluetooth gateway needs to acquire the OTA data packet required by the object to be upgraded from the server device of the Mesh network or the third-party server before transmitting the OTA data packet required by the object to be upgraded to the object to be upgraded through the second node device.
For example, after receiving the upgrade instruction, the bluetooth gateway may pull (pull) the OTA data packet required by the object to be upgraded from the server device of the Mesh network or the third-party server according to the identifier of the object to be upgraded.
For another example, after sending the upgrade instruction to the bluetooth gateway, the server device or the third-party server of the Mesh network may actively push the OTA data packet required by the object to be upgraded to the bluetooth gateway. Based on the above, the bluetooth gateway may receive the OTA data packet, which is pushed by the server device of the Mesh network or the third-party server and is required by the object to be upgraded.
For the object to be upgraded, the OTA data packet transmitted by the Bluetooth device can be received, and the local related resources are upgraded according to the OTA data packet. Optionally, if the OTA data packet is a firmware upgrade packet, the object to be upgraded may upgrade its firmware; if the OTA data package is a new edition installation package of the application software, the object to be upgraded can upgrade the corresponding application program installed by the object to be upgraded.
In this embodiment, the membership relationship between the object to be upgraded and the bluetooth Mesh network is also not limited, and the object to be upgraded may be a device, a component, a chip, or a board card in the bluetooth Mesh network, or may be a device, a component, a chip, or a board card outside the bluetooth Mesh network. In addition, in this embodiment, the OTA capability of the object to be upgraded is also not limited, and the object to be upgraded may not have the direct OTA upgrade capability, or may have the direct OTA upgrade capability.
In an application scenario, the bluetooth device 301 is a bluetooth module, and the object to be upgraded is an MCU board card without direct OTA upgrade capability in the bluetooth Mesh network. The following describes the application scenario and a process of performing indirect OTA upgrade on the MCU board based on the bluetooth module in the application scenario.
In order to construct a bluetooth Mesh network in a home environment, household appliances needing to join the bluetooth Mesh network in the home environment are required to have bluetooth Mesh capability. Home appliances herein include, but are not limited to: electric rice cooker, electric chafing dish, electric oven, microwave oven, electromagnetic range, can opener, stirrer, meat grinder, dish washer, juice extractor, radio, recorder, audio set, phonograph, television, video recorder, computer, mobile phone, lighting lamp, switch, intelligent sound box, electric fan, air conditioner, purifier, floor sweeping robot, window cleaning robot, water heater, washing machine, refrigerator and the like. However, some of these home appliances may not have bluetooth Mesh capability but may not be replaced, and in order to successfully add these home appliances to the bluetooth Mesh network, a bluetooth module may be added to these home appliances, for example, a bluetooth module may be added to a refrigerator, a washing machine, a water heater, and other home appliances, so that these home appliances have bluetooth Mesh capability and then successfully add to the bluetooth Mesh network. In this kind of scene, the bluetooth module is discrete with the MCU integrated circuit board in the household electrical appliances, for example the bluetooth module can adopt on the plug mode inserts the mainboard of household electrical appliances to through serial interface on the mainboard etc. and MCU integrated circuit board communication connection. Of course, the bluetooth module can also be integrated on the mainboard together with the MCU board card. Wherein, MCU integrated circuit board itself does not possess direct formula OTA upgrading ability, then under the condition that needs upgrade the firmware in the MCU integrated circuit board, can carry out OTA upgrading for the MCU integrated circuit board with the help of the bluetooth module.
Certainly, except the above-mentioned application scene, to some household electrical appliances that need not join in bluetooth Mesh network, in order to facilitate carrying out firmware upgrading to the MCU integrated circuit board in these household electrical appliances, also can increase the bluetooth module in bluetooth Mesh network, carry out wired connection with the MCU integrated circuit board in these household electrical appliances and bluetooth module, and then carry out OTA upgrading to the MCU integrated circuit board with the help of the bluetooth communication ability of bluetooth module. No matter which kind of application scenario, carry out the flow that OTA upgraded for the MCU integrated circuit board through the bluetooth module, as shown in fig. 3c, include the following step:
311c, after the Bluetooth module is powered on and the network is distributed, requesting the information of the MCU board card in communication connection with the Bluetooth module.
312c, the MCU board reports the information to the Bluetooth module, and the information of the MCU board includes but is not limited to: the identification of the MCU board card, the version number of the firmware, whether the firmware upgrade is supported, the receiving capability information and the like.
313c, the Bluetooth module reports the information supporting the upgrading of the MCU board card to the Bluetooth gateway in a broadcasting way, and the identification code of the MCU board card is carried in the broadcast information.
314c, the bluetooth gateway acquires the information whether the bluetooth module supports the upgrading of the MCU board card or not from the broadcast message and the identification of the MCU board card supported by the bluetooth module under the supporting condition.
315c, if the Bluetooth gateway receives an upgrade instruction for instructing the firmware upgrade of the MUC board card, actively requesting the Bluetooth module to the current firmware version number of the MCU board card.
316c, the Bluetooth module reports the identification of the MCU board card and the version number of the current firmware of the MCU board card to the Bluetooth gateway.
317c, comparing the version number of the current firmware of the MCU board card with the latest version number by the Bluetooth gateway, and determining that upgrading is needed if the latest version number is larger than the version number of the current firmware.
318c, the Bluetooth gateway starts the handshake action with the Bluetooth module, and requests the transmission capability of the Bluetooth module and the receiving capability of the MCU board card from the Bluetooth module.
319c, the bluetooth module reports the transmission capability supported by the bluetooth module and the receiving capability of the MCU board to the bluetooth gateway.
320c, the Bluetooth gateway determines the size of the block and a verification algorithm according to the transmission capability supported by the Bluetooth module and the receiving capability of the MCU board card, and then the capability negotiation is completed and the data transmission process is started.
321c, the Bluetooth gateway informs the Bluetooth module to start data transmission.
322c, the Bluetooth module informs the MCU board card to start data transmission.
323c, the MCU board card informs the Bluetooth module that the data transmission can be started.
324c, the bluetooth module informs the bluetooth gateway that data transmission can begin.
325c, after the Bluetooth gateway firmware upgrading package is blocked according to the block size, the Bluetooth gateway firmware upgrading package is sequentially sent to the Bluetooth module.
326c, the Bluetooth module transmits the blocks of the firmware upgrade package to the MCU version.
327c, the MCU board returns data verification information to the bluetooth module every time it receives a block.
328c, the bluetooth module transparently transmits the data verification information to the bluetooth gateway.
329c, the Bluetooth gateway checks whether the transmission of the current block is successfully completed according to the received data checking information, if the check is passed, the next block is started to be sent, otherwise, the current block is continuously sent.
330c, after all the blocks are transmitted, the Bluetooth gateway sends integrity check information to the Bluetooth module to check the integrity of the firmware upgrade package.
331c, the bluetooth module transmits the integrity check information to the MCU board card.
332c, the MCU board card carries out integrity check on the received blocks of the firmware upgrade package according to the integrity check information and returns the integrity check success information to the Bluetooth module.
333c, the Bluetooth module issues a firmware switching instruction to the MCU board card to indicate the MCU board card to carry out firmware upgrading.
334c, the Bluetooth module reports the firmware switching result to the Bluetooth gateway.
It should be noted that, in the above communication process, in order to ensure the communication security, all data in the communication process are transmitted in an encrypted manner, and the encryption algorithm used may be, but is not limited to, SHA256, MD5, RSA, or AES.
In the above embodiment, combine together the firmware upgrading of MCU integrated circuit board and bluetooth module, with the help of the OTA ability of bluetooth module and the communication connection between bluetooth module and the MCU integrated circuit board, can pass through the bluetooth module with the firmware upgrading package of MCU integrated circuit board to give the MCU integrated circuit board for the MCU integrated circuit board that does not possess direct OTA upgrading ability accomplishes the firmware upgrading, realizes the purpose of indirect OTA upgrading, is favorable to the advantage of full play OTA technique.
It should be noted that the scheme for performing indirect OTA upgrade on an object to be upgraded by using the OTA capability of a node device having a direct OTA upgrade capability and the communication connection between the node device and the object to be upgraded, which is proposed in the embodiment of the present application, is not only applicable to a Mesh network, but also can be extended to other wireless communication networks.
Fig. 4a is a schematic structural diagram of a wireless network according to an exemplary embodiment of the present application. As shown in fig. 4a, the wireless network includes: a plurality of network devices 401, wherein there is an interconnection relationship between the plurality of network devices 401, and the plurality of network devices 401 have wireless transmission capability.
The present embodiment provides a wide-sense wireless network, and all network architectures including a plurality of network devices with wireless transmission capability belong to the category of the wireless network of the present embodiment. Therefore, the embodiment does not limit the implementation form of the network device 401, and does not limit the interconnection manner among the plurality of network devices 401, which may be determined according to the network structure and the application scenario of the wireless network. The device form of the network device 401 shown in fig. 4a is merely an example, and is not limited thereto. As shown in fig. 4a, the device modalities of the network device 401 include, but are not limited to: tablet, modem, cell phone, router, Access Point (AP), server, database, computer or router, etc.
Wherein the plurality of network devices 401 includes at least a first network device and a second network device; the second network device is a network device which is in communication connection with the object to be upgraded and has direct OTA upgrading capability in the plurality of network devices 401; the object to be upgraded does not have the direct OTA upgrade capability. The first network device is a network device in the plurality of network devices 401, which is responsible for performing indirect OTA upgrade on an object to be upgraded through the second network device.
The first network equipment is used for acquiring an instruction to be upgraded, and the instruction to be upgraded comprises an identifier of an object to be upgraded and an identifier of the second network equipment; and transmitting an OTA data packet to the object to be upgraded through the second network equipment according to the identifier of the object to be upgraded and the identifier of the second network equipment so as to carry out indirect OTA upgrade on the object to be upgraded.
For the implementation mode of the first network device acquiring the instruction to be upgraded, the implementation mode of acquiring the OTA data packet required by the object to be upgraded, and the implementation mode of transmitting the OTA data packet to the object to be upgraded through the second network device, reference may be made to the description in the foregoing embodiments of the first node device acquiring the instruction to be upgraded, acquiring the OTA data packet required by the object to be upgraded, and transmitting the OTA data packet to the object to be upgraded through the second node device, which is not described herein again.
In the embodiment, the network equipment with the direct OTA upgrading capability in the wireless network is combined with the object to be upgraded without the direct OTA upgrading capability, the OTA data packet can be transmitted to the object to be upgraded by the network equipment with the direct OTA upgrading capability, so that the object to be upgraded can be upgraded indirectly, the problem that the OTA technology cannot upgrade the object without the direct OTA upgrading capability is solved, the application range of the OTA technology is expanded, and the advantages of the OTA technology are favorably and fully exerted.
In addition to the above wireless network, the exemplary embodiments of the present application also provide an OTA upgrade method, which is described from the perspective of a first network device in a wireless network. As shown in fig. 4b, the method comprises:
41b, a first network device in the wireless network acquires an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second network device which is in communication connection with the object to be upgraded and has a direct OTA upgrading capability in the wireless network; the object to be upgraded does not have the direct OTA upgrade capability.
42b, the first network equipment transmits the OTA data packet to the object to be upgraded through the second network equipment according to the identification of the object to be upgraded and the identification of the second network equipment, so that the object to be upgraded is subjected to indirect OTA upgrade.
Optionally, embodiments of step 41b include, but are not limited to: receiving an upgrading instruction issued by a server device in a wireless network; or, in response to the voice input operation, acquiring an upgrade instruction input by the user in a voice mode; or responding to the input operation on the human-computer interaction interface, and acquiring the upgrading instruction input on the human-computer interaction interface by the user.
Optionally, embodiments of step 42b include, but are not limited to: and the first network equipment directly transmits the OTA data packet required by the object to be upgraded to the object to be upgraded through the second network equipment according to the identifier of the object to be upgraded and the identifier of the second network equipment so as to indirectly upgrade the object to be upgraded by the OTA. Or, the first network device blocks the OTA data packet required by the object to be upgraded according to a preset or default block size, and directly transmits the blocks of the OTA data packet to the object to be upgraded through the second network device according to the identifier of the object to be upgraded and the identifier of the second network device, so that the object to be upgraded is subjected to indirect OTA upgrade. Or the first network equipment acquires the currently used data version and the receiving capacity information of the object to be upgraded through the second network equipment according to the identifier of the object to be upgraded and the identifier of the second network equipment; and if the currently used data version of the object to be upgraded accords with the upgrading condition, the OTA data packet is blocked according to the receiving capacity information of the object to be upgraded, and the blocking of the OTA data packet is transmitted to the object to be upgraded through the second network equipment so as to allow the object to be upgraded to carry out indirect OTA upgrading.
For a detailed description of the above alternative embodiments and other related descriptions, reference may be made to the foregoing embodiments, which are not repeated herein.
In the embodiment, the network equipment with the direct OTA upgrading capability in the wireless network is combined with the object to be upgraded without the direct OTA upgrading capability, the OTA data packet can be transmitted to the object to be upgraded by the network equipment with the direct OTA upgrading capability, so that the object to be upgraded can be upgraded indirectly, the problem that the OTA technology cannot upgrade the object without the direct OTA upgrading capability is solved, the application range of the OTA technology is expanded, and the advantages of the OTA technology are favorably and fully exerted.
It should be noted that, based on the technical solutions provided in the foregoing embodiments of the present application, indirect OTA upgrade can be performed on an object that does not have a direct OTA upgrade capability.
In order to more reasonably perform indirect OTA upgrade on an object with direct OTA upgrade capability, the following embodiments of the present application provide an OTA upgrade management method, which is applied to a gateway device in a wireless network, as shown in fig. 4c, and the method includes:
41c, receiving a connection request sent by the equipment to be upgraded, wherein the connection request comprises an identifier of the equipment to be upgraded.
42c, judging whether the equipment to be upgraded has the direct OTA upgrading capability or not according to the identification of the equipment to be upgraded; if yes, the device to be upgraded has the direct OTA upgrading capability, and step 43c is executed; if not, that is, the device to be upgraded does not have the direct OTA upgrade capability, execute step 44 c.
43c, controlling the equipment to be upgraded to disable the direct OTA upgrading capability so as to enable the equipment to be upgraded to carry out indirect OTA upgrading through the target node equipment; the target node device is a node device which is in communication connection with the device to be upgraded in the wireless network and the direct OTA upgrading capability of the node device is in an enabling state.
And 44c, determining that the device to be upgraded needs to be subjected to indirect OTA upgrading through the target node device.
In this embodiment, the device to be upgraded needs to access the gateway device of the wireless network to request the OTA upgrade of the device through the server device or the third-party server. After receiving the connection request sent by the equipment to be upgraded, the gateway equipment judges whether the equipment to be upgraded has the direct OTA upgrading capability or not according to the identification of the equipment to be upgraded. And if the equipment to be upgraded does not have the direct OTA upgrading capability, determining that the indirect OTA upgrading is carried out on the equipment to be upgraded through the target node equipment, and the equipment to be upgraded does not need to be in communication connection with the server side equipment or a third-party server. If the equipment to be upgraded has the direct OTA upgrading capability, the purpose of performing indirect OTA upgrading on the equipment to be upgraded through the target node equipment is achieved by controlling the equipment to be upgraded to disable the direct OTA upgrading capability, so that the equipment to be upgraded does not need to be in communication connection with the server side equipment or a third-party server, the number of equipment for establishing communication connection with the server side equipment or the third-party server can be reduced, and the burden of the server side equipment or the third-party server is relieved.
In an optional embodiment, the gateway device may obtain capability information of the device to be upgraded according to the identifier of the device to be upgraded; judging whether the capability information of the equipment to be upgraded contains the direct OTA upgrading capability; if the judgment result is yes, determining that the equipment to be upgraded has the direct OTA upgrading capability; and if the judgment result is negative, determining that the equipment to be upgraded does not have the direct OTA upgrading capability.
Optionally, the gateway device may pre-store the identity of the device to be upgraded and its capability information locally. For example, a server device or a third-party server in the wireless network may provide the identification of the device to be upgraded and its capability information to the gateway device in advance. Based on this, the gateway device may locally query the capability information of the device to be upgraded according to the identifier of the device to be upgraded.
Optionally, the gateway device may also send a capability information acquisition request to the server device or the third-party server in the wireless network according to the identifier of the device to be upgraded, so as to request the server device or the third-party server to return the capability information of the device to be upgraded. The third-party server corresponds to the device to be upgraded and can provide various information required by the device to be upgraded, such as OTA data, capability information and the like. Optionally, the third-party server may provide information related to the device to be upgraded to the server device in the wireless network in advance, and therefore, the server device may also provide various information required by the device to be upgraded, such as OTA data, capability information, and the like.
In an optional embodiment, in the case that the device to be upgraded has the direct OTA upgrade capability, the device to be upgraded may be directly controlled to disable the direct OTA upgrade capability. This means that all devices with direct OTA upgrade capability use indirect OTA upgrade.
In another optional embodiment, under the condition that the device to be upgraded has the direct OTA upgrade capability, it may be determined whether the load capacity of the server device or the third-party server of the wireless network exceeds a set load threshold value; and if so, controlling the equipment to be upgraded to disable the direct OTA upgrading capability. Of course, in addition to one of the determination conditions listed here, other determination may be made, such as whether the device to be upgraded has a set attribute, or belongs to a specified device, or the like. After the corresponding conditions are met, the equipment to be upgraded is controlled to disable the direct OTA upgrading capability, which means that the equipment meeting the corresponding conditions needs to adopt an indirect OTA upgrading mode; for other devices which do not meet corresponding conditions and have direct OTA upgrading capability, a direct OTA upgrading mode can be adopted for upgrading.
Optionally, in a case that the device to be upgraded has the direct OTA upgrade capability, the gateway device may send a disable message to the device to be upgraded to control the device to be upgraded to disable its direct OTA upgrade capability, for example, the device to be upgraded may turn off or disable a wireless communication interface used for OTA upgrade.
Further, the gateway device may establish a communication connection with the device to be upgraded, regardless of whether the device to be upgraded has a direct OTA upgrade capability. After establishing communication connection with the device to be upgraded, the gateway device may receive an upgrade instruction sent by a server device or a third-party server of the wireless network. If the device to be upgraded does not have the direct OTA upgrading capability, the indirect OTA upgrading is carried out by means of the direct OTA upgrading capability of the target node device; if the device to be upgraded has the direct OTA upgrade capability but the direct OTA upgrade capability is disabled, the device also needs to perform indirect OTA upgrade by means of the direct OTA upgrade capability of the target node device. Therefore, the upgrade instruction includes the identifier of the device to be upgraded and the identifier of the target node device. For the gateway equipment, an OTA data packet of the equipment to be upgraded can be acquired according to the identifier of the equipment to be upgraded; and transmitting the OTA data packet to the equipment to be upgraded through the target node equipment according to the identification of the equipment to be upgraded and the identification of the target node equipment so as to carry out indirect OTA upgrade. For a detailed description of the indirect OTA upgrade of the device to be upgraded, reference may be made to the similar description in the foregoing embodiments, and details are not repeated here.
According to different communication technologies or communication protocols adopted by the wireless network, the wireless network of the embodiment can be implemented as a bluetooth Mesh network, other Mesh networks, or the like. Taking the bluetooth Mesh network as an example, the gateway device may be implemented as a bluetooth gateway, and the bluetooth gateway may perform OTA upgrade management on devices accessed into the bluetooth Mesh network by using the method of the foregoing embodiment, and may control all or part of the devices that need to perform OTA upgrade by using the bluetooth Mesh network and have direct OTA upgrade capability to perform indirect OTA upgrade. The device that needs to perform OTA upgrade by using the bluetooth Mesh network may be a bluetooth node device that joins the bluetooth Mesh network, or may be another device that does not join the bluetooth Mesh network, which is not limited to this.
In addition to the above upgrade management method, an embodiment of the present application further provides an upgrade management method, where the upgrade management method is implemented by a special upgrade management device, for example, a server device special for upgrade management, and performs upgrade management on a device facing a third party. The third party is relative to the upgrade management device and may be various device providers, such as a provider of bluetooth devices, for example, a bluetooth lamp, a bluetooth bracelet, or a bluetooth headset. For any provider, the same type of device may be provided, or a plurality of different types of devices may be provided at the same time, which is not limited. As shown in fig. 4d, the upgrade management method includes the following steps:
41d, determining the equipment to be upgraded from the equipment provided by the third party.
42d, determining the upgrading mode of the equipment to be upgraded according to the type and/or the function of the equipment to be upgraded.
And 43d, upgrading the equipment to be upgraded according to the upgrading mode.
In this embodiment, the upgrade management device performs upgrade management on the device of the third party, so that the third party can be released from the device upgrade and delivered to a more sufficient and professional upgrade manager for implementation, thereby being beneficial to reducing the upgrade pressure of the third party and improving the upgrade efficiency of the device.
In the embodiment of the present application, an implementation manner of determining a device to be upgraded from devices provided by a third party is not limited. For example, the upgrade management device may provide various upgrade services to a third party, and the third party may select a corresponding upgrade service; the upgrade management device determines the implementation mode of the device to be upgraded from the devices provided by the third party, wherein the upgrade services selected by the third party are different. The following examples illustrate:
in an alternative embodiment, the upgrade management device may contract an upgrade management policy with a third party. The third party may make a relevant agreement in the upgrade management policy for the device that needs to be upgraded. Based on this, the upgrade management device may determine the device to be upgraded from the devices provided by the third party according to the upgrade management policy agreed with the third party.
For example, a third party may agree on an upgrade period for all devices in an upgrade management policy, such as an upgrade every three months. Based on this, the upgrade management device may use all devices provided by the third party as the devices to be upgraded when the upgrade period agreed in the upgrade management policy arrives according to the upgrade management policy agreed with the third party.
As another example, a third party may agree on an update period for firmware and/or software for each device in an upgrade management policy, such as device A's firmware being updated every half year, device A's software being updated every three months, device B's firmware being updated every month, and so forth. Based on this, the upgrade management device may determine, from the devices provided by the third party, the device at which the update cycle of the firmware and/or software arrives, that is, the device that needs to update the firmware and/or software, as the device to be upgraded, according to the update cycle of the firmware and/or software of each device included in the upgrade management policy agreed with the third party.
For another example, the third party may perform upgrade management on the devices according to device batches, and based on this, the upgrade time of each batch of devices may be agreed in the upgrade management policy, for example, the first batch of devices is upgraded in 10 months and 20 days, the second batch of devices is upgraded in 11 months and 20 days, and so on. Based on this, the upgrade management device may determine, from the devices provided by the third party, a batch of devices at which the upgrade time arrives as the devices to be upgraded, according to the upgrade time of each batch of devices included in the upgrade management policy agreed with the third party.
In another alternative embodiment, the upgrade management device may provide a real-time upgrade service to a third party. Based on the method, the third party can send an upgrading request to the upgrading management equipment at any time as required so as to request the upgrading management equipment to upgrade and manage the corresponding equipment. Based on this, the upgrade management device may receive an upgrade request provided by a third party, where the upgrade request carries a device identifier that needs to be upgraded; according to the device identifier to be upgraded carried in the upgrade request, determining a device to be upgraded from devices provided by a third party, as shown in fig. 4 e.
The upgrade management device may support multiple upgrade modes. The upgrade method herein may include but is not limited to: a direct OTA upgrade mode, an indirect OTA upgrade mode, an infrared upgrade mode, a Bluetooth upgrade mode and the like. In addition, the upgrading mode can be flexibly defined according to the application requirements. These upgrading modes have a certain relationship with the type and/or function of the device to be upgraded. For example, for a device without direct OTA upgrade capability, only an indirect OTA upgrade mode can be adopted; for the device with the direct OTA upgrading capability, a direct OTA upgrading mode can be adopted, an indirect OTA upgrading mode can be adopted, and the upgrading method can be determined according to an upgrading strategy or the requirements of a third party. The upgrade management device may determine an upgrade mode of the device to be upgraded according to the type and/or function of the device to be upgraded. And then, upgrading the equipment to be upgraded according to the determined upgrading mode.
In this embodiment, the upgrade management device is mainly responsible for performing upgrade management, for example, determining a device to be upgraded, determining an upgrade mode of the device to be upgraded, and controlling the device to be upgraded to perform upgrade according to the upgrade mode.
The upgrade management device allows a third party to select a device party for upgrading the device to be upgraded according to the needs. For example, the third party may select the upgrade management device to actually upgrade the device to be upgraded, or may select the third party to actually upgrade the device to be upgraded.
In an application scenario, a third party selects an upgrade management device to actually upgrade a device to be upgraded. In the application scenario, an implementation manner in which the upgrade management device controls the device to be upgraded to perform upgrading according to the upgrade manner includes: inquiring whether upgrade data required by equipment to be upgraded is stored locally; if the upgrading data is inquired locally, controlling the equipment to be upgraded according to the upgrading mode and the upgrading data; and if the upgrading data is not inquired locally, acquiring the upgrading data from a server of a third party, and controlling the equipment to be upgraded to upgrade according to the upgrading data according to the upgrading mode.
Furthermore, the process of controlling the equipment to be upgraded by the upgrade management equipment according to the upgrade data to upgrade is explained in combination with the upgrade mode.
If the upgrading mode is an indirect OTA upgrading mode, controlling the equipment to be upgraded to carry out upgrading according to upgrading data, wherein the upgrading process comprises the following steps: transmitting the upgrading data to the equipment to be upgraded through the target node equipment so as to allow the equipment to be upgraded to carry out indirect OTA upgrading; the target node device is a node device which is in communication connection with the device to be upgraded and the direct OTA upgrade capability of the target node device is in an enabled state.
If the upgrading mode is a direct OTA upgrading mode, the process of controlling the equipment to be upgraded to upgrade according to the upgrading data comprises the following steps: and the upgrade management equipment directly transmits the upgrade data to the equipment to be upgraded so as to carry out direct OTA upgrade on the equipment to be upgraded.
Further, in an application scenario in which the upgrade management device upgrades the device to be upgraded, the upgrade management device may further provide, to a third party, upgrade detail information of the device to be upgraded, where the upgrade detail information at least includes upgrade progress information and upgrade result information.
In another application scenario, a third party chooses to use its own server to actually upgrade the device to be upgraded. In the application scenario, an implementation manner in which the upgrade management device controls the device to be upgraded to perform upgrading according to the upgrade manner includes: and sending an upgrade notification to a server of the third party, wherein the upgrade notification comprises an identifier of the equipment to be upgraded and description information of the upgrade mode, so as to notify the server of the third party to upgrade the equipment to be upgraded by using upgrade data required by the equipment to be upgraded according to the upgrade mode. The description information of the upgrade mode may uniquely determine the upgrade mode, and may be, for example, an identifier, a name, or simple explanatory information of the upgrade mode. The third-party server may refer to the implementation process of the upgrade management device for upgrading the device to be upgraded according to the upgrade mode and the upgrade data required by the device to be upgraded, and is not described herein again.
In any application scenario, the upgrade management device may monitor the running state information of the device provided by the third party and report the monitored running state information to the server of the third party, in addition to providing the upgrade management service for the third party. The operation state information may include any information related to the operation state of the device, such as the number of times the device is turned on and off, the duration of each operation, the total duration of the operation, the time and number of times it is down, the CPU power consumption and utilization, the memory power consumption and utilization, and so on. Based on this, the third party can see the running state information of the equipment, so that on one hand, the performance, the existing defects and the like of the equipment can be known, and the improvement or the update iteration of the equipment can be facilitated.
Certainly, the upgrade management device may also count information such as the remaining duration and the remaining cost of the third party using the upgrade management service, and feed the information back to the third party in time, so that the third party can continue to apply for or purchase the upgrade management service.
It should be noted that the execution subjects of the steps of the methods provided in the above embodiments may be the same device, or different devices may be used as the execution subjects of the methods. For example, the execution subjects of steps 21a to 22a may be device a; for another example, the execution subject of step 21a may be device a, and the execution subject of step 22a may be device B; and so on.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 21a, 22a, etc., are merely used for distinguishing various operations, and the sequence numbers themselves do not represent any execution order. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
Fig. 5 is a schematic structural diagram of a node device according to an exemplary embodiment of the present application. The node device may be implemented as a first node device in a Mesh network, as shown in fig. 5, and includes: memory 51, processor 52, and communications component 53.
The memory 51 is used for storing computer programs and may be configured to store other various data to support operations on the node device. Examples of such data include instructions for any application or method operating on the node device, contact data, phonebook data, messages, pictures, videos, and so forth.
A processor 52 coupled to the memory 51 for executing the computer program in the memory 51 for: acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of second node equipment which is in communication connection with the object to be upgraded in the Mesh network and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the second node equipment based on the communication component 53 according to the identifier of the object to be upgraded and the identifier of the second node equipment, so that the object to be upgraded is subjected to indirect OTA upgrade.
In an optional embodiment, when the processor 52 obtains the upgrade instruction, it is specifically configured to: and receiving an upgrade instruction sent by a server device in the Mesh network through the communication component 53.
In another alternative embodiment, as shown in fig. 5, the node apparatus further includes: an audio component 54. Based on this, when the processor 52 acquires the upgrade instruction, it is specifically configured to: the upgrade instruction input by the user in a voice manner is acquired in response to the voice input operation through the audio component 54.
In yet another alternative embodiment, as shown in fig. 5, the node apparatus further includes: and the display 55, wherein the display 55 is used for displaying a human-computer interaction interface. Based on this, when the processor 52 acquires the upgrade instruction, it is specifically configured to: and responding to the input operation on the human-computer interaction interface, and acquiring an upgrading instruction input on the human-computer interaction interface by a user.
In an optional embodiment, when the processor 52 transmits the OTA packet to the object to be upgraded through the second node device, it is specifically configured to: according to the identifier of the object to be upgraded and the identifier of the second node device, the data version and the receiving capability information which are currently used by the object to be upgraded are acquired through the second node device based on the communication component 53; and if the currently used data version of the object to be upgraded meets the upgrading condition, partitioning the OTA data packet according to the receiving capability information of the object to be upgraded, and transmitting the partitioned OTA data packet to the object to be upgraded through the second node equipment on the basis of the communication component 53 so as to indirectly upgrade the object to be upgraded by the OTA.
Further optionally, when the processor 52 is configured to block the OTA data packet, it is specifically configured to: and partitioning the OTA data packet according to the receiving capacity information of the object to be upgraded and the transmission capacity information of the second node equipment.
In an alternative embodiment, processor 52 is further configured to: before the upgrade instruction is obtained, the information that the second node device supports the upgrade of the object to be upgraded and the identifier of the object to be upgraded, which are reported by the second node device, are received through the communication component 53.
In an alternative embodiment, the Mesh network of the present embodiment may be implemented as a bluetooth Mesh network, but is not limited thereto.
In a case that the Mesh network of this embodiment is implemented as a bluetooth Mesh network, in one implementation, the node device of this embodiment may be a bluetooth gateway in the bluetooth Mesh network, and the second node device is a bluetooth device in the bluetooth Mesh network; in another implementation, the node device of this embodiment may be a server device in a bluetooth Mesh network, and the second node device is a bluetooth device in the bluetooth Mesh network; in another implementation, the node device and the second node device in this embodiment are different bluetooth devices in a bluetooth Mesh network.
In an alternative embodiment, the object to be upgraded does not have a direct OTA upgrade capability, but is not so limited. The object to be upgraded can also be an object which has direct OTA upgrading capability but needs to be upgraded by adopting indirect OTA.
In an optional embodiment, the object to be upgraded is a device, component, board or chip that does not have the direct OTA upgrade capability in the Mesh network and is separate from the second node device. Or, the object to be upgraded is a device, component, board card or chip without direct OTA upgrade capability outside the Mesh network.
When the object to be upgraded is a device, component, board or chip that does not have the direct OTA upgrade capability outside the Mesh network, the processor 52 is further configured to perform communication connection between the object to be upgraded and the second node device when the object to be upgraded needs to be upgraded, and to disconnect the communication connection between the object to be upgraded and the second node device after the object to be upgraded is upgraded. In another implementation, the processor 52 is further configured to prompt the user to perform communication connection between the object to be upgraded and the second node device when the object to be upgraded needs to be upgraded, and prompt the user to disconnect the communication connection between the object to be upgraded and the second node device after the object to be upgraded is upgraded.
In an optional embodiment, the object to be upgraded is in wired communication connection with the second node device. For example, the object to be upgraded may be via a serial interface, a USB interface, a PCIE interface, or I2The C interface is connected with the second node device by wire, but is not limited to these wire connection modes.
Further, as shown in fig. 5, the node apparatus further includes: power supply components 56, and the like. Only some of the components are schematically shown in fig. 5, and it is not meant that the node apparatus includes only the components shown in fig. 5. In addition, the components within the dashed box in fig. 5 are optional components, not necessary components, according to different implementation forms of the node device.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the steps of the OTA upgrading method shown in fig. 2a to 2 c.
Fig. 6 is a schematic structural diagram of a bluetooth gateway according to an exemplary embodiment of the present application. The bluetooth gateway is applicable to a bluetooth Mesh network, and as shown in fig. 6, the bluetooth gateway includes: memory 61, processor 62 and communication component 63.
A memory 61 for storing a computer program and may be configured to store other various data to support operations on the bluetooth gateway. Examples of such data include instructions for any application or method operating on the bluetooth gateway, contact data, phonebook data, messages, pictures, videos, and the like.
A processor 62, coupled to the memory 61, for executing computer programs in the memory 61 for: acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a Bluetooth device which is in communication connection with the object to be upgraded in a Bluetooth Mesh network and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the Bluetooth equipment based on the communication component 63 according to the identifier of the object to be upgraded and the identifier of the Bluetooth equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
In an optional embodiment, when the processor 62 obtains the upgrade instruction, it is specifically configured to: and receiving an upgrade instruction sent by a server device in the bluetooth Mesh network through a communication component 63.
In another alternative embodiment, as shown in fig. 6, the bluetooth gateway further includes: an audio component 64. Based on this, when the processor 62 acquires the upgrade instruction, it is specifically configured to: the upgrade instruction input by the user in a voice manner is acquired in response to the voice input operation through the audio component 64.
In yet another alternative embodiment, as shown in fig. 6, the bluetooth gateway further includes: and the display 65, wherein the display 65 is used for displaying a human-computer interaction interface. Based on this, when the processor 62 acquires the upgrade instruction, it is specifically configured to: and responding to the input operation on the human-computer interaction interface, and acquiring an upgrading instruction input on the human-computer interaction interface by a user.
In an optional embodiment, when the OTA packet is transmitted to the object to be upgraded by the bluetooth device, the processor 62 is specifically configured to: according to the identification of the object to be upgraded and the identification of the Bluetooth device, acquiring the currently used data version and the receiving capability information of the object to be upgraded through the Bluetooth device based on the communication component 63; and if the currently used data version of the object to be upgraded accords with the upgrading condition, the OTA data packet is blocked according to the receiving capability information of the object to be upgraded, and the communication assembly 63 transmits the blocking of the OTA data packet to the object to be upgraded through the Bluetooth equipment so as to indirectly upgrade the object to be upgraded by the OTA.
Further optionally, when the processor 62 is configured to block the OTA data packet, it is specifically configured to: and partitioning the OTA data packet according to the receiving capability information of the object to be upgraded and the transmission capability information of the Bluetooth device.
In an alternative embodiment, processor 62 is further configured to: before the upgrade instruction is obtained, the information that the bluetooth device supports upgrading the object to be upgraded and the identification of the object to be upgraded, which are reported by the bluetooth device, are received through the communication component 63.
In an alternative embodiment, the object to be upgraded does not have a direct OTA upgrade capability, but is not so limited. The object to be upgraded can also be an object which has direct OTA upgrading capability but needs to be upgraded by adopting indirect OTA.
In an optional embodiment, the object to be upgraded is a device, component, board or chip that does not have the direct OTA upgrade capability in the bluetooth Mesh network and is separate from the bluetooth device. Or the object to be upgraded is a device, component, board card or chip without direct OTA upgrading capability outside the Bluetooth Mesh network.
In an optional embodiment, the bluetooth device is a bluetooth module, the object to be upgraded is an MCU board, and the MCU board and the bluetooth module are separated.
When the object to be upgraded is a device, component, board or chip that does not have the capability of direct OTA upgrade outside the bluetooth Mesh network, the processor 62 is further configured to perform communication connection between the object to be upgraded and the bluetooth device when the object to be upgraded needs to be upgraded, and to disconnect the communication connection between the object to be upgraded and the bluetooth device after the object to be upgraded is upgraded. In another implementation, the processor 62 is further configured to prompt the user to perform communication connection between the object to be upgraded and the bluetooth device when the object to be upgraded needs to be upgraded, and prompt the user to disconnect the communication connection between the object to be upgraded and the bluetooth device after the object to be upgraded is upgraded.
In an optional embodiment, the object to be upgraded is in wired communication connection with the bluetooth device. For example, the object to be upgraded may be via a serial interface, a USB interface, a PCIE interface, or I2The C interface is connected to the bluetooth device by wire, but is not limited to these wire connections.
Further, as shown in fig. 6, the bluetooth gateway further includes: power supply components 66, and the like. Only some of the components are schematically shown in fig. 6, and it is not meant that the bluetooth gateway includes only the components shown in fig. 6. In addition, the components within the dashed box in fig. 6 are optional components, not necessary components, according to different implementations of the bluetooth gateway.
Accordingly, embodiments of the present application also provide a computer readable storage medium storing a computer program, which when executed by a processor, causes the processor to implement the steps of the OTA upgrading method shown in fig. 3b and 3 c.
Fig. 7 is a schematic structural diagram of a network device according to an exemplary embodiment of the present application. The network device may be implemented as a first network device in a wireless network, as shown in fig. 7, the network device comprising: memory 71, processor 72, and communication component 73.
The memory 71 is used for storing computer programs and may be configured to store other various data to support operations on the network device. Examples of such data include instructions for any application or method operating on the network device, contact data, phonebook data, messages, pictures, videos, and so forth.
A processor 72, coupled to the memory 71, for executing computer programs in the memory 71 for: acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second network device which is in communication connection with the object to be upgraded in a wireless network and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the second network equipment based on the communication component 73 according to the identifier of the object to be upgraded and the identifier of the second network equipment, so that the object to be upgraded is subjected to indirect OTA upgrade. Wherein, the object to be upgraded does not have the direct OTA upgrading capability.
In an alternative embodiment, when obtaining the upgrade instruction, the processor 72 is specifically configured to: and receiving an upgrade instruction sent by a server device in the wireless network through the communication component 73.
In another alternative embodiment, as shown in fig. 7, the network device further includes: an audio component 74. Based on this, when the processor 72 acquires the upgrade instruction, it is specifically configured to: the upgrade instruction inputted by the user in a voice manner is acquired in response to the voice input operation through the audio component 74.
In yet another alternative embodiment, as shown in fig. 7, the network device further includes: and the display 75, wherein the display 75 is used for displaying a human-computer interaction interface. Based on this, when the processor 72 acquires the upgrade instruction, it is specifically configured to: and responding to the input operation on the human-computer interaction interface, and acquiring an upgrading instruction input on the human-computer interaction interface by a user.
In an optional embodiment, when the OTA packet is transmitted to the object to be upgraded through the second network device, the processor 72 is specifically configured to: according to the identifier of the object to be upgraded and the identifier of the second network device, the data version and the receiving capability information currently used by the object to be upgraded are acquired through the second network device based on the communication component 73; and if the currently used data version of the object to be upgraded meets the upgrading condition, partitioning the OTA data packet according to the receiving capability information of the object to be upgraded, and transmitting the partitioned OTA data packet to the object to be upgraded through the second network equipment on the basis of the communication component 73 so as to indirectly upgrade the object to be upgraded by the OTA.
Further optionally, when the processor 72 is configured to block the OTA data packet, specifically: and partitioning the OTA data packet according to the receiving capability information of the object to be upgraded and the transmission capability information of the second network equipment.
In an alternative embodiment, processor 72 is further configured to: before the upgrade instruction is obtained, the information that the second network device supports the upgrade of the object to be upgraded and the identifier of the object to be upgraded, which are reported by the second network device, are received through the communication component 73.
In an alternative embodiment, the wireless network of the present embodiment may be implemented as a bluetooth wireless network, but is not limited thereto.
In a case that the wireless network of this embodiment is implemented as a bluetooth wireless network, in one implementation, the network device of this embodiment may be a bluetooth gateway in the bluetooth wireless network, and the second network device is a bluetooth device in the bluetooth wireless network; in another implementation, the network device of this embodiment may be a server device in a bluetooth wireless network, and the second network device is a bluetooth device in the bluetooth wireless network; in another implementation, the network device and the second network device of this embodiment are different bluetooth devices in a bluetooth wireless network.
In an optional embodiment, the object to be upgraded is a device, component, board or chip that does not have the direct OTA upgrade capability in the wireless network and is separate from the second network device. Or, the object to be upgraded is a device, component, board card or chip without direct OTA upgrade capability outside the wireless network.
When the object to be upgraded is a device, a component, a board card or a chip which does not have the direct OTA upgrade capability outside the wireless network, the processor 72 is further configured to perform communication connection between the object to be upgraded and the second network device when the object to be upgraded needs to be upgraded, and disconnect the communication connection between the object to be upgraded and the second network device after the object to be upgraded is upgraded. In another implementation, the processor 72 is further configured to prompt the user to perform communication connection between the object to be upgraded and the second network device when the object to be upgraded needs to be upgraded, and prompt the user to disconnect the communication connection between the object to be upgraded and the second network device after the object to be upgraded is upgraded.
In an optional embodiment, the object to be upgraded is in wired communication connection with the second network device. For example, the object to be upgraded may be via a serial interface, a USB interface, a PCIE interface, or I2The C interface is connected to the second network device by wire, but is not limited to these wired connections.
Further, as shown in fig. 7, the network device further includes: power supply components 76, and the like. Only some of the components are schematically shown in fig. 7, and it is not meant that the network device includes only the components shown in fig. 7. In addition, the components within the dashed box in fig. 7 are optional components, not necessary components, according to different implementations of the network device.
Accordingly, embodiments of the present application also provide a computer readable storage medium storing a computer program, which when executed by a processor, causes the processor to implement the steps of the OTA upgrading method shown in fig. 4 b.
An embodiment of the present application further provides a gateway device, where the gateway device includes: memory, processor, and communication components. Wherein the memory is for storing a computer program and is configurable to store other various data to support operations on the gateway device. Examples of such data include instructions for any application or method operating on the gateway device, contact data, phonebook data, messages, pictures, videos, and so forth.
A processor is coupled to the memory for executing the computer program in the memory for: receiving a connection request sent by equipment to be upgraded through a communication assembly, wherein the connection request comprises an identifier of the equipment to be upgraded; judging whether the equipment to be upgraded has the direct OTA upgrading capability or not according to the identifier of the equipment to be upgraded; if the equipment to be upgraded has the direct OTA upgrading capability, controlling the equipment to be upgraded to disable the direct OTA upgrading capability so as to enable the equipment to be upgraded to carry out indirect OTA upgrading through target node equipment; wherein the target node device is a node device which is in communication connection with the device to be upgraded in the wireless network and of which the direct OTA upgrade capability is in an enabled state.
In an optional embodiment, when determining whether the device to be upgraded has the direct OTA upgrade capability, the processor is specifically configured to: acquiring the capability information of the equipment to be upgraded according to the identifier of the equipment to be upgraded; judging whether the capability information of the equipment to be upgraded contains the direct OTA upgrading capability or not; if so, determining that the equipment to be upgraded has the direct OTA upgrading capability; and if the judgment result is negative, determining that the equipment to be upgraded does not have the direct OTA upgrading capability.
In an alternative embodiment, the processor is further configured to: before the equipment to be upgraded is controlled to disable the direct OTA upgrading capability, judging whether the load capacity of the server side equipment or a third-party server of the wireless network exceeds a set load threshold value; and if so, controlling the equipment to be upgraded to disable the direct OTA upgrading capability.
In an alternative embodiment, the processor is further configured to: after the gateway equipment is connected with the equipment to be upgraded, receiving an upgrading instruction sent by server side equipment or a third-party server of a wireless network through a communication assembly, wherein the upgrading instruction comprises an identifier of the equipment to be upgraded; acquiring an OTA data packet of the equipment to be upgraded according to the identifier of the equipment to be upgraded; and transmitting the OTA data packet to the equipment to be upgraded through the target node equipment so as to carry out indirect OTA upgrade.
Further, the gateway device of this embodiment may further include: power supply components, and the like. The structure of the gateway device is similar to that of the device of the foregoing embodiment, and reference may be made to the device structure diagrams of other embodiments.
Accordingly, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the steps of the OTA upgrade management method shown in fig. 4 c.
An embodiment of the present application further provides an upgrade management device, where the upgrade management device includes: a memory and a processor. Wherein the memory is for storing a computer program and may be configured to store other various data to support operations on the upgrade management device. Examples of such data include instructions for any application or method operating on the upgrade management device, contact data, phonebook data, messages, pictures, videos, and so forth.
A processor is coupled to the memory for executing the computer program in the memory for: determining equipment to be upgraded from equipment provided by a third party; determining the upgrading mode of the equipment to be upgraded according to the type and/or function of the equipment to be upgraded; and upgrading the equipment to be upgraded according to the upgrading mode.
In an optional embodiment, when determining the device to be upgraded, the processor is specifically configured to: determining the equipment to be upgraded from equipment provided by a third party according to an upgrade management strategy agreed with the third party; or receiving an upgrade request provided by a third party, and determining the equipment to be upgraded from the equipment provided by the third party according to the equipment identifier to be upgraded carried in the upgrade request.
In an optional embodiment, when the processor determines the device to be upgraded from devices provided by the third party according to an upgrade management policy agreed with the third party, the processor is specifically configured to:
if the upgrade management strategy contains an agreed upgrade period, all equipment provided by a third party is taken as the equipment to be upgraded when the upgrade period is reached;
if the upgrade management strategy comprises the update cycle of the firmware and/or the software of each device, determining the device needing firmware and/or software update from the devices provided by the third party as the device to be upgraded;
and if the upgrade management strategy comprises the upgrade time of each batch of equipment, determining a batch of equipment with the upgrade time as the equipment to be upgraded from the equipment provided by the third party.
In an optional embodiment, when the processor controls the device to be upgraded to perform upgrading according to the upgrading mode, the processor is specifically configured to: inquiring whether upgrade data required by the equipment to be upgraded is stored locally; if the upgrading data is inquired locally, controlling the equipment to be upgraded according to the upgrading mode and the upgrading data; and if the upgrading data is not inquired locally, acquiring the upgrading data from a server of a third party, and controlling the equipment to be upgraded to upgrade according to the upgrading data according to the upgrading mode.
Further, when the processor controls the device to be upgraded to upgrade according to the upgrade mode, the processor is specifically configured to: if the upgrading mode is an indirect OTA upgrading mode, transmitting the upgrading data to the equipment to be upgraded through target node equipment so that the equipment to be upgraded can be subjected to indirect OTA upgrading; the target node device is a node device which is in communication connection with the device to be upgraded and of which the direct OTA upgrade capability is in an enabled state.
Further, when the processor controls the device to be upgraded to upgrade according to the upgrade mode, the processor is specifically configured to: and if the upgrading mode is a direct OTA upgrading mode, directly transmitting the upgrading data to the equipment to be upgraded so as to carry out direct OTA upgrading on the equipment to be upgraded.
In an alternative embodiment, the processor is further configured to: and providing the upgrade detail information of the equipment to be upgraded to a third party, wherein the upgrade detail information at least comprises upgrade progress information and upgrade result information.
In an optional embodiment, when the processor upgrades the device to be upgraded according to the upgrade mode, the processor is specifically configured to: and sending an upgrade notification to a server of a third party, wherein the upgrade notification comprises the identifier of the equipment to be upgraded and the upgrade mode description information so as to notify the server of the third party to upgrade the equipment to be upgraded by using upgrade data required by the equipment to be upgraded according to the upgrade mode.
In an alternative embodiment, the processor is further configured to: monitoring the running state information of the equipment provided by a third party; and reporting the monitored running state information to a server of a third party.
Further, the upgrade management device of this embodiment may further include: communication infrastructure, power components, and the like. The structure of the gateway device is similar to that of the device of the foregoing embodiment, and reference may be made to the device structure diagrams of other embodiments.
Accordingly, an embodiment of the present application further provides a computer readable storage medium storing a computer program, and the computer program, when executed by a processor, causes the processor to implement the steps of the OTA upgrade management method shown in fig. 4 d.
The memories of fig. 5-7 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The communication components of fig. 5-7 described above are configured to facilitate communication between the device in which the communication component is located and other devices in a wired or wireless manner. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component may further include a Near Field Communication (NFC) module, Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and the like.
The displays in fig. 5-7 described above include screens, which may include Liquid Crystal Displays (LCDs) and Touch Panels (TPs). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The power supply components of fig. 5-7 described above provide power to the various components of the device in which the power supply component is located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
The audio components of fig. 5-7 described above may be configured to output and/or input audio signals. For example, the audio component includes a Microphone (MIC) configured to receive an external audio signal when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (50)

1. An OTA upgrading method applicable to a first node device in a Mesh network, the method comprising:
acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the Mesh network and has direct OTA upgrading capability;
and transmitting an OTA data packet to the object to be upgraded through the second node equipment according to the identifier of the object to be upgraded and the identifier of the second node equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
2. The method of claim 1, wherein obtaining upgrade instructions comprises:
receiving an upgrading instruction sent by server equipment in the Mesh network; or
Responding to voice input operation, and acquiring an upgrading instruction input by a user in a voice mode; or
And responding to the input operation on the human-computer interaction interface, and acquiring an upgrading instruction input on the human-computer interaction interface by a user.
3. The method of claim 1, wherein transmitting an OTA packet to the object to be upgraded through the second node device according to the identifier of the object to be upgraded and the identifier of the second node device, so that the object to be upgraded is subjected to indirect OTA upgrade, comprises:
acquiring a data version and receiving capacity information currently used by the object to be upgraded through the second node equipment according to the identifier of the object to be upgraded and the identifier of the second node equipment;
and if the currently used data version of the object to be upgraded meets the upgrading condition, partitioning the OTA data packet according to the receiving capability information of the object to be upgraded, and transmitting the partitioned OTA data packet to the object to be upgraded through the second node equipment so as to indirectly upgrade the object to be upgraded by the OTA data packet.
4. The method of claim 3, wherein blocking the OTA packet according to the receiving capability information of the object to be upgraded comprises:
and partitioning the OTA data packet according to the receiving capability information of the object to be upgraded and the transmission capability information of the second node equipment.
5. The method of claim 3, prior to obtaining upgrade instructions, further comprising:
and receiving information reported by the second node equipment, wherein the information supports the upgrading of the object to be upgraded by the second node equipment, and the identifier of the object to be upgraded.
6. The method of claim 1, wherein the Mesh network is a bluetooth Mesh network.
7. The method of claim 6, wherein the first node device is a Bluetooth gateway in the Bluetooth Mesh network and the second node device is a Bluetooth device in the Bluetooth Mesh network;
alternatively, the first and second electrodes may be,
the first node device is a server device in the Bluetooth Mesh network, and the second node device is a Bluetooth device in the Bluetooth Mesh network;
alternatively, the first and second electrodes may be,
the first node device and the second node device are different Bluetooth devices in the Bluetooth Mesh network respectively.
8. The method of any of claims 1-7, wherein the object to be upgraded does not have direct OTA upgrade capability.
9. The method of claim 8, wherein the object to be upgraded is a device, component, board or chip in the Mesh network that is separate from the second node device.
10. The method of claim 8, wherein the object to be upgraded is a device, component, board or chip outside the Mesh network.
11. The method of claim 10, further comprising:
under the condition that the object to be upgraded needs to be upgraded, the object to be upgraded and the second node equipment are in communication connection; and
and after the object to be upgraded is upgraded, disconnecting the communication connection between the object to be upgraded and the second node equipment.
12. The method according to any one of claims 1 to 7, wherein the object to be upgraded is connected in wired communication with the second node device.
13. The method of claim 11, wherein the object to be upgraded is connected to the host via a serial interface, a USB interface, a PCIE interface, or an I interface2And the C interface is in wired connection with the second node equipment.
14. The method according to any one of claims 1-7, before transmitting the OTA data packet to the object to be upgraded by the second node device, further comprising:
inquiring whether the OTA data packet is stored locally or not according to the identification of the object to be upgraded;
if the OTA data packet is inquired locally, acquiring the OTA data packet stored locally;
and if the OTA data packet is not inquired locally, acquiring the OTA data packet from the server side equipment of the Mesh network or a third-party server.
15. The method of claim 14, wherein in the event that the OTA packet is not queried locally, the method further comprises:
and storing the OTA data packet acquired from the server-side equipment or the third-party server of the Mesh network locally.
16. The method of claim 14, further comprising, prior to querying whether the OTA packet is stored locally:
pulling an OTA data packet required by candidate object upgrading from a server-side device or a third-party server of the Mesh network, and storing the OTA data packet required by the candidate object upgrading locally;
or
Receiving an OTA data packet which is pushed by a server device of the Mesh network or a third-party server and is required by the candidate object upgrading, and storing the OTA data packet required by the candidate object upgrading locally;
the candidate object is an object which needs to be subjected to OTA upgrading in the objects connected with the first node equipment.
17. The method of any of claims 1-7, further comprising, after receiving the upgrade instruction:
pulling an OTA data packet required by the object to be upgraded from a server device or a third-party server of the Mesh network according to the identifier of the object to be upgraded; or
Receiving an OTA data packet required by the object to be upgraded and pushed by a server device or a third-party server of the Mesh network.
18. An OTA upgrading method is suitable for a Bluetooth gateway in a Bluetooth Mesh network, and is characterized by comprising the following steps:
obtaining an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a Bluetooth device which is in communication connection with the object to be upgraded in the Bluetooth Mesh network and has direct OTA upgrading capability;
and transmitting an OTA data packet to the object to be upgraded through the Bluetooth equipment according to the identifier of the object to be upgraded and the identifier of the Bluetooth equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
19. The method of claim 18, wherein the bluetooth device is a bluetooth module, the object to be upgraded is an MCU board, and the MCU board is separate from the bluetooth module.
20. The method of claim 18, further comprising, prior to transmitting the OTA packet to the object to be upgraded via the bluetooth device:
inquiring whether the OTA data packet is stored locally or not according to the identification of the object to be upgraded;
if the OTA data packet is inquired locally, acquiring the OTA data packet stored locally;
and if the OTA data packet is not inquired locally, acquiring the OTA data packet from the server side equipment of the Mesh network or a third-party server.
21. The method of claim 20, wherein in the event that the OTA packet is not queried locally, the method further comprises:
and storing the OTA data packet acquired from the server-side equipment or the third-party server of the Mesh network locally.
22. The method of claim 20, further comprising, prior to querying whether the OTA packet is stored locally:
pulling an OTA data packet required by candidate object upgrading from a server-side device or a third-party server of the Mesh network, and storing the OTA data packet required by the candidate object upgrading locally;
or
Receiving an OTA data packet which is pushed by a server device of the Mesh network or a third-party server and is required by the candidate object upgrading, and storing the OTA data packet required by the candidate object upgrading locally;
the candidate object is an object which needs to be subjected to OTA upgrading in the objects connected with the first node equipment.
23. The method of claim 18, after receiving the upgrade instruction, further comprising:
pulling an OTA data packet required by the object to be upgraded from a server device or a third-party server of the Mesh network according to the identifier of the object to be upgraded; or
Receiving an OTA data packet required by the object to be upgraded and pushed by a server device or a third-party server of the Mesh network.
24. An OTA upgrade method applicable to a first node device in a wireless network, the method comprising:
acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the wireless network and has direct OTA upgrading capability; the object to be upgraded does not have the direct OTA upgrading capability;
and transmitting an OTA data packet to the object to be upgraded through the second node equipment according to the identifier of the object to be upgraded and the identifier of the second node equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
25. A Mesh network, comprising: a plurality of node devices and server devices; the plurality of node devices are connected with each other, and the server device is in direct communication connection with at least one node device in the plurality of node devices;
the first node equipment in the plurality of node equipment is used for acquiring an instruction to be upgraded, and the instruction to be upgraded comprises an identifier of an object to be upgraded and an identifier of second node equipment which is in communication connection with the object to be upgraded and has direct OTA upgrading capability; and transmitting an OTA data packet to the object to be upgraded through the second node equipment according to the identifier of the object to be upgraded and the identifier of the second node equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
26. The Mesh network of claim 25 wherein the Mesh network is a bluetooth Mesh network and the plurality of node devices comprise bluetooth gateways and bluetooth devices accessing the bluetooth Mesh network.
27. The Mesh network of claim 26 wherein the first node device is a bluetooth gateway in the bluetooth Mesh network and the second node device is a bluetooth device in the bluetooth Mesh network;
alternatively, the first and second electrodes may be,
the first node device is a server device in the Bluetooth Mesh network, and the second node device is a Bluetooth device in the Bluetooth Mesh network;
alternatively, the first and second electrodes may be,
the first node device and the second node device are different Bluetooth devices in the Bluetooth Mesh network respectively.
28. The Mesh network of any of claims 25-27 wherein the object to be upgraded is a device, component, board or chip in the Mesh network that does not have direct OTA upgrade capability.
29. The Mesh network of any of claims 25-27 wherein the object to be upgraded is a device, component, board or chip outside the Mesh network that does not have direct OTA upgrade capability.
30. The Mesh network of any one of claims 25 to 27 wherein the object to be upgraded is in wired communicative connection with the second node device.
31. A wireless network system, comprising: a plurality of network devices having wireless transmission capabilities;
the first network equipment in the plurality of network equipment is used for acquiring an instruction to be upgraded, and the instruction to be upgraded comprises an identifier of an object to be upgraded and an identifier of second network equipment which is in communication connection with the object to be upgraded and has direct OTA upgrading capability in the plurality of network equipment; transmitting an OTA data packet to the object to be upgraded through the second network equipment according to the identifier of the object to be upgraded and the identifier of the second network equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade; and the object to be upgraded does not have the direct OTA upgrading capability.
32. A node device, implementable as a first node device in a Mesh network, comprising: a memory, a processor, and a communication component;
the memory for storing a computer program;
the processor, coupled with the memory, to execute the computer program to:
acquiring an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a second node device which is in communication connection with the object to be upgraded in the Mesh network and has direct OTA upgrading capability;
and transmitting an OTA data packet to the object to be upgraded through the second node equipment based on the communication component according to the identifier of the object to be upgraded and the identifier of the second node equipment, so that the object to be upgraded is subjected to indirect OTA upgrade.
33. A Bluetooth gateway applied to a Bluetooth Mesh network, the Bluetooth gateway comprising: a memory, a processor, and a communication component;
the memory for storing a computer program;
the processor, coupled with the memory, to execute the computer program to:
obtaining an upgrading instruction, wherein the upgrading instruction comprises an identifier of an object to be upgraded and an identifier of a Bluetooth device which is in communication connection with the object to be upgraded in the Bluetooth Mesh network and has direct OTA upgrading capability;
and transmitting an OTA data packet to the object to be upgraded through the Bluetooth equipment based on the communication assembly according to the identifier of the object to be upgraded and the identifier of the Bluetooth equipment so as to allow the object to be upgraded to carry out indirect OTA upgrade.
34. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 16.
35. An OTA upgrade management method, adapted to a gateway device in a wireless network, the method comprising:
receiving a connection request sent by equipment to be upgraded, wherein the connection request comprises an identifier of the equipment to be upgraded;
judging whether the equipment to be upgraded has the direct OTA upgrading capability or not according to the identifier of the equipment to be upgraded;
if the equipment to be upgraded has the direct OTA upgrading capability, controlling the equipment to be upgraded to disable the direct OTA upgrading capability so as to enable the equipment to be upgraded to carry out indirect OTA upgrading through target node equipment;
wherein the target node device is a node device which is in communication connection with the device to be upgraded in the wireless network and of which the direct OTA upgrade capability is in an enabled state.
36. The method of claim 35, wherein determining whether the device to be upgraded has a direct OTA upgrade capability according to the identity of the device to be upgraded comprises:
acquiring the capability information of the equipment to be upgraded according to the identifier of the equipment to be upgraded;
judging whether the capability information of the equipment to be upgraded contains the direct OTA upgrading capability or not;
if so, determining that the equipment to be upgraded has the direct OTA upgrading capability;
and if the judgment result is negative, determining that the equipment to be upgraded does not have the direct OTA upgrading capability.
37. The method of claim 35, further comprising, prior to controlling the device to be upgraded to disable direct OTA upgrade capability:
judging whether the load capacity of the server side equipment or the third-party server of the wireless network exceeds a set load threshold value or not;
and if so, controlling the equipment to be upgraded to disable the direct OTA upgrading capability.
38. The method of claim 37, wherein after establishing a connection with the device to be upgraded, the method further comprises:
receiving an upgrading instruction sent by a server device or a third-party server of the wireless network, wherein the upgrading instruction comprises an identifier of the device to be upgraded and an identifier of the target node device;
acquiring an OTA data packet of the equipment to be upgraded according to the identifier of the equipment to be upgraded;
and transmitting the OTA data packet to the equipment to be upgraded through the target node equipment according to the identification of the equipment to be upgraded and the identification of the target node equipment so as to carry out indirect OTA upgrade.
39. A gateway device, comprising: a memory, a processor, and a communication component;
the memory for storing a computer program;
the processor, coupled with the memory, to execute the computer program to:
receiving a connection request sent by equipment to be upgraded through the communication assembly, wherein the connection request comprises an identifier of the equipment to be upgraded;
judging whether the equipment to be upgraded has the direct OTA upgrading capability or not according to the identifier of the equipment to be upgraded;
if the equipment to be upgraded has the direct OTA upgrading capability, controlling the equipment to be upgraded to disable the direct OTA upgrading capability so as to enable the equipment to be upgraded to carry out indirect OTA upgrading through target node equipment;
wherein the target node device is a node device which is in communication connection with the device to be upgraded in the wireless network and of which the direct OTA upgrade capability is in an enabled state.
40. An upgrade management method, comprising:
determining equipment to be upgraded from equipment provided by a third party;
determining the upgrading mode of the equipment to be upgraded according to the type and/or function of the equipment to be upgraded;
and controlling the equipment to be upgraded to upgrade according to the upgrading mode.
41. The method of claim 40, wherein determining the device to be upgraded from devices provided by the third party comprises:
determining the equipment to be upgraded from equipment provided by a third party according to an upgrade management strategy agreed with the third party; or
And receiving an upgrading request provided by a third party, and determining the equipment to be upgraded from the equipment provided by the third party according to the equipment identifier needing upgrading carried in the upgrading request.
42. The method as claimed in claim 41, wherein determining the device to be upgraded from devices provided by the third party according to the upgrade management policy agreed with the third party comprises:
if the upgrade management strategy contains an agreed upgrade period, all equipment provided by a third party is taken as the equipment to be upgraded when the upgrade period is reached;
if the upgrade management strategy comprises the update cycle of the firmware and/or the software of each device, determining the device needing firmware and/or software update from the devices provided by the third party as the device to be upgraded;
and if the upgrade management strategy comprises the upgrade time of each batch of equipment, determining a batch of equipment with the upgrade time as the equipment to be upgraded from the equipment provided by the third party.
43. The method as claimed in any one of claims 40 to 42, wherein controlling the device to be upgraded to upgrade according to the upgrade mode comprises:
inquiring whether upgrade data required by the equipment to be upgraded is stored locally;
if the upgrading data is inquired locally, controlling the equipment to be upgraded according to the upgrading mode and the upgrading data;
and if the upgrading data is not inquired locally, acquiring the upgrading data from a server of a third party, and controlling the equipment to be upgraded to upgrade according to the upgrading data according to the upgrading mode.
44. The method as claimed in claim 43, wherein controlling the device to be upgraded to upgrade according to the upgrade mode comprises:
if the upgrading mode is an indirect OTA upgrading mode, transmitting the upgrading data to the equipment to be upgraded through target node equipment so that the equipment to be upgraded can be subjected to indirect OTA upgrading;
the target node device is a node device which is in communication connection with the device to be upgraded and of which the direct OTA upgrade capability is in an enabled state.
45. The method as claimed in claim 43, wherein controlling the device to be upgraded to upgrade according to the upgrade mode comprises:
and if the upgrading mode is a direct OTA upgrading mode, directly transmitting the upgrading data to the equipment to be upgraded so as to carry out direct OTA upgrading on the equipment to be upgraded.
46. The method of claim 43, further comprising:
and providing the upgrade detail information of the equipment to be upgraded to a third party, wherein the upgrade detail information at least comprises upgrade progress information and upgrade result information.
47. The method as claimed in any one of claims 40 to 42, wherein upgrading the device to be upgraded according to the upgrading mode comprises:
and sending an upgrade notification to a server of a third party, wherein the upgrade notification comprises the identifier of the equipment to be upgraded and the upgrade mode description information so as to notify the server of the third party to upgrade the equipment to be upgraded by using upgrade data required by the equipment to be upgraded according to the upgrade mode.
48. The method of any one of claims 40-42, further comprising:
monitoring the running state information of the equipment provided by a third party;
and reporting the monitored running state information to a server of a third party.
49. An upgrade management apparatus, comprising: a memory and a processor;
the memory for storing a computer program;
the processor, coupled with the memory, to execute the computer program to:
determining equipment to be upgraded from equipment provided by a third party;
determining the upgrading mode of the equipment to be upgraded according to the type and/or function of the equipment to be upgraded;
and upgrading the equipment to be upgraded according to the upgrading mode.
50. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to carry out the steps of the method of any of claims 35-38 and 40-48.
CN201911056937.XA 2019-10-31 2019-10-31 OTA upgrading and upgrading management method, equipment, network and storage medium Active CN112751699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911056937.XA CN112751699B (en) 2019-10-31 2019-10-31 OTA upgrading and upgrading management method, equipment, network and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911056937.XA CN112751699B (en) 2019-10-31 2019-10-31 OTA upgrading and upgrading management method, equipment, network and storage medium

Publications (2)

Publication Number Publication Date
CN112751699A true CN112751699A (en) 2021-05-04
CN112751699B CN112751699B (en) 2023-04-28

Family

ID=75644952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911056937.XA Active CN112751699B (en) 2019-10-31 2019-10-31 OTA upgrading and upgrading management method, equipment, network and storage medium

Country Status (1)

Country Link
CN (1) CN112751699B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259928A (en) * 2021-05-08 2021-08-13 生迪智慧科技有限公司 OTA (over the air) upgrading method and device, electronic equipment, storage medium and program product
CN113923240A (en) * 2021-09-29 2022-01-11 江苏合力四通智能科技股份有限公司 System and method for dynamically upgrading equipment interface protocol in gateway of Internet of things by using local OTA method
CN114245319A (en) * 2021-12-03 2022-03-25 南京矽力微电子技术有限公司 Bluetooth Mesh-based enhanced broadcast concurrent OTA (over the air) firmware upgrading method
CN114546444A (en) * 2022-02-22 2022-05-27 阿波罗智能技术(北京)有限公司 Vehicle upgrading method and device, electronic equipment, medium and automatic driving vehicle
CN115442312A (en) * 2022-03-17 2022-12-06 北京车和家信息技术有限公司 Vehicle remote upgrading method, device, medium and equipment
WO2023051057A1 (en) * 2021-09-29 2023-04-06 华为技术有限公司 Chip upgrading method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729948A (en) * 2009-12-02 2010-06-09 中兴通讯股份有限公司 Remote upgrading method and system
CN101937533A (en) * 2010-09-08 2011-01-05 成都四方信息技术有限公司 OTA over the air technology-based integrated dispatch terminal support system working method
CN101997707A (en) * 2009-08-11 2011-03-30 Tcl集团股份有限公司 System and method for upgrading intelligent terminals in batches
CN103188164A (en) * 2011-12-31 2013-07-03 中国移动通信集团云南有限公司 Method, device and system for shunting peer node load based on upgraded client node
WO2014146256A1 (en) * 2013-03-19 2014-09-25 华为技术有限公司 Upgrade method, intelligent terminal, and upgrade system
CN105848190A (en) * 2016-05-24 2016-08-10 北京小米移动软件有限公司 OTA upgrading method and apparatus
CN106095511A (en) * 2016-06-20 2016-11-09 乐视控股(北京)有限公司 A kind of server updating method and apparatus
CN106603311A (en) * 2017-01-18 2017-04-26 北京洋浦伟业科技发展有限公司 OTA upgrade method, client, server and system
CN107579863A (en) * 2017-10-17 2018-01-12 锐捷网络股份有限公司 Terminal OTA upgrade methods, apparatus and system
CN108762792A (en) * 2018-06-21 2018-11-06 普联技术有限公司 Upgrading network equipment method, upgrade server, terminal device and storage medium
CN109769239A (en) * 2019-03-06 2019-05-17 乐鑫信息科技(上海)股份有限公司 Method for carrying out OTA firmware upgrade to the node in bluetooth Mesh network
WO2019180146A1 (en) * 2018-03-23 2019-09-26 Signify Holding B.V. A method of and devices for performing an over-the-air, ota, upgrade in a network of communicatively interconnected devices

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997707A (en) * 2009-08-11 2011-03-30 Tcl集团股份有限公司 System and method for upgrading intelligent terminals in batches
CN101729948A (en) * 2009-12-02 2010-06-09 中兴通讯股份有限公司 Remote upgrading method and system
CN101937533A (en) * 2010-09-08 2011-01-05 成都四方信息技术有限公司 OTA over the air technology-based integrated dispatch terminal support system working method
CN103188164A (en) * 2011-12-31 2013-07-03 中国移动通信集团云南有限公司 Method, device and system for shunting peer node load based on upgraded client node
WO2014146256A1 (en) * 2013-03-19 2014-09-25 华为技术有限公司 Upgrade method, intelligent terminal, and upgrade system
CN105848190A (en) * 2016-05-24 2016-08-10 北京小米移动软件有限公司 OTA upgrading method and apparatus
CN106095511A (en) * 2016-06-20 2016-11-09 乐视控股(北京)有限公司 A kind of server updating method and apparatus
CN106603311A (en) * 2017-01-18 2017-04-26 北京洋浦伟业科技发展有限公司 OTA upgrade method, client, server and system
CN107579863A (en) * 2017-10-17 2018-01-12 锐捷网络股份有限公司 Terminal OTA upgrade methods, apparatus and system
WO2019180146A1 (en) * 2018-03-23 2019-09-26 Signify Holding B.V. A method of and devices for performing an over-the-air, ota, upgrade in a network of communicatively interconnected devices
CN108762792A (en) * 2018-06-21 2018-11-06 普联技术有限公司 Upgrading network equipment method, upgrade server, terminal device and storage medium
CN109769239A (en) * 2019-03-06 2019-05-17 乐鑫信息科技(上海)股份有限公司 Method for carrying out OTA firmware upgrade to the node in bluetooth Mesh network

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259928A (en) * 2021-05-08 2021-08-13 生迪智慧科技有限公司 OTA (over the air) upgrading method and device, electronic equipment, storage medium and program product
CN113923240A (en) * 2021-09-29 2022-01-11 江苏合力四通智能科技股份有限公司 System and method for dynamically upgrading equipment interface protocol in gateway of Internet of things by using local OTA method
WO2023051057A1 (en) * 2021-09-29 2023-04-06 华为技术有限公司 Chip upgrading method and device
CN113923240B (en) * 2021-09-29 2023-09-15 江苏合力四通智能科技股份有限公司 System and method for dynamically upgrading equipment interface protocol in Internet of things gateway by utilizing local OTA method
CN114245319A (en) * 2021-12-03 2022-03-25 南京矽力微电子技术有限公司 Bluetooth Mesh-based enhanced broadcast concurrent OTA (over the air) firmware upgrading method
CN114546444A (en) * 2022-02-22 2022-05-27 阿波罗智能技术(北京)有限公司 Vehicle upgrading method and device, electronic equipment, medium and automatic driving vehicle
CN115442312A (en) * 2022-03-17 2022-12-06 北京车和家信息技术有限公司 Vehicle remote upgrading method, device, medium and equipment

Also Published As

Publication number Publication date
CN112751699B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN112751699B (en) OTA upgrading and upgrading management method, equipment, network and storage medium
US11395213B2 (en) Systems and methods for implementing multiple band service discovery
CN105471686B (en) Terminal control method, device and system
WO2020223854A1 (en) Device network configuration method and apparatus, electronic device and storage medium
CN108476060A (en) Method and bimodulus bluetooth equipment for establishing classical bluetooth connection between bimodulus bluetooth equipment
CN105049502B (en) The method and apparatus that device software updates in a kind of cloud network management system
US10908889B2 (en) Method, user equipment, and application server for downloading application
WO2015007245A1 (en) Cross-terminal downloading method, system, cloud server and terminal
WO2020168561A1 (en) Device network distribution method and apparatus, electronic device, and storage medium
CN110365704B (en) Equipment binding method and device and electronic equipment
US9425982B2 (en) Server and method for providing device management service and device receiving the device management service
JP2017523741A (en) Information providing method, apparatus, program, and recording medium
CN110972131A (en) Authorization and control method, device, system and storage medium
CN112469055A (en) Equipment network distribution method, related equipment and storage medium
CN104936258A (en) Network access method, terminal and system
WO2017088795A1 (en) Method and device for controlling smart appliance
WO2019080719A1 (en) Data processing method and device, storage medium, processor, and system
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
CN107872533B (en) Information-pushing method, device, server and storage medium
CN113965889B (en) Data processing, filtering information quantity determining and configuring method, equipment and medium
CN112953992A (en) Network system, communication and networking method, device and storage medium
CN110233908B (en) Method and device for directly connecting network cable of android play box with computer
CN114697977B (en) Intelligent household appliance network distribution system and method thereof
CN115113534A (en) Scene execution method and device, storage medium and electronic device
WO2023202029A1 (en) Tag data adjustment method and apparatus, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant