CN109002317A - A kind of PCBA firmware upgrade method and system, PCBA - Google Patents
A kind of PCBA firmware upgrade method and system, PCBA Download PDFInfo
- Publication number
- CN109002317A CN109002317A CN201810676945.3A CN201810676945A CN109002317A CN 109002317 A CN109002317 A CN 109002317A CN 201810676945 A CN201810676945 A CN 201810676945A CN 109002317 A CN109002317 A CN 109002317A
- Authority
- CN
- China
- Prior art keywords
- pcba
- firmware upgrade
- file data
- firmware
- backup area
- 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
-
- 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
- G06F8/656—Updates while running
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1048—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using arrangements adapted for a specific error detection or correction feature
- G06F11/1056—Updating check bits on partial write, i.e. read/modify/write
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of PCBA firmware upgrade method and system, PCBA, comprising the following steps: receives the firmware upgrade file data that server is sent;The firmware upgrade file data is stored to backup area;PCBA is restarted in reset, and detection backup area is with the presence or absence of the firmware for needing to update;When in the presence of needing the firmware updated and meeting promotion condition, the firmware upgrade file data is copied to Operational Zone from backup area, the firmware upgrade file data based on Operational Zone rewrites the configuration file of PCBA, and starts PCBA;When in the presence of needing the firmware updated but being unsatisfactory for promotion condition, PCBA is directly initiated;When there is no the firmware for needing to update, the firmware upgrade file data of backup area and Operational Zone is verified, and start PCBA after verification.PCBA firmware upgrade method of the invention and system greatly simplifie PCBA firmware upgrade operation, reduce PCBA firmware upgrade cost.
Description
Technical field
The present invention relates to the technical field of data processing, more particularly to a kind of PCBA firmware upgrade method and system,
PCBA。
Background technique
PCBA after mounting, when need to carry out it performance boost, Bug is repaired or the maintenance of addition new function etc.
When, generally use the mode of upgrading PCBA firmware.
In the prior art, the upgrade method of PCBA firmware mainly includes following two:
(1) ICP (In Circuit Programming) PCBA firmware upgrade method
This method need to equipment veneer carry out repeated disassembled and assembled, and to client provide upgrading tool, work consuming time-consuming consumptive material, and
It is easily damaged device hardware.
(2) IAP (In Application Programming) PCBA firmware upgrade method
Although this method reduces upgrading difficulty, but will appear unexpected Transmission in escalation process and upgrading is caused to be lost
Lose the case where possibly even leading to systemic breakdown.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of PCBA firmware upgrade method and
System, PCBA greatly simplifie PCBA firmware upgrade operation, reduce PCBA firmware upgrade cost, and can be avoided due to
The problem of upgrading fails and leads to systemic breakdown.
In order to achieve the above objects and other related objects, the present invention provides a kind of PCBA firmware upgrade method, including following
Step: the firmware upgrade file data that server is sent is received;The firmware upgrade file data is stored to backup area;It is multiple
PCBA is restarted in position, and detection backup area is with the presence or absence of the firmware for needing to update;When in the presence of the firmware and satisfaction upgrading item for needing to update
When part, the firmware upgrade file data is copied to Operational Zone from backup area, the firmware upgrade file data based on Operational Zone
The configuration file of PCBA is rewritten, and starts PCBA;When in the presence of needing the firmware updated but being unsatisfactory for promotion condition, directly initiate
PCBA;When there is no the firmware for needing to update, the firmware upgrade file data of backup area and Operational Zone is verified, and
Start PCBA after verification.
In one embodiment of the invention, it includes following for carrying out verification to the firmware upgrade file data of backup area and Operational Zone
Step:
Judge whether the backup area and the firmware upgrade file data of the Operational Zone are consistent;
If the backup area and the firmware upgrade file data of the Operational Zone are inconsistent, verify respectively the backup area and
The firmware upgrade file data of the Operational Zone;
When firmware upgrade file data when the Operational Zone passes through verification, by the firmware upgrade number of files of the Operational Zone
According to being copied to the backup area;When the firmware upgrade file data of the backup area passes through verification, by consolidating for the backup area
Part upgrade file data copy is to the Operational Zone.
In one embodiment of the invention, the method for calibration of the firmware upgrade file data of the backup area and the Operational Zone
The combination of a kind of including but not limited to following method of calibration or a variety of methods of calibration: cumulative summation, even-odd check method, CRC are followed
Ring redundancy check method, bcc exclusive or check method, md5 check addition and Utah Digital Signature Act.
Accordingly, the present invention provides a kind of PCBA firmware upgrade system, including receiving module, memory module, detection module,
Starting and upgrading module directly initiates mould block sum check starting module;
The receiving module is for receiving the firmware upgrade file data that server is sent;
The memory module is for storing the firmware upgrade file data to backup area;
The detection module restarts PCBA for resetting, and detection backup area is with the presence or absence of the firmware for needing to update;
The starting and upgrading module is used for when in the presence of needing the firmware updated and meeting promotion condition, by the firmware liter
Grade file data is copied to Operational Zone from backup area, and the firmware upgrade file data based on Operational Zone rewrites the configuration text of PCBA
Part, and start PCBA;
The module that directly initiates is for directly initiating when in the presence of needing the firmware updated but being unsatisfactory for promotion condition
PCBA;
The verification starting module is used for when there is no the firmware for needing to update, to the firmware liter of backup area and Operational Zone
Grade file data is verified, and starts PCBA after verification.
It is described when being verified to the firmware upgrade file data of backup area and Operational Zone in one embodiment of the invention
It verifies starting module and executes following steps:
Judge whether the backup area and the firmware upgrade file data of the Operational Zone are consistent;
If the backup area and the firmware upgrade file data of the Operational Zone are inconsistent, verify respectively the backup area and
The firmware upgrade file data of the Operational Zone;
When firmware upgrade file data when the Operational Zone passes through verification, by the firmware upgrade number of files of the Operational Zone
According to being copied to the backup area;When the firmware upgrade file data of the backup area passes through verification, by consolidating for the backup area
Part upgrade file data copy is to the Operational Zone.
In one embodiment of the invention, to the firmware liter of the backup area and the Operational Zone in the verification starting module
The method that grade file data is verified includes but is not limited to the combination of a kind of following method of calibration or a variety of methods of calibration: cumulative
Summation, even-odd check method, CRC cyclic redundancy check, bcc exclusive or check method, md5 check addition and Utah Digital Signature Act.
The present invention provides a kind of PCBA, comprising: processor and memory;
The memory is for storing computer program;
The processor is used to execute the computer program of memory storage so that the PCBA execute it is above-mentioned
PCBA firmware upgrade method.
In one embodiment of the invention, the PCBA is any integrated communication board in elevator device.
In one embodiment of the invention, the processor uses micro-control unit processor.
Finally, the present invention provides a kind of PCBA firmware upgrade system, including above-mentioned PCBA and server;
The server is for sending firmware upgrade file data to the PCBA.
In one embodiment of the invention, the PCBA and the server network and/or mobile communication by wireless communication
Network is communicated.
As described above, PCBA firmware upgrade method of the invention and system, PCBA, have the advantages that
(1) PCBA firmware upgrade operation is greatly simplified, PCBA firmware upgrade cost is reduced;
(2) even if upgrading failure, system operation is nor affected on, leads to systemic breakdown so as to avoid due to upgrading failure
The problem of;
(3) backup and verification scheme are increased, ensure that the validity of updating operation.
Detailed description of the invention
Fig. 1 is shown as the flow chart of PCBA firmware upgrade method of the invention in an embodiment;
Fig. 2 is shown as the structural schematic diagram of PCBA firmware upgrade system of the invention in an embodiment;
Fig. 3 is shown as the structural schematic diagram of PCBA of the invention in an embodiment;
Fig. 4 is shown as the structural schematic diagram of PCBA firmware upgrade system of the invention in another embodiment.
Component label instructions
21 receiving modules
22 memory modules
23 detection modules
24 starting and upgrading modules
25 directly initiate module
26 verification starting modules
31 processors
32 memories
41 PCBA
42 servers
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification
Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment
Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation
Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel
It is likely more complexity.
PCBA firmware upgrade method of the invention and system, PCBA greatly simplifie PCBA firmware upgrade operation, reduce
PCBA firmware upgrade cost, the problem of can be avoided systemic breakdown upgrading failure.
As shown in Figure 1, in an embodiment, PCBA firmware upgrade method of the invention the following steps are included:
Step S1, the firmware upgrade file data that server is sent is received.
Specifically, server sends firmware upgrade file data to PCBA according to the meeting not timing of PCBA firmware upgrade demand.
Preferably, server and PCBA pass through the wireless modes such as WiFi, 3G, 4G progress data communication.
Step S2, the firmware upgrade file data is stored to backup area.
Specifically, backup area and Operational Zone are provided in PCBA, thus realize the backup of firmware upgrade file data, with
Guarantee the validity of updating operation.
Step S3, it resets and restarts PCBA, detection backup area is with the presence or absence of the firmware for needing to update.
Specifically, control PCBA electrification reset is restarted, and detects backup area first before starting PCBA with the presence or absence of needs
The firmware of update, to judge currently whether to need to carry out firmware upgrade to PCBA.
Step S4, when in the presence of needing the firmware that updates and meeting promotion condition, by the firmware upgrade file data from
Backup area is copied to Operational Zone, and the firmware upgrade file data based on Operational Zone rewrites the configuration file of PCBA, and starts PCBA.
Specifically, when in the presence of needing the firmware that updates and meeting promotion condition, need to carry out firmware upgrade first, and
Start PCBA after upgrading.Wherein, the firmware upgrade file data is copied to Operational Zone from backup area first, is then based on fortune
The firmware upgrade file data in row area updates the configuration file of PCBA, finally starts PCBA according to updated configuration file, from
And complete the firmware upgrade of a PCBA.
Wherein promotion condition includes HardwareUpgring condition and software upgrading condition, HardwareUpgring condition include request memory,
Processor processing capacity etc., software upgrading condition include software version requirement, software type requirement etc..When the software of PCBA
When being all satisfied upgrading with hardware and requiring, judgement meets promotion condition.
Step S5, when in the presence of needing the firmware updated but being unsatisfactory for promotion condition, PCBA is directly initiated.
Specifically, when in the presence of needing the firmware updated but being unsatisfactory for promotion condition, then without executing firmware upgrade operation,
The first wife of direct basis PCBA sets file start PCBA.
Step S6, when there is no the firmware for needing to update, to the firmware upgrade file data of backup area and Operational Zone into
Row verification, and start PCBA after verification.
Specifically, when the firmware that backup area is updated there is no needs, show PCBA currently without firmware upgrade demand.This
When need the firmware upgrade file data to backup area and Operational Zone to verify, to guarantee the effective of subsequent firmware upgrade
Property, it avoids failing since file stores firmware upgrade caused by mistake.
In one embodiment of the invention, it includes following for carrying out verification to the firmware upgrade file data of backup area and Operational Zone
Step:
61) judge whether the backup area and the firmware upgrade file data of the Operational Zone are consistent.
Specifically, the firmware upgrade file data of backup area and Operational Zone is compared, judges whether the two is identical;If
It is identical, then without executing any processing.
If 62) backup area and the firmware upgrade file data of the Operational Zone are inconsistent, the backup is verified respectively
The firmware upgrade file data in area and the Operational Zone.
Specifically, it when the firmware upgrade file data of backup area and Operational Zone is not identical, needs respectively to backup area and fortune
The firmware upgrade file data in row area carries out each self checking.
In one embodiment of the invention, the method for calibration of the firmware upgrade file data of the backup area and the Operational Zone
The combination of a kind of including but not limited to following method of calibration or a variety of methods of calibration: cumulative summation, even-odd check method, CRC are followed
Ring redundancy check method, bcc exclusive or check method, md5 check addition and Utah Digital Signature Act.
63) when the firmware upgrade file data when the Operational Zone passes through verification, by the firmware upgrade text of the Operational Zone
Number of packages evidence is copied to the backup area;When the firmware upgrade file data of the backup area passes through verification, by the backup area
Firmware upgrade file data be copied to the Operational Zone.
Specifically, after the completion of verification, copy storage will be carried out by the firmware upgrade file data verified, gives up to fall verification
The firmware upgrade file data of failure, to ensure that the accuracy of firmware upgrade file data.
As shown in Fig. 2, PCBA firmware upgrade system of the invention includes receiving module 21, storage mould in an embodiment
Block 22, starting and upgrading module 24, directly initiates module 25 and verification starting module 26 at detection module 23.
Receiving module 21 is for receiving the firmware upgrade file data that server is sent.
Specifically, server sends firmware upgrade file data to PCBA according to the meeting not timing of PCBA firmware upgrade demand.
Preferably, server and PCBA pass through the wireless modes such as WiFi, 3G, 4G progress data communication.
Memory module 22 is connected with receiving module 21, for storing the firmware upgrade file data to backup area.
Specifically, backup area and Operational Zone are provided in PCBA, thus realize the backup of firmware upgrade file data, with
Guarantee the validity of updating operation.
Detection module 23 is connected with memory module 22, restarts PCBA for resetting, and detection backup area, which whether there is, to be needed more
New firmware.
Specifically, control PCBA electrification reset is restarted, and detects backup area first before starting PCBA with the presence or absence of needs
The firmware of update, to judge currently whether to need to carry out firmware upgrade to PCBA.
Starting and upgrading module 24 is connected with detection module 23, for needing the firmware that update and meeting promotion condition when existing
When, the firmware upgrade file data is copied to Operational Zone from backup area, the firmware upgrade file data based on Operational Zone changes
The configuration file of PCBA is write, and starts PCBA.
Specifically, when in the presence of needing the firmware that updates and meeting promotion condition, need to carry out firmware upgrade first, and
Start PCBA after upgrading.Wherein, the firmware upgrade file data is copied to Operational Zone from backup area first, is then based on fortune
The firmware upgrade file data in row area updates the configuration file of PCBA, finally starts PCBA according to updated configuration file, from
And complete the firmware upgrade of a PCBA.
Wherein promotion condition includes HardwareUpgring condition and software upgrading condition, HardwareUpgring condition include request memory,
Processor processing capacity etc., software upgrading condition include software version requirement, software type requirement etc..When the software of PCBA
When being all satisfied upgrading with hardware and requiring, judgement meets promotion condition.
It directly initiates module 25 to be connected with detection module 23, for needing the firmware that update but being unsatisfactory for upgrading item when existing
When part, PCBA is directly initiated.
Specifically, when in the presence of needing the firmware updated but being unsatisfactory for promotion condition, then without executing firmware upgrade operation,
The first wife of direct basis PCBA sets file start PCBA.
Verification starting module 26 be connected with detection module 23, for when be not present needs update firmware when, to backup area
It is verified with the firmware upgrade file data of Operational Zone, and starts PCBA after verification.
Specifically, when the firmware that backup area is updated there is no needs, show PCBA currently without firmware upgrade demand.This
When need the firmware upgrade file data to backup area and Operational Zone to verify, to guarantee the effective of subsequent firmware upgrade
Property, it avoids failing since file stores firmware upgrade caused by mistake.
In one embodiment of the invention, it includes following for carrying out verification to the firmware upgrade file data of backup area and Operational Zone
Step:
61) judge whether the backup area and the firmware upgrade file data of the Operational Zone are consistent.
Specifically, the firmware upgrade file data of backup area and Operational Zone is compared, judges whether the two is identical;If
It is identical, then without executing any processing.
If 62) backup area and the firmware upgrade file data of the Operational Zone are inconsistent, the backup is verified respectively
The firmware upgrade file data in area and the Operational Zone.
Specifically, it when the firmware upgrade file data of backup area and Operational Zone is not identical, needs respectively to backup area and fortune
The firmware upgrade file data in row area carries out each self checking.
In one embodiment of the invention, the method for calibration of the firmware upgrade file data of the backup area and the Operational Zone
The combination of a kind of including but not limited to following method of calibration or a variety of methods of calibration: cumulative summation, even-odd check method, CRC are followed
Ring redundancy check method, bcc exclusive or check method, md5 check addition and Utah Digital Signature Act.
63) when the firmware upgrade file data when the Operational Zone passes through verification, by the firmware upgrade text of the Operational Zone
Number of packages evidence is copied to the backup area;When the firmware upgrade file data of the backup area passes through verification, by the backup area
Firmware upgrade file data be copied to the Operational Zone.
Specifically, after the completion of verification, copy storage will be carried out by the firmware upgrade file data verified, gives up to fall verification
The firmware upgrade file data of failure, to ensure that the accuracy of firmware upgrade file data.
It should be noted that it should be understood that the modules of system above division be only a kind of logic function division,
It can completely or partially be integrated on a physical entity in actual implementation, it can also be physically separate.And these modules can be with
All realized by way of processing element calls with software;It can also all realize in the form of hardware;It can also part mould
Block realizes that part of module passes through formal implementation of hardware by way of processing element calls software.For example, x module can be
The processing element individually set up also can integrate and realize in some chip of above-mentioned apparatus, in addition it is also possible to program generation
The form of code is stored in the memory of above-mentioned apparatus, is called by some processing element of above-mentioned apparatus and is executed the above x mould
The function of block.The realization of other modules is similar therewith.Furthermore these modules completely or partially can integrate together, can also be only
It is vertical to realize.Processing element described here can be a kind of integrated circuit, the processing capacity with signal.During realization,
Each step of the above method or the above modules can be by the integrated logic circuits of the hardware in processor elements or soft
The instruction of part form is completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as:
One or more specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or,
One or more microprocessors (Digital Singnal Processor, abbreviation DSP), or, one or more scene can compile
Journey gate array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through place
When managing the form realization of element scheduler program code, which can be general processor, such as central processing unit
(Central Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules
It can integrate together, realized in the form of system on chip (System-on-a-Chip, abbreviation SOC).
As shown in figure 3, PCBA of the invention includes: processor 31 and memory 32 in an embodiment.
The memory 32 is for storing computer program.
The memory 32, which includes: that ROM, RAM, magnetic disk, USB flash disk, storage card or CD etc. are various, can store program generation
The medium of code.
The processor 31 is connected with the memory 32, the computer program stored for executing the memory 32,
So that the PCBA executes above-mentioned PCBA firmware upgrade method.
Preferably, the processor 31 can be general processor, including central processing unit (Central Processing
Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processor, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In one embodiment of the invention, the processor 31 uses micro-control unit processor.Preferably, using STM32
Processor.
In one embodiment of the invention, the PCBA is any integrated communication board in elevator device, to realize elevator
The online upgrading of control system.
As shown in figure 4, PCBA firmware upgrade system of the invention includes above-mentioned PCBA41 and service in an embodiment
Device 42.
The server 42 is for sending firmware upgrade file data to the PCBA41.
In one embodiment of the invention, the PCBA41 and the server 42 network, such as WiFi by wireless communication, or
Mobile communications network is communicated such as 3G, 4G.
In conclusion PCBA firmware upgrade method of the invention and system, PCBA greatly simplifie PCBA firmware upgrade
Operation, reduces PCBA firmware upgrade cost;Even if upgrading failure nor affects on system operation, so as to avoid due to upgrading
The problem of failing and leading to systemic breakdown;Backup and verification scheme are increased, ensure that the validity of updating operation.So this
Invention effectively overcomes various shortcoming in the prior art and has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should be covered by the claims of the present invention.
Claims (11)
1. a kind of PCBA firmware upgrade method, it is characterised in that: the following steps are included:
Receive the firmware upgrade file data that server is sent;
The firmware upgrade file data is stored to backup area;
PCBA is restarted in reset, and detection backup area is with the presence or absence of the firmware for needing to update;
When in the presence of needing the firmware updated and meeting promotion condition, the firmware upgrade file data is copied to from backup area
Operational Zone, the firmware upgrade file data based on Operational Zone rewrite the configuration file of PCBA, and start PCBA;
When in the presence of needing the firmware updated but being unsatisfactory for promotion condition, PCBA is directly initiated;
When there is no the firmware for needing to update, the firmware upgrade file data of backup area and Operational Zone is verified, and
Start PCBA after verification.
2. PCBA firmware upgrade method according to claim 1, it is characterised in that: to the firmware liter of backup area and Operational Zone
Grade file data verified the following steps are included:
Judge whether the backup area and the firmware upgrade file data of the Operational Zone are consistent;
If the backup area and the firmware upgrade file data of the Operational Zone are inconsistent, the backup area and described is verified respectively
The firmware upgrade file data of Operational Zone;
When firmware upgrade file data when the Operational Zone passes through verification, the firmware upgrade file data of the Operational Zone is copied
Shellfish is to the backup area;When the firmware upgrade file data of the backup area passes through verification, by the firmware liter of the backup area
Grade file data is copied to the Operational Zone.
3. PCBA firmware upgrade method according to claim 2, it is characterised in that: the backup area and the Operational Zone
The method of calibration of firmware upgrade file data includes but is not limited to the combination of a kind of following method of calibration or a variety of methods of calibration: tired
Add summation, even-odd check method, CRC cyclic redundancy check, bcc exclusive or check method, md5 check addition and Utah Digital Signature Act.
4. a kind of PCBA firmware upgrade system, it is characterised in that: including receiving module, memory module, detection module, starting and upgrading
Module directly initiates mould block sum check starting module;
The receiving module is for receiving the firmware upgrade file data that server is sent;
The memory module is for storing the firmware upgrade file data to backup area;
The detection module restarts PCBA for resetting, and detection backup area is with the presence or absence of the firmware for needing to update;
The starting and upgrading module is used for when in the presence of needing the firmware updated and meeting promotion condition, by the firmware upgrade text
For number of packages according to Operational Zone is copied to from backup area, the firmware upgrade file data based on Operational Zone rewrites the configuration file of PCBA, and
Start PCBA;
The module that directly initiates is for directly initiating PCBA when in the presence of needing the firmware updated but being unsatisfactory for promotion condition;
The verification starting module is used for when there is no the firmware for needing to update, to the firmware upgrade text of backup area and Operational Zone
Number of packages starts PCBA after verification according to being verified.
5. PCBA firmware upgrade system according to claim 4, it is characterised in that: to the firmware liter of backup area and Operational Zone
When grade file data is verified, the verification starting module executes following steps:
Judge whether the backup area and the firmware upgrade file data of the Operational Zone are consistent;
If the backup area and the firmware upgrade file data of the Operational Zone are inconsistent, the backup area and described is verified respectively
The firmware upgrade file data of Operational Zone;
When firmware upgrade file data when the Operational Zone passes through verification, the firmware upgrade file data of the Operational Zone is copied
Shellfish is to the backup area;When the firmware upgrade file data of the backup area passes through verification, by the firmware liter of the backup area
Grade file data is copied to the Operational Zone.
6. PCBA firmware upgrade system according to claim 5, it is characterised in that: the verification starting module is to described standby
The method that the firmware upgrade file data of part area and the Operational Zone is verified includes but is not limited to a kind of following method of calibration
Or the combination of a variety of methods of calibration: cumulative summation, even-odd check method, CRC cyclic redundancy check, bcc exclusive or check method,
Md5 check addition and Utah Digital Signature Act.
7. a kind of PCBA characterized by comprising processor and memory;
The memory is for storing computer program;
The processor is used to execute the computer program of the memory storage, so that the PCBA perform claim requires 1 to 3
Any one of described in PCBA firmware upgrade method.
8. PCBA according to claim 7, it is characterised in that: the PCBA is any integrated communication in elevator device
Plate.
9. PCBA according to claim 7, it is characterised in that: the processor uses micro-control unit processor.
10. a kind of PCBA firmware upgrade system, it is characterised in that: including PCBA and server described in one of claim 7-9;
The server is for sending firmware upgrade file data to the PCBA.
11. PCBA firmware upgrade system according to claim 10, it is characterised in that: the PCBA and the server are logical
It crosses cordless communication network and/or mobile communications network is communicated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810676945.3A CN109002317B (en) | 2018-06-27 | 2018-06-27 | PCBA firmware upgrading method and system and PCBA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810676945.3A CN109002317B (en) | 2018-06-27 | 2018-06-27 | PCBA firmware upgrading method and system and PCBA |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109002317A true CN109002317A (en) | 2018-12-14 |
CN109002317B CN109002317B (en) | 2022-01-18 |
Family
ID=64600216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810676945.3A Active CN109002317B (en) | 2018-06-27 | 2018-06-27 | PCBA firmware upgrading method and system and PCBA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109002317B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716723A (en) * | 2019-09-25 | 2020-01-21 | 天津华来科技有限公司 | Firmware upgrading method and system |
CN113495746A (en) * | 2021-05-31 | 2021-10-12 | 杭州华橙软件技术有限公司 | Program upgrading method, device, medium and electronic equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101004691A (en) * | 2007-01-23 | 2007-07-25 | 北京映翰通网络技术有限公司 | Method and device for updating firmware program |
CN101425018A (en) * | 2008-12-05 | 2009-05-06 | 深圳创维数字技术股份有限公司 | Embedded firmware upgrading method and device based on sectional form |
CN103455354A (en) * | 2013-09-06 | 2013-12-18 | 南京南自信息技术有限公司 | Method and equipment for preventing hardware update from failing |
WO2014161339A1 (en) * | 2013-08-12 | 2014-10-09 | 中兴通讯股份有限公司 | Firmware upgrade method and device |
CN104461654A (en) * | 2014-12-27 | 2015-03-25 | 西安大唐电信有限公司 | OBD equipment function unit and firmware classification optional upgrading method |
CN104484200A (en) * | 2014-12-09 | 2015-04-01 | 小米科技有限责任公司 | Method and device for updating firmware |
CN105740034A (en) * | 2016-04-13 | 2016-07-06 | 深圳市高巨创新科技开发有限公司 | System and method for upgrading firmware of MCU on line |
CN105912356A (en) * | 2016-03-31 | 2016-08-31 | 武汉光迅科技股份有限公司 | Optical module firmware program online upgrade method supporting version fallback |
US20160291967A1 (en) * | 2015-03-30 | 2016-10-06 | Konica Minolta Laboratory U.S.A., Inc. | Method and system for updating firmware |
CN106569847A (en) * | 2016-10-14 | 2017-04-19 | 数源科技股份有限公司 | Method for realizing IAP remote upgrade through vehicle-mounted system based on mobile network |
US20170322790A1 (en) * | 2016-05-04 | 2017-11-09 | Oleksii Surdu | Reliable and Secure Firmware Update with a Dynamic Validation for Internet of Things (IoT) Devices |
CN107453925A (en) * | 2017-09-21 | 2017-12-08 | 山东康威通信技术股份有限公司 | Remote firmware updating method and cloud platform based on multistage communication platform |
CN107608705A (en) * | 2017-09-29 | 2018-01-19 | 深圳市瑞科慧联科技有限公司 | A kind of wireless WIFI video equipments and its firmware upgrade method |
CN107908496A (en) * | 2017-11-21 | 2018-04-13 | 东峡大通(北京)管理咨询有限公司 | For the method and MCU recovered automatically after the error of MCU firmwares |
-
2018
- 2018-06-27 CN CN201810676945.3A patent/CN109002317B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101004691A (en) * | 2007-01-23 | 2007-07-25 | 北京映翰通网络技术有限公司 | Method and device for updating firmware program |
CN101425018A (en) * | 2008-12-05 | 2009-05-06 | 深圳创维数字技术股份有限公司 | Embedded firmware upgrading method and device based on sectional form |
WO2014161339A1 (en) * | 2013-08-12 | 2014-10-09 | 中兴通讯股份有限公司 | Firmware upgrade method and device |
CN103455354A (en) * | 2013-09-06 | 2013-12-18 | 南京南自信息技术有限公司 | Method and equipment for preventing hardware update from failing |
CN104484200A (en) * | 2014-12-09 | 2015-04-01 | 小米科技有限责任公司 | Method and device for updating firmware |
CN104461654A (en) * | 2014-12-27 | 2015-03-25 | 西安大唐电信有限公司 | OBD equipment function unit and firmware classification optional upgrading method |
US20160291967A1 (en) * | 2015-03-30 | 2016-10-06 | Konica Minolta Laboratory U.S.A., Inc. | Method and system for updating firmware |
CN105912356A (en) * | 2016-03-31 | 2016-08-31 | 武汉光迅科技股份有限公司 | Optical module firmware program online upgrade method supporting version fallback |
CN105740034A (en) * | 2016-04-13 | 2016-07-06 | 深圳市高巨创新科技开发有限公司 | System and method for upgrading firmware of MCU on line |
US20170322790A1 (en) * | 2016-05-04 | 2017-11-09 | Oleksii Surdu | Reliable and Secure Firmware Update with a Dynamic Validation for Internet of Things (IoT) Devices |
CN106569847A (en) * | 2016-10-14 | 2017-04-19 | 数源科技股份有限公司 | Method for realizing IAP remote upgrade through vehicle-mounted system based on mobile network |
CN107453925A (en) * | 2017-09-21 | 2017-12-08 | 山东康威通信技术股份有限公司 | Remote firmware updating method and cloud platform based on multistage communication platform |
CN107608705A (en) * | 2017-09-29 | 2018-01-19 | 深圳市瑞科慧联科技有限公司 | A kind of wireless WIFI video equipments and its firmware upgrade method |
CN107908496A (en) * | 2017-11-21 | 2018-04-13 | 东峡大通(北京)管理咨询有限公司 | For the method and MCU recovered automatically after the error of MCU firmwares |
Non-Patent Citations (2)
Title |
---|
NABIL EL BELGHITI ALAOUI 等: "New testing approach using near electromagnetic field probing intending to upgrade in-circuit testing of high density PCBAs", 《IEEE》 * |
朱琼: "基于嵌入式移动智能终端固件升级系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110716723A (en) * | 2019-09-25 | 2020-01-21 | 天津华来科技有限公司 | Firmware upgrading method and system |
CN113495746A (en) * | 2021-05-31 | 2021-10-12 | 杭州华橙软件技术有限公司 | Program upgrading method, device, medium and electronic equipment |
CN113495746B (en) * | 2021-05-31 | 2024-02-02 | 杭州华橙软件技术有限公司 | Program upgrading method, device, medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109002317B (en) | 2022-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017067448A1 (en) | Firmware-over-the-air upgrade method, system and computer storage medium | |
CN102147747B (en) | The system and method for the upgrading path strengthened | |
CN104572206A (en) | Application program self updating and backup recovery method | |
WO2016058350A1 (en) | Base station software version management method and device | |
US20110283274A1 (en) | Firmware image update and management | |
US20110320794A1 (en) | Flash System And Method For Updating The Flash System | |
CN109558160A (en) | Upgrade method, embedded system | |
CN104978253A (en) | Target file checking method and apparatus | |
CN108182078B (en) | Optimized missile-borne device non-dismantling software online upgrading method | |
CN111813428A (en) | Method and device for upgrading terminal firmware, electronic equipment and storage medium | |
CN102004657B (en) | A kind of electronic equipment and upgrade method thereof | |
WO2016078263A1 (en) | Upgrading control device and terminal, terminal upgrading method and system, and storage medium | |
WO2022188690A1 (en) | Method and apparatus for upgrading electronic device | |
CN114281394A (en) | Method, system, equipment and medium for fast on-line upgrading program | |
CN109002317A (en) | A kind of PCBA firmware upgrade method and system, PCBA | |
CN102981872A (en) | Start-up and upgrade method of terminal equipment and terminal equipment | |
US20130080751A1 (en) | Method and device for updating bios program for computer system | |
WO2022156277A1 (en) | Application program installation method and apparatus, and computing device and readable storage medium | |
CN111142922B (en) | Application program updating method, device, terminal and server | |
CN107193582B (en) | Publishing method and system | |
CN110147246A (en) | Version checking method and device, storage medium and the terminal of space download technology | |
US8689048B1 (en) | Non-logging resumable distributed cluster | |
CN109388416A (en) | A kind of plug-in unit realization method and system of application software | |
US20130167138A1 (en) | Method and apparatus for simulating installations | |
CN111338661A (en) | Method for reversely upgrading BOOT of application program and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |