CN112714426B - Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium - Google Patents

Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium Download PDF

Info

Publication number
CN112714426B
CN112714426B CN202011564712.8A CN202011564712A CN112714426B CN 112714426 B CN112714426 B CN 112714426B CN 202011564712 A CN202011564712 A CN 202011564712A CN 112714426 B CN112714426 B CN 112714426B
Authority
CN
China
Prior art keywords
bluetooth
bluetooth device
upgrade
devices
upgrade file
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.)
Active
Application number
CN202011564712.8A
Other languages
Chinese (zh)
Other versions
CN112714426A (en
Inventor
庞健荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202011564712.8A priority Critical patent/CN112714426B/en
Publication of CN112714426A publication Critical patent/CN112714426A/en
Application granted granted Critical
Publication of CN112714426B publication Critical patent/CN112714426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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 embodiment of the application discloses an intelligent upgrading method, an intelligent upgrading device, electronic equipment and a storage medium of Bluetooth equipment, and relates to the field of intelligent home, wherein the method is applied to first Bluetooth equipment in a Bluetooth mesh network and comprises the following steps: receiving an upgrade file; searching a second Bluetooth device in the Bluetooth mesh network; when searching, establishing a communication link connected with the second Bluetooth equipment in a Bluetooth point-to-point communication mode; and sending the upgrade file to the second Bluetooth device through the communication link so that the second Bluetooth device is upgraded according to the upgrade file. According to the method and the device, the trouble of upgrading a plurality of Bluetooth devices in a manual upgrading mode is avoided, and the upgrading efficiency is effectively improved.

Description

Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium
Technical Field
The application relates to the field of smart home, in particular to an intelligent upgrading method and device of Bluetooth equipment, electronic equipment and a storage medium.
Background
With the continuous development of bluetooth technology, the technology is now being used in various devices, so as to form various bluetooth devices, such as a bluetooth smart switch, a bluetooth bracelet, a bluetooth headset, a bluetooth smart socket, a bluetooth smart lamp, etc.
At present, the Bluetooth module applied to the Bluetooth equipment is embedded into an actual product, so that the Bluetooth equipment needs to be upgraded one by one through a mobile phone and the Bluetooth equipment when being upgraded. If more Bluetooth devices need to be upgraded, the Bluetooth devices need to be upgraded one by one manually through the mobile phone, so that the upgrading efficiency is low, and manpower and material resources are wasted.
Disclosure of Invention
In view of the above problems, the present application proposes an intelligent upgrade method and apparatus for bluetooth devices, an electronic device, and a storage medium, so as to solve the above problems.
In a first aspect, an embodiment of the present application provides an intelligent upgrade method for a bluetooth device, where the method is applied to a first bluetooth device in a bluetooth mesh network, and the method includes: receiving an upgrade file; searching a second Bluetooth device in the Bluetooth mesh network; when searching, establishing a communication link connected with the second Bluetooth equipment in a Bluetooth point-to-point communication mode; and sending the upgrade file to the second Bluetooth device through the communication link so that the second Bluetooth device is upgraded according to the upgrade file.
In a second aspect, an embodiment of the present application provides an intelligent upgrade apparatus for a bluetooth device, where the intelligent upgrade apparatus for a bluetooth device is applied to a first bluetooth device in a bluetooth mesh network, where the intelligent upgrade apparatus for a bluetooth device includes: the system comprises an upgrade file receiving module, a searching module, a communication establishing module and a sending module, wherein the upgrade file receiving module is used for receiving an upgrade file; the searching module is used for searching for a second Bluetooth device in the Bluetooth mesh network; the communication establishing module is used for establishing a communication link connected with the second Bluetooth device in a Bluetooth point-to-point communication mode when the searching module searches the second Bluetooth device; and the sending module is used for sending the upgrade file received by the upgrade file receiving module to the second Bluetooth equipment through the communication link so as to upgrade the second Bluetooth equipment according to the upgrade file.
In a third aspect, embodiments of the present application provide an electronic device including a memory and a processor configured to perform the method of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, the program code being executable by a processor to perform the method of the first aspect.
The intelligent upgrading method, the intelligent upgrading device, the electronic equipment and the storage medium of the Bluetooth equipment are applied to the first Bluetooth equipment in the Bluetooth mesh network, and the method is used for receiving an upgrading file; searching a second Bluetooth device in the Bluetooth mesh network; when searching, establishing a communication link connected with the second Bluetooth equipment in a Bluetooth point-to-point communication mode; the upgrade file is sent to the second Bluetooth device through the communication link, so that the second Bluetooth device is upgraded according to the upgrade file, after one Bluetooth device receives the upgrade file, the next Bluetooth device needing to be upgraded can be automatically searched, the upgrade file is sent to the next Bluetooth device needing to be upgraded to instruct the next Bluetooth device to be upgraded, the upgrade file can be transmitted in a fission mode, automatic upgrade of a plurality of Bluetooth devices in the Bluetooth mesh network is realized, tedious operation caused by manual upgrade is avoided, and upgrade efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 illustrates an application environment schematic diagram of a method for intelligent upgrade of a bluetooth device according to one embodiment of the present application.
Fig. 2 is a flow chart illustrating a method for intelligent upgrade of a bluetooth device according to an embodiment of the present application.
Fig. 3 is a flow chart illustrating a method for intelligent upgrade of a bluetooth device according to another embodiment of the present application.
Fig. 4 is a flow chart illustrating a method for intelligent upgrade of a bluetooth device according to another embodiment of the present application.
Fig. 5 shows a schematic diagram of a location distribution of bluetooth devices according to an embodiment of the present application.
Fig. 6 is a flowchart illustrating a method for intelligent upgrade of a bluetooth device according to still another embodiment of the present application.
Fig. 7 is a flowchart illustrating a method for intelligent upgrade of a bluetooth device according to still another embodiment of the present application.
Fig. 8 is a functional block diagram of an intelligent upgrade apparatus of a bluetooth device according to an embodiment of the present application.
Fig. 9 shows a block diagram of an electronic device according to an embodiment of the present application.
Fig. 10 illustrates a storage medium for storing or carrying program code for implementing a smart upgrade method of a bluetooth device according to an embodiment of the present application, provided according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
Along with the continuous development and popularization of the Bluetooth technology, the Bluetooth function has become a necessary basic function of numerous devices, so that Bluetooth devices such as a Bluetooth sound box, a Bluetooth mouse keyboard, a Bluetooth intelligent switch, a Bluetooth lamp and the like appear, and generally, the Bluetooth devices can realize the function of firmware program upgrading, thereby meeting the application requirements of users and manufacturers on the Bluetooth devices.
However, when the bluetooth device is upgraded, it is generally required to upgrade the bluetooth device one to one through a terminal device (such as a smart phone), if the number of bluetooth devices to be upgraded is large, the upgrade process becomes very complicated, and a great deal of time and manpower are required, so that the upgrade efficiency is very low.
The inventor finds that if a plurality of Bluetooth devices form a wireless mesh network, namely a Bluetooth mesh network, and then the plurality of Bluetooth devices are upgraded in batches through the Bluetooth mesh network (which can be abbreviated as Bluetooth network), the upgrading efficiency can be effectively improved.
However, in practical research, the inventor finds that a plurality of bluetooth devices in the bluetooth network are limited by a standard protocol of a bluetooth network communication mode, the data transmission rate is limited, and the speed of transmitting upgrade files between the bluetooth devices is slower during batch upgrade, so that the intelligent upgrade efficiency of the bluetooth devices is reduced.
Therefore, in view of the above problems, the inventor proposes an intelligent upgrading method, an apparatus, an electronic device and a storage medium for a bluetooth device in the embodiments of the present application, which can enable one bluetooth device in a bluetooth network to automatically search for a bluetooth device that needs to be upgraded in the next bluetooth network after receiving an upgrade file, and send the upgrade file to the next bluetooth device that needs to be upgraded to instruct it to upgrade, so as to circulate, and transfer the upgrade file in a fission manner, thereby implementing automatic upgrade of a plurality of bluetooth devices in the bluetooth network, avoiding tedious operations caused by manual upgrade, improving upgrade efficiency, and in addition, can quickly search for the next bluetooth device by establishing a communication link of a point-to-point communication manner to transmit the upgrade file, thereby improving transmission speed of the upgrade file, and effectively improving upgrade efficiency.
Referring to fig. 1, fig. 1 is a schematic application environment of an intelligent upgrade method for bluetooth devices according to an embodiment of the present application, and specifically, the application environment 100 may include a bluetooth network 110 composed of a plurality of bluetooth devices and a terminal device 120 for transmitting an upgrade file to any one bluetooth device in the bluetooth network 110. The plurality of bluetooth devices in the bluetooth network 110 may communicate through communication links of the mesh network, where the plurality of bluetooth devices may include bluetooth device a, bluetooth device B1, bluetooth device B2, bluetooth device C1, bluetooth device C2, and bluetooth device C3. The terminal device 120 may communicate with the bluetooth device a via a point-to-point communication connection. Alternatively, the terminal device may include, but is not limited to, a smart phone, a tablet computer, a personal computer, and the like. Bluetooth devices include, but are not limited to, bluetooth bracelets, bluetooth smart switches, bluetooth speakers, and the like.
Referring to fig. 2, fig. 2 illustrates an intelligent upgrade method of a bluetooth device according to an embodiment of the present application, where the intelligent upgrade method of a bluetooth device may be applied to a first bluetooth device in a bluetooth mesh network, and the intelligent upgrade method of a bluetooth device may include:
S110, receiving an upgrade file.
In some embodiments, one bluetooth device may be selected from the bluetooth network as the first bluetooth device, and then a communication connection between the terminal device and the first bluetooth device is established through a peer-to-peer communication manner, where an upgrade file for upgrading the bluetooth device may be stored in the terminal device in advance. After receiving the upgrade operation, the terminal device responds to the upgrade operation and sends the upgrade file to the first Bluetooth device in a point-to-point communication mode, so that the first Bluetooth device can receive the upgrade file. After the first bluetooth device receives the upgrade file, the upgrade file may be stored in the first bluetooth device. The upgrade operation may be an upgrade confirmation operation performed by the user on the terminal device, for example, an operation of touching an icon for upgrade confirmation on a touch screen of the terminal device, or the like. Optionally, the terminal device may also broadcast an upgrade file, and the first bluetooth device may receive the upgrade file broadcast by the mobile terminal. Of course, the first bluetooth device may also receive the upgrade file in other manners, which is not limited by the embodiment of the present invention.
The upgrade file may be a file containing upgrade content of the bluetooth device, and may be used to instruct the bluetooth device to upgrade according to the content contained in the upgrade file, for example, the upgrade content may include one or more combinations of interfaces of the device, functions of the device, performance of the device, and version of the device.
S120, searching for a second Bluetooth device in the Bluetooth mesh network.
After the first Bluetooth device receives the upgrade file, the first Bluetooth device can search other Bluetooth devices in the Bluetooth mesh network and take the searched Bluetooth devices as second Bluetooth devices, wherein each Bluetooth device in the Bluetooth mesh network is connected in a communication mode of the mesh network, so that the first Bluetooth device is equivalent to searching the Bluetooth device connected with the first Bluetooth device in the communication mode of the mesh network as the second Bluetooth device.
Alternatively, the number of the second bluetooth devices may be one or more, for example, when the number of the second bluetooth devices is one, the first bluetooth device may search for another bluetooth device in the bluetooth network and use the searched bluetooth device as the second bluetooth device. For another example, when the number of the second bluetooth devices is N, the first bluetooth device may search for N bluetooth devices in the bluetooth network other than the first bluetooth device at the same time, and use the searched N bluetooth devices as the second bluetooth device, where N is not less than 2.
And S130, when the communication link is searched, a communication link connected with the second Bluetooth device in a Bluetooth point-to-point communication mode is established.
In some embodiments, when the first bluetooth device searches for the second bluetooth device, the IP address of the second bluetooth device may be obtained, and then a communication link connected in a bluetooth peer-to-peer communication manner may be established with the second bluetooth device according to the IP address.
And S140, the upgrade file is sent to the second Bluetooth device through the communication link, so that the second Bluetooth device is upgraded according to the upgrade file.
After the second Bluetooth device is determined, the first Bluetooth device can send the stored upgrade file to the second Bluetooth device through a communication link connected in a Bluetooth point-to-point communication mode, so that the second Bluetooth device can be upgraded according to the upgrade file.
In some embodiments, when the first bluetooth device receives the upgrade file, it may upgrade its own firmware according to the upgrade file. And when the first Bluetooth device detects that the upgrading is finished, the upgrading file is sent to the second Bluetooth device.
In other embodiments, when the first bluetooth device receives the upgrade file, the first bluetooth device may directly send the upgrade file to the second bluetooth device without upgrading its own firmware, and after the upgrade file is sent, upgrade its own firmware. Alternatively, the first bluetooth device may automatically perform an upgrade according to the upgrade file after a period of time when the upgrade file is issued.
Referring to fig. 1 again, as an example, in the actual upgrading process, the first bluetooth device may be a bluetooth device a, the second bluetooth device may be a bluetooth device B1 and a bluetooth device B2, and after the bluetooth device a receives the upgrade file, the upgrade file may be sent to the bluetooth device B1 and the bluetooth device B2, so that the bluetooth device B1 and the bluetooth device B2 may be upgraded according to the upgrade file. After the bluetooth device B1 and the bluetooth device B2 receive the upgrade file, other bluetooth devices except the bluetooth device a, the bluetooth device B1 and the bluetooth device B2 in the bluetooth mesh network can be searched, for example, the bluetooth device C1, the bluetooth device C2 and the bluetooth device C3 are searched, then the bluetooth device B1 and the bluetooth device B2 can send the upgrade file to the bluetooth device C1, the bluetooth device C2 and the bluetooth device C3 through communication links connected in a bluetooth point-to-point communication mode, so that the bluetooth device C1, the bluetooth device C2 and the bluetooth device C3 can be upgraded according to the upgrade file, in this process, the bluetooth device C1, the bluetooth device C2 and the bluetooth device C3 are regarded as first bluetooth devices, in the same way, the bluetooth device C1, the bluetooth device C2 and the bluetooth device C3 can be regarded as new first bluetooth devices in the subsequent upgrade, and then the upgrade file can be transferred to other bluetooth devices in the bluetooth network through the mode until all bluetooth devices in the bluetooth network can receive the upgrade file according to the upgrade file.
It can be seen that, in this embodiment, by receiving the upgrade file; searching a second Bluetooth device in the Bluetooth mesh network; when searching, establishing a communication link connected with the second Bluetooth equipment in a Bluetooth point-to-point communication mode; the upgrade file is sent to the second Bluetooth device through the communication link, so that the second Bluetooth device can be upgraded according to the upgrade file, the next Bluetooth device needing to be upgraded can be automatically searched after one Bluetooth device receives the upgrade file, the upgrade file is sent to the next Bluetooth device needing to be upgraded to instruct the next Bluetooth device to be upgraded, the upgrade file can be transmitted in a fission mode, automatic upgrade of a plurality of Bluetooth devices in the Bluetooth network is realized, tedious operation caused by manual upgrade is avoided, and upgrade efficiency is improved. In addition, the next Bluetooth device to be upgraded can be conveniently and rapidly searched in a mesh network communication mode, and the transmission speed of the upgrade file can be improved in a Bluetooth point-to-point communication mode, so that the upgrade efficiency is effectively improved.
Referring to fig. 3, fig. 3 illustrates an intelligent upgrade method of a bluetooth device according to another embodiment of the present application, where the intelligent upgrade method of a bluetooth device may be applied to a first bluetooth device in a bluetooth mesh network, and the intelligent upgrade method of a bluetooth device may include:
S210, receiving the upgrade file.
S220, searching for a second Bluetooth device in the Bluetooth mesh network.
And S230, when the communication link is searched, a communication link connected with the second Bluetooth device in a Bluetooth point-to-point communication mode is established.
The specific embodiments of S210 to S230 can refer to S110 to S130, and are not described herein.
S240, obtaining the communication state information of the communication link.
In some embodiments, the first bluetooth device may send test data for testing a communication state to the second bluetooth device through a bluetooth peer-to-peer communication link, detect feedback data of the second bluetooth device for the test data, and determine, according to the feedback data, communication state information of the communication link when the first bluetooth device and the second bluetooth device are connected in a bluetooth peer-to-peer communication manner, thereby obtaining the communication state information.
As an example, the communication state may be determined to be an off state, for example, if the first bluetooth device does not receive feedback data from the second bluetooth device after sending test data over the point-to-point communication link. For example, the first bluetooth device may determine that the communication state is not the disconnection state when receiving the feedback data of the second bluetooth device after sending the test data.
As another example, if the first bluetooth device receives the feedback data of the second bluetooth device after sending the test data, the delay rate, the packet loss rate and other information of the data transmission can be determined according to the feedback data, then the communication state information such as the data transmission speed, the signal strength and the like is determined according to one or more of the sending rate, the receiving rate, the network delay, the packet loss rate and other information, and if the information such as the data transmission speed, the signal strength and the like is within the normal range, the communication state of the second bluetooth device connected with the first bluetooth device through the communication link can be determined to be the normal state.
S250, determining whether the communication state information meets the preset condition.
In connection with the above example, for example, when it is determined that the communication state is not the disconnected state according to the embodiment in the above example, it may be determined that the communication state information meets the preset condition. For another example, when it is determined that the communication state is a normal state according to the embodiment in the above example, it may be determined that the communication state information meets the preset condition.
In some embodiments, if the communication status information includes a data transmission speed, S250 may be specific embodiments for determining whether the communication status information meets the preset condition: when the data transmission speed exceeds the transmission speed threshold, determining that the communication state information meets the preset condition, otherwise, not meeting the preset condition.
As an example, for example, the first bluetooth device may send test data to the second bluetooth device through a bluetooth peer-to-peer communication manner, record the sending time, and after receiving the test data, the second bluetooth device may send corresponding feedback data to the first bluetooth device, record the receiving time after receiving the feedback data, calculate the transmission time according to the sending time and the receiving time, and calculate the data transmission speed according to the transmission time, the data amount of the test data, and the data amount of the feedback data.
Then, the first bluetooth device may compare the data transmission speed with a speed threshold, and if the data transmission speed exceeds the speed threshold, it may be determined that communication status information of a communication link established between the first bluetooth device and the second bluetooth device in a bluetooth peer-to-peer communication manner meets a preset condition. Specifically, for example, the speed threshold is 18Mbps, and if it is detected that the data transmission speed when the second bluetooth device and the first bluetooth device communicate through the bluetooth peer-to-peer communication link is 20Mbps, it may be determined that the communication state of the communication link meets the preset condition.
In this embodiment, when the data transmission speed exceeds the transmission speed threshold, it is determined that the communication state information meets the preset condition, so that the second bluetooth device is ensured to have a better communication state when communicating with the first bluetooth device through the bluetooth peer-to-peer communication link.
In other embodiments, if the communication status information includes signal strength, S250 may be specific embodiments for determining whether the communication status information meets the preset condition: and when the signal strength exceeds the signal strength threshold, determining that the communication state information meets the preset condition.
As an example, the signal strength of the connection between the second bluetooth device and the first bluetooth device through bluetooth peer-to-peer communication may be obtained first. For example, the first bluetooth device may send test data to the second bluetooth device and obtain the signal strength of the second bluetooth device for feedback of the test data. And detecting whether the signal strength threshold is exceeded by the stockholder before the signal, for example, the signal strength between the second bluetooth device and the first bluetooth device is X, the signal strength threshold is X1, and if X is greater than or equal to X1, determining that the communication state information between the second bluetooth device and the first bluetooth device in connection through a bluetooth point-to-point communication mode meets a preset condition.
In this embodiment, when the signal strength exceeds the transmission speed threshold, it is determined that the communication state information meets the preset condition, so that the second bluetooth device is ensured to have a better communication state when communicating with the first bluetooth device through the bluetooth peer-to-peer communication link.
Optionally, when determining whether the communication status information meets the preset condition, it may be determined whether the communication status information meets the preset condition by combining parameters such as signal strength and data transmission speed, for example, when the parameters such as signal strength and data transmission speed meet corresponding requirements at the same time, it is determined that the communication status information meets the preset condition.
And S260, if the communication state information meets the preset condition, the upgrade file is sent to the second Bluetooth device through the communication link.
In some embodiments, when it is determined that the communication status information satisfies the preset condition according to the step S250, the upgrade file may be transmitted to the second bluetooth device through the communication link. And when the communication state information does not meet the preset conditions according to the step S250, not sending the upgrade file, continuously detecting whether the communication state information meets the preset conditions, and sending the upgrade file to the second Bluetooth equipment through the communication link when the communication state information meets the preset conditions.
And S270, the upgrade file is sent to the second Bluetooth device through the communication link, so that the second Bluetooth device is upgraded according to the upgrade file.
The specific embodiment of S270 may refer to S140, and thus will not be described herein.
In this embodiment, by acquiring the communication status information of the communication link, it is determined whether the communication status information meets the preset condition, and if the communication status information meets the preset condition, the upgrade file is sent to the second bluetooth device through the communication link, so that the second bluetooth device and the first bluetooth device can be ensured to have a better communication status when communicating in a bluetooth peer-to-peer communication manner.
Referring to fig. 4, fig. 4 shows an intelligent upgrade method of a bluetooth device according to another embodiment of the present application, where the intelligent upgrade method of a bluetooth device may be applied to a first bluetooth device in a bluetooth mesh network, and the intelligent upgrade method of a bluetooth device may include:
s310, receiving an upgrade file.
The specific embodiment of S310 may refer to S110, and thus will not be described herein.
S320, obtaining the distance between other Bluetooth devices in the Bluetooth mesh network and the first Bluetooth device.
In some embodiments, the local location of the first bluetooth device (e.g., a memory electrically connected to the first bluetooth device) may pre-store location information of each bluetooth device in the bluetooth mesh network and an IP address of each bluetooth device. Wherein, the IP address of each bluetooth device may be in one-to-one correspondence with the location information. Other Bluetooth devices in the Bluetooth mesh network can be Bluetooth devices except the first Bluetooth device in the Bluetooth mesh network, when the first Bluetooth device searches other Bluetooth devices connected with the first Bluetooth device in a mesh network communication mode, the other Bluetooth devices can be determined to be target Bluetooth devices, IP addresses of the target Bluetooth devices are acquired, then the first Bluetooth device can find out position information of the target Bluetooth devices according to the IP addresses of the target Bluetooth devices, and then the distance between the first Bluetooth device and the target Bluetooth devices can be calculated based on the positioning information. Wherein the location information may be location coordinates. In this embodiment, the mapping relationship is established between the IP address of the bluetooth device and the location information, and then the mapping relationship is stored in the first bluetooth device, so that the first bluetooth device can quickly and effectively obtain the location information of the bluetooth device, and further can effectively obtain the distance between the first bluetooth device and the bluetooth device searched by the first bluetooth device.
In other embodiments, each bluetooth device in the bluetooth network may be configured with a positioning device, each bluetooth device may acquire positioning information in real time through the positioning device, and upload the positioning information to the cloud server, when the first bluetooth device searches for a target bluetooth device connected to the first bluetooth device in a mesh network communication manner, the first bluetooth device may obtain an IP address of the target bluetooth device, and then the first bluetooth device may generate a positioning information acquisition request based on the IP address of the target bluetooth device, and send the positioning information acquisition request to the cloud server, so as to instruct the cloud server to feed back the positioning information of the target bluetooth device, and then calculate a distance between the first bluetooth device and the target bluetooth device based on the positioning information. In this embodiment, considering that the position of the bluetooth device may change, a positioning device is configured through the bluetooth device and uploaded to the cloud server, so that the real-time performance and accuracy of the position information of the bluetooth device can be ensured, and the accuracy of the distance between the acquired first bluetooth device and the bluetooth device searched by the first bluetooth device can be ensured.
And S330, when the distance does not exceed the preset distance, determining other Bluetooth devices as second Bluetooth devices.
As an example, for example, the distance threshold is 20m, and if the distance between the target bluetooth device searched by the first bluetooth device and the first bluetooth device is 18m, the target bluetooth device may be determined as the second bluetooth device.
As another example, if the first bluetooth device detects a plurality of target bluetooth devices, and the distribution of the first bluetooth device and the plurality of target bluetooth devices is shown in fig. 5, where bluetooth device A1 in fig. 5 is the first bluetooth device, bluetooth devices A2 and A3 are target bluetooth devices, if the distance threshold is d, the distance between A1 and A2 is d1, the distance between A1 and A3 is d3, and d1 is less than or equal to d2. The target bluetooth device A2 may be determined to be the second bluetooth device.
And S340, when the communication link is searched, establishing a Bluetooth point-to-point communication mode connection communication link with the second Bluetooth equipment.
And S350, the upgrade file is sent to the second Bluetooth device through the communication link, so that the second Bluetooth device is upgraded according to the upgrade file.
The specific embodiments of S340 to S350 can refer to S130 to S140, and are not described herein. Considering that the communication distance of bluetooth is limited, communication cannot be performed beyond a certain distance, in this embodiment, by acquiring the distance between other bluetooth devices in the bluetooth mesh network and the first bluetooth device, when the distance does not exceed the preset distance, the other bluetooth devices are determined to be second bluetooth devices, so that the second bluetooth devices are ensured to have a better communication state when communicating with the first bluetooth devices in a second communication mode.
Referring to fig. 6, fig. 6 illustrates an intelligent upgrade method of a bluetooth device according to still another embodiment of the present application, where the intelligent upgrade method of a bluetooth device may be applied to a first bluetooth device in a bluetooth mesh network, and the intelligent upgrade method of a bluetooth device may include:
s410, receiving the upgrade file.
S420, obtaining the distance between other Bluetooth devices in the Bluetooth mesh network and the first Bluetooth device.
For the specific embodiments of S410 to S420, reference may be made to S310 to S320.
And S430, when the distance does not exceed the preset distance, determining other Bluetooth devices as target Bluetooth devices.
S440, when the number of the target Bluetooth devices exceeds the specified number, selecting the specified number of the target Bluetooth devices from the target Bluetooth devices as second Bluetooth devices, wherein the distance between the second Bluetooth devices and the first Bluetooth devices is smaller than the distance between the Bluetooth devices except the second Bluetooth devices and the first Bluetooth devices in the target Bluetooth devices.
As an example, for example, a designated number is 3, a preset distance is 5m, and the target bluetooth devices include bluetooth device 1, bluetooth device 2, bluetooth device 3, bluetooth device 4, and bluetooth device 5. The distance between the Bluetooth device 1 and the first Bluetooth device is 1m; bluetooth equipment the distance between the Bluetooth equipment 2 and the first Bluetooth equipment is 2m; bluetooth equipment the distance between the Bluetooth equipment 3 and the first Bluetooth equipment is 3m; bluetooth device 4 is 4m from the first Bluetooth device; bluetooth device 5 is 5m from the first Bluetooth device. It may be determined that the number of target bluetooth devices exceeds the specified number. At this time, 3 target bluetooth devices may be selected from the 5 target bluetooth devices as the second bluetooth device, and when selecting, the selection may be performed in order of from small to large distances, so that bluetooth device 1, bluetooth device 2, and bluetooth device 3 may be selected from the 5 target bluetooth devices as the second bluetooth device.
Considering that the closer the distance is, the better the communication state is, in this embodiment, by selecting the target bluetooth devices with the specified number nearest to the first bluetooth device as the second bluetooth device, it is ensured that a bluetooth point-to-point communication link with a better state is conveniently established between the second bluetooth device and the first bluetooth device.
S450, when searching, establishing a communication link connected with the second Bluetooth device in a Bluetooth point-to-point communication mode.
S460, the upgrade file is sent to the second Bluetooth device through the communication link, so that the second Bluetooth device is upgraded according to the upgrade file.
For specific embodiments of S450 to S460, reference may be made to S340 to S350.
In this embodiment, by determining other bluetooth devices as target bluetooth devices when the distance does not exceed the preset distance, when the number of the target bluetooth devices exceeds the specified number, the specified number of the target bluetooth devices are selected from the target bluetooth devices as the second bluetooth devices, wherein the distance between the second bluetooth devices and the first bluetooth device is smaller than the distance between the bluetooth devices except the second bluetooth device and the first bluetooth device in the target bluetooth devices, thereby limiting the number of times of the upgrade files sent by the first bluetooth device, effectively reducing the workload of the first bluetooth device, facilitating subsequent bluetooth devices for transferring the upgrade files to uniformly spread the workload of the upgrade files, further fully utilizing the advantages of fission type upgrade of the bluetooth devices, and improving the upgrade efficiency.
In some embodiments, before S460, it may further include: determining whether the second Bluetooth device has been upgraded according to the upgrade file; and when the second Bluetooth device is not upgraded according to the upgrade file, transmitting the upgrade file to the second Bluetooth device through the communication link.
In this embodiment, by detecting whether the second bluetooth device has been upgraded according to the upgrade file, when the second bluetooth device has not been upgraded according to the upgrade file, sending the upgrade file to the second bluetooth device through the communication link is performed, so that repeated reception of the upgrade file to the upgraded bluetooth device is avoided, and further, the upgrade efficiency of the bluetooth device is effectively improved.
Referring to fig. 7, fig. 7 shows an intelligent upgrade method of a bluetooth device according to still another embodiment of the present application, where the intelligent upgrade method of a bluetooth device may be applied to a first bluetooth device in a bluetooth network, where the bluetooth network further includes a third bluetooth device, and the intelligent upgrade method of a bluetooth device may include:
s510, receiving the upgrade file through a first communication mode.
S520, searching for a second Bluetooth device connected with the first Bluetooth device through a second communication mode.
S530, the upgrade file is sent to the second Bluetooth device through the first communication mode, so that the second Bluetooth device can be upgraded according to the upgrade file, wherein the first communication mode is a Bluetooth point-to-point communication mode, and the second communication mode is a mesh network communication mode.
The specific embodiments of S510 to S530 may refer to S110 to S140, and are not described herein.
S540, searching for a third Bluetooth device connected with the second Bluetooth device through the second communication mode.
As one approach, the first bluetooth device may search for a third bluetooth device that is connected to the second bluetooth device via the second communication means. Alternatively, the first bluetooth device may send a search instruction to the second bluetooth device to instruct the second bluetooth device to search for a third bluetooth device connected to the second bluetooth device through the second communication means.
S550, the upgrade file is sent to the third Bluetooth device in the first communication mode, so that the third Bluetooth device can be upgraded according to the upgrade file. The step of specifically searching for the third bluetooth device connected to the second bluetooth device through the second communication manner and the step of sending the upgrade file to the third bluetooth device through the first communication manner may refer to S520 and S530, so that details are not described herein.
As a way, the first bluetooth device may send the upgrade file to the third bluetooth device through the first communication way, so that the third bluetooth device may perform an upgrade according to the upgrade file. As another way, the first bluetooth device may send a file transfer instruction to the second bluetooth device to instruct the second bluetooth device to send an upgrade file to the third bluetooth device through the first communication manner, so that the third bluetooth device can upgrade according to the upgrade file.
As an example, please refer to fig. 1 again, in which bluetooth device a is taken as a first bluetooth device; the Bluetooth device B1 and the Bluetooth device B2 are second Bluetooth devices; in the same way, in subsequent upgrades, the third bluetooth device transmits the upgrade file to other bluetooth devices (such as a fourth bluetooth device, a fifth bluetooth device, etc.) in the bluetooth network through the above-mentioned manner until all bluetooth devices in the bluetooth network receive the upgrade file, thereby realizing that all bluetooth devices in the bluetooth network can be upgraded according to the upgrade file. The intelligent upgrading efficiency of the Bluetooth equipment is improved.
The number of the second Bluetooth devices can be multiple, the number of the third Bluetooth devices can be multiple, and the next time the upgrade file is transferred to the Bluetooth devices, the more the number of the Bluetooth devices receiving the upgrade file is, the more the upgrade file is transferred to the Bluetooth devices, so that the Bluetooth devices in the Bluetooth network can transfer the upgrade file in a fission mode, and the upgrade efficiency is further effectively improved.
Alternatively, other communication modes than bluetooth point-to-point communication modes may be adopted as the first communication mode, where the data transmission speed of the first communication mode is greater than that of the second communication mode.
Referring to fig. 8, fig. 8 shows an intelligent upgrade apparatus for a bluetooth device according to an embodiment of the present application, where the intelligent upgrade apparatus 600 for a bluetooth device is applied to a first bluetooth device in a bluetooth mesh network, and the intelligent upgrade apparatus 600 for a bluetooth device includes an upgrade file receiving module 610, a searching module 620, a communication establishing module 630, and a transmitting module 640. Wherein:
the upgrade file receiving module 610 is configured to receive an upgrade file.
And a searching module 620, configured to search for a second bluetooth device in the bluetooth mesh network.
The communication establishing module 630 is configured to establish a communication link connected in a bluetooth peer-to-peer communication manner with the second bluetooth device when the searching module searches for the second bluetooth device.
And the sending module 640 is configured to send the upgrade file received by the upgrade file receiving module to the second bluetooth device through the communication link, so that the second bluetooth device performs an upgrade according to the upgrade file.
Optionally, the intelligent upgrade apparatus 600 of the bluetooth device further includes:
the communication state information acquisition module is used for acquiring the communication state information of the communication link;
the judging module is used for determining whether the communication state information meets preset conditions;
and the first transmission module is used for sending the upgrade file to the second Bluetooth equipment through the communication link if the communication state information meets the preset condition so that the second Bluetooth equipment can be upgraded according to the upgrade file.
Optionally, the communication state information includes signal strength, and the judging module is specifically configured to determine that the communication state information meets a preset condition when the signal strength exceeds a signal strength threshold.
Optionally, the communication status information includes a data transmission speed, and the judging module is specifically configured to determine that the communication status information meets a preset condition when the data transmission speed exceeds a speed threshold.
Optionally, the search module 620 includes:
the distance acquisition sub-module is used for acquiring the distance between other Bluetooth devices in the Bluetooth mesh network and the first Bluetooth device.
And the second Bluetooth device determining submodule is used for determining other Bluetooth devices as the second Bluetooth device when the distance does not exceed the preset distance.
Optionally, when the distance does not exceed the preset distance, the second bluetooth device determining submodule is specifically configured to determine other bluetooth devices as target bluetooth devices when the distance does not exceed the preset distance; when the number of the target Bluetooth devices exceeds the specified number, selecting the specified number of the target Bluetooth devices from the target Bluetooth devices as second Bluetooth devices, wherein the distance between the second Bluetooth devices and the first Bluetooth devices is smaller than the distance between the Bluetooth devices except the second Bluetooth devices and the first Bluetooth devices in the target Bluetooth devices.
Optionally, the intelligent upgrade apparatus 600 of the bluetooth device further includes:
and the upgrade detection module is used for determining whether the second Bluetooth device is upgraded according to the upgrade file.
And the second transmission module is used for sending the upgrade file to the second Bluetooth equipment through the communication link when the second Bluetooth equipment is not upgraded according to the upgrade file, so that the second Bluetooth equipment is upgraded according to the upgrade file.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above description module may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In the several embodiments provided herein, the illustrated or discussed coupling or direct coupling or communication connection of the modules to each other may be through some interfaces, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other forms.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 9, a block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device 700 may be the electronic device 700 capable of running the program in the foregoing embodiment. The electronic device 700 of the present invention may include one or more of the following components: a processor 710, a memory 720, and one or more programs, wherein the one or more programs may be stored in the memory 720 and configured to be executed by the one or more processors 710, the one or more programs configured to perform the methods as described in the foregoing method embodiments.
Processor 710 may include one or more processing cores. The processor 710 utilizes various interfaces and lines to connect various portions of the overall electronic device, perform various functions of the electronic device, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 720, and invoking data stored in the memory 720. Alternatively, the processor 710 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 710 may integrate one or a combination of several of a central processor 710 (Central Processing Unit, CPU), an image processor 710 (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 710 and may be implemented solely by a single communication chip.
The Memory 720 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Memory 720 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 720 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created by the terminal in use (such as phonebook, audio-video data, map data, travel record data), and the like.
Referring to fig. 10, a block diagram of a computer readable storage medium according to an embodiment of the present invention is shown. The computer readable medium 800 has stored therein a program code 810, the program code 810 being adapted to be invoked by a processor to perform the method described in the above method embodiments.
The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium comprises a non-transitory computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium has storage space for program code to perform any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
In summary, the method, the device, the electronic device and the storage medium for intelligent upgrade of bluetooth device provided by the embodiment receive the upgrade file; searching a second Bluetooth device in the Bluetooth mesh network; when searching, establishing a communication link connected with the second Bluetooth equipment in a Bluetooth point-to-point communication mode; the upgrade file is sent to the second Bluetooth device through the communication link, so that the second Bluetooth device can be upgraded according to the upgrade file, the next Bluetooth device needing to be upgraded can be automatically searched after one Bluetooth device receives the upgrade file, the upgrade file is sent to the next Bluetooth device needing to be upgraded to instruct the next Bluetooth device to be upgraded, the upgrade file can be transmitted in a fission mode, automatic upgrade of a plurality of Bluetooth devices in the Bluetooth network is realized, tedious operation caused by manual upgrade is avoided, and upgrade efficiency is improved. In addition, the next Bluetooth device to be upgraded can be conveniently and rapidly searched in a mesh network communication mode, and the transmission speed of the upgrade file can be improved in a Bluetooth point-to-point communication mode, so that the upgrade efficiency is effectively improved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A method for intelligent upgrade of bluetooth devices, wherein the method is applied to a first bluetooth device in a bluetooth mesh network, the method comprising:
receiving an upgrade file;
searching and acquiring the distance between other Bluetooth devices in the Bluetooth mesh network and the first Bluetooth device; acquiring a plurality of Bluetooth devices with the distance not exceeding a preset distance from the first Bluetooth device as target Bluetooth devices;
when the number of the target Bluetooth devices exceeds the specified number, selecting the target Bluetooth devices which are not upgraded according to the upgrade files and are in the specified number from the target Bluetooth devices as second Bluetooth devices, wherein the distance between the second Bluetooth devices and the first Bluetooth devices is smaller than the distance between the Bluetooth devices except the second Bluetooth devices and the first Bluetooth devices in the target Bluetooth devices;
When searching, establishing a communication link connected with the second Bluetooth equipment in a Bluetooth point-to-point communication mode;
and sending the upgrade file to the second Bluetooth device through the communication link, so that the second Bluetooth device is upgraded according to the upgrade file, searching for one or more other Bluetooth devices to be upgraded, the distance between the other Bluetooth devices and each second Bluetooth device does not exceed a preset distance after the upgrade is successful, and sending the upgrade file to the Bluetooth device to be upgraded in a point-to-point communication mode, thereby realizing automatic upgrade of a plurality of Bluetooth devices in the Bluetooth mesh network.
2. The intelligent upgrade method according to claim 1, further comprising, before the step of transmitting the upgrade file to the second bluetooth device via the communication link to cause the second bluetooth device to upgrade according to the upgrade file:
acquiring communication state information of the communication link;
determining whether the communication state information meets a preset condition;
and if the communication state information meets the preset condition, executing the step of sending the upgrade file to the second Bluetooth device through the communication link so as to upgrade the second Bluetooth device according to the upgrade file.
3. The intelligent upgrade method according to claim 2, wherein the communication status information includes signal strength, and the step of determining whether the communication status information satisfies a preset condition includes:
and when the signal intensity exceeds a signal intensity threshold value, determining that the communication state information meets a preset condition.
4. The intelligent upgrade method according to claim 2, wherein the communication status information includes a data transmission speed, and the step of determining whether the communication status information satisfies a preset condition includes:
and when the data transmission speed exceeds a speed threshold, determining that the communication state information meets a preset condition.
5. The intelligent upgrade method according to any one of claims 1-4, further comprising, prior to the step of transmitting the upgrade file to the second bluetooth device via the communication link to cause the second bluetooth device to upgrade according to the upgrade file:
determining whether the second Bluetooth device has been upgraded according to the upgrade file;
and when the second Bluetooth device is not upgraded according to the upgrade file, executing the step of sending the upgrade file to the second Bluetooth device through the communication link so as to enable the second Bluetooth device to be upgraded according to the upgrade file.
6. An intelligent upgrade apparatus for a bluetooth device, wherein the intelligent upgrade apparatus for a bluetooth device is applied to a first bluetooth device in a bluetooth mesh network, and the intelligent upgrade apparatus for a bluetooth device includes:
the upgrade file receiving module is used for receiving the upgrade file;
the searching module comprises a second Bluetooth device determining sub-module and a distance acquiring sub-module, wherein the distance acquiring sub-module is used for searching and acquiring the distance between other Bluetooth devices in the Bluetooth mesh network and the first Bluetooth device;
the second Bluetooth device determining submodule is used for acquiring a plurality of Bluetooth devices with the distance not exceeding a preset distance from the first Bluetooth device as target Bluetooth devices; when the number of the target Bluetooth devices exceeds the specified number, selecting the target Bluetooth devices which are not upgraded according to the upgrade files and are in the specified number from the target Bluetooth devices as second Bluetooth devices, wherein the distance between the second Bluetooth devices and the first Bluetooth devices is smaller than the distance between the Bluetooth devices except the second Bluetooth devices and the first Bluetooth devices in the target Bluetooth devices;
The communication establishing module is used for establishing a communication link connected with the second Bluetooth device in a Bluetooth point-to-point communication mode when the searching module searches the second Bluetooth device;
and the sending module is used for sending the upgrade file received by the upgrade file receiving module to the second Bluetooth equipment through the communication link, so that the second Bluetooth equipment is upgraded according to the upgrade file, searching for one or more other Bluetooth equipment to be upgraded, the distance between the other Bluetooth equipment and each second Bluetooth equipment does not exceed a preset distance after the upgrade is successful, and sending the upgrade file to the Bluetooth equipment to be upgraded in a point-to-point communication mode, thereby realizing automatic upgrade of a plurality of Bluetooth equipment in the Bluetooth mesh network.
7. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1 to 5.
8. A computer readable storage medium having stored therein program code which is callable by a processor to perform the method of any one of claims 1 to 5.
CN202011564712.8A 2020-12-25 2020-12-25 Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium Active CN112714426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011564712.8A CN112714426B (en) 2020-12-25 2020-12-25 Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011564712.8A CN112714426B (en) 2020-12-25 2020-12-25 Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN112714426A CN112714426A (en) 2021-04-27
CN112714426B true CN112714426B (en) 2024-01-26

Family

ID=75546591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011564712.8A Active CN112714426B (en) 2020-12-25 2020-12-25 Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112714426B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259928A (en) * 2021-05-08 2021-08-13 生迪智慧科技有限公司 OTA (over the air) upgrading method and device, electronic equipment, storage medium and program product
CN114513778A (en) * 2022-04-14 2022-05-17 广东南方电信规划咨询设计院有限公司 Wireless data transmission method and system
CN115102634B (en) * 2022-05-12 2023-09-26 深圳市科陆电子科技股份有限公司 Method and device for testing Bluetooth function of electric energy meter, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109769239A (en) * 2019-03-06 2019-05-17 乐鑫信息科技(上海)股份有限公司 Method for carrying out OTA firmware upgrade to the node in bluetooth Mesh network
CN111132113A (en) * 2019-12-31 2020-05-08 中颖电子股份有限公司 Method for realizing low-power-consumption Bluetooth Mesh network
CN112039736A (en) * 2020-08-14 2020-12-04 深圳市欧瑞博科技股份有限公司 Intelligent equipment upgrading method and device, intelligent home system and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713047A (en) * 2017-01-12 2017-05-24 泰凌微电子(上海)有限公司 Node upgrading method and system in mesh network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109769239A (en) * 2019-03-06 2019-05-17 乐鑫信息科技(上海)股份有限公司 Method for carrying out OTA firmware upgrade to the node in bluetooth Mesh network
CN111132113A (en) * 2019-12-31 2020-05-08 中颖电子股份有限公司 Method for realizing low-power-consumption Bluetooth Mesh network
CN112039736A (en) * 2020-08-14 2020-12-04 深圳市欧瑞博科技股份有限公司 Intelligent equipment upgrading method and device, intelligent home system and electronic equipment

Also Published As

Publication number Publication date
CN112714426A (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN112714426B (en) Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium
CN105744466B (en) A kind of connection method of Bluetooth device and bluetooth equipment
US10474452B2 (en) Firmware upgrade through GPIO port via UART protocol
US10412207B2 (en) Mobile terminal, power adapter, and upgrade method thereof
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
CN114175748B (en) Communication frequency adjusting method, device, electronic equipment and storage medium
CN112134758B (en) Method and device for monitoring weak network environment and reconnecting communication session
CN104601205A (en) Content sharing method and device
CN112346751B (en) Application program installation method and device, electronic equipment and storage medium
CN112087354A (en) Communication protocol testing method and device, electronic equipment and storage medium
CN113412468A (en) SDK plug-in loading method and device, mobile terminal and storage medium
CN107484214B (en) Internet of things access point frequency point selection method and device
US10938773B2 (en) Method and apparatus for synchronizing contact information and medium
CN104077163A (en) Installing method, device and terminal for installation package
US20170308374A1 (en) Mobile terminal, power adapter, and upgrade method thereof
CN107317828B (en) File downloading method and device
CN114077568A (en) Inter-core communication method and device, electronic assembly and electronic equipment
CN105050123A (en) Load control method for wireless network and terminal
CN110597643B (en) Inter-core communication method, processor and electronic equipment
CN107798008B (en) Content pushing system, method and device
CN110797985A (en) Coil switching method and device, storage medium and electronic equipment
CN104079324A (en) Data transmission method, electronic equipment and system
CN110177364B (en) Bluetooth device pairing connection method and device, storage medium and electronic device
US9210658B2 (en) Communication device, communication system, communication method, and program
CN107094084B (en) Data sharing method and device

Legal Events

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