[go: up one dir, main page]

CN113590151A - Method and system for OTA (over the air) upgrade of Bluetooth equipment - Google Patents

Method and system for OTA (over the air) upgrade of Bluetooth equipment Download PDF

Info

Publication number
CN113590151A
CN113590151A CN202110742556.8A CN202110742556A CN113590151A CN 113590151 A CN113590151 A CN 113590151A CN 202110742556 A CN202110742556 A CN 202110742556A CN 113590151 A CN113590151 A CN 113590151A
Authority
CN
China
Prior art keywords
firmware
bluetooth
information
server
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110742556.8A
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.)
Fujian Wild Small Animal Health Technology Co Ltd
Original Assignee
Fujian Wild Small Animal Health 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 Fujian Wild Small Animal Health Technology Co Ltd filed Critical Fujian Wild Small Animal Health Technology Co Ltd
Priority to CN202110742556.8A priority Critical patent/CN113590151A/en
Publication of CN113590151A publication Critical patent/CN113590151A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

According to the method and the system for OTA upgrading of the Bluetooth equipment, provided by the invention, the firmware information and the Bluetooth equipment information are stored in the server database, the file can be downloaded from the server when the firmware needs to be upgraded, the downloaded firmware is transmitted to the equipment through Bluetooth, the integrity of a firmware upgrading package is verified, the client immediately informs the Bluetooth chip to enter an upgrading mode after the verification is successful, the safety is high, the real-time performance is updated, and after the OTA upgrading information is configured on the server, a user can automatically generate a prompt when connecting the Bluetooth equipment through App Bluetooth, so that the upgrading iteration of products can be facilitated, and the cost of integral development and maintenance can be reduced.

Description

Method and system for OTA (over the air) upgrade of Bluetooth equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a Bluetooth device OTA upgrading method and system.
Background
With the rapid popularization of mobile internet applications, the bluetooth transmission technology has become the standard of various mobile intelligent terminals. The Bluetooth over-the-air download technology (OTA) upgrading scheme is based on a short message mechanism, reads the version and the equipment number of a Bluetooth chip in a server interaction mode, and transmits the version and the equipment number to a database for comparison of the difference of the latest version, so that dynamic silent download and update of Bluetooth firmware are realized, and a user can obtain richer Bluetooth firmware value-added services.
The OTA upgrading technology of the Bluetooth equipment is mainly used for meeting the application requirements of users, and can enable developers to enhance and perfect the existing functions of products, repair product bugs and defects, facilitate the product upgrading iteration and reduce the overall development and maintenance cost.
Disclosure of Invention
Technical problem to be solved
In order to solve the above problems in the prior art, the present invention provides a bluetooth device OTA upgrading method, which is beneficial to product upgrade iteration and reduces the overall development and maintenance costs.
(II) technical scheme
In order to achieve the purpose, the invention adopts a technical scheme that:
a Bluetooth device OTA upgrading method comprises the following steps:
s1, the client reads the firmware information and the Bluetooth equipment information through Bluetooth connection and sends the firmware information and the Bluetooth equipment information to the server;
s2, the server compares and verifies the received firmware information and the Bluetooth equipment information, and if the verification result is that firmware updating is needed, the server issues the download address of the corresponding firmware upgrade package to the client;
and S3, the client downloads the corresponding firmware upgrade package according to the received download address, performs integrity verification, and sends an instruction to the corresponding Bluetooth equipment through Bluetooth to perform firmware upgrade after the verification is successful.
In order to achieve the purpose, the invention adopts a technical scheme that:
a system for OTA upgrading of Bluetooth equipment comprises a client and a server;
s1, the client reads the firmware information and the Bluetooth equipment information through Bluetooth connection and sends the firmware information and the Bluetooth equipment information to the server;
s2, the server compares and verifies the received firmware information and the Bluetooth equipment information, and if the verification result is that firmware updating is needed, the server issues the download address of the corresponding firmware upgrade package to the client;
and S3, the client downloads the corresponding firmware upgrade package according to the received download address, performs integrity verification, and sends an instruction to the corresponding Bluetooth equipment through Bluetooth to perform firmware upgrade after the verification is successful.
(III) advantageous effects
The invention has the beneficial effects that: through keeping firmware information and bluetooth equipment information in the server database, the file can be downloaded from the server to the firmware when needing to be upgraded, after the download is accomplished, transmit to equipment through the bluetooth, carry out the integrality check-up to firmware upgrading package, the check-up is successful back customer end notice bluetooth chip immediately and gets into the upgrading mode, the security is high, and the real-time is updated, after configuration OTA upgrading information on the server, the user connects bluetooth equipment through the App bluetooth and will produce the suggestion automatically, can be favorable to the product upgrading iteration, and reduce the cost of whole development and maintenance.
Drawings
Fig. 1 is a flowchart of a method for OTA upgrade of a bluetooth device according to an embodiment of the present invention.
Detailed Description
For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.
Example one
Referring to fig. 1, a method for OTA upgrade of bluetooth devices includes the steps of:
s1, the client reads the firmware information and the Bluetooth equipment information through Bluetooth connection and sends the firmware information and the Bluetooth equipment information to the server;
s2, the server compares and verifies the received firmware information and the Bluetooth equipment information, and if the verification result is that firmware updating is needed, the server issues the download address of the corresponding firmware upgrade package to the client;
step S2 specifically includes:
and the server compares the received firmware information and the Bluetooth equipment information with the data base for verification, if the version number of the received firmware information is lower than the latest version in the data base, the verification result indicates that the firmware is required to be updated, and the download address, the MD5 value and the version number of the firmware upgrade package of the latest version in the data base are sent to the client.
And S3, the client downloads the corresponding firmware upgrade package according to the received download address, performs integrity verification, and sends an instruction to the corresponding Bluetooth equipment through Bluetooth to perform firmware upgrade after the verification is successful.
Step S3 specifically includes:
and the client downloads a corresponding firmware upgrading package according to the received download address, checks the MD5 value of the firmware upgrading package, and sends an instruction to corresponding Bluetooth equipment for firmware upgrading through Bluetooth after the check is successful.
Specifically, the bluetooth device may be a fitness apparatus, such as a spinning bike or a rowing machine.
Step S3 is followed by:
and S4, the client reads the upgraded firmware information and Bluetooth device information through Bluetooth connection and sends the firmware information and the Bluetooth device information to the server, so that the server updates the firmware version number of the Bluetooth device in the database.
Example two
A system for OTA upgrading of Bluetooth equipment comprises a client and a server;
s1, the client reads the firmware information and the Bluetooth equipment information through Bluetooth connection and sends the firmware information and the Bluetooth equipment information to the server;
s2, the server compares and verifies the received firmware information and the Bluetooth equipment information, and if the verification result is that firmware updating is needed, the server issues the download address of the corresponding firmware upgrade package to the client;
step S2 specifically includes:
and the server compares the received firmware information and the Bluetooth equipment information with the data base for verification, if the version number of the received firmware information is lower than the latest version in the data base, the verification result indicates that the firmware is required to be updated, and the download address, the MD5 value and the version number of the firmware upgrade package of the latest version in the data base are sent to the client.
And S3, the client downloads the corresponding firmware upgrade package according to the received download address, performs integrity verification, and sends an instruction to the corresponding Bluetooth equipment through Bluetooth to perform firmware upgrade after the verification is successful.
Step S3 specifically includes:
and the client downloads a corresponding firmware upgrading package according to the received download address, checks the MD5 value of the firmware upgrading package, and sends an instruction to corresponding Bluetooth equipment for firmware upgrading through Bluetooth after the check is successful.
Step S3 is followed by:
and S4, the client reads the upgraded firmware information and Bluetooth device information through Bluetooth connection and sends the firmware information and the Bluetooth device information to the server, so that the server updates the firmware version number of the Bluetooth device in the database.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method for upgrading Bluetooth equipment OTA is characterized by comprising the following steps:
s1, the client reads the firmware information and the Bluetooth equipment information through Bluetooth connection and sends the firmware information and the Bluetooth equipment information to the server;
s2, the server compares and verifies the received firmware information and the Bluetooth equipment information, and if the verification result is that firmware updating is needed, the server issues the download address of the corresponding firmware upgrade package to the client;
and S3, the client downloads the corresponding firmware upgrade package according to the received download address, performs integrity verification, and sends an instruction to the corresponding Bluetooth equipment through Bluetooth to perform firmware upgrade after the verification is successful.
2. The method for OTA upgrade of bluetooth device according to claim 1, wherein step S2 specifically comprises:
and the server compares the received firmware information and the Bluetooth equipment information with the data base for verification, if the version number of the received firmware information is lower than the latest version in the data base, the verification result indicates that the firmware is required to be updated, and the download address, the MD5 value and the version number of the firmware upgrade package of the latest version in the data base are sent to the client.
3. The method for OTA upgrade of bluetooth device according to claim 1, wherein step S3 specifically comprises:
and the client downloads a corresponding firmware upgrading package according to the received download address, checks the MD5 value of the firmware upgrading package, and sends an instruction to corresponding Bluetooth equipment for firmware upgrading through Bluetooth after the check is successful.
4. The method for OTA upgrading of bluetooth devices as claimed in claim 2, wherein step S3 is followed by further steps of:
and S4, the client reads the upgraded firmware information and Bluetooth device information through Bluetooth connection and sends the firmware information and the Bluetooth device information to the server, so that the server updates the firmware version number of the Bluetooth device in the database.
5. A Bluetooth device OTA upgrading system is characterized by comprising a client and a server;
s1, the client reads the firmware information and the Bluetooth equipment information through Bluetooth connection and sends the firmware information and the Bluetooth equipment information to the server;
s2, the server compares and verifies the received firmware information and the Bluetooth equipment information, and if the verification result is that firmware updating is needed, the server issues the download address of the corresponding firmware upgrade package to the client;
and S3, the client downloads the corresponding firmware upgrade package according to the received download address, performs integrity verification, and sends an instruction to the corresponding Bluetooth equipment through Bluetooth to perform firmware upgrade after the verification is successful.
6. The system for OTA upgrade of Bluetooth devices according to claim 5, wherein step S2 specifically comprises:
and the server compares the received firmware information and the Bluetooth equipment information with the data base for verification, if the version number of the received firmware information is lower than the latest version in the data base, the verification result indicates that the firmware is required to be updated, and the download address, the MD5 value and the version number of the firmware upgrade package of the latest version in the data base are sent to the client.
7. The system for OTA upgrade of Bluetooth devices according to claim 5, wherein step S3 specifically comprises:
and the client downloads a corresponding firmware upgrading package according to the received download address, checks the MD5 value of the firmware upgrading package, and sends an instruction to corresponding Bluetooth equipment for firmware upgrading through Bluetooth after the check is successful.
8. The system for OTA upgrade of Bluetooth devices of claim 6, further comprising after step S3:
and S4, the client reads the upgraded firmware information and Bluetooth device information through Bluetooth connection and sends the firmware information and the Bluetooth device information to the server, so that the server updates the firmware version number of the Bluetooth device in the database.
CN202110742556.8A 2021-07-01 2021-07-01 Method and system for OTA (over the air) upgrade of Bluetooth equipment Pending CN113590151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110742556.8A CN113590151A (en) 2021-07-01 2021-07-01 Method and system for OTA (over the air) upgrade of Bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110742556.8A CN113590151A (en) 2021-07-01 2021-07-01 Method and system for OTA (over the air) upgrade of Bluetooth equipment

Publications (1)

Publication Number Publication Date
CN113590151A true CN113590151A (en) 2021-11-02

Family

ID=78245572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110742556.8A Pending CN113590151A (en) 2021-07-01 2021-07-01 Method and system for OTA (over the air) upgrade of Bluetooth equipment

Country Status (1)

Country Link
CN (1) CN113590151A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679439A (en) * 2021-12-31 2022-06-28 诺领科技(南京)有限公司 Bluetooth BLE-based auxiliary upgrade package downloading method for Internet of things
CN115226094A (en) * 2022-07-08 2022-10-21 深圳市中易腾达科技股份有限公司 OTA (over the air) upgrading method and system capable of automatically identifying Bluetooth chip type

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
CN104915237A (en) * 2015-06-24 2015-09-16 深圳市兰丁科技有限公司 Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment
CN110621011A (en) * 2019-09-12 2019-12-27 北京方研矩行科技有限公司 OTA firmware upgrading method and system based on Bluetooth device end

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012025011A1 (en) * 2010-08-27 2012-03-01 腾讯科技(深圳)有限公司 Software update system, method and computer storage medium
CN104915237A (en) * 2015-06-24 2015-09-16 深圳市兰丁科技有限公司 Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment
CN110621011A (en) * 2019-09-12 2019-12-27 北京方研矩行科技有限公司 OTA firmware upgrading method and system based on Bluetooth device end

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679439A (en) * 2021-12-31 2022-06-28 诺领科技(南京)有限公司 Bluetooth BLE-based auxiliary upgrade package downloading method for Internet of things
CN115226094A (en) * 2022-07-08 2022-10-21 深圳市中易腾达科技股份有限公司 OTA (over the air) upgrading method and system capable of automatically identifying Bluetooth chip type

Similar Documents

Publication Publication Date Title
US20180341474A1 (en) Delivering a customized service to a mobile device using a link
CN106897086B (en) Method, device and system for upgrading robot operating system
AU2006223207C1 (en) Over-the-air subscriptions of mobile devices
US20040098715A1 (en) Over the air mobile device software management
CN101635643B (en) Method and system for changing terminal service and network management platform
CN105573790A (en) Vehicle-mounted system software upgrade method, vehicle-mounted system and software server
US20060069755A1 (en) Maintaining mobile device electronic files
CN101909282B (en) Triggering method, device and system of terminal operation
CN105307195B (en) A method and device for updating access point name parameters
CN105808278A (en) Client version upgrading method and device
KR20190005152A (en) Mobile terminal application update method and apparatus
CN113590151A (en) Method and system for OTA (over the air) upgrade of Bluetooth equipment
CN105590051A (en) Trusted application generation and installation method used for trusted execution environment
KR101201276B1 (en) Method, software and apparatus for performing actions on a wireless device using action lists and versioning
CN1946212A (en) Method and system for notifying service information to wireless terminal
CN109358872A (en) Remote firmware updating method, device and computer readable storage medium
CN110489149B (en) Control method and system of intelligent equipment
CN107948239A (en) Version upgrading method and its system based on android system
CN114385226B (en) Cloud configuration-based application store service management method and management system
CN101312469A (en) Method and system for terminal displaying ordering service
CN113535558B (en) Software version transmission method and device
CN114691174A (en) A kind of vehicle software upgrade method, device and equipment
CN105872106A (en) Over-the-air upgrade method, over-the-air server and terminal
CN107479926A (en) System carries the upgrade method and device of application program
CN115913941B (en) Bluetooth headset upgrading method, bluetooth device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211102