CN100405321C - Method for preventing software write-in error - Google Patents

Method for preventing software write-in error Download PDF

Info

Publication number
CN100405321C
CN100405321C CNB2005100025372A CN200510002537A CN100405321C CN 100405321 C CN100405321 C CN 100405321C CN B2005100025372 A CNB2005100025372 A CN B2005100025372A CN 200510002537 A CN200510002537 A CN 200510002537A CN 100405321 C CN100405321 C CN 100405321C
Authority
CN
China
Prior art keywords
software
write
bios
error
output system
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.)
Expired - Fee Related
Application number
CNB2005100025372A
Other languages
Chinese (zh)
Other versions
CN1808396A (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.)
Inventec Corp
Original Assignee
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 Corp filed Critical Inventec Corp
Priority to CNB2005100025372A priority Critical patent/CN100405321C/en
Publication of CN1808396A publication Critical patent/CN1808396A/en
Application granted granted Critical
Publication of CN100405321C publication Critical patent/CN100405321C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention relates to a method for preventing software writing errors, which makes software correctly write into storage units of corresponding equipment, and the software can normally run in the equipment. The method comprises: the software and the storage units are respectively provided with a distinguishing mark corresponding to the equipment; the software and the distinguishing marks of the storage units are judged whether the same or not before writing; the software is written into the storage units when the software and the distinguishing marks of the storage units are the same, and the writing actions are not carried out when the software and the distinguishing marks of the storage units are different. Compared with the existing writing method, the present invention uses the distinguishing marks of the equipment, the distinguishing marks are simultaneously arranged in the software and the storage units, and the software and the distinguishing marks of the storage units are in compare before writing. The writing actions are carried out when the software and the distinguishing marks of storage units are the same. The present invention not only can make the equipment corresponding to the software normally run, but also can ensure that users can conveniently carry out writing, which prevents abnormal phenomenon of the equipment corresponding to the software which is wrong written from happening.

Description

Prevent the method for software write-in error
Technical field
The invention relates to a kind of method that prevents software write-in error, particularly prevent the method for write error about a kind of Basic Input or Output System (BIOS) software (basic input output system BIOS) that is applicable to.
Background technology
In the structure of computing machine now, so-called Basic Input or Output System (BIOS) (Basic InputOutput System; Be designated hereinafter simply as BIOS) be the most basic software of computing machine, also be the software of at first carrying out behind the computer system power-on.Bios software mainly is made up of the low auspicious instruction set of computing machine, the most basic hardware testing when it provides computer run, defines the characteristic of computing machine and handles basic work; For example when computer booting, start selftest (the Power-On Self-Test of object computer; POST), explain the signal that keyboard sends, and the transmission etc. of information between the connectivity port.Therefore, initial running during computer booting all is to carry out according to the content of bios software, if bios software goes wrong, computing machine can't be carried out the test as storer (RAM), hard disk (HD), central processing unit (CPU) etc. once starting shooting, cause and can't start shooting smoothly.Also just because of bios software has possessed consequence like this in computer system, generally all the bios software instruction set can be write on and to store for a long time in the power-source free storer (memory), as flash ROM (flash ROM), programmable read-only memory (prom), EROM (EPROM), electrically-erasable ROM (read-only memory) (EEPROM) etc., and this type of storer is arranged on the mainboard (Mother Board) of computing machine, make its content not be subjected to the influence of power supply, can forever preserve.
Be making rapid progress in response to computer system processor usefulness and peripheral hardware unit research and development technology, make computer maker constantly design the bios software of different editions, can clearly determine its peripheral hardware unit of collocation at present for each computer system, but make normal operation between these peripheral hardware units and the computer system, and then provide this computer system user or bios software tester that computer system is carried out normal running.Bios software also will be at different operating system, different mainboards, and therefore, each bios software all needs corresponding compatible mainboard machine, could normally carry out in computer system, makes this computer system energy normal operation.
In the prior art, as shown in Figure 1, directly carry out write-in program (step S10) and software (as bios software) is written in the storer (step S11), promptly finish write-in program (step S12), be inserted on the mainboard with manual type again, carry out follow-up flow processs such as functional test; In the ablation process of general bios software; the user must differentiate the bios software which version the pairing storer of computer system motherboard should write voluntarily; but usually can be because of user's maloperation; the bios software of wrong version is written in the storer; make the normally start of the pairing mainboard of this storer, cause computer system to start shooting.At this moment after just the storer of computer system motherboard need being dismantled, write the bios software of right version more separately.By the above-mentioned existing practice as can be known, this existing writing mode not only makes the computer system can't normal operation easily, for the user unhandy problem is arranged more.
In sum, how to provide bios software that the user writes right version easily in storer, reach the purpose of the normal operation of computer system, become problem demanding prompt solution.
Summary of the invention
For overcoming above-mentioned prior art problems, fundamental purpose of the present invention is to provide a kind of method that prevents software write-in error, provides the user conveniently to carry out Basic Input or Output System (BIOS) software and writes.
Another object of the present invention is that a kind of method that prevents software write-in error is being provided, and the pairing device of this Basic Input or Output System (BIOS) software of avoiding the Basic Input or Output System (BIOS) software write-in error to cause moves abnormal facts and takes place.
For taking off on reaching and other purpose, the method for software write-in error that prevents of the present invention comprises: make this Basic Input or Output System (BIOS) software and this storage unit respectively be provided with a pair of identification code that should install; And before execution writes, judge whether this Basic Input or Output System (BIOS) software is identical with the identification code of this storage unit, if, then this Basic Input or Output System (BIOS) software is written to this storage unit, if not, then do not carry out write activity.
The another kind of method of software write-in error that prevents of the present invention comprises: (1) makes this Basic Input or Output System (BIOS) software and this storer respectively be provided with a pair of identification code that should machine; (2) carry out this write-in program; (3) judge whether this Basic Input or Output System (BIOS) software is identical with the identification code of this storer, if, then enter step (4), if not, then enter step (5); (4) this Basic Input or Output System (BIOS) software is written to this storer, and enters step (5); And (5) finish this write-in program.
Another this method of method part of software write-in error that prevents of the present invention comprises: (1) makes this Basic Input or Output System (BIOS) software and this storer respectively be provided with a pair of identification code that should the mainboard machine; (2) carry out this write-in program; (3) judge whether this Basic Input or Output System (BIOS) software is identical with the identification code of this storer, if, then proceed to step (4), if not, then proceed to step (5); (4) this Basic Input or Output System (BIOS) software is written to this storer, and enters step (5); And (5) finish this write-in program.
Compare with existing wiring method, the present invention is that the identification code of use device is arranged in Basic Input or Output System (BIOS) software and the storage unit simultaneously, and before writing, carry out the contrast of identification code earlier, if it is identical, carry out write activity again, not only can make the pairing device operation of this Basic Input or Output System (BIOS) software normal, can guarantee that more the user writes easily, the pairing device of avoiding software write-in error to cause moves abnormal facts and takes place.
Description of drawings
Fig. 1 is the existing operation workflow that writes the method for software;
Fig. 2 is the operation workflow that the present invention prevents the method for software write-in error; And
Fig. 3 (A) and Fig. 3 (B) are block schematic diagrams, are the mutual relationships that expression the present invention prevents each element of method of software write-in error.
Embodiment
Embodiment
Fig. 2 is the operational scheme that the present invention prevents the method for software write-in error, and wherein accompanying drawing is the synoptic diagram of simplification, and basic structure of the present invention only is described in a schematic way.Therefore, only show the literal relevant in the accompanying drawings, and shown literal only is used for signal with the present invention.
Fig. 2 is the method that the present invention prevents software write-in error, and it provides in the correct storage unit that is written to its pairing device or machine of Basic Input or Output System (BIOS) software energy, makes this Basic Input or Output System (BIOS) software normally move.Wherein, storage unit is meant a kind of storer, and it can be flash memory (flash ROM) or programmable read-only memory (prom) or EROM (EPROM) or electrically-erasable ROM (read-only memory) (EEPROM) etc.
This method is at first carried out step S20, makes Basic Input or Output System (BIOS) software and storer be provided with an identification code.Please together cooperate Fig. 3 (shown in the A figure, this step is the identification code 100,110 that respectively is provided with corresponding intrument or machine 12 (being with machine 12 expressions among Fig. 3 (A)) earlier at Basic Input or Output System (BIOS) software 10 and storer 11, and identification code 110 is to utilize writing mode to be located at storer 11, AA machine storer 11 for example, promptly the particular address at storer 11 writes identification code 110 (AA character string), and also is provided with an identification code 100 (AA character string) at Basic Input or Output System (BIOS) software 10; Above-mentioned storer 11 is to be arranged on device or above-mentioned machine 12 pairing devices in built-in or external mode, and wherein, said apparatus is meant a mainboard, and machine 12 is meant the machine 12 of a mainboard (Mother Board).Then enter step S21.
This step S21 carries out write-in program.Please consult Fig. 3 (B) simultaneously, this step is before execution writes, and execution write-in program 13, and this write-in program 13 earlier is provided in a side of one and writes on the machine, and writing facility has display screen, for user's interpretation relevant information, then enters step S21.
This step S22, whether Basic Input or Output System (BIOS) software is identical with the identification code of storer.Please consult Fig. 3 (B) simultaneously, this step is to judge by above-mentioned write-in program 13 whether Basic Input or Output System (BIOS) software 10 is identical with the identification code 100,110 of storer 11, identical if (identification code 100=identification code 110), then enter step S23, if (identification code 100 ≠ identification code 110) inequality then enters step S24.
This step S23 writes.Please consult Fig. 3 (B) simultaneously, this step is when to be Basic Input or Output System (BIOS) software 10 identical with the identification code of storer 11 100,110, and write-in program 13 is about to this Basic Input or Output System (BIOS) software 10 and is written in the storer 11, and enters step S24.
This step S24 finishes write-in program.Please consult Fig. 3 (B) simultaneously, this step is the identification code 100 of Basic Input or Output System (BIOS) software 10 and storer 11,110 when inequality or Basic Input or Output System (BIOS) software 10 be written in the storer 11, then finish write-in program 13, wherein, the identification code 100 of Basic Input or Output System (BIOS) software 10 and storer 11,110 when inequality, write-in program 13 can be sent rub-out signal to the machine of writing, make this display screen that writes machine show error message, user's interpretation is also carried out Basic Input or Output System (BIOS) software 10 or storer 11 displacement actions, and Basic Input or Output System (BIOS) software 10 can be written in the storer 11 of its pairing device or machine with correct write-in program 13.
The method that prevents software write-in error of the present invention is to utilize that to be arranged on simultaneously basic input defeated Go out the identification code of systems soft ware and memory, and before writing, do earlier the contrast of identification code, if phase With, just write, not only can make the corresponding device fortune of this basic input output system software Row is normal, the advantage that more provides the user conveniently to write.

Claims (21)

1. a method that prevents software write-in error makes in the correct storage unit that is written to its corresponding intrument of Basic Input or Output System (BIOS) software energy, and this Basic Input or Output System (BIOS) software can normally move, and it is characterized in that, this method comprises:
Make this Basic Input or Output System (BIOS) software and this storage unit respectively be provided with a pair of identification code that should install;
Before execution writes, judge whether this Basic Input or Output System (BIOS) software is identical with the identification code of this storage unit, if, then this Basic Input or Output System (BIOS) software is written to this storage unit, if not, then do not carry out write activity.
2. the method that prevents software write-in error as claimed in claim 1 is characterized in that this device is a mainboard.
3. the method that prevents software write-in error as claimed in claim 1 is characterized in that, this identification code is to utilize writing mode to be located at this storage unit.
4. the method that prevents software write-in error as claimed in claim 1 is characterized in that, this storage unit is arranged on this device in built-in or external mode.
5. the method that prevents software write-in error as claimed in claim 1 is characterized in that, this Basic Input or Output System (BIOS) software is to be written to this storage unit by write-in program.
6. the method that prevents software write-in error as claimed in claim 5 is characterized in that, the identification code of this Basic Input or Output System (BIOS) software and this storage unit whether carry out by this write-in program by identical determining step.
7. as claim 5 or the 6 described methods that prevent software write-in error, it is characterized in that this write-in program is provided in a side of on the machine of writing, and this writes facility display screen is arranged.
8. the method that prevents software write-in error as claimed in claim 7, it is characterized in that, when the identification code of this Basic Input or Output System (BIOS) software and this storer was inequality, this write-in program can write machine to this and send rub-out signal, made this display screen show error message.
9. as claim 1 or 3 or 4 or the 5 or 6 described methods that prevent software write-in error, it is characterized in that this storage unit is in flash memory, programmable read only memory, EROM, the electrically-erasable ROM (read-only memory).
10. method that prevents software write-in error, provide Basic Input or Output System (BIOS) software can be written to correct write-in program its in the storer of corresponding machine, make this Basic Input or Output System (BIOS) software software energy normal operation, it is characterized in that this method comprises:
(1) make this Basic Input or Output System (BIOS) software and this storer respectively be provided with a pair of identification code that should machine;
(2) carry out this write-in program;
(3) judge whether this Basic Input or Output System (BIOS) software is identical with the identification code of this storer, if, then enter step (4), if not, then enter step (5);
(4) this Basic Input or Output System (BIOS) software is written to this storer, and enters step (5); And
(5) finish this write-in program.
11. the method that prevents software write-in error as claimed in claim 10 is characterized in that, this identification code is to utilize writing mode to be located at this storer.
12. the method that prevents software write-in error as claimed in claim 10 is characterized in that, the identification code of this Basic Input or Output System (BIOS) software and this storer whether carry out by this write-in program by identical determining step.
13. as claim 10 or the 12 described methods that prevent software write-in error, it is characterized in that this write-in program is provided in a side of the machine of writing, and this writes facility one display screen is arranged.
14. the method that prevents software write-in error as claimed in claim 13, it is characterized in that, when the identification code of this Basic Input or Output System (BIOS) software and this storer was inequality, this write-in program can write machine to this and send rub-out signal, made this display screen show error message.
15., it is characterized in that this storer is in flash memory, programmable read only memory, EROM, the electrically-erasable ROM (read-only memory) as claim 10 or the 11 or 12 described methods that prevent software write-in error.
16. method that prevents software write-in error, provide Basic Input or Output System (BIOS) software can be written to correct write-in program its in the storer of corresponding mainboard machine, make this Basic Input or Output System (BIOS) software energy normal operation, it is characterized in that this method comprises:
(1) make this Basic Input or Output System (BIOS) software and this storer respectively be provided with a pair of identification code that should the mainboard machine;
(2) carry out this write-in program;
(3) judge whether this Basic Input or Output System (BIOS) software is identical with the identification code of this storer, if, then proceed to step (4), if not, then proceed to step (5);
(4) this Basic Input or Output System (BIOS) software is written to this storer, and enters step (5); And
(5) finish this write-in program.
17. the method that prevents software write-in error as claimed in claim 16 is characterized in that, this identification code is to utilize writing mode to be located at this storer.
18. the method that prevents software write-in error as claimed in claim 16 is characterized in that, the identification code of this Basic Input or Output System (BIOS) software and this storer whether carry out by this write-in program by identical determining step.
19. as claim 16 or the 18 described methods that prevent software write-in error, it is characterized in that this write-in program is provided in a side of the machine of writing, and this writes facility one display screen is arranged.
20. the method that prevents software write-in error as claimed in claim 19, it is characterized in that, when the identification code of this Basic Input or Output System (BIOS) software and this storer was inequality, this write-in program can write machine to this and send rub-out signal, made this display screen show error message.
21., it is characterized in that this storer is in flash memory, programmable read only memory, EROM, the electronics EROM as claim 16 or the 17 or 18 described methods that prevent software write-in error.
CNB2005100025372A 2005-01-20 2005-01-20 Method for preventing software write-in error Expired - Fee Related CN100405321C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100025372A CN100405321C (en) 2005-01-20 2005-01-20 Method for preventing software write-in error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100025372A CN100405321C (en) 2005-01-20 2005-01-20 Method for preventing software write-in error

Publications (2)

Publication Number Publication Date
CN1808396A CN1808396A (en) 2006-07-26
CN100405321C true CN100405321C (en) 2008-07-23

Family

ID=36840305

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100025372A Expired - Fee Related CN100405321C (en) 2005-01-20 2005-01-20 Method for preventing software write-in error

Country Status (1)

Country Link
CN (1) CN100405321C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874425A (en) * 2018-06-26 2018-11-23 郑州云海信息技术有限公司 Configuration file update method, device, baseboard management controller and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745568A (en) * 1995-09-15 1998-04-28 Dell Usa, L.P. Method of securing CD-ROM data for retrieval by one machine
WO1999026123A1 (en) * 1997-11-18 1999-05-27 Christopher Benjamin Wakely Improvements relating to software protection systems
CN1383063A (en) * 2001-04-25 2002-12-04 Lg电子株式会社 Installation method of device drive program
CN1422404A (en) * 2000-02-14 2003-06-04 英特尔公司 Modular BIOS update mechanism
CN1517890A (en) * 2003-01-21 2004-08-04 株式会社东芝 Storing device and equipment and method for writing data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745568A (en) * 1995-09-15 1998-04-28 Dell Usa, L.P. Method of securing CD-ROM data for retrieval by one machine
WO1999026123A1 (en) * 1997-11-18 1999-05-27 Christopher Benjamin Wakely Improvements relating to software protection systems
CN1422404A (en) * 2000-02-14 2003-06-04 英特尔公司 Modular BIOS update mechanism
CN1383063A (en) * 2001-04-25 2002-12-04 Lg电子株式会社 Installation method of device drive program
CN1517890A (en) * 2003-01-21 2004-08-04 株式会社东芝 Storing device and equipment and method for writing data

Also Published As

Publication number Publication date
CN1808396A (en) 2006-07-26

Similar Documents

Publication Publication Date Title
TWI386852B (en) System for switching bios and method thereof
US20150186161A1 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
US20070168738A1 (en) Power-on error detection system and method
CN106547653B (en) Computer system fault state detection method, device and system
US20090300588A1 (en) Method and apparatus for acquiring definitions of debug code of basic input/output system
TW201416853A (en) Method and system for cloud testing and remote monitoring of integrated circuit device in validation of computerized system
US20130268744A1 (en) Method for detecting hardware
CN103593269A (en) Automatic cyclic test method of restart pressure of multiple PCIe devices
US20100049961A1 (en) Update method for basic input/output system and update system thereof
CN110058973B (en) Test system and test method for data storage device
US8892856B2 (en) Firmware flashing method and related computer system
CN100367226C (en) Method for realizing parts detection utilizing intelligent equipment firmware
US6625728B1 (en) Method and apparatus for locating and displaying a defective component in a data processing system during a system startup using location and progress codes associated with the component
CN110096882B (en) Safety measurement method in equipment operation process
US20100146159A1 (en) Memory Flash Apparatus and Method For Providing Device Upgrades Over A Standard Interface
CN104657232A (en) BIOS automatic recovery system and BIOS automatic recovery method
CN100405321C (en) Method for preventing software write-in error
WO2020113469A1 (en) Power on self test method, power on self test device and mobile terminal
CN112231704B (en) Trusted network environment protection method, device and computer readable storage medium
US11249661B2 (en) Information processing apparatus, control method, and program
US20070169117A1 (en) Firmware loading device
CN115129384A (en) Electronic equipment and running method of starting program of electronic equipment
CN108279991B (en) Method for quickly positioning problem of computer equipment halt rate
CN102243601B (en) Debugging system and relevant method for detecting and controlling state of computer host
CN110008105A (en) A kind of BMC time reservation method, device and electronic equipment and storage medium

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080723

Termination date: 20110120