CN103106088B - Hardware firmware standalone upgrade system and method - Google Patents

Hardware firmware standalone upgrade system and method Download PDF

Info

Publication number
CN103106088B
CN103106088B CN201210585845.2A CN201210585845A CN103106088B CN 103106088 B CN103106088 B CN 103106088B CN 201210585845 A CN201210585845 A CN 201210585845A CN 103106088 B CN103106088 B CN 103106088B
Authority
CN
China
Prior art keywords
module
firmware
hardware
upgrade
version file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210585845.2A
Other languages
Chinese (zh)
Other versions
CN103106088A (en
Inventor
徐至强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210585845.2A priority Critical patent/CN103106088B/en
Publication of CN103106088A publication Critical patent/CN103106088A/en
Application granted granted Critical
Publication of CN103106088B publication Critical patent/CN103106088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses hardware firmware standalone upgrade system, including arranging module, analysis and processing module and performing module;Arrange module arrange file store path and start kernel module loading so as to produce upgrade node;Analysis and processing module judges that the current firmware version of hardware is the need of upgrading, then transfers firmware version file conversion process, then according to store path stores;Perform module and enter kernel access hardware by upgrade node, transfer firmware version file by upgrade node and carry out hardware firmware upgrading, and be calibrated after the upgrade, calibrate the complete reset operation that carries out afterwards, all module files produced in the deletion described hardware firmware standalone upgrade systematic procedure of operation and firmware version file.The invention also discloses hardware firmware standalone upgrade method.The hardware firmware standalone upgrade system and method for the present invention, highly versatile, it is possible to directly hardware firmware is carried out standalone upgrade, it is ensured that the stability of system and safety.

Description

Hardware firmware standalone upgrade system and method
Technical field
The present invention relates to the system and method for a kind of hardware firmware upgrading, in particular for the hardware firmware standalone upgrade system and method for mobile terminal.
Background technology
Along with large-size screen monitors smart mobile phone is more and more universal, the use of touch screen is also more and more extensive.As the one of touch screen, capacitance plate operates easily with it, good Consumer's Experience, and the concern and the parent that are subject to more and more equipment manufacturers look at.The same with all technology, capacitance plate technology is also at development, and especially as Newly Sprouted Things, capacitance plate supplier often discharges firmware and updates, and has better performance in the hope of product.Capacitance plate supplier generally provides the firmware upgrade file of meeting hex form and bin form simultaneously simultaneously.Hex formatted file could use after needing amendment system code and compiling brush machine, and bin file uses specific software just can carry out firmware upgrade after then requiring over special adapter connection touch screen.Both upgradings mode needs before there is problems in that volume production device upgrade to use temporary system file first to update system, and firmware upgrade also needs to after completing be restored back to volume production version;Or need to tear machine open, just can carry out after being connected to special connector after taking off touch screen.So, there is potential safety hazard in volume production machine renewal temporary version software on the one hand, and also ratio is relatively time-consuming relatively to update operation;Tear the machine big inefficiency of mode manpower consumption open on the one hand, and easily cause device damage.
Summary of the invention
Present invention aims to above-mentioned deficiency, it is provided that a kind of simple and safe, time saving and energy saving hardware firmware standalone upgrade system and method.
The hardware firmware standalone upgrade system of the present invention, described hardware firmware standalone upgrade system includes one and arranges module, an analysis and processing module and an execution module being connected with described analysis and processing module;The described module startup kernel module that arranges is loaded into and produces a upgrade node, arranges one simultaneously and can pass through the store path that node reads the firmware version file of user's space;Described analysis and processing module enters user's space and judges that the current firmware version of hardware is the need of upgrading, then transfer the firmware version file needed for upgrading, described firmware version file is carried out conversion process and stores according to the described store path arranging module setting;Described execution module enters kernel by upgrade node and accesses the hardware needing upgrading, then transfer firmware version file and carry out hardware firmware upgrading, and be calibrated after the upgrade, calibrate the complete reset operation that carries out afterwards, all module files produced in the deletion described hardware firmware standalone upgrade systematic procedure of operation and firmware version file.
The described module that arranges includes a firmware version file store path and arranges module and a kernel module and be loaded into and arrange module;Described kernel module is loaded into the loading arranging module startup kernel module and produces a upgrade node;The mutual reading between kernel and user's space is realized by described upgrade node;Described firmware version file store path arranges the store path that module is arranged to the firmware version file of HardwareUpgring.
Described analysis and processing module includes a judge module, a version being connected with described judge module transfers module, one transfer modular converter and the memory module being connected with described modular converter that module is connected with described version;Hardware current version of firmware is judged by described judge module the need of upgrading, obtains the first judged result or the second judged result;According to the first judged result, described version transfers module calls needs the firmware version file for upgrading, and send described modular converter to and change, described firmware version file is carried out the module file that produces in transformation process and arranges, according to described firmware version file store path, the path that module arranges and store by described modular converter by described memory module;According to the second judged result, directly log off.
Described execution module includes a reseting module, a target access module, the upgraded module being connected with described target access module and the calibration module being connected with described upgraded module;Described target access module enters kernel by upgrade node and accesses the hardware needing upgrading;Described upgraded module reads firmware version file by upgrade node and carries out hardware firmware upgrading;It is calibrated and exports the calibration receipt described reseting module of control carrying out reset operation by described calibration module after hardware firmware has been upgraded, and deletes and runs all module files and firmware version file produced in described hardware firmware standalone upgrade systematic procedure.
Described first judged result is the judged result that hardware current version of firmware needs upgrading;Described second judged result is the judged result that hardware current version of firmware need not be upgraded.
Hardware firmware standalone upgrade method, for a hardware firmware standalone upgrade system, described hardware firmware standalone upgrade method comprises the steps:
S1, entrance hardware firmware standalone upgrade system;
S2, by one arrange in module one kernel module be loaded into arrange module start kernel module be loaded into and generate upgrade node;
S3, arranged by a firmware version file store path arranged in module module arrange one can pass through upgrade node read firmware version file store path;
S4, judge that Current hardware firmware version is the need of upgrading by the judge module in an analysis and processing module, obtain the first judged result or the second judged result;
S5, according to the first judged result, transferring module calls by the version in described analysis and processing module needs the firmware version file for upgrading;
S6, by the modular converter converted version file in described analysis and processing module;
S7, by the memory module in described analysis and processing module according to by described firmware version file store path arrange module arrange firmware version file store path storage conversion after firmware version file;
S8, entered kernel by a target access module performed in module by upgrade node and access hardware;
S9, carry out hardware firmware upgrading by the upgraded module in described execution module;
S10, it is calibrated by the calibration module in described execution module;
S11, undertaken by the reseting module in described execution module reset operation with delete in escalation process produce module file and firmware version file;
S12, log off.
Wherein, according to the second judged result, directly log off.
Above-mentioned first judged result is the judged result that hardware current version of firmware needs upgrading;Second judged result is the judged result that hardware current version of firmware need not be upgraded.
The hardware firmware standalone upgrade system and method for the present invention, highly versatile, simple to operation, time saving and energy saving, save cost.Carry out editing upgrading without going again to call whole system version when needs carry out hardware firmware upgrading, without dismounting hardware, it is possible to directly hardware firmware is carried out standalone upgrade, do not affect original system version, it is ensured that the stability of system.Upgrade all module files and node file of deleting in escalation process afterwards, it is possible to effectively prevent the malicious access of application program from ensureing the safety of system, ensure that system research and development version file does not leak simultaneously.
Accompanying drawing explanation
Fig. 1 is the system architecture schematic diagram of the hardware firmware standalone upgrade system better embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the hardware firmware standalone upgrade method better embodiment of the present invention.
Detailed description of the invention
As it is shown in figure 1, the hardware firmware standalone upgrade system of the present invention, described hardware firmware standalone upgrade system includes one and arranges module, an analysis and processing module and an execution module being connected with described analysis and processing module;The described module startup kernel module that arranges is loaded into and produces a upgrade node, arranges one simultaneously and can pass through the store path that node reads the firmware version file of user's space;Described analysis and processing module enters user's space and judges that the current firmware version of hardware is the need of upgrading, then transfer the firmware version file needed for upgrading, described firmware version file is carried out conversion process and stores according to the described store path arranging module setting;Described execution module enters kernel by upgrade node and accesses the hardware needing upgrading, then transfer firmware version file and carry out hardware firmware upgrading, and be calibrated after the upgrade, calibrate the complete reset operation that carries out afterwards, all module files produced in the deletion described hardware firmware standalone upgrade systematic procedure of operation and firmware version file.
The described module that arranges includes a firmware version file store path and arranges module and a kernel module and be loaded into and arrange module;Described kernel module is loaded into the loading arranging module startup kernel module and produces a upgrade node;The mutual reading between kernel and user's space is realized by described upgrade node;Described firmware version file store path arranges the store path that module is arranged to the firmware version file of HardwareUpgring.
Described analysis and processing module includes a judge module, a version being connected with described judge module transfers module, one transfer modular converter and the memory module being connected with described modular converter that module is connected with described version;Hardware current version of firmware is judged by described judge module the need of upgrading, obtains the first judged result or the second judged result;According to the first judged result, described version transfers module calls needs the firmware version file for upgrading, and send described modular converter to and change, described firmware version file is carried out the module file that produces in transformation process and arranges, according to described firmware version file store path, the path that module arranges and store by described modular converter by described memory module;According to the second judged result, directly log off.
Described execution module includes a reseting module, a target access module, the upgraded module being connected with described target access module and the calibration module being connected with described upgraded module;Described target access module enters kernel by upgrade node and accesses the hardware needing upgrading;Described upgraded module reads firmware version file by upgrade node and carries out hardware firmware upgrading;It is calibrated and exports the calibration receipt described reseting module of control carrying out reset operation by described calibration module after hardware firmware has been upgraded, and deletes and runs all module files and firmware version file produced in described hardware firmware standalone upgrade systematic procedure.
Described first judged result is the judged result that hardware current version of firmware needs upgrading;Described second judged result is the judged result that hardware current version of firmware need not be upgraded.
As in figure 2 it is shown, the hardware firmware standalone upgrade method of the present invention, for a hardware firmware standalone upgrade system, described hardware firmware standalone upgrade method comprises the steps:
S1, entrance hardware firmware standalone upgrade system;
S2, by one arrange in module one kernel module be loaded into arrange module start kernel module be loaded into and generate upgrade node;
S3, arranged by a firmware version file store path arranged in module module arrange one can pass through upgrade node read firmware version file store path;
S4, judge that Current hardware firmware version is the need of upgrading by the judge module in an analysis and processing module, obtain the first judged result or the second judged result;
S5, according to the first judged result, transferring module calls by the version in described analysis and processing module needs the firmware version file for upgrading;
S6, by the modular converter converted version file in described analysis and processing module;
S7, by the memory module in described analysis and processing module according to by described firmware version file store path arrange module arrange firmware version file store path storage conversion after firmware version file;
S8, entered kernel by a target access module performed in module by upgrade node and access hardware;
S9, carry out hardware firmware upgrading by the upgraded module in described execution module;
S10, it is calibrated by the calibration module in described execution module;
S11, undertaken by the reseting module in described execution module reset operation with delete in escalation process produce module file and firmware version file;
S12, log off.
Wherein, according to the second judged result, directly log off.
Above-mentioned first judged result is the judged result that hardware current version of firmware needs upgrading;Second judged result is the judged result that hardware current version of firmware need not be upgraded.
Under optimal way, the hardware firmware standalone upgrade system of the present invention is arranged at a PC terminal, and described PC terminal needs the mobile terminal carrying out hardware firmware upgrading to be connected by a data wire and.Any one being stored in PC terminal by hardware firmware update version document is available for the position that hardware firmware standalone upgrade system accesses, then described hardware firmware standalone upgrade system stored location paths and is configured by arranging module entrance user's space, so that can pass through this firmware upgrade version file of path access.
The hardware firmware standalone upgrade system and method for the present invention, highly versatile, simple to operation, time saving and energy saving, save cost.Carry out editing upgrading without going again to call whole system version when needs carry out hardware firmware upgrading, without dismounting hardware, it is possible to directly hardware firmware is carried out standalone upgrade, do not affect original system version, it is ensured that the stability of system.Upgrade all module files and node file of deleting in escalation process afterwards, it is possible to effectively prevent the malicious access of application program from ensureing the safety of system, ensure that system research and development version file does not leak simultaneously.
The above; it is only the present invention preferably detailed description of the invention; but protection scope of the present invention is not limited thereto; any those familiar with the art is in the technical scope of present disclosure; it is equal to replacement according to technical scheme and inventive concept thereof or is changed, all should be encompassed within protection scope of the present invention.

Claims (6)

1. hardware firmware standalone upgrade system, it is characterised in that
Described hardware firmware standalone upgrade system includes one and arranges module, an analysis and processing module and an execution module being connected with described analysis and processing module;
The described module startup kernel module that arranges is loaded into and produces a upgrade node, arranges one simultaneously and can pass through the store path that node reads the firmware version file of user's space;
Described analysis and processing module enters user's space and judges that the current firmware version of hardware is the need of upgrading, then the firmware version file needed for upgrading is transferred, described firmware version file is carried out conversion process and stores according to the described store path arranging module setting, wherein, described analysis and processing module includes a judge module, a version being connected with described judge module transfers module, one transfer modular converter and the memory module being connected with described modular converter that module is connected with described version;Hardware current version of firmware is judged by described judge module the need of upgrading, obtains the first judged result or the second judged result;According to the first judged result, described version transfers module calls needs the firmware version file for upgrading, and send described modular converter to and change, described firmware version file is carried out the module file that produces in transformation process and arranges, according to described firmware version file store path, the path that module arranges and store by described modular converter by described memory module;According to the second judged result, directly log off;
Described execution module enters kernel by upgrade node and accesses the hardware needing upgrading, then transfer firmware version file and carry out hardware firmware upgrading, and be calibrated after the upgrade, calibrate the complete reset operation that carries out afterwards, all module files produced in the deletion described hardware firmware standalone upgrade systematic procedure of operation and firmware version file.
2. hardware firmware standalone upgrade system according to claim 1, it is characterised in that
The described module that arranges includes a firmware version file store path and arranges module and a kernel module and be loaded into and arrange module;
Described kernel module is loaded into the loading arranging module startup kernel module and produces a upgrade node;The mutual reading between kernel and user's space is realized by described upgrade node;
Described firmware version file store path arranges the store path that module is arranged to the firmware version file of HardwareUpgring.
3. hardware firmware standalone upgrade system according to claim 2, it is characterised in that
Described execution module includes a reseting module, a target access module, the upgraded module being connected with described target access module and the calibration module being connected with described upgraded module;
Described target access module enters kernel by upgrade node and accesses the hardware needing upgrading;Described upgraded module reads firmware version file by upgrade node and carries out hardware firmware upgrading;It is calibrated and exports the calibration receipt described reseting module of control carrying out reset operation by described calibration module after hardware firmware has been upgraded, and deletes and runs all module files and firmware version file produced in described hardware firmware standalone upgrade systematic procedure.
4. the hardware firmware standalone upgrade system according to Claims 2 or 3, it is characterised in that
Described first judged result is the judged result that hardware current version of firmware needs upgrading;
Described second judged result is the judged result that hardware current version of firmware need not be upgraded.
5. hardware firmware standalone upgrade method, for a hardware firmware standalone upgrade system, described hardware firmware standalone upgrade method comprises the steps:
Enter hardware firmware standalone upgrade system;
Arrange module startup kernel module by a kernel module loading arranged in module be loaded into and generate upgrade node;
Module is set by a firmware version file store path arranged in module a store path that can pass through upgrade node reading firmware version file is set;
Judge that Current hardware firmware version is the need of upgrading by the judge module in an analysis and processing module, obtain the first judged result or the second judged result;
According to the first judged result, transferring module calls by the version in described analysis and processing module needs the firmware version file for upgrading;According to the second judged result, directly log off;
By the modular converter converted version file in described analysis and processing module;
By the memory module in described analysis and processing module, the firmware version file after the firmware version file store path storage conversion that module is arranged is set according to by described firmware version file store path;
Entered kernel by a target access module performed in module by upgrade node and access hardware;
Hardware firmware upgrading is carried out by the upgraded module in described execution module;
It is calibrated by the calibration module in described execution module;
Reset operation is carried out to delete the module file and firmware version file produced in escalation process by the reseting module in described execution module;
Log off.
6. hardware firmware standalone upgrade method according to claim 5, it is characterised in that
Described first judged result is the judged result that hardware current version of firmware needs upgrading;
Described second judged result is the judged result that hardware current version of firmware need not be upgraded.
CN201210585845.2A 2012-12-28 2012-12-28 Hardware firmware standalone upgrade system and method Active CN103106088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210585845.2A CN103106088B (en) 2012-12-28 2012-12-28 Hardware firmware standalone upgrade system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210585845.2A CN103106088B (en) 2012-12-28 2012-12-28 Hardware firmware standalone upgrade system and method

Publications (2)

Publication Number Publication Date
CN103106088A CN103106088A (en) 2013-05-15
CN103106088B true CN103106088B (en) 2016-07-20

Family

ID=48313972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210585845.2A Active CN103106088B (en) 2012-12-28 2012-12-28 Hardware firmware standalone upgrade system and method

Country Status (1)

Country Link
CN (1) CN103106088B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104143067B (en) * 2014-08-05 2017-02-15 广东欧珀移动通信有限公司 Terminal device and implementation method of software sharing mechanism
CN105700903A (en) * 2014-11-28 2016-06-22 中兴通讯股份有限公司 User terminal upgrading method and user terminal
CN107885516A (en) * 2016-09-30 2018-04-06 环鸿电子(昆山)有限公司 Application program update method and mobile device
CN106789695B (en) * 2016-11-24 2020-04-03 杭州迪普科技股份有限公司 Message processing method and device
CN108304209B (en) * 2018-02-28 2021-01-15 联想(北京)有限公司 Firmware upgrading method and firmware upgrading system
CN112214235A (en) * 2020-10-23 2021-01-12 Oppo广东移动通信有限公司 Method and device for upgrading quick-charging firmware, mobile terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033770A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Touch screen firmware upgrading method and device for mobile terminal
CN102426529A (en) * 2011-10-26 2012-04-25 中兴通讯股份有限公司 Method, device and system for firmware update

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120109800A (en) * 2011-03-28 2012-10-09 삼성전자주식회사 Data update method based on a firmware on the air and portable device supporting the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033770A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Touch screen firmware upgrading method and device for mobile terminal
CN102426529A (en) * 2011-10-26 2012-04-25 中兴通讯股份有限公司 Method, device and system for firmware update

Also Published As

Publication number Publication date
CN103106088A (en) 2013-05-15

Similar Documents

Publication Publication Date Title
CN103106088B (en) Hardware firmware standalone upgrade system and method
CN103019779B (en) A kind of method for updating program of FPGA/DSP embedded system
CN106707848A (en) Control program organization structure of control system and download method
CN104506902B (en) A kind of method, device and mobile terminal of device compatibility
CN104166610A (en) Mobile terminal detection method and detection system
CN102866948A (en) Testing platform and testing method for embedded basic software
CN103853586A (en) Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer
CN102331777A (en) ECU (Engine Control Unit) hardware in-the-loop test board and control method thereof
CN108923957B (en) Distribution network terminal DTU fault elimination method and device and terminal equipment
CN102567054B (en) Control method of two-tower amplifier and corresponding device
CN105120483A (en) Method and system for automatically testing compatibility between intelligent card and mobile terminal
CN103593281A (en) Test system and test method
CN104267981A (en) Method and device for loading application layout on desktop
CN103186387B (en) Electronic installation and its method for updating OS
CN108563579A (en) White-box testing method, apparatus, system and storage medium
CN104679532A (en) Method and device for loading kernel module
CN102646044A (en) System and method for loading programs for multiple touch screens
CN104991806A (en) Remote firmware upgrading system and method for single-chip microcomputer program
CN110875850A (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN102081542A (en) Calibration data recovery method
CN105446767A (en) Method and system for upgrading terminal software in production test of rear installation of intelligent platform
CN107391329B (en) Method, system and storage device for testing repeated use of mobile terminal
CN103428346A (en) Mobile fixed telephone self-adaptive to LCD and LCD self-adaptation device
CN104615539A (en) Measurement parameter processing method and system
CN101299190A (en) Software upgrading method, system and built-in equipment of read-only file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180313

Granted publication date: 20160720

PP01 Preservation of patent right
PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210313

Granted publication date: 20160720

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20160720

PD01 Discharge of preservation of patent

Date of cancellation: 20240313

Granted publication date: 20160720