CN109408032A - A kind of customized Fast implementation of BIOS, device, terminal and storage medium - Google Patents
A kind of customized Fast implementation of BIOS, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109408032A CN109408032A CN201811292909.3A CN201811292909A CN109408032A CN 109408032 A CN109408032 A CN 109408032A CN 201811292909 A CN201811292909 A CN 201811292909A CN 109408032 A CN109408032 A CN 109408032A
- Authority
- CN
- China
- Prior art keywords
- bios
- customization
- parameter
- string value
- modified
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present application provides a kind of customized Fast implementation of BIOS, device, terminal and storage medium, comprising: the customized demand of assessment client BIOS obtains BIOS customization project and start-up mode standard parameter;Confirm BIOS customization purpose MapString value;Project is customized using script setting BIOS according to start-up mode standard parameter and MapString value.The present invention is by obtaining BIOS customization project and start-up mode standard parameter and confirming BIOS customization purpose MapString value, after searching and locating BIOS customization purpose parameter to be modified according to MapString value, it is modified according to start-up mode standard parameter to parameter to be modified, to realize that BIOS is customized.The present invention is implemented by script, without human intervention, and to parameter precise positioning to be modified, realizes rapid customized setting, and compared to existing customized code revision, parameter modification of the invention is more acurrate.
Description
Technical field
The invention belongs to server technology fields, and in particular to a kind of customized Fast implementation of BIOS, device, terminal
And storage medium.
Background technique
With the continuous development of IT technical field, the proposition of internet+concept, demand of all kinds of industries to server is more next
It is more, it is desirable that also more and more.As first three server product supplier of the whole world, the configuration of a server can not be able to satisfy
The demand of all clients, this just needs to be customized BIOS, to meet the supply of material demand of client.Visitor is carried out to BIOS at present
The method of inhibition and generation is the demand of development evaluation client, then carries out code revision to BIOS, is compiled after having modified, and is modified
Code amounts to the time more than expending half a day plus compiling, can there is also change by mistake other codes during modifying code
Energy property, the method are bound to achieve the purpose that quick response client, when this just needs more research staff to expend a large amount of
Between realize.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of customized Fast implementation of BIOS, device, terminal and deposits
Storage media, to solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of customized Fast implementation of BIOS, which comprises
It assesses the customized demand of client BIOS and obtains BIOS customization project and start-up mode standard parameter;
Confirm BIOS customization purpose Map String value;
Project is customized using script setting BIOS according to start-up mode standard parameter and Map String value.
With reference to first aspect, in the first embodiment of first aspect, the confirmation BIOS customization purpose Map
String value includes:
Variable in BIOS Setup is exported in bios.txt document;
It screens bios.txt document and obtains BIOS customization purpose Map String value.
With reference to first aspect, in second of embodiment of first aspect, it is described according to start-up mode standard parameter and
Map String value customizes project using script setting BIOS
BIOS customization purpose parameter to be modified is searched and located using Map String value;
It is modified setting according to start-up mode standard parameter to the parameter to be modified.
With reference to first aspect, in the third embodiment of first aspect, the method also includes:
By script argument, modification BIOS customization purpose default value is set.
Second aspect, the embodiment of the present application provide that a kind of BIOS is customized to fast implement device, and described device includes:
Assessment unit is configured to the customized demand of assessment client BIOS and obtains BIOS customization project and start-up mode standard
Parameter;
Confirmation unit is configured to confirmation BIOS customization purpose Map String value;
Setting unit, it is fixed using script setting BIOS according to start-up mode standard parameter and Map String value to be configured to
Project processed.
In conjunction with second aspect, in the first embodiment of second aspect, the confirmation unit includes:
Export module is configured to export to the variable in BIOS Setup in bios.txt document;
Screening module is configured to screening bios.txt document and obtains BIOS customization purpose Map String value.
In conjunction with second aspect, in second of embodiment of second aspect, the setting unit includes:
Searching module is configured to search and locate BIOS customization purpose parameter to be modified using Map String value;
Modified module is configured to modify setting to the parameter to be modified according to start-up mode standard parameter.
In conjunction with second aspect, in the third embodiment of second aspect, described device further include:
Default value modifies unit, is configured to script argument setting modification BIOS customization purpose default value.
The third aspect provides a kind of terminal, comprising:
Processor, memory, wherein
The memory is used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes above-mentioned end
The method for holding terminal.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer readable storage medium,
When run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes method described in above-mentioned various aspects.
The beneficial effects of the present invention are,
The customized Fast implementation of BIOS provided by the invention, device, terminal and storage medium, it is fixed by obtaining BIOS
Project and start-up mode standard parameter processed simultaneously confirms BIOS customization purpose Map String value, is searched according to Map String value
After positioning BIOS customization purpose parameter to be modified, modified according to start-up mode standard parameter to parameter to be modified, thus
Realize that BIOS is customized.The present invention is implemented by script, without human intervention, and to parameter precise positioning to be modified, is realized quick
Customized setting, compared to existing customized code revision, parameter modification of the invention is more acurrate.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the schematic block diagram of the device of the application one embodiment.
Fig. 3 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
The Key Term occurred in the application is explained below.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.Wherein, Fig. 1 executing subject can be one kind
BIOS is customized to fast implement device.
As shown in Figure 1, this method 100 includes:
Step 110, the customized demand of assessment client BIOS obtains BIOS customization project and start-up mode standard parameter;
Step 120, confirm BIOS customization purpose Map String value;
Step 130, project is customized using script setting BIOS according to start-up mode standard parameter and Map String value.
In order to facilitate the understanding of the present invention, below with the principle of the customized Fast implementation of BIOS of the present invention, in conjunction with
The process being quickly arranged customized to BIOS, does the customized Fast implementation of BIOS provided by the invention in embodiment
Further description.
Optionally, as the application one embodiment, the confirmation BIOS customization purpose Map String value includes:
Variable in BIOS Setup is exported in bios.txt document;
It screens bios.txt document and obtains BIOS customization purpose Map String value.
Optionally, described according to start-up mode standard parameter and Map String value benefit as the application one embodiment
Include: with script setting BIOS customization project
BIOS customization purpose parameter to be modified is searched and located using Map String value;
It is modified setting according to start-up mode standard parameter to the parameter to be modified.
Optionally, as the application one embodiment, the method also includes:
By script argument, modification BIOS customization purpose default value is set.
Specifically, the customized Fast implementation of BIOS includes:
S1, the present embodiment modify to the VMX of BIOS, and assessment parameter is as follows:
S2, confirmation BIOS customization purpose Map String value.
Variable in BIOS Setup is exported in bios.txt document, input order: ./SCELNX_64/o/s
Bios.txt/lang/b (/o/s/lang/b parameter case-insensitive, export can be named voluntarily) prompts Script
File exported successfully is exported successfully, by taking VMX option as an example, by checking derived from bi os.txt text
Part learns that the Map String of the option is PRSS014.
S3, project is customized using script setting BIOS according to start-up mode standard parameter and Map String value.
The 0x01 of # herein is corresponding with Enabled and Disabled 01 and 00 behind Options, if only
Modification option current value does not modify default value, and there is no need to add/ds parameter, the purpose for modifying default value is to ensure that server closes
Machine will not change after restarting, and be in the presence of that modification is invalid.
echo""
echo"Modify Boot Mode to UEFI"
./SCELNX_64/i/ms CSM006/qv 0x02/ds
echo""
echo"Modify Network to UEFI"
./SCELNX_64/i/ms CSM007/qv 0x01/ds
echo""
echo"Modify Storage to UEFI"
./SCELNX_64/i/ms CSM008/qv 0x01/ds
echo""
echo"Modify Video OPROM Policy to UEFI"
./SCELNX_64/i/ms CSM009/qv 0x01/ds
echo""
echo"Modify Other PCI devices to UEFI"
./SCELNX_64/i/ms CSM010/qv 0x01/ds
echo"*****************Modify finished**********************"
If Fig. 2 shows, which includes:
Assessment unit 210, the assessment unit 210 obtain BIOS customization project for assessing the customized demand of client BIOS
With start-up mode standard parameter;
Confirmation unit 220, the confirmation unit 220 is for confirming BIOS customization purpose Map String value;
Setting unit 230, the setting unit 230 are used to be utilized according to start-up mode standard parameter and Map String value
Script setting BIOS customizes project.
Optionally, as the application one embodiment, the confirmation unit includes:
Export module is configured to export to the variable in BIOS Setup in bios.txt document;
Screening module is configured to screening bios.txt document and obtains BIOS customization purpose Map String value.
Optionally, as the application one embodiment, the setting unit includes:
Searching module is configured to search and locate BIOS customization purpose parameter to be modified using Map String value;
Modified module is configured to modify setting to the parameter to be modified according to start-up mode standard parameter.
Optionally, as the application one embodiment, described device further include:
Default value modifies unit, is configured to script argument setting modification BIOS customization purpose default value.
Fig. 3 is a kind of structural schematic diagram of terminal installation 300 provided in an embodiment of the present invention, which can be with
For executing the method provided by the embodiments of the present application for updating heat dissipation policing parameter.
Wherein, which may include: processor 310, memory 320 and communication unit 330.These components
It is communicated by one or more bus, it will be understood by those skilled in the art that the structure of server shown in figure is not
The restriction to the application is constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include more than illustrating
Or less component, perhaps combine certain components or different component layouts.
Wherein, which can be used for executing instruction for storage processor 310, and memory 320 can be by any class
The volatibility or non-volatile memories terminal or their combination of type are realized, such as static random access memory (SRAM), electricity
Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.When executing instruction in memory 320
When being executed by processor 310, so that terminal 300 some or all of is able to carry out in following above method embodiment step.
Processor 310 is the control centre for storing terminal, utilizes each of various interfaces and the entire electric terminal of connection
A part by running or execute the software program and/or module that are stored in memory 320, and calls and is stored in storage
Data in device, to execute the various functions and/or processing data of electric terminal.The processor can be by integrated circuit
(Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor 310 can only include central processing unit
(Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also
To include multioperation core.
Communication unit 330, for establishing communication channel, so that the storage terminal be allow to be led to other terminals
Letter.It receives the user data of other terminals transmission or sends user data to other terminals.
The application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with program, the journey
Sequence may include step some or all of in each embodiment provided by the present application when executing.The storage medium can for magnetic disk,
CD, read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English:
Random access memory, referred to as: RAM) etc..
Therefore, the application is by obtaining BIOS customization project and start-up mode standard parameter and confirming BIOS customization purpose
Map String value, after searching and locating BIOS customization purpose parameter to be modified according to Map String value, according to start-up mode
Standard parameter modifies to parameter to be modified, to realize that BIOS is customized.The present invention is implemented by script, without artificial behaviour
Make, and to parameter precise positioning to be modified, realize rapid customized setting, compared to existing customized code revision, the present invention
Parameter modification it is more acurrate, the attainable technical effect of the present embodiment institute may refer to described above, and details are not described herein again.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which is stored in
Such as USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory in one storage medium
The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk, including it is several
Instruction is used so that a terminal (can be personal computer, server or second terminal, the network terminal etc.) is held
Row all or part of the steps of the method according to each embodiment of the present invention.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal
For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method
Explanation.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint
What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer
It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims
It is quasi-.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811292909.3A CN109408032A (en) | 2018-11-01 | 2018-11-01 | A kind of customized Fast implementation of BIOS, device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811292909.3A CN109408032A (en) | 2018-11-01 | 2018-11-01 | A kind of customized Fast implementation of BIOS, device, terminal and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109408032A true CN109408032A (en) | 2019-03-01 |
Family
ID=65470770
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811292909.3A Pending CN109408032A (en) | 2018-11-01 | 2018-11-01 | A kind of customized Fast implementation of BIOS, device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109408032A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110187872A (en) * | 2019-05-30 | 2019-08-30 | 浪潮商用机器有限公司 | A BIOS development method, system, electronic equipment, and storage medium |
| CN113342860A (en) * | 2021-06-30 | 2021-09-03 | 平安资产管理有限责任公司 | Index calculation method, device, equipment and storage medium based on universal interface |
| CN113434202A (en) * | 2020-09-18 | 2021-09-24 | 阿里巴巴集团控股有限公司 | Starting method and device of equipment, electronic equipment and computer storage medium |
| TWI743479B (en) * | 2019-05-17 | 2021-10-21 | 英商鼎通盛股份有限公司 | System for implementing extensible bios operating protocol and a booting method thereof |
| CN114327472A (en) * | 2021-11-30 | 2022-04-12 | 浪潮(北京)电子信息产业有限公司 | Method, device, electronic equipment and medium for saving BIOS storage space |
| CN120762780A (en) * | 2025-09-08 | 2025-10-10 | 安擎计算机信息股份有限公司 | A configuration method and device for customizing BIOS options based on GPIO |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104991782A (en) * | 2015-07-23 | 2015-10-21 | 英业达科技有限公司 | Method and system for modifying BIOS configuration |
| CN106681738A (en) * | 2017-01-05 | 2017-05-17 | 郑州云海信息技术有限公司 | Method of modifying BIOS current values of Rack server based on Map String |
| US20170177838A1 (en) * | 2012-11-23 | 2017-06-22 | Tencent Technology (Shenzhen) Company Limited | Method And Apparatus For Storing Redeem Code, And Method And Apparatus For Verifying Redeem Code |
| CN107153557A (en) * | 2017-05-05 | 2017-09-12 | 郑州云海信息技术有限公司 | It is a kind of based on the device and method operated under Linux system to BIOS |
-
2018
- 2018-11-01 CN CN201811292909.3A patent/CN109408032A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170177838A1 (en) * | 2012-11-23 | 2017-06-22 | Tencent Technology (Shenzhen) Company Limited | Method And Apparatus For Storing Redeem Code, And Method And Apparatus For Verifying Redeem Code |
| CN104991782A (en) * | 2015-07-23 | 2015-10-21 | 英业达科技有限公司 | Method and system for modifying BIOS configuration |
| CN106681738A (en) * | 2017-01-05 | 2017-05-17 | 郑州云海信息技术有限公司 | Method of modifying BIOS current values of Rack server based on Map String |
| CN107153557A (en) * | 2017-05-05 | 2017-09-12 | 郑州云海信息技术有限公司 | It is a kind of based on the device and method operated under Linux system to BIOS |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI743479B (en) * | 2019-05-17 | 2021-10-21 | 英商鼎通盛股份有限公司 | System for implementing extensible bios operating protocol and a booting method thereof |
| CN110187872A (en) * | 2019-05-30 | 2019-08-30 | 浪潮商用机器有限公司 | A BIOS development method, system, electronic equipment, and storage medium |
| CN113434202A (en) * | 2020-09-18 | 2021-09-24 | 阿里巴巴集团控股有限公司 | Starting method and device of equipment, electronic equipment and computer storage medium |
| WO2022057756A1 (en) * | 2020-09-18 | 2022-03-24 | 阿里巴巴集团控股有限公司 | Method and apparatus for starting device, electronic device, and computer storage medium |
| CN113434202B (en) * | 2020-09-18 | 2024-03-29 | 阿里巴巴集团控股有限公司 | Device starting method and device, electronic device and computer storage medium |
| CN113342860A (en) * | 2021-06-30 | 2021-09-03 | 平安资产管理有限责任公司 | Index calculation method, device, equipment and storage medium based on universal interface |
| CN114327472A (en) * | 2021-11-30 | 2022-04-12 | 浪潮(北京)电子信息产业有限公司 | Method, device, electronic equipment and medium for saving BIOS storage space |
| CN120762780A (en) * | 2025-09-08 | 2025-10-10 | 安擎计算机信息股份有限公司 | A configuration method and device for customizing BIOS options based on GPIO |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109408032A (en) | A kind of customized Fast implementation of BIOS, device, terminal and storage medium | |
| CN104881318B (en) | A kind of interface call method, device and terminal | |
| CN105704188B (en) | Using the dispositions method and device with service | |
| CN109445865A (en) | A kind of BIOS option remote batch setting method, device, terminal and storage medium | |
| CN109446097A (en) | A kind of regression test case selection method, device, terminal and storage medium | |
| CN108845950A (en) | Test device, the method for test and storage medium | |
| US10949171B1 (en) | Tools, mechanisms, and processes for transforming modules for an application into pluggable modules | |
| CN111262753B (en) | A method, system, terminal and storage medium for automatic configuration of the number of NUMA nodes | |
| CN109683973A (en) | A kind of Insyde product BIOS method for customizing, device, terminal and storage medium | |
| CN109815721A (en) | A method, device, terminal and storage medium for modifying BIOS Setup option password through BMC | |
| CN112596746B (en) | Application installation package generation method and device, computer equipment and storage medium | |
| CN107844711B (en) | Data manipulation permission partition method, application server and computer readable storage medium | |
| CN109165332A (en) | A kind of webpage information acquisition methods, device and equipment | |
| CN109101611A (en) | File system directories maximize test method, device, terminal and storage medium | |
| WO2025124172A1 (en) | Method and apparatus for component deployment and updating, computer device, and storage medium | |
| CN104699503A (en) | Method and device for replacing function execution logic in Android system | |
| CN116541085B (en) | Android/Linux fusion method, device, equipment and storage medium | |
| CN109815070A (en) | A HOST-BOX server stability testing method, device, terminal and storage medium | |
| CN109491903A (en) | A kind of automatic test script splicing processing method, device, terminal and storage medium | |
| CN114185554B (en) | Software product deployment method, device, readable medium and electronic device | |
| CN114218261A (en) | Data query method and device, storage medium and electronic equipment | |
| CN111143193B (en) | Big data service testing method, system, terminal and storage medium based on RobotFramework | |
| CN109086067A (en) | A kind of BIOS standby update method, apparatus, terminal and storage medium | |
| CN109324935A (en) | A system cold start test method, device, terminal and storage medium | |
| CN110045966A (en) | Processing method, device and the equipment of erector |
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: 20190301 |