CN110399164A - Main frame device and its method for automatically selecting customized program - Google Patents
Main frame device and its method for automatically selecting customized program Download PDFInfo
- Publication number
- CN110399164A CN110399164A CN201810338437.4A CN201810338437A CN110399164A CN 110399164 A CN110399164 A CN 110399164A CN 201810338437 A CN201810338437 A CN 201810338437A CN 110399164 A CN110399164 A CN 110399164A
- Authority
- CN
- China
- Prior art keywords
- verification
- default
- control unit
- main frame
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012795 verification Methods 0.000 claims abstract description 104
- 125000004122 cyclic group Chemical group 0.000 claims description 5
- 238000012360 testing method Methods 0.000 claims description 4
- 230000008878 coupling Effects 0.000 claims description 2
- 238000010168 coupling process Methods 0.000 claims description 2
- 238000005859 coupling reaction Methods 0.000 claims description 2
- 238000001514 detection method Methods 0.000 claims 1
- 238000013524 data verification Methods 0.000 description 7
- 238000006073 displacement reaction Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Abstract
A kind of method that the present invention provides main frame device and its automatically selects customized program.The method include via a main frame device a control unit basic input output system procedure code is executed in a startup self-detection program with calculate the one of a brand mark data of basic input output system procedure code institute corresponding computer host apparatus verification and, control unit compare verification calculated and several default verifications for being included with basic input output system procedure code and each of, if and verification calculated and meet default verification and in one first default verification and, control unit executes the one first default customized program for corresponding to the first default verification sum in several default customized programs that basic input output system procedure code is included in startup self-detection program.
Description
[technical field]
The present invention relates to a kind of main frame device and its methods for automatically selecting customized program, and especially one kind can
The method for meeting the main frame device for the customized movement that different clients to be executed and its automatically selecting customized program.
[background technique]
In known technology, the processor that personal computer or server are included can execute BIOS program code, and personal
The manufacturer of computer or server can provide customized BIOS program code according to the customized demand of different clients, with
Meet the different clients customized movement to be executed.
However, being directed to the customized demand of different clients, the manufacturer of personal computer or server must be for every
One customized demand recompilates BIOS program code, with the customized movement that corresponding modification BIOS program code is recorded, if negative
The personnel that responsible editor translates leak uncompiled or compile error, then are unable to satisfy the customized demand of client, even cause when serious
Personal computer or server can not normal operations after the recompility of BIOS program code.
[summary of the invention]
The technical problem to be solved by the present invention is to be that the different clients customized movement to be executed can be met by providing one kind
Main frame device and its method that automatically selects customized program.
In order to solve the above technical problems, a kind of main frame device comprising: a basic input/output system memory
Unit and a control unit.Control unit is coupled to basic input output system.The storage of basic input/output system memory unit
A basic input output system procedure code is deposited, basic input output system procedure code corresponds to a brand of main frame device
Mark data, and include several default verifications and and several default customized programs, and each default verification and be pair
One of customized program should be preset in several.Control unit executes basic input output system in a startup self-detection program
Procedure code, with calculate corresponding brand mark data one verification and, and control unit compare it is aforementioned verification and with each default school
Test and, if the verification of brand mark data and meet default verification and in one first default verification and, control unit is being switched on
It is executed in self-check program in several default customized programs and presets customized journey corresponding to the one first of the first default verification sum
Sequence.
Preferably, which includes that the brand mark of corresponding computer host apparatus provides
Material.
Preferably, the control unit system calculated by a cyclic redundancy check algorithm it is above-mentioned verification and.
Preferably, the control unit is before executing startup self-detection program above-mentioned by a basic input output system journey
Sequence code replacement procedure replaces brand mark data above-mentioned.
Preferably, which is further coupled to a display device, and the brand mark data system is corresponding to display
In a brand mark of display device.
In order to solve the above technical problems, a kind of method for automatically selecting customized program comprising: owner is calculated via one
It is substantially defeated to calculate that one control unit of machine device executes a basic input output system procedure code in a startup self-detection program
Enter a verification and the control unit Inspection of a brand mark data of output system procedure code corresponding computer host apparatus
If with several the default verifications for being included with basic input output system procedure code and each of and verify and meet
It presets one first default verification of the verification in and control unit executes basic input output system journey in startup self-detection program
Correspond to one first default customized program of the first default verification sum in several default customized programs that sequence code is included.
Preferably, the control unit calculate verification and the step of in, control unit be calculate basic input output system
The verification for the brand mark data that procedure code is included and.
Preferably, the calculating verification and the step of in, control unit is calculated by a cyclic redundancy check algorithm
Verification and.
Preferably, which further includes control unit before executing startup self-detection program
Brand mark data is replaced by a basic input output system procedure code replacement procedure.
Preferably, which is corresponding to be shown in the display device for being coupled to main frame device
One brand mark.
Compared to the prior art, main frame device of the present invention and its method for automatically selecting customized program, according to
One embodiment of main frame device of the invention and its method for automatically selecting customized program, control unit can be switched on
Corresponding default customized program is executed according to the verification for calculating resulting brand mark data and automatically in self-check program, counted
As long as calculating the designer of machine host device replaces brand mark data before main frame device powers on or before resetting, and is not required to
Customized program is recompilated, control unit can execute automatically corresponding default visitor according to the brand mark data after displacement
Inhibition and generation program, to reduce because leaking uncompiled or compile error possibility.Also, verify calculation procedure and the alignment programs letter of sum
Single, control unit can calculate the verification of brand mark data in a short time and and find corresponding default customized program
And it is executed, it not will cause the too long waiting time.
[Detailed description of the invention]
Fig. 1 is the block schematic diagram of an embodiment of main frame device according to the present invention.
Fig. 2 is the flow chart of an embodiment of the method according to the present invention for automatically selecting customized program.
[specific embodiment]
It please refers to shown in Fig. 1, it includes basic input/output system memory unit that the present invention, which provides a kind of main frame device 1,
11 and control unit 12.Basic input output system (Basic input/output System;BIOS) 11 coupling of memory cell
It is connected to control unit 12.Basic input/output system memory unit 11 stores a BIOS program code 110, BIOS program code 110
A brand mark data corresponding to main frame device 1 and include several default verifications and and several preset it is customized
Change program.Wherein, several default verifications and each of be to correspond to preset in customized program in several
One, and each customized program system corresponds to the software and hardware setting of main frame device 1.
Here, Fig. 1 be by taking the quantity of default verification sum is four as an example (four default verifications and be respectively default verification and
1101, verification and 1102, default verification and 1103 and default verification and 1104) are preset, preset verification and 1101 correspond to it is several
Default customized program 1111 in a default customized program, default verification and 1102 preset customized journey corresponding to several
Default customized program 1112 in sequence, default verification and 1103 correspond in several default customized programs preset it is customized
Change program 1113, presets verification and 1104 corresponding to the default customized program 1114 in several default customized programs.
Operationally, please merge referring to FIG. 1 and FIG. 2 shown in, control unit 12 after the power-up or resetting after one booting from
Examine (Power-on self-test;POST BIOS program code 110) is obtained in program and executes BIOS program code 110.Control is single
Member 12 calculates verification and (checksum) (the step S01) of brand mark data corresponding to BIOS program code 110, and compares product
The verification of board mark data and with each default verification and, to judge the verification of brand mark data and whether to meet several pre-
If verification and one of (step S02).By this four default verifications with for, control unit 12 can first compare brand mark data
Verification and with default verification and 1101, if the verification of brand mark data and not meeting default verification and 1101, control unit
12 compare again the verification of brand mark data and with default verification and 1102, if the verification of brand mark data and not meeting default
Verification and 1102, control unit 12 compare again brand mark data verification and with it is default verification and 1103, if brand mark money
The verification of material and do not meet default verification and 1103, control unit 12 compare again brand mark data verification and with default verification
With 1104.
If control unit 12 judges the verification of brand mark data and meets default verification and 1101(judging result
For "Yes"), control unit 12 can not compare brand mark data verification and with default verification and 1102, default verify and 1103
And default verification and 1104, control unit 12 can directly execute the default customized program 1111 for corresponding to default verification and 1101
(step S03).Similarly, if control unit 12 judges the verification of brand mark data and meet to preset to verify to sentence with 1102(
Disconnected result is "Yes"), control unit 12 can not compare brand mark data verification and with default verification and 1103 and default school
It tests with 1104, control unit 12 can directly execute the default customized program 1112(step for corresponding to default verification and 1102
S03).Then the rest may be inferred for remaining situation, repeats no more.
In this, control unit 12 can in startup self-detection program according to the verification for calculating resulting brand mark data and come
Verification is preset with several and is compared, to judge the corresponding default verification of main frame device 1 and and execution pair automatically
The default customized program answered, as long as the designer of main frame device 1 is before main frame device 1 powers on or before resetting
The brand mark data of BIOS program code 110 is modified, that is, after control unit 12 can calculate modification in startup self-detection program
Brand mark data verification and, control unit 12 can execute corresponding replace automatically according to the brand mark data after displacement
The default customized program of brand mark data afterwards, the designer of main frame device 1 does not need because brand mark provides
The displacement of material and recompilate preset customized program, to reduce because leaking uncompiled or compile error possibility, and cause to count
The expection that the brand mark that machine host device 1 is shown does not meet the designer of main frame device 1 is calculated, implies that main frame
Correct arrange in pairs or groups presets customized program and corresponding brand mark to device 1.Also, the meter of the verification sum of brand mark data
It calculates program and alignment programs is simple, control unit 12 can calculate the verification of brand mark data in a short time and and find
Corresponding default customized program and execute it, not will cause the too long waiting time.
In this present embodiment, main frame device 1 is further coupled to a display device 2, presets customized program 1111-
Whether 1114 may include the display setting of brand mark, such as show in startup self-detection program corresponding to brand mark data
One brand mark (logo) is set in display device 2 or the display time span of brand mark.To preset customized program
1111 displays comprising brand mark to be shown are set and default customized program 1112 includes not show the display of brand mark
For setting, if control unit 12 the verification of calculated brand mark data and meet default verification and 1101, control is single
Member 12 then controls the display of display device 2 according to default customized program 1111 in startup self-detection program and provides corresponding to brand mark
The brand mark of material, if control unit 12 the verification of calculated brand mark data and meet default verification and 1102, control
Unit 12 processed then controls display device 2 according to default customized program 1112 in startup self-detection program and does not show corresponding to brand
The brand mark of mark data.In another embodiment, default customized program 1111-1114 also may include that other are customized dynamic
Make, such as the storage location setting of the corresponding brand message of brand mark data.Base this, the design of main frame device 1
As long as the brand mark data of person's modification BIOS program code 110 before main frame device 1 powers on or before resetting, control unit
12 can execute brand automatically according to the default customized program of the brand mark data after displacement in startup self-detection program
The corresponding display setting of mark, does not meet main frame device to avoid the display mode of the brand mark of main frame
The expection of 1 designer, that is, correct collocation brand mark and the corresponding display mode of main frame device 1.
In this present embodiment, control unit 12 can be with central processing unit to realize or with central processing unit (CPU) and flat
Platform path controller (PCH) Lai Shixian.
In this present embodiment, in step S01, control unit 12 can be by cyclic redundancy check (Cyclic
Redundancy Check;CRC) algorithm (for example, CRC-32 algorithm) come calculate brand mark data verification and.Also, it controls
Unit 12 processed the verification of calculated brand mark data and comprising multiple bits, and it is each pre- in BIOS program code 110
If verification and 1101,1102,1103,1104 also separately includes multiple bits, control unit 12 can compare respectively in step S02
Verification and with default verification and 1101,1102,1103,1104 each bit, with judge the verification of the brand mark data with
And the default whether identical verification to determine the brand mark data of each bit verified with 1101,1102,1103,1104
Whether default verification and 1101,1102,1103,1104 one of are met.
In this present embodiment, space is written to store configured with a brand mark data in BIOS memory unit 11
The brand mark data that BIOS program code 110 is included, designer's editable BIOS program code 110 of main frame device 1
Brand mark data, that is, editor control unit 12 can calculate the brand mark of corresponding verification sum in startup self-detection program
Data, the designer of main frame device 1 can modify the brand mark data for corresponding respectively to different customized programs, connect
Recycle a burning program that the BIOS program code 110 with edited brand mark data is burned onto BIOS memory list
Member 11, makes modified brand mark data be stored in the write-in space.After the write-in of brand mark data, restart computer
Host apparatus 1 makes control unit 12 calculate the verification of modified brand mark data automatically in booting self test program
With and according to calculating the verification of resulting brand mark data and execute corresponding default customized program.
In conclusion a reality of main frame device according to the present invention and its method for automatically selecting customized program
Apply example, control unit according to the verification for calculating resulting brand mark data and can carry out automatic execute pair in startup self-detection program
The default customized program answered, as long as the designer of main frame device is before main frame device powers on or resetting is preposition
Brand mark data is changed, does not need to recompilate customized program, control unit can be provided according to the brand mark after displacement
Material executes corresponding default customized program automatically, to reduce because leaking uncompiled or compile error possibility.Also, verify sum
Calculation procedure and alignment programs are simple, and control unit can calculate the verification of brand mark data in a short time and and find
Corresponding default customized program and execute it, not will cause the too long waiting time.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of main frame device, characterized by comprising:
One basic input/output system memory unit stores a basic input output system procedure code, the basic input and output
System program code mutually should main frame device a brand mark data, and include several default verifications and and several
A default customized program, each this preset verification and are to correspond to wherein default customized program;And
One control unit is coupled to the basic input output system, which executes the base in a startup self-detection program
This input-output system procedure code, with calculate mutually should brand mark data a verification and, and the control unit compares the school
Test and with each default verification and, if the verification and meet those default verifications and in one first default verifications and, the control
Unit processed executes in the startup self-detection program corresponds to the one the of the first default verification sum in those default customized programs
One default customized program.
2. main frame device according to claim 1, which is characterized in that the basic input output system procedure code is
Comprising mutually should main frame device the brand mark data.
3. main frame device according to claim 1 or 2, which is characterized in that the control unit system follows by one
Ring redundancy check algorithm come calculate the verification and.
4. main frame device according to claim 1 or 2, which is characterized in that in execution, this is opened the control unit
The brand mark data is replaced by another basic input output system procedure code replacement procedure before machine self-check program.
5. main frame device according to claim 1 or 2, which is characterized in that the main frame device more coupling
It is connected to a display device, which is corresponding to be shown in a brand mark of the display device.
6. a kind of method for automatically selecting customized program, characterized by comprising:
A basic input output system is executed in a startup self-detection program via a control unit of a main frame device
Procedure code with calculate the basic input output system procedure code mutually should main frame device a brand mark data
One verification and;
The control unit compare the verification and several default verifications for being included with the basic input output system procedure code and
Each of;And
If the verification and meet those default verifications and in one first default verifications and, the control unit is in the startup self-detection journey
Execute that correspond to this in several default customized programs that the basic input output system procedure code included first pre- in sequence
If verifying one first default customized program of sum.
7. the method according to claim 6 for automatically selecting customized program, which is characterized in that the basic input and output system
System program code includes the brand mark data corresponding to the main frame device, calculates the verification sum in the control unit
In step, which calculates the verification for the brand mark data that the basic input output system procedure code is included
With.
8. automatically selecting the method for customized program according to claim 6 or 7, which is characterized in that in the control list
Member calculate the verification and the step of in, the control unit system by a cyclic redundancy check algorithm calculate the verification and.
9. automatically selecting the method for customized program according to claim 6 or 7, which is characterized in that further include: the control
Unit processed replaces the product by another basic input output system procedure code replacement procedure before executing the startup self-detection program
Board mark data.
10. automatically selecting the method for customized program according to claim 6 or 7, which is characterized in that the brand mark
Data is corresponding to be shown in a brand mark of the display device for being coupled to the main frame device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810338437.4A CN110399164A (en) | 2018-04-16 | 2018-04-16 | Main frame device and its method for automatically selecting customized program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810338437.4A CN110399164A (en) | 2018-04-16 | 2018-04-16 | Main frame device and its method for automatically selecting customized program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110399164A true CN110399164A (en) | 2019-11-01 |
Family
ID=68319573
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810338437.4A Pending CN110399164A (en) | 2018-04-16 | 2018-04-16 | Main frame device and its method for automatically selecting customized program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110399164A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5598530A (en) * | 1993-02-16 | 1997-01-28 | Fujitsu Limited | Method and apparatus for controlling using checksums execution of object programs |
CN101211267A (en) * | 2006-12-29 | 2008-07-02 | 英业达股份有限公司 | Customized basic input output system updating method |
CN101620531A (en) * | 2008-07-02 | 2010-01-06 | 英业达股份有限公司 | Method for customizing GUI of applications and computer readable storage medium |
CN101814033A (en) * | 2009-02-19 | 2010-08-25 | 英业达股份有限公司 | Setting method of basic input/output system |
CN104156248A (en) * | 2014-08-15 | 2014-11-19 | 上海新储集成电路有限公司 | Method for displaying customized information in start-up process and BIOS chip |
CN107894934A (en) * | 2017-10-10 | 2018-04-10 | 曙光信息产业(北京)有限公司 | Control the method, apparatus and server of BIOS Debugging message output |
-
2018
- 2018-04-16 CN CN201810338437.4A patent/CN110399164A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5598530A (en) * | 1993-02-16 | 1997-01-28 | Fujitsu Limited | Method and apparatus for controlling using checksums execution of object programs |
CN101211267A (en) * | 2006-12-29 | 2008-07-02 | 英业达股份有限公司 | Customized basic input output system updating method |
CN101620531A (en) * | 2008-07-02 | 2010-01-06 | 英业达股份有限公司 | Method for customizing GUI of applications and computer readable storage medium |
CN101814033A (en) * | 2009-02-19 | 2010-08-25 | 英业达股份有限公司 | Setting method of basic input/output system |
CN104156248A (en) * | 2014-08-15 | 2014-11-19 | 上海新储集成电路有限公司 | Method for displaying customized information in start-up process and BIOS chip |
CN107894934A (en) * | 2017-10-10 | 2018-04-10 | 曙光信息产业(北京)有限公司 | Control the method, apparatus and server of BIOS Debugging message output |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8627296B1 (en) | Unified unit and integration test with automatic mock creation | |
CN102662701B (en) | CPLD online upgrading method, device and service board | |
CN109726107A (en) | Test method, device, equipment and storage medium | |
CN107491328A (en) | Updating firmware program method, system and electric equipment | |
CN110032505B (en) | Software quality determination apparatus and method, and non-transitory computer readable medium | |
US20180203973A1 (en) | System and simulator for the disengageable simulation of installations or machines within programmable logic controllers | |
CN108073738B (en) | GPIO (general purpose input/output) verification system and method | |
CN110399164A (en) | Main frame device and its method for automatically selecting customized program | |
KR20120111618A (en) | Apparatus and method for testing plc command | |
CN115562931A (en) | Processor debugging module verification method and device, electronic equipment and storage medium | |
JP6366811B2 (en) | Inspection device, inspection method, and program | |
CN114138587A (en) | Reliability verification method, device and equipment for upgrading server power firmware | |
CN105827413A (en) | Electronic terminal, and system safety verification device and method thereof | |
CN112559012A (en) | System upgrading and testing method and device, computer equipment and readable storage medium | |
US20200349304A1 (en) | Method, apparatus, device, and medium for implementing simulator | |
JP2021117666A (en) | Code inspection tool and code inspection method | |
CN109815129A (en) | Test method, device, terminal and the storage medium of securities finance application software | |
US20140164832A1 (en) | Test circuit and method for processing a test routine | |
CN115242753B (en) | Network card MAC address burning method, system, electronic equipment and storage medium | |
KR101571798B1 (en) | System for verifying performance of digital device and method using thereof | |
CN109426506B (en) | Loading method for selecting read-only memory | |
CN112527336B (en) | Operating system software installation method, device, equipment and storage medium | |
US11703833B2 (en) | Program providing device, program providing method, and program providing system | |
CN102479131A (en) | Test method | |
JP2009181180A (en) | Inspection program, inspection method, and inspection device of program creating tool |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191101 |