CN1808396A - Method for preventing software write-in error - Google Patents
Method for preventing software write-in error Download PDFInfo
- Publication number
- CN1808396A CN1808396A CN 200510002537 CN200510002537A CN1808396A CN 1808396 A CN1808396 A CN 1808396A CN 200510002537 CN200510002537 CN 200510002537 CN 200510002537 A CN200510002537 A CN 200510002537A CN 1808396 A CN1808396 A CN 1808396A
- Authority
- CN
- China
- Prior art keywords
- software
- write
- error
- storer
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Storage Device Security (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Disclosed is a method for preventing software writing errors which comprises: setting identifiers corresponding to device for software and storage units; judging whether the identifiers of the software and the storage units are same or not before writing, if they are same, writing the software into the storage unit, if not, not performing writing operation. Compared with prior writing method, the present invention employing device identifiers set in software and storage units, and comparing identifiers before writing, performing writing if same, which make device corresponding to the software work normally, ensure user writing conveniently and avoid software writing errors.
Description
Technical field
The invention relates to a kind of method that prevents software write-in error, particularly about a kind of Basic Input or Output System (BIOS) software (basic input output system that is applicable to; BIOS) prevent the method for write error.
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 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 avoiding 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 software and this storage unit respectively be provided with a pair of identification code that should install; And before execution writes, judge whether this software is identical with the identification code of this storage unit, if, then this 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 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 software is identical with the identification code of this storer, if, then enter step (4), if not, then enter step (5); (4) this 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 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 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 software energy, makes this 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 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 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 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, above-mentioned software is a Basic Input or Output System (BIOS) software (basic input output system; BIOS), 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 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 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 software 10 identical with the identification code of storer 11 100,110, and write-in program 13 is about to this 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 when to be software 10 with the identification code of storer 11 100,110 inequality or software 10 be written in the storer 11, then finish write-in program 13, wherein, when the identification code 100,110 of software 10 and storer 11 is 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 software 10 or storer 11 displacement actions, and software 10 can be written in the storer 11 of its pairing device or machine with correct write-in program 13.
Of the present inventionly prevent that the method for software write-in error from being to utilize the identification code that is arranged on software and storage unit simultaneously, and before writing, do the contrast of identification code earlier, if it is identical, just write, not only can make the pairing device operation of this software normal, the advantage that more provides the user conveniently to write.
Claims (25)
1. a method that prevents software write-in error makes in the correct storage unit that is written to its corresponding intrument of software energy, and this software can normally move, and it is characterized in that, this method comprises:
Make this software and this storage unit respectively be provided with a pair of identification code that should install;
Before execution writes, judge whether this software is identical with the identification code of this storage unit, if, then this 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 software is Basic Input or Output System (BIOS) software.
3. the method that prevents software write-in error as claimed in claim 1 or 2 is characterized in that this device is a mainboard.
4. 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.
5. 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.
6. the method that prevents software write-in error as claimed in claim 1 is characterized in that, this software is to be written to this storage unit by write-in program.
7. the method that prevents software write-in error as claimed in claim 6 is characterized in that, the identification code of this software and this storage unit whether carry out by this write-in program by identical determining step.
8. as claim 6 or the 7 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.
9. the method that prevents software write-in error as claimed in claim 8, 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.
10. the method that prevents software write-in error as claimed in claim 1 is characterized in that this storage unit is a storer.
11., it is characterized in that this storage unit is in flash memory, programmable read only memory, EROM, the electrically-erasable ROM (read-only memory) as claim 1 or 4 or 5 or 6 or the 7 or 10 described methods that prevent software write-in error.
12. a method that prevents software write-in error, provide software can be written to correct write-in program its in the storer of corresponding machine, make this software can normal operation, it is characterized in that this method comprises:
(1) make this 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 software is identical with the identification code of this storer, if, then enter step (4), if not, then enter step (5);
(4) this software is written to this storer, and enters step (5); And
(5) finish this write-in program.
13. the method that prevents software write-in error as claimed in claim 12 is characterized in that, this software is Basic Input or Output System (BIOS) software.
14., it is characterized in that this machine is meant the machine of mainboard as claim 12 or the 13 described methods that prevent software write-in error.
15. the method that prevents software write-in error as claimed in claim 12 is characterized in that, this identification code is to utilize writing mode to be located at this storer.
16. the method that prevents software write-in error as claimed in claim 12 is characterized in that, the identification code of this software and this storer whether carry out by this write-in program by identical determining step.
17. as claim 12 or the 16 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.
18. the method that prevents software write-in error as claimed in claim 17, 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.
19., 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 12 or the 15 or 16 described methods that prevent software write-in error.
20. 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.
21. the method that prevents software write-in error as claimed in claim 20 is characterized in that, this identification code is to utilize writing mode to be located at this storer.
22. the method that prevents software write-in error as claimed in claim 20 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.
23. as claim 20 or the 22 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.
24. the method that prevents software write-in error as claimed in claim 23, 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.
25., it is characterized in that this storer is in flash memory, programmable read only memory, EROM, the electronics EROM as claim 20 or the 21 or 22 described methods that prevent software write-in error.
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 true CN1808396A (en) | 2006-07-26 |
CN100405321C 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) |
Cited By (1)
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 |
Family Cites Families (5)
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 |
US7213152B1 (en) * | 2000-02-14 | 2007-05-01 | Intel Corporation | Modular bios update mechanism |
KR100671153B1 (en) * | 2001-04-25 | 2007-01-17 | 엘지전자 주식회사 | Method for installing a device driver |
JP2004246866A (en) * | 2003-01-21 | 2004-09-02 | Toshiba Corp | Storage device, device for writing data and the like, and writing method |
-
2005
- 2005-01-20 CN CNB2005100025372A patent/CN100405321C/en not_active Expired - Fee Related
Cited By (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN100405321C (en) | 2008-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9158628B2 (en) | Bios failover update with service processor having direct serial peripheral interface (SPI) access | |
US20100058314A1 (en) | Computer System and Related Method of Logging BIOS Update Operation | |
TWI465901B (en) | Method and system for verification of computerized systems for cloud testing and remote monitoring of integrated circuit devices | |
US9262283B2 (en) | Method for reading kernel log upon kernel panic in operating system | |
CN111221800B (en) | Database migration method and device, electronic equipment and storage medium | |
US20090300588A1 (en) | Method and apparatus for acquiring definitions of debug code of basic input/output system | |
CN110718264A (en) | Method and device for testing information of solid state disk, computer equipment and storage medium | |
US20130268744A1 (en) | Method for detecting hardware | |
CN101634960A (en) | Method for revising BIOS parameter and regenerating checksum | |
US20100049961A1 (en) | Update method for basic input/output system and update system thereof | |
US8909989B2 (en) | Method for outputting power-on self test information, virtual machine manager, and processor | |
US8122293B2 (en) | Method for automatically simulating manual testing of a computer, and testing system for performing the method | |
CN100454269C (en) | Automatic restoring method and system for basic input and output system | |
TWI515557B (en) | Computer system and control method | |
US9870220B2 (en) | Memory flash apparatus and method for providing device upgrades over a standard interface | |
CN104572143A (en) | Startup detection system and method for computer | |
CN113315675B (en) | White box switch U-Boot automatic testing method, system and storage medium | |
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 | |
US20040225874A1 (en) | Method for reduced BIOS boot time | |
CN113377586B (en) | Automatic detection method and device for server and storage medium | |
CN110096882B (en) | Safety measurement method in equipment operation process | |
CN104657232A (en) | BIOS automatic recovery system and BIOS automatic recovery method | |
CN1991754A (en) | Information displaying system and method | |
CN1808396A (en) | Method for preventing software write-in error | |
CN104142843A (en) | System power-on failure diagnosis method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080723 Termination date: 20110120 |