CN114363874A - Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system - Google Patents

Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system Download PDF

Info

Publication number
CN114363874A
CN114363874A CN202111682216.7A CN202111682216A CN114363874A CN 114363874 A CN114363874 A CN 114363874A CN 202111682216 A CN202111682216 A CN 202111682216A CN 114363874 A CN114363874 A CN 114363874A
Authority
CN
China
Prior art keywords
path
bluetooth mesh
firmware
firmware upgrading
upgrading
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
CN202111682216.7A
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.)
Gongniu Group Co Ltd
Original Assignee
Gongniu Group 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 Gongniu Group Co Ltd filed Critical Gongniu Group Co Ltd
Priority to CN202111682216.7A priority Critical patent/CN114363874A/en
Publication of CN114363874A publication Critical patent/CN114363874A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a firmware upgrading method, a Bluetooth mesh networking system and a Bluetooth system. The method comprises the following steps: constructing an associated equipment list, wherein an equipment association relation is stored in the associated equipment list and is used for representing equipment information of the Bluetooth mesh equipment; determining a target Bluetooth mesh device to be subjected to firmware upgrading; determining a firmware upgrading path at least according to the associated equipment list, wherein the starting point of the firmware upgrading path is a mesh gateway, and the end point of the firmware upgrading path is a target Bluetooth mesh equipment; and sending the firmware upgrading packet to the target Bluetooth mesh equipment according to the firmware upgrading path so as to realize firmware upgrading. The method only sends the firmware upgrading packet to the target Bluetooth mesh device, and the target Bluetooth mesh device does not need to occupy a channel for long time for upgrading, so that the problem of low OTA firmware upgrading efficiency of the Bluetooth mesh device in the prior art is solved.

Description

Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system
Technical Field
The present application relates to the field of networks, and in particular, to a firmware upgrade method, a bluetooth mesh networking system, a bluetooth system, a computer-readable storage medium, and a processor.
Background
The existing OTA firmware upgrading method of the Bluetooth Mesh equipment is mainly characterized in that a Bluetooth Mesh gateway communicates with the Bluetooth Mesh equipment in a Mesh Beacon mode to realize upgrading. The method occupies the original channel, the OTA firmware upgrading efficiency is low, the time consumption is long, and the original stability of the Mesh system can be influenced.
Disclosure of Invention
The application mainly aims to provide a firmware upgrading method, a Bluetooth mesh networking system, a Bluetooth system, a computer readable storage medium and a processor, so as to solve the problem that in the prior art, the OTA firmware upgrading efficiency of Bluetooth mesh equipment is low.
In order to achieve the above object, according to one aspect of the present application, there is provided a firmware upgrading method applied to a bluetooth mesh networking system, where the bluetooth mesh networking system includes a mesh gateway and a plurality of bluetooth mesh devices, and the method includes: constructing an associated device list, wherein a device association relationship is stored in the associated device list, the device association relationship is used for representing device information of two Bluetooth mesh devices capable of performing point-to-point communication, and the device information at least comprises the model of the Bluetooth mesh devices; determining a target Bluetooth mesh device to be subjected to firmware upgrading; determining a firmware upgrading path at least according to the associated device list, wherein the starting point of the firmware upgrading path is the mesh gateway, the end point of the firmware upgrading path is the target Bluetooth mesh device, and the relay point is a non-target Bluetooth mesh device under the condition that the firmware upgrading path has the relay point; and controlling to send the firmware upgrading packet to the target Bluetooth mesh equipment according to the firmware upgrading path so as to realize firmware upgrading.
Optionally, determining a firmware upgrade path according to at least the associated device list includes: obtaining a path generation principle, wherein the path generation principle comprises at least one of the following: the method comprises the following steps of (1) a shortest path principle, a principle of maximum signal strength under the condition of the same path length, and a busy node avoidance principle, wherein the busy node refers to the condition that the Bluetooth mesh equipment is processing related transactions; and determining the firmware upgrading path according to the path generating principle and the associated equipment list.
Optionally, determining the firmware upgrade path according to the path generation principle and the associated device list includes: determining the shortest path in a plurality of alternative upgrading paths as the firmware upgrading path under the condition that the alternative upgrading paths are available and the busy node does not exist in all the alternative upgrading paths; determining the shortest path with the largest signal strength as the firmware upgrade path if a plurality of shortest paths exist.
Optionally, determining the firmware upgrade path according to the path generation principle and the associated device list includes: and determining the second alternative path as the firmware upgrading path under the condition that two alternative paths exist, the first alternative path is shorter than the second alternative path, the busy node exists in the first alternative path, and the busy node does not exist in the second alternative path.
Optionally, the firmware upgrade packet is sent to the target bluetooth mesh device based on the firmware upgrade path control, so as to implement the firmware upgrade process, and the method further includes: sending the firmware upgrading packet and the firmware upgrading path to all nodes on the firmware upgrading path, wherein the nodes comprise the mesh gateway, the target Bluetooth mesh equipment and/or the non-target Bluetooth mesh equipment; after the firmware upgrade package and the firmware upgrade path are sent to all nodes on the firmware upgrade path and before firmware upgrade is carried out, all the nodes are set to be in a busy state.
Optionally, after all the nodes are set to a busy state, the method further includes: and after the current node successfully sends the firmware upgrading packet to the next node, setting the current node in an idle state.
Optionally, after setting the current node to the idle state, the method further includes: generating prompt information, wherein the prompt information is used for prompting that the current node is in the idle state; and sending the prompt message to the mesh gateway.
According to another aspect of the application, a bluetooth mesh networking system is provided, including mesh gateway, a plurality of bluetooth mesh equipment and high in the clouds equipment, high in the clouds equipment respectively with mesh gateway with bluetooth mesh equipment communicates, high in the clouds equipment includes: the device association relation is used for representing device information of two Bluetooth mesh devices capable of performing point-to-point communication, and the device information at least comprises the models of the Bluetooth mesh devices; the first determining unit is used for determining a target Bluetooth mesh device to be subjected to firmware upgrading; a second determining unit, configured to determine a firmware upgrade path at least according to the associated device list, where a starting point of the firmware upgrade path is the mesh gateway, an end point of the firmware upgrade path is the target bluetooth mesh device, and a relay point is a non-target bluetooth mesh device when the firmware upgrade path has the relay point; and the control unit is used for controlling the firmware upgrading packet to be sent to the target Bluetooth mesh equipment according to the firmware upgrading path so as to realize firmware upgrading.
According to another aspect of the application, a bluetooth system is provided, which comprises a mesh gateway, a plurality of bluetooth mesh devices and a cloud device, wherein the cloud device is respectively communicated with the mesh gateway and the bluetooth mesh devices, and the cloud device is used for any one of the methods.
According to yet another aspect of the present application, there is provided a computer-readable storage medium comprising a stored program, wherein the program, when executed, controls the method of any one of the devices in which the computer-readable storage medium is located.
According to another aspect of the application, a processor for running a program is provided, wherein the program when running performs any of the methods.
According to the technical scheme, firstly, an associated equipment list is established, equipment association relations are stored in the associated equipment list, and the equipment association relations are used for representing equipment information of the Bluetooth mesh equipment; then, determining a target Bluetooth mesh device to be subjected to firmware upgrading; then, determining a firmware upgrading path at least according to the associated equipment list, wherein the starting point of the firmware upgrading path is a mesh gateway, and the end point of the firmware upgrading path is a target Bluetooth mesh equipment; and finally, sending the firmware upgrading packet to the target Bluetooth mesh device according to the firmware upgrading path so as to realize firmware upgrading. According to the method, a firmware upgrading path is generated according to the device association relation in the association device list, and a firmware upgrading packet is sent to a target Bluetooth Mesh device needing firmware upgrading according to the firmware upgrading path.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 shows a flow diagram of a firmware upgrade method according to an embodiment of the present application;
fig. 2 shows a schematic structural diagram of a cloud device according to an embodiment of the present application;
fig. 3 is a structural diagram of a bluetooth mesh networking system according to an embodiment of the present application;
fig. 4 is a structural diagram of another bluetooth mesh networking system according to an embodiment of the present application;
FIG. 5 is a path diagram of a firmware upgrade determined according to the shortest path principle according to an embodiment of the present application;
FIG. 6 is a path diagram of a firmware upgrade determined according to the signal strength maximization principle with the same path length according to an embodiment of the present application;
fig. 7 is a block diagram of a bluetooth mesh networking system with busy nodes according to an embodiment of the present application;
FIG. 8 is a path diagram of a firmware upgrade determined according to a avoid busy node principle according to an embodiment of the present application;
FIG. 9 is a path diagram of a firmware upgrade with a firmware upgrade path set to a busy state according to an embodiment of the application;
10-13 are path diagrams of firmware upgrades for steps of setting a firmware upgrade path to an idle state according to embodiments of the application;
fig. 14 is a structural diagram of a bluetooth mesh networking system including a bluetooth low energy mesh device according to an embodiment of the present application;
fig. 15 to 16 are path diagrams of firmware upgrade of steps of transmitting a firmware upgrade package to a bluetooth low energy mesh device according to an embodiment of the present application.
Wherein the figures include the following reference numerals:
200. a mesh gateway; 201. a Bluetooth mesh device; 202. a first bluetooth mesh device; 203. a second bluetooth mesh device; 204. a third bluetooth mesh device; 205. a fourth bluetooth mesh device; 206. a fifth Bluetooth mesh device; 207. bluetooth low energy mesh device.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all 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.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be understood that when an element such as a layer, film, region, or substrate is referred to as being "on" another element, it can be directly on the other element or intervening elements may also be present. Also, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element or "connected" to the other element through a third element.
As mentioned in the background, the OTA firmware upgrade efficiency of the bluetooth mesh device in the prior art is low, and in order to solve the above problems, in an exemplary embodiment of the present application, a firmware upgrade method, a bluetooth mesh networking system, a bluetooth system, a computer readable storage medium and a processor are provided.
According to an embodiment of the present application, a firmware upgrade method is provided, where the method is applied to a bluetooth mesh networking system, fig. 3 is a structural diagram of the bluetooth mesh networking system according to the embodiment of the present application, and as shown in fig. 3, the bluetooth mesh networking system includes a mesh gateway 200 and a plurality of bluetooth mesh devices 201. Fig. 1 is a flowchart of a firmware upgrade method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, constructing an associated device list, wherein the associated device list stores a device association relationship, the device association relationship is used for representing device information of two Bluetooth mesh devices 201 capable of performing point-to-point communication, and the device information at least comprises the models of the Bluetooth mesh devices 201;
step S102, determining a target Bluetooth mesh device 201 to be subjected to firmware upgrading;
step S103, determining a firmware upgrade path at least according to the associated device list, where a starting point of the firmware upgrade path is the mesh gateway 200, an end point of the firmware upgrade path is the target bluetooth mesh device 201, and when the firmware upgrade path has a relay point, the relay point is a non-target bluetooth mesh device 201;
and step S104, controlling to send the firmware upgrading packet to the target Bluetooth mesh device 201 according to the firmware upgrading path so as to realize firmware upgrading.
Firstly, constructing an associated equipment list, wherein an equipment association relation is stored in the associated equipment list and is used for representing equipment information of the Bluetooth mesh equipment; then, determining a target Bluetooth mesh device to be subjected to firmware upgrading; then, determining a firmware upgrading path at least according to the associated equipment list, wherein the starting point of the firmware upgrading path is a mesh gateway, and the end point of the firmware upgrading path is a target Bluetooth mesh equipment; and finally, sending the firmware upgrading packet to the target Bluetooth mesh device according to the firmware upgrading path so as to realize firmware upgrading. According to the method, a firmware upgrading path is generated according to the device association relation in the association device list, and a firmware upgrading packet is sent to a target Bluetooth Mesh device needing firmware upgrading according to the firmware upgrading path.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The device information includes not only the model of the bluetooth mesh device but also information such as signal strength between two bluetooth mesh devices.
The firmware upgrade package can be generated according to the requirements of a user and then stored in the cloud equipment. Of course, in practical applications, the firmware upgrade package may also be stored in other locations, and those skilled in the art may set the firmware upgrade package according to practical situations.
In an embodiment of the present application, determining a firmware upgrade path according to at least the associated device list includes: obtaining a path generation principle, where the path generation principle includes at least one of the following: the method comprises the following steps of (1) a shortest path principle, a principle of maximum signal strength under the condition of the same path length, and a busy node avoidance principle, wherein the busy node refers to the condition that the Bluetooth mesh equipment is processing related transactions; and determining the firmware upgrading path according to the path generating principle and the associated equipment list. In this embodiment, the firmware upgrade path is determined according to the path generation principle and the associated device list, so that the upgrade path is shorter, the signal strength is better, and the transmission of the firmware upgrade package is faster, thereby further improving the OTA firmware upgrade efficiency of the bluetooth mesh device.
The shortest path principle is to select the firmware upgrading path with the least nodes; the principle that the signal strength is the maximum under the condition that the path lengths are the same is to select a firmware upgrading path with the best signal quality under the condition that the path lengths are the same; the principle of avoiding busy nodes is to select a firmware upgrade path without busy nodes.
In order to further improve the OTA firmware upgrade efficiency of the bluetooth mesh device, in another embodiment of the present application, determining the firmware upgrade path according to the path generation principle and the associated device list includes: determining the shortest path of a plurality of alternative upgrading paths as the firmware upgrading path under the condition that the alternative upgrading paths have a plurality of alternative upgrading paths and the busy nodes do not exist in all the alternative upgrading paths; and if a plurality of shortest paths exist, determining the shortest path with the maximum signal strength as the firmware upgrade path.
As shown in fig. 4, the mesh gateway 200, the first bluetooth mesh device 202, and the fourth bluetooth mesh device 205 may establish a first-level interconnection, and the signal quality: a first bluetooth mesh device 202(-20dbm), a fourth bluetooth mesh device 205(-35 dbm);
the first bluetooth mesh device 202, the mesh gateway 200, the second bluetooth mesh device 203, and the fifth bluetooth mesh device 206 may establish a first-level interconnection, and the signal quality is as follows: a mesh gateway 200(-20dbm), a second bluetooth mesh device 203(-40dbm), a fifth bluetooth mesh device 206(-15 dbm);
the second bluetooth mesh device 203, the first bluetooth mesh device 202 and the third bluetooth mesh device 204 may establish a first-level interconnection, and the signal quality: a first bluetooth mesh device 202(-40dbm), a third bluetooth mesh device 204(-35 dbm);
the third bluetooth mesh device 204, the second bluetooth mesh device 203 and the fourth bluetooth mesh device 205 may establish a first-level interconnection, and the signal quality: a second bluetooth mesh device 203(-35dbm), a fourth bluetooth mesh device 205(-42 dbm);
the fourth bluetooth mesh device 205, the third bluetooth mesh device 204, the fifth bluetooth mesh device 206, and the mesh gateway 200 may establish a first-level interconnection, and the signal quality is as follows: a third bluetooth mesh device 204(-42dbm), a fifth bluetooth mesh device 206(-13dbm), a mesh gateway 200(-37 dbm);
the fifth bluetooth mesh device 206, the first bluetooth mesh device 202, and the fourth bluetooth mesh device 205 may establish a first-level interconnection, and the signal quality: a first bluetooth mesh device 202(-13dbm), a fourth bluetooth mesh device 205(-15 dbm);
when no busy node exists in the network:
example 1, selecting an alternative path for OTA upgrade of the second bluetooth mesh device 203:
the number of the alternative path I links is 2, and the number of the alternative path II links is 3; based on the shortest path rule, alternative path one is selected, as shown in fig. 5.
Example 2, selecting an alternative path for OTA upgrade of the fifth bluetooth mesh device 206:
alternative path one, the mesh gateway 200 → the first bluetooth mesh device 202(-20dbm) → the fifth bluetooth mesh device 206(-15 dbm);
alternative path two, mesh gateway 200 → fourth bluetooth mesh device 205(-35dbm) → fifth bluetooth mesh device 206(-13 dbm);
the link number of the alternative path I and the link number of the alternative path II are both 2, the sum of the signal quality of the alternative path I is-35 dbm, and the sum of the signal quality of the alternative path II is-48 dbm; since-35 dbm > -48dbm, alternative path one is chosen, as shown in fig. 6, according to the principle that the signal strength is the greatest with the same path length.
In another embodiment of the application, determining the firmware upgrade path according to the path generation rule and the associated device list includes: and determining the second alternative path as the firmware upgrading path under the condition that two alternative paths exist, the first alternative path is shorter than the second alternative path, the busy node exists in the first alternative path, and the busy node does not exist in the second alternative path. When the busy node exists in the alternative path, the time for transmitting the firmware upgrade package is increased, so that the alternative path without the busy node is preferentially selected, and the firmware upgrade efficiency is further improved.
As shown in fig. 7, the hatching indicates that the bluetooth mesh device is busy, and the first bluetooth mesh device 202 and the fifth bluetooth mesh device 206 are busy.
Example 1: selecting a link path for performing OTA upgrade on the second bluetooth mesh device 203:
alternative path one, the mesh gateway 200 → the first bluetooth mesh device 202 → the second bluetooth mesh device 203;
alternative path two, mesh gateway 200 → fourth bluetooth mesh device 205 → third bluetooth mesh device 204 → second bluetooth mesh device 203;
the number of the alternative path I links is 2, and the number of the alternative path II links is 3;
according to the shortest link principle, a first alternative path should be selected, but the first bluetooth mesh device 202 on the first alternative path is in a busy state at this time and is not selectable, so that only a second alternative path can be selected, as shown in fig. 8;
in another embodiment of the present application, based on the firmware upgrade path control, the method further includes: sending the firmware upgrade package and the firmware upgrade path to all nodes on the firmware upgrade path, wherein the nodes comprise the mesh gateway, the target Bluetooth mesh device and/or the non-target Bluetooth mesh device; after the firmware upgrade package and the firmware upgrade path are sent to all nodes on the firmware upgrade path and before the firmware upgrade is carried out, all the nodes are set to be in a busy state. In this embodiment, all nodes on the firmware upgrade path are set to be in a busy state, so that when firmware upgrade is performed on other target bluetooth mesh devices, other nodes can be selected as the firmware upgrade path, thereby avoiding transmission time increase caused by passing through the nodes, and further improving the OTA firmware upgrade efficiency of the bluetooth mesh devices.
As shown in fig. 9, the hatching indicates that the bluetooth mesh device is in a busy state, and if the alternative path two (the mesh gateway 200 → the fourth bluetooth mesh device 205 → the third bluetooth mesh device 204 → the second bluetooth mesh device 203) is selected as the firmware upgrade path, the bluetooth mesh device in the alternative path is set to be in the busy state.
In another embodiment of the present application, after all the nodes are set to a busy state, the method further includes: and after the current node successfully sends the firmware upgrade package to the next node, setting the current node in an idle state. After the current node successfully sends the firmware upgrade package to the next node, the current node is indicated to have been successfully transmitted, and no relevant transaction is processed at this time, so the current node is set to an idle state to prompt that the current node of the system can be used as a node in a firmware upgrade path.
As shown in fig. 10, the mesh gateway 200 initiates OTA firmware upgrade packet caching for the fourth bluetooth mesh device 205; as shown in fig. 11, the fourth bluetooth mesh device 205 initiates OTA firmware upgrade packet caching for the third bluetooth mesh device 204; as shown in fig. 12, the third bluetooth mesh device 204 initiates OTA firmware upgrade packet caching for the second bluetooth mesh device 203; as shown in fig. 13, the OTA firmware upgrade packet of the second bluetooth mesh device 203 is successfully received.
In order to further improve the efficiency of upgrading the OTA firmware of the bluetooth mesh device, in another embodiment of the present application, after setting the current node to an idle state, the method further includes: generating a prompt message, wherein the prompt message is used for prompting that the current node is in the idle state; and sending the prompt message to the mesh gateway. In this embodiment, after the current node is in the idle state, prompt information is generated in time and sent to the mesh gateway, so that the node can be selected as an upgrade path in time when a firmware upgrade path is determined.
In a specific embodiment of the present application, the firmware upgrading method may also be applied to OTA firmware upgrading of a bluetooth low energy mesh device, as shown in fig. 14, where the mesh gateway 200 needs to perform OTA upgrading on the bluetooth low energy mesh device 207. In a traditional mesh upgrading mode, 200 minutes are needed for upgrading under a normal network condition by using a 200K firmware, equipment is required to be in a normal working mode for several hours, and the influence on the service life of the battery equipment is fatal. The steps of upgrading by adopting the firmware upgrading method are as follows:
step one, a friendship relationship is established between a second Bluetooth mesh device 203 and a low-power Bluetooth mesh device 207; (the mesh protocol stack supports the low-power consumption Bluetooth mesh equipment, establishes friendship relationship with Friend nodes, and caches tasks received during the dormancy of the Bluetooth mesh equipment);
step two, caching the firmware upgrade package of the low-power-consumption bluetooth mesh device 207 to the second bluetooth mesh device 203, as shown in fig. 15;
step three, after the low power consumption bluetooth mesh device 207 is awakened regularly, a task is acquired from the second bluetooth mesh device 203, after the second bluetooth mesh device 203 acquires the OTA upgrade task, the OTA upgrade service is started, and then the second bluetooth mesh device 203 initiates OTA upgrade to the low power consumption bluetooth mesh device 207, as shown in fig. 16.
By the method, the OTA upgrading time of the low-power-consumption Bluetooth mesh equipment is shortened from several hours to several minutes, so that the power consumption of firmware upgrading of the low-power-consumption Bluetooth mesh equipment is greatly reduced, and the problem that the firmware of the low-power-consumption Bluetooth mesh equipment is difficult to upgrade is solved.
The embodiment of the present application further provides a bluetooth mesh networking system, and it should be noted that the bluetooth mesh networking system of the embodiment of the present application may be used to execute the method for firmware upgrade provided in the embodiment of the present application. The bluetooth mesh networking system provided by the embodiment of the present application is introduced below.
The system comprises a mesh gateway, a plurality of Bluetooth mesh devices and a cloud device, wherein the cloud device is respectively communicated with the mesh gateway and the Bluetooth mesh devices, and FIG. 2 is a schematic diagram of the cloud device according to an embodiment of the application. As shown in fig. 2, the cloud device includes:
a building unit 10, configured to build an associated device list, where an device association relationship is stored in the associated device list, where the device association relationship is used to represent device information of two bluetooth mesh devices capable of performing peer-to-peer communication, and the device information at least includes a model of the bluetooth mesh device;
a first determining unit 20, configured to determine a target bluetooth mesh device to be subjected to firmware upgrade;
a second determining unit 30, configured to determine a firmware upgrade path at least according to the associated device list, where a starting point of the firmware upgrade path is the mesh gateway, an end point of the firmware upgrade path is the target bluetooth mesh device, and when the firmware upgrade path has a relay point, the relay point is a non-target bluetooth mesh device;
and the control unit 40 is used for controlling the firmware upgrade package to be sent to the target bluetooth mesh device according to the firmware upgrade path so as to realize firmware upgrade.
The Bluetooth mesh networking system comprises a mesh gateway, a plurality of Bluetooth mesh devices and a cloud device, wherein the cloud device is respectively communicated with the mesh gateway and the Bluetooth mesh devices, and comprises a construction unit, a first determination unit, a second determination unit and a control unit, wherein the construction unit is used for constructing an associated device list, the associated device list is stored with device association relations, and the device association relations are used for representing device information of the Bluetooth mesh devices; the first determining unit is used for determining a target Bluetooth mesh device to be subjected to firmware upgrading; the second determining unit is used for determining a firmware upgrading path at least according to the associated equipment list, wherein the starting point of the firmware upgrading path is a mesh gateway, and the end point of the firmware upgrading path is a target Bluetooth mesh equipment; the control unit is used for sending the firmware upgrading packet to the target Bluetooth mesh device according to the firmware upgrading path so as to realize firmware upgrading. In the system, a firmware upgrading path is generated according to the device association relation in the association device list, and a firmware upgrading packet is sent to a target Bluetooth Mesh device needing firmware upgrading according to the firmware upgrading path.
The device information includes not only the model of the bluetooth mesh device but also the signal strength between the two bluetooth mesh devices.
The firmware upgrade package can be generated according to the requirements of a user and then stored in the cloud equipment. Of course, in practical applications, the firmware upgrade package may also be stored in other locations, and those skilled in the art may set the firmware upgrade package according to practical situations.
In an embodiment of the application, the second determining unit includes an obtaining subunit and a determining subunit, where the obtaining subunit is configured to obtain a path generating rule, and the path generating rule includes at least one of the following: the method comprises the following steps of (1) a shortest path principle, a principle of maximum signal strength under the condition of the same path length, and a busy node avoidance principle, wherein the busy node refers to the condition that the Bluetooth mesh equipment is processing related transactions; the determining subunit is configured to determine the firmware upgrade path according to the path generation principle and the associated device list. In this embodiment, the firmware upgrade path is determined according to the path generation principle and the associated device list, so that the upgrade path is shorter, the signal strength is better, and the transmission of the firmware upgrade package is faster, thereby further improving the OTA firmware upgrade efficiency of the bluetooth mesh device.
The shortest path principle is to select the firmware upgrading path with the least nodes; the principle that the signal strength is the maximum under the condition that the path lengths are the same is to select a firmware upgrading path with the best signal quality under the condition that the path lengths are the same; the principle of avoiding busy nodes is to select a firmware upgrade path without busy nodes.
In order to further improve the OTA firmware upgrade efficiency of the bluetooth mesh device, in another embodiment of the present application, the determining subunit includes a first determining submodule and a second determining submodule, where the first determining submodule is configured to determine, as the firmware upgrade path, a shortest path in multiple alternative upgrade paths when the multiple alternative upgrade paths exist and the busy node does not exist in all the alternative upgrade paths; the second determining submodule is configured to determine, when there are a plurality of shortest paths, the shortest path having the largest signal strength as the firmware upgrade path.
As shown in fig. 4, the mesh gateway 200, the first bluetooth mesh device 202, and the fourth bluetooth mesh device 205 may establish a first-level interconnection, and the signal quality: a first bluetooth mesh device 202(-20dbm), a fourth bluetooth mesh device 205(-35 dbm);
the first bluetooth mesh device 202, the mesh gateway 200, the second bluetooth mesh device 203, and the fifth bluetooth mesh device 206 may establish a first-level interconnection, and the signal quality is as follows: a mesh gateway 200(-20dbm), a second bluetooth mesh device 203(-40dbm), a fifth bluetooth mesh device 206(-15 dbm);
the second bluetooth mesh device 203, the first bluetooth mesh device 202 and the third bluetooth mesh device 204 may establish a first-level interconnection, and the signal quality: a first bluetooth mesh device 202(-40dbm), a third bluetooth mesh device 204(-35 dbm);
the third bluetooth mesh device 204, the second bluetooth mesh device 203 and the fourth bluetooth mesh device 205 may establish a first-level interconnection, and the signal quality: a second bluetooth mesh device 203(-35dbm), a fourth bluetooth mesh device 205(-42 dbm);
the fourth bluetooth mesh device 205, the third bluetooth mesh device 204, the fifth bluetooth mesh device 206, and the mesh gateway 200 may establish a first-level interconnection, and the signal quality is as follows: a third bluetooth mesh device 204(-42dbm), a fifth bluetooth mesh device 206(-13dbm), a mesh gateway 200(-37 dbm);
the fifth bluetooth mesh device 206, the first bluetooth mesh device 202, and the fourth bluetooth mesh device 205 may establish a first-level interconnection, and the signal quality: a first bluetooth mesh device 202(-13dbm), a fourth bluetooth mesh device 205(-15 dbm);
when no busy node exists in the network:
example 1, selecting an alternative path for OTA upgrade of the second bluetooth mesh device 203:
the number of the alternative path I links is 2, and the number of the alternative path II links is 3; based on the shortest path rule, alternative path one is selected, as shown in fig. 5.
Example 2, selecting an alternative path for OTA upgrade of the fifth bluetooth mesh device 206:
alternative path one, the mesh gateway 200 → the first bluetooth mesh device 202(-20dbm) → the fifth bluetooth mesh device 206(-15 dbm);
alternative path two, mesh gateway 200 → fourth bluetooth mesh device 205(-35dbm) → fifth bluetooth mesh device 206(-13 dbm);
the link number of the alternative path I and the link number of the alternative path II are both 2, the sum of the signal quality of the alternative path I is-35 dbm, and the sum of the signal quality of the alternative path II is-48 dbm; since-35 dbm > -48dbm, alternative path one is chosen, as shown in fig. 6, according to the principle that the signal strength is the greatest with the same path length.
In another embodiment of the application, the determining subunit includes a third determining module, where the third determining module is configured to determine, when there are two alternative paths, a first alternative path is shorter than a second alternative path, the busy node exists in the first alternative path, and the busy node does not exist in the second alternative path, the second alternative path as the firmware upgrade path. When the busy node exists in the alternative path, the time for transmitting the firmware upgrade package is increased, so that the alternative path without the busy node is preferentially selected, and the firmware upgrade efficiency is further improved.
As shown in fig. 7, the hatching indicates that the bluetooth mesh device is busy, and the first bluetooth mesh device 202 and the fifth bluetooth mesh device 206 are busy.
Example 1: selecting a link path for performing OTA upgrade on the second bluetooth mesh device 203:
alternative path one, the mesh gateway 200 → the first bluetooth mesh device 202 → the second bluetooth mesh device 203;
alternative path two, mesh gateway 200 → fourth bluetooth mesh device 205 → third bluetooth mesh device 204 → second bluetooth mesh device 203;
the number of the alternative path I links is 2, and the number of the alternative path II links is 3;
according to the shortest link principle, a first alternative path should be selected, but the first bluetooth mesh device 202 on the first alternative path is in a busy state at this time and is not selectable, so that only a second alternative path can be selected, as shown in fig. 8;
in another embodiment of the application, the cloud device further includes a first sending unit and a first setting unit, where the first sending unit is configured to send a firmware upgrade package to the target bluetooth mesh device based on the firmware upgrade path control, so as to send the firmware upgrade package and the firmware upgrade path to all nodes on the firmware upgrade path in a firmware upgrade process, where the nodes include the mesh gateway, the target bluetooth mesh device, and/or the non-target bluetooth mesh device; the first setting unit is configured to set all the nodes to a busy state after the firmware upgrade package and the firmware upgrade path are sent to all the nodes on the firmware upgrade path and before the firmware upgrade is performed. In this embodiment, all nodes on the firmware upgrade path are set to be in a busy state, so that when firmware upgrade is performed on other target bluetooth mesh devices, other nodes can be selected as the firmware upgrade path, thereby avoiding transmission time increase caused by passing through the nodes, and further improving the OTA firmware upgrade efficiency of the bluetooth mesh devices.
As shown in fig. 9, the hatching indicates that the bluetooth mesh device is in a busy state, and if the alternative path two (the mesh gateway 200 → the fourth bluetooth mesh device 205 → the third bluetooth mesh device 204 → the second bluetooth mesh device 203) is selected as the firmware upgrade path, the bluetooth mesh device in the alternative path is set to be in the busy state.
In another embodiment of the present application, the cloud device further includes a second setting unit, where the second setting unit is configured to set, after all the nodes are set to a busy state, the current node to an idle state after the current node successfully sends the firmware upgrade package to a next node. After the current node successfully sends the firmware upgrade package to the next node, the current node is indicated to have been successfully transmitted, and no relevant transaction is processed at this time, so the current node is set to an idle state to prompt that the current node of the system can be used as a node in a firmware upgrade path.
As shown in fig. 10, the mesh gateway 200 initiates OTA firmware upgrade packet caching for the fourth bluetooth mesh device 205; as shown in fig. 11, the fourth bluetooth mesh device 205 initiates OTA firmware upgrade packet caching for the third bluetooth mesh device 204; as shown in fig. 12, the third bluetooth mesh device 204 initiates OTA firmware upgrade packet caching for the second bluetooth mesh device 203; as shown in fig. 13, the OTA firmware upgrade packet of the second bluetooth mesh device 203 is successfully received.
In order to further improve the efficiency of upgrading the OTA firmware of the bluetooth mesh device, in another embodiment of the present application, the cloud device further includes a generating unit and a second sending unit, where the generating unit is configured to generate a prompt message after setting the current node to an idle state, and the prompt message is used to prompt that the current node is in the idle state; the second sending unit is used for sending the prompt information to the mesh gateway. In this embodiment, after the current node is in the idle state, prompt information is generated in time and sent to the mesh gateway, so that the node can be selected as an upgrade path in time when a firmware upgrade path is determined.
In a specific embodiment of the present application, the firmware upgrading method may also be applied to OTA firmware upgrading of a bluetooth low energy mesh device, as shown in fig. 14, where the mesh gateway 200 needs to perform OTA upgrading on the bluetooth low energy mesh device 207. In a traditional mesh upgrading mode, 200 minutes are needed for upgrading under a normal network condition by using a 200K firmware, equipment is required to be in a normal working mode for several hours, and the influence on the service life of the battery equipment is fatal. The steps of upgrading by adopting the firmware upgrading method are as follows:
step one, a friendship relationship is established between a second Bluetooth mesh device 203 and a low-power Bluetooth mesh device 207; (the mesh protocol stack supports the low-power consumption Bluetooth mesh equipment, establishes friendship relationship with Friend nodes, and caches tasks received during the dormancy of the Bluetooth mesh equipment);
step two, caching the firmware upgrade package of the low-power-consumption bluetooth mesh device 207 to the second bluetooth mesh device 203, as shown in fig. 15;
step three, after the low power consumption bluetooth mesh device 207 is awakened regularly, a task is acquired from the second bluetooth mesh device 203, after the second bluetooth mesh device 203 acquires the OTA upgrade task, the OTA upgrade service is started, and then the second bluetooth mesh device 203 initiates OTA upgrade to the low power consumption bluetooth mesh device 207, as shown in fig. 16.
By the method, the OTA upgrading time of the low-power-consumption Bluetooth mesh equipment is shortened from several hours to several minutes, so that the power consumption of firmware upgrading of the low-power-consumption Bluetooth mesh equipment is greatly reduced, and the problem that the firmware of the low-power-consumption Bluetooth mesh equipment is difficult to upgrade is solved.
The cloud device comprises a processor and a memory, the building unit, the first determining unit, the second determining unit, the control unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem of low upgrading efficiency of the OTA firmware of the Bluetooth mesh equipment in the prior art is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The embodiment of the invention provides a Bluetooth system which comprises a mesh gateway, a plurality of Bluetooth mesh devices and a cloud device, wherein the cloud device is respectively communicated with the mesh gateway and the Bluetooth mesh devices, and is used for any one of the methods.
The Bluetooth system comprises a mesh gateway, a plurality of Bluetooth mesh devices and a cloud device, wherein the cloud device is respectively communicated with the mesh gateway and the Bluetooth mesh devices, and the cloud device is used for any one of the methods. According to the method, a firmware upgrading path is generated according to the device association relation in the association device list, and a firmware upgrading packet is sent to a target Bluetooth Mesh device needing firmware upgrading according to the firmware upgrading path.
The embodiment of the invention provides a computer-readable storage medium, which comprises a stored program, wherein when the program runs, the device where the computer-readable storage medium is located is controlled to execute the firmware upgrading method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the firmware upgrading method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein when the processor executes the program, at least the following steps are realized:
step S101, constructing an associated device list, wherein the associated device list stores a device association relation, the device association relation is used for representing device information of two Bluetooth mesh devices capable of performing point-to-point communication, and the device information at least comprises the models of the Bluetooth mesh devices;
step S102, determining a target Bluetooth mesh device to be subjected to firmware upgrading;
step S103, determining a firmware upgrading path at least according to the associated device list, wherein the starting point of the firmware upgrading path is the mesh gateway, the end point of the firmware upgrading path is the target Bluetooth mesh device, and the relay point is a non-target Bluetooth mesh device under the condition that the firmware upgrading path has the relay point;
and step S104, controlling to send the firmware upgrading packet to the target Bluetooth mesh equipment according to the firmware upgrading path so as to realize firmware upgrading.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, constructing an associated device list, wherein the associated device list stores a device association relation, the device association relation is used for representing device information of two Bluetooth mesh devices capable of performing point-to-point communication, and the device information at least comprises the models of the Bluetooth mesh devices;
step S102, determining a target Bluetooth mesh device to be subjected to firmware upgrading;
step S103, determining a firmware upgrading path at least according to the associated device list, wherein the starting point of the firmware upgrading path is the mesh gateway, the end point of the firmware upgrading path is the target Bluetooth mesh device, and the relay point is a non-target Bluetooth mesh device under the condition that the firmware upgrading path has the relay point;
and step S104, controlling to send the firmware upgrading packet to the target Bluetooth mesh equipment according to the firmware upgrading path so as to realize firmware upgrading.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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). The 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, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
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 identical elements in the process, method, article, or apparatus that comprises the element.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) firstly, constructing an associated equipment list, wherein an equipment association relation is stored in the associated equipment list and used for representing equipment information of the Bluetooth mesh equipment; then, determining a target Bluetooth mesh device to be subjected to firmware upgrading; then, determining a firmware upgrading path at least according to the associated equipment list, wherein the starting point of the firmware upgrading path is a mesh gateway, and the end point of the firmware upgrading path is a target Bluetooth mesh equipment; and finally, sending the firmware upgrading packet to the target Bluetooth mesh device according to the firmware upgrading path so as to realize firmware upgrading. According to the method, a firmware upgrading path is generated according to the device association relation in the association device list, and a firmware upgrading packet is sent to a target Bluetooth Mesh device needing firmware upgrading according to the firmware upgrading path.
2) The Bluetooth mesh networking system comprises a mesh gateway, a plurality of Bluetooth mesh devices and a cloud device, wherein the cloud device is respectively communicated with the mesh gateway and the Bluetooth mesh devices, and comprises a construction unit, a first determination unit, a second determination unit and a control unit, wherein the construction unit is used for constructing an associated device list, device association relations are stored in the associated device list, and the device association relations are used for representing device information of the Bluetooth mesh devices; the first determining unit is used for determining a target Bluetooth mesh device to be subjected to firmware upgrading; the second determining unit is used for determining a firmware upgrading path at least according to the associated equipment list, wherein the starting point of the firmware upgrading path is a mesh gateway, and the end point of the firmware upgrading path is a target Bluetooth mesh equipment; the control unit is used for sending the firmware upgrading packet to the target Bluetooth mesh device according to the firmware upgrading path so as to realize firmware upgrading. In the system, a firmware upgrading path is generated according to the device association relation in the association device list, and a firmware upgrading packet is sent to a target Bluetooth Mesh device needing firmware upgrading according to the firmware upgrading path.
3) The Bluetooth system comprises the mesh gateway, a plurality of Bluetooth mesh devices and the cloud device, wherein the cloud device is communicated with the mesh gateway and the Bluetooth mesh devices respectively, and the cloud device is used for any one of the methods. According to the method, a firmware upgrading path is generated according to the device association relation in the association device list, and a firmware upgrading packet is sent to a target Bluetooth Mesh device needing firmware upgrading according to the firmware upgrading path.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (11)

1. A firmware upgrading method is characterized in that the method is applied to a Bluetooth mesh networking system, the Bluetooth mesh networking system comprises a mesh gateway and a plurality of Bluetooth mesh devices, and the method comprises the following steps:
constructing an associated device list, wherein a device association relationship is stored in the associated device list, the device association relationship is used for representing device information of two Bluetooth mesh devices capable of performing point-to-point communication, and the device information at least comprises the model of the Bluetooth mesh devices;
determining a target Bluetooth mesh device to be subjected to firmware upgrading;
determining a firmware upgrading path at least according to the associated device list, wherein the starting point of the firmware upgrading path is the mesh gateway, the end point of the firmware upgrading path is the target Bluetooth mesh device, and the relay point is a non-target Bluetooth mesh device under the condition that the firmware upgrading path has the relay point;
and controlling to send the firmware upgrading packet to the target Bluetooth mesh equipment according to the firmware upgrading path so as to realize firmware upgrading.
2. The method of claim 1, wherein determining a firmware upgrade path based at least on the list of associated devices comprises:
obtaining a path generation principle, wherein the path generation principle comprises at least one of the following: the method comprises the following steps of (1) a shortest path principle, a principle of maximum signal strength under the condition of the same path length, and a busy node avoidance principle, wherein the busy node refers to the condition that the Bluetooth mesh equipment is processing related transactions;
and determining the firmware upgrading path according to the path generating principle and the associated equipment list.
3. The method of claim 2, wherein determining the firmware upgrade path according to the path generation rules and the associated device list comprises:
determining the shortest path in a plurality of alternative upgrading paths as the firmware upgrading path under the condition that the alternative upgrading paths are available and the busy node does not exist in all the alternative upgrading paths;
determining the shortest path with the largest signal strength as the firmware upgrade path if a plurality of shortest paths exist.
4. The method of claim 2, wherein determining the firmware upgrade path according to the path generation rules and the associated device list comprises:
and determining the second alternative path as the firmware upgrading path under the condition that two alternative paths exist, the first alternative path is shorter than the second alternative path, the busy node exists in the first alternative path, and the busy node does not exist in the second alternative path.
5. The method of claim 1, wherein in the process of sending a firmware upgrade package to the target bluetooth mesh device based on the firmware upgrade path control to realize firmware upgrade, the method further comprises:
sending the firmware upgrading packet and the firmware upgrading path to all nodes on the firmware upgrading path, wherein the nodes comprise the mesh gateway, the target Bluetooth mesh equipment and/or the non-target Bluetooth mesh equipment;
after the firmware upgrade package and the firmware upgrade path are sent to all nodes on the firmware upgrade path and before firmware upgrade is carried out, all the nodes are set to be in a busy state.
6. The method of claim 5, wherein after setting all of the nodes to a busy state, the method further comprises:
and after the current node successfully sends the firmware upgrading packet to the next node, setting the current node in an idle state.
7. The method of claim 6, wherein after setting the current node to an idle state, the method further comprises:
generating prompt information, wherein the prompt information is used for prompting that the current node is in the idle state;
and sending the prompt message to the mesh gateway.
8. The utility model provides a bluetooth mesh networking system, its characterized in that, includes mesh gateway, a plurality of bluetooth mesh equipment and high in the clouds equipment, high in the clouds equipment respectively with mesh gateway with bluetooth mesh equipment communicates, high in the clouds equipment includes:
the device association relation is used for representing device information of two Bluetooth mesh devices capable of performing point-to-point communication, and the device information at least comprises the models of the Bluetooth mesh devices;
the first determining unit is used for determining a target Bluetooth mesh device to be subjected to firmware upgrading;
a second determining unit, configured to determine a firmware upgrade path at least according to the associated device list, where a starting point of the firmware upgrade path is the mesh gateway, an end point of the firmware upgrade path is the target bluetooth mesh device, and a relay point is a non-target bluetooth mesh device when the firmware upgrade path has the relay point;
and the control unit is used for controlling the firmware upgrading packet to be sent to the target Bluetooth mesh equipment according to the firmware upgrading path so as to realize firmware upgrading.
9. A bluetooth system, comprising a mesh gateway, a plurality of bluetooth mesh devices and a cloud device, wherein the cloud device is in communication with the mesh gateway and the bluetooth mesh devices, respectively, and is configured to perform the method of any one of claims 1 to 7.
10. A computer-readable storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method of any one of claims 1 to 7.
11. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 7.
CN202111682216.7A 2021-12-28 2021-12-28 Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system Pending CN114363874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111682216.7A CN114363874A (en) 2021-12-28 2021-12-28 Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111682216.7A CN114363874A (en) 2021-12-28 2021-12-28 Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system

Publications (1)

Publication Number Publication Date
CN114363874A true CN114363874A (en) 2022-04-15

Family

ID=81104699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111682216.7A Pending CN114363874A (en) 2021-12-28 2021-12-28 Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system

Country Status (1)

Country Link
CN (1) CN114363874A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115209403A (en) * 2022-07-15 2022-10-18 宁波亿林节水科技股份有限公司 Firmware upgrading method and device, storage medium and electronic equipment
CN117640279A (en) * 2024-01-26 2024-03-01 深圳市迈腾电子有限公司 Internet of things-based distributed intelligent home control method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115209403A (en) * 2022-07-15 2022-10-18 宁波亿林节水科技股份有限公司 Firmware upgrading method and device, storage medium and electronic equipment
CN115209403B (en) * 2022-07-15 2024-03-15 宁波亿林节水科技股份有限公司 Firmware upgrading method and device, storage medium and electronic equipment
CN117640279A (en) * 2024-01-26 2024-03-01 深圳市迈腾电子有限公司 Internet of things-based distributed intelligent home control method and system
CN117640279B (en) * 2024-01-26 2024-05-07 深圳市迈腾电子有限公司 Internet of things-based distributed intelligent home control method and system

Similar Documents

Publication Publication Date Title
CN114363874A (en) Firmware upgrading method, Bluetooth mesh networking system and Bluetooth system
US11595473B2 (en) Ad hoc decentralized cloud infrastructure
CN108833191B (en) Gateway equipment configuration method and device
CN111694617B (en) Processing method of network offline model, artificial intelligence processing device and related products
WO2022001941A1 (en) Network element management method, network management system, independent computing node, computer device, and storage medium
CN110928685A (en) Intelligent cooperative computing system and method
CN114124948A (en) High-availability method, device, equipment and readable medium for cloud component
CN113747450B (en) Service deployment method and device in mobile network and electronic equipment
CN114466458A (en) Method and device for realizing dynamic frequency selection
CN113261249A (en) Data transmission method, related equipment and computer storage medium
CN112492532B (en) Interconnection method and device for wide and narrow band system
CN114301826B (en) Message transmission method and device
CN113110803B (en) Data storage method and device
CN112256658B (en) Log record distribution method and device, storage medium and electronic device
EP3376711A1 (en) Management method and device for managing instruction transmission and automatic vnf scaling function
CN110635927B (en) Node switching method, network node and network system
CN112995311A (en) Service providing method, device and storage medium
CN113051103B (en) Data processing method and device and electronic equipment
CN112422305B (en) Upgrading method and device of communication equipment
CN113067685B (en) Information communication method and system
CN114095356B (en) Method and device for configuring node task strategy in real time
CN114697375B (en) Voice packet switching method and device, storage medium and electronic device
CN112887344B (en) Link determination method and device based on ONOS controller cluster
CN112532670B (en) Data processing method and device
CN115175271B (en) Control method and device for terminal frequency point access

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