CN109582518A - It is a kind of for the control method of BIOS debugging mode, device and equipment - Google Patents

It is a kind of for the control method of BIOS debugging mode, device and equipment Download PDF

Info

Publication number
CN109582518A
CN109582518A CN201811487738.XA CN201811487738A CN109582518A CN 109582518 A CN109582518 A CN 109582518A CN 201811487738 A CN201811487738 A CN 201811487738A CN 109582518 A CN109582518 A CN 109582518A
Authority
CN
China
Prior art keywords
debugging mode
bios
bios debugging
control
option
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
Application number
CN201811487738.XA
Other languages
Chinese (zh)
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.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201811487738.XA priority Critical patent/CN109582518A/en
Publication of CN109582518A publication Critical patent/CN109582518A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of control methods for BIOS debugging mode, the unlatching option and the off option of BIOS debugging mode are pre-defined in BIOS setting menu bar, generation control instruction control BIOS debugging mode whether need to be only triggered to by the unlatching option or the off option of the BIOS BIOS debugging mode being arranged in menu bar to open or close, it does not need to recompilate code and writes with a brush dipped in Chinese ink code again to mainboard, debug time is saved, debugging efficiency is improved.In addition, the invention also discloses a kind of control device and equipment for BIOS debugging mode, effect is as above.

Description

It is a kind of for the control method of BIOS debugging mode, device and equipment
Technical field
It is the present invention relates to server field, in particular to a kind of for the control method of BIOS debugging mode, device and to set It is standby.
Background technique
Basic input output system (Basic Input Output System, BIOS) is one group and is cured in computer Program on mainboard on read-only memory (Read-Only Memory, a ROM) chip, the in store most important base of computer Self-check program and system self-triggered program after the program of this input and output, the setting information of computer system, booting.Major function It is that the bottom, most direct hardware setting and control are provided for computer.
The development process of BIOS is generally required to open debugging mode in debugging process, led to along with a large amount of debugging process The system serial ports of mistake checks the Debugging message of BIOS.Under normal conditions, BIOS debugging mode is opened to need to recompilate bios code, The BIOS file that compiling generates is flushed on mainboard to the opening process for completing BIOS debugging mode again, after the completion of debugging, is needed Bios code is recompilated again, then the BIOS file that compiling examines is flushed on mainboard to the closing for completing BIOS debugging mode Journey.In this way, the more time can be wasted by compiling bios code repeatedly and being write with a brush dipped in Chinese ink again, debugging efficiency is lower.
Therefore, it is those skilled in the art that debug time how is saved in BIOS development process and improves debugging efficiency Problem to be solved.
Summary of the invention
The purpose of the present invention is to provide a kind of for the control method of BIOS debugging mode, device and storage medium, Debug time how is saved in BIOS development process and improves debugging efficiency.
To achieve the above object, the embodiment of the invention provides following technical solutions:
First, the embodiment of the invention provides a kind of control methods for BIOS debugging mode, comprising:
Whether the unlatching option of BIOS debugging mode predetermined or the off option touch in detection BIOS setting menu bar Hair;
If detecting the unlatching option triggering, generates the first control instruction and control the BIOS debugging mode unlatching;
If detecting the off option triggering, generates the second control instruction and control the BIOS debugging mode closing.
Optionally, after the first control instruction of generation control BIOS debugging mode is opened, further includes:
First control instruction is stored in the first register.
Optionally, it is described first control instruction is stored in the first register after, further includes:
The first control instruction in first register is read with time predefined;
Export the BIOS Debugging message of the BIOS debugging mode.
Optionally, the BIOS Debugging message of the output BIOS debugging mode includes:
It whether include confidential data in detection pre-selection BIOS Debugging message;
If comprising the confidential data, using the remainder data in addition to the confidential data as the BIOS Debugging message And it exports.
Optionally, after the second control instruction of generation control BIOS debugging mode is closed, further includes:
Second control instruction is stored in the second register.
Optionally, after the first control instruction of generation control BIOS debugging mode is opened, further includes:
Whether normal detect the running state information after the BIOS debugging mode is opened;
The BIOS debugging mode is then controlled if abnormal, to close.
Optionally, after the first control instruction of generation control BIOS debugging mode is opened, further includes:
Whether the duration for detecting the operating status after the BIOS debugging mode is opened is more than first threshold;
It is closed if so, controlling the BIOS debugging mode.
Optionally, after the second control instruction of generation control BIOS debugging mode is closed, further includes:
Whether the duration for detecting the shutdown status after the BIOS debugging mode is closed is more than second threshold;
If so, control server is restarted.
Second, the embodiment of the invention provides a kind of control devices for BIOS debugging mode, comprising:
First detection module, for detecting the unlatching predetermined choosing of the BIOS debugging mode in BIOS setting menu bar Whether item or the off option trigger;If detecting the unlatching option triggering, enter the first control module, if detecting described The off option triggering, then enter the second control module;
First control module is opened for generating the first control instruction control BIOS debugging mode;
Second control module is closed for generating the second control instruction control BIOS debugging mode.
Optionally, further includes:
First memory module, for first control instruction to be stored in the first register.
Optionally, further includes:
Read module, for reading the first control instruction in first register with time predefined;
Output module, for exporting the BIOS Debugging message of the BIOS debugging mode.
Optionally, the output module includes:
Detection unit, for whether detecting in pre-selection BIOS Debugging message comprising confidential data;If including the secret number According to then into output unit;
The output unit, for will be except the remainder data in addition to the confidential data is as the BIOS Debugging message and defeated Out.
Optionally, further includes:
Second memory module, for second control instruction to be stored in the second register.
Optionally, further includes:
Whether the second detection module is normal for detecting the running state information after the BIOS debugging mode is opened;If It is abnormal, then enter third control module;
The third control module is closed for controlling the BIOS debugging mode.
Optionally, further includes:
Whether third detection module, the duration for detecting the operating status after the BIOS debugging mode is opened surpass Cross first threshold;If so, into the 4th control module;
4th control module is closed for controlling the BIOS debugging mode.
Optionally, further includes:
Whether the 4th detection module, the duration for detecting the shutdown status after the BIOS debugging mode is closed surpass Cross threshold value;If so, into the 4th control module;
4th control module, restarts for control server.
Third, the embodiment of the invention provides another control equipment for being used for BIOS debugging mode, comprising:
Memory, for storing computer program;
Processor, for executing the computer program stored in the memory to realize that any of the above mentioned is used for The step of control method of BIOS debugging mode.
As it can be seen that a kind of control method for BIOS debugging mode disclosed by the embodiments of the present invention, is arranged menu in BIOS In column pre-define BIOS debugging mode unlatching option and the off option, when need to open BIOS debugging mode or close BIOS When debugging mode, it is only necessary to detect the unlatching option of BIOS debugging mode predetermined in BIOS setting menu bar or close choosing Whether item triggers, if opening option triggering, illustrates to need to open BIOS debugging mode, generates the control of the first control instruction at this time BIOS debugging mode is opened, if the off option triggers, is generated the second control instruction control BIOS debugging mode at this time and is closed.Cause This, using this programme, need to be only arranged by BIOS the BIOS debugging mode in menu bar unlatching option or the off option whether It is triggered to generation control instruction control BIOS debugging mode to open or close, does not need to recompilate code and write with a brush dipped in Chinese ink again Code saves debug time, improves debugging efficiency to mainboard.In addition, the embodiment of the invention also discloses one kind to be used for The control device and equipment of BIOS debugging mode, effect are as above.
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, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of control method process signal for BIOS debugging mode disclosed in the first embodiment of the invention Figure;
Fig. 2 is a kind of control method process signal for BIOS debugging mode disclosed in second of embodiment of the invention Figure;
Fig. 3 is a kind of control method process signal for BIOS debugging mode disclosed in the third embodiment of the invention Figure;
Fig. 4 is a kind of control method process signal for BIOS debugging mode disclosed in the 4th kind of embodiment of the invention Figure;
Fig. 5 is a kind of controling device structure diagram for BIOS debugging mode disclosed by the embodiments of the present invention;
Fig. 6 is a kind of control device structure schematic diagram for BIOS debugging mode disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of for the control method of BIOS debugging mode, device and equipment, opens in BIOS How hair saves debug time in the process and improves debugging efficiency.
Referring to Figure 1, Fig. 1 is a kind of control method for BIOS debugging mode disclosed in the first embodiment of the invention Flow diagram, comprising:
S11: the unlatching option of BIOS debugging mode predetermined or the off option are in detection BIOS setting menu bar No triggering opens option triggering if detecting, enters step S12, if detecting, the off option is triggered, and enters step S13.
Specifically, increasing debugging configuration menu in BIOS Setup in the present embodiment, i.e., in BIOS setting menu bar Increase the unlatching option or the off option of BIOS debugging mode.It is needing to open BIOS debugging mode or is closing BIOS debugging mould When formula, it is only necessary to trigger the unlatching option or the off option of the BIOS debugging mode in BIOS setting menu bar.At this point, logical Cross unlatching option in Programmable detection BIOS setting menu bar in BIOS debugging mode predetermined or the off option whether by Triggering.
S12: it generates the first control instruction control BIOS debugging mode and opens.
Specifically, may include the control letter that control BIOS debugging mode is opened in the first control instruction in the present embodiment Number and BIOS debugging mode open after, BIOS debugging mode duration threshold in operating status, and BIOS debug The control signal of BIOS debugging mode is automatically closed in the mode duration in operating status when reaching duration threshold.Tool Body is that after the unlatching option for detecting BIOS debugging mode is triggered, BIOS debugging mode is in operating status, records BIOS Debugging mode starts starting at the time of point and continues between current time BIOS debugging mode at the time of point in operating status Time automatically controls the closing of BIOS debugging mode, that is, is in and stops if the duration has had reached duration threshold Machine state.Certainly, the first control instruction can also be only the instruction that control BIOS debugging mode is opened, as long as BIOS debugs mould Formula does not remake other movements after opening.
S13: it generates the second control instruction control BIOS debugging mode and closes.
Specifically, may include the control letter that control BIOS debugging mode is closed in the second control instruction in the present embodiment Number and after BIOS debugging mode closes, BIOS debugging mode be in the duration threshold of shutdown status, and in BIOS debugging The duration that mode is in shutdown status automatically turns on the control signal of BIOS debugging mode when reaching duration threshold.Tool Body is, after detecting that the off option of BIOS debugging mode is triggered, BIOS debugging mode is in shutdown status, records BIOS Point to current time BIOS debugging mode is between shutdown status at the time of point and continues at the time of debugging mode is begun to shut off Time automatically controls the unlatching of BIOS debugging mode, that is, is in and opens if the duration has had reached duration threshold Open state.
It should be noted that after generating the first control instruction and the second control instruction, it can be by the first control instruction Be stored in register with the second control instruction, in order in BIOS start-up course PEI phase and DXE phase read post in real time The control instruction of storage, to determine whether the BIOS Debugging message of outputting BIOS debugging mode.Specifically, register can be selected as CMOS register, the first control instruction and the second control instruction can store in the same register, deposit again in a register When storing up control instruction, original control instruction can be removed.In order to avoid control instruction is removed caused by failure in register First control instruction is stored in the first register as optional embodiment of the present invention by maloperation problem, and the second control is referred to Order is stored in second controller.
After the first control instruction is stored in the first register, the first control that can read the first register in real time refers to It enables with the BIOS Debugging message of real-time outputting BIOS debugging mode, but in order to reduce resource caused by real-time BIOS Debugging message The problem of occupancy, as optional embodiment of the present invention, after the first control instruction is stored in the first register, with predefined Time reads the first control instruction in the first register, is then debugged with the BIOS of time predefined outputting BIOS debugging mode Information.Time predefined can be for the predefined period and irregularly.
In addition, in order to avoid confidential data is leaked, therefore, being debugged in outputting BIOS in the output of BIOS Debugging message Before information, the confidential data for including in BIOS Debugging message is detected first, if comprising confidential data, by secret number According to being intercepted, and using the remainder data in addition to confidential data as BIOS Debugging message and final output.
As it can be seen that a kind of control method for BIOS debugging mode disclosed by the embodiments of the present invention, is arranged menu in BIOS In column pre-define BIOS debugging mode unlatching option and the off option, when need to open BIOS debugging mode or close BIOS When debugging mode, it is only necessary to detect the unlatching option of BIOS debugging mode predetermined in BIOS setting menu bar or close choosing Whether item triggers, if opening option triggering, illustrates to need to open BIOS debugging mode, generates the control of the first control instruction at this time BIOS debugging mode is opened, if the off option triggers, is generated the second control instruction control BIOS debugging mode at this time and is closed.Cause This, using this programme, need to be only arranged by BIOS the BIOS debugging mode in menu bar unlatching option or the off option whether It is triggered to generation control instruction control BIOS debugging mode to open or close, does not need to recompilate code and write with a brush dipped in Chinese ink again Code saves debug time, improves debugging efficiency to mainboard.
After the unlatching of BIOS debugging mode, BIOS debugging mode is in operating status, is in fortune in BIOS debugging mode When row state, the operation of BIOS debugging mode is likely to occur failure.Therefore, the failure being in after being opened for BIOS debugging mode It is necessary to be identified and handled for operating status.Based on above embodiments, the present invention provides second of embodiments, refer to figure 2, Fig. 2 be a kind of control method flow diagram for BIOS debugging mode disclosed in second of embodiment of the invention, comprising:
S11: the unlatching option of BIOS debugging mode predetermined or the off option are in detection BIOS setting menu bar No triggering opens option triggering if detecting, enters step S12, if detecting, the off option is triggered, and enters step S13.
S12: it generates the first control instruction control BIOS debugging mode and opens.
S21: whether the running state information after detection BIOS debugging mode is opened is normal.It then enters step if abnormal, S22。
S13: it generates the second control instruction control BIOS debugging mode and closes.
S22: control BIOS debugging mode is closed.
Second of embodiment provided by the invention pre-defines the unlatching of BIOS debugging mode in BIOS setting menu bar Option and the off option, only need to by BIOS be arranged menu bar in BIOS debugging mode unlatching option or the off option whether It is triggered to generation control instruction control BIOS debugging mode to open or close, does not need to recompilate code and write with a brush dipped in Chinese ink again Code saves debug time to mainboard.When running state information after the unlatching of BIOS debugging mode is abnormal, it can cry to you The closing of BIOS debugging mode is controlled, BIOS debugging mode is avoided due to failure operation and causes the system failure.
After the unlatching of BIOS debugging mode, BIOS debugging mode is in operating status, is in fortune in BIOS debugging mode When row state, BIOS debugging mode is in operating status for a long time may result in long-term occupying system resources and cause other into Journey cannot proceed normally.Therefore, the duration for the operating status being in after opening for BIOS debugging mode, it is necessary to carry out Limitation.Based on above embodiments, the present invention provides the third embodiments, refer to Fig. 3, and Fig. 3 is the third implementation of the present invention A kind of control method flow diagram for BIOS debugging mode disclosed in example, comprising:
S11: the unlatching option of BIOS debugging mode predetermined or the off option are in detection BIOS setting menu bar No triggering opens option triggering if detecting, enters step S12, if detecting, the off option is triggered, and enters step S13.
S12: it generates the first control instruction control BIOS debugging mode and opens.
S31: whether the duration of the operating status after detection BIOS debugging mode unlatching is more than first threshold.If so, Then enter step S32.
S32: control BIOS debugging mode is closed.
S13: it generates the second control instruction control BIOS debugging mode and closes.
Specifically, the size of first threshold can determines according to actual conditions, and the embodiment of the present invention is herein in the present embodiment And it is not construed as limiting.
The third embodiment provided by the invention pre-defines the unlatching of BIOS debugging mode in BIOS setting menu bar Option and the off option, only need to by BIOS be arranged menu bar in BIOS debugging mode unlatching option or the off option whether It is triggered to generation control instruction control BIOS debugging mode to open or close, does not need to recompilate code and write with a brush dipped in Chinese ink again Code saves debug time, improves debugging efficiency to mainboard.Operating status after the unlatching of BIOS debugging mode continues When time is more than first threshold, control BIOS debugging mode is closed, and is avoided long-term occupying system resources and is caused other processes not The problem of capable of being normally carried out.
After the closing of BIOS debugging mode, BIOS debugging mode is in shutdown status, is in and stops in BIOS debugging mode When machine state, if server breaks down, may result in BIOS debugging mode can not be normally-open.Therefore, it is necessary to needle The fault condition is handled.Based on above embodiments, the present invention provides the 4th kind of embodiments, refer to Fig. 4, Fig. 4 is A kind of control method flow diagram for BIOS debugging mode disclosed in 4th kind of embodiment of the invention, comprising:
S11: the unlatching option of BIOS debugging mode predetermined or the off option are in detection BIOS setting menu bar No triggering opens option triggering if detecting, enters step S12, if detecting, the off option is triggered, and enters step S13.
S12: it generates the first control instruction control BIOS debugging mode and opens.
S13: it generates the second control instruction control BIOS debugging mode and closes.
S41: whether the duration of the shutdown status after detection BIOS debugging mode closing is more than second threshold.If so, Then enter step S42.
S42: control server is restarted.
The unlatching of the BIOS debugging mode in menu bar need to be only arranged in 4th kind of embodiment provided by the invention by BIOS Whether option or the off option, which are triggered to generation control instruction control BIOS debugging mode, opens or closes, and does not need to compile again It translates code and writes with a brush dipped in Chinese ink code again to mainboard, save debug time, improve debugging efficiency.It is closed in BIOS debugging mode When the duration of shutdown status afterwards is more than second threshold, control server is restarted, and is avoided when server breaks down and is led Cause BIOS debugging mode can not be normally-open problem.
A kind of control device for BIOS debugging mode provided in an embodiment of the present invention is illustrated below, is referred to Fig. 5, Fig. 5 are a kind of controling device structure diagram for BIOS debugging mode disclosed by the embodiments of the present invention, the device packet It includes:
First detection module 501 is opened for detecting the predetermined of BIOS debugging mode in BIOS setting menu bar It opens option or whether the off option triggers;Option triggering is opened if detecting, enters the first control module 502, if detecting The off option triggering, then enter the second control module 503;
First control module 502 is opened for generating the first control instruction control BIOS debugging mode;
Second control module 503 is closed for generating the second control instruction control BIOS debugging mode.
A kind of control device for BIOS debugging mode provided in an embodiment of the present invention, it is pre- in BIOS setting menu bar The unlatching option and the off option for first defining BIOS debugging mode debug mould when needing to open BIOS debugging mode or closing BIOS When formula, it is only necessary to whether detect in BIOS setting menu bar the unlatching option of BIOS debugging mode predetermined or the off option Triggering illustrates to need to open BIOS debugging mode, generates the first control instruction at this time and control BIOS tune if opening option triggering Die trial formula is opened, if the off option triggers, is generated the second control instruction control BIOS debugging mode at this time and is closed.Therefore, it uses Whether this programme need to be only triggered to by the unlatching option or the off option of the BIOS BIOS debugging mode being arranged in menu bar It generates control instruction control BIOS debugging mode to open or close, does not need to recompilate code and write with a brush dipped in Chinese ink code again to master Plate saves debug time, improves debugging efficiency.
Based on above embodiments, as optional embodiment of the present invention, further includes:
First memory module, for the first control instruction to be stored in the first register.
Based on above embodiments, as optional embodiment of the present invention, further includes:
Read module, for reading the first control instruction in the first register with time predefined;
Output module, the BIOS Debugging message for outputting BIOS debugging mode.
Based on above embodiments, as optional embodiment of the present invention, output module includes:
Detection unit, for whether detecting in pre-selection BIOS Debugging message comprising confidential data;If comprising confidential data, Into output unit;
Output unit, for as BIOS Debugging message and exporting the remainder data in addition to confidential data.
Based on above embodiments, as optional embodiment of the present invention, further includes:
Second memory module, for the second control instruction to be stored in the second register.
Based on above embodiments, as optional embodiment of the present invention, further includes:
Whether the second detection module is normal for detecting the running state information after BIOS debugging mode is opened;If not just Often, then enter third control module;
Third control module is closed for controlling BIOS debugging mode.
Based on above embodiments, as optional embodiment of the present invention, further includes:
Third detection module, for whether detecting the duration of the operating status after BIOS debugging mode is opened more than the One threshold value;If so, into the 4th control module;
4th control module is closed for controlling BIOS debugging mode.
Based on above embodiments, as optional embodiment of the present invention, further includes:
4th detection module, whether the duration for detecting the shutdown status after BIOS debugging mode is closed is more than threshold Value;If so, into the 4th control module;
4th control module, restarts for control server.
Fig. 6 is referred to, Fig. 6 is that a kind of control device structure for BIOS debugging mode provided in an embodiment of the present invention shows It is intended to, comprising:
Memory 601, for storing computer program;
Processor 602, for executing the computer program stored in memory to realize what any of the above embodiment was mentioned The step of control method for BIOS debugging mode.
A kind of control equipment for BIOS debugging mode provided in this embodiment is deposited due to that can be called by processor The computer program of reservoir storage, realizes the step of the control method for BIOS debugging mode provided such as above-mentioned any embodiment Suddenly, thus this computer readable storage medium have similarly actually imitated with the above-mentioned control method for BIOS debugging mode Fruit.
It a kind of has been carried out in detail for the control method of BIOS debugging mode, device and equipment to provided herein above It is thin to introduce.Specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said It is bright to be merely used to help understand the present processes and its core concept.It should be pointed out that for the ordinary skill of the art For personnel, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improvement It is also fallen into the protection scope of the claim of this application with modification.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.

Claims (10)

1. a kind of control method for BIOS debugging mode characterized by comprising
Whether the unlatching option of BIOS debugging mode predetermined or the off option trigger in detection BIOS setting menu bar;
If detecting the unlatching option triggering, generates the first control instruction and control the BIOS debugging mode unlatching;
If detecting the off option triggering, generates the second control instruction and control the BIOS debugging mode closing.
2. the control method according to claim 1 for BIOS debugging mode, which is characterized in that generate first described Control instruction controls after the unlatching of BIOS debugging mode, further includes:
First control instruction is stored in the first register.
3. the control method according to claim 2 for BIOS debugging mode, which is characterized in that described by described One control instruction is stored in after the first register, further includes:
The first control instruction in first register is read with time predefined;
Export the BIOS Debugging message of the BIOS debugging mode.
4. the control method according to claim 3 for BIOS debugging mode, which is characterized in that described in the output The BIOS Debugging message of BIOS debugging mode includes:
It whether include confidential data in detection pre-selection BIOS Debugging message;
If comprising the confidential data, using the remainder data in addition to the confidential data as the BIOS Debugging message and defeated Out.
5. the control method according to claim 1 for BIOS debugging mode, which is characterized in that generate second described Control instruction controls after the closing of BIOS debugging mode, further includes:
Second control instruction is stored in the second register.
6. the control method of BIOS debugging mode is used for described in -5 any one according to claim 1, which is characterized in that in institute It states after generating the control BIOS debugging mode unlatching of the first control instruction, further includes:
Whether normal detect the running state information after the BIOS debugging mode is opened;
The BIOS debugging mode is then controlled if abnormal, to close.
7. the control method of BIOS debugging mode is used for described in -5 any one according to claim 1, which is characterized in that in institute It states after generating the control BIOS debugging mode unlatching of the first control instruction, further includes:
Whether the duration for detecting the operating status after the BIOS debugging mode is opened is more than first threshold;
It is closed if so, controlling the BIOS debugging mode.
8. the control method of BIOS debugging mode is used for described in -5 any one according to claim 1, which is characterized in that in institute It states after generating the control BIOS debugging mode closing of the second control instruction, further includes:
Whether the duration for detecting the shutdown status after the BIOS debugging mode is closed is more than second threshold;
If so, control server is restarted.
9. a kind of control device for BIOS debugging mode characterized by comprising
First detection module, for detecting the unlatching option of BIOS debugging mode predetermined or pass in BIOS setting menu bar Close whether option triggers;If detecting the unlatching option triggering, enter the first control module, if detecting the closing choosing Item triggering, then enter the second control module;
First control module controls the BIOS debugging mode unlatching for generating the first control instruction;
Second control module controls the BIOS debugging mode closing for generating the second control instruction.
10. a kind of control equipment for BIOS debugging mode characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program stored in the memory to realize as described in any one of claim 1 to 8 The control method for BIOS debugging mode the step of.
CN201811487738.XA 2018-12-06 2018-12-06 It is a kind of for the control method of BIOS debugging mode, device and equipment Pending CN109582518A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811487738.XA CN109582518A (en) 2018-12-06 2018-12-06 It is a kind of for the control method of BIOS debugging mode, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811487738.XA CN109582518A (en) 2018-12-06 2018-12-06 It is a kind of for the control method of BIOS debugging mode, device and equipment

Publications (1)

Publication Number Publication Date
CN109582518A true CN109582518A (en) 2019-04-05

Family

ID=65927668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811487738.XA Pending CN109582518A (en) 2018-12-06 2018-12-06 It is a kind of for the control method of BIOS debugging mode, device and equipment

Country Status (1)

Country Link
CN (1) CN109582518A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634793A (en) * 2018-12-11 2019-04-16 广东浪潮大数据研究有限公司 Control method, device and the equipment of BIOS debugging mode
CN110750408A (en) * 2019-09-30 2020-02-04 湖南新云网科技有限公司 Method, device and apparatus for controlling USB debug mode switch, and storage medium
CN111552524A (en) * 2020-05-06 2020-08-18 Oppo(重庆)智能科技有限公司 Plug-in loading method and device and computer readable storage medium
CN112392688A (en) * 2020-11-02 2021-02-23 珠海格力电器股份有限公司 Unit debugging method, device, system, equipment and storage medium
CN113064749A (en) * 2021-04-26 2021-07-02 山东英信计算机技术有限公司 Method for controlling debugging information output at runtime stage through BIOS

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240095A1 (en) * 2006-01-30 2007-10-11 Inventec Corporation Computer product customized information programming method and system
CN103246513A (en) * 2013-05-06 2013-08-14 苏州三星电子电脑有限公司 Setting method for BIOS (basic input/output system) menus
CN107908547A (en) * 2017-10-10 2018-04-13 曙光信息产业(北京)有限公司 Control the method, apparatus and server of BIOS Debugging message output
CN108874606A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 A kind of control device and control method of switch BIOS AccessPort function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070240095A1 (en) * 2006-01-30 2007-10-11 Inventec Corporation Computer product customized information programming method and system
CN103246513A (en) * 2013-05-06 2013-08-14 苏州三星电子电脑有限公司 Setting method for BIOS (basic input/output system) menus
CN107908547A (en) * 2017-10-10 2018-04-13 曙光信息产业(北京)有限公司 Control the method, apparatus and server of BIOS Debugging message output
CN108874606A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 A kind of control device and control method of switch BIOS AccessPort function

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634793A (en) * 2018-12-11 2019-04-16 广东浪潮大数据研究有限公司 Control method, device and the equipment of BIOS debugging mode
CN110750408A (en) * 2019-09-30 2020-02-04 湖南新云网科技有限公司 Method, device and apparatus for controlling USB debug mode switch, and storage medium
CN110750408B (en) * 2019-09-30 2021-03-26 湖南新云网科技有限公司 Method, device and apparatus for controlling USB debug mode switch, and storage medium
CN111552524A (en) * 2020-05-06 2020-08-18 Oppo(重庆)智能科技有限公司 Plug-in loading method and device and computer readable storage medium
CN111552524B (en) * 2020-05-06 2023-10-13 Oppo(重庆)智能科技有限公司 Plug-in loading method and device and computer readable storage medium
CN112392688A (en) * 2020-11-02 2021-02-23 珠海格力电器股份有限公司 Unit debugging method, device, system, equipment and storage medium
CN112392688B (en) * 2020-11-02 2022-04-29 珠海格力电器股份有限公司 Unit debugging method, device, system, equipment and storage medium
CN113064749A (en) * 2021-04-26 2021-07-02 山东英信计算机技术有限公司 Method for controlling debugging information output at runtime stage through BIOS
CN113064749B (en) * 2021-04-26 2023-02-28 山东英信计算机技术有限公司 Method for controlling debugging information output at runtime stage through BIOS

Similar Documents

Publication Publication Date Title
CN109582518A (en) It is a kind of for the control method of BIOS debugging mode, device and equipment
CN104331363A (en) Automatic testing method for Android device
US20150161025A1 (en) Injecting Faults at Select Execution Points of Distributed Applications
CN109445865A (en) A kind of BIOS option remote batch setting method, device, terminal and storage medium
CN103268277A (en) Method and system for outputting log information
CN103744764A (en) Crontab based whole computer memory stability test method
CN111756575A (en) Performance analysis method and device of storage server and electronic equipment
CN105868097B (en) System detection method and its device
CN104246714A (en) Software defect verification
CN108304326B (en) Automatic testing system and method for android intelligent terminal
CN110704314B (en) Fault injection method for embedded software test
CN100388234C (en) Method for monitoring internal memory varible rewrite based on finite-state-machine
Ahrendt et al. A unified approach for static and runtime verification: framework and applications
CN101251822A (en) Supervising method of internal memory being rewrited
CN104915287A (en) Method and system for unit testing
CN109783390A (en) PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium
CN110704315B (en) Fault injection device for embedded software test
CN109634793A (en) Control method, device and the equipment of BIOS debugging mode
CN106021024A (en) Method for reminding response stopping of user terminal, and user terminal
CN103809988A (en) Information processing method and electronic device
CN109086081A (en) Method, system and the medium that a kind of instantly prompting SATA and NVMe equipment change in place
CN102306109B (en) Method for realizing logic programming in communication management machine
CN108957283A (en) Irradiation experiment plate, monitor terminal, asic chip irradiation experiment system
CN105912431A (en) Reboot testing method of server, server, control device and system
CN112463508B (en) Server dormancy state testing method, system, terminal and storage medium

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: 20190405