CN108989428B - Bluetooth terminal upgrading method, server, computer readable storage medium and system - Google Patents

Bluetooth terminal upgrading method, server, computer readable storage medium and system Download PDF

Info

Publication number
CN108989428B
CN108989428B CN201810795505.XA CN201810795505A CN108989428B CN 108989428 B CN108989428 B CN 108989428B CN 201810795505 A CN201810795505 A CN 201810795505A CN 108989428 B CN108989428 B CN 108989428B
Authority
CN
China
Prior art keywords
upgrade
file
terminal
upgrade file
detection terminal
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
CN201810795505.XA
Other languages
Chinese (zh)
Other versions
CN108989428A (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 Lachesis Mobile Medical Technology Co ltd
Original Assignee
Shenzhen Lachesis Mobile Medical 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 Lachesis Mobile Medical Technology Co ltd filed Critical Shenzhen Lachesis Mobile Medical Technology Co ltd
Priority to CN201810795505.XA priority Critical patent/CN108989428B/en
Publication of CN108989428A publication Critical patent/CN108989428A/en
Application granted granted Critical
Publication of CN108989428B publication Critical patent/CN108989428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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]
    • 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
    • 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

Abstract

The invention discloses a Bluetooth terminal upgrading method, which comprises the following steps: when an upgrade file is detected, acquiring the upgrade file from a remote server; sending an upgrade command to a BLE detection terminal according to the obtained upgrade file, and receiving an upgrade file downloading request sent by the BLE detection terminal; and transmitting the upgrade file to a BLE detection terminal to execute upgrade operation according to the received upgrade file downloading request. The invention also discloses a server, a computer readable storage medium and a system. According to the invention, the local server is applied to download the upgrade file to the remote server, and the upgrade file is transmitted to the BLE detection terminal needing to be upgraded, so that the BLE detection terminal receives the upgrade file to execute the upgrade operation, and the upgrade operation is executed in such a way, so that the beneficial effect of improving the terminal upgrade efficiency is improved.

Description

Bluetooth terminal upgrading method, server, computer readable storage medium and system
Technical Field
The invention relates to the technical field of terminal upgrading, in particular to a Bluetooth terminal upgrading method, a Bluetooth terminal upgrading device, a computer readable storage medium and a Bluetooth terminal upgrading system.
Background
In the prior art, to improve the monitoring of the transfusion condition and the message transmission speed during outpatient treatment, a BLE (bluetooth low energy consumption) monitoring device is generally installed at a transfusion position, if a bluetooth terminal device monitor BLE in use in a hospital is found to have Bug, and when new firmware needs to be upgraded again, an engineer generally compiles software to generate a new firmware version, then the hospital needing to be upgraded is caught up with related upgrading devices (such as a notebook, burning software and burning download lines), and the monitoring BLE devices are taken down to each ward and ward where the BLE monitoring device is installed and are upgraded one by using a burning tool. And after the upgrading of the BLE terminal is completed and verified, the BLE monitor needs to be hung to the original position again.
When the existing terminal upgrading mode is applied, if it is uncertain which BLE devices need to be upgraded, if the software versions of some devices do not have the bug, the upgrading is not needed, and each upgrading needs to assign engineers to a hospital field, and related devices and tools need to be prepared before upgrading, so that a large amount of cost is generated; BLE equipment of hospital generally quantity is more, and some are all collected more difficultly and have the omission in using, and the upgrading needs to be taken off at every turn, need hang to go after upgrading again and bring the influence for the normal work of hospital. By applying the upgrading mode, a large amount of time and labor are wasted, and the upgrading efficiency of the terminal is not improved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a Bluetooth terminal upgrading method, and aims to solve the technical problem that the upgrading efficiency of a BLE detection terminal is reduced due to the upgrading mode when the BLE detection terminal in the prior art is upgraded.
In order to achieve the above object, the present invention provides a bluetooth terminal upgrading method, which comprises the following steps:
when an upgrade file is detected, acquiring the upgrade file from a remote server;
sending an upgrade command to a BLE detection terminal according to the obtained upgrade file, and receiving an upgrade file downloading request sent by the BLE detection terminal;
and transmitting the upgrade file to a BLE detection terminal to execute upgrade operation according to the received upgrade file downloading request.
Preferably, the step of sending an upgrade command to a BLE detection terminal according to the acquired upgrade file, and receiving an upgrade file download request sent by the BLE detection terminal includes:
receiving a ready event signal returned by a BLE detection terminal;
and extracting file header information of the upgrade file according to the ready event signal, and sending the file header information to the BLE detection terminal so that the BLE detection terminal sends an upgrade file downloading request to a local server according to the file header information.
Preferably, the step of extracting file header information of the upgrade file according to the ready event signal and sending the file header information to the BLE detection terminal, so that the BLE detection terminal sends an upgrade file downloading request to a local server according to the file header information includes:
receiving file header information issued by a local server, and determining whether an upgrade file corresponding to the file header information can be applied to terminal upgrade operation;
and when the upgrading file can be applied to the terminal upgrading operation, executing the step of sending an upgrading file downloading request to a local server.
Preferably, before the step of receiving header information sent by a local server and determining whether an upgrade file corresponding to the header information can be applied to a terminal upgrade operation, the method further includes:
receiving a connection confirmation instruction of a local server, and detecting the connection condition with the local server according to the connection confirmation instruction;
and when the Bluetooth connection is confirmed to be successful, returning a connection success signal to the local server.
Preferably, after the step of returning a connection success signal to the local server when the bluetooth connection is confirmed to be successful, the method further includes:
switching the current operation mode to an upgrading mode;
and returning a ready event signal to the local server according to the switched upgrade mode.
Preferably, the step of transmitting the upgrade file to the BLE detection terminal according to the received upgrade file download request to execute an upgrade operation further includes:
reading an upgrade file index value in the upgrade file downloading request;
and transmitting an upgrade file packet corresponding to the upgrade file index value to the BLE detection terminal according to the upgrade file index value.
Preferably, the step of reading the index value of the upgrade file in the upgrade file download request further includes:
dividing the upgrade file into a plurality of file packets according to the read upgrade file index values, and assigning index values to the file packets respectively.
In addition, to achieve the above object, the present invention also provides a server, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the bluetooth terminal upgrade method as described above.
The present invention also provides a computer readable storage medium having a bluetooth terminal upgrade application stored thereon, which when executed by a processor implements the steps of the bluetooth terminal upgrade method as described above.
The invention also provides a Bluetooth terminal upgrading system, and the steps of the Bluetooth terminal upgrading method are realized when the Bluetooth terminal upgrading system is executed.
According to the Bluetooth terminal upgrading method provided by the embodiment of the invention, when an upgrading file is detected, the upgrading file is acquired from a remote server; sending an upgrade command to a BLE detection terminal according to the obtained upgrade file, and receiving an upgrade file downloading request sent by the BLE detection terminal; and transmitting the upgrade file to a BLE detection terminal to execute upgrade operation according to the received upgrade file downloading request. The local server is applied to download the upgrade file to the remote server, and the upgrade file is sent to the BLE detection terminal needing to be upgraded, so that the BLE detection terminal receives the upgrade file to execute the upgrade operation, and the beneficial effect of improving the terminal upgrade efficiency is improved by executing the upgrade operation in such a way.
Drawings
FIG. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a bluetooth terminal upgrading method according to a first embodiment of the present invention;
fig. 3 is a detailed diagram of step S20 in fig. 2.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when an upgrade file is detected, acquiring the upgrade file from a remote server; sending an upgrade command to a BLE detection terminal according to the obtained upgrade file, and receiving an upgrade file downloading request sent by the BLE detection terminal; and transmitting the upgrade file to a BLE detection terminal to execute upgrade operation according to the received upgrade file downloading request.
When the existing terminal upgrading mode is applied, if it is uncertain which BLE detection devices need to be upgraded, if the software versions of some devices do not have the bug, the upgrading is not needed, and each upgrading needs to assign engineers to the hospital field, and related devices and tools need to be prepared before upgrading, so that a large amount of cost is generated; BLE equipment of hospital generally quantity is more, and some are all collected more difficultly and have the omission in using, and the upgrading needs to be taken off at every turn, need hang to go after upgrading again and bring the influence for the normal work of hospital. By applying the upgrading mode, a large amount of time and labor are wasted, and the upgrading efficiency of the terminal is not improved.
The invention provides a solution, which is characterized in that a local server is applied to download an upgrade file to a remote server, and the upgrade file is transmitted to a BLE detection terminal needing to be upgraded, so that the BLE detection terminal receives the upgrade file to execute upgrade operation, and the upgrade operation is executed in such a way, thereby improving the beneficial effect of the terminal upgrade efficiency.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile or non-mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, a portable computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a bluetooth terminal upgrade application program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke the bluetooth terminal upgrade application stored in the memory 1005 and perform the following operations:
when an upgrade file is detected, acquiring the upgrade file from a remote server;
sending an upgrade command to a BLE detection terminal according to the obtained upgrade file, and receiving an upgrade file downloading request sent by the BLE detection terminal;
and transmitting the upgrade file to a BLE detection terminal to execute upgrade operation according to the received upgrade file downloading request.
Further, the processor 1001 may call a bluetooth terminal upgrade application stored in the memory 1005, and also perform the following operations:
receiving a ready event signal returned by a BLE detection terminal;
and extracting file header information of the upgrade file according to the ready event signal, and sending the file header information to the BLE detection terminal so that the BLE detection terminal sends an upgrade file downloading request to a local server according to the file header information.
Further, the processor 1001 may call a bluetooth terminal upgrade application stored in the memory 1005, and also perform the following operations:
receiving file header information issued by a local server, and determining whether an upgrade file corresponding to the file header information can be applied to terminal upgrade operation;
and when the upgrading file can be applied to the terminal upgrading operation, executing the step of sending an upgrading file downloading request to a local server.
Further, the processor 1001 may call a bluetooth terminal upgrade application stored in the memory 1005, and also perform the following operations:
receiving a connection confirmation instruction of a local server, and detecting the connection condition with the local server according to the connection confirmation instruction;
and when the Bluetooth connection is confirmed to be successful, returning a connection success signal to the local server.
Further, the processor 1001 may call a bluetooth terminal upgrade application stored in the memory 1005, and also perform the following operations:
switching the current operation mode to an upgrading mode;
and returning a ready event signal to the local server according to the switched upgrade mode.
Further, the processor 1001 may call a bluetooth terminal upgrade application stored in the memory 1005, and also perform the following operations:
reading an upgrade file index value in the upgrade file downloading request;
and transmitting an upgrade file packet corresponding to the upgrade file index value to the BLE detection terminal according to the upgrade file index value.
Further, the processor 1001 may call a bluetooth terminal upgrade application stored in the memory 1005, and also perform the following operations:
dividing the upgrade file into a plurality of file packets according to the read upgrade file index values, and assigning index values to the file packets respectively.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a bluetooth terminal upgrading method according to the present invention, where the bluetooth terminal upgrading method includes the following steps:
step S10, when detecting the upgrade file, obtaining the upgrade file from the remote server;
the method comprises the steps that a local server detects an upgrade file of a remote server based on a BLE detection terminal based on upgrade management, the upgrade file is a system update made by a developer based on the BLE detection terminal for a system BUG (error) of an application system of the BLE detection terminal, in a software application technology, the system update generally constructs update content in a code mode, and the update content is created into the system upgrade file based on the BLE detection terminal and uploaded to a remote server. And the remote server issues system updating file uploading information to each associated local server based on the uploaded updating file. And when the local server detects that the remote server has the upgrade file, acquiring the upgrade file from the remote server.
Step S20, sending an upgrade command to a BLE detection terminal according to the obtained upgrade file, and receiving an upgrade file downloading request sent by the BLE detection terminal;
according to the acquired upgrading file of the BLE detection terminal, sending an upgrading command to the associated BLE detection terminal, and receiving an upgrading file downloading request sent by the BLE detection terminal. And the BLE detection terminal confirms whether the upgrade file meets the upgrade operation of the current terminal system according to the received upgrade command. And sending an upgrade file downloading request to a local server when the file content of the upgrade file is confirmed to meet the upgrade operation of the current terminal system. The local server sends an upgrade command to all BLE detection terminals connected with the local server when sending the upgrade command to the BLE detection terminals, and enables the BLE detection terminals to download and upgrade files when receiving upgrade file download requests sent by the BLE detection terminals.
Step S30, transmitting the upgrade file to a BLE detection terminal according to the received upgrade file download request to execute an upgrade operation.
When an upgrade file downloading request sent by a BLE detection terminal is received, the upgrade file is transmitted to the corresponding BLE detection terminal, so that the BLE detection terminal executes an upgrade operation according to the downloaded upgrade file, wherein the BLE detection terminal and the local server have a connection relationship in a manner including but not limited to wired network connection, wireless network connection, WIFI, bluetooth and the like, and in this embodiment, the connection relationship is mainly performed in a bluetooth manner. When its BLE test terminal passes through the bluetooth with local server and is connected, because the capacity size of upgrading file itself, the efficiency of considering the bluetooth transmission improves transmission speed, when transmitting the upgrading file to BLE test terminal, promptly according to received upgrade file download request will upgrade the file transmission to BLE test terminal and carry out the step of upgrading operation, still include:
reading an upgrade file index value in the upgrade file downloading request;
and transmitting an upgrade file packet corresponding to the upgrade file index value to the BLE detection terminal according to the upgrade file index value.
When an upgrade file downloading request sent by a BLE detection terminal is received, reading a file index value in the upgrade file downloading request, and transmitting upgrade files corresponding to the file index value to the BLE detection terminal one by one according to the file index value. Based on this situation, since the upgrade file is an independent file, when receiving the upgrade file download request, the method needs to decompose the obtained upgrade file by the number of the file index values according to the number of the upgrade file index values of the upgrade file download request, that is, the method further includes the steps of reading the upgrade file index values in the upgrade file download request:
dividing the upgrade file into a plurality of file packets according to the read upgrade file index values, and assigning index values to the file packets respectively.
Reading the index value of the upgrade file, confirming the decomposition number of the upgrade file, dividing the upgrade file into a plurality of small-capacity file packets according to the decomposition number, respectively assigning the index values to the decomposed file packets, and transmitting the upgrade file to the corresponding BLE detection terminal one by one according to the assigned index values to execute upgrade operation.
In this embodiment, the local server is applied to download the upgrade file to the remote server, and the upgrade file is sent to the BLE detection terminal that needs to be upgraded, so that the BLE detection terminal receives the upgrade file to execute the upgrade operation, and the upgrade operation is executed in this way, thereby improving the beneficial effect of the terminal upgrade efficiency.
Referring to fig. 3, fig. 3 is a schematic diagram of a detailed step of step S20 in fig. 2, and based on the first embodiment shown above, the step of sending an upgrade command to a BLE detection terminal according to the obtained upgrade file and receiving an upgrade file download request sent by the BLE detection terminal includes:
step S21, receiving ready event signals returned by the BLE detection terminal;
step S22, extracting file header information of the upgrade file according to the ready event signal, and sending the file header information to the BLE detection terminal, so that the BLE detection terminal sends an upgrade file downloading request to a local server according to the file header information.
After an upgrade command is sent to a BLE detection terminal, a ready event signal returned by the BLE detection terminal based on the upgrade command is received, file header information of an upgrade file is extracted according to the ready event signal and sent to the BLE detection terminal, so that the BLE detection terminal receives the file header information and confirms whether the upgrade file corresponding to the file header information meets the upgrade operation of the BLE detection terminal, therefore, when the BLE detection terminal receives the file header information sent by a local server, namely, the file header information of the upgrade file is extracted according to the ready event signal and sent to the BLE detection terminal, so that the BLE detection terminal sends an upgrade file download request to the local server according to the file header information, the method comprises the following steps:
receiving file header information issued by a local server, and determining whether an upgrade file corresponding to the file header information can be applied to terminal upgrade operation;
and when the upgrading file can be applied to the terminal upgrading operation, executing the step of sending an upgrading file downloading request to a local server.
The method comprises the steps that a BLE detection terminal receives file information sent by a server, compares file header information with application system parameters of the terminal, and confirms whether a corresponding upgrading file of the file header information can be applied to terminal upgrading operation according to a comparison result, wherein the comparison operation is mainly used for confirming whether an upgrading version of the upgrading file is consistent with an application system version of a terminal system, and if the file version of the corresponding upgrading file of the file header information is consistent with the system version of the BLE detection terminal, the corresponding upgrading file of the file header information is confirmed to be not applicable to the terminal upgrading operation of the BLE detection terminal; further, when it is determined that the file header information is inconsistent with the system version of the BLE detection terminal, or the file header information is inconsistent with the system version of the BLE detection terminal and an upgrade file of the file header information is stupid higher than the system version of the BLE detection terminal, it is determined that the upgrade file corresponding to the file header information can be applied to system upgrade of the BLE detection terminal, and a step of sending an upgrade file downloading request to a local server is performed. In addition, when the BLE detection terminal sends an upgrade file downloading request and will execute an upgrade operation, the BLE detection terminal needs to switch to the upgrade mode, but when the BLE detection terminal switches to the upgrade mode, it needs to determine whether the connection with the local server is normal, so before the steps of receiving the file header information sent by the local server and determining whether the corresponding upgrade file of the file header information can be applied to the terminal upgrade operation, the method further includes:
receiving a connection confirmation instruction of a local server, and detecting the connection condition with the local server according to the connection confirmation instruction;
and when the Bluetooth connection is confirmed to be successful, returning a connection success signal to the local server.
Receiving a connection confirmation instruction of a local server, wherein the connection confirmation instruction is that when the local server acquires a corresponding upgrade file from a remote server, the connection confirmation instruction is issued to a BLE detection terminal based on the acquired upgrade file because the connection relationship between the BLE detection terminal and the local server needs to be confirmed immediately before an upgrade instruction is issued to the BLE detection terminal based on the upgrade file. The BLE detection terminal receives a connection confirmation instruction sent by the local server, detects the connection condition with the local server according to the connection confirmation instruction, and returns a connection success instruction to the local server when the Bluetooth connection with the local server is confirmed to be successful or the Bluetooth connection mode with the local server is not different. Further, based on the connection confirmation instruction, switching the operation mode of the current terminal, that is, after the step of returning a connection success signal to the local server when the bluetooth connection is confirmed to be successful, the method further includes:
switching the current operation mode to an upgrading mode;
and returning a ready event signal to the local server according to the switched upgrade mode.
And according to the received connection confirmation instruction, when the connection with the local server is confirmed to be normal, switching the current terminal operation mode to an upgrading mode. After the current operation mode is switched to the upgrading mode, the fact that the upgrading operation is ready is confirmed, and therefore a ready event signal is returned to the local server according to the switched upgrading mode.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a bluetooth terminal upgrade application program is stored on the computer-readable storage medium, and when executed by a processor, the bluetooth terminal upgrade application program implements the following operations:
when an upgrade file is detected, acquiring the upgrade file from a remote server;
sending an upgrade command to a BLE detection terminal according to the obtained upgrade file, and receiving an upgrade file downloading request sent by the BLE detection terminal;
and transmitting the upgrade file to a BLE detection terminal to execute upgrade operation according to the received upgrade file downloading request.
Further, the bluetooth terminal upgrade application program, when executed by the processor, further implements the following operations:
receiving a ready event signal returned by a BLE detection terminal;
and extracting file header information of the upgrade file according to the ready event signal, and sending the file header information to the BLE detection terminal so that the BLE detection terminal sends an upgrade file downloading request to a local server according to the file header information.
Further, the bluetooth terminal upgrade application program, when executed by the processor, further implements the following operations:
receiving file header information issued by a local server, and determining whether an upgrade file corresponding to the file header information can be applied to terminal upgrade operation;
and when the upgrading file can be applied to the terminal upgrading operation, executing the step of sending an upgrading file downloading request to a local server.
Further, the bluetooth terminal upgrade application program, when executed by the processor, further implements the following operations:
receiving a connection confirmation instruction of a local server, and detecting the connection condition with the local server according to the connection confirmation instruction;
and when the Bluetooth connection is confirmed to be successful, returning a connection success signal to the local server.
Further, the bluetooth terminal upgrade application program, when executed by the processor, further implements the following operations:
switching the current operation mode to an upgrading mode;
and returning a ready event signal to the local server according to the switched upgrade mode.
Further, the bluetooth terminal upgrade application program, when executed by the processor, further implements the following operations:
reading an upgrade file index value in the upgrade file downloading request;
and transmitting an upgrade file packet corresponding to the upgrade file index value to the BLE detection terminal according to the upgrade file index value.
Further, the bluetooth terminal upgrade application program, when executed by the processor, further implements the following operations:
dividing the upgrade file into a plurality of file packets according to the read upgrade file index values, and assigning index values to the file packets respectively.
The invention also provides a Bluetooth terminal upgrading system, and in practical application, the Bluetooth terminal upgrading system realizes the content of the embodiment of the Bluetooth terminal upgrading method.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A Bluetooth terminal upgrading method is characterized by comprising the following steps:
according to upgrade management of a BLE detection terminal, detecting an upgrade file of a remote server based on the BLE detection terminal, wherein the remote server issues system update file uploading information to each associated local server based on the currently uploaded upgrade file;
when an upgrade file is detected, acquiring the upgrade file from a remote server;
sending an upgrading command to BLE detection terminals according to the obtained upgrading file, wherein the local server sends the upgrading command to all currently connected BLE detection terminals together;
receiving an upgrade file downloading request sent by the BLE detection terminal, confirming whether the upgrade file meets the upgrade operation of the current terminal system or not by the BLE detection terminal according to a received upgrade command, and sending the upgrade file downloading request to the local server when confirming that the file content of the upgrade file meets the upgrade operation of the current terminal system, wherein the BLE detection terminal is used for realizing infusion monitoring and message transmission;
reading an upgrade file index value in the received upgrade file downloading request;
dividing the upgrade file into a plurality of file packets according to the read upgrade file index values, and assigning index values to the file packets respectively;
transmitting an upgrade file packet corresponding to the upgrade file index value to the BLE detection terminal according to the upgrade file index value, and controlling the BLE detection terminal to execute upgrade operation so as to repair a system BUG existing in the BLE detection terminal;
before the step of receiving an upgrade file download request sent by the BLE detection terminal, the method further includes:
receiving a ready event signal returned by a BLE detection terminal;
and extracting file header information of the upgrade file according to the ready event signal, and sending the file header information to the BLE detection terminal so that the BLE detection terminal sends an upgrade file downloading request to a local server according to the file header information.
2. The method for upgrading the bluetooth terminal according to claim 1, wherein the step of extracting header information of the upgrade file according to the ready event signal and sending the header information to the BLE detection terminal so that the BLE detection terminal sends an upgrade file downloading request to a local server according to the header information includes:
receiving file header information issued by a local server, and determining whether an upgrade file corresponding to the file header information can be applied to terminal upgrade operation;
and when the upgrading file can be applied to the terminal upgrading operation, executing the step of sending an upgrading file downloading request to a local server.
3. The upgrading method of the bluetooth terminal according to claim 2, wherein before the step of receiving the header information sent by the local server and determining whether the corresponding upgrade file of the header information can be applied to the terminal upgrade operation, the method further comprises:
receiving a connection confirmation instruction of a local server, and detecting the connection condition with the local server according to the connection confirmation instruction;
and when the Bluetooth connection is confirmed to be successful, returning a connection success signal to the local server.
4. The upgrading method for bluetooth terminals according to claim 3, wherein after the step of returning a connection success signal to the local server when the bluetooth connection is confirmed to be successful, further comprising:
switching the current operation mode to an upgrading mode;
and returning a ready event signal to the local server according to the switched upgrade mode.
5. A server, characterized in that the server comprises: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the bluetooth terminal upgrade method according to any of claims 1 to 4.
6. A computer-readable storage medium, having a bluetooth terminal upgrade application stored thereon, which when executed by a processor implements the steps of the bluetooth terminal upgrade method according to any one of claims 1 to 4.
7. A Bluetooth terminal upgrade system, characterized in that the Bluetooth terminal upgrade system implements the steps of the Bluetooth terminal upgrade method according to any one of claims 1 to 4 when executed.
CN201810795505.XA 2018-07-17 2018-07-17 Bluetooth terminal upgrading method, server, computer readable storage medium and system Active CN108989428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810795505.XA CN108989428B (en) 2018-07-17 2018-07-17 Bluetooth terminal upgrading method, server, computer readable storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810795505.XA CN108989428B (en) 2018-07-17 2018-07-17 Bluetooth terminal upgrading method, server, computer readable storage medium and system

Publications (2)

Publication Number Publication Date
CN108989428A CN108989428A (en) 2018-12-11
CN108989428B true CN108989428B (en) 2021-09-21

Family

ID=64550244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810795505.XA Active CN108989428B (en) 2018-07-17 2018-07-17 Bluetooth terminal upgrading method, server, computer readable storage medium and system

Country Status (1)

Country Link
CN (1) CN108989428B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866825A (en) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 Bluetooth firmware upgrading method and device, airborne terminal and storage medium
CN112887951B (en) * 2021-01-21 2022-10-21 读书郎教育科技有限公司 Bluetooth-based system and method for pre-installing application of Android terminal in factory

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980482B (en) * 2014-12-24 2019-09-13 深圳市腾讯计算机系统有限公司 Document sending method and device, document receiving method and device
CN104820611A (en) * 2015-05-22 2015-08-05 中国科学院上海高等研究院 Equipment software upgrade method based on Bluetooth and upgrade device
CN104915237B (en) * 2015-06-24 2019-02-15 深圳市海蕴新能源有限公司 Upgrading, upgrade control method and the equipment of bluetooth equipment firmware program
CN105451369B (en) * 2015-12-04 2018-10-19 小米科技有限责任公司 The Connecting quantity update method and device of low-power consumption bluetooth equipment
CN105610966B (en) * 2016-01-20 2020-09-01 深圳高新兴物联科技有限公司 Internet of things terminal and upgrading method thereof
CN107229620B (en) * 2016-03-23 2019-11-22 杭州海康威视数字技术股份有限公司 A kind of storage method and device of video data
CN106210102A (en) * 2016-07-20 2016-12-07 广州小鸡快跑网络科技有限公司 The method and device of radio upgrade handle firmware based on bluetooth BLE
CN106775871A (en) * 2016-12-19 2017-05-31 东软集团股份有限公司 Firmware upgrade method and equipment
CN107222643A (en) * 2017-07-25 2017-09-29 深圳市芯中芯科技有限公司 A kind of bluetooth equipment firmware upgrade method and system based on software APP technologies
CN108021379B (en) * 2017-11-09 2021-03-16 维沃移动通信有限公司 Application program upgrading method, mobile terminal and server

Also Published As

Publication number Publication date
CN108989428A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
KR101885133B1 (en) Apparatus and method for providing application auto install function in digital device
CN107992308B (en) Plug-in management method for android terminal application program
CN104199706A (en) Firmware upgrade method and device for eMMC
CN111367544B (en) Multi-peripheral firmware upgrade control method, intelligent device, firmware and electronic device
KR20100063474A (en) Method and system for providing fota service
US20130152069A1 (en) Method, apparatus and system for initiating terminal operation
CN105323269A (en) Method for updating APP in Android system, terminal and storage medium
CN109408090B (en) Upgrading method of equipment software, data converter and readable storage medium
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
KR20150005164A (en) FOTA system and the method
CN111427594A (en) Application program running method and device
EP2664988A1 (en) Method, device and system for installing terminal software
CN107526584B (en) Data access method and device
EP3091435A1 (en) Resource management method and device for terminal system
CN106294119B (en) Test scheduling system and method and terminal equipment
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN114115866A (en) Cross-domain-based vehicle-mounted scene self-defining method, device, equipment and storage medium
KR20180050001A (en) Firmware upgrade system and method for IoT
KR100974662B1 (en) Mobile commuication terminal and method for updating firmware thereof
KR102506155B1 (en) Electronic device, application executing system and control methods thereof
CN103984541A (en) Method and system for generating application procedure based on terminal source codes
CN104239333A (en) Browser website navigation method and terminal device
JP6259919B2 (en) Communication method between server and secure element
CN112379902A (en) Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN111949300A (en) Method and device for upgrading splice plate supported by set top box and set top box

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