CN106909382A - Output different type system starts the method and device of information - Google Patents

Output different type system starts the method and device of information Download PDF

Info

Publication number
CN106909382A
CN106909382A CN201710104149.8A CN201710104149A CN106909382A CN 106909382 A CN106909382 A CN 106909382A CN 201710104149 A CN201710104149 A CN 201710104149A CN 106909382 A CN106909382 A CN 106909382A
Authority
CN
China
Prior art keywords
information
output
bios program
different type
starts
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
Application number
CN201710104149.8A
Other languages
Chinese (zh)
Other versions
CN106909382B (en
Inventor
李莉莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710104149.8A priority Critical patent/CN106909382B/en
Publication of CN106909382A publication Critical patent/CN106909382A/en
Application granted granted Critical
Publication of CN106909382B publication Critical patent/CN106909382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • G06F9/441Multiboot arrangements, i.e. selecting an operating system to be loaded
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures

Abstract

The present invention relates to server technology field, a kind of method for exporting different type system startup information is disclosed, comprised the following steps:Write bios program and be compiled;Bios program after compiling is burnt on server;Bios program exports different type system and starts information according to the different command of user.A kind of device for exporting different type system startup information is also disclosed, including:Collector is write, for writing bios program and being compiled;Burning module, for the bios program after compiling to be burnt into server;Output module, for bios program according to the different command of user, exports different type system and starts information.The present invention realizes user under different scene demands, and after balance available machine time and the necessity to serial ports output startup information, whether unrestricted choice is to serial ports output information, and exports what kind of information.

Description

Output different type system starts the method and device of information
Technical field
The present invention relates to server technology field, more particularly to it is a kind of export different type system start information method and Device.
Background technology
With continuing to develop for server, various industries are more next for the requirement of the Stability and dependability of server system It is higher, but as the function of server is stronger and stronger, the time of system boot is more and more long.When shortening start as far as possible Between and when system breaks down can go out reason with quick diagnosis, be the key that server quickly can normally run.
BIOS on server typically has a two types, a BIOS for being to close Debug mode, that is, when starting shooting Between minimize as far as possible, do not export startup information as far as possible;A kind of BIOS of opening Debug mode, that is, facilitate user couple Out of order server carries out quick diagnosis, but can extend the available machine time.Traditional BIOS two enters production is executable During document processed, it has been determined that got well and whether exported startup information and the which type of startup information of output.
During server research and development and client's use, if the BIOS for using Debug mode to close, works as appearance System boot exception and the abnormal situation of system individual feature are, it is necessary to the BIOS that burning is opened into Deubg mode again, passes through After the Serial Port Information analyzing and positioning being collected into, such as internal memory, slotting PCIe card etc. causes the machine of delaying on mainboard, after solve problem, Also need to burning and return the BIOS that Debug mode are closed.And if used always during server research and development and client's use The BIOS that Debug mode are opened, can compare quick tracing trouble reason every time, but each available machine time can increase, and cause Time wastes.
When being broken down in system starting process, conventional Debug methods, be to serial ports export startup information, but to Serial ports output startup information can increase system start-up time.The information of output is more, starts the time more long.Traditional BIOS is in life When producing executable binary documents, it has been determined that got well whether to export startup information and export which type of startup and believed Breath, it is impossible to carry out elastic selection in shortening available machine time and rapid diagnosis system failure.
The content of the invention
The weak point that the present invention develops for current needs and prior art, there is provided one kind output different type system The method and its device of startup information, the present invention combine BIOS and BMC, realize that output different type system starts the side of information Method.
To achieve these goals, the present invention uses following technical scheme:
It is a kind of to export the method that different type system starts information, comprise the following steps:
Write bios program and be compiled;
Bios program after compiling is burnt on server;
Bios program exports different type system and starts information according to the different command of user.
Preferably, write bios program and be compiled, including:
On the basis of the existing bios code of server system, combing goes out the startup exported to serial ports in system starting process and believes Breath;
The startup information that will be exported in system starting process carries out inducing classification;
For the startup information exported in sorted system starting process adds different execution conditions, every category information is carried out respectively Control;
Bios program to writing is compiled.
Preferably, the bios program by after compiling is burnt to and refers on server and be burnt to the bios program after compiling On the rom chip of server master board.
Preferably, before output different type system startup information, also wrapped according to the different command of user in bios program Include:
User sets the type of output information by IPMI orders, and the type of the output information includes that not exporting any system opens The system that dynamic information, output one type system start information, the wherein some type systems of output start information or all types Startup information.
Present invention also offers the output different type of the method for starting information based on above-mentioned output different type system System starts the device of information, including:
Collector is write, for writing bios program and being compiled;
Burning module, for the bios program after compiling to be burnt into server;
Output module, for bios program according to the different command of user, exports different type system and starts information.
Preferably, collector is write to further include:
Combing module, on the basis of the existing bios code of server system, combing to go out in system starting process to string The startup information of mouth output;
Inducing classification module, the startup information for will be exported in system starting process carries out inducing classification;
Control module, for adding different execution conditions for the startup information exported in sorted system starting process, to every Category information is respectively controlled;
Collector, for being compiled to the bios program for writing.
Preferably, also include:
Setup module, the type of output information is set for user by IPMI orders, and the type of the output information is included not Export any system start information, output one type system start information, the wherein some type systems of output start information or The system of all types starts information.
Beneficial effects of the present invention:
The present invention provides a kind of program for exporting different system startup information, realizes user under different scene demands, weighs After weighing apparatus available machine time and the necessity to serial ports output startup information, whether unrestricted choice exports startup information, and exports assorted The information of type.When system is normally started shooting, can be set to not export any system startup to serial ports with outer by BMC Information, or a kind of startup information is only exported, the available machine time can be shortened with maximum to reach.When there is start failure in system, can To select to start information to serial ports output multiple systems, to diagnose as soon as possible, it is compatible with shortening the available machine time with the method And rapid diagnosis system failure.
Brief description of the drawings
Fig. 1 is that present invention output different type system starts one of schematic flow sheet of method of information.
Fig. 2 is that present invention output different type system starts one of structural representation of device of information.
Fig. 3 is the two of the schematic flow sheet of the method that present invention output different type system starts information.
Fig. 4 is the two of the structural representation of the device that present invention output different type system starts information.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In order to make it easy to understand, the part noun to occurring in the present invention makees explanation explained below:
BIOS:Basic input output system, the abbreviation of Basic Input Output System.It is one group and is cured to computer Program on interior mainboard on a rom chip, self-inspection after program, the start of the in store most important basic input and output of computer Program and system self-triggered program, can from CMOS read-write system set specifying information, it is computer that its major function is The bottom, most direct hardware setting and control are provided.
Burning:Refer to that the software that will solidify within hardware writes integrated circuit or single-chip microcomputer to realize some basic training Energy.
BMC:Baseboard management controller, the abbreviation of Baseboard Management Controller is one in IPMI The controller of intelligent management is provided under structure.
IPMI:Intelligent platform supervision interface, the contracting of Intelligent Platform Management Interface Write, be a kind of industrial standard of ancillary equipment use used in business system of the management based on Intel structures, define insertion The ad hoc approach that formula management subsystem is communicated, IPMI information is exchanged by BMC.
With reference to the accompanying drawings and examples, specific embodiment of the invention is described in further detail:
Embodiment one:
As shown in figure 1, a kind of method for exporting different type system startup information of the invention, comprises the following steps:
Step S101:On the basis of the existing bios code of server system, combing goes out defeated to serial ports in system starting process The startup information for going out.
Step S102:The startup information that will be exported in system starting process carries out inducing classification.
Step S103:For the startup information exported in sorted system starting process adds different execution conditions, to every Category information is respectively controlled.
Step S104:Bios program to writing is compiled.
Step S105:Bios program after compiling is burnt on the rom chip of server master board.
Step S106:User sets the type of output information by IPMI orders, and the type of the output information is included not Export any system start information, output one type system start information, the wherein some type systems of output start information or The system of all types starts information.
Step S107:Bios program exports different type system and starts information according to the different command of user.
Used as a kind of enforceable mode, the startup information inducing classification that will be exported in system starting process is three classes: BIOS Debug information, BIOS Progress information and BIOS Error information.Wherein BIOS debug information, for engineering The debugging of teacher and check system starting process comprehensively;Which stage is BIOS Progress information, start to for the system of checking; BIOS Error information, for checking the error message detected in system starting process.
Embodiment two:
As shown in Fig. 2 a kind of device for exporting different type system startup information of the invention, including:In writing collector Combing module 201, the inducing classification module 202 write in collector, the control module 203 write in collector, compile Collector 204 in collector, burning module 205, setup module 206 and output module 207 are write, in writing collector Combing module 201 be sequentially connected the inducing classification module 202 write in collector, the control module write in collector 203rd, collector 204 in collector, burning module 205, setup module 206 and output module 207 are write.
The combing module 201 in collector is write, on the basis of the existing bios code of server system, combing Manage out the startup information exported to serial ports in system starting process;The inducing classification module 202 in collector is write, for inciting somebody to action The startup information exported in system starting process carries out inducing classification;Write the control module 203 in collector, for for point The startup information exported in system starting process after class adds different execution conditions, and every category information is respectively controlled;Compile The collector 204 in collector is write, for being compiled to the bios program for writing;Burning module 205, for that will compile Bios program after translating is burnt on server;Setup module 206, the class of output information is set for user by IPMI orders Type, the type of the output information includes that not exporting any system starts information, output one type system startup information, output Wherein some type systems start information or the system of all types starts information;Output module 207, for bios program according to The different command of user, output different type system starts information.
Embodiment three:
As shown in figure 3, the method that another output different type system of the invention starts information, comprises the following steps:
Step S301:Write bios program and be compiled.
Step S302:Bios program after compiling is burnt on server.
Step S303:Bios program exports different type system and starts information according to the different command of user.
Example IV:
As shown in figure 4, another output different type system of the invention starts the device of information, including:Write collector 401st, burning module 402 and output module 403, write collector 401 and are sequentially connected burning module 402 and output module 403.
Collector 401 is write, for writing bios program and being compiled;Burning module 402, for by after compiling Bios program is burnt on server;Output module 403, for bios program according to the different command of user, exports inhomogeneity Type system starts information.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example according to function in the above description.And this A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
Illustrated above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (7)

1. it is a kind of to export the method that different type system starts information, it is characterised in that to comprise the following steps:
Write bios program and be compiled;
Bios program after compiling is burnt on server;
Bios program exports different type system and starts information according to the different command of user.
2. the method that selection output different type system according to claim 1 starts information, it is characterised in that write Bios program is simultaneously compiled, including:
On the basis of the existing bios code of server system, combing goes out the startup exported to serial ports in system starting process and believes Breath;
The startup information that will be exported in system starting process carries out inducing classification;
For the startup information exported in sorted system starting process adds different execution conditions, every category information is carried out respectively Control;
Bios program to writing is compiled.
3. the method that output different type system according to claim 1 starts information, it is characterised in that described to compile Bios program afterwards is burnt on server and refers to the bios program after compiling is burnt on the rom chip of server master board.
4. the method that output different type system according to claim 1 starts information, it is characterised in that in bios program According to the different command of user, before output different type system startup information, also include:
User sets the type of output information by IPMI orders, and the type of the output information includes that not exporting any system opens The system that dynamic information, output one type system start information, the wherein some type systems of output start information or all types Startup information.
5. the output different type of the method for information is started according to any described output different type system in claim 1-4 System starts the device of information, it is characterised in that including:
Collector is write, for writing bios program and being compiled;
Burning module, for the bios program after compiling to be burnt into server;
Output module, for bios program according to the different command of user, exports different type system and starts information.
6. output different type system according to claim 5 starts the device of information, it is characterised in that write compiling mould Block is further included:
Combing module, on the basis of the existing bios code of server system, combing to go out in system starting process to string The startup information of mouth output;
Inducing classification module, the startup information for will be exported in system starting process carries out inducing classification;
Control module, for adding different execution conditions for the startup information exported in sorted system starting process, to every Category information is respectively controlled;
Collector, for being compiled to the bios program for writing.
7. output different type system according to claim 5 starts the device of information, it is characterised in that also include:
Setup module, the type of output information is set for user by IPMI orders, and the type of the output information is included not Export any system start information, output one type system start information, the wherein some type systems of output start information or The system of all types starts information.
CN201710104149.8A 2017-02-24 2017-02-24 Method and device for outputting different types of system starting information Active CN106909382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710104149.8A CN106909382B (en) 2017-02-24 2017-02-24 Method and device for outputting different types of system starting information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710104149.8A CN106909382B (en) 2017-02-24 2017-02-24 Method and device for outputting different types of system starting information

Publications (2)

Publication Number Publication Date
CN106909382A true CN106909382A (en) 2017-06-30
CN106909382B CN106909382B (en) 2020-03-10

Family

ID=59209029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710104149.8A Active CN106909382B (en) 2017-02-24 2017-02-24 Method and device for outputting different types of system starting information

Country Status (1)

Country Link
CN (1) CN106909382B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818032A (en) * 2017-10-24 2018-03-20 郑州云海信息技术有限公司 A kind of mainboard, information Method of printing, system, device and storage medium
CN108845825A (en) * 2018-06-25 2018-11-20 郑州云海信息技术有限公司 A kind of storage system configuration method, apparatus, equipment and readable storage medium storing program for executing
CN109032867A (en) * 2018-07-25 2018-12-18 郑州云海信息技术有限公司 A kind of method for diagnosing faults, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391765A (en) * 2014-10-27 2015-03-04 浪潮电子信息产业股份有限公司 Method for automatically diagnosing boot failure of server
CN105389260A (en) * 2015-12-15 2016-03-09 合肥联宝信息技术有限公司 Basic input/output system (BIOS) debugging system and method
CN105677546A (en) * 2016-02-22 2016-06-15 合肥联宝信息技术有限公司 Method for displaying BIOS debugging information and computer equipment applying method
CN106155713A (en) * 2015-03-27 2016-11-23 联想(北京)有限公司 Start approaches to IM and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391765A (en) * 2014-10-27 2015-03-04 浪潮电子信息产业股份有限公司 Method for automatically diagnosing boot failure of server
CN106155713A (en) * 2015-03-27 2016-11-23 联想(北京)有限公司 Start approaches to IM and device
CN105389260A (en) * 2015-12-15 2016-03-09 合肥联宝信息技术有限公司 Basic input/output system (BIOS) debugging system and method
CN105677546A (en) * 2016-02-22 2016-06-15 合肥联宝信息技术有限公司 Method for displaying BIOS debugging information and computer equipment applying method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818032A (en) * 2017-10-24 2018-03-20 郑州云海信息技术有限公司 A kind of mainboard, information Method of printing, system, device and storage medium
CN108845825A (en) * 2018-06-25 2018-11-20 郑州云海信息技术有限公司 A kind of storage system configuration method, apparatus, equipment and readable storage medium storing program for executing
CN108845825B (en) * 2018-06-25 2021-12-03 郑州云海信息技术有限公司 Storage system configuration method, device, equipment and readable storage medium
CN109032867A (en) * 2018-07-25 2018-12-18 郑州云海信息技术有限公司 A kind of method for diagnosing faults, device and equipment

Also Published As

Publication number Publication date
CN106909382B (en) 2020-03-10

Similar Documents

Publication Publication Date Title
CN109508202B (en) Drive development system, method and medium for embedded operating system
US6678625B1 (en) Method and apparatus for a multipurpose configurable bus independent simulation bus functional model
CN106909382A (en) Output different type system starts the method and device of information
CA2489304A1 (en) A mediation system and method with real time processing capability
CN100511148C (en) CPU system starting method and system
CN104462943B (en) Non-intrusion type performance monitoring apparatus and method in operation system
CN105955911A (en) Hot-plug control circuit and control method thereof
CN113065314B (en) BIOS hardware adaptation method and device based on XML file format
CN104156234A (en) Multi-core processor starting and bootloader big-little endian mode adapting method device
CN1693918A (en) Robust for detecting physical system model
CN109062152A (en) A kind of Loacl variable on-line monitoring method that logic-based configuration generates
CN102147831A (en) Logic verification method and device
CN114138360B (en) Multi-core programming starting method and system for DSP (digital Signal processor) on Flash
CN108416217A (en) A kind of SCM Based computer motherboard BIOS authentication system and method
CN108073738A (en) GPIO (General Purpose Input/Output) verification system and method
CN105549522B (en) A kind of embedded actual time safety control runtimes of PLC based on SPARC frameworks CPU and its operation method
CN103761202B (en) A kind of data storage node hard disk position identification method and system
CN107273249A (en) Motherboard test method, processor and main board testing system
CN108563576A (en) A kind of daily record Method of printing, system and device
CN104991774B (en) The system and method that interception system guides under a kind of UEFI platforms
CN104570913B (en) A kind of PLC control process methods of frequency converter
CN111984276A (en) SDK general compiling method, system and medium based on domestic Ethernet exchange chip
CN110231951A (en) A kind of multiple single chip microcomputer program upgrade system and its method
CN100462946C (en) BIOS on line burning writing system
CN100452008C (en) Switching equipment of read-only storage

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
GR01 Patent grant
GR01 Patent grant