CN1801083A - Program code write-in method and system capable of automatically judging computer platform type - Google Patents
Program code write-in method and system capable of automatically judging computer platform type Download PDFInfo
- Publication number
- CN1801083A CN1801083A CN 200410103161 CN200410103161A CN1801083A CN 1801083 A CN1801083 A CN 1801083A CN 200410103161 CN200410103161 CN 200410103161 CN 200410103161 A CN200410103161 A CN 200410103161A CN 1801083 A CN1801083 A CN 1801083A
- Authority
- CN
- China
- Prior art keywords
- computer platform
- unit
- write
- code
- identification code
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a program code writing method and system of self-judgment computer platform pattern, which consists of identification code embedded unit and writing disposal unit to conform to the writing equipment in advance, wherein the writing disposal unit contains written data storing mode, identification code reading mode, written data extraction mode and written data writing mode at least; the system can judge different kinds of computer platform pattern automatically, which writes the corresponding programmed code data to the programmed storage unit. The invention prevents the man-made mistake from incorrect BIOS program code in the host unit of computer platform, which improves the reliability and manufacturing efficiency of computer host circuit board.
Description
Technical field
The invention relates to a kind of computer systems technology, particularly about a kind of program code write-in method and system of automatic judgement computer platform type, be applied on the main computer unit (a for example computer host circuit plate) of computer platform and this computer platform host unit and have a programmable storage unit (for example being a flash cell), with the batch processing sign indicating number, for example one group of BIOS (Basic Input/Output System) system program sign indicating number is written to this programmable storage unit; Its characteristics are to judge automatically the type of various computing machine platform, automatically different procedure codes are written to the programmable storage unit.
Background technology
BIOS (Basic Input/Output System) is that a kind of system that adopts in the personal computer platform or the webserver exports into control program, be used for the interface between operating system and each nextport hardware component NextPort and each peripheral unit, allow computer platform can control these nextport hardware component NextPorts and peripheral unit by operating system, the function of utilizing it to provide.
On concrete enforcement, the bios program sign indicating number is common in advance by the specification of programmer according to computer platform, and it is formulated as the batch processing sign indicating number; Then can be when reality be made computer platform host unit (being the computer host circuit plate), the bios program sign indicating number that this computer platform host unit is required is after downloading, be written to the storer of a programmable on the computer platform host unit, for example in the flash memory (flash memory).
In practical application, computing machine is made the computer platform that manufacturer often will make multiple different size type simultaneously, therefore need write different bios program sign indicating numbers respectively on the computer platform of these different size types.At this problem, the practice at present commonly used then selects for use the required bios program sign indicating number of each type to carry out write-in program according to its judged result for differentiating the type of each computer platform by the manufacturing engineer with artificial visual type again.
Yet being, a shortcoming of the above-mentioned practice have the computer platform of multiple different type of machines to have the identical appearance design of being close to, manufacturing engineer's type of distinguishing each computer platform with visual type has certain degree of difficulty in the case, is easy to select incorrect bios program sign indicating number for use because of erroneous judgement and carries out write-in program.If incorrect bios program sign indicating number is written to a computer platform, this computer platform can't normally be moved and becomes flaw product.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of program code write-in method and system of automatic judgement computer platform type, can judge the type of computer platform automatically, the bios program sign indicating number with one group of correspondence is written in the BIOS storer of this computer platform automatically.
The program code write-in method of automatic judgement computer platform type of the present invention and system have a programmable storage unit (a for example flash cell) on the main computer unit (a for example computer host circuit plate) that is applied in computer platform and this computer platform host unit, with the batch processing sign indicating number, for example one group of BIOS (Basic Input/Output System) system program sign indicating number is written to this programmable storage unit.
The procedure code writing system of automatic judgement computer platform type of the present invention comprises: an identification code embeds the unit, be integrated into various types of computer platform hosts unit in advance, in various types of computer platform hosts unit, embed the identification code of a uniqueness respectively; And one write processing unit, is integrated into this write device in advance, and wherein, this writes processing unit and comprises at least:
One writes the data storage module, and depositing polytype computer platform host unit in advance needs many groups procedure code data of writing respectively; One identification code read module when reality is carried out write-in program to a computer platform host unit, reads the identification code of the identification code merge module demonstration of integrating in advance in this computer platform host unit; One writes data extraction module, and the identification code that can read according to this identification code read module writes the digital data that extract one group of correspondence the data storage module according to a predetermined corresponding relation from this; And one write the data writing module, this can be write the procedure code that data extraction module extracts and be written to this programmable storage unit.
The program code write-in method of automatic judgement computer platform type of the present invention comprises: the identification code that embeds a uniqueness in advance in various types of computer platform hosts unit respectively; In this write device, deposit polytype computer platform host unit in advance and need many groups procedure code of writing respectively; When reality is carried out write-in program to a computer platform host unit, read the identification code that embeds in advance in this computer platform host unit; According to the identification code that reads, from the many groups procedure code data that prestores, extract the procedure code of one group of correspondence according to a predetermined corresponding relation; And the procedure code that extracts is written to this programmable storage unit.
The program code write-in method of automatic judgement computer platform type of the present invention and the characteristics of system are to judge automatically the type of various computing machine platform, and the procedure code with correspondence is written to the programmable storage unit automatically.These characteristics can be avoided because of artificial erroneous judgement is written to the main computer unit of computer platform with incorrect bios program sign indicating number, make that therefore the manufacturing of computer host circuit plate is more reliable and promote production efficiency.
Description of drawings
Fig. 1 is a system architecture synoptic diagram, shows the application structure of procedure code writing system of automatic judgement computer platform type of the present invention and the basic structure of Object Oriented OO component model thereof;
Fig. 2 A is an application synoptic diagram, shows an application example of the procedure code writing system of automatic judgement computer platform type of the present invention, and
Fig. 2 B is an application synoptic diagram, shows the Another application example of the procedure code writing system of automatic judgement computer platform type of the present invention.
Embodiment
Embodiment
Below be conjunction with figs., the program code write-in method of detailed automatic judgement computer platform type of the present invention and the embodiment of system.
Fig. 1 promptly shows the system applies structure of procedure code writing system (part that comprises as the frame of broken lines of label 30 indications) of automatic judgement computer platform type of the present invention and the basic structure of Object Oriented OO component model (object-oriented component model) thereof.As shown in the figure, the procedure code writing system 30 of automatic judgement computer platform type of the present invention, be that collocation has a programmable storage unit (a for example flash cell) 11 in the practical application to the main computer unit 10 (for example host circuit board of this computer platform) of a write device 20 and a computer platform and this computer platform host unit 10, with the batch processing sign indicating number, for example one group of BIOS (BasicInput/Output System) procedure code is written to this programmable storage unit 11 by this write device 20.The characteristics of the procedure code writing system 30 of automatic judgement computer platform type of the present invention are to judge automatically the particular type of this computer platform host unit 10, and automatic batch processing sign indicating number with correspondence is written to the programmable storage unit 11 on it.
Fig. 2 A and Fig. 2 B show respectively the procedure code writing system 30 of automatic judgement computer platform type of the present invention be applied in 2 kinds of dissimilar computer platform host unit (herein respectively with label 10 ', 10 " expression) time example.
Shown in Fig. 2 A, suppose the computer host circuit plate that computer platform host unit 10 ' be NVIDIA company produces, the procedure code writing system 30 of automatic judgement computer platform type of the present invention can judge automatically this computer platform host unit 10 ' particular type be " NVIDIA ", automatically one group of NVIDIA bios program sign indicating number 201a of correspondence is written to programmable storage unit 11 on it '.Again then shown in Fig. 2 B, suppose computer platform host unit 10 " being the computer host circuit plate that INTEL Corp. produces; the procedure code writing system 30 of automatic judgement computer platform type of the present invention; can judge this computer platform host unit 10 " particular type be " INTEL automatically ", automatic one group of INTEL bios program sign indicating number 201b with correspondence is written to the programmable storage unit 11 on it " (annotating in the application example shown in Fig. 2 A and Fig. 2 B; be the explanation of presenting a demonstration property of example with 2 kinds of computer host circuit plates only; in practical application, the present invention is also applicable to polytype computer host circuit plate).
As shown in Figure 1, the Object Oriented OO component model of the procedure code writing system 30 of automatic judgement computer platform type of the present invention (object-oriented component model) comprises 2 distributed unit at least: an identification code embeds unit 100 and and writes processing unit 200; Wherein this identification code embed unit 100 be integrated in advance various types of computer platform hosts unit 10 ', 10 ", writing 200 of processing units is to be integrated into write device 20.The inner structure that writes processing unit 200 comprises: (a) one write deposit data module 201; (b) an identification code read module 210; (c) one write data extraction module 220; And (d) one write data writing module 230.On concrete enforcement, this writes processing unit 200 and can realize with computer program fully, and this computer program is integrated into write device 20.
Identification code embed unit 100 be integrated in advance various types of computer platform hosts unit 10 ', 10 "; be used in various dissimilar computer platform host unit 10 ', 10 " embed the identification code of a uniqueness in advance respectively, for example be pre-written into its programmable storage unit 11 ', 11 " on.For instance, if computer platform host unit 10 ' be the computer host circuit plate that a NVIDIA company produces, then identification code embed unit 100 can for example character string [NVIDIA] be pre-written in advance programmable storage unit 11 on it ' in a particular address as its identification code; If computer platform host unit 10 " be the computer host circuit plate that an INTEL Corp. produces, then identification code embed unit 100 can be in advance for example character string [INTEL] be pre-written into programmable storage unit 11 on it ' in a particular address as its identification code.
Write data storage module 201 be used for depositing in advance various dissimilar computer platform host unit 10 ', 10 " on programmable storage unit 11 ', 11 " the procedure code data that needs respectively, for example comprise that one group of NVIDIABIOS procedure code 201a and one group of INTEL bios program sign indicating number 201b (annotate in application example shown in Figure 1, be the explanation of presenting a demonstration property of example only with 2 groups of procedure code 201a, 201b, in practical application, the number of the procedure code data of depositing in the program code storage module 201 is also unrestricted).
Identification code read module 210 can reality to various dissimilar computer platform host unit 10 ', 10 " on programmable storage unit 11 ', 11 " when carrying out write-in program, at first read programmable storage unit 11 on it ', 11 " in the identification code that embeds in advance embed the identification code data that unit 100 shows.
Write the identification code that data extraction module 220 can read according to above-mentioned identification code read module 210, write from this according to a predetermined corresponding relation and extract the pairing batch processing sign indicating number of this identification code the data storage module 201.For instance, if the identification code that reads is [NVIDIA], then from write deposit data module 201, extract corresponding NVIDIABIOS procedure code 201a; If the identification code that reads is [INTEL], then from write deposit data module 201, extract corresponding INTEL bios program sign indicating number 201b.
Write data writing module 230 and can write the procedure code (201a or 201b) that data extraction module 120 extracts from write data storage module 201 above-mentioned, by write device 20 be written to the computer platform host unit (10 ' or 10 ") on programmable storage unit (11 ' or 11 ").In addition, if the procedure code (201a or 201b) that extracts from write data storage module 201 is a compressed file, then writing data writing module 230 can at first carry out a gunzip to it, the data that writes after will decompressing again be written to the computer platform host unit (10 ' or 10 ") on programmable storage unit (11 ' or 11 ").
In practical application, the procedure code writing system 30 of supposing automatic judgement computer platform type of the present invention is applied in NVIDIA bios program sign indicating number and INTEL bios program sign indicating number, be written to respectively the dissimilar computer platform host unit 10 of 2 kinds shown in Fig. 2 A and Fig. 2 B ', 10 ' ' in.
Please consult Fig. 1 and Fig. 2 A simultaneously, the process of the program code write-in method of automatic judgement computer platform type of the present invention is: in advance various types of computer platform hosts unit 10 ', 10 " in embed the identification code of a uniqueness respectively; In this write device 20, deposit in advance polytype computer platform host unit 10 ', 10 " need many groups procedure code (201a or 201b) data of writing respectively.
When the procedure code writing system 30 of automatic judgement computer platform type of the present invention snaps into the 10 ' time of computer platform host unit shown in Fig. 2 A at write device 20, promptly can at first make identification code read module 210 read out this computer platform host unit 10 ' on programmable storage unit 11 ' in the identification code [NVIDIA] that embeds in advance, and the identification code [NVIDIA] that reads out sent to write data extraction module 220, order writes data extraction module 220 and writes from this and extract one group of corresponding NVIDIABIOS procedure code 201a of this identification code [NVIDIA] deposit data module 201, and then order write data writing module 230 with the NVIDIA bios program sign indicating number 201a that extracts by write device 20 be written to programmable storage unit 11 '.
Then please consult Fig. 1 and Fig. 2 B simultaneously, when the procedure code writing system 30 of automatic judgement computer platform type of the present invention snaps into the computer platform host unit 10 shown in Fig. 2 B at write device 20 " time; promptly can at first make identification code read module 210 read out the identification code [INTEL] that embeds in advance in this computer platform host unit 10 " on programmable storage unit 11 "; and the identification code [INTEL] that reads out sent to write data extraction module 220; order writes data extraction module 220 and writes from this and extract one group of corresponding INTEL bios program sign indicating number 201b of this identification code [INTEL] deposit data module 201, and then order writes data writing module 230 the INTEL bios program sign indicating number 201b that extracts is write to programmable storage unit 11 by write device 20 ".
Generally speaking, the invention provides a kind of program code write-in method and system of automatic judgement computer platform type of novelty, can be applicable on computer platform host unit and this computer platform host unit and have a programmable storage unit, be used for the batch processing sign indicating number is written to this programmable storage unit; And its characteristics are to judge automatically the type of various computing machine platform, and automatic procedure code with correspondence is written to the programmable storage unit on it.These characteristics can be avoided because of artificial erroneous judgement, and incorrect bios program sign indicating number is written to the main computer unit of computer platform, therefore can make the manufacturing of computer host circuit plate more reliable and promote production efficiency.Therefore the present invention has better progressive and practicality than prior art.
Claims (8)
1. program code write-in method of automatically judging the computer platform type, be applied on a write device and a computer platform host unit and this computer platform host unit and have a programmable storage unit, be used for providing a data write-in program to this programmable storage unit, it is characterized in that this program code write-in method of judging the computer platform type automatically comprises at least:
In various types of computer platform hosts unit, embed the identification code of a uniqueness in advance respectively;
In this write device, deposit polytype computer platform host unit in advance and need many groups procedure code of writing respectively;
When reality is carried out write-in program to a computer platform host unit, read the identification code that embeds in advance in this computer platform host unit;
According to the identification code that reads, from the many groups procedure code data that prestores, extract the procedure code of one group of correspondence according to a predetermined corresponding relation; And
The procedure code that extracts is written to this programmable storage unit.
2. the program code write-in method of automatic judgement computer platform type as claimed in claim 1 is characterized in that, this polytype computer platform host unit is respectively a computer host circuit plate.
3. the program code write-in method of automatic judgement computer platform type as claimed in claim 1 is characterized in that, these programmable storage unit are respectively flash memories.
4. the program code write-in method of automatic judgement computer platform type as claimed in claim 1 is characterized in that, these procedure code data are respectively the bios program sign indicating numbers.
5. procedure code writing system of automatically judging the computer platform type, can arrange in pairs or groups and to a write device and a computer platform host unit and this computer platform host unit, have a programmable storage unit, be used for providing a procedure code write-in program to this programmable storage unit, it is characterized in that this procedure code writing system of judging the computer platform type automatically comprises at least:
One identification code embeds the unit, is integrated into various types of computer platform hosts unit in advance, embeds the identification code of a uniqueness in various types of computer platform hosts unit respectively; And
One writes processing unit, is integrated into this write device in advance, and this writes processing unit and comprises at least:
One writes the data storage module, and depositing polytype computer platform host unit in advance needs many groups procedure code data of writing respectively;
One identification code read module when reality is carried out write-in program to a computer platform host unit, reads the identification code of the identification code merge module demonstration of integrating in advance in this computer platform host unit;
One writes data extraction module, and the identification code that can read according to this identification code read module writes the digital data that extract one group of correspondence the data storage module according to a predetermined corresponding relation from this; And
One writes the data writing module, this can be write the procedure code that data extraction module extracts and be written to this programmable storage unit.
6. the procedure code writing system of automatic judgement computer platform type as claimed in claim 5 is characterized in that, this polytype computer platform host unit is respectively a computer host circuit plate.
7. the procedure code writing system of automatic judgement computer platform type as claimed in claim 5 is characterized in that, these programmable storage unit are respectively flash memories.
8. the procedure code writing system of automatic judgement computer platform type as claimed in claim 5 is characterized in that, these procedure code data are respectively the bios program sign indicating numbers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200410103161XA CN100347670C (en) | 2004-12-31 | 2004-12-31 | Program code write-in method and system capable of automatically judging computer platform type |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200410103161XA CN100347670C (en) | 2004-12-31 | 2004-12-31 | Program code write-in method and system capable of automatically judging computer platform type |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1801083A true CN1801083A (en) | 2006-07-12 |
CN100347670C CN100347670C (en) | 2007-11-07 |
Family
ID=36811114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200410103161XA Expired - Fee Related CN100347670C (en) | 2004-12-31 | 2004-12-31 | Program code write-in method and system capable of automatically judging computer platform type |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100347670C (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101587444A (en) * | 2008-05-21 | 2009-11-25 | 恩益禧电子股份有限公司 | Identification information management system and method for microcomputer |
CN101582034B (en) * | 2008-05-14 | 2011-12-14 | 英业达股份有限公司 | Servo device and servo method for sharing basic input-output system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1211735C (en) * | 2002-06-26 | 2005-07-20 | 联想(北京)有限公司 | Hardware equipment drive program installing method and computer therefor |
CN1261876C (en) * | 2002-08-23 | 2006-06-28 | 技嘉科技股份有限公司 | Device with function of updating and detecting BIOS |
-
2004
- 2004-12-31 CN CNB200410103161XA patent/CN100347670C/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582034B (en) * | 2008-05-14 | 2011-12-14 | 英业达股份有限公司 | Servo device and servo method for sharing basic input-output system |
CN101587444A (en) * | 2008-05-21 | 2009-11-25 | 恩益禧电子股份有限公司 | Identification information management system and method for microcomputer |
Also Published As
Publication number | Publication date |
---|---|
CN100347670C (en) | 2007-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111538461B (en) | Data reading and writing method and device based on solid state disk cache and storage medium | |
CN101038566A (en) | Computer diagnose testing system | |
CN1916876A (en) | Method for burning chip | |
CN103810099A (en) | Code tracing method and code tracing system | |
US20070094427A1 (en) | System and method for verifying the coupled locations of computer devices | |
CN1317846C (en) | Method of realizing internal external network physical partition and its device | |
CN100347670C (en) | Program code write-in method and system capable of automatically judging computer platform type | |
CN101196959A (en) | Check support apparatus and computer product | |
CN1811768A (en) | Systems and methods for reconciling image metadata | |
CN107423075A (en) | The register method and user terminal of driving | |
CN104090833A (en) | Server and signal analysis device thereof | |
CN1088868C (en) | Patch device for program in embedded microprocessor system | |
CN1610894A (en) | Method and apparatus for modifying the contents of a revision identification register | |
CN1135800A (en) | Microcontroller with a reconfigurable program status word | |
CN1245682C (en) | Computer chip data write-in device and method | |
CN200983002Y (en) | Power supply status display device | |
CN1165844C (en) | Method for determining software module testing information of digital equipment | |
CN1122215C (en) | Method for loading driver | |
CN1248094C (en) | Mouse device capable of storing data | |
CN1940888A (en) | Computer program testing method | |
CN1567226A (en) | Test system and method for general purpose serial interface | |
CN2874629Y (en) | Error insert analogue device of computer test | |
CN1595537A (en) | A system for simulating physical damage of NAND flash memory and method thereof | |
CN1567229A (en) | Method for dynamically establishing high-level configuration and power source interface architecture | |
CN109933434A (en) | Electronic device and the method for extending peripheral equipment |
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: 20071107 Termination date: 20101231 |