CN102567135A - Refreshing/recovering method and electronic equipment - Google Patents

Refreshing/recovering method and electronic equipment Download PDF

Info

Publication number
CN102567135A
CN102567135A CN2010105866657A CN201010586665A CN102567135A CN 102567135 A CN102567135 A CN 102567135A CN 2010105866657 A CN2010105866657 A CN 2010105866657A CN 201010586665 A CN201010586665 A CN 201010586665A CN 102567135 A CN102567135 A CN 102567135A
Authority
CN
China
Prior art keywords
data
storage unit
control module
electronic equipment
refreshing
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
Application number
CN2010105866657A
Other languages
Chinese (zh)
Other versions
CN102567135B (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.)
Lenovo Shanghai Electronics Technology Co Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201010586665.7A priority Critical patent/CN102567135B/en
Publication of CN102567135A publication Critical patent/CN102567135A/en
Application granted granted Critical
Publication of CN102567135B publication Critical patent/CN102567135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

An embodiment of the invention discloses a refreshing/recovering method and electronic equipment. The electronic equipment comprises a first storage unit, a second storage unit and a control unit. The method includes the steps: utilizing the control unit to acquire operation instructions for instructing to refresh/recover first data; utilizing the control unit to set up data transmission paths between the control unit and the first storage unit and between the control unit and the second storage unit; and utilizing the control unit to read second data in the second storage unit, and writing the corresponding data in the second data into the first storage unit through the data transmission path to substitute for the first data, so that the first data are refreshed/recovered. By the aid of the refreshing/recovering method and the electronic equipment in the embodiment, during refreshing/recovering of initialized data, a storage tool stored with the initialized data does not need to be subjected to complicated processes such as being burned again and the like, but the data are directly read and written inside the electronic equipment, so that the refreshing/recovering process of the initialized data is more convenient, simpler and quicker.

Description

Refresh/restoration methods and a kind of electronic equipment
Technical field
The present invention relates to computer realm, more particularly, relate to a kind of refreshing/restoration methods and a kind of electronic equipment.
Background technology
In electronic equipment; In the process of general start, all can carry out the initialization of hardware, but store in the electronic equipment make its hardware carry out initialized data in a single day to be damaged; This initialization procedure just can not be proceeded; Cause electronic equipment normally not move, if will refresh or recover this initialization data, operating process is then more loaded down with trivial details.
With the computing machine is example; BIOS in the computing machine (Basic Input Output System; Be basic input/output) be the batch processing in the rom chip that is cured on the computer motherboard; Program, the system of the most important Basic Input or Output System (BIOS) of its in store computing machine are provided with information, startup self-detection program and system's self-triggered program etc., for computing machine provides the hardware setting bottom, the most basic and control.
General BIOS refreshes work; Be through USB device, CD-ROM drive, floppy drive that stores the BIOS refurbishing procedure or data file and the refurbishing procedure that passes through on network, to download BIOS; Computer starting is arrived under the corresponding operating system (like DOS, OS/2 etc.), upgrade through corresponding refresh tool afterwards.But, if,, then can't computer guiding be arrived under the corresponding operating system, and then can't accomplish refreshing of BIOS like user's mistake, power interruption or software fault etc. in case the BIOS data are destroyed.
Run into the ruined situation of BIOS data; If will continue to realize the refresh activity of BIOS or recover existing BIOS data; Generally just can only the BIOS chip be taken off in the prior art, be placed on the cd-rom recorder again the BIOS data of existing BIOS data of typing or renewal, operating process is loaded down with trivial details.
Summary of the invention
The embodiment of the invention provides a kind of and refreshes/restoration methods and a kind of electronic equipment, makes that the refreshing of initialization data/the recovery operation process is convenient, simple, quick.
For realizing above-mentioned purpose, the embodiment of the invention provides following technical scheme:
A kind of refreshing/restoration methods; This method is applied to an electronic equipment; Said electronic equipment comprises first storage unit, second storage unit and control module, when said first storage unit is used to store said electronic equipment and starts, makes first data of said electronic equipment hardware initialization; Said second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data; Said control module can establish a connection through bus and said first storage unit and second storage unit; This method comprises:
Said control module obtains the operational order that indication refreshes/recover said first data;
Said control module is set up the data transmission path between said control module and said first storage unit and second storage unit;
Said control module reads second data in said second storage unit; And corresponding data in said second data are write said first storage unit through said data transmission path; Substitute said first data, to realize refreshing/recovering of said first data.
Preferably, said control module writes said second data after said first storage unit, also comprises:
Break off the data transmission path between said control module and said first storage unit.
Preferably, said electronic equipment also comprises bus switch, is used for the bus between said control module of break-make and said first storage unit.
Preferably, set up and the process of breaking off the data transmission path between said control module and said first storage unit is specially:
Said control module sends the signal of the data transmission path of indication connection or the disconnection and first storage unit;
After said bus switch receives said signal, connect or break off the bus between said control module and said first storage unit.
Preferably, set up after the said data transmission path, carry out also comprising before the refreshing/recover of said first data:
Judge whether said first data are damaged and/or whether said first data have renewal, if, start and refresh/restore funcitons, carry out refreshing/recovering of said first data.
Preferably, said deterministic process comprises:
Said control module reads second data and first data in said first storage unit in said second storage unit;
Whether the code information of more said second data and/or version information be identical with first data, if different, then start and refresh/restore funcitons, carries out refreshing/recovering of said first data.
Preferably, said control module obtains to indicate the process of the operational order that refreshes/recover said first data to comprise:
Under said electronic equipment off-mode, trigger the hot key or the function key that are provided with in advance, send indication and start and refresh/operational order of restore funcitons.
Preferably, said control module reads before second data in said second storage unit, also comprises:
End said control module except that other treatment scheme that refreshes/recover moving.
The embodiment of the invention also discloses a kind of electronic equipment, comprising:
First storage unit when being used to store said electronic equipment and starting, makes first data of said electronic equipment hardware initialization;
Second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data;
Control module; After being used to obtain to indicate the operational order that refreshes/recover said first data; Data transmission path between foundation and said first storage unit and second storage unit, and read second data in said second storage unit, through said data transmission path corresponding data in said second data are write said first storage unit; Substitute said first data, to realize refreshing/recovering of said first data.
Preferably, said electronic equipment also comprises;
Bus switch is used for the bus between said control module of break-make and said first storage unit.
Preferably, said control module comprises:
The command reception unit is used to receive the operational order that indication refreshes/recover said first data;
Read-write cell is used to read said first data and/or second data, and said second data are write said first storage unit;
Transmitting element is used to send indication and connects or break off and the signal of the data transmission path of first storage unit.
Preferably, said control module also comprises:
Abort unit is used for behind the data transmission channel of having set up said control module and said first storage unit and second storage unit, ends other treatment scheme except that refreshing/recover action in the said control module.
The embodiment of the invention also discloses a kind of refreshing/restoration methods; This method is applied to an electronic equipment; Said electronic equipment comprises first storage unit, second storage unit and control module; When said first storage unit is used to store said electronic equipment and starts, make first data of said electronic equipment hardware initialization; Said second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data; Said control module can link to each other with second storage unit with said first storage unit through bus; This method comprises:
Before said electronic equipment carries out hardware initialization according to said first data, obtain the operational order that indication refreshes/recover said first data;
Set up the data transmission path between said control module and said first storage unit and second storage unit;
Said control module reads second data in said second storage unit; And corresponding data in said second data are write said first storage unit through said data transmission path; Substitute said first data, to realize refreshing/recovering of said first data.
Can find out from above-mentioned technical scheme; The embodiment of the invention is through having increased the control module and second storage unit in electronic equipment; At least comprise intact initialization data in second storage unit; Afterwards through setting up the data transmission channel between control module and said first storage unit and second storage unit; And then can initialization data intact in second storage unit be write in first storage unit, reach impaired first data that maybe need upgrade in alternative first storage unit, thereby accomplished refreshing/rejuvenation of initialization data.
The embodiment of the invention is in carrying out the refreshing of initialization data/rejuvenation; Need not the storage tool that stores initialization data is carried out the process of complicacies such as burning again; Get final product but directly carry out data write by electronic equipment internal, the refreshing of initialization data/rejuvenation is convenient, simple, quick thereby make.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of the embodiment of the invention one disclosed a kind of refreshing/restoration methods;
Fig. 2 is the structural drawing of the embodiment of the invention one disclosed computing machine;
Fig. 3 is the process flow diagram of the embodiment of the invention two disclosed a kind of refreshing/restoration methods;
Fig. 4 is the process flow diagram of the embodiment of the invention three disclosed a kind of refreshing/restoration methods;
Fig. 5 is the process flow diagram of the embodiment of the invention three disclosed a kind of refreshing/restoration methods;
Fig. 6 is the process flow diagram of the embodiment of the invention four disclosed a kind of refreshing/restoration methods;
Fig. 7 refreshes for the embodiment of the invention four disclosed BIOS/process flow diagram of restoration methods;
Fig. 8 is the structural drawing of the embodiment of the invention five disclosed electronic equipments;
Fig. 9 is the process flow diagram of the embodiment of the invention six disclosed a kind of refreshing/restoration methods.
Embodiment
The embodiment of the invention discloses a kind of refreshing/restoration methods and a kind of electronic equipment; Through in electronic equipment, having increased control module and having comprised second storage unit of intact initialization data at least; Afterwards through setting up the data transmission channel between control module and said first storage unit and second storage unit; And then can initialization data intact in second storage unit be write in first storage unit; Reach and substitute the impaired original initialization data that maybe need upgrade in first storage unit; This process need not the storage tool that stores initialization data is carried out complicated process such as burning again, gets final product but directly carry out data write by electronic equipment internal, and the refreshing of initialization data/rejuvenation is convenient, simple, quick thereby make.
Below in conjunction with accompanying drawing the embodiment of the invention is described further; Need to prove; Each embodiment adopts the mode of going forward one by one to describe in this instructions; What each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part is partly explained referring to method and is got final product.
Embodiment one
Present embodiment is disclosed to be refreshed/and the process flow diagram of restoration methods is as shown in Figure 1; This method is applied to an electronic equipment; Said electronic equipment comprises first storage unit, second storage unit and control module; When said first storage unit is used to store said electronic equipment and starts, make first data of said electronic equipment hardware initialization; Said second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data; Said control module can establish a connection through bus and said first storage unit and second storage unit;
This method may further comprise the steps:
Step S101: said control module obtains the operational order that indication refreshes/recover said first data;
Wherein, Said control module obtains the mode of said operational order and can instruct for initiatively obtaining aforesaid operations; Also can be passive reception external information, thereby obtain said operational order, not do concrete qualification in the obtain manner present embodiment to the aforesaid operations instruction.
Need to prove; Control module described in the present embodiment can be embedded controller EC; Also can be the controller of various ways such as single-chip microprocessor MCU; This control module mainly through receiving the operational order that indication refreshes/recover said first data, through variety of way, carries out read-write operation etc. to said first storage unit and second storage unit.
In fact; In the hardware setting of electronic equipment; This control module can also can make it have the function of embodiment of the invention control module for existing hardware in the electronic equipment is improved accordingly for hardware module newly-increased in electronic equipment; Concrete mode is decided according to the electronic equipment actual conditions, repeats no more here.
Step S102: set up the data transmission path between said control module and said first storage unit and second storage unit;
Wherein, the mode of setting up the data transmission path between the three has a lot, in the present embodiment only to describe through the bus ways of connecting.And the control module in the present embodiment can keep connection status with second storage unit always, also can in needs, connect, and specifically selects which kind of connection status, depends on that the hardware of second storage unit is selected; In theory, the connection status of the control module and first storage unit also is so, but actual connection situation also need combine the actual conditions of electronic equipment to confirm its connected mode.
Step S103: said control module reads second data in said second storage unit; And corresponding data in said second data are write said first storage unit through said data transmission path; Substitute said first data, to realize refreshing/recovering of said first data.
Wherein, First data in said first storage unit can be the data of impaired initialize routine; Also can be data to be updated; Second data in said second storage unit will comprise at least one association in intact first data and the first updating data version at least, so just can guarantee first data of recovering impaired, also can comprise multinomial data in certain second data; Can be according to user's demand, selectively said first data are refreshed or recover.
And; The initialization data that second data in said second storage unit just set in the time of can dispatching from the factory for electronic equipment; Also can carry out real-time renewal to said second data by the user; Also can deposit in said second storage unit, not do concrete restriction here by the initialization data with up-to-date of electronic equipment self through network real-time.
Adopt the refreshing of present embodiment/when restoration methods is recovered or refreshed at the initialization data to electronic equipment; Because said second storage unit has been the hardware that electronic equipment carries; Therefore do not need to install again external devices such as CD-ROM drive or floppy disk, can be directly the initialization data of electronic equipment be refreshed, and when first corrupted data in first storage unit; Only needing to start this refreshes/restore funcitons; Set up the data transmission channel between the control module and first storage unit and second storage unit,, can realize the recovery of first data in first storage unit through the read-write operation of electronic equipment internal hardware; And do not need first storage unit is carried out complicated process such as burning again, the refreshing of initialization data/rejuvenation is convenient, simple, quick thereby make.
The basic thought that the embodiment of the invention has been described is more than described, below with the bios program of computing machine refresh/revert to example, the method for the embodiment of the invention is elaborated.
In computing machine; First storage unit is BIOS chip (like BIOS Flash), and first data are bios program, store bios program in the BIOS chip; Also store bios program in the present embodiment in second storage unit; Under normal circumstances, the BIOS chip generally is connected with the south bridge ICH or the PCH of computing machine through spi bus, and PCH or ICH link to each other with the CPU of computing machine through north bridge.
Under the normal condition, when start, bios program carries out power-on self-test (Power On Self Test to each equipment of computer-internal; Be called for short POST); After the POST process is accomplished, the hardware of computing machine is carried out initialization, and be directed to DOS or other operating system; Thereby accomplish the startup of computing machine, afterwards by each item function of operating system control computer.If because of some reason bios program is damaged, then can't accomplish processes such as power-on self-test, initialization, boot, in each process, make a mistake, computing machine all can be reported to the police by different way.
Be example with the control module for embedded controller EC below; Explain that running into bios program in the present embodiment damages or need the processing mode under the refresh case; At this moment, second storage unit can be ECFlash on hardware, and the structure of each unit of computing machine in the present embodiment is as shown in Figure 2.
When the BIOS damage maybe need refresh, system sent and indicates the operational order that refreshes/recover bios program to give EC, and EC obtains after this operational order; Link to each other with EC Flash with the BIOS chip through spi bus or other channel, break off being connected of BIOS chip and PCH or ICH simultaneously, carry out smoothly to guarantee follow-up work to avoid disturbing; And then EC that sets up and the data transmission path between BIOS chip and EC Flash, wherein, EC can be connected with PCH or ICH through the LPC interface; To carry out other work; EC reads BIOS stored program among the EC Flash afterwards, and through the data transmission path between the three, the bios program among the EC Flash is write the BIOS chip; Substituting original bios program in the BIOS chip, thereby accomplished refreshing or recovering of original bios program in the BIOS chip.
Need to prove; The producing method that indication refreshes/recover the operational order of bios program has multiple; Can be in start process; In the time of can't carrying out normal boot program because of the BIOS damage, system alarm also produces this operational order simultaneously, automatically this operational order is sent to EC by system afterwards; Also can be under off-mode; Triggering preset operating key by the user produces; EC obtains said operational order through monitoring said preset operating key, and off-mode described in the present embodiment is meant that the start key of computer does not start, but EC maintains the state of electricity; Also can be under open state; System obtains the information that bios program has new version through network or alternate manner; Thereby produce this operational order etc., the producing method of this operational order includes but not limited to above-mentioned three kinds of modes, and present embodiment is not done concrete restriction to this.
Wherein, the mode that is produced the operational order that refreshes/recover bios program by system automatically can be divided into two kinds of situation, and the one, under the situation that bios program damages, produce, the 2nd, need carry out more producing under the news at bios program.If the former, under the user did not know situation that bios program damaged, its producing method can be a system alarm in start process, and produces this operational order simultaneously, thereby triggers the action of EC; If the latter, the producing method of this operational order can have multiple, if in a single day system confirms that bios program has updated information, perhaps stores the bios program of renewal among the EC Flash, and then triggers refreshing of bios program.
Below only be to refresh/revert to example with the bios program in the computing machine; Method to present embodiment is illustrated; From above description, can know, under the situation that bios program damages, adopt the method for present embodiment directly to realize refreshing bios program by computing machine itself; And do not need storage tool to external world to carry out complicated operations such as burning again, and then make bios program refresh/resume work quicker, easy and effective.
It will be appreciated by those skilled in the art that; The method of present embodiment can be applicable to refreshing/recovering of computer initialization program; Also can be applied to refreshing/recovering of mobile phone, PDA or other electronic equipment initialize routine; And the hardware of said control module, first storage unit and second storage unit is selected and connected mode includes but not limited to above disclosed content, as long as dispose accordingly according to the actual conditions of different electronic equipments.
Embodiment two
Present embodiment is disclosed to be refreshed/and the process flow diagram of restoration methods is as shown in Figure 3; Present embodiment is increasing step S204 on the basis of a last embodiment: after said control module writes said first storage unit with said second data; Break off the data transmission path between said control module and said first storage unit, so that next normally carrying out of refreshing/resume work.
Still with computer BIOS program with EC and EC Flash refresh/revert to example, the course of work of present embodiment is:
When the BIOS damage maybe need refresh, system sent and indicates the operational order that refreshes/recover bios program to give EC, and EC obtains after this operational order; Link to each other with EC Flash with BIOS Flash through spi bus or other channel; Break off being connected of BIOS Flash and PCH or ICH simultaneously, thus EC that sets up and the data transmission path between BIOS Flash and EC Flash, and EC reads BIOS stored program among the EC Flash afterwards; And the bios program among the EC Flash write BIOS Flash; Substitute original bios program among the BIOS Flash, in accomplishing BIOS Flash after the refreshing or recovers of original bios program, spi bus is connected between disconnection EC and BIOS Flash; And BIOS Flash is connected with PCH or ICH through spi bus, other operation of computing machine can be carried out smoothly.
If the refreshing and recover of the bios program that under off-mode, carries out after the refreshing and recover to accomplish of bios program, broken off being connected of EC and BIOS Flash, BIOS Flash is connected with PCH or ICH, can make computing machine starting up smoothly.
In practical operation, if will realize the break-make of the bus between the control module and first storage unit, said electronic equipment also should comprise bus switch, is used for the bus between said control module of break-make and said first storage unit.
Need to prove, set up in the present embodiment and the process of breaking off the data transmission path between said control module and said first storage unit is specially:
Said control module sends the signal of the data transmission path of indication connection or the disconnection and first storage unit;
After said bus switch receives said signal, connect or break off the bus between said control module and said first storage unit.
Be example still with computing machine with EC and EC Flash; Said bus switch can be an isolation/router; EC comprises at least one SPI controller, and said SPI controller is used to send the signal that indication connects or break off the spi bus between EC and BIOS Flash, and carries out the read-write operation of EC to the bios program among the BIOS Flash; This isolation/router carries out corresponding action after receiving the signal of SPI controller transmission.
In addition, can also comprise the SPI controller of a control EC Flash among the EC, break-make between may command EC and EC Flash and EC are to the read-write operation of the bios program among the EC Flash.That is to say that EC has two SPI controllers, control EC Flash and BIOS Flash respectively,, then can adopt bus extender GPIO to realize the function of SPI controller if do not support two SPI controllers on the EC hardware.
Embodiment three
Present embodiment is disclosed to be refreshed/and the process flow diagram of restoration methods is as shown in Figure 4, and what present embodiment was different with a last embodiment is, after the data transmission path of setting up between the control module and first storage unit and second storage unit; Carry out before the refreshing/recover of said first data; Increased step S303: judge whether said first data are damaged and/or whether said first data have renewal, if get into step S304; Otherwise, get into step S305;
Step S304: start and refresh/restore funcitons; Carry out refreshing/recovering of said first data; Be that said control module reads second data in said second storage unit; And corresponding data in said second data are write said first storage unit through said data transmission path, substitute said first data, to realize refreshing/recovering of said first data;
Step S305: confirm the not damage of said first data, also do not have the version of renewal, do not carry out refreshing/recovering of first data.
Wherein, referring to Fig. 5, the deterministic process of step S303 specifically comprises:
Step S303a: said control module reads second data and first data in said first storage unit in said second storage unit;
Step S303b: whether the code information of more said second data and/or version information be identical with first data, if different, gets into step S304; Start and refresh/restore funcitons; Carry out refreshing/recovering of said first data,, then do not carry out refreshing/recovering of first data if identical.
Need to prove; Judge in the present embodiment whether said first data have the mode of renewal to carry out the mode of first data and the second data comparison through control module; Also can be through under open state; The information of system being searched for first data of storing in information and said first storage unit of first data of the latest edition that obtains from network compares, and according to comparative result, thereby whether first data that draw electronic equipment storage itself need be upgraded.
Being example with the computing machine with EC, isolation/router and EC Flash below describes the method for present embodiment.
EC receives the operational order that indication refreshes/recover bios program, and EC sends the instruction that connects the spi bus between EC and BIOS Flash to isolation/router, after isolation/router receives this instruction; Break off being connected of BIOS Flash and PCH or ICH, the spi bus at BIOS Flash place is connected with EC, simultaneously; If break off between EC and the EC Flash; Also to the two be connected, thereby set up data transmission path between EC and BIOS Flash and the EC Flash, afterwards; Control two SPI controllers of BIOS Flash and EC Flash among the EC respectively; Read the information of the bios program among BIOS Flash and the EC Flash respectively, relatively whether the code of the bios program among BIOS Flash and the EC Flash is consistent with version information, if difference; Then the bios program among the EC Flash is write among the BIOS Flash, with the bios program among the replacement BIOS Flash by EC.
Need to prove; Said process can carry out under off-mode, also can under open state, carry out, and the interface channel between EC Flash and the BIOS Flash can be set up through EC; Also can set up through alternate manner; And relatively among EC Flash and the BIOS Flash version of BIOS stored program and the work of code can do by EC, also can do, such as under open state by other hardware; These work just can be done by operating system, off-mode next do by EC proper.
In addition; If under open state; Judge the mode that whether the BIOS stored program need be upgraded among the BIOS Flash; Can also compare for information and self BIOS stored program of the bios program that will in network, search for the latest edition that obtains by operating system, if the version number that search obtains is higher than the version number of self BIOS stored program, the then any time under open state; Can the bios program of self be upgraded automatically, also can the bios program of latest edition be write among the EC Flash and back up.
Embodiment four
Present embodiment is disclosed to be refreshed/and the process flow diagram of restoration methods is as shown in Figure 6; What present embodiment was different with a last embodiment is; Obtain to indicate the mode of the operational order that refreshes/recover said first data to limit to said control module; Increased step S401: under said electronic equipment off-mode, trigger the hot key or the function key that are provided with in advance, send indication and start and refresh/operational order of restore funcitons.
Defining said refreshing/restoration methods in the present embodiment carries out under the electronic equipment off-mode; And the refreshing/recover in start process or carry out under the open state of the hardware initialization program to electronic equipment of the prior art; By contrast; The method of present embodiment is safer, can not have any impact to the operation of electronic equipment.
In addition, also increased step S402 in the present embodiment: control module waits for that the user imports indication and starts and refresh/operator password of restore funcitons;
Step S403: after treating user's input operation password, whether the operator password of judges input is correct, under the correct situation of said operator password, just carries out next step, starts refreshing/resuming work of initialize routine by control module.
The step that increases the input operation password can be avoided the user under the situation of maloperation, to trigger refreshing/recovers action, and the while has also guaranteed the security of operating.
And said control module reads before second data in said second storage unit, also comprises: step S406: control module gets into refresh mode, ends said control module except that other treatment scheme that refreshes/recover moving, and is chaotic to avoid system.
As shown in Figure 7; Be example still with computing machine with EC, isolation/router and EC Flash; Computing machine in the present embodiment is described, under off-mode, is automatically judged the state of bios program and to the refreshing/rejuvenation of bios program, detailed process may further comprise the steps:
Step S501: under the computer shutdown state, initiatively trigger in advance hot key or the function key that is provided with, send indication and start bios program and refresh/operational order of restore funcitons by the user;
Step S502:EC waits for that the user imports indication and starts bios program and refresh/operator password of restore funcitons;
Step S503: after the user imports said operator password, judge whether said operator password is correct, if get into step S504;
Step S504:EC gets into the bios program refresh mode, and that ends that EC goes out bios program refreshes/recovers other treatment scheme outside moving, and attentively carries out refreshing/recovering of bios program;
Step S505:EC sends the information that connects BIOS Flash to isolation/router;
Step S506: isolation/router disconnection BIOS Flash is connected with PCH or ICH's, through spi bus BIOS Flash is connected with EC, thereby sets up the interface channel between EC and EC Flash and the BIOS Flash;
Step S507:EC reads the bios program version number among EC Flash and the BIOS Flash respectively;
Step S508: whether the version number of judging BIOS stored program among EC Flash and the BIOS Flash is identical, if different, gets into step S509, if identical, gets into step S510;
Step S509: confirm that bios program among the BIOS Flash has the version of upgrading, the bios program among the EC Flash is write among the BIOS Flash, to substitute BIOS stored program among the BIOS Flash through EC;
Step S510: read BIOS stored program code among EC Flash and the BIOS Flash, relatively whether the BIOS stored program code is identical among EC Flash and the BIOS Flash, if different, gets into step S511, if identical, entering step S512;
Step S511: confirm that the bios program among the BIOS Flash is damaged, the bios program among the EC Flash is write among the BIOS Flash, to substitute BIOS stored program among the BIOS Flash through EC;
Step S512: confirm that the bios program among the BIOS Flash is intact, do not refresh/recover;
Step S513: accomplish the refreshing/recovers after the action of bios program, the signal that EC output indication IOS program updating is accomplished is to isolation/router;
Step S514: isolation/router interrupts being connected of spi bus between EC and BIOS Flash, and BIOSFlash is linked to each other with PCH or ICH;
Step S515:EC withdraws from the bios program refresh mode, and it is bright that the indication bios program refreshes the pilot lamp of completion, and the expression bios program refreshes/recovers and finishes, and waits for that the user starts shooting.
Above-mentioned deterministic process is to be based upon on the basis of bios program that BIOS stored program among the EC Flash comprises latest edition; This just requires under open state; In a single day system confirms to have in the network redaction of bios program; Will the bios program of this redaction be deposited among the EC Flash, at this moment just need in system, increase the controller of EC Flash, the renewal of the bios program among the control EC Flash.
Embodiment five
Embodiment is corresponding with method, and present embodiment discloses a kind of electronic equipment, and its structural drawing is as shown in Figure 8, comprises following functional unit:
First storage unit 11 when being used to store said electronic equipment and starting, makes first data of said electronic equipment hardware initialization;
Second storage unit 13 is used to store second data, comprises said first data and/or the said first updating data version in said second data;
Control module 12; After being used to obtain to indicate the operational order that refreshes/recover said first data; Data transmission path between foundation and said first storage unit and second storage unit, and read second data in said second storage unit, through said data transmission path corresponding data in said second data are write said first storage unit; Substitute said first data, to realize refreshing/recovering of said first data.
In addition, this electronic equipment also comprises, bus switch 18 is used for the bus between said control module of break-make and said first storage unit.
Wherein, said control module 12 comprises:
Command reception unit 14 is used to receive the operational order that indication refreshes/recover said first data;
Read-write cell 15 is used to read said first data and/or second data, and said second data are write said first storage unit;
Transmitting element 16 is used to send indication and connects or break off and the signal of the data transmission path of first storage unit.
Embodiment is corresponding with method, and said control module 12 also comprises:
Abort unit 17 is used for behind the data transmission channel of having set up said control module and said first storage unit and second storage unit, ends other treatment scheme except that refreshing/recover action in the said control module.
Said electronic equipment can be computing machine; Also can be mobile phone, PDA etc., when said electronic equipment was computing machine, said first data can be the bios program of computing machine; Said first storage unit can be BIOS Flash; Said control module can be various controllers such as EC, MCU, CPU, and said second storage unit can be storeies such as EC Flash, and said bus switch can be isolation/router.
If the electronic equipment in the present embodiment is a computing machine; The structure of this computing machine can be as shown in Figure 8; Comprise: hardware such as BIOS Flash, PCH or ICH, isolation/router, EC, EC Flash when carrying out the refreshing of bios program, are linked to each other with EC through spi bus by isolation/router control BIOS Flash; Set up the data transmission path between EC, BIOS Flash and EC Flash; Bios program refresh completion after, break off being connected of BIOS Flash and EC by isolation/router, BIOS Flash is passed through spi bus is connected with PCH or ICH.
Embodiment six
Present embodiment is disclosed to be refreshed/and the process flow diagram of restoration methods is as shown in Figure 8; This method is applied to an electronic equipment; Said electronic equipment comprises first storage unit, second storage unit and control module; When said first storage unit is used to store said electronic equipment and starts, make first data of said electronic equipment hardware initialization; Said second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data; Said control module can link to each other with second storage unit with said first storage unit through bus; This method comprises:
Step S601: before said electronic equipment carries out hardware initialization according to said first data, obtain the operational order that indication refreshes/recover said first data;
Step S602: set up the data transmission path between said control module and said first storage unit and second storage unit;
Step S603: said control module reads second data in said second storage unit; And corresponding data in said second data are write said first storage unit through said data transmission path; Substitute said first data, to realize refreshing/recovering of said first data.
What the method for present embodiment was different with above embodiment is; Which functional unit to electronic equipment in the present embodiment obtains to indicate the operational order that refreshes/recover said first data through which kind of mode, and which functional unit to control the process of setting up the data transmission path between said control module and said first storage unit and second storage unit by and do not do any restriction.
And the control module in the present embodiment includes but not limited to the hardware of the control module described in above each embodiment or the form of software, and the control module in the present embodiment can be hardware such as EC, MCU; Also can adopt the form of software to realize; As long as can realize the function of control module in the present embodiment, this control module can be arranged in the hardware such as EC, MCU, also can be according to the characteristics of electronic equipment itself; Be arranged in other hardware, repeat no more here.
The emphasis of the method for present embodiment is; Define and carry out the time that the electronic equipment initialization data refreshes/recovers; The time of in the present embodiment electronic equipment initialization data being refreshed/recovering is before electronic equipment carries out hardware initialization according to said first data; I.e. this operation that refreshes/recover can be carried out under the off-mode of electronic equipment, also can in start process, carry out, as long as before the electronic equipment hardware initialization; The concrete operations mode is described in detail in above method embodiment, repeats no more here.
Corresponding with above method embodiment, the method for present embodiment also can be broken off the data transmission path between said control module and said first storage unit after accomplishing the refreshing/recover of first data.
In addition; The mode that startup electronic equipment initialization data refreshes/recovers in the present embodiment can be for being started by the user; Also can be started automatically by electronic equipment, various Starting mode and operating process are described in detail in above embodiment, and cross-reference gets final product.
Need to prove that between each embodiment of the present invention, changing progressive embodiment can combine with above-mentioned a plurality of related embodiment respectively, but explanation only illustrates on the basis of a last embodiment the time.
It will be understood by those skilled in the art that and to use in many different processes and the technology any one to come expression information, message and signal.For example, the message of mentioning in the above-mentioned explanation, information can be expressed as voltage, electric current, electromagnetic wave, magnetic field or magnetic particle, light field or above combination in any.
The professional can also further recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can be directly with the software modules of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments among this paper.Therefore, the present invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (13)

1. one kind is refreshed/restoration methods; It is characterized in that; This method is applied to an electronic equipment; Said electronic equipment comprises first storage unit, second storage unit and control module, when said first storage unit is used to store said electronic equipment and starts, makes first data of said electronic equipment hardware initialization; Said second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data; Said control module can establish a connection through bus and said first storage unit and second storage unit; This method comprises:
Said control module obtains the operational order that indication refreshes/recover said first data;
Said control module is set up the data transmission path between said control module and said first storage unit and second storage unit;
Said control module reads second data in said second storage unit; And corresponding data in said second data are write said first storage unit through said data transmission path; Substitute said first data, to realize refreshing/recovering of said first data.
2. method according to claim 1 is characterized in that, said control module writes said second data after said first storage unit, also comprises:
Break off the data transmission path between said control module and said first storage unit.
3. method according to claim 2 is characterized in that said electronic equipment also comprises bus switch, is used for the bus between said control module of break-make and said first storage unit.
4. method according to claim 3 is characterized in that, sets up and the process of breaking off the data transmission path between said control module and said first storage unit is specially:
Said control module sends the signal of the data transmission path of indication connection or the disconnection and first storage unit;
After said bus switch receives said signal, connect or break off the bus between said control module and said first storage unit.
5. method according to claim 2 is characterized in that, sets up after the said data transmission path, carries out also comprising before the refreshing/recover of said first data:
Judge whether said first data are damaged and/or whether said first data have renewal, if, start and refresh/restore funcitons, carry out refreshing/recovering of said first data.
6. method according to claim 5 is characterized in that, said deterministic process comprises:
Said control module reads second data and first data in said first storage unit in said second storage unit;
Whether the code information of more said second data and/or version information be identical with first data, if different, then start and refresh/restore funcitons, carries out refreshing/recovering of said first data.
7. according to each described method of claim 1-6, it is characterized in that said control module obtains to indicate the process of the operational order that refreshes/recover said first data to comprise:
Under said electronic equipment off-mode, trigger the hot key or the function key that are provided with in advance, send indication and start and refresh/operational order of restore funcitons.
8. method according to claim 7 is characterized in that, said control module reads before second data in said second storage unit, also comprises:
End said control module except that other treatment scheme that refreshes/recover moving.
9. an electronic equipment is characterized in that, comprising:
First storage unit when being used to store said electronic equipment and starting, makes first data of said electronic equipment hardware initialization;
Second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data;
Control module; After being used to obtain to indicate the operational order that refreshes/recover said first data; Data transmission path between foundation and said first storage unit and second storage unit, and read second data in said second storage unit, through said data transmission path corresponding data in said second data are write said first storage unit; Substitute said first data, to realize refreshing/recovering of said first data.
10. electronic equipment according to claim 9 is characterized in that said electronic equipment also comprises;
Bus switch is used for the bus between said control module of break-make and said first storage unit.
11. electronic equipment according to claim 10 is characterized in that, said control module comprises:
The command reception unit is used to receive the operational order that indication refreshes/recover said first data;
Read-write cell is used to read said first data and/or second data, and said second data are write said first storage unit;
Transmitting element is used to send indication and connects or break off and the signal of the data transmission path of first storage unit.
12. electronic equipment according to claim 11 is characterized in that, said control module also comprises:
Abort unit is used for behind the data transmission channel of having set up said control module and said first storage unit and second storage unit, ends other treatment scheme except that refreshing/recover action in the said control module.
13. one kind is refreshed/restoration methods; It is characterized in that; This method is applied to an electronic equipment; Said electronic equipment comprises first storage unit, second storage unit and control module, when said first storage unit is used to store said electronic equipment and starts, makes first data of said electronic equipment hardware initialization; Said second storage unit is used to store second data, comprises said first data and/or the said first updating data version in said second data; Said control module can link to each other with second storage unit with said first storage unit through bus; This method comprises:
Before said electronic equipment carries out hardware initialization according to said first data, obtain the operational order that indication refreshes/recover said first data;
Set up the data transmission path between said control module and said first storage unit and second storage unit;
Said control module reads second data in said second storage unit; And corresponding data in said second data are write said first storage unit through said data transmission path; Substitute said first data, to realize refreshing/recovering of said first data.
CN201010586665.7A 2010-12-13 2010-12-13 Refreshing/recovering method and electronic equipment Active CN102567135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010586665.7A CN102567135B (en) 2010-12-13 2010-12-13 Refreshing/recovering method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010586665.7A CN102567135B (en) 2010-12-13 2010-12-13 Refreshing/recovering method and electronic equipment

Publications (2)

Publication Number Publication Date
CN102567135A true CN102567135A (en) 2012-07-11
CN102567135B CN102567135B (en) 2015-04-29

Family

ID=46412618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010586665.7A Active CN102567135B (en) 2010-12-13 2010-12-13 Refreshing/recovering method and electronic equipment

Country Status (1)

Country Link
CN (1) CN102567135B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577279A (en) * 2012-07-30 2014-02-12 联想(北京)有限公司 Method for recovering data parameters of communication module and electronic equipment
CN105335248A (en) * 2014-06-27 2016-02-17 联想(北京)有限公司 Information processing method and electronic equipment
CN105824666A (en) * 2016-03-14 2016-08-03 美的集团股份有限公司 Data recovery device and method
CN106125656A (en) * 2016-08-31 2016-11-16 余超 Based Intelligent Control anti-misoperation system and method thereof
CN108037942A (en) * 2017-12-06 2018-05-15 成都蓉威电子技术有限公司 A kind of self-adapting data of embedded device recovers and update method and device
CN108121562A (en) * 2017-12-25 2018-06-05 联想(北京)有限公司 Firmware version switching method, electronic equipment and BIOS chips
CN109582375A (en) * 2018-12-03 2019-04-05 郑州云海信息技术有限公司 A kind of storage system BIOS restoration methods and storage system
CN110309095A (en) * 2017-09-10 2019-10-08 苏州英贝迪电子科技有限公司 Multifunctional industrial controller mainboard
CN113778210A (en) * 2021-08-20 2021-12-10 南京嘉提信息科技有限公司 MCU-based ACPI management method, system and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030076311A1 (en) * 2001-10-19 2003-04-24 Micro-Star Int'l Co., Ltd. Computer having a display interface with two basic input/output systems
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
CN101051284A (en) * 2006-04-06 2007-10-10 威刚科技股份有限公司 Secure digital storage device and associated controller
CN101206579A (en) * 2006-12-18 2008-06-25 纬创资通股份有限公司 Computer system capable of avoiding update of basic input /output system program from failing and updating method thereof
US20100250832A1 (en) * 2009-03-30 2010-09-30 Inventec Corporation Storage service device with dual controller and backup method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030076311A1 (en) * 2001-10-19 2003-04-24 Micro-Star Int'l Co., Ltd. Computer having a display interface with two basic input/output systems
CN101051284A (en) * 2006-04-06 2007-10-10 威刚科技股份有限公司 Secure digital storage device and associated controller
CN101206579A (en) * 2006-12-18 2008-06-25 纬创资通股份有限公司 Computer system capable of avoiding update of basic input /output system program from failing and updating method thereof
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
US20100250832A1 (en) * 2009-03-30 2010-09-30 Inventec Corporation Storage service device with dual controller and backup method thereof

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577279B (en) * 2012-07-30 2016-08-17 联想(北京)有限公司 The data parameters restoration methods of a kind of communication module and electronic equipment
CN103577279A (en) * 2012-07-30 2014-02-12 联想(北京)有限公司 Method for recovering data parameters of communication module and electronic equipment
CN105335248B (en) * 2014-06-27 2018-08-31 联想(北京)有限公司 Information processing method and electronic equipment
CN105335248A (en) * 2014-06-27 2016-02-17 联想(北京)有限公司 Information processing method and electronic equipment
CN105824666A (en) * 2016-03-14 2016-08-03 美的集团股份有限公司 Data recovery device and method
CN105824666B (en) * 2016-03-14 2019-02-01 美的集团股份有限公司 Data Recapture Unit and method
CN106125656A (en) * 2016-08-31 2016-11-16 余超 Based Intelligent Control anti-misoperation system and method thereof
CN110309095A (en) * 2017-09-10 2019-10-08 苏州英贝迪电子科技有限公司 Multifunctional industrial controller mainboard
CN110309095B (en) * 2017-09-10 2021-08-06 上海必卓电子科技有限公司 Multifunctional industrial controller mainboard
CN108037942A (en) * 2017-12-06 2018-05-15 成都蓉威电子技术有限公司 A kind of self-adapting data of embedded device recovers and update method and device
CN108037942B (en) * 2017-12-06 2021-04-09 中电科蓉威电子技术有限公司 Adaptive data recovery and update method and device for embedded equipment
CN108121562A (en) * 2017-12-25 2018-06-05 联想(北京)有限公司 Firmware version switching method, electronic equipment and BIOS chips
CN108121562B (en) * 2017-12-25 2024-01-23 联想(北京)有限公司 Firmware version switching method, electronic device and BIOS chip
CN109582375A (en) * 2018-12-03 2019-04-05 郑州云海信息技术有限公司 A kind of storage system BIOS restoration methods and storage system
CN113778210A (en) * 2021-08-20 2021-12-10 南京嘉提信息科技有限公司 MCU-based ACPI management method, system and equipment
CN113778210B (en) * 2021-08-20 2023-03-10 江苏嘉擎信息技术有限公司 MCU-based ACPI management method, system and equipment

Also Published As

Publication number Publication date
CN102567135B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN102567135A (en) Refreshing/recovering method and electronic equipment
CN103136012B (en) Computer system and update method of basic input-output system thereof
CN102023908B (en) Method and device for backing up boot program
CN100517246C (en) Computer remote control method and system
US10860425B2 (en) Method for recovering basic input/output system image file of a computer system and the computer system
CN102214113B (en) Method, device and terminal for upgrading operating system
CN102880527B (en) Data recovery method of baseboard management controller
US9557791B2 (en) Computer device and method for converting working mode of universal serial bus connector of the computer device
CN103729220A (en) Method and device for restoring BIOS (basic input output system) ROM (read only memory) by aid of EC (electronically controllable) ROM
CN106873990B (en) Multi-partition guiding method under embedded system RAM damage mode
CN102339242A (en) Computer system data recovery device
CN101373433A (en) Method for updating BIOS and computer and system using the same
CN105159719A (en) Starting method and device of master basic input/output system and slave basic input/output system
JP2014115928A (en) Bios restoration control device and bios restoration control method, information processor and computer program
CN112134765A (en) WIFI (Wireless Fidelity) back-connection test method and device, test terminal and readable storage medium
WO2022048331A1 (en) Method and device for card reidentification when sim card is disconnected, computer device, and medium
US7284149B1 (en) Intermittent connection protection for external computer devices
CN112433739B (en) Firmware upgrading method
KR0182632B1 (en) Client server system performing automatic reconnection and control method thereof
CN106406903A (en) System updating method and apparatus for equipment
CN103744700A (en) System starting method and electronic device
CN100410893C (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
CN104991805A (en) Intelligent device and system disaster recovery backup control method thereof
CN103890713A (en) Apparatus and method for managing register information in a processing system
CN107643900B (en) Display and upgrading method

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160518

Address after: 201203 Shanghai Zhangjiang High Tech Park of Pudong New Area Chunxiao Road No. 289 Room 501

Patentee after: Lenovo (Shanghai) Information Technology Co., Ltd.

Address before: 100085 Beijing, Haidian District information industry base on the road No. 6

Patentee before: Lenovo (Beijing) Co., Ltd.