CN110502367A - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN110502367A
CN110502367A CN201910689559.2A CN201910689559A CN110502367A CN 110502367 A CN110502367 A CN 110502367A CN 201910689559 A CN201910689559 A CN 201910689559A CN 110502367 A CN110502367 A CN 110502367A
Authority
CN
China
Prior art keywords
data
electronic equipment
operation data
bios
backup
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
CN201910689559.2A
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN201910689559.2A priority Critical patent/CN110502367A/en
Publication of CN110502367A publication Critical patent/CN110502367A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the invention provides a kind of control method and electronic equipment, the control method includes: to determine whether electronic equipment is supported to be automatically repaired function after electronic equipment powers on;If so, determine system whether normal operation;If so, at least determining whether the system operation data is complete, accurate;If it is not, then at least updating the part system operation data using Backup Data, the Backup Data includes at least the boot block data of BIOS;It closes and restarts the system.The control method of the embodiment of the present invention can controlling electronic devices itself complete data reparation, simple to operate without the network platform or external equipment, remediation efficiency is high.

Description

A kind of control method and electronic equipment
Technical field
The present embodiments relate to smart machine field, in particular to a kind of control method and electronic equipment.
Background technique
Currently, after BIOS ROM failure, being difficult to restore automatically in electronic equipment, such as computer, need specific Reparation data archival and system, which need that moment can be run to just, can enter reparation state.For example, existing solution Include: that collocation starts TopSwap on the platform base for supporting network TopSwap, system bios are completed based on TopSwap platform Reparation;Or USB flash disk or other storaging pieces are connected, reparation is input in the system of electronic equipment with data archival, and is controlled Electronic equipment processed is based on the data and completes to repair, and last restarting equipment operate normally electronic equipment can;Again or by part area The data of block are backed up in advance in the residual memory space of BIOS, and when BIOS judges system operation failure, will back up block Data write back it is main execute in block, and then complete to repair.But in above scheme, or it is based on the network platform and realizes, It either realizes, or can just be carried out when the boot block data of BIOS is without damage phenomenon, limitation by external equipment It is larger, it is not able to satisfy the use demand of user.
Summary of the invention
The embodiment of the invention provides one kind can controlling electronic devices itself complete data reparation, it is flat without network The electronic equipment of the control method and application this method of platform or external equipment.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of control methods, comprising:
After electronic equipment powers on, determine whether electronic equipment is supported to be automatically repaired function;
If so, determine system whether normal operation;
If so, at least determining whether the system operation data is complete, accurate;
If it is not, then at least updating the part system operation data using Backup Data, the Backup Data is included at least The boot block data of BIOS;
It closes and restarts the system.
Preferably, further include:
After the electronic equipment powers on, determine if to support to be automatically repaired function;
If so, by the backup block of Backup Data write-in electronic equipment.
Preferably, whether the determining electronic equipment is supported to be automatically repaired function, if so, at least determining system operation Whether data are complete, accurately include:
BIOS at least based on the electronic equipment determines whether the electronic equipment is supported to be automatically repaired function;
If so, at least determining whether system operation data is complete, accurate by BIOS.
Preferably, the determining system operation whether normally include:
Determine whether WDT closes at preset timed intervals;
If so, determining the system normal operation.
Preferably, whether the determining system operation data is complete, accurately includes:
By checking that check sum code determines whether the system operation data is complete, accurate.
Preferably, described at least update the part system operation data and include: using Backup Data
The Backup Data is at least updated to the part system operation data;
At least determine whether the operation data that the system is updated is consistent with the corresponding part of the Backup Data;
If consistent, it is determined that update finishes and prepares to close and restart the system.
Preferably, further include:
If inconsistent, the update of the operation data is re-started.
Preferably, described at least update the part system operation data using Backup Data, closes and restart The system is completed by the controller solely set in the electronic equipment.
Preferably, further include:
After the controller determines that the electronic equipment support is automatically repaired function, it is determined whether receive platform resetting letter Number;
If so, the shut-in time of the WDT is arranged;
If the WDT is not closed within a preset time, the system is closed and based on described in Backup Data update The boot block data of BIOS.
The embodiment of the present invention provides a kind of electronic equipment simultaneously, includes at least:
BIOS determines whether electronic equipment is supported to be automatically repaired function after being configured to electricity on an electronic device, if so, Then determine whether system runs smoothness, if so, at least determining whether the system operation data is complete, accurate, if it is not, then defeated More new signal out;
Controller is configured at least update at least partly after receiving the more new signal using Backup Data The system operation data closes later and restarts the system.
Disclosure based on the above embodiment can know that the beneficial effect of the embodiment of the present invention is the control of the present embodiment Method can controlling electronic devices itself complete data reparation, without the network platform or external equipment, moreover, electronic equipment Data repair process also the boot block data in BIOS can be checked and be repaired, avoid electronic equipment because of boot block data The phenomenon that damaging and can not repairing, influence user's normal use generation, improves the usage experience of user.
Detailed description of the invention
Fig. 1 is the process topic of the control method in the embodiment of the present invention.
Fig. 2 is the flow chart of the control method in another embodiment of the present invention.
Fig. 3 is the flow chart of the control method in another embodiment of the present invention.
Fig. 4 is the flow chart of the control method in another embodiment of the present invention.
Fig. 5 is the structural block diagram of the electronic equipment in the embodiment of the present invention.
Specific embodiment
In the following, specific embodiments of the present invention are described in detail in conjunction with attached drawing, but not as the limitation of the invention.
It should be understood that various modifications can be made to disclosed embodiments.Therefore, following description should not regard To limit, and only as the example of embodiment.Those skilled in the art will expect within the scope and spirit of this Other modifications.
The attached drawing being included in the description and forms part of the description shows embodiment of the disclosure, and with it is upper What face provided is used to explain the disclosure together to substantially description and the detailed description given below to embodiment of the disclosure Principle.
It is of the invention by the description of the preferred form with reference to the accompanying drawings to the embodiment for being given as non-limiting example These and other characteristic will become apparent.
Although being also understood that invention has been described referring to some specific examples, those skilled in the art Member realizes many other equivalents of the invention in which can determine, they have feature as claimed in claim and therefore all In the protection scope defined by whereby.
When read in conjunction with the accompanying drawings, in view of following detailed description, above and other aspect, the feature and advantage of the disclosure will become It is more readily apparent.
The specific embodiment of the disclosure is described hereinafter with reference to attached drawing;It will be appreciated, however, that the disclosed embodiments are only Various ways implementation can be used in the example of the disclosure.Known and/or duplicate function and structure and be not described in detail to avoid Unnecessary or extra details makes the disclosure smudgy.Therefore, specific structural and functionality disclosed herein is thin Section is not intended to restrictions, but as just the basis of claim and representative basis be used to instructing those skilled in the art with Substantially any appropriate detailed construction diversely uses the disclosure.
This specification can be used phrase " in one embodiment ", " in another embodiment ", " in another embodiment In " or " in other embodiments ", it can be referred to one or more of the identical or different embodiment according to the disclosure.
In the following, the embodiment of the present invention is described in detail in conjunction with attached drawing.
As shown in Figure 1, the embodiment of the present invention provides a kind of control method, it is applied in electronic equipment, such as in computer Deng the control method includes:
After electronic equipment powers on, determine whether electronic equipment is supported to be automatically repaired function;
If so, whether the system of determination runs smoothness;
If so, at least determining whether system operation data is complete, accurate;
If it is not, then at least updating part system operation data using Backup Data, the Backup Data is including at least BIOS's Boot block data;
Close simultaneously restarting systems.
The control method of the embodiment of the present invention effectively controlling electronic devices can complete data reparation in initial start stage certainly, To guarantee the normal operation of electronic apparatus system.Electronic equipment in the present embodiment is in data repair process without network Platform or external equipment, moreover, can also be checked the boot block data in BIOS in the data repair process of electronic equipment And repair, the practical range of data repair function is greatly expanded, the generality data corruption problem for enabling user to encounter solves Certainly, it provides convenience for user, avoids being unable to complete system reparation because boot block data damages, influence user's normal use Phenomenon occurs.
Specifically, following the present embodiment is retouched so that electronic equipment is computer as an example for the particular content of control method It states:
There is in the system of electronic equipment backup block in the present embodiment and execute block, wherein backup block is for depositing Backup Data is put, and executes operation data of the block for storage system.Backup Data in the present embodiment passes through following steps Realize storage:
After electronic equipment powers on, determine if to support to be automatically repaired function;
If so, by the backup block of Backup Data write-in electronic equipment.
For example, in the source code for writing BIOS, after settable program is electricity on an electronic device, that is, after system electrification, It determines whether system supports BIOS's to be automatically repaired function, if supporting, the Backup Data got ready is written to above-mentioned backup In block, for subsequent update system operation data use.
And if system is not supported to be automatically repaired function, then not as, that is, do not store Backup Data in backup block, But it is carried out according to original system operation program.
Further, as shown in Fig. 2, determining whether electronic equipment is supported to be automatically repaired function in the present embodiment, if so, Then at least determine system whether process and when whether complete, accurate operation data, comprising:
At least determine whether electronic equipment is supported to be automatically repaired function based on the BIOS of electronic equipment;
If so, at least determining whether system runs smoothness by BIOS, and whether complete operation data is, accurate.
Certainly, by BIOS execute above-mentioned steps be not it is fixed, can also be by the controller that is arranged in electronic equipment, example If embedded controller executes, alternatively, can also be carried out together judging really by BIOS and controller in order to ensure the accuracy of judgement It is fixed.
Specifically, in the system operation for determining electronic equipment, whether smoothness includes: in the present embodiment
Determine whether WDT (WatchDog Timer (WDT, Watch Dog Timer)) closes at preset timed intervals;
If so, the operation of the system of determination is smooth.
The time setting operation of the WDT is completed by the controller in electronic equipment in the present embodiment, in the present embodiment Controller is preferably the lower embedded controller of energy consumption.When execution, controller can first determine that electronic equipment support is repaired automatically After multiple function (notification controller after the part can also be executed by BIOS), it is determined whether platform reset signal is received, that is, really Whether determine system currently in Reset Status, for example, user on an electronic device electric self-test when click enter key, to enter BIOS The Reset Status of data makes user that can change data manually, and electronic equipment just handles Reset Status at this time, is otherwise non-resetting shape State, that is, normal condition.When controller determines that system is currently at normal condition, then according to the closing of preset requirement setting WDT Time.When whether the system that determines runs smoothness, BIOS can be by determining whether WDT closes according to preset time, if closing Close, then normal operation, smoothness, and if be not turned off, can by BIOS notification controller close system, while waiting system close During with no treatment, system is in suspended state.
Further, when determining that system operation is smooth, i.e. after WDT timing is closed, BIOS then determines system operation data Whether completely, accurately include:
By checking that check sum code determines whether system operation data is complete, accurate.
For example, determine the check sum code and preset check sum code of operation data when current system operation, or Check sum code when last system operates normally is compared, if unanimously, can illustrate that system operation data is complete, quasi- Really, and if it is inconsistent, can illustrate that system operation data is imperfect, mistake occur, need to repair operation data.
Further, as shown in figure 3, in the renewal process for executing operation data in the present embodiment, and last closing is simultaneously The process of restarting systems is completed by above controller.The controller is at least updating part system fortune using Backup Data Include: when row data
Backup Data is at least updated into part system operation data;
At least determine whether the corresponding part for the operation data and Backup Data that system is updated is consistent;
If consistent, it is determined that update finishes and prepares to close simultaneously restarting systems;
If inconsistent, the update of operation data is re-started.
Specifically, whether for example, controller is after system enters reparation state, can first determine that has backup block in system The information table of the storage location of the Backup Data of each block in middle characterization system, if so, then can be according to the position in the information table Information and the operation data for obtaining each block, and the Backup Data of each block is re-write to the corresponding part for executing block At (unit), update is achieved the effect that with this, repairs operation data.When practical execution, controller is also or BIOS can have inspection Wrong function, that is, determine that mistake occurs in which part (unit) operation data executed in block, such as can pre-recorded storage execution Block operate normally when inside each unit data summation in backup block, after detecting check sum code exception, can lead to It crosses and compares the data summation for currently executing data summation and pre-stored corresponding part in region to determine that the part is transported Whether row data are abnormal etc., and specific implementation is not unique.Any and after determining part operation data exception, can be based on Information table and Backup Data and the operation data of the unusual part is updated.It is, when updating operation data, it can Part is only updated, can also all be updated, specifically depending on actual conditions.When controller complete after re-writing of Backup Data, In order to ensure the data of write-in are complete, accurate, controller can check the data currently re-write, that is, compare again Whether the data of write-in and corresponding Backup Data in backup block are consistent, can if consistent controller can determine that completion is repaired Control system is closed and is restarted, so that BIOS can execute start-up operation based on updated operation data.And if comparing Inconsistent, controller then re-writes the wrong data executed in block or whole operation datas, until inspection result Show that data unanimously just terminate rewrite operation.
Further, above-mentioned BIOS and controller cooperation execute in the repair process of operation data, most of operation data Reparation be carry out under boot block data in BIOS is complete and unspoiled situation, once and the boot block data occurs After exception, need first to repair the boot block data, can just continue to complete later above-mentioned operation data reparation (alternatively, Boot block data and operation data can also be repaired simultaneously).For this purpose, as shown in figure 4, control method in the present embodiment further include:
After controller determines that electronic equipment support is automatically repaired function, it is determined whether receive platform reset signal;
If so, the shut-in time of setting WDT;
If WDT is not closed within a preset time, closes system and update the boot block data of BIOS based on Backup Data.
For example, being based on foregoing teachings, for controller whether after completing the time setting of WDT, can monitor WDT can be when default Interior closing is in disabled state, if it is closed, then at least illustrates that the boot block data of BIOS does not damage, can be performed subsequent Operation, such as determined by check sum code operation data whether complete and accurate, and if it is not turned off, at least illustrate BIOS Boot block data damage, system is currently unable to run the position repaired for other operation datas, and boot block data needs It repairs.After controller determines that boot block data needs to repair, the follow-up operation of BIOS system can be stopped, and enter and repair shape State, that is, first boot block data is repaired based on Backup Data, restarting systems after the completion of reparation, to complete bootstrap block The update of data.After system, which is based on the updated boot block data, to be started, abovementioned steps are successively executed, execute area to determine Whether other operation datas in block there is exception, need to repair.
As shown in figure 5, the embodiment of the present invention also provides a kind of electronic equipment, such as computer, include at least:
BIOS determines whether electronic equipment is supported to be automatically repaired function after being configured to electricity on an electronic device, if so, Then determine whether system runs smoothness, if so, at least determining whether system operation data is complete, accurate, if it is not, then exporting more New signal;
Controller is configured to that at least at least partly system can be updated using Backup Data after receiving more new signal Operation data closes simultaneously restarting systems, wherein the Backup Data includes at least the boot block data of BIOS later.
The electronic equipment of the embodiment of the present invention can effectively controlling electronic devices be certainly in initial start stage, such as power-on self-test rank Section completes data reparation, to guarantee the normal operation of electronic apparatus system.Electronic equipment in the present embodiment was repaired in data Without the network platform or external equipment in journey, moreover, can also be to drawing in BIOS in the data repair process of electronic equipment Guide block data are checked and are repaired, and the practical range of data repair function is greatly expanded, the generality number for encountering user It is addressed according to damage problem, provides convenience for user, avoid being unable to complete system reparation because boot block data damages, shadow The phenomenon that ringing user's normal use occurs.
Specifically, following the present embodiment is specifically described so that electronic equipment is computer as an example:
There is in the system of electronic equipment backup block in the present embodiment and execute block, wherein backup block is for depositing Backup Data is put, and executes operation data of the block for storage system.Backup Data in the present embodiment passes through following steps Realize storage:
After electronic equipment powers on, determine if to support to be automatically repaired function;
If so, by the backup block of Backup Data write-in electronic equipment.
For example, in the source code for writing BIOS, after settable program is electricity on an electronic device, that is, after system electrification, It determines whether system supports BIOS's to be automatically repaired function, if supporting, the Backup Data got ready is written to above-mentioned backup In block, for subsequent update system operation data use.
And if system is not supported to be automatically repaired function, then not as, that is, do not store Backup Data in backup block, But it is carried out according to original system operation program.
Further, in this embodiment determining whether electronic equipment is supported to be automatically repaired function, if so, at least determining System whether process and when whether complete, accurate operation data, comprising:
At least determine whether electronic equipment is supported to be automatically repaired function based on the BIOS of electronic equipment;
If so, at least determining whether system runs smoothness by BIOS, and whether complete operation data is, accurate.
Certainly, by BIOS execute above-mentioned steps be not it is fixed, can also be by the controller that is arranged in electronic equipment, example If embedded controller executes, alternatively, can also be carried out together judging really by BIOS and controller in order to ensure the accuracy of judgement It is fixed.
Specifically, in the system operation for determining electronic equipment, whether smoothness includes: in the present embodiment
Determine whether WDT (WatchDog Timer (WDT, Watch Dog Timer)) closes at preset timed intervals;
If so, the operation of the system of determination is smooth.
The time setting operation of the WDT is completed by the controller in electronic equipment in the present embodiment, in the present embodiment Controller is preferably the lower embedded controller of energy consumption.When execution, controller can first determine that electronic equipment support is repaired automatically After multiple function (notification controller after the part can also be executed by BIOS), it is determined whether platform reset signal is received, that is, really Whether determine system currently in Reset Status, for example, user on an electronic device electric self-test when click enter key, to enter BIOS The Reset Status of data makes user that can change data manually, and electronic equipment just handles Reset Status at this time, is otherwise non-resetting shape State, that is, normal condition.When controller determines that system is currently at normal condition, then according to the closing of preset requirement setting WDT Time.When whether the system that determines runs smoothness, BIOS can be by determining whether WDT closes according to preset time, if closing Close, then normal operation, smoothness, and if be not turned off, can by BIOS notification controller close system, while waiting system close During with no treatment, system is in suspended state.
Further, when determining that system operation is smooth, i.e. after WDT timing is closed, BIOS then determines system operation data Whether completely, accurately include:
By checking that check sum code determines whether system operation data is complete, accurate.
For example, determine the check sum code and preset check sum code of operation data when current system operation, or Check sum code when last system operates normally is compared, if unanimously, can illustrate that system operation data is complete, quasi- Really, and if it is inconsistent, can illustrate that system operation data is imperfect, mistake occur, need to repair operation data.
Further, in this embodiment in the renewal process for executing operation data, and finally close and restart and be The process of system is completed by above controller.The controller is wrapped when at least updating part system operation data using Backup Data It includes:
Backup Data is at least updated into part system operation data;
At least determine whether the corresponding part for the operation data and Backup Data that system is updated is consistent;
If consistent, it is determined that update finishes and prepares to close simultaneously restarting systems;
If inconsistent, the update of operation data is re-started.
Specifically, whether for example, controller is after system enters reparation state, can first determine that has backup block in system The information table of the storage location of the Backup Data of each block in middle characterization system, if so, then can be according to the position in the information table Information and the operation data for obtaining each block, and the Backup Data of each block is re-write to the corresponding part for executing block At (unit), update is achieved the effect that with this, repairs operation data.When practical execution, controller is also or BIOS can have inspection Wrong function, that is, determine that mistake occurs in which part (unit) operation data executed in block, such as can pre-recorded storage execution Block operate normally when inside each unit data summation in backup block, after detecting check sum code exception, can lead to It crosses and compares the data summation for currently executing data summation and pre-stored corresponding part in region to determine that the part is transported Whether row data are abnormal etc., and specific implementation is not unique.Any and after determining part operation data exception, can be based on Information table and Backup Data and the operation data of the unusual part is updated.It is, when updating operation data, it can Part is only updated, can also all be updated, specifically depending on actual conditions.When controller complete after re-writing of Backup Data, In order to ensure the data of write-in are complete, accurate, controller can check the data currently re-write, that is, compare again Whether the data of write-in and corresponding Backup Data in backup block are consistent, can if consistent controller can determine that completion is repaired Control system is closed and is restarted, so that BIOS can execute start-up operation based on updated operation data.And if comparing Inconsistent, controller then re-writes the wrong data executed in block or whole operation datas, until inspection result Show that data unanimously just terminate rewrite operation.
Further, above-mentioned BIOS and controller cooperation execute in the repair process of operation data, most of operation data Reparation be carry out under boot block data in BIOS is complete and unspoiled situation, once and the boot block data occurs After exception, need first to repair the boot block data, can just continue to complete later above-mentioned operation data reparation (alternatively, Boot block data and operation data can also be repaired simultaneously).For this purpose, the control method in the present embodiment further include:
After controller determines that electronic equipment support is automatically repaired function, it is determined whether receive platform reset signal;
If so, the shut-in time of setting WDT;
If WDT is not closed within a preset time, closes system and update the boot block data of BIOS based on Backup Data.
For example, being based on foregoing teachings, for controller whether after completing the time setting of WDT, can monitor WDT can be when default Interior closing is in disabled state, if it is closed, then at least illustrates that the boot block data of BIOS does not damage, can be performed subsequent Operation, and if it is not turned off, at least illustrate BIOS boot block data damage, need to repair.When controller determines bootstrap block After data need to repair, the follow-up operation of BIOS system can be stopped, and enter reparation state, that is, first based on Backup Data to drawing Guide block data are repaired, restarting systems after the completion of reparation, to complete the update of boot block data.When system is based on this more After boot block data starting after new, abovementioned steps are successively executed, execute whether other operation datas in block go out to determine It is now abnormal, it needs to repair.
It is apparent to those skilled in the art that for convenience and simplicity of description, the data of foregoing description The electronic equipment that processing method is applied to, can be with reference to the corresponding description in before-mentioned products embodiment, and details are not described herein.
Above embodiments are only exemplary embodiment of the present invention, are not used in the limitation present invention, protection scope of the present invention It is defined by the claims.Those skilled in the art can within the spirit and scope of the present invention make respectively the present invention Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as being within the scope of the present invention.

Claims (10)

1. a kind of control method characterized by comprising
After electronic equipment powers on, determine whether electronic equipment is supported to be automatically repaired function;
If so, whether the system of determination runs smoothness;
If so, at least determining whether the system operation data is complete, accurate;
If it is not, then at least updating the part system operation data using pre-stored Backup Data, wherein the Backup Data Including at least the boot block data of BIOS;
It closes and restarts the system.
2. the method according to claim 1, wherein further include:
After the electronic equipment powers on, determine if to support to be automatically repaired function;
If so, by the backup block of Backup Data write-in electronic equipment.
3. the method according to claim 1, wherein whether the determining electronic equipment is supported to be automatically repaired function Can, if so, at least determine whether system runs smoothness, if then at least determine whether the operation data of the system complete, Accurately include:
BIOS at least based on the electronic equipment determines whether the electronic equipment is supported to be automatically repaired function;
If so, at least determining whether system runs smoothness by BIOS, whether operation data is complete, accurate.
4. according to the method described in claim 3, it is characterized in that, the determining system runs whether smoothness includes:
Determine whether WDT closes at preset timed intervals;
If so, determining the system normal operation.
5. according to the method described in claim 3, it is characterized in that, whether the determining system operation data is complete, accurately wraps It includes:
By checking that check sum code determines whether the system operation data is complete, accurate.
6. the method according to claim 1, wherein described at least update part using pre-stored Backup Data The system operation data includes:
The Backup Data is at least updated to the part system operation data;
At least determine whether the operation data that the system is updated is consistent with the corresponding part of the Backup Data;
If consistent, it is determined that update finishes and prepares to close and restart the system.
7. according to the method described in claim 6, it is characterized by further comprising:
If inconsistent, the update of the operation data is re-started.
8. according to the method described in claim 4, it is characterized in that, described at least update the part system using Backup Data Operation data closes and restarts the system and completed by the controller in the electronic equipment.
9. according to the method described in claim 8, it is characterized by further comprising:
After the controller determines that the electronic equipment support is automatically repaired function, determine whether the system is in reset shape State;
If it is not, the shut-in time of the WDT is then arranged;
If the WDT is not closed within a preset time, closes the system and the BIOS is updated based on the Backup Data Boot block data.
10. a kind of electronic equipment, which is characterized in that include at least:
BIOS determines whether electronic equipment is supported to be automatically repaired function, if so, really after being configured to electricity on an electronic device Determine whether system runs smoothness, if so, at least determining whether the system operation data is complete, accurate, if it is not, then exporting more New signal;
Controller is configured at least update after receiving the more new signal using Backup Data at least partly described The system is closed later and restarted to system operation data, wherein the Backup Data includes at least the guidance of BIOS Block number evidence.
CN201910689559.2A 2019-07-29 2019-07-29 A kind of control method and electronic equipment Pending CN110502367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910689559.2A CN110502367A (en) 2019-07-29 2019-07-29 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910689559.2A CN110502367A (en) 2019-07-29 2019-07-29 A kind of control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110502367A true CN110502367A (en) 2019-11-26

Family

ID=68587610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910689559.2A Pending CN110502367A (en) 2019-07-29 2019-07-29 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110502367A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858183A (en) * 2020-07-31 2020-10-30 联想(北京)有限公司 Restarting method and apparatus for electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102505A (en) * 2013-04-12 2014-10-15 昆达电脑科技(昆山)有限公司 Computer power-on method
CN104899107A (en) * 2014-03-05 2015-09-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105630523A (en) * 2014-10-30 2016-06-01 鸿富锦精密工业(武汉)有限公司 Computer BIOS data recovery system and method
CN107015878A (en) * 2017-03-24 2017-08-04 联想(北京)有限公司 For system for computer restorative procedure and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102505A (en) * 2013-04-12 2014-10-15 昆达电脑科技(昆山)有限公司 Computer power-on method
CN104899107A (en) * 2014-03-05 2015-09-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105630523A (en) * 2014-10-30 2016-06-01 鸿富锦精密工业(武汉)有限公司 Computer BIOS data recovery system and method
CN107015878A (en) * 2017-03-24 2017-08-04 联想(北京)有限公司 For system for computer restorative procedure and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周立功: "《面向AWorks框架和接口的C编程 上》", 30 November 2018 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111858183A (en) * 2020-07-31 2020-10-30 联想(北京)有限公司 Restarting method and apparatus for electronic device

Similar Documents

Publication Publication Date Title
CN105912356B (en) A kind of optical module firmware program on-line upgrading method for supporting version rollback
US7050859B1 (en) Systems and methods to port controller state and context in an open operating system
CN103858107B (en) Secure recovery apparatus and method
CN106020865B (en) System upgrading method and device
CN102385535B (en) Handling errors during device bootup from a non-volatile memory
US8423991B2 (en) Embedded network device and firmware upgrading method
US6715106B1 (en) Bios corruption detection system and method
US20090217257A1 (en) Apparatus and Method for Firmware Update
CN102023908A (en) Method and device for backing up boot program
CN105354063B (en) Program on-line upgrading method and system
CN102508686A (en) Method and system for realizing safe upgrading of system
CN106775877A (en) A kind of firmware method for refreshing and a kind of server
CN102339227A (en) Multi-firmware embedded system and firmware update method thereof
CN106775674B (en) Equipment based on universal boot loader and starting method thereof
CN108108193A (en) A kind of easy-to-use firmware upgrade method of safety and system
CN114694728A (en) Power-off duration determination for NVMe SSD
WO2016033941A1 (en) Boot on-line upgrading apparatus and method
CN112433769A (en) BMC starting method and device, computer equipment and storage medium
TWI515557B (en) Computer system and control method
CN109375953B (en) Operating system starting method and device
CN110502367A (en) A kind of control method and electronic equipment
CN108733517A (en) SSD firmware upgrades guard method and device
CN106444730B (en) Diagnosis method of electronic control unit for preventing software from being dead
CN116301973A (en) Firmware upgrading method, device, equipment and readable storage medium
CN101571817A (en) Mainboard as well as recovering method and startup method of basic input output system thereof

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