CN108989428A - Bluetooth terminal upgrade method, server, computer readable storage medium and system - Google Patents
Bluetooth terminal upgrade method, server, computer readable storage medium and system Download PDFInfo
- Publication number
- CN108989428A CN108989428A CN201810795505.XA CN201810795505A CN108989428A CN 108989428 A CN108989428 A CN 108989428A CN 201810795505 A CN201810795505 A CN 201810795505A CN 108989428 A CN108989428 A CN 108989428A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- file
- terminal
- upgrade file
- ble
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of Bluetooth terminal upgrade method, the Bluetooth terminal upgrade method includes: to obtain the upgrade file to remote server when detecting upgrade file;Upgrade command is sent to BLE detection terminal according to the upgrade file got, and receives the upgrade file downloading request that the BLE detection terminal is sent;The upgrade file is transmitted to BLE detection terminal according to the upgrade file downloading request received and executes updating operation.The invention also discloses a kind of server, computer readable storage medium and systems.Present invention application local server downloads upgrade file to remote server, and the upgrade file is issued to the BLE detection terminal that need to upgrade, so that BLE detection terminal receives upgrade file and executes updating operation, the beneficial effect that updating operation improves terminal upgrade efficiency is executed in this manner.
Description
Technical field
The present invention relates to the technical field of terminal upgrade more particularly to a kind of Bluetooth terminal upgrade methods, device, computer
Readable storage medium storing program for executing and system.
Background technique
In the prior art, message transmission speed is monitored and is improved for transfusion condition when improving treat-and-release, generally exist
BLE (bluetooth low energy consumption) monitoring device is installed, if it find that the Bluetooth terminal equipment monitoring device BLE in hospital's use has at infusion
Bug (failure), when need to upgrade new firmware again, after generally generating new firmware version by engineer's composing software, band phase
The updating apparatus (such as: notebook, burn recording software, burning downloading wire) of pass rushes to the hospital for needing to upgrade, and is mounted with BLE to each
Monitor BLE equipment is removed in the lesion and ward of monitoring device, is upgraded one by one with replication tool.And it is complete in BLE terminal upgrade
At and verify after, need monitor BLE is suspended to origin-location again.
When using existing terminal upgrade mode, if not knowing which BLE equipment needs to upgrade, if some equipment
The no this bug of software version does not need then to upgrade, and upgrades need to assign engineer to hospital scene every time, and upgrade
Before to prepare relevant device and tool, a large amount of expense can be generated;The general quantity of BLE equipment of hospital is relatively more, and some are just
It all collects in use relatively difficult and has omission, upgrading need to be lifted down every time, need to hang up to doctor again after having risen grade
The normal work of institute affects.Plenty of time and manpower are wasted using such upgrading mode, and does not improve terminal upgrade
Efficiency.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill
Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of Bluetooth terminal upgrade methods, it is intended to solve the BLE inspection of the prior art
Survey the technical issues of terminal reduces the upgrading efficiency of BLE detection terminal due to the problem of upgrading mode in upgrading.
To achieve the above object, the present invention provides a kind of Bluetooth terminal upgrade method, the Bluetooth terminal upgrade method packet
Include following steps:
When detecting upgrade file, the upgrade file is obtained to remote server;
Upgrade command is sent to BLE detection terminal according to the upgrade file got, and receives the BLE detection eventually
The upgrade file that end is sent downloads request;
The upgrade file is transmitted to BLE detection terminal according to the upgrade file downloading request received and executes liter
Grade operation.
Preferably, the upgrade file that the basis is got sends upgrade command to BLE detection terminal, and receives institute
State the step of upgrade file downloading request that BLE detection terminal is sent, comprising:
Receive the ready event signal that BLE detection terminal returns;
The BLE detection is sent to eventually according to the File header information that the ready event signal extracts the upgrade file
End, so that the BLE, which detects terminal, sends upgrade file downloading request to local server according to the File header information.
Preferably, the File header information for extracting the upgrade file according to the ready event signal is sent to institute
BLE detection terminal is stated, is sent under upgrade file according to the File header information to local server so that the BLE detects terminal
The step of carrying request, comprising:
Receive the File header information that issues of local server, and confirm the File header information respective upgrades file whether
It can apply to terminal upgrade operation;
When confirming that the upgrade file can be applied to terminal upgrade operation, executes to local server and send upgrading text
The step of part downloading request.
Preferably, the File header information for receiving local server and issuing, and confirm the correspondence of the File header information
Whether upgrade file can apply to before the step of terminal upgrade operation, further includes:
The confirmation link order of local server is received, and according to the confirmation link order detection and local server
Connection;
When confirming bluetooth connection success, successful connection signal is returned to local server.
Preferably, it is described confirm bluetooth connection success when, to local server return successful connection signal the step of it
Afterwards, further includes:
Switch present mode of operation to upgrade mode;
Ready event signal is returned to local server according to the upgrade mode switched.
Preferably, the upgrade file is transmitted to BLE inspection by the upgrade file downloading request that the basis receives
Survey the step of terminal executes updating operation, further includes:
Upgrade file index value is read in upgrade file downloading request;
It is corresponding with the upgrade file index value to BLE detection terminal transmission according to the upgrade file index value
Upgrade file packet.
Preferably, described the step of reading upgrade file index value in upgrade file downloading request, further includes:
The upgrade file is divided into multiple file packets according to the upgrade file index value read, and is the text
Part packet assigns index value respectively.
In addition, to achieve the above object, the present invention also provides a kind of server, the server includes: memory, processing
Device and it is stored in the computer program that can be run on the memory and on the processor, the computer program is described
The step of processor realizes Bluetooth terminal upgrade method as described above when executing.
The present invention also provides a kind of computer readable storage medium, bluetooth is stored on the computer readable storage medium
Terminal upgrade application program, the Bluetooth terminal upgrade applications realize Bluetooth terminal liter as described above when being executed by processor
The step of grade method.
The present invention also provides a kind of Bluetooth terminal upgrade-system, the Bluetooth terminal upgrade-system is realized as above when being executed
The step of described Bluetooth terminal upgrade method.
A kind of Bluetooth terminal upgrade method that the embodiment of the present invention proposes, when detecting upgrade file, to remote service
Device obtains the upgrade file;Upgrade command is sent to BLE detection terminal according to the upgrade file got, and receives institute
State the upgrade file downloading request that BLE detection terminal is sent;It is requested according to the upgrade file downloading received by the liter
Grade file is transmitted to BLE detection terminal and executes updating operation.Upgrade file is downloaded to remote server using local server, and
The upgrade file is issued to the BLE detection terminal that need to upgrade, so that BLE detection terminal, which receives upgrade file, executes upgrading behaviour
Make, executes the beneficial effect that updating operation improves terminal upgrade efficiency in this manner.
Detailed description of the invention
Fig. 1 be the hardware running environment that the embodiment of the present invention is related to terminal apparatus structure schematic diagram;
Fig. 2 is the flow diagram of Bluetooth terminal upgrade method first embodiment of the present invention;
Fig. 3 is the refinement step schematic diagram of step S20 in Fig. 2.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting upgrade file, to described in remote server acquisition
Upgrade file;Upgrade command is sent to BLE detection terminal according to the upgrade file got, and receives the BLE detection
The upgrade file that terminal is sent downloads request;The upgrade file is transmitted according to the upgrade file downloading request received
Updating operation is executed to BLE detection terminal.
When due to the existing terminal upgrade mode of application, if not knowing which BLE detection device needs to upgrade, if there is
The no this bug of software version of a little equipment does not need then to upgrade, and upgrades need to assign engineer existing to hospital every time
, and to prepare relevant device and tool before upgrading, a large amount of expense can be generated;The general quantity of BLE equipment of hospital is relatively more,
And some are used middle whole and collect relatively difficult and have omission, upgrading need to be lifted down every time, need to hang again after having risen grade
It is affected up to the normal work of hospital.Plenty of time and manpower are wasted using such upgrading mode, and is not improved
Terminal upgrade efficiency.
The present invention provides a solution, downloads upgrade file to remote server using local server, and by institute
It states upgrade file and is issued to the BLE detection terminal that need to upgrade, so that BLE detection terminal receives upgrade file and executes updating operation,
The beneficial effect that updating operation improves terminal upgrade efficiency is executed in this manner.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention can be PC, be also possible to smart phone, tablet computer, E-book reader, portable
The packaged type having a display function such as computer or irremovable formula terminal device.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium
Network communication module, Subscriber Interface Module SIM and Bluetooth terminal upgrade applications.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor
1001 can be used for calling the Bluetooth terminal upgrade applications stored in memory 1005, and execute following operation:
When detecting upgrade file, the upgrade file is obtained to remote server;
Upgrade command is sent to BLE detection terminal according to the upgrade file got, and receives the BLE detection eventually
The upgrade file that end is sent downloads request;
The upgrade file is transmitted to BLE detection terminal according to the upgrade file downloading request received and executes liter
Grade operation.
Further, processor 1001 can call the Bluetooth terminal upgrade applications stored in memory 1005, also
Execute following operation:
Receive the ready event signal that BLE detection terminal returns;
The BLE detection is sent to eventually according to the File header information that the ready event signal extracts the upgrade file
End, so that the BLE, which detects terminal, sends upgrade file downloading request to local server according to the File header information.
Further, processor 1001 can call the Bluetooth terminal upgrade applications stored in memory 1005, also
Execute following operation:
Receive the File header information that issues of local server, and confirm the File header information respective upgrades file whether
It can apply to terminal upgrade operation;
When confirming that the upgrade file can be applied to terminal upgrade operation, executes to local server and send upgrading text
The step of part downloading request.
Further, processor 1001 can call the Bluetooth terminal upgrade applications stored in memory 1005, also
Execute following operation:
The confirmation link order of local server is received, and according to the confirmation link order detection and local server
Connection;
When confirming bluetooth connection success, successful connection signal is returned to local server.
Further, processor 1001 can call the Bluetooth terminal upgrade applications stored in memory 1005, also
Execute following operation:
Switch present mode of operation to upgrade mode;
Ready event signal is returned to local server according to the upgrade mode switched.
Further, processor 1001 can call the Bluetooth terminal upgrade applications stored in memory 1005, also
Execute following operation:
Upgrade file index value is read in upgrade file downloading request;
It is corresponding with the upgrade file index value to BLE detection terminal transmission according to the upgrade file index value
Upgrade file packet.
Further, processor 1001 can call the Bluetooth terminal upgrade applications stored in memory 1005, also
Execute following operation:
The upgrade file is divided into multiple file packets according to the upgrade file index value read, and is the text
Part packet assigns index value respectively.
It is the flow diagram of Bluetooth terminal upgrade method first embodiment of the present invention referring to Fig. 2, Fig. 2, the bluetooth is whole
Hold upgrade method the following steps are included:
Step S10 obtains the upgrade file to remote server when detecting upgrade file;
Local server is based on updating and management, upgrade file of the detection remote server based on BLE detection terminal, the liter
Grade file is that the system bugs that the developer for detecting terminal based on the BLE is the application system that the BLE detects terminal are (wrong
The system update accidentally) done, in software application technology, system update generally constructs more new content with code form, and will more
The system upgrade file that new content is created as detecting terminal based on BLE is uploaded to remote server.Remote server is based on
The upgrade file of biography updates file upload information to each associated local server sending system.It is detected in local server
When having remote server to have upgrade file, the upgrade file is obtained to remote server.
Step S20 sends upgrade command to BLE detection terminal according to the upgrade file got, and described in reception
BLE detects the upgrade file that terminal is sent and downloads request;
According to the upgrade file of the BLE detection terminal got, upgrade command is sent to associated BLE detection terminal, and
Receive the upgrade file downloading request that the BLE detection terminal is sent.The BLE detection terminal is ordered according to the upgrading received
It enables, confirms whether the upgrade file meets the updating operation of present terminal system.In the file for confirming the upgrade file
When appearance meets the updating operation of present terminal system, upgrade file downloading request is sent to local server.The local service
Device sends liter when sending upgrade command to BLE detection terminal, to all BLE detection terminal connecting with local server together
Grade order, and when receiving the upgrade file downloading request that each BLE detection terminal is sent, make the BLE detection terminal downloads
Upgrade file simultaneously upgrades.
The upgrade file is transmitted to BLE detection eventually according to the upgrade file downloading request received by step S30
End executes updating operation.
When receiving the upgrade file downloading request that BLE detection terminal is sent, upgrade file is transmitted to corresponding BLE
Terminal is detected, so that the BLE, which detects terminal, executes updating operation according to the upgrade file downloaded to, wherein BLE detects terminal
With the local server there are connection relationship, connection type include but is not limited to cable network connection, wireless network connection,
WIFI, bluetooth etc. are mainly attached relationship by bluetooth approach in the present embodiment.Its BLE detects terminal and local service
When device passes through bluetooth connection, due to upgrade file self-capacity size, it is contemplated that the efficiency of Bluetooth transmission simultaneously improves transmission speed,
When detecting terminal transmission upgrade file to BLE, i.e., the upgrade file downloading that the described basis receives is requested the liter
Grade file is transmitted to the step of BLE detection terminal executes updating operation, further includes:
Upgrade file index value is read in upgrade file downloading request;
It is corresponding with the upgrade file index value to BLE detection terminal transmission according to the upgrade file index value
Upgrade file packet.
When receiving the upgrade file downloading request that BLE detection terminal is sent, the upgrade file downloading request is read
In file index value, and upgrade file corresponding with the file index value is transmitted to one by one according to the file index value
BLE detects terminal.Based on such situation, since upgrade file is individual files, when receiving upgrade file downloading request, need
The upgrade file that will acquire according to the upgrade file index value of upgrade file downloading request is with the file index value
Quantity is decomposed upgrade file by quantity of documents, i.e., described to read upgrade file rope in upgrade file downloading request
The step of drawing value, further includes:
The upgrade file is divided into multiple file packets according to the upgrade file index value read, and is the text
Part packet assigns index value respectively.
Upgrade file index value is read, confirms the split amount of upgrade file, and text will be upgraded according to the split amount
Part is divided into the file packet of multiple low capacities, and decomposed file packet is assigned index value respectively, with according to the index value of imparting one by one
Upgrade file is transmitted to corresponding BLE detection terminal and executes updating operation.
In the present embodiment, upgrade file is downloaded to remote server using local server, and will be under the upgrade file
It is sent to the BLE detection terminal that need to upgrade, so that BLE detection terminal receives upgrade file and executes updating operation, in this manner
Execute the beneficial effect that updating operation improves terminal upgrade efficiency.
With reference to Fig. 3, Fig. 3 is the refinement step schematic diagram of step S20 in Fig. 2, based on first embodiment shown in above-mentioned, institute
It states and upgrade command is sent to BLE detection terminal according to the upgrade file got, and receive the BLE detection terminal and send
Upgrade file download request the step of, comprising:
Step S21 receives the ready event signal that BLE detection terminal returns;
Step S22 is sent to described according to the File header information that the ready event signal extracts the upgrade file
BLE detects terminal, so that the BLE, which detects terminal, sends upgrade file downloading to local server according to the File header information
Request.
After sending upgrade command to BLE detection terminal, receives the BLE detection terminal and returned based on the upgrade command
Ready event signal, and be sent to according to the File header information that the ready event signal extracts the upgrade file described
BLE detects terminal, so that BLE detection terminal receives the File header information, confirms the corresponding upgrading text of the File header information
Whether part meets the updating operation of the BLE detection terminal, and therefore, the BLE detection terminal is receiving local server hair
When the File header information sent, i.e., the described File header information for extracting the upgrade file according to the ready event signal is sent
Terminal is detected to the BLE, so that the BLE, which detects terminal, sends upgrading text to local server according to the File header information
The step of part downloading request, comprising:
Receive the File header information that issues of local server, and confirm the File header information respective upgrades file whether
It can apply to terminal upgrade operation;
When confirming that the upgrade file can be applied to terminal upgrade operation, executes to local server and send upgrading text
The step of part downloading request.
The file that BLE detection terminal receives the transmission of this server has information, and by the File header information and terminal
Application system parameter compares, and confirms whether the respective upgrades file of the File header information can be applied to end according to comparison result
Updating operation is held, it is described to compare the application system for operating the upgraded version and terminal system that are mainly used for confirming the upgrade file
Whether version of uniting is consistent, if the system version of the FileVersion of the respective upgrades file of the File header information and BLE detection terminal
When this is consistent, confirm that the respective upgrades file of the File header information is not suitable for the terminal upgrade behaviour of the BLE detection terminal
Make;Further, confirm the File header information and BLE detect terminal system version is inconsistent or the file header
Information and BLE detection terminal system version is inconsistent and the upgrade file of File header information is stupid is higher than BLE detection eventually
When the system version at end, confirm that the File header information respective upgrades file can be applied to the system upgrade of BLE detection terminal,
Execute the step of sending upgrade file downloading request to local server.In addition, BLE, which detects terminal, is sending upgrade file downloading
When requesting, and will execute updating operation, the BLE detection terminal need to switch to upgrade mode, but BLE detection terminal is switching to
When upgrade mode, need to confirm whether the connection with local server is normal, therefore, the file for receiving local server and issuing
Head information, and confirm whether the respective upgrades file of the File header information can apply to before the step of terminal upgrade operates,
Further include:
The confirmation link order of local server is received, and according to the confirmation link order detection and local server
Connection;
When confirming bluetooth connection success, successful connection signal is returned to local server.
The confirmation link order of local server is received, the confirmation link order is local server to remote service
When device gets corresponding upgrade file, because that will be detected to BLE before terminal issue upgrade command based on the upgrade file,
It need to confirm the connection relationship of BLE the detection terminal and local server, therefore be detected based on the upgrade file got to BLE
Terminal issues confirmation link order.BLE detection terminal receives the confirmation link order that local server issues, according to the confirmation
The connection of link order detection and local server, and in the bluetooth connection success of confirmation and local server, Huo Zheyu
The Bluetooth connected mode of local server returns to successful connection instruction without the different time, to local server.Further, based on described
Confirm link order, switches the operational mode of present terminal, i.e., it is described when confirming bluetooth connection success, it is returned to local server
After the step of returning successful connection signal, further includes:
Switch present mode of operation to upgrade mode;
Ready event signal is returned to local server according to the upgrade mode switched.
According to the confirmation link order received, in confirmation and the normal connection of local server, by current terminal
Operational mode switches to upgrade mode.After current operational mode is switched to upgrade mode, confirmation currently is ready for rising
Therefore grade operation returns to ready event signal to local server according to the upgrade mode switched.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with Bluetooth terminal upgrade applications, following behaviour is realized when the Bluetooth terminal upgrade applications are executed by processor
Make:
When detecting upgrade file, the upgrade file is obtained to remote server;
Upgrade command is sent to BLE detection terminal according to the upgrade file got, and receives the BLE detection eventually
The upgrade file that end is sent downloads request;
The upgrade file is transmitted to BLE detection terminal according to the upgrade file downloading request received and executes liter
Grade operation.
Further, following operation is also realized when the Bluetooth terminal upgrade applications are executed by processor:
Receive the ready event signal that BLE detection terminal returns;
The BLE detection is sent to eventually according to the File header information that the ready event signal extracts the upgrade file
End, so that the BLE, which detects terminal, sends upgrade file downloading request to local server according to the File header information.
Further, following operation is also realized when the Bluetooth terminal upgrade applications are executed by processor:
Receive the File header information that issues of local server, and confirm the File header information respective upgrades file whether
It can apply to terminal upgrade operation;
When confirming that the upgrade file can be applied to terminal upgrade operation, executes to local server and send upgrading text
The step of part downloading request.
Further, following operation is also realized when the Bluetooth terminal upgrade applications are executed by processor:
The confirmation link order of local server is received, and according to the confirmation link order detection and local server
Connection;
When confirming bluetooth connection success, successful connection signal is returned to local server.
Further, following operation is also realized when the Bluetooth terminal upgrade applications are executed by processor:
Switch present mode of operation to upgrade mode;
Ready event signal is returned to local server according to the upgrade mode switched.
Further, following operation is also realized when the Bluetooth terminal upgrade applications are executed by processor:
Upgrade file index value is read in upgrade file downloading request;
It is corresponding with the upgrade file index value to BLE detection terminal transmission according to the upgrade file index value
Upgrade file packet.
Further, following operation is also realized when the Bluetooth terminal upgrade applications are executed by processor:
The upgrade file is divided into multiple file packets according to the upgrade file index value read, and is the text
Part packet assigns index value respectively.
The present invention also provides a kind of Bluetooth terminal upgrade-systems, and in practical applications, the Bluetooth terminal upgrade-system is real
The now content of Bluetooth terminal upgrade method embodiment as described above.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, drug or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, drug or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, drug or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of Bluetooth terminal upgrade method, which is characterized in that the Bluetooth terminal upgrade method the following steps are included:
When detecting upgrade file, the upgrade file is obtained to remote server;
Upgrade command is sent to BLE detection terminal according to the upgrade file got, and receives the BLE detection terminal hair
The upgrade file downloading request sent;
The upgrade file is transmitted to BLE detection terminal according to the upgrade file downloading request received and executes upgrading behaviour
Make.
2. Bluetooth terminal upgrade method as described in claim 1, which is characterized in that the upgrading text that the basis is got
Part sends upgrade command to BLE detection terminal, and receives the step for the upgrade file downloading request that the BLE detection terminal is sent
Suddenly, comprising:
Receive the ready event signal that BLE detection terminal returns;
It is sent to the BLE detection terminal according to the File header information that the ready event signal extracts the upgrade file, with
The BLE detection terminal is set to send upgrade file downloading request to local server according to the File header information.
3. Bluetooth terminal upgrade method as claimed in claim 2, which is characterized in that described according to the ready event signal
The File header information for extracting the upgrade file is sent to the BLE detection terminal, so that the BLE detects terminal according to
The step of File header information sends upgrade file downloading request to local server, comprising:
The File header information that local server issues is received, and confirms whether the respective upgrades file of the File header information can answer
It is operated for terminal upgrade;
When confirming that the upgrade file can be applied to terminal upgrade operation, executes and sent under upgrade file to local server
The step of carrying request.
4. Bluetooth terminal upgrade method as claimed in claim 3, which is characterized in that the text for receiving local server and issuing
Part head information, and confirm the respective upgrades file of the File header information whether can apply to terminal upgrade operation the step of it
Before, further includes:
The confirmation link order of local server is received, and according to the connection of confirmation the link order detection and local server
Situation;
When confirming bluetooth connection success, successful connection signal is returned to local server.
5. Bluetooth terminal upgrade method as claimed in claim 4, which is characterized in that it is described when confirming bluetooth connection success,
After the step of returning to successful connection signal to local server, further includes:
Switch present mode of operation to upgrade mode;
Ready event signal is returned to local server according to the upgrade mode switched.
6. Bluetooth terminal upgrade method as described in claim 1, which is characterized in that the upgrading text that the basis receives
The upgrade file is transmitted to the step of BLE detection terminal executes updating operation by part downloading request, further includes:
Upgrade file index value is read in upgrade file downloading request;
Terminal transmission upgrading corresponding with the upgrade file index value is detected to the BLE according to the upgrade file index value
File packet.
7. Bluetooth terminal upgrade method as claimed in claim 6, which is characterized in that described download in the upgrade file is requested
The step of middle reading upgrade file index value, further includes:
The upgrade file is divided into multiple file packets according to the upgrade file index value read, and is the file packet
Index value is assigned respectively.
8. a kind of server, which is characterized in that the server includes: memory, processor and is stored on the memory
And the computer program that can be run on the processor, such as right is realized when the computer program is executed by the processor
It is required that described in any one of 1 to 7 the step of Bluetooth terminal upgrade method.
9. a kind of computer readable storage medium, which is characterized in that be stored with bluetooth end on the computer readable storage medium
Upgrade applications are held, are realized when the Bluetooth terminal upgrade applications are executed by processor as any in claim 1 to 7
The step of item Bluetooth terminal upgrade method.
10. a kind of Bluetooth terminal upgrade-system, which is characterized in that the Bluetooth terminal upgrade-system realizes such as right when being executed
It is required that described in any one of 1 to 7 the step of Bluetooth terminal upgrade method.
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 true CN108989428A (en) | 2018-12-11 |
CN108989428B 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) |
Cited By (2)
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 |
CN112887951A (en) * | 2021-01-21 | 2021-06-01 | 读书郎教育科技有限公司 | Bluetooth-based system and method for pre-installing application of Android terminal in factory |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104820611A (en) * | 2015-05-22 | 2015-08-05 | 中国科学院上海高等研究院 | Equipment software upgrade method based on Bluetooth and upgrade device |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN104980482A (en) * | 2014-12-24 | 2015-10-14 | 深圳市腾讯计算机系统有限公司 | File transmitting method and device, file receiving method and device |
CN105451369A (en) * | 2015-12-04 | 2016-03-30 | 小米科技有限责任公司 | Method and apparatus for updating connection parameter of Bluetooth device with low power consumption |
CN105610966A (en) * | 2016-01-20 | 2016-05-25 | 深圳市中兴物联科技股份有限公司 | Terminal of Internet of things and upgrading method thereof |
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 |
CN107229620A (en) * | 2016-03-23 | 2017-10-03 | 杭州海康威视数字技术股份有限公司 | The storage method and device of a kind of video data |
CN108021379A (en) * | 2017-11-09 | 2018-05-11 | 维沃移动通信有限公司 | A kind of upgrade method of application program, mobile terminal and server |
-
2018
- 2018-07-17 CN CN201810795505.XA patent/CN108989428B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980482A (en) * | 2014-12-24 | 2015-10-14 | 深圳市腾讯计算机系统有限公司 | File transmitting method and device, file receiving method and device |
CN104820611A (en) * | 2015-05-22 | 2015-08-05 | 中国科学院上海高等研究院 | Equipment software upgrade method based on Bluetooth and upgrade device |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN105451369A (en) * | 2015-12-04 | 2016-03-30 | 小米科技有限责任公司 | Method and apparatus for updating connection parameter of Bluetooth device with low power consumption |
CN105610966A (en) * | 2016-01-20 | 2016-05-25 | 深圳市中兴物联科技股份有限公司 | Terminal of Internet of things and upgrading method thereof |
CN107229620A (en) * | 2016-03-23 | 2017-10-03 | 杭州海康威视数字技术股份有限公司 | The storage method and device of a kind 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 |
CN108021379A (en) * | 2017-11-09 | 2018-05-11 | 维沃移动通信有限公司 | A kind of upgrade method of application program, mobile terminal and server |
Cited By (2)
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 |
CN112887951A (en) * | 2021-01-21 | 2021-06-01 | 读书郎教育科技有限公司 | Bluetooth-based system and method for pre-installing application of Android terminal in factory |
Also Published As
Publication number | Publication date |
---|---|
CN108989428B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105389222B (en) | A kind of methods, devices and systems of dynamic call native interface | |
CN105162841A (en) | Domestic appliance control method and system | |
KR101541112B1 (en) | FOTA system and the method | |
CN104657174A (en) | Method and device for dynamically realizing application function | |
CN108563579B (en) | White box testing method, device and system and storage medium | |
CN104424095A (en) | Automatic testing method and system of mobile terminal | |
CN106843976B (en) | Method and apparatus for generating image file | |
CN112073994A (en) | Method and device for over-the-air upgrading, electronic equipment and readable storage medium | |
CN109391673A (en) | A kind of method, system and the terminal device of management update file | |
CN106230977B (en) | A kind of client functionality loading method, system, client and server-side | |
CN110597539A (en) | Electric energy meter upgrading method, system and storage medium | |
CN102833350A (en) | Processing method and processing device of WebApp updating | |
CN103729189A (en) | Broadcast protocol conversion method, system and terminal based on LUA | |
CN111045893B (en) | Method, device and system for executing monitoring task, storage medium and electronic device | |
CN109254914A (en) | Software development kit test method, system, computer installation and readable storage medium storing program for executing | |
CN109885332A (en) | Image quality chip software upgrade method, device, display equipment and storage medium | |
CN111752577A (en) | System version upgrading method and device | |
CN108989428A (en) | Bluetooth terminal upgrade method, server, computer readable storage medium and system | |
CN103491522A (en) | Terminal adaption method and device | |
CN109408090A (en) | Upgrade method, data converter and the readable storage medium storing program for executing of device software | |
CN115515012B (en) | Key burning method and device, electronic equipment board card and storage medium | |
CN104023073A (en) | Resource pushing method, system and device | |
CN104049998B (en) | The processing method of upgrade package, device and equipment in a kind of android system | |
KR20180050001A (en) | Firmware upgrade system and method for IoT | |
CN106708494A (en) | JAR upgrading method and apparatus |
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 |