CN116132974A - Method, apparatus and storage medium for over-the-air in a multi-node device network - Google Patents

Method, apparatus and storage medium for over-the-air in a multi-node device network Download PDF

Info

Publication number
CN116132974A
CN116132974A CN202310067456.9A CN202310067456A CN116132974A CN 116132974 A CN116132974 A CN 116132974A CN 202310067456 A CN202310067456 A CN 202310067456A CN 116132974 A CN116132974 A CN 116132974A
Authority
CN
China
Prior art keywords
information
ota
unpacking
node
network
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.)
Pending
Application number
CN202310067456.9A
Other languages
Chinese (zh)
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.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co 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 Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN202310067456.9A priority Critical patent/CN116132974A/en
Publication of CN116132974A publication Critical patent/CN116132974A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • 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/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to the technical field of smart home, and discloses a method, equipment and a storage medium for over-the-air downloading in a multi-node equipment network. The multi-node device network comprises: a gateway device, and two or more node devices in near field wireless communication with the gateway device. The method comprises the following steps: unpacking the acquired over-the-air OTA data packet to be upgraded to obtain unpacking information of each OTA, wherein the unpacking information of the OTA comprises the following steps: unpacking OTA data, corresponding sequence identification information and unpacking offset address information; broadcasting each OTA unpacking information to the multi-node equipment network, so that each node equipment upgrades according to the OTA unpacking information obtained by monitoring; and receiving the upgrade feedback information reported by each node device. Thus, the OTA upgrading speed of the multi-node equipment is improved, and the probability of network congestion is reduced.

Description

Method, apparatus and storage medium for over-the-air in a multi-node device network
Technical Field
The present application relates to the technical field of smart home, for example, to a method, an apparatus, a device and a storage medium for over-the-air downloading in a multi-node device network.
Background
With the development of intelligent technology, over-the-Air (OTA) OTA technology of intelligent single products is indispensable. With OTA, the product can be ensured to be rapidly marketed to occupy the market, and the iteration of the product can be continuously improved, so that the market competitiveness of the product is improved.
In order to facilitate installation, reduce power consumption and the like, the intelligent single products in the intelligent home system mostly adopt a near-field radio frequency wireless communication scheme, such as zigbee, bluetooth, wiFi and the like. As shown in FIG. 1, the intelligent single products are used as node equipment of a wireless network to communicate with gateway equipment, and are connected to an IOT platform by proxy internet surfing of the gateway equipment, so that remote intelligent control and upgrading are realized.
However, the near-field radio frequency wireless communication technology has the characteristics of short communication distance, low speed, small transmission data volume and the like, an OTA of an intelligent node device needs to remotely download OTA packets through a gateway, then the OTA packets are split into a certain number of small packets, the small packets are transmitted to the node device one by one through the wireless communication technology, and the node device receives the data packets and then integrates the data packets into a complete OTA packet, and then OTA upgrading of the node device is carried out. The whole OTA upgrading process of a node device takes about 5-10 minutes due to the characteristics of low wireless communication rate, small data transmission amount and the like. In the intelligent home system, intelligent lamps, intelligent switches, electric curtains, security probes and the like of families are communicated with a gateway through zigbee or Bluetooth mesh, and because the quantity of intelligent products is large, the quantity of the intelligent products in a family reaches tens or hundreds, if the intelligent products are subjected to wireless OTA one by one through the gateway, the problems that the time consumption is long (for example, 5 minutes are required for upgrading one lamp, 500 minutes are required for 100 lamps), the wireless network is jammed (a large quantity of wireless data interaction exists during OTA upgrading) and the like exist, so that node equipment cannot be used for a long time.
It should be noted that the information disclosed in the foregoing background section is only for enhancing understanding of the background of the present application and thus may include information that does not form the prior art that is already known to those of ordinary skill in the art.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview, and is intended to neither identify key/critical elements nor delineate the scope of such embodiments, but is intended as a prelude to the more detailed description that follows.
The embodiment of the disclosure provides a method, a device, equipment and a storage medium for over-the-air downloading in a multi-node equipment network, which are used for solving the technical problems of low OTA (over the air) upgrading rate and network congestion of node equipment in the multi-node equipment network. The multi-node device network comprises: a gateway device, and two or more node devices in near field wireless communication with the gateway device.
In some embodiments, the method comprises:
unpacking the acquired over-the-air OTA data packet to be upgraded to obtain unpacking information of each OTA, wherein the unpacking information of the OTA comprises the following steps: unpacking OTA data, corresponding sequence identification information and unpacking offset address information;
broadcasting each OTA unpacking information to the multi-node equipment network, so that each node equipment upgrades according to the OTA unpacking information obtained by monitoring;
and receiving the upgrade feedback information reported by each node device.
In some embodiments, the apparatus for over-the-air downloading in a multi-node device network includes a processor and a memory storing program instructions, the processor being configured, when executing the program instructions, to perform the above-described method for over-the-air downloading in a multi-node device network.
In some embodiments, the gateway device comprises:
a gateway device body;
the above-mentioned apparatus for over-the-air downloading in a multi-node device network is installed in the gateway device body.
In some embodiments, the storage medium stores program instructions that, when executed, perform the above-described method for over-the-air in a multi-node device network.
The method, the device and the equipment for over-the-air downloading in the multi-node equipment network provided by the embodiment of the disclosure can realize the following technical effects:
in the multi-node equipment network, the gateway equipment can unpack the OTA data packet to be upgraded in the air and broadcast the unpacked OTA data packet to the multi-node equipment network, so that each node equipment can upgrade according to the OTA unpacked information obtained by monitoring, and the node equipment of the same type can be upgraded at the same time, thereby improving the OTA upgrading speed of the multi-node equipment and reducing the probability of network congestion.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which like reference numerals refer to similar elements, and in which:
FIG. 1 is a schematic diagram of a structure for a multi-node device network provided by an embodiment of the present disclosure;
FIG. 2 is a flow chart of an over-the-air method for a multi-node device network provided in an embodiment of the present disclosure;
FIG. 3 is a signaling interaction diagram for over-the-air download in a multi-node device network provided by an embodiment of the present disclosure;
FIG. 4 is a signaling interaction diagram for over-the-air download in a multi-node device network provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an over-the-air apparatus for a multi-node device network according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of an over-the-air apparatus for a multi-node device network according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a gateway device according to an embodiment of the disclosure.
Detailed Description
So that the manner in which the features and techniques of the disclosed embodiments can be understood in more detail, a more particular description of the embodiments of the disclosure, briefly summarized below, may be had by reference to the appended drawings, which are not intended to be limiting of the embodiments of the disclosure. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawing.
The terms first, second and the like in the description and in the claims of the embodiments of the disclosure and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe embodiments of the present disclosure. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The term "plurality" means two or more, unless otherwise indicated.
In the embodiment of the present disclosure, the character "/" indicates that the front and rear objects are an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes an object, meaning that there may be three relationships. For example, a and/or B, represent: a or B, or, A and B.
With development of intelligent technology, many home appliances are intelligent home appliances, and as shown in fig. 1, a node device serving as a wireless network communicates with a gateway device, and is connected to a cloud device by proxy internet access through the gateway device, for example: and the IOT platform realizes remote intelligent control and upgrading. In the embodiment of the disclosure, after unpacking an over-the-air OTA data packet to be upgraded, the gateway equipment can broadcast the over-the-air OTA data packet to a multi-node equipment network, so that each node equipment can be upgraded according to the OTA unpacking information obtained by monitoring, and thus, the node equipment of the same type can be upgraded at the same time, the OTA upgrading speed of the multi-node equipment is improved, and the probability of network congestion is reduced. And when the data packet is broadcast, the verification can be performed in a mode of monitoring broadcast response one by one, or in a mode of sending sequence verification information, so that the reliability of OTA upgrading is further improved.
Fig. 2 is a flow chart of an over-the-air method for a multi-node device network according to an embodiment of the present disclosure. As shown in fig. 2, the process of over-the-air downloading in a multi-node device network may include:
step 201: unpacking the acquired over-the-air OTA data packet to be upgraded to obtain unpacking information of each OTA, wherein the unpacking information of the OTA comprises the following steps: the method comprises unpacking OTA data, corresponding sequence identification information and unpacking offset address information.
The gateway device can obtain the upgrade package corresponding to each node device from the cloud device and download the upgrade package to the local. For node devices in the same type, for example: the intelligent lamp in the room, or the intelligent switch, or the security probe, etc., can determine an upgrade package corresponding to a node device of the same type as an over-the-air OTA data package to be upgraded each time, and then unpack the acquired over-the-air OTA data package to be upgraded to obtain unpacking information of each OTA, wherein the unpacking information of the OTA comprises: the method comprises unpacking OTA data, corresponding sequence identification information and unpacking offset address information.
Step 202: broadcasting each OTA unpacking information to a multi-node equipment network, so that each node equipment upgrades according to the OTA unpacking information obtained by monitoring.
In some embodiments, each OTA unpacking information may be broadcast to the multi-node device network in turn, and each time an OTA unpacking information is broadcast, a broadcast response of each node device in the updated whitelist in the network needs to be monitored, and according to the broadcast response, the next OTA unpacking information is broadcast continuously. The gateway device broadcasts the OTA unpacking information with the serial number identification information of n, can wait for the broadcast response of each node device in the upgrade white list in the network, can continue broadcasting the OTA unpacking information with the serial number identification information of n+1 after receiving the broadcast response of each node device in the upgrade white list, and if the broadcast response of one node device in the upgrade white list is not received, needs to send the first OTA unpacking information with the serial number identification information of n to the node device, and continues monitoring. Of course, if the broadcast response of the node device is still not received after the first OTA unpacking information with the sequence number identification information of "n" is sent multiple times, the node device needs to be removed from the upgrade white list, and the OTA unpacking information with the sequence number identification information of "n+1" is continuously broadcast.
Thus, broadcasting each OTA unpacking information into the multi-node device network includes: broadcasting the first OTA unpacking information to a multi-node equipment network; broadcasting second OTA unpacking information to a multi-node device network under the condition that broadcasting response of each node device in the upgrade white list is monitored; and determining that the second OTA unpacking information is arranged behind the first OTA unpacking information according to the sequence identification information. When the OTA unpacking information is broadcast for the first time, the node equipment information in the upgrade white list is matched with the node equipment information corresponding to the OTA data packet to be upgraded.
In some embodiments, under the condition that a broadcast response of a current node device in an upgrade white list is not monitored, adding 1 to a first broadcast frequency corresponding to first OTA unpacking information to obtain an updated first broadcast frequency; and under the condition that the updated first broadcasting times are smaller than the set times, sending the first OTA unpacking information to the current node equipment.
And if the updated first broadcast times are greater than the set times, it may indicate that the current node device is identified by OTA upgrade, and in some embodiments, the current node device is removed from the upgrade white list, and the second OTA unpacking information is broadcast to the multi-node device network. Thus, the OTA unpacking information required by other node equipment is continuously broadcast, and the other node equipment is continuously updated by OTA.
After each node device monitors the obtained OTA unpacking information, the network of the multi-node device can carry out corresponding OTA upgrading.
As shown in fig. 1, the multi-node device network further includes: the cloud device, here, is an IOT platform, further includes a user terminal, so in some embodiments, the gateway device broadcasts each OTA unpacking information to the multi-node device network, and simultaneously sends synchronization progress information to the user terminal application APP through the cloud device, where the synchronization progress information is determined according to the number of OTA unpacking information broadcast to the multi-node device network.
In some embodiments, each OTA unpacking information may be broadcast to the multi-node device network in a sequential or non-sequential manner, and after the OTA unpacking information is determined to be broadcast, sequence verification information may be broadcast, so that the node device performs whole package verification on the received OTA unpacking information according to the sequence verification information, and performs corresponding OTA upgrade after verification is successful.
Thus, broadcasting each OTA unpacking information into the multi-node device network includes: according to the sequence identification information, broadcasting each OTA unpacking information to a multi-node equipment network in sequence; and broadcasting an upgrade ending instruction carrying sequence checking information to the multi-node equipment network under the condition that the broadcasting of the OTA unpacking information is confirmed, wherein the sequence checking information is generated according to each sequence identification information.
After the node equipment monitors the obtained OTA unpacking information, and monitors and obtains an upgrading ending instruction, OTA upgrading can be carried out. In some embodiments, since the upgrade end instruction carries the sequence verification information, verification can be performed according to the sequence verification information and the sequence identification information corresponding to each OTA unpacking information, and after verification is successful, the unpacked OTA data in each OTA unpacking information can be combined and upgraded. And if the verification fails, each OTA unpacking message may be discarded.
Step 203: and receiving the upgrade feedback information reported by each node device.
The node equipment combines the unpacked OTA data in each OTA unpacking information according to the sequence identification information corresponding to each OTA unpacking information, then carries out OTA upgrading, generates upgrading success information after the upgrading is completed, and sends the upgrading success information to the gateway equipment, wherein version information can be carried in the upgrading success information. If the verification fails or the upgrade is not completed, upgrade failure information can be generated and sent to the gateway device, so that the gateway device can receive upgrade feedback information reported by each node device.
In some embodiments, the gateway receiving upgrade feedback information reported by each node device includes: the gateway equipment receives upgrading success information reported by the current node equipment, wherein the upgrading success information is generated by the current node after merging and upgrading the unpacked OTA data in each OTA unpacking information according to the sequence verification information and the sequence identification information in each obtained OTA unpacking information; the gateway equipment receives upgrade failure information reported by the current node equipment, wherein the upgrade failure information is generated by the current node according to sequence verification information and sequence identification information in each acquired OTA unpacking information in a monitoring mode, and after verification failure is determined, each OTA unpacking information is discarded.
Of course, in some embodiments, the gateway device may report version information carried in the upgrade feedback information reported by each node device to the user terminal application APP through the cloud device. Thus, the user can clearly know the OTA upgrading condition of the node equipment.
Therefore, in the embodiment of the disclosure, in the multi-node device network, the gateway device can unpack the over-the-air OTA data packet to be upgraded and broadcast the unpacked OTA data packet to the multi-node device network, so that each node device can upgrade according to the OTA unpacked information obtained by monitoring, and thus, the node devices of the same type can be upgraded at the same time, the OTA upgrading speed of the multi-node device is improved, the probability of network congestion is also reduced, and the broadcast OTA unpacked information can be checked in various modes, so that the reliability of OTA upgrading is further improved.
The following integrates the operation flow into a specific embodiment, and illustrates the over-the-air downloading process in the multi-node device network provided by the embodiment of the invention.
In this embodiment, as shown in fig. 1, the multi-node device network may include: the gateway device, the plurality of node devices, and also the cloud device, which may be an IOT platform, and the user terminal device are correspondingly configured with an APP.
Fig. 3 is a signaling interaction diagram for over-the-air downloading in a multi-node device network according to an embodiment of the present disclosure. With reference to fig. 3, the over-the-air download process in the multi-node device network includes:
step 301: the gateway equipment acquires an over-the-air OTA data packet matched with the node equipment and to be upgraded through the IOT platform, and downloads the OTA data packet to the local.
For example: in the intelligent home system, the intelligent switches need to be upgraded, namely gateway equipment can download corresponding OTA data packets to be upgraded on the air through an IOT platform, at the moment, a corresponding upgrading white list needing to be monitored can be equipment information of each intelligent switch which is in near-field radio frequency wireless communication with the gateway equipment.
Step 302: the gateway equipment unpacks the OTA data packet to be upgraded and obtains unpacking information of each OTA, wherein the unpacking information of the OTA comprises the following steps: the method comprises unpacking OTA data, corresponding sequence identification information and unpacking offset address information.
Step 303: the gateway equipment sequentially determines one OTA unpacking information as first OTA unpacking information, broadcasts the first OTA unpacking information to a multi-node equipment network and sends synchronization progress information to a user terminal application APP through an IOT platform.
Step 304: is the gateway device determining whether to monitor the broadcast response of each node device in the upgrade white list? If yes, go to step 309, otherwise, go to step 305.
Step 305: the gateway equipment acquires first broadcasting times corresponding to the current node equipment which does not monitor the first OTA unpacking information in the upgrading white list, and adds 1 to acquire updated first broadcasting times.
Step 306: the gateway device determines whether the updated first broadcast count is less than 5? If yes, go to step 307, otherwise, go to step 308.
Step 307: the gateway device sends the first OTA unpacking information to the current node device, and returns to step 304.
Step 308: the gateway device eliminates the current node device from the upgraded white list and returns to step 304.
Step 309: is the gateway device determining that all OTA unpacking information has been determined to be the first OTA unpacking information? If yes, go to step 310, otherwise, return to step 303.
Step 310: and the node equipment upgrades according to the received OTA unpacking information.
Step 311: the gateway equipment receives upgrade feedback information of the carried version information reported by each node equipment which is successfully upgraded, and reports the upgrade feedback information to the user terminal application APP through the IOT platform.
In this embodiment, after unpacking the over-the-air OTA data packet to be upgraded, the gateway device may broadcast the unpacked over-the-air OTA data packet to the multi-node device network, so that each node device upgrades according to the OTA unpacking information obtained by monitoring, and thus, the node devices of the same type may be upgraded at the same time, thereby improving the OTA upgrading speed of the multi-node device and reducing the probability of network congestion. And when the data packet is broadcast, the broadcast response can be checked in a way of monitoring the broadcast response one by one, so that the reliability of OTA upgrading is further improved.
In this embodiment, as shown in fig. 1, the multi-node device network may include: the gateway device, the plurality of node devices, and also the cloud device, which may be an IOT platform, and the user terminal device are correspondingly configured with an APP.
Fig. 4 is a signaling interaction diagram for over-the-air downloading in a multi-node device network provided by an embodiment of the present disclosure. In connection with fig. 4, the over-the-air download process in the multi-node device network includes:
step 401: the gateway equipment acquires an over-the-air OTA data packet matched with the node equipment and to be upgraded through the IOT platform, and downloads the OTA data packet to the local.
For example: in the intelligent home system, the intelligent lamps need to be updated, namely, gateway equipment can download corresponding OTA data packets to be updated in the air through an IOT platform, and node equipment can be each intelligent lamp adopting near-field radio frequency wireless communication with the gateway equipment.
Step 402: the gateway equipment unpacks the OTA data packet to be upgraded and obtains unpacking information of each OTA, wherein the unpacking information of the OTA comprises the following steps: the method comprises unpacking OTA data, corresponding sequence identification information and unpacking offset address information.
Step 403: the gateway equipment sequentially broadcasts each OTA unpacking information to the multi-node equipment network, and sends the synchronization progress information to the user terminal application APP through the IOT platform.
Step 404: is the gateway device determining that all OTA unpacking information has been broadcast? If yes, go to step 404, otherwise, return to step 403.
Step 405: the gateway device broadcasts an upgrade ending instruction carrying sequence checking information to the multi-node device network, wherein the sequence checking information is generated according to each sequence identification information.
Step 406: each node device performs verification according to the sequence verification information and the sequence identification information in each OTA unpacking information, and performs step 407 if the verification is successful, otherwise, performs step 409.
Step 407: and the node equipment combines and upgrades the unpacked OTA data in each OTA unpacking information according to the sequence identification information and the unpacking offset address information, and generates upgrading success information carrying version information.
Step 408: the gateway equipment receives the upgrade success information sent by the node equipment and reports the upgrade success information to the user terminal application APP through the IOT platform.
Step 409: and after discarding each OTA unpacking information, the node equipment generates upgrade failure information.
Step 410: after receiving the upgrade failure information sent by the node equipment, the network equipment sends an OTA data packet to be upgraded to the node equipment in a unicast mode.
In this embodiment, after unpacking the over-the-air OTA data packet to be upgraded, the gateway device may broadcast the unpacked over-the-air OTA data packet to the multi-node device network, so that each node device upgrades according to the OTA unpacking information obtained by monitoring, and thus, the node devices of the same type may be upgraded at the same time, thereby improving the OTA upgrading speed of the multi-node device and reducing the probability of network congestion. And when the data packet is broadcast, the verification can be carried out in a mode of sending sequence verification information, so that the reliability of OTA upgrading is further improved.
According to the above procedure for over-the-air downloading in a multi-node device network, an apparatus for over-the-air downloading in a multi-node device network can be constructed.
Fig. 5 is a schematic structural diagram of an over-the-air apparatus for a multi-node device network according to an embodiment of the present disclosure. As shown in fig. 5, the over-the-air downloading apparatus 500 for a multi-node device network includes: the acquisition splitting module 510, the broadcast upgrade module 520, and the receive feedback module 530.
The obtaining splitting module 510 is configured to unpack the obtained over-the-air OTA data packet to be upgraded to obtain each OTA unpacking information, where the OTA unpacking information includes: the method comprises unpacking OTA data, corresponding sequence identification information and unpacking offset address information.
The broadcast upgrade module 520 is configured to broadcast each OTA unpacking information to the multi-node device network, so that each node device upgrades according to the OTA unpacking information obtained by monitoring.
And a receiving feedback module 530, configured to receive the upgrade feedback information reported by each node device.
In some embodiments, the broadcast upgrade module 520 includes:
and a first broadcasting unit configured to broadcast the first OTA unpacking information into the multi-node device network.
A second broadcasting unit configured to broadcast second OTA unpacking information into the multi-node device network in case of monitoring a broadcast response of each node device in the upgrade white list; and determining that the second OTA unpacking information is arranged behind the first OTA unpacking information according to the sequence identification information.
In some embodiments, the broadcast upgrade module 520 further comprises: the updating sending unit is configured to add 1 to a first broadcasting frequency corresponding to the first OTA unpacking information under the condition that the broadcasting response of the current node equipment in the updating white list is not monitored, so as to obtain updated first broadcasting frequency; and under the condition that the updated first broadcasting times are smaller than the set times, sending the first OTA unpacking information to the current node equipment.
In some embodiments, the broadcast upgrade module 520 further comprises: and the rejecting broadcast unit is configured to reject the current node equipment from the upgrading white list and broadcast the second OTA unpacking information to the multi-node equipment network under the condition that the updated first broadcast times are larger than the set times.
In some embodiments, the broadcast upgrade module 520 includes:
and the sequential broadcasting unit is configured to sequentially broadcast each OTA unpacking information to the multi-node equipment network according to the sequence identification information.
And the verification broadcasting unit is configured to broadcast an upgrade ending instruction carrying sequence verification information to the multi-node equipment network under the condition that the broadcasting of the OTA unpacking information is confirmed, wherein the sequence verification information is generated according to each sequence identification information.
In some embodiments, the receive feedback module 530 includes:
the first receiving unit is configured to receive upgrade success information reported by the current node equipment, wherein the upgrade success information is generated by combining and upgrading unpacked OTA data in each OTA unpacking information according to sequence verification information of the current node and sequence identification information in each obtained OTA unpacking information after the verification success is determined.
The second receiving unit is configured to receive upgrade failure information reported by the current node equipment, wherein the upgrade failure information is generated by the current node according to sequence verification information and monitoring sequence identification information in each acquired OTA unpacking information to verify, and discarding each OTA unpacking information after determining that verification fails.
In some embodiments, further comprising: and the unicast upgrading module is configured to send the over-the-air OTA data packet to be upgraded to the current node equipment so that the current node equipment is upgraded.
In some embodiments, further comprising: the progress synchronization module is configured to send synchronization progress information to the user terminal application APP through the cloud device, wherein the synchronization progress information is determined according to the number of OTA unpacking information broadcasted to the multi-node device network.
The version reporting module is configured to report version information carried in the upgrade feedback information reported by each node device to the user terminal application APP through the cloud device.
In this embodiment, in the multi-node device network, the device for over-the-air downloading in the gateway device may unpack the over-the-air downloading OTA data packet to be upgraded and broadcast the unpacked over-the-air downloading OTA data packet to the multi-node device network, so that each node device upgrades according to the OTA unpacking information obtained by monitoring, and thus, the node devices of the same type can be upgraded at the same time, so that the speed of upgrading the OTA of the multi-node device is improved, and the probability of network congestion is reduced. And when the data packet is broadcast, the verification can be performed in a mode of monitoring broadcast response one by one, or in a mode of sending sequence verification information, so that the reliability of OTA upgrading is further improved.
An embodiment of the present disclosure provides an apparatus 600 for over-the-air downloading in a multi-node device network, the structure of which is shown in fig. 7, including:
a processor (processor) 1000 and a memory (memory) 1001, and may also include a communication interface (Communication Interface) 1002 and a bus 1003. The processor 1000, the communication interface 1002, and the memory 1001 may communicate with each other via the bus 1003. The communication interface 1002 may be used for information transfer. Processor 1000 may invoke logic instructions in memory 1001 to perform the method for over-the-air downloading in a multi-node device network of the above-described embodiments.
Further, the logic instructions in the memory 1001 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product.
The memory 1001 is used as a computer readable storage medium for storing a software program and a computer executable program, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 1000 performs functional applications and data processing by running program instructions/modules stored in the memory 1001, i.e. implements the method for over-the-air downloading in a multi-node device network in the method embodiments described above.
The memory 1001 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal device, etc. In addition, the memory 1001 may include a high-speed random access memory, and may also include a nonvolatile memory.
The embodiment of the disclosure provides an over-the-air downloading device for a multi-node equipment network, which comprises: a processor and a memory storing program instructions, the processor being configured to perform a method for over-the-air in a multi-node device network when the program instructions are executed.
In connection with fig. 7, an embodiment of the present disclosure provides a gateway apparatus 700, including: a gateway device body; the above-described apparatus 500 (600) for over-the-air in a multi-node device network. An over-the-air apparatus 500 (600) for use in a multi-node device network is installed in the gateway device body. The mounting relationships described herein are not limited to placement within a product, but include mounting connections to other components of a product, including but not limited to physical, electrical, or signal transmission connections, etc. Those skilled in the art will appreciate that the over-the-air apparatus 500 (600) for use in a multi-node device network may be adapted to a viable gateway device body to implement other viable embodiments.
The disclosed embodiments provide a storage medium storing program instructions that, when executed, perform a method for over-the-air downloading in a multi-node device network as described above.
The disclosed embodiments provide a computer program product comprising a computer program stored on a storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for over-the-air in a multi-node device network.
The storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
Embodiments of the present disclosure may be embodied in a software product stored on a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of a method according to embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium including: a plurality of media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or a transitory storage medium.
The above description and the drawings illustrate embodiments of the disclosure sufficiently to enable those skilled in the art to practice them. Other embodiments may involve structural, logical, electrical, process, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in, or substituted for, those of others. The scope of the embodiments of the present disclosure encompasses the full ambit of the claims, as well as all available equivalents of the claims. When used in this application, although the terms "first," "second," etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without changing the meaning of the description, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first element and the second element are both elements, but may not be the same element. Moreover, the terminology used in the present application is for the purpose of describing embodiments only and is not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a," "an," and "the" (the) are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, when used in this application, the terms "comprises," "comprising," and/or "includes," and variations thereof, mean that the stated features, integers, steps, operations, elements, and/or components are present, but that the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof is not precluded. Without further limitation, an element defined by the phrase "comprising one …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements. In this context, each embodiment may be described with emphasis on the differences from the other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, the description of the method sections may be referred to for relevance.
Those of skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The skilled artisan may use different methods for each particular application to achieve the described functionality, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments disclosed herein, the disclosed methods, articles of manufacture (including but not limited to devices, apparatuses, etc.) may be practiced in other ways. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units may be merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to implement the present embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than that disclosed in the description, and sometimes no specific order exists between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, they may sometimes be performed in reverse order, which may be dependent on the functions involved. Each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (11)

1. A method for over-the-air downloading in a multi-node device network, comprising: a gateway device, and two or more node devices in near field wireless communication with the gateway device, the method comprising:
unpacking the acquired over-the-air OTA data packet to be upgraded to obtain unpacking information of each OTA, wherein the unpacking information of the OTA comprises the following steps: unpacking OTA data, corresponding sequence identification information and unpacking offset address information;
broadcasting each OTA unpacking information to the multi-node equipment network, so that each node equipment upgrades according to the OTA unpacking information obtained by monitoring;
and receiving the upgrade feedback information reported by each node device.
2. The method of claim 1, wherein broadcasting each of the OTA unpacking information into the multi-node device network comprises:
broadcasting first OTA unpacking information to the multi-node equipment network;
broadcasting second OTA unpacking information to the multi-node device network under the condition that broadcasting response of each node device in the upgrade white list is monitored; and determining that the second OTA unpacking information is arranged after the first OTA unpacking information according to the sequence identification information.
3. The method as recited in claim 2, further comprising:
under the condition that the broadcast response of the current node equipment in the upgrading white list is not monitored, adding 1 to a first broadcast frequency corresponding to the first OTA unpacking information to obtain updated first broadcast frequency;
and under the condition that the updated first broadcasting times are smaller than the set times, sending the first OTA unpacking information to the current node equipment.
4. A method according to claim 3, further comprising:
and under the condition that the updated first broadcasting times are larger than the set times, eliminating the current node equipment from the upgrading white list, and broadcasting second OTA unpacking information into the multi-node equipment network.
5. The method of claim 1, wherein broadcasting each of the OTA unpacking information into the multi-node device network comprises:
broadcasting each OTA unpacking information to the multi-node equipment network in sequence according to the sequence identification information;
and broadcasting an upgrade ending instruction carrying sequence checking information to the multi-node equipment network under the condition that the OTA unpacking information is determined to be completely broadcast, wherein the sequence checking information is generated according to each sequence identification information.
6. The method of claim 5, wherein receiving the upgrade feedback information reported by each node device comprises:
receiving upgrading success information reported by current node equipment, wherein the upgrading success information is generated by the current node after merging and upgrading unpacked OTA data in each OTA unpacking information according to the sequence verification information and the sequence identification information in each obtained OTA unpacking information;
and receiving upgrading failure information reported by current node equipment, wherein the upgrading failure information is generated by the current node according to the sequence verification information and monitoring the sequence identification information in each acquired OTA unpacking information to verify, and discarding each OTA unpacking information after determining that verification fails.
7. The method of claim 6, wherein after receiving the upgrade failure information reported by the current node device, further comprising:
and sending the over-the-air OTA data packet to be upgraded to the current node equipment so that the current node equipment is upgraded.
8. The method of any one of claims 1-7, further comprising:
transmitting synchronization progress information to a user terminal Application (APP) through cloud equipment, wherein the synchronization progress information is determined according to the number of the OTA unpacking information broadcasted to the multi-node equipment network;
and reporting version information carried in the upgrade feedback information reported by each node device to the user terminal Application (APP) through the cloud device.
9. An apparatus for over-the-air downloading in a multi-node device network, the apparatus comprising a processor and a memory storing program instructions, wherein the processor is configured, when executing the program instructions, to perform the method for over-the-air downloading in a multi-node device network as claimed in any of claims 1 to 8.
10. A gateway device, comprising:
a gateway device body;
the apparatus for over-the-air downloading in a multi-node device network as recited in claim 9, being installed in the gateway device body.
11. A storage medium storing program instructions which, when executed, perform a method for over-the-air downloading in a multi-node device network as claimed in any one of claims 1 to 8.
CN202310067456.9A 2023-01-17 2023-01-17 Method, apparatus and storage medium for over-the-air in a multi-node device network Pending CN116132974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310067456.9A CN116132974A (en) 2023-01-17 2023-01-17 Method, apparatus and storage medium for over-the-air in a multi-node device network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310067456.9A CN116132974A (en) 2023-01-17 2023-01-17 Method, apparatus and storage medium for over-the-air in a multi-node device network

Publications (1)

Publication Number Publication Date
CN116132974A true CN116132974A (en) 2023-05-16

Family

ID=86304342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310067456.9A Pending CN116132974A (en) 2023-01-17 2023-01-17 Method, apparatus and storage medium for over-the-air in a multi-node device network

Country Status (1)

Country Link
CN (1) CN116132974A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954643A (en) * 2023-06-02 2023-10-27 深圳市华芯控股有限公司 On-demand and multicast firmware upgrading method based on CAN bus ad hoc network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954643A (en) * 2023-06-02 2023-10-27 深圳市华芯控股有限公司 On-demand and multicast firmware upgrading method based on CAN bus ad hoc network system
CN116954643B (en) * 2023-06-02 2024-04-05 深圳市华芯控股有限公司 On-demand and multicast firmware upgrading method based on CAN bus ad hoc network system

Similar Documents

Publication Publication Date Title
CN110460573B (en) ECU security upgrade management system and method applied to automobile
CN110471692B (en) Over-the-air upgrading method, device, equipment and storage medium of terminal program
CN111209026B (en) Mobile terminal, power adapter and upgrading method thereof
CN101593119B (en) Method and device for firmware over-the-air of exclusive flash memory combined equipment
CN103685487A (en) Child node updating method in wireless communication network
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN116132974A (en) Method, apparatus and storage medium for over-the-air in a multi-node device network
CN113721966B (en) Node upgrading method and device, storage medium and electronic device
CN107204924B (en) Link discovery method and device
CN104317564A (en) Method and device for updating feature phone software
KR101083547B1 (en) Method of upgrading firmware and system for the same
CN113434293A (en) Method and apparatus for processing repeat request, storage medium, and electronic apparatus
CN112286556A (en) Communication equipment and remote upgrading method of MCU thereof
US9781010B2 (en) Managing remote devices
CN103401956A (en) Address assigning method, data transmission method, indoor unit, outdoor unit and air-conditioning system
CN114884935A (en) Data upgrading method and device, electronic equipment and storage medium
CN108366131B (en) Data transmission method, device, terminal and storage medium
CN103825937A (en) Method, device and system for controlling data updating of embedded equipment
CN108924207A (en) Terminal device and its system file update method, system and computer storage medium
CN112422485B (en) Communication method and device of transmission control protocol
CN104580360A (en) System and method for updating firmware through heterogeneous network
CN111141015A (en) Remote air conditioner control method
CN107171915B (en) Communication protocol changing method and device
CN111506356A (en) Electronic message adaptation
CN114326673A (en) Vehicle remote diagnosis method and device, connector 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