CN112383908A - Bluetooth device upgrading method and system - Google Patents

Bluetooth device upgrading method and system Download PDF

Info

Publication number
CN112383908A
CN112383908A CN202011327991.6A CN202011327991A CN112383908A CN 112383908 A CN112383908 A CN 112383908A CN 202011327991 A CN202011327991 A CN 202011327991A CN 112383908 A CN112383908 A CN 112383908A
Authority
CN
China
Prior art keywords
ota
bluetooth device
local
firmware
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.)
Withdrawn
Application number
CN202011327991.6A
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.)
Wuxi Huanxin Microelectronics Technology Co ltd
Original Assignee
Wuxi Huanxin Microelectronics 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 Wuxi Huanxin Microelectronics Technology Co ltd filed Critical Wuxi Huanxin Microelectronics Technology Co ltd
Priority to CN202011327991.6A priority Critical patent/CN112383908A/en
Publication of CN112383908A publication Critical patent/CN112383908A/en
Withdrawn legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/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

Abstract

The invention relates to an upgrading method and a system of Bluetooth equipment, wherein the method comprises the following steps: establishing connection between the remote Bluetooth device and the local Bluetooth device through a GAP layer; after connection, the remote Bluetooth equipment sends an OTA service control command and starts the OTA upgrading service; after receiving the command of starting the OTA service, the local Bluetooth device sends version information and firmware information of the local Bluetooth device to the remote Bluetooth device; after the remote Bluetooth equipment obtains the version information and the firmware information, the remote Bluetooth equipment selects a firmware OTA upgrade package and starts to transmit in groups; and the local Bluetooth equipment firmware OTA upgrading packet is received and verified, and after the verification is OK, the local Bluetooth equipment is restarted to complete the firmware OTA upgrading process. The method directly runs on the original architecture without modifying the basic architecture of the Bluetooth, is safe, fast and convenient, and can be used in the upgrading scheme of all Bluetooth equipment.

Description

Bluetooth device upgrading method and system
Technical Field
The invention relates to the technical field of Bluetooth, in particular to an upgrading method and system of Bluetooth equipment.
Background
In the aspect of life, the related products of bluetooth are also diversified, and the systems used by them are different, most importantly, most of them do not reserve the interface for upgrading and maintaining the bluetooth part. Therefore, the upgrading of the Bluetooth equipment is difficult, the other Bluetooth equipment can not be upgraded again, and only the chip can be replaced if the Bluetooth equipment needs to be upgraded again, so that economic burden is brought to a user, high maintenance cost is brought to product development, and the upgrading of the Bluetooth equipment is not facilitated.
Disclosure of Invention
The upgrading method and system of the Bluetooth equipment can solve the problem of wireless upgrading of the Bluetooth equipment.
In order to achieve the purpose, the invention adopts the following technical scheme:
an upgrading method of Bluetooth equipment is based on a GAP layer and a GATT layer, and comprises the following steps:
s100, establishing connection between the remote Bluetooth device and the local Bluetooth device through a GAP layer;
s200, after the remote Bluetooth device is connected with the local Bluetooth device, the remote Bluetooth device sends an OTA service control command and starts the OTA upgrading service;
s300, after receiving the command of starting the OTA service, the local Bluetooth device sends version information and firmware information of the local Bluetooth device to the remote Bluetooth device;
s400, after the remote Bluetooth equipment obtains the version information and the firmware information, the remote Bluetooth equipment selects a firmware OTA upgrade package and starts to transmit in groups;
and S500, receiving the firmware OTA upgrade package of the local Bluetooth equipment, checking, and restarting the local Bluetooth equipment after verification is OK to finish the firmware OTA upgrade process.
Further, the S200 specifically includes:
and the client role of the GATT layer of the remote Bluetooth device receives the OTA characteristic service set by the server role of the GATT layer of the local Bluetooth device, and the remote Bluetooth device operates the local Bluetooth device to enter an OTA upgrading mode by sending a command for controlling the OTA characteristic to be started.
Further, after the S400 remote bluetooth device obtains the version information and the firmware information, the selecting, by the remote bluetooth device, the firmware OTA upgrade package specifically includes:
the remote Bluetooth equipment compares the stored OTA firmware information and the version number which need to be upgraded with the received firmware information and the version number of the local Bluetooth equipment to see whether the upgrading is needed, and if the upgrading is needed, the Bluetooth equipment carries out OTA upgrading; if the OTA upgrade process is not needed, the upgrade is terminated.
Further, the first group of data of the firmware packet sent to the local bluetooth device in the packet transmission in S400 includes two parts: the first part is the length of the file; the second part is the integrity check value of MD5, and the local bluetooth device stores the first set of data in a temporary memory, and waits for the integrity reception of the OTA firmware to complete.
Further, the verification in S500 includes that the local bluetooth device sequentially receives the remaining group of data of the OTA firmware, and performs MD5 verification on each group of data;
the local Bluetooth equipment judges whether the OTA firmware data is received completely according to the file length of the received first group of data;
the local Bluetooth equipment finishes receiving the OTA data, and judges whether the received data is complete and can normally operate or not through MD5 verification and comparison; if the compared MD5 check values are the same, the local Bluetooth equipment sends an OTA completion event to the remote Bluetooth equipment; if the comparison MD5 has different check values, the local bluetooth device sends an OTA failure event to the remote bluetooth device, and the process is executed from S200 again.
Further, in S100, a connection command is initiated through the GAP layer, so that the baseband enters a broadcast state or an initialization state, and the remote bluetooth device and the local bluetooth device are connected.
Further, the step S500 further includes storing the cyclically received data packets in a memory, and determining whether the received data is complete? If not, the data packet continues to be received, and if the data packet is completed, the checking step is carried out.
In another aspect, the present invention also discloses an upgrade system for bluetooth equipment, comprising the following units,
the connection unit is used for establishing connection between the remote Bluetooth device and the local Bluetooth device through a GAP layer;
the upgrading command sending unit is used for sending an OTA service control command by the remote Bluetooth equipment and starting the upgrading service of the OTA after the remote Bluetooth equipment is connected with the local Bluetooth equipment;
the device information sending unit is used for sending the version information and the firmware information of the local Bluetooth device to the remote Bluetooth device after the local Bluetooth device receives the command of starting the OTA service;
the remote Bluetooth equipment selects a firmware OTA upgrade package to start packet transmission after acquiring the version information and the firmware information;
and the upgrading unit is used for receiving the firmware OTA upgrading packet of the local Bluetooth equipment, verifying, and restarting the local Bluetooth equipment after verifying OK to complete the firmware OTA upgrading process.
Further, the device also comprises the following sub-units,
the verification unit is used for judging whether the OTA firmware data is received according to the file length of the received first group of data by the local Bluetooth equipment;
the local Bluetooth equipment finishes receiving the OTA data, and judges whether the received data is complete and can normally operate or not through MD5 verification and comparison; if the compared MD5 check values are the same, the local Bluetooth equipment sends an OTA completion event to the remote Bluetooth equipment; if the comparison MD5 check values are different, the local Bluetooth device sends an OTA failure event to the remote Bluetooth device.
According to the technical scheme, the upgrading firmware is sent to the local Bluetooth device needing upgrading through the Bluetooth link in wireless connection through the data transmission scheme, after the local Bluetooth device receives the complete upgrading firmware, whether the received upgrading firmware is complete and can normally run is determined through the verification of the MD5, and after the verification of the MD5 is passed, the local Bluetooth device is restarted to complete the firmware upgrading of the OTA.
The method directly runs on the original architecture without modifying the basic architecture of the Bluetooth, is safe, fast and convenient, and can be used in the upgrading scheme of all Bluetooth equipment. The upgrading scheme is provided for the direct upgrading of the Bluetooth, and resource waste and economic consumption caused by discarding or abandoning use of the Bluetooth equipment due to the fact that the Bluetooth equipment cannot be upgraded are avoided.
Specifically, the upgrading method of the Bluetooth device has the following advantages:
1. a wireless connection;
2. the Bluetooth module application can be upgraded without modifying the system;
3. if the system is upgraded wrongly, the equipment can still be used;
4. the command control is realized through a remote device in an OTA way;
5. increasing the lifetime of the bluetooth module (since the device can be upgraded).
Drawings
FIG. 1 is a schematic diagram of the process steps of the present invention;
fig. 2 is a flow chart of an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
The upgrade method of the bluetooth device in this embodiment is based on a GAP layer and a GATT layer, where the GAP layer is used to establish a connection (connect two devices together), and the GATT layer performs data interaction through the following characteristics of a service on the basis of the connection;
the upgrading method of the Bluetooth equipment of the embodiment of the invention comprises the following steps:
the method comprises the following steps:
s100, establishing connection between the remote Bluetooth device and the local Bluetooth device through a GAP layer;
s200, after the remote Bluetooth device is connected with the local Bluetooth device, the remote Bluetooth device sends an OTA service control command and starts the OTA upgrading service;
s300, after receiving the command of starting the OTA service, the local Bluetooth device sends version information and firmware information of the local Bluetooth device to the remote Bluetooth device;
s400, after the remote Bluetooth equipment obtains the version information and the firmware information, the remote Bluetooth equipment selects a firmware OTA upgrade package and starts to transmit in groups;
and S500, receiving the firmware OTA upgrade package of the local Bluetooth equipment, checking, and restarting the local Bluetooth equipment after verification is OK to finish the firmware OTA upgrade process.
The following is a detailed description:
s1, establishing a connection path through a GAP layer, and establishing connection between local Bluetooth equipment and remote Bluetooth equipment.
The device that initiates the connection is not limited in S1.
S2, the remote Bluetooth equipment in the connection state enables the local Bluetooth to enter an OTA upgrading mode by sending a control command;
the S2 is implemented because the client role of the GATT layer of the remote bluetooth device can receive the OTA feature service set by the server role of the GATT layer of the local bluetooth device, and the remote bluetooth device operates the local bluetooth device to enter the OTA upgrade mode by sending a command for controlling the OTA feature to be turned on.
S3, after the OTA upgrading mode of the remote Bluetooth equipment is started, the local Bluetooth equipment sends the firmware information and the version number of the local Bluetooth equipment to the remote Bluetooth equipment;
s4, comparing the version number of the stored OTA firmware information and version number needing to be upgraded with the received firmware information and version number of the local Bluetooth device by the remote Bluetooth device to see whether the upgrading is needed, and if the upgrading is needed, performing OTA upgrading on the Bluetooth device; if the OTA upgrade process is not needed, the upgrade is terminated.
S5, the remote Bluetooth equipment starts OTA upgrading operation and sends the first group of packets of the OTA firmware to the local Bluetooth equipment;
the initial set of data of the firmware package sent to the local bluetooth device by sub-packaging of S5 includes two parts: the first part is the length of the file; the second part is the integrity check value of MD5, and the local bluetooth device stores the first set of data in a temporary memory, and waits for the integrity reception of the OTA firmware to complete.
S6, the local Bluetooth equipment sequentially receives the residual group of data of the OTA firmware and performs MD5 verification on each group of data;
and S7, the local Bluetooth equipment judges whether the OTA firmware data is received completely according to the file length of the received first group of data.
S8, the local Bluetooth equipment completes receiving the OTA data, and whether the received data is complete and can normally operate is judged through MD5 verification and comparison; if the comparison MD5 check values are the same, the local Bluetooth device sends an OTA completion event to the remote Bluetooth device. If the comparison MD5 check values are different, the local Bluetooth device sends OTA failure events to the remote Bluetooth device, and the execution is started from step 2 again.
And S8, judging whether the data received by the local Bluetooth device by the OTA is complete, comparing the integrity check value of the MD5 in the first group of data received by the local Bluetooth device with the check value of the MD5 performed by the data received by the local Bluetooth device, and if the comparison is consistent, indicating that the OTA firmware data is complete and can normally run.
And S9, after the local Bluetooth device OTA successfully receives the data, the local Bluetooth device carries out reset operation, the reset is completed, and the OTA firmware is updated.
S10, the local Bluetooth equipment updates the firmware and starts to operate normally.
The following are exemplified:
as shown in fig. 2:
1. sending a connection initiating command through a GAP layer to enable a baseband to enter a broadcasting state or an initialization state for connection;
2. when the remote Bluetooth device is connected with the local Bluetooth device, the GATT layer of the local Bluetooth device serves as the service and the characteristic of the server, and the remote Bluetooth device serves as a client to discover the OTA service of the server and write the OTA characteristic.
3. The remote bluetooth device may turn on OTA services.
4. And after receiving the command of starting the OTA service, the local Bluetooth equipment sends the version information and the firmware information of the local Bluetooth equipment to the remote equipment.
5. And after the remote Bluetooth equipment obtains the version information and the firmware information, the remote Bluetooth equipment sends the new firmware sub-package to the local equipment.
6. And after receiving the packet, the local Bluetooth equipment performs CRC on the packet data, if ok is checked, the OTA operation is continued, and otherwise, the OTA operation is terminated.
7. The cyclically received data packets are stored in a memory.
8. Is the reception of data completed? The packet is not received further and the next step is done.
9. And performing md5 verification on all the received data packets, and ending the OTA operation if the verification passes the next step and the verification fails.
10. And refreshing the firmware and restarting the equipment.
And 11, finishing the OTA operation.
In summary, in the embodiment of the present invention, through a data transmission scheme, the upgrade firmware is sent to the local bluetooth device to be upgraded through the bluetooth link in wireless connection, after receiving the complete upgrade firmware, the local bluetooth device determines whether the received upgrade firmware is complete and can normally operate through the verification of the MD5, and after the verification of the MD5 is passed, the local bluetooth device is restarted to complete the firmware upgrade of the OTA.
The OTA upgrading process provided by the invention only needs local Bluetooth and remote Bluetooth equipment to participate, does not need to modify the local Bluetooth equipment, and the remote Bluetooth equipment can be a mobile phone, can also be Bluetooth equipment with a GAP layer and a GATT layer and can be data-transmission intelligent equipment.
The invention uses the MD5 verification mode to ensure that the OTA firmware can be completely transmitted to the local Bluetooth equipment for wireless upgrade.
The method directly runs on the original architecture without modifying the basic architecture of the Bluetooth, is safe, fast and convenient, and can be used in the upgrading scheme of all Bluetooth equipment. The upgrading scheme is provided for the direct upgrading of the Bluetooth, and resource waste and economic consumption caused by discarding or abandoning use of the Bluetooth equipment due to the fact that the Bluetooth equipment cannot be upgraded are avoided.
On the other hand, the embodiment of the invention also discloses an upgrading system of the Bluetooth equipment, which comprises the following units,
the connection unit is used for establishing connection between the remote Bluetooth device and the local Bluetooth device through a GAP layer;
the upgrading command sending unit is used for sending an OTA service control command by the remote Bluetooth equipment and starting the upgrading service of the OTA after the remote Bluetooth equipment is connected with the local Bluetooth equipment;
the device information sending unit is used for sending the version information and the firmware information of the local Bluetooth device to the remote Bluetooth device after the local Bluetooth device receives the command of starting the OTA service;
the remote Bluetooth equipment selects a firmware OTA upgrade package to start packet transmission after acquiring the version information and the firmware information;
and the upgrading unit is used for receiving the firmware OTA upgrading packet of the local Bluetooth equipment, verifying, and restarting the local Bluetooth equipment after verifying OK to complete the firmware OTA upgrading process.
Further, the device also comprises the following sub-units,
the verification unit is used for judging whether the OTA firmware data is received according to the file length of the received first group of data by the local Bluetooth equipment;
the local Bluetooth equipment finishes receiving the OTA data, and judges whether the received data is complete and can normally operate or not through MD5 verification and comparison; if the compared MD5 check values are the same, the local Bluetooth equipment sends an OTA completion event to the remote Bluetooth equipment; if the comparison MD5 check values are different, the local Bluetooth device sends an OTA failure event to the remote Bluetooth device.
It is understood that the system provided by the embodiment of the present invention corresponds to the method provided by the embodiment of the present invention, and the explanation, the example and the beneficial effects of the related contents can refer to the corresponding parts in the method.
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.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. An upgrading method of Bluetooth equipment is based on a GAP layer and a GATT layer, and is characterized in that:
the method comprises the following steps:
s100, establishing connection between the remote Bluetooth device and the local Bluetooth device through a GAP layer;
s200, after the remote Bluetooth device is connected with the local Bluetooth device, the remote Bluetooth device sends an OTA service control command and starts the OTA upgrading service;
s300, after receiving the command of starting the OTA service, the local Bluetooth device sends version information and firmware information of the local Bluetooth device to the remote Bluetooth device;
s400, after the remote Bluetooth equipment obtains the version information and the firmware information, the remote Bluetooth equipment selects a firmware OTA upgrade package and starts to transmit in groups;
and S500, receiving the firmware OTA upgrade package of the local Bluetooth equipment, checking, and restarting the local Bluetooth equipment after verification is OK to finish the firmware OTA upgrade process.
2. The upgrading method of the bluetooth device according to claim 1, characterized in that: the S200 specifically comprises the following steps:
and the client role of the GATT layer of the remote Bluetooth device receives the OTA characteristic service set by the server role of the GATT layer of the local Bluetooth device, and the remote Bluetooth device operates the local Bluetooth device to enter an OTA upgrading mode by sending a command for controlling the OTA characteristic to be started.
3. The upgrading method of the bluetooth device according to claim 1, characterized in that: after the S400 remote bluetooth device obtains the version information and the firmware information, the remote bluetooth device selects the firmware OTA upgrade package specifically as follows:
the remote Bluetooth equipment compares the stored OTA firmware information and the version number which need to be upgraded with the received firmware information and the version number of the local Bluetooth equipment to see whether the upgrading is needed, and if the upgrading is needed, the Bluetooth equipment carries out OTA upgrading; if the OTA upgrade process is not needed, the upgrade is terminated.
4. The upgrading method of the bluetooth device according to claim 3, characterized in that: in the S400 packet transmission, a group of data at the beginning of the firmware packet sent to the local bluetooth device includes two parts: the first part is the length of the file; the second part is the integrity check value of MD5, and the local bluetooth device stores the first set of data in a temporary memory, and waits for the integrity reception of the OTA firmware to complete.
5. The upgrading method of the bluetooth device according to claim 4, characterized in that: the verification in the step S500 comprises that the local Bluetooth equipment sequentially receives the residual group data of the OTA firmware and performs MD5 verification on each group data;
the local Bluetooth equipment judges whether the OTA firmware data is received completely according to the file length of the received first group of data;
the local Bluetooth equipment finishes receiving the OTA data, and judges whether the received data is complete and can normally operate or not through MD5 verification and comparison; if the compared MD5 check values are the same, the local Bluetooth equipment sends an OTA completion event to the remote Bluetooth equipment; if the comparison MD5 has different check values, the local bluetooth device sends an OTA failure event to the remote bluetooth device, and the process is executed from S200 again.
6. The upgrading method of the bluetooth device according to claim 1, characterized in that: in the S100, a connection command is initiated through the GAP layer, so that the baseband enters a broadcast state or an initialization state, and connection between the remote bluetooth device and the local bluetooth device is performed.
7. The upgrading method of the bluetooth device according to claim 5, characterized in that: the step S500 further includes storing the cyclically received data packets in a memory, and determining whether the received data is completed? If not, the data packet continues to be received, and if the data packet is completed, the checking step is carried out.
8. An upgrading system of bluetooth equipment which characterized in that: comprises the following units of a first unit, a second unit,
the connection unit is used for establishing connection between the remote Bluetooth device and the local Bluetooth device through a GAP layer;
the upgrading command sending unit is used for sending an OTA service control command by the remote Bluetooth equipment and starting the upgrading service of the OTA after the remote Bluetooth equipment is connected with the local Bluetooth equipment;
the device information sending unit is used for sending the version information and the firmware information of the local Bluetooth device to the remote Bluetooth device after the local Bluetooth device receives the command of starting the OTA service;
the remote Bluetooth equipment selects a firmware OTA upgrade package to start packet transmission after acquiring the version information and the firmware information;
and the upgrading unit is used for receiving the firmware OTA upgrading packet of the local Bluetooth equipment, verifying, and restarting the local Bluetooth equipment after verifying OK to complete the firmware OTA upgrading process.
9. The upgrading system of claim 8, wherein: also comprises the following sub-units,
the verification unit is used for judging whether the OTA firmware data is received according to the file length of the received first group of data by the local Bluetooth equipment;
the local Bluetooth equipment finishes receiving the OTA data, and judges whether the received data is complete and can normally operate or not through MD5 verification and comparison; if the compared MD5 check values are the same, the local Bluetooth equipment sends an OTA completion event to the remote Bluetooth equipment; if the comparison MD5 check values are different, the local Bluetooth device sends an OTA failure event to the remote Bluetooth device.
CN202011327991.6A 2020-11-24 2020-11-24 Bluetooth device upgrading method and system Withdrawn CN112383908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011327991.6A CN112383908A (en) 2020-11-24 2020-11-24 Bluetooth device upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011327991.6A CN112383908A (en) 2020-11-24 2020-11-24 Bluetooth device upgrading method and system

Publications (1)

Publication Number Publication Date
CN112383908A true CN112383908A (en) 2021-02-19

Family

ID=74588062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011327991.6A Withdrawn CN112383908A (en) 2020-11-24 2020-11-24 Bluetooth device upgrading method and system

Country Status (1)

Country Link
CN (1) CN112383908A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568639A (en) * 2021-07-28 2021-10-29 宁波三星医疗电气股份有限公司 Software version upgrade management method for Bluetooth module in energy controller
CN113938384A (en) * 2021-11-12 2022-01-14 四川长虹电器股份有限公司 Automatic pressure measurement method for Bluetooth remote controller OTA (over the air) upgrading
CN115226094A (en) * 2022-07-08 2022-10-21 深圳市中易腾达科技股份有限公司 OTA (over the air) upgrading method and system capable of automatically identifying Bluetooth chip type
CN116647831A (en) * 2023-07-25 2023-08-25 南京麦豆健康科技有限公司 Bluetooth-based device management method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294686A1 (en) * 2006-06-19 2007-12-20 Samsung Electronics Co., Ltd. Program upgrade system and method for ota-capable device
CN106851625A (en) * 2016-12-23 2017-06-13 安普德(天津)科技股份有限公司 A kind of blue tooth productses OTA upgrade methods
WO2018027442A1 (en) * 2016-08-07 2018-02-15 李仁涛 Wireless upgrade method utilized in bluetooth apparatus, upgrade device, and bluetooth apparatus
CN109857443A (en) * 2019-01-25 2019-06-07 深圳市泰比特科技有限公司 A kind of upgrade method and system of shared motor bicycle whole-control system
CN110621011A (en) * 2019-09-12 2019-12-27 北京方研矩行科技有限公司 OTA firmware upgrading method and system based on Bluetooth device end

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294686A1 (en) * 2006-06-19 2007-12-20 Samsung Electronics Co., Ltd. Program upgrade system and method for ota-capable device
WO2018027442A1 (en) * 2016-08-07 2018-02-15 李仁涛 Wireless upgrade method utilized in bluetooth apparatus, upgrade device, and bluetooth apparatus
CN106851625A (en) * 2016-12-23 2017-06-13 安普德(天津)科技股份有限公司 A kind of blue tooth productses OTA upgrade methods
CN109857443A (en) * 2019-01-25 2019-06-07 深圳市泰比特科技有限公司 A kind of upgrade method and system of shared motor bicycle whole-control system
CN110621011A (en) * 2019-09-12 2019-12-27 北京方研矩行科技有限公司 OTA firmware upgrading method and system based on Bluetooth device end

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568639A (en) * 2021-07-28 2021-10-29 宁波三星医疗电气股份有限公司 Software version upgrade management method for Bluetooth module in energy controller
CN113938384A (en) * 2021-11-12 2022-01-14 四川长虹电器股份有限公司 Automatic pressure measurement method for Bluetooth remote controller OTA (over the air) upgrading
CN113938384B (en) * 2021-11-12 2024-03-12 四川长虹电器股份有限公司 Bluetooth remote controller OTA upgrading automatic pressure measurement method
CN115226094A (en) * 2022-07-08 2022-10-21 深圳市中易腾达科技股份有限公司 OTA (over the air) upgrading method and system capable of automatically identifying Bluetooth chip type
CN116647831A (en) * 2023-07-25 2023-08-25 南京麦豆健康科技有限公司 Bluetooth-based device management method
CN116647831B (en) * 2023-07-25 2024-02-23 南京麦豆健康科技有限公司 Bluetooth-based device management method

Similar Documents

Publication Publication Date Title
CN112383908A (en) Bluetooth device upgrading method and system
CN106201586B (en) System upgrading method, terminal and system based on OTA
CN106792023B (en) Method and system for controlling smart television application by mobile terminal
CN109725921B (en) Method and device for updating firmware of VCI (virtual vehicle interface) equipment and automobile fault diagnosis instrument
CN109857437A (en) A kind of upgrade method and system of bluetooth equipment
EP4092524B1 (en) Ota differential upgrade method and system of master-slave architecture
CN110543321A (en) OTA (over the air) upgrading method, device, terminal and computer readable storage medium
CN111901142A (en) Firmware silent upgrading method and device for embedded equipment cluster
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN114780127A (en) Embedded equipment firmware updating method, embedded equipment and development end equipment
CN105045640A (en) Software upgrading method and device and intelligent equipment
CN110831245A (en) Network connection method, device and router
CN109067735B (en) Dynamic configuration method of communication protocol, wireless communication device and intelligent equipment
CN110493644B (en) Television application upgrading method, television terminal and server
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN112181461B (en) Upgrading method, network module, equipment, server and upgrading system
CN105704707A (en) Slave equipment and air upgrading method thereof
WO2022246958A1 (en) Firmware update method and system for smart device
CN110769053B (en) Data pushing method, system and storage medium
CN111885564B (en) Data transmission method, equipment upgrading method and computer readable storage medium
CN112312212B (en) Upgrading method and related device for digital television system
JP2001356979A (en) Communication system
CN112954036B (en) Software upgrading method, terminal equipment and system
WO2017097180A1 (en) Method and apparatus for quickly starting base station
KR102563562B1 (en) Dynamic software installation system and method thereof for AUTOSAR adaptive platform

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210219