CN107741855A - A kind of hardware program update method, computing device and readable storage medium storing program for executing - Google Patents

A kind of hardware program update method, computing device and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107741855A
CN107741855A CN201710791165.9A CN201710791165A CN107741855A CN 107741855 A CN107741855 A CN 107741855A CN 201710791165 A CN201710791165 A CN 201710791165A CN 107741855 A CN107741855 A CN 107741855A
Authority
CN
China
Prior art keywords
data
updated
bios
new procedures
flash
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
Application number
CN201710791165.9A
Other languages
Chinese (zh)
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.)
Guangdong Hongqin Communication Technology Co Ltd
Original Assignee
Guangdong Hongqin 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 Guangdong Hongqin Communication Technology Co Ltd filed Critical Guangdong Hongqin Communication Technology Co Ltd
Priority to CN201710791165.9A priority Critical patent/CN107741855A/en
Publication of CN107741855A publication Critical patent/CN107741855A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/66Updates of program code stored in read-only memory [ROM]

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)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of hardware program update method, computing device and readable storage medium storing program for executing, wherein method includes:Environment file in terminal operating more new procedures is to open shell shell system environments;Terminal obtains the upgrade file in more new procedures;Upgrade file is updated the data including basic input-output system BIOS and updated the data with embedded controller EC;Terminal updates the data according to BIOS, the data in the read only memory ROM of renewal storage bios program, and, updated the data according to EC, the data in the embedded flash memory e flash of renewal storage EC programs.Terminal operating more new procedures can open shell system environments, and upgrade file includes BIOS and updated the data to update the data with EC, the renewal to BIOS and EC can be realized simultaneously, so as to only need once to run the renewal that more new procedures can completes BIOS and EC.

Description

A kind of hardware program update method, computing device and readable storage medium storing program for executing
Technical field
The present invention relates to computing technique field, more particularly to a kind of hardware program update method, computing device and readable deposit Storage media.
Background technology
Basic input output system (Basic Input Output System, BIOS) is one group and is stored in terminal mainboard On a read-only storage (Read-Only Memory, ROM) in program, including most important basic input and output of terminal Self-check program and system self-triggered program etc. after program, start, are one of foundation of terminal system.Embedded controller (Embedded Controller, EC) is a kind of for performing specified independent control function and having complex process data capability Control system, such as EC in notebook computer can control built-in keybad and built-in mouse of notebook computer etc..For Embedded controller, it uses the logical program of embedded flash memory (Embedded Flash Memory, e-flash) memory storage Perform control function.
Due to the special status of BIOS and EC in the terminal so that terminal manufacturer is designing and researched and developed the process of terminal In, change or optimize for design, generally require to update BIOS and EC simultaneously.However, BIOS and EC is with each exclusive More new procedures, be updated when being updated to BIOS and EC, it is necessary to first run BIOS and EC more new procedures of one of them, And then run another more new procedures and be updated so that the renewal for BIOS and EC is excessively cumbersome.Moreover, also have The more new procedures for being likely to occur BIOS run on window (Windows) operating system, and EC more new procedures run on shell (Shell) situation of operating system, when being updated in this case to BIOS and EC, it is necessary to respectively enter two kinds it is different Operating system could be updated to BIOS and EC so that renewal operation is more cumbersome.
To sum up, it is existing to the method that BIOS and EC are updated there is it is excessively cumbersome the problem of.
The content of the invention
The present invention provides a kind of hardware program update method, computing device and readable storage medium storing program for executing, to simplify hardware journey The renewal process of sequence.
The embodiment of the present invention provides a kind of hardware program update method, including:
Environment file in terminal operating more new procedures is to open shell shell system environments;
Upgrade file in more new procedures described in the terminal acquisition;The upgrade file includes basic input output system BIOS updates the data to be updated the data with embedded controller EC;
The terminal updates the data according to the BIOS, the data in the read only memory ROM of renewal storage bios program, And updated the data according to the EC, the data in the embedded flash memory e-flash of renewal storage EC programs.
Optionally, updated the data according to the EC, the data in the embedded flash memory e-flash of renewal storage EC programs, Including:
The terminal is write with a brush dipped in Chinese ink described in EC application programming interface API renewals by being used in more new procedures described in calling Data in e-flash.
Optionally, the BIOS updates the data updates the data journal in the upgrade file with the EC;
After upgrade file in more new procedures described in the terminal acquisition, in addition to:
The data amount information that the data amount information or the EC that the terminal acquisition BIOS is updated the data update the data;
The data amount information updated the data according to the BIOS data amount informations updated the data or the EC, respectively from institute State to extract the BIOS in upgrade file and update the data and updated the data with the EC.
Optionally, the upgrade file is the file after signature is handled;
After upgrade file in more new procedures described in the terminal acquisition, in addition to:
Verify the signing messages of the upgrade file.
Optionally, updated the data according to the EC, renewal storage EC programs embedded flash memory e-flash in data it Afterwards, in addition to:
The quantity of character 0 and character 1 in the e-flash stored data is counted respectively;
When the quantity of the character 0 and character 1 is consistent with each self-corresponding estimated amount amount, confirm that the EC is updated to Work(;The estimated quantity is the character 0 and character that the EC precalculated should include when being successfully updated in e-flash stored data 1 quantity.
The embodiment of the present invention provides a kind of computing device, including:
Memory, for storing more new procedures;
Processor, for calling the more new procedures stored in the memory, performed according to more new procedures described in acquisition:
Environment file described in operation in more new procedures is to open shell shell system environments;
Upgrade file in more new procedures described in obtaining;The upgrade file updates including basic input-output system BIOS Data and embedded controller EC are updated the data;
Updated the data according to the BIOS, the data in the read only memory ROM of renewal storage bios program, and, root Updated the data according to the EC, the data in the embedded flash memory e-flash of renewal storage EC programs.
Optionally, the processor is specifically used for:
The e-flash is updated by the application programming interface API for being used to write with a brush dipped in Chinese ink EC in more new procedures described in calling In data.
Optionally, the BIOS updates the data updates the data journal in the upgrade file with the EC;
The processor is specifically used for:
Obtain the data amount information that the BIOS updates the data or the data amount information that the EC is updated the data;
The data amount information updated the data according to the BIOS data amount informations updated the data or the EC, respectively from institute State to extract the BIOS in upgrade file and update the data and updated the data with the EC.
Optionally, the processor is additionally operable to:
The quantity of character 0 and character 1 in the e-flash stored data is counted respectively;
When the quantity of the character 0 and character 1 is consistent with each self-corresponding estimated amount amount, confirm that the EC is updated to Work(;The estimated quantity is the character 0 and character that the EC precalculated should include when being successfully updated in e-flash stored data 1 quantity.
The embodiment of the present invention provides a kind of readable storage medium storing program for executing, and the readable storage medium storing program for executing is stored with more new procedures, described When more new procedures are run on computers so that the computer performs the method described in any of the above-described.
In summary, the embodiment of the present invention provides a kind of hardware program update method, computing device and readable storage medium storing program for executing, Wherein method includes:Environment file in terminal operating more new procedures is to open shell shell system environments;Terminal obtains renewal Upgrade file in program;Upgrade file updates the data including basic input-output system BIOS to be updated with embedded controller EC Data;Terminal updates the data according to BIOS, the data in the read only memory ROM of renewal storage bios program, and, according to EC Update the data, the data in the embedded flash memory e-flash of renewal storage EC programs.The BIOS and EC in shell system environments It can be carried out updating, in the hardware program update method that the embodiment of the present invention is provided, terminal operating more new procedures can Shell system environments is opened, BIOS renewals can be both carried out so as to provide one, the system ring of EC renewals can be carried out again Border, update the data and updated the data with EC moreover, upgrade file includes BIOS, the renewal to BIOS and EC can be realized simultaneously, So as to only need once to run the renewal that more new procedures can completes BIOS and EC, it is not required that system switches, and simplifies behaviour Make, reduce the quantity of more new procedures.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of hardware program update method schematic flow sheet provided in an embodiment of the present invention;
Fig. 2 is a kind of renewal program creating method schematic flow sheet provided in an embodiment of the present invention;
Fig. 3 is a kind of feasible hardware program update method schematic flow sheet provided in an embodiment of the present invention;
Fig. 4 is a kind of computing device structural representation provided in an embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
Fig. 1 is a kind of hardware program update method schematic flow sheet provided in an embodiment of the present invention, as shown in figure 1, including Following steps:
S101:Environment file in terminal operating more new procedures is to open shell shell system environments.
S102:Terminal obtains the upgrade file in more new procedures;Upgrade file includes basic input-output system BIOS more New data and embedded controller EC are updated the data.
S103:Terminal updates the data according to BIOS, the data in the read only memory ROM of renewal storage bios program, with And updated the data according to EC, the data in the embedded flash memory e-flash of renewal storage EC programs.
Data in the e-flash of EC programs only can be just updated under shell system environments, and BIOS both can be with Update, can also be updated under Windows system environments under shell system environments.There is provided in the embodiment of the present invention Hardware program update method in, renewal program includes environment file and upgrade file, and environment file is used for for terminal construction Shell systems, in S101, running environment file is to open shell systems, so that no matter which kind of operating system is terminal be Terminal the hardware program update method that be provided of the embodiment of the present invention can be used to be updated.Optionally, S101 it Before, terminal is first restarted to empty internal memory, and this is due to that operationally internal memory may have various data to terminal, this A little data may cause necessarily to influence in renewal, renewal is made a mistake.
In S102, it both can be that two parts are separate that the BIOS in upgrade file, which is updated the data and updated the data with EC, The data obtained after data or mutual Merge (fusion).Optionally, upgrade file is binary file, such as bin texts Part.
In S103, optionally, terminal is used for the application programming interface for writing with a brush dipped in Chinese ink EC by calling in more new procedures Data in (Application Programming Interface, API) renewal e-flash.
BIOS and EC can be carried out updating in shell system environments, in the hardware journey that the embodiment of the present invention is provided In sequence update method, terminal operating more new procedures can open shell system environments, can both be carried out so as to provide one BIOS updates, and can carry out the system environments of EC renewals again, is updated the data and EC renewal numbers moreover, upgrade file includes BIOS According to, the renewal to BIOS and EC can be realized simultaneously, so as to only need once to run more new procedures can complete BIOS and EC Renewal, it is not required that system switch, simplify operation, reduce the quantity of more new procedures.
In the method for the renewal hardware program that the embodiment of the present invention is provided, the upgrade file of more new procedures includes BIOS more new procedures and EC are updated the data, and optionally, the embodiment of the present invention provides a kind of way of realization of feasible upgrade file. In upgrade file, BIOS updates the data updates the data journal in upgrade file with EC.For example, BIOS is updated the data Updated the data for 100001010101, EC as 1111011001, then BIOS updates the data updates the data in upgrade file with EC Recording mode be 1000010101011111011001.Upgrade file does not simultaneously differentiate between BIOS and updated the data and updated the data with EC, But more new procedures can record that BIOS is updated the data or EC updates the data the data amount information of middle any data, precedent is refer to, this When more new procedures in will record the data volumes 12 that update the data of BIOS or EC is updated the data data volume 10.
On the basis of the upgrade file that above-described embodiment is provided, terminal obtain more new procedures in upgrade file it Afterwards, in addition to:The data amount information that the data amount information or EC that acquisition BIOS is updated the data update the data;Number is updated according to BIOS According to the data amount information that updates the data of data amount information or EC, BIOS is extracted from upgrade file respectively and is updated the data with EC more New data.Illustrated please continue to refer to precedent, terminal obtains BIOS renewals after more new procedures are obtained from more new procedures The data amount information that the data amount information or EC of data update the data, such as obtain the data volume 12 that BIOS is updated the data, then The data volume 12 updated the data according to BIOS can determine first 12 of in upgrade file 1000010101011111011001 100001010101 update the data for BIOS, and remaining is that EC is updated the data.It is of course also possible to the number updated the data according to EC Update the data, be left for EC according to latter 10 1111011001 of in the determination upgrade file of amount 10 1000010101011111011001 Be that BIOS is updated the data.By the implementation of above-mentioned upgrade file, renewal process can be accelerated, reduce more new procedures Size.
In actual use, different vendor need to carry out different renewals to hardware program, even if same manufacturer, to not Hardware program update made with the terminal of model also tends to difference, if terminal performs the renewal journey of other type terminals Sequence, it is possible to cause the mistake of terminal to update, therefore need to verify before the update and whether there is between more new procedures and terminal Correct corresponding relation.Optionally, upgrade file is the file after signature is handled, in S102 terminals obtain more new procedures Upgrade file after, in addition to:Verify the signing messages of upgrade file.Generally, the signing messages of upgrade file by Public key generation corresponding to target terminal, and terminal carries out signature verification after upgrade file is obtained using private key, it is logical in checking It is out-of-date, S103 is just performed, otherwise, stops updating and giving a warning.Pass through the above method, it is ensured that the renewal that terminal is run Correct corresponding relation between program and terminal, prevent the generation updated by mistake.
Optionally, the embodiment of the present invention also provides a kind of feasible detection method, whether to verify the data in e-flash It is correctly updated.Specifically, after S103, in addition to:The number of character 0 and character 1 in e-flash stored data is counted respectively Amount;When the quantity of character 0 and character 1 is consistent with each self-corresponding estimated amount amount, confirm that EC is updated successfully.Wherein, it is contemplated that number The character 0 and the quantity of character 1 that the EC for measuring to precalculate should include when being successfully updated in e-flash stored data, it is assumed that EC e-flash stored data after being successfully updated is 1110111000101, then estimated quantity is that character 1 is 8, and character 0 is 5. When verifying whether the data in e-flash are correctly updated after renewal, character 0 and word in e-flash stored data are directly counted The quantity of symbol 1, if the quantity of character 0 is 5, the quantity of character 1 is 8, then it is considered that the data in e-flash are correctly updated.It is real In the operating process of border, the data stored in e-flash are larger, and the verification method efficiency contrasted one by one is very low.Ordinary circumstance Under, the renewal to e-flash stored data is not in larger mistake, therefore, if 0 and 1 quantity as it is expected that as, Just it is considered that being updated successfully, conversely, just can confirm that mistake occurs in renewal.In embodiments of the present invention, by counting character 0 Verified with the quantity of character 1, verification efficiency can be greatly improved.
A kind of hardware program update method provided in an embodiment of the present invention, operation can be simplified, reduce the number of more new procedures Amount.Optionally, the more new procedures that the embodiment of the present invention is provided can be realized on the basis of BIOS application programs IBV.BIOS Application program is that one kind that Intel's BIOS independent vendors (Independent BIOS Vendor, IBV) are provided can be used for BIOS implementing procedure is updated, BIOS application programs carry shell system files and update BIOS function in itself, should in BIOS It can simplify the manufacturing process of more new procedures with more new procedures are made on the basis of program.The embodiment of the present invention provides a kind of feasible The method that more new procedures are obtained using BIOS application programs, as shown in Fig. 2 a kind of updating journey to be provided in an embodiment of the present invention Sequence generation method schematic flow sheet, as shown in Fig. 2 comprising the following steps:
S201:Change the API code in BIOS application programs.
The API code for writing with a brush dipped in Chinese ink EC is reserved with BIOS application programs, changes the API code so that, can be with when terminal updates By calling the API code to update the data in e-flash.
S202:Change configuration file.
In the configuration file platform.ini of BIOS application programs, the partial information for the API code for writing with a brush dipped in Chinese ink EC is included, Change the partial information so that BIOS application programs can both obtain BIOS and update the data, and can obtain EC again and update the data, this Sample can continues to update the data in e-flash after the data during ROM is completed in renewal.
S203:Merge simultaneously encrypts BIOS&EC bin files.
Acquisition BIOS updates the data to be updated the data with EC, and the two data of Merge are simultaneously encrypted, and obtain upgrade file BIOS& EC bin files.
S204:Packing BIOS&EC bin files, generate more new procedures.
BIOS&EC bin files are packed into BIOS application programs, the program finally obtained is institute of the embodiment of the present invention The more new procedures provided.
Corresponding, based on the more new procedures provided using above-described embodiment, the embodiment of the present invention also provides one kind can Capable hardware program update method.Fig. 3 is that a kind of feasible hardware program update method flow provided in an embodiment of the present invention is shown It is intended to, as shown in figure 3, comprising the following steps:
S301:More new procedures are opened, terminal enters shell system environments.
S302:BIOS&EC bin files are loaded, BIOS is obtained from BIOS&EC bin files and is updated the data and EC renewals Data.
S303:Erasing has the data in the ROM of bios program.
Assume that the update mode of the data in ROM and e-flash updates for cover type in the embodiment of the present invention, certainly, It can not also be wiped in other update mode.
S304:Updated the data to ROM write-ins BIOS.
S305:Wipe the data in e-flash.
S306:Updated the data to e-flash write-ins EC.
S307:Restart, all update the data comes into force.
In summary, the embodiment of the present invention provides a kind of hardware program update method, including:In terminal operating more new procedures Environment file to open shell shell system environments;Terminal obtains the upgrade file in more new procedures;Upgrade file includes base This input-output system BIOS updates the data to be updated the data with embedded controller EC;Terminal updates the data according to BIOS, renewal The data in the read only memory ROM of bios program are stored, and, updated the data according to EC, the insertion of renewal storage EC programs Data in formula flash memory e-flash.BIOS and EC can be carried out updating in shell system environments, in the embodiment of the present invention In the hardware program update method provided, terminal operating more new procedures can open shell system environments, so as to provide one It is individual both to carry out BIOS renewals, the system environments of EC renewals can be carried out again, moreover, upgrade file includes BIOS renewal numbers Updated the data according to EC, the renewal to BIOS and EC can be realized simultaneously, so as to only need once to run more new procedures can Complete BIOS and EC renewal, it is not required that system switches, and simplifies operation, reduces the quantity of more new procedures.
Based on identical technical concept, the embodiment of the present invention also provides a kind of computing device, and the computing device specifically can be with For desktop computer, portable computer, smart mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) etc..As shown in figure 4, be a kind of computing device structural representation provided in an embodiment of the present invention, the calculating Equipment can include memory 401, central processing unit 402 (Center Processing Unit, CPU), input equipment 403, Output equipment 404 etc., input equipment 403 can include keyboard, mouse, touch-screen etc., and output equipment 404 can be set including display It is standby, such as liquid crystal display (Liquid Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) Deng.
Memory 401 can include read-only storage (ROM) and random access memory (RAM), and be carried to processor 402 For the programmed instruction and data stored in memory 401.In the computing device that the embodiment of the present invention is provided:
Memory 401, for storing more new procedures;
Processor 402, for calling the more new procedures stored in memory 401, performed according to the more new procedures of acquisition:
The environment file in more new procedures is run to open shell shell system environments;
Obtain the upgrade file in more new procedures;Upgrade file including basic input-output system BIOS update the data with it is embedding Enter formula controller EC to update the data;
Updated the data according to BIOS, the data in the read only memory ROM of renewal storage bios program, and, according to EC Update the data, the data in the embedded flash memory e-flash of renewal storage EC programs.
Optionally, processor 402 is specifically used for:
By calling the application programming interface API for being used to write with a brush dipped in Chinese ink EC in more new procedures to update in the e-flash Data.
Optionally, BIOS updates the data updates the data journal in upgrade file with EC;
Processor 402 is specifically used for:
The data amount information that the data amount information or EC that acquisition BIOS is updated the data update the data;
The data amount information updated the data according to the BIOS data amount informations updated the data or EC, respectively from upgrade file Extraction BIOS updates the data to be updated the data with EC.
Optionally, processor 402 is additionally operable to:
The quantity of character 0 and character 1 in e-flash stored data is counted respectively;
When the quantity of character 0 and character 1 is consistent with each self-corresponding estimated amount amount, confirm that EC is updated successfully;Estimated amount The character 0 and the quantity of character 1 that the EC for measuring to precalculate should include when being successfully updated in e-flash stored data.
Based on identical technical concept, the embodiment of the present invention also provide a kind of readable storage medium storing program for executing by be stored as it is above-mentioned based on The computer program instructions used in equipment are calculated, it, which is included, is used to perform the more new procedures described in any of the above-described.
The computer-readable storage medium can be any usable medium or data storage device that computer can access, bag Include but be not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.), optical memory (such as CD, DVD, BD, HVD etc.) and semiconductor memory (such as it is ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid State hard disk (SSD)) etc..
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

  1. A kind of 1. hardware program update method, it is characterised in that including:
    Environment file in terminal operating more new procedures is to open shell shell system environments;
    Upgrade file in more new procedures described in the terminal acquisition;The upgrade file includes basic input-output system BIOS Update the data and updated the data with embedded controller EC;
    The terminal updates the data according to the BIOS, the data in the read only memory ROM of renewal storage bios program, with And updated the data according to the EC, the data in the embedded flash memory e-flash of renewal storage EC programs.
  2. 2. the method as described in claim 1, it is characterised in that updated the data according to the EC, renewal stores the embedding of EC programs Enter the data in formula flash memory e-flash, including:
    The terminal updates the e- by being used to write with a brush dipped in Chinese ink EC application programming interface API in more new procedures described in calling Data in flash.
  3. 3. the method as described in claim 1, it is characterised in that the BIOS updates the data updates the data order note with the EC Record in upgrade file;
    After upgrade file in more new procedures described in the terminal acquisition, in addition to:
    The data amount information that the data amount information or the EC that the terminal acquisition BIOS is updated the data update the data;
    The data amount information updated the data according to the BIOS data amount informations updated the data or the EC, respectively from the liter Extract the BIOS in level file and update the data and updated the data with the EC.
  4. 4. the method as described in claim 1, it is characterised in that the upgrade file is the file after signature is handled;
    After upgrade file in more new procedures described in the terminal acquisition, in addition to:
    Verify the signing messages of the upgrade file.
  5. 5. the method as described in any one of Claims 1-4, it is characterised in that updated the data according to the EC, renewal storage EC After data in the embedded flash memory e-flash of program, in addition to:
    The quantity of character 0 and character 1 in the e-flash stored data is counted respectively;
    When the quantity of the character 0 and character 1 is consistent with each self-corresponding estimated amount amount, confirm that the EC is updated successfully;Institute State the number that estimated quantity is character 0 that the EC precalculated should include when being successfully updated in e-flash stored data and character 1 Amount.
  6. A kind of 6. computing device, it is characterised in that including:
    Memory, for storing more new procedures;
    Processor, for calling the more new procedures stored in the memory, performed according to more new procedures described in acquisition:
    Environment file described in operation in more new procedures is to open shell shell system environments;
    Upgrade file in more new procedures described in obtaining;The upgrade file updates the data including basic input-output system BIOS Updated the data with embedded controller EC;
    Updated the data according to the BIOS, the data in the read only memory ROM of renewal storage bios program, and, according to institute State EC to update the data, the data in the embedded flash memory e-flash of renewal storage EC programs.
  7. 7. computing device as claimed in claim 6, it is characterised in that the processor is specifically used for:
    Updated by the application programming interface API for being used to write with a brush dipped in Chinese ink EC in more new procedures described in calling in the e-flash Data.
  8. 8. computing device as claimed in claim 6, it is characterised in that the BIOS update the data updated the data with the EC it is suitable Sequence is recorded in the upgrade file;
    The processor is specifically used for:
    Obtain the data amount information that the BIOS updates the data or the data amount information that the EC is updated the data;
    The data amount information updated the data according to the BIOS data amount informations updated the data or the EC, respectively from the liter Extract the BIOS in level file and update the data and updated the data with the EC.
  9. 9. the computing device as described in any one of claim 6 to 8, it is characterised in that the processor is additionally operable to:
    The quantity of character 0 and character 1 in the e-flash stored data is counted respectively;
    When the quantity of the character 0 and character 1 is consistent with each self-corresponding estimated amount amount, confirm that the EC is updated successfully;Institute State the number that estimated quantity is character 0 that the EC precalculated should include when being successfully updated in e-flash stored data and character 1 Amount.
  10. 10. a kind of readable storage medium storing program for executing, it is characterised in that the readable storage medium storing program for executing is stored with more new procedures, the renewal journey When sequence is run on computers so that the computer performs the method as described in any one of claim 1 to 5.
CN201710791165.9A 2017-09-05 2017-09-05 A kind of hardware program update method, computing device and readable storage medium storing program for executing Pending CN107741855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710791165.9A CN107741855A (en) 2017-09-05 2017-09-05 A kind of hardware program update method, computing device and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710791165.9A CN107741855A (en) 2017-09-05 2017-09-05 A kind of hardware program update method, computing device and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107741855A true CN107741855A (en) 2018-02-27

Family

ID=61235274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710791165.9A Pending CN107741855A (en) 2017-09-05 2017-09-05 A kind of hardware program update method, computing device and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107741855A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196741A (en) * 2019-05-30 2019-09-03 深圳市海邻科信息技术有限公司 Method for setting basic input/output system, terminal and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040030877A1 (en) * 2002-08-06 2004-02-12 Aleksandr Frid Using system BIOS to update embedded controller firmware
CN1652080A (en) * 2004-02-07 2005-08-10 Lg电子株式会社 Apparatus and method for updating firmware
CN103729220A (en) * 2013-12-25 2014-04-16 合肥联宝信息技术有限公司 Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM
CN104461644A (en) * 2014-12-18 2015-03-25 山东超越数控电子有限公司 Method of burning EC (embedded controller) firmware in made-in-China computer platforms
CN105446751A (en) * 2014-06-27 2016-03-30 联想(北京)有限公司 Information processing method and electronic equipment
CN105740012A (en) * 2016-01-25 2016-07-06 合肥联宝信息技术有限公司 Method for updating BIOS (Basic Input Output System) program of computer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040030877A1 (en) * 2002-08-06 2004-02-12 Aleksandr Frid Using system BIOS to update embedded controller firmware
CN1652080A (en) * 2004-02-07 2005-08-10 Lg电子株式会社 Apparatus and method for updating firmware
CN103729220A (en) * 2013-12-25 2014-04-16 合肥联宝信息技术有限公司 Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM
CN105446751A (en) * 2014-06-27 2016-03-30 联想(北京)有限公司 Information processing method and electronic equipment
CN104461644A (en) * 2014-12-18 2015-03-25 山东超越数控电子有限公司 Method of burning EC (embedded controller) firmware in made-in-China computer platforms
CN105740012A (en) * 2016-01-25 2016-07-06 合肥联宝信息技术有限公司 Method for updating BIOS (Basic Input Output System) program of computer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
STEFLILIN: "联想V460&B460最新完整版BIOS&EC程序(BIOS版本2ECN36WW,EC版本2EEC10WW)", 《HTTPS://WEB.ARCHIVE.ORG/WEB/20120505023920/HTTP://IDEAPAD.IT168.COM/THREAD-1701429-1-1.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196741A (en) * 2019-05-30 2019-09-03 深圳市海邻科信息技术有限公司 Method for setting basic input/output system, terminal and computer storage medium

Similar Documents

Publication Publication Date Title
CN109783017B (en) Storage device bad block processing method and device and storage device
CN105335099A (en) Memory cleaning method and terminal
CN105718281B (en) A kind of touch screen firmware upgrade method and device
TWI423026B (en) Data writing method, memory controller and memory storage apparatus
CN104182701B (en) Array control unit, array and data processing method
CN110673789B (en) Metadata storage management method, device, equipment and storage medium of solid state disk
CN106096386A (en) Update the method and system of software
CN104461526B (en) A kind of control visiting method and device of end application
CN110795400B (en) File management method, device, equipment and medium
CN115495025B (en) Method and device for managing abnormal memory block
CN109445691A (en) A kind of method and device improving FTL algorithm development and verification efficiency
CN103455750B (en) The high peace verification method of a kind of embedded device and device
CN107943605A (en) A kind of storage card processing method and processing device
CN109614263B (en) Disaster tolerance data processing method, device and system
CN107204206A (en) A kind of electrical fuse programming method, terminal and computer-readable recording medium
CN107741855A (en) A kind of hardware program update method, computing device and readable storage medium storing program for executing
CN106354275A (en) Information input method and mobile terminal
CN108334362A (en) A kind of upgrade method of fpga chip, device and storage device
CN102073541B (en) Data access method and mobile terminal
CN114816772A (en) Debugging method, debugging system and computing device for application running based on compatible layer
CN101770396A (en) Method and device for erasing DMI data under Linux system
CN110543434B (en) NAND flash device, memory table management method, device and storage medium
CN106033321B (en) Respond read method and data transmission system
CN105550188A (en) Data file processing method and apparatus
CN109857519A (en) The processing method and relevant apparatus of virtual disk

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

Application publication date: 20180227

RJ01 Rejection of invention patent application after publication