CN108664261A - A kind of method and device of firmware upgrade - Google Patents
A kind of method and device of firmware upgrade Download PDFInfo
- Publication number
- CN108664261A CN108664261A CN201810360460.3A CN201810360460A CN108664261A CN 108664261 A CN108664261 A CN 108664261A CN 201810360460 A CN201810360460 A CN 201810360460A CN 108664261 A CN108664261 A CN 108664261A
- Authority
- CN
- China
- Prior art keywords
- firmware
- firmware upgrade
- touch chip
- packet
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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
-
- 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/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
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)
Abstract
The invention discloses a kind of method and devices of firmware upgrade to simplify firmware upgrade process to realize that radio firmware upgrades.Applied to wireless communication module, wireless communication module is located at touch chip to be upgraded in same equipment, the method includes:Wirelessly receive the first wireless module firmware packet that firmware upgrade control terminal is sent;The first wireless module firmware packet includes carrying out the control firmware packet of firmware upgrade and the target firmware upgrade package of the touch chip for controlling the touch chip;By running the control firmware packet, using wired mode, the touch chip is written into the target firmware upgrade package, to indicate that the touch chip runs the target firmware upgrade package.
Description
Technical field
The present invention relates to computer and field of communication technology, more particularly to a kind of method and device of firmware upgrade.
Background technology
With the development of electronic technology, the products such as remote control equipment, wearable device emerge one after another.This kind of hardware product is not from
Open firmware upgrade.By taking touch chip as an example, touch chip needs to dismantle device housings, pass through when carrying out firmware upgrade at present
Wired mode connects touch chip and in-circuit emulator.The firmware of touch chip is upgraded using in-circuit emulator.Upgrading
Process is relatively complicated, and general user is difficult voluntarily to complete.
Invention content
The present invention provides a kind of method and device of firmware upgrade, to realize that radio firmware upgrades, simplifies firmware upgrade
Process.
The present invention provides a kind of method of firmware upgrade, be applied to wireless communication module, wireless communication module with it is to be upgraded
Touch chip be located in same equipment, the method includes:
Wirelessly receive the first wireless module firmware packet that firmware upgrade control terminal is sent;Described first is wireless
Module firmware packet includes carrying out the control firmware packet of firmware upgrade and the touch chip for controlling the touch chip
Target firmware upgrade package;
By running the control firmware packet, using wired mode, the touch-control is written into the target firmware upgrade package
Chip, to indicate that the touch chip runs the target firmware upgrade package.
The technical solution that the embodiment of the present invention provides can include the following benefits:Radio communication mold in the present embodiment
Block is located at touch chip to be upgraded in same equipment, the communication capacity of wireless communication module is utilized, by radio communication
Module realizes the firmware upgrade to touch chip.Realize the firmware liter to touch chip in the case where not dismantling device housings
Grade.Escalation process is simplified, the firmware upgrade that general user realizes product is facilitated.
Optionally, described to be write the target firmware upgrade package using wired mode by running the control firmware packet
Enter the touch chip, to indicate that the touch chip runs the target firmware upgrade package, including:
First is sent to touch chip and resets notification command, and it is extensive that the first reset notification command is used to indicate touch chip
Equipment original state is arrived again;
Update initialization command is sent to touch chip, the update initialization command is used to indicate touch chip and enters liter
Grade original state;
The target firmware upgrade package is sent to touch chip.
The technical solution that the embodiment of the present invention provides can include the following benefits:In the present embodiment, wireless communication
Module sends first and resets notification command and update initialization life before sending the target firmware upgrade package to touch chip
It enables, so that touch chip can carry out the preparation before upgrading, ensures smoothly completing for upgrading.Also, these order by
Wireless communication module is sent out, and is equivalent to inside equipment and is completed, reduce the intervention of external firmware upgrade control terminal, also just reduces
The work of technical staff.
Optionally, described to be write the target firmware upgrade package using wired mode by running the control firmware packet
Enter the touch chip, further includes to indicate that the touch chip runs the target firmware upgrade package:
After sending the target firmware upgrade package to the touch chip, sends second to the touch chip and reset
Notification command, the second reset notification command are used to indicate touch chip and exit upgrade status.
The technical solution that the embodiment of the present invention provides can include the following benefits:It is multiple by second in the present embodiment
Position notification command makes touch chip exit upgrade status, the touch-control state of a control before being restored to.
Optionally, the method further includes:
Receive the second wireless module firmware packet of firmware upgrade control terminal transmission;The second wireless module firmware packet
Include the firmware packet that wireless data transmission is carried out for controlling the wireless communication module.
The technical solution that the embodiment of the present invention provides can include the following benefits:The present embodiment is wireless by second
Module firmware packet makes wireless communication module after completing to the upgrading of touch chip, the wireless data before being restored to
The function and state of transmission.
Optionally, described before the first wireless module firmware upgrade packet for receiving the transmission of firmware upgrade control terminal
Method further includes:
The aerial download notification message that the firmware upgrade control terminal is sent is received, to be notified in the aerial download
Under the instruction of message, the first wireless module firmware upgrade packet of firmware upgrade control terminal transmission is received.
The technical solution that the embodiment of the present invention provides can include the following benefits:The present embodiment is by firmware upgrade control
Terminal processed initiates the escalation process to touch chip by downloading notification message in the air.Existing message is utilized, compatibility is more
It is good.
Optionally, the method further includes:
During running the control firmware packet, state notification message is sent to the firmware upgrade control terminal,
So as to the interim state upgraded to firmware upgrade control terminal report.
The technical solution that the embodiment of the present invention provides can include the following benefits:Shape can be utilized in the present embodiment
State notification message facilitates technical staff to understand upgrading progress.
The present invention provides a kind of device of firmware upgrade, be applied to wireless communication module, wireless communication module with it is to be upgraded
Touch chip be located in same equipment, including:
First receiving module, it is solid for wirelessly receiving the first wireless module that firmware upgrade control terminal is sent
Part packet;The first wireless module firmware packet includes the control firmware packet that firmware upgrade is carried out for controlling the touch chip,
And the target firmware upgrade package of the touch chip;
Writing module runs the control firmware packet, using wired mode, by the target firmware upgrade package for passing through
The touch chip is written, to indicate that the touch chip runs the target firmware upgrade package.
Optionally, said write module includes:
First sending submodule resets notification command for sending first to touch chip, and described first resets notice life
Order is used to indicate touch chip and is restored to equipment original state;
Second sending submodule, for sending update initialization command to touch chip, the update initialization command is used
Enter upgrading original state in instruction touch chip;
Third sending submodule, for sending the target firmware upgrade package to touch chip.
Optionally, said write module further includes:
4th sending submodule, for after sending the target firmware upgrade package to the touch chip, to described
Touch chip sends second and resets notification command, and the second reset notification command is used to indicate touch chip and exits upgrading shape
State.
Optionally, described device further includes:
Second receiving module, the second wireless module firmware packet for receiving the transmission of firmware upgrade control terminal;Described
Two wireless module firmware packets include the firmware packet that wireless data transmission is carried out for controlling the wireless communication module.
Optionally, described device further includes:
Third receiving module, the aerial download notification message sent for receiving the firmware upgrade control terminal, so as to
Under the aerial instruction for downloading notification message, the first wireless module firmware upgrade of firmware upgrade control terminal transmission is received
Packet.
Optionally, described device further includes:
Sending module, for during running the control firmware packet, being sent to the firmware upgrade control terminal
State notification message, so as to the interim state upgraded to firmware upgrade control terminal report.
The present invention provides a kind of device of firmware upgrade, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Wirelessly receive the first wireless module firmware packet that firmware upgrade control terminal is sent;Described first is wireless
Module firmware packet includes carrying out the control firmware packet of firmware upgrade and the touch chip for controlling the touch chip
Target firmware upgrade package;
By running the control firmware packet, using wired mode, the touch-control is written into the target firmware upgrade package
Chip, to indicate that the touch chip runs the target firmware upgrade package.
The present invention provides a kind of computer readable storage medium, is stored thereon with computer instruction, the instruction is by processor
The method that above-mentioned firmware upgrade is realized when execution.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of firmware upgrade in the embodiment of the present invention;
Fig. 2 is the structure chart of upgrade-system in the embodiment of the present invention;
Fig. 3 is the method flow diagram of firmware upgrade in the embodiment of the present invention;
Fig. 4 is the method flow diagram of firmware upgrade in the embodiment of the present invention;
Fig. 5 is the structure drawing of device of firmware upgrade in the embodiment of the present invention;
Fig. 6 is the structure chart of writing module in the embodiment of the present invention;
Fig. 7 is the structure chart of writing module in the embodiment of the present invention;
Fig. 8 is the structure drawing of device of firmware upgrade in the embodiment of the present invention;
Fig. 9 is the structure drawing of device of firmware upgrade in the embodiment of the present invention;
Figure 10 is the structure drawing of device of firmware upgrade in the embodiment of the present invention.
Specific implementation mode
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings, it should be understood that preferred reality described herein
Apply example only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
In the related technology, touch chip needs to dismantle device housings, passes through wired mode when carrying out firmware upgrade at present
Connect touch chip and in-circuit emulator.The firmware of touch chip is upgraded using in-circuit emulator.Escalation process is more
It is cumbersome.
To solve the above problems, the present embodiment upgrades touch chip using wireless communication module, need not dismantle
Device housings simplify escalation process.
Referring to Fig. 1, the method for firmware upgrade includes in the present embodiment:
Step 101:Wirelessly receive the first wireless module firmware packet that firmware upgrade control terminal is sent;It is described
First wireless module firmware packet includes carrying out the control firmware packet of firmware upgrade for controlling the touch chip and described touching
Control the target firmware upgrade package of chip.
Step 102:By running the control firmware packet, using wired mode, the target firmware upgrade package is written
The touch chip, to indicate that the touch chip runs the target firmware upgrade package.
Shown in Figure 2, the present embodiment can be realized by wireless communication module 201, wireless communication module 201 and touch-control core
Piece 202 is located in same equipment 203, and wireless communication module 201 passes through Serial Peripheral Interface (SPI) (Serial with touch chip 202
Peripheral Interface, SPI), the communications such as IC bus (Inter-Integrated Circuit, I2C) it is total
Line realizes wired connection.Using wireless communication between firmware upgrade control terminal 204 and equipment 203.Firmware upgrade control terminal
The communications such as bluetooth, WiFi (communicating fidelity) may be used between 204 and wireless communication module 201.Correspondingly, wireless
Communication module 201 can be bluetooth module or WiFi module etc..
When needing to upgrade touch chip, technical staff is by firmware upgrade control terminal to wireless communication module
The first wireless module firmware packet is sent, wireless communication module is made to be updated to firmware upgrade pattern by data-transmission mode.First nothing
Wire module firmware packet includes control firmware packet and target firmware upgrade package.Wireless communication module operation control firmware packet, with touch-control
Chip is communicated by wired mode, and firmware upgrade is completed to control touch chip.In the present embodiment, the control of escalation process
System transfers to wireless communication module to complete, and firmware upgrade control terminal need not interfere subsequent upgrade process.In this way, technical staff
Frequent operation firmware upgrade control terminal is not needed, manpower is saved, simplifies the manual operation in escalation process.
In addition, due to being wireless communication between firmware upgrade control terminal and wireless communication module, so firmware upgrade control
Terminal processed can batch in multiple equipment touch chip upgrade.Wireless communication module is originally located at touch chip same
In equipment, when upgrading, does not need additional emulator, need not dismantle device housings yet, so that firmware upgrade process is more simplified easy
Implement.
Optionally, the step 102 includes:Step A1- steps A3.
Step A1:First is sent to touch chip and resets notification command, and the first reset notification command is used to indicate tactile
Control chip is restored to equipment original state.
Step A2:Update initialization command is sent to touch chip, the update initialization command is used to indicate touch-control core
Piece enters upgrading original state.
Step A3:The target firmware upgrade package is sent to touch chip.
Wireless communication module controls firmware packet by operation, executes step A1- steps A3 successively:It is logical to first pass through the first reset
Order of understanding the Decree of Heaven makes touch chip be restored to equipment original state, and the early-stage preparations work of upgrading is then completed by updating initialization command
Make, then receive target firmware upgrade package, completes escalation process.In this process, it is all automatically controlled by wireless communication module tactile
It controls chip to complete, does not need firmware upgrade control terminal intervention, also need not can artificially participate in, technical staff can not have to
It keeps beside firmware upgrade control terminal.
Entire escalation process is controlled by wireless communication module, facilitates the firmware realized to the operating system grade of touch chip
Upgrading.
Optionally, the step 102 further includes:Step B.
Step B:After sending the target firmware upgrade package to the touch chip, the is sent to the touch chip
Two reset notification command, and the second reset notification command is used to indicate touch chip and exits upgrade status.
The target firmware upgrade package is sent to the touch chip, touch chip is equivalent to and completes firmware upgrade.
For the present embodiment after the completion of upgrading, wireless communication module control touch chip exits upgrade status, and bring into operation mesh
Firmware upgrade packet is marked, touch-control state of a control is restored to.
Wireless communication module control touch chip complete upgrading after, wireless communication module be also required to be restored to before it is wireless
Data-transmission mode.A kind of mode is that wireless communication module is when operation controls firmware packet, the wireless data transmission before retaining
Firmware packet.Firmware upgrade control terminal controls wireless communication module after receiving the first wireless module firmware packet, from before
Wireless data transmission firmware packet be switched to control firmware packet.After touch chip completes firmware upgrade, in control firmware packet
Guiding under or by firmware upgrade control terminal to wireless communication module sending mode switching command so that radio communication mold
Block exits the operation of control firmware packet, switches back into the firmware packet of the wireless data transmission before operation.Wireless data before passes
Defeated firmware packet can be stored in different memory blocks from control firmware packet.Another way is, before control firmware cladding lid
Wireless data transmission firmware packet.So after touch chip completes firmware upgrade, wireless communication module needs are obtained from outside
The firmware packet for obtaining wireless data transmission, to restore the function of wireless data transmission.It can be found in the following examples.
Optionally, the method further includes:Step C.
Step C:Receive the second wireless module firmware packet of firmware upgrade control terminal transmission;Second wireless module is solid
Part packet includes the firmware packet that wireless data transmission is carried out for controlling the wireless communication module.
Wireless communication module controls after sending the target firmware upgrade package to the touch chip to firmware upgrade
Terminal sends the notification message that upgrading is completed.Firmware upgrade control terminal is sent out after the completion of knowing upgrading to wireless communication module
The second wireless module firmware packet, control wireless communication module is sent to run the second wireless module firmware packet, keep wireless communication module extensive
Data-transmission mode is arrived again.
Optionally, described before the first wireless module firmware upgrade packet for receiving the transmission of firmware upgrade control terminal
Method further includes:Step D.
Step D:Receive the aerial download notification message that the firmware upgrade control terminal is sent, so as to it is described in the air under
Under the instruction for carrying notification message, the first wireless module firmware upgrade packet of firmware upgrade control terminal transmission is received.
It is solid to make wireless communication module carry out the first wireless module of reception by downloading notification message in the air in the present embodiment
The preparation of part upgrade package, triggering wireless communication module obtain the first wireless module firmware upgrade packet.
Optionally, the method further includes:Step E.
Step E:During running the control firmware packet, state notifying is sent to the firmware upgrade control terminal
Message, so as to the interim state upgraded to firmware upgrade control terminal report.
In the present embodiment, what wireless communication module can be interim disappears to firmware upgrade control terminal transmission state notifying
Breath facilitates technical staff to understand upgrading progress in time.Firmware upgrade control terminal can also be according to the state notification message received
Daily record is generated, technical staff is facilitated to understand upgrading overall process by daily record of leafing through.
Realization process is discussed in detail below by several embodiments.
Referring to Fig. 3, the method for firmware upgrade includes in the present embodiment:
Step 301:The aerial download notification message that the firmware upgrade control terminal is sent is received, so as to described aerial
Under the instruction for downloading notification message, the first wireless module firmware upgrade packet of firmware upgrade control terminal transmission is received.
The message that wireless communication module can also be received to firmware upgrade control terminal feedback acknowledgment.
Step 302:Wirelessly receive the first wireless module firmware packet that firmware upgrade control terminal is sent;It is described
First wireless module firmware packet includes carrying out the control firmware packet of firmware upgrade for controlling the touch chip and described touching
Control the target firmware upgrade package of chip.
The message that wireless communication module can also be completed to firmware upgrade control terminal feedback acknowledgment.
Step 303:By running the control firmware packet, using wired mode, the target firmware upgrade package is written
The touch chip, to indicate that the touch chip runs the target firmware upgrade package.
Step 304:Receive the second wireless module firmware packet of firmware upgrade control terminal transmission;Second wireless module
Firmware packet includes the firmware packet that wireless data transmission is carried out for controlling the wireless communication module.
The message that wireless communication module can also be received to firmware upgrade control terminal feedback acknowledgment.
Referring to Fig. 4, the method for firmware upgrade includes in the present embodiment:
Step 401:Wireless communication module sends first to touch chip and resets notification command, and described first resets notice life
Order is used to indicate touch chip and is restored to equipment original state.
Step 402:Wireless communication module sends update initialization command to touch chip, and the update initialization command is used
Enter upgrading original state in instruction touch chip.
Step 403:Touch chip sends confirmation message to wireless communication module.
Step 404:Wireless communication module sends the target firmware upgrade package to touch chip.
Step 405:Wireless communication module sends second to the touch chip and resets notification command, and second reset is logical
Order of understanding the Decree of Heaven is used to indicate touch chip and exits upgrade status.
Step 406:Wireless communication module sends upgrading completion notice message to firmware upgrade control terminal.
Wherein, step 402 and step 403 and etc. after, wireless communication module can control eventually to firmware upgrade
End sends state notification message.
Above-described embodiment can be freely combined according to actual needs.
By the way that above description describes the realization process of firmware upgrade, which can be realized by device, below to the device
Internal structure and function be introduced.
Referring to Fig. 5, the device of firmware upgrade is applied to wireless communication module in the present embodiment, wireless communication module with wait rising
The touch chip of grade is located in same equipment, including:First receiving module 501 and writing module 502.
First receiving module 501, the first wireless mould sent for wirelessly receiving firmware upgrade control terminal
Block firmware packet;The first wireless module firmware packet includes the control firmware that firmware upgrade is carried out for controlling the touch chip
The target firmware upgrade package of packet and the touch chip.
Writing module 502 runs the control firmware packet, using wired mode, by the target firmware liter for passing through
The touch chip is written in grade packet, to indicate that the touch chip runs the target firmware upgrade package.
Optionally, as shown in fig. 6, said write module 502 includes:First sending submodule 601, the second sending submodule
602 and third sending submodule 603.
First sending submodule 601 resets notification command for sending first to touch chip, and described first resets notice
Order is used to indicate touch chip and is restored to equipment original state.
Second sending submodule 602, for sending update initialization command, the update initialization command to touch chip
It is used to indicate touch chip and enters upgrading original state.
Third sending submodule 603, for sending the target firmware upgrade package to touch chip.
Optionally, as shown in fig. 7, said write module 502 further includes:4th sending submodule 701.
4th sending submodule 701 is used for after sending the target firmware upgrade package to the touch chip, to institute
It states touch chip and sends the second reset notification command, the second reset notification command is used to indicate touch chip and exits upgrading shape
State.
Optionally, as shown in figure 8, described device further includes:Second receiving module 801.
Second receiving module 801, the second wireless module firmware packet for receiving the transmission of firmware upgrade control terminal;It is described
Second wireless module firmware packet includes the firmware packet that wireless data transmission is carried out for controlling the wireless communication module.
Optionally, as shown in figure 9, described device further includes:Third receiving module 901.
Third receiving module 901, the aerial download notification message sent for receiving the firmware upgrade control terminal, with
Just under the aerial instruction for downloading notification message, the first wireless module firmware liter of firmware upgrade control terminal transmission is received
Grade packet.
Optionally, as shown in Figure 10, described device further includes:Sending module 1001.
Sending module 1001 is used for during running the control firmware packet, to the firmware upgrade control terminal
State notification message is sent, so as to the interim state upgraded to firmware upgrade control terminal report.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer instruction, the instruction
The method that above-mentioned firmware upgrade is realized when being executed by processor.
The embodiment of the present invention also provides a kind of wireless communication module, and the wireless communication module includes:Processor, Yi Jiyong
In the memory of storage processor-executable instruction;The processor is realized in the executable instruction in executing the memory
Above-mentioned firmware upgrade method carries out firmware upgrade with pair touch chip being connect with the wireless communication module.
The embodiment of the present invention also provides a kind of touch control device, including wireless communication module, and with the radio communication mold
The touch chip of block wired connection;The wireless communication module includes:Processor, and for storing processor-executable instruction
Memory;The processor realizes above-mentioned firmware upgrade method in the executable instruction in executing the memory, with right
Firmware upgrade is carried out with the touch chip.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. a kind of method of firmware upgrade, which is characterized in that be applied to wireless communication module, wireless communication module with it is to be upgraded
Touch chip is located in same equipment, the method includes:
Wirelessly receive the first wireless module firmware packet that firmware upgrade control terminal is sent;First wireless module
Firmware packet includes carrying out the control firmware packet of firmware upgrade and the target of the touch chip for controlling the touch chip
Firmware upgrade packet;
By running the control firmware packet, using wired mode, the touch chip is written into the target firmware upgrade package,
To indicate that the touch chip runs the target firmware upgrade package.
2. the method as described in claim 1, which is characterized in that it is described by running the control firmware packet, using wired side
The touch chip is written in the target firmware upgrade package by formula, to indicate that the touch chip runs the target firmware liter
Grade packet, including:
First is sent to touch chip and resets notification command, and the first reset notification command is used to indicate touch chip and is restored to
Equipment original state;
Update initialization command is sent to touch chip, the update initialization command is used to indicate touch chip and enters upgrading just
Beginning state;
The target firmware upgrade package is sent to touch chip.
3. method as claimed in claim 2, which is characterized in that it is described by running the control firmware packet, using wired side
The touch chip is written in the target firmware upgrade package by formula, to indicate that the touch chip runs the target firmware liter
Grade is wrapped:
After sending the target firmware upgrade package to the touch chip, sends second to the touch chip and reset notice
Order, the second reset notification command are used to indicate touch chip and exit upgrade status.
4. the method as described in claim 1, which is characterized in that the method further includes:
Receive the second wireless module firmware packet of firmware upgrade control terminal transmission;The second wireless module firmware packet includes using
In the firmware packet for controlling the wireless communication module progress wireless data transmission.
5. the method as described in claim 1, which is characterized in that described to receive firmware upgrade control terminal is transmitted first wirelessly
Before module firmware upgrade package, the method further includes:
The aerial download notification message that the firmware upgrade control terminal is sent is received, so as in the aerial download notification message
Instruction under, receive firmware upgrade control terminal transmission the first wireless module firmware upgrade packet.
6. the method as described in claim 1, which is characterized in that the method further includes:
During running the control firmware packet, state notification message is sent to the firmware upgrade control terminal, so as to
To the interim state of firmware upgrade control terminal report upgrading.
7. a kind of device of firmware upgrade, which is characterized in that be applied to wireless communication module, wireless communication module with it is to be upgraded
Touch chip is located in same equipment, including:
First receiving module, the first wireless module firmware sent for wirelessly receiving firmware upgrade control terminal
Packet;The first wireless module firmware packet includes the control firmware packet that firmware upgrade is carried out for controlling the touch chip, with
And the target firmware upgrade package of the touch chip;
Writing module, for by running the control firmware packet, using wired mode, the target firmware upgrade package to be written
The touch chip, to indicate that the touch chip runs the target firmware upgrade package.
8. device as claimed in claim 7, which is characterized in that said write module includes:
First sending submodule resets notification command for sending first to touch chip, and described first, which resets notification command, uses
It is restored to equipment original state in instruction touch chip;
Second sending submodule, for sending update initialization command to touch chip, the update initialization command is for referring to
Show that touch chip enters upgrading original state;
Third sending submodule, for sending the target firmware upgrade package to touch chip.
9. device as claimed in claim 8, which is characterized in that said write module further includes:
4th sending submodule is used for after sending the target firmware upgrade package to the touch chip, to the touch-control
Chip sends second and resets notification command, and the second reset notification command is used to indicate touch chip and exits upgrade status.
10. device as claimed in claim 7, which is characterized in that described device further includes:
Second receiving module, the second wireless module firmware packet for receiving the transmission of firmware upgrade control terminal;Second nothing
Wire module firmware packet includes the firmware packet that wireless data transmission is carried out for controlling the wireless communication module.
11. device as claimed in claim 7, which is characterized in that described device further includes:
Third receiving module, the aerial download notification message sent for receiving the firmware upgrade control terminal, so as in institute
It states under the aerial instruction for downloading notification message, receives the first wireless module firmware upgrade packet of firmware upgrade control terminal transmission.
12. device as claimed in claim 7, which is characterized in that described device further includes:
Sending module, for during running the control firmware packet, state to be sent to the firmware upgrade control terminal
Notification message, so as to the interim state upgraded to firmware upgrade control terminal report.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810360460.3A CN108664261A (en) | 2018-04-20 | 2018-04-20 | A kind of method and device of firmware upgrade |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810360460.3A CN108664261A (en) | 2018-04-20 | 2018-04-20 | A kind of method and device of firmware upgrade |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108664261A true CN108664261A (en) | 2018-10-16 |
Family
ID=63780715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810360460.3A Pending CN108664261A (en) | 2018-04-20 | 2018-04-20 | A kind of method and device of firmware upgrade |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108664261A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538513A (en) * | 2020-04-16 | 2020-08-14 | 深圳比特微电子科技有限公司 | Batch firmware updating method and system for virtual currency mining machine power supply |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694622A (en) * | 2009-09-29 | 2010-04-14 | 中兴通讯股份有限公司 | Remote firmware upgrading method of multi-device combination equipment and system thereof |
US20130304281A1 (en) * | 2012-05-14 | 2013-11-14 | Sprint Communications Company L.P. | Alternative Authorization for Telematics |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN107181618A (en) * | 2017-06-02 | 2017-09-19 | 深圳市维申斯科技有限公司 | Firmware upgrade method and system |
CN207198838U (en) * | 2017-07-05 | 2018-04-06 | 上海京颐科技股份有限公司 | RFID firmware upgrade systems in tablet personal computer |
-
2018
- 2018-04-20 CN CN201810360460.3A patent/CN108664261A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694622A (en) * | 2009-09-29 | 2010-04-14 | 中兴通讯股份有限公司 | Remote firmware upgrading method of multi-device combination equipment and system thereof |
US20130304281A1 (en) * | 2012-05-14 | 2013-11-14 | Sprint Communications Company L.P. | Alternative Authorization for Telematics |
CN104915237A (en) * | 2015-06-24 | 2015-09-16 | 深圳市兰丁科技有限公司 | Upgrading method and upgrading control method of Bluetooth device firmware program, and equipment |
CN107181618A (en) * | 2017-06-02 | 2017-09-19 | 深圳市维申斯科技有限公司 | Firmware upgrade method and system |
CN207198838U (en) * | 2017-07-05 | 2018-04-06 | 上海京颐科技股份有限公司 | RFID firmware upgrade systems in tablet personal computer |
Non-Patent Citations (1)
Title |
---|
中国人民银行科技司: "《移动金融关键技术与标准解读》", 31 March 2016 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538513A (en) * | 2020-04-16 | 2020-08-14 | 深圳比特微电子科技有限公司 | Batch firmware updating method and system for virtual currency mining machine power supply |
CN111538513B (en) * | 2020-04-16 | 2021-08-27 | 深圳比特微电子科技有限公司 | Batch firmware updating method and system for virtual currency mining machine power supply |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3258737B1 (en) | Mobile terminal, power supply adapter, and upgrading method thereof | |
CN103077058B (en) | Method and device for installing application program | |
US10474452B2 (en) | Firmware upgrade through GPIO port via UART protocol | |
CN110351378A (en) | A kind of control method and system of internet of things equipment | |
US9223559B2 (en) | Information processing apparatus, electronic control unit, information processing method, and program | |
KR101079585B1 (en) | Display apparatus, image processing apparatus and method for upgrading control program thereof | |
JP6527943B2 (en) | Software upgrade method and device | |
CN104168327A (en) | Method for automatically updating external device | |
CN106027808A (en) | Car machine, intelligent mobile terminal, and corresponding connection control method and system | |
JP2013020619A (en) | Usb device remote control method and system for executing the same | |
EP3570123A1 (en) | Electronic tool and method for copying a plurality of settings from a mechanical tool to another mechanical tool | |
US9971591B2 (en) | Mobile terminal, power adapter, and upgrade method thereof | |
CN113805929A (en) | Real-time system FOTA upgrading method based on Bluetooth transmission and related equipment | |
CN108664261A (en) | A kind of method and device of firmware upgrade | |
CN101882110A (en) | Method for downloading data and terminal equipment | |
CN108762856B (en) | Method for adjusting display mode of intelligent watch function, intelligent watch and terminal | |
CN110637262B (en) | Load device management method, terminal device and movable platform system | |
CN113721961A (en) | Equipment upgrading method and device, storage medium and electronic equipment | |
JP3906735B2 (en) | In-vehicle communication system | |
CN104811250A (en) | Communication system, electronic device and communication method | |
JP2002077030A (en) | Software download system and mobile communication terminal | |
WO2024140019A1 (en) | Method and apparatus for upgrading 5g terminal from nsa to sa, and computer device and storage medium | |
CN117289970A (en) | Method, system, equipment and storage medium for realizing upgrading of agricultural machine vehicle-mounted controller | |
JP2020057909A (en) | Transmission/reception device, transmission/reception system, and program | |
CN110990083A (en) | Method, device and equipment for configuring terminal parameters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181016 |