CN107967196A - Detecting system and detection method - Google Patents

Detecting system and detection method Download PDF

Info

Publication number
CN107967196A
CN107967196A CN201610916016.6A CN201610916016A CN107967196A CN 107967196 A CN107967196 A CN 107967196A CN 201610916016 A CN201610916016 A CN 201610916016A CN 107967196 A CN107967196 A CN 107967196A
Authority
CN
China
Prior art keywords
version
storage
new edition
processor
sequence number
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
CN201610916016.6A
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.)
Inventec Pudong Technology Corp
Inventec Corp
Original Assignee
Inventec Pudong Technology Corp
Inventec Corp
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 Inventec Pudong Technology Corp, Inventec Corp filed Critical Inventec Pudong Technology Corp
Priority to CN201610916016.6A priority Critical patent/CN107967196A/en
Publication of CN107967196A publication Critical patent/CN107967196A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]

Abstract

The invention discloses a kind of detecting system and detection method.Detecting system includes a processor, one first storage block, one second storage block.First storage block stores version to store the one of an acquiescence basic input output system.Second storage block uses version to store the one of a new edition basic input output system.Wherein, whether processor is compared in self detection period of a start using version and storage version, identical using version and storage version to judge.Detecting system and detection method shown in the present invention can save the time cost that user compares each difference in version point manually by the automated execution of detecting system.

Description

Detecting system and detection method
Technical field
The invention relates to a kind of detecting system and detection method, and in particular to one kind detection input substantially it is defeated Go out the detecting system and detection method of system.
Background technology
In general, basic input output system (Basic Input Output System, BIOS) is most base in system This software, when mainboard dispatches from the factory, BIOS can be burnt in the read-only memory of quick flashing (Flash ROM).For example, BIOS program can be with In burned chip, and it is placed on mainboard.
In addition, function most basic BIOS is the basic settings value for remembering computer, user can come through BIOS The pattern of initialization system, and the relevant parameter of hardware.For example, in system boot, start when BIOS can be booted up is certainly I detects (Power On Self Test, POST), to determine the basic configuration of system component and functional status.At this time, user Input through keyboard instruction be can pass through into the setting menu (setup menu) of BIOS setup, to adjust each thin item.
However, when updating BIOS on line, if user wants to change one or more setting values, it is necessary to enter setting In menu, spend the time to go to find project to be changed manually, and have the risk of change mistake.On the other hand, if will setting When setting value in menu is all cleared to default value, then the section sets value project previously changed may be influenced whether, and User is still needed to take time to confirm setting.Therefore, a kind of efficient bios version detection method how is provided, it has also become this area One of the problem of anxious to be modified.
The content of the invention
To solve the problem above-mentioned, a technical solution of the invention is to provide a kind of detecting system.Detecting system includes one Processor, one first storage block, one second storage block;First stores block to store an acquiescence basic input and output system One of system (Basic Input/Output System, BIOS) storage version;Second storage block is basic to store a new edition One of input-output system uses version;Wherein, processor is in self detection (Power On Self Test, POST) of a start Compared in period using version and storage version, it is whether identical using version and storage version to judge.
Preferably, after self detection period of the start starts, which reads the first storage block, to obtain one Modification setting, wherein the first storage block system are located in a non-voltile memory.
Preferably, this includes a new edition version sequence number using the content of version, and the content of the storage version includes one and presets Version sequence number, when the processor compares the new edition version sequence number and the default version sequence number is inconsistent, then judges that this uses version This is different from the storage version, when the processor compare the new edition version sequence number with this preset version sequence number it is consistent when, then judge This is identical with the storage version using version.
Preferably, this includes a new edition setting value using the content of version, and the content of the storage version is set comprising one Definite value, when the new edition setting value is different from the preset setting values, which uses the new edition setting value of version more by this It is changed to the preset setting values.
Preferably, should after this is changed to the preset setting values by the processor using the new edition setting value of version Processor re-executes self detection period of the start.
Another technical solution of the present invention is to provide a kind of detection method.Detection method includes:The acquiescence of storage one is substantially defeated Enter a storage version of output system;Store a new edition basic input output system one uses version;And pass through a processing Device in one start self detection the period in compare using version with storage version, with judge using version with store version whether phase Together.
Preferably, after self detection period of the start starts, the storage version is read by the processor, to obtain one Modification setting, wherein the storage version is stored in a non-voltile memory.
Preferably, this includes a new edition version sequence number using the content of version, and the content of the storage version includes one and presets Version sequence number, when the processor judges the new edition version sequence number and the default version sequence number is inconsistent, then judges that this uses version This is different from the storage version, when the processor judge the new edition version sequence number with this preset version sequence number it is consistent when, then judge This is identical with the storage version using version.
Preferably, this includes a new edition setting value using the content of version, and the content of the storage version is set comprising one Definite value, when the new edition setting value is different from the preset setting values, which uses the new edition setting value of version more by this It is changed to the preset setting values.
Preferably, after this is changed to the preset setting values using the new edition setting value of version, which thinks highly of Newly perform self detection period of the start.
Compared with prior art, the present invention has following beneficial effect:In conclusion the detecting system shown in the present invention And detection method can save the time cost that user compares each difference in version point manually by the automated execution of detecting system, And the precision of difference between each version of comparison can be lifted, so as to also make the setting value of new edition BIOS and the setting value of predetermined BIOS It is identical
Brief description of the drawings
Above-mentioned and other purposes, feature, advantage and embodiment to allow the present invention can become apparent, and institute's accompanying drawings are said It is bright as follows:
Fig. 1 embodiments according to the present invention illustrate a kind of schematic diagram of detecting system 100;
Fig. 2 embodiments according to the present invention illustrate a kind of schematic diagram of basic input output system archives 20;And
Fig. 3 embodiments according to the present invention illustrate a kind of flow chart of detection method 300.
100:Detecting system
10:Processor
20:Basic input output system archives
B1:Boot block
B2:First storage block
B3:Second storage block
Vb:Use version
S1:First sub-block
S2:Second sub-block
S3:3rd sub-block
Va:Store version
300:Detection method
S310~S330:Step
Embodiment
It is hereafter to coordinate institute accompanying drawings to elaborate for embodiment, but the embodiment provided and is not used to limit this hair Bright covered scope, and the description of structure operation is not used to limit the order of its execution, any knot reconfigured by component Structure, it is produced that there is equal and other effects device, it is all the scope that the present invention is covered.In addition, schema is only for the purpose of description, and Map not according to full size.To make to readily appreciate, same components will be illustrated with identical symbology in the description below.
On " first " used herein, " second " etc., the meaning of order or cis-position is not especially censured, also non-use To limit the present invention, it is just for the sake of difference with the component of constructed term description or operation.It refer to Fig. 1 and figure 2, as shown in Figure 1, Fig. 1 embodiments according to the present invention illustrate a kind of schematic diagram of detecting system 100.Fig. 2 is according to the present invention An embodiment illustrate a kind of schematic diagram of basic input output system archives 20.
In one embodiment, detecting system 100 includes processor 10 and basic input output system (Basic Input Output System, BIOS) archives 20.Detecting system 100 can be a computer, and basic input output system archives 20 can be with It is a BIOS image shelves (BIOS image) or the Electrically Erasable Programmable Read-Only Memory (EEPROM) being stored on mainboard System file.
Multiple archives blocks can be included in basic input output system archives 20, comprising:Boot block B1, the first storage area The storage block B3 of block B2~second, these archives blocks each in the hardware stored by it (such as EEPROM) take it is different Storage area.Boot block B1 blocks can be used to storage and be used for the program code of (or first aid) of starting shooting, and the first storage block B2~ Second storage block B3 to store in start process required information or with the relevant program of start process.
When the power key of detecting system 100 (being, for example, a computer) is pressed, processor 10 can voluntarily be reset to initially State, to be ready for operating.In addition, boot block (boot block) B1 also starts initial phase startup.
Then, basic input output system starts to perform self detection (Power On Self Test, POST) of starting shooting. To start shooting during self detection, processor 10 can check computer items component and its setting, such as:Central processing unit, main memory Reservoir, keyboard, mouse etc. state.Then find and be built-in the display adapter program inside BIOS and perform.
In one embodiment, as shown in Fig. 2, basic input output system archives 20 include the first storage block B2 and second Store block B3.Wherein, boot block B1 blocks can be used to storage and be used for the program code of (or first aid) of starting shooting, the first storage area Block B2 is to store the storage version Va of an acquiescence basic input output system, and for example, user presets substantially defeated in advance Enter output system version;And second stores block B3 to store the use version Vb of a new edition basic input output system, example The new edition basic input output system used is such as about to for user.So, can be according to reality using version Vb and storage version Va System environments, with each self-adjusting storage location.
In one embodiment, the first storage block B2 can be cut into multiple sub-blocks, including the first sub-block S1, second Sub-block S2, the 3rd sub-block S3.Wherein, the second sub-block S2 is to store a setting menu (setup menu), and stores Version Va can also be stored in sub-block S2.
In one embodiment, the first storage block B2 can by non-voltile memory (non-volatile memory, NVRAM) realize, such as the first storage block B2 systems are in non-voltile memory, therefore, even if when detecting system 100 After power supply is turned off, the storage version Va being stored in the first storage block B2 will not still disappear.On the other hand, the second storage block B3 can also realize it by non-voltile memory, such as the second storage block B3 systems is in non-voltile memories, and second It is storage address different in non-voltile memory that block B3, which is stored, from the first storage block B2.
Each step of data transmission method described further below.For convenience of explanation, illustrate below please with reference to Fig. 2 to Fig. 3, Fig. 3 embodiment according to the present invention illustrate a kind of flow chart of detection method 300.
Block B2 is stored when detecting system 100 stores the storage version Va for giving tacit consent to basic input output system to first, And store new edition basic input output system to the second storage block B3 using version Va, enter step S310.When opening Machine process is gone into during self detection of start, can enter step S310 in self detection period of starting shooting.
In step S310, processor 10 reads the storage version Va in the first storage block B2, so as to learn acquiescence Basic input output system version.The modification setting adjusted in advance can also be stored in the first storage block B2, be considered as storage Keep standing a part of this Va, therefore, processor 10, which also can pass through, reads the first storage block B2, to obtain modification setting.Yu Yi In embodiment, this storage version Va can be used as the comparison of other various new edition basic input output systems basic, in other words, by Other various new edition basic input output systems are compared with storage version Va, can learn that other various new editions input substantially In output system, the part that is each updated.
In step s 320, processor 10 is compared using version Vb and storage version Va, to judge using version Vb and storage Whether this Va that keeps standing is identical.If processor 10 judges to use version Vb different from storage version Va, S330 is entered step;If place Manage device 10 to judge to use version Vb different from storage version Va, then terminate this flow.
A new edition version sequence number is included using the content of version Vb, the content of storage version Va includes a default version sequence Number.When processor 10 compares new edition version sequence number and default version sequence number is inconsistent, then judge using version Vb and storage version This Va is different, at this time, processor 10 can further compare using version Vb and every setting value in storage version Va whether one Cause;On the other hand, when processor 10 compare new edition version sequence number it is consistent with default version sequence number when, then judge using version Vb and It is identical to store version Va, it is at this time, identical with storage version Va due to the use of version Vb, therefore processor 10 need not further make in comparison It is whether consistent with version Vb and every setting value in storage version Va.
Using version Vb and every setting value in storage version Va, need to open several hard disks, electricity when can be start Setting means, the open mode of random access memory (RAM) of source state (power state), and/or other can set The parameter value inquired about or changed in menu.
In addition, processor 10 in one start self detection the period in, compare using version Vb with store version Va whether phase Together.
In step S330, processor 10 is obtained using version Vb and the deviation for storing version Va, and according to this phase Different place will be changed to consistent with storage version Va using every setting value of version Vb.
In one embodiment, new edition setting value is included using the content of version Vb, the content of storage version Va, which includes, to be preset Setting value, processor 10 is by new edition setting value and preset setting values are compared, to compare out using version Vb and storage version Va An at least deviation.In addition, when new edition setting value is different from preset setting values, processor 10 will use the new edition of version Vb Setting value is changed to preset setting values, and stores and use version Vb after change.
For example, using hard disk setting value defined in version Vb for open 5 hard disks, power supply status be set as 5 ranks, with The pattern that machine access holder uses stores hard defined in version Va for first mode (these setting values are new edition setting value) Disk setting value is to open pattern that 5 hard disks, power supply status are set as that 3 ranks, random access memory use as first mode (this A little setting values are preset setting values) when, processor 10 can compare these information and use version Vb with storing version Va's to learn Deviation is different for the setting of power supply status.Therefore, processor 10 can will be changed to 3 ranks using the power supply status of version Vb, make The every setting value and storage version Va that version Vb must be used are all consistent.On the other hand, in this example, due to the use of version Vb Open that the pattern that hard disk number and random access memory use is identical with storing version Va, and so there is no need to change.
Thereby, the every setting value and default version base of new edition basic input output system (as used version Vb) can be enable Every setting value of this input-output system (such as storage version Va) is consistent, this can ensure that before and after updating BIOS The uniformity of every setting value, to avoid unexpected mistake occurs.
In one embodiment, after processor 10 using the new edition setting value of version Vb by preset setting values are changed to (i.e. after step S330), processor 10 re-executes self detection period of start, or reenters whole starting procedure (i.e., Press the flow after power key), use (that is, consistent with storage version Va setting values using version Vb after loading change Use version Vb).
In the preceding example, when processor 10 will be all changed to using the new edition setting value (such as power supply status) in version Vb After consistent with the preset setting values in storage version Va, processor 10 re-executes self detection period of start, and again sequentially S310~S320 is entered step, when judgement uses version Vb and every setting value all one in storage version Va in step S320 During cause, then detection of end method 300, and using version Vb is used, to continue normal boot-strap flow.
In conclusion the detecting system and detection method shown in the present invention are by comparison new edition basic input output system Using version and give tacit consent to the storage version of basic input output system, to obtain this both deviation, and according to deviation Version is used with change so that using every setting value corresponding to version with storing every setting value one corresponding to version Cause, thereby can ensure that the uniformity of every setting value before and after updating BIOS, it is unexpected to avoid occurring Mistake.In addition, through the automated execution of detecting system, can also save user compare manually time of each difference in version point into This, and the precision of difference between each version of comparison can be lifted.
Although the present invention is disclosed above with embodiment, so it is not limited to the present invention, any to be familiar with this skill Person, without departing from the spirit and scope of the present invention, when can be used for a variety of modifications and variations, therefore protection scope of the present invention is worked as Subject to appended claims institute defender.

Claims (10)

1. a kind of detecting system, it is characterised in that include:
One processor;And
One basic input output system archives, comprising:
One first storage block, for storing the storage version of an acquiescence basic input output system;And
One second storage block, for storing the use version of a new edition basic input output system;
Wherein, which compares this using version and the storage version in self detection period of starting shooting, and judges that this uses version Whether this is identical with the storage version.
2. detecting system as claimed in claim 1, it is characterised in that after self detection period of the start starts, the processing Device reads the first storage block, is set with obtaining a modification, and wherein the first storage block system is located at a non-voltile memory In.
3. detecting system as claimed in claim 1, it is characterised in that this includes a new edition version sequence using the content of version Number, the content of the storage version includes a default version sequence number, when the processor compares the new edition version sequence number and the default version When this sequence number is inconsistent, then judge that this is different from the storage version using version, when the processor compares the new edition version sequence number With this preset version sequence number it is consistent when, then judge this using version it is identical with the storage version.
4. detecting system as claimed in claim 1, it is characterised in that this includes a new edition setting value using the content of version, The content of the storage version includes a preset setting values, when the new edition setting value is different from the preset setting values, the processor This is changed to the preset setting values using the new edition setting value of version.
5. detecting system as claimed in claim 4, it is characterised in that when the processor sets this using the new edition of version Value is changed to after the preset setting values, which re-executes self detection period of the start.
6. a kind of detection method, it is characterised in that include:
One storage version of the acquiescence basic input output system of storage one;
Store a new edition basic input output system one uses version;And
This is compared using version and the storage version in self detection period of a start by a processor, to judge the use Whether version and the storage version are identical.
A 7. detection method as claimed in claim 6, it is characterised in that after self detection period of the start starts, by The processor reads the storage version, is set with obtaining a modification, wherein the storage version is stored in a non-voltile memory.
8. detection method as claimed in claim 6, it is characterised in that this includes a new edition version sequence using the content of version Number, the content of the storage version includes a default version sequence number, when the processor judges the new edition version sequence number and the default version When this sequence number is inconsistent, then judge that this is different from the storage version using version, when the processor judges the new edition version sequence number With this preset version sequence number it is consistent when, then judge this using version it is identical with the storage version.
9. detection method as claimed in claim 6, it is characterised in that this includes a new edition setting value using the content of version, The content of the storage version includes a preset setting values, when the new edition setting value is different from the preset setting values, the processor This is changed to the preset setting values using the new edition setting value of version.
10. detection method as claimed in claim 9, it is characterised in that changing this using the new edition setting value of version After the preset setting values, which re-executes self detection period of the start.
CN201610916016.6A 2016-10-20 2016-10-20 Detecting system and detection method Pending CN107967196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610916016.6A CN107967196A (en) 2016-10-20 2016-10-20 Detecting system and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610916016.6A CN107967196A (en) 2016-10-20 2016-10-20 Detecting system and detection method

Publications (1)

Publication Number Publication Date
CN107967196A true CN107967196A (en) 2018-04-27

Family

ID=61997315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610916016.6A Pending CN107967196A (en) 2016-10-20 2016-10-20 Detecting system and detection method

Country Status (1)

Country Link
CN (1) CN107967196A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580870A (en) * 2020-04-03 2020-08-25 联想(北京)有限公司 System detection method, electronic device and computer-readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1955938A (en) * 2005-10-28 2007-05-02 英业达股份有限公司 Automatic reset system and method
US20080184022A1 (en) * 2007-01-29 2008-07-31 Eric Peacock Master boot record management
CN101464816A (en) * 2007-12-18 2009-06-24 英业达股份有限公司 Method and apparatus for saving single BIOS version information
TW200928719A (en) * 2007-12-28 2009-07-01 Asustek Comp Inc Computer, and method for error-detecting and booting of BIOS thereof
CN103488498A (en) * 2013-09-03 2014-01-01 华为技术有限公司 Computer booting method and computer
CN104680068A (en) * 2015-03-25 2015-06-03 环旭电子股份有限公司 BIOS (basic input/output system) setting method and booting method
CN104679622A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 BIOS (basic input/output system) maintenance method
CN104679619A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 Server and detection method of server
CN105095000A (en) * 2014-04-29 2015-11-25 鸿富锦精密工业(武汉)有限公司 BIOS restoring circuit
CN106033378A (en) * 2015-03-20 2016-10-19 昆达电脑科技(昆山)有限公司 Debug information storage method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1955938A (en) * 2005-10-28 2007-05-02 英业达股份有限公司 Automatic reset system and method
US20080184022A1 (en) * 2007-01-29 2008-07-31 Eric Peacock Master boot record management
CN101464816A (en) * 2007-12-18 2009-06-24 英业达股份有限公司 Method and apparatus for saving single BIOS version information
TW200928719A (en) * 2007-12-28 2009-07-01 Asustek Comp Inc Computer, and method for error-detecting and booting of BIOS thereof
CN103488498A (en) * 2013-09-03 2014-01-01 华为技术有限公司 Computer booting method and computer
CN104679619A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 Server and detection method of server
CN104679622A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 BIOS (basic input/output system) maintenance method
CN105095000A (en) * 2014-04-29 2015-11-25 鸿富锦精密工业(武汉)有限公司 BIOS restoring circuit
CN106033378A (en) * 2015-03-20 2016-10-19 昆达电脑科技(昆山)有限公司 Debug information storage method
CN104680068A (en) * 2015-03-25 2015-06-03 环旭电子股份有限公司 BIOS (basic input/output system) setting method and booting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111580870A (en) * 2020-04-03 2020-08-25 联想(北京)有限公司 System detection method, electronic device and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US8667264B2 (en) Expedited computer boot system and method
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US20120191960A1 (en) Booting computing devices
US7613952B2 (en) Method for facilitating BIOS testing
CN103154900A (en) Embedded program update method, embedded program update program, electronic apparatus, network system
TW201624273A (en) Firmware variable update method
TW201027324A (en) Embedded electronic device free from being stuck in update failure and method of making the same
TW201818253A (en) Detection system and detection method
US10083084B2 (en) Method of error detecting during a booting process, and a computer system for implementing the same
US20100049961A1 (en) Update method for basic input/output system and update system thereof
US9256443B2 (en) Electronic device having updatable bios and bios updating method thereof
CN116048643B (en) Equipment operation method, system, device, storage medium and electronic equipment
JP2020535504A (en) How to upgrade system version and equipment
JP5119947B2 (en) Information processing device
US8892856B2 (en) Firmware flashing method and related computer system
TWI623834B (en) Booting method for computer system
CN104951247B (en) Information processing unit and storage management method
CN107967196A (en) Detecting system and detection method
US10198270B2 (en) Dynamic hardware configuration via firmware interface at computing device boot
JPH08129495A (en) Computer system and self test method therefor
US20150355616A1 (en) Programmable controller, programmable controller system, and method of creating execution error information
CN104598281A (en) Method for upgrading system of electronic device
TWI475487B (en) Booting method and electronic device
US20050060530A1 (en) Method for displaying information of updating BIOS
KR20190059581A (en) Program for disablling watermark process during screen capture operation

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180427