CN109375956A - A kind of method of reboot operation system, logical device and control equipment - Google Patents

A kind of method of reboot operation system, logical device and control equipment Download PDF

Info

Publication number
CN109375956A
CN109375956A CN201811297113.7A CN201811297113A CN109375956A CN 109375956 A CN109375956 A CN 109375956A CN 201811297113 A CN201811297113 A CN 201811297113A CN 109375956 A CN109375956 A CN 109375956A
Authority
CN
China
Prior art keywords
logical device
time
output valve
bios
level signal
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
CN201811297113.7A
Other languages
Chinese (zh)
Other versions
CN109375956B (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 CN201811297113.7A priority Critical patent/CN109375956B/en
Publication of CN109375956A publication Critical patent/CN109375956A/en
Application granted granted Critical
Publication of CN109375956B publication Critical patent/CN109375956B/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
    • 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/442Shutdown

Abstract

The embodiment of the present application discloses a kind of method of reboot operation system, this method comprises: output valve and universal input that logical device receiving control apparatus is sent export GPIO level signal;Logical device determines timing time according to output valve and GPIO level signal, the timing time be basic input/output BIOS launching process from start to end needed for time;Logical device judges whether timing time is greater than or equal to preset maximum starting duration, which indicates maximum duration required for the launching process of BIOS;If timing time is greater than or equal to preset maximum starting duration, logical device reboot operation system.The embodiment of the present application also provides corresponding logical device and control equipment.Technical scheme effectively realizes on instant mainboard when not having the design of BMC, also can BIOS start time-out when reboot operation system.

Description

A kind of method of reboot operation system, logical device and control equipment
Technical field
This application involves fields of communication technology, and in particular to a kind of method of reboot operation, logical device and control are set It is standby.
Background technique
Basic input/output (basic input output system:BIOS) is Intel's central processing unit (intel central processing unit:Intel CPU) is actuated for the program code of the middle bottom, is computer Initial, most direct hardware controls are provided.Sometimes can be because of environment or hardware itself the problem of, it will lead to BIOS and stop In some stage without running down, such as the initialization either stages such as hardware check of operating system, this will will lead to behaviour Make system failure, but such case can be all addressed after reboot operation system.
The solution of the prior art is that baseboard management controller (baseboard management is equipped on mainboard Controller:BMC in operating system), can an overtime time be arranged to BIOS in advance in BMC, if in this time Interior BIOS does not have end of run, and BMC will restart whole operation system to solve the problems, such as.
But there is the design of BMC on the mainboard of not all operating system, therefore work as the mainboard of some operating systems On not the design of BMC when, it is difficult to BIOS start time-out when reboot operation system.
Summary of the invention
The embodiment of the present application provides the method, logical device and control equipment of a kind of reboot operation system, effectively Realize on instant mainboard when there is no the design of BMC, also can when BIOS starts time-out reboot operation system.
In view of this, the embodiment of the present application provides following scheme:
The application first aspect provides a kind of method of reboot operation system, and this method may include: that logical device receives Control the output valve and universal input output GPIO level signal that equipment is sent;Logical device is believed according to output valve and GPIO level Number determine timing time, timing time be basic input/output BIOS launching process from start to end needed for when Between;Logical device judges whether timing time is greater than or equal to preset maximum starting duration, and preset maximum starting duration indicates Maximum duration required for the launching process of BIOS;If timing time is greater than or equal to preset maximum starting duration, logic is set Standby reboot operation system.
Optionally, with reference to the above first aspect, in the first possible implementation, logical device according to output valve and GPIO level signal determines timing time, may include: that logical device judges whether output valve changes;If changing, Then logical device records initial time, and the launching process that initial time identifies the BIOS starts;Logical device is initial in record After time, judge whether GPIO level signal jumps;If jumping, the logical device record end time, at the end of Between identify BIOS launching process terminate;Logical device determines timing time according to initial time and end time.
Optionally, with reference to the above first aspect, first aspect the first possible implementation, in second of possible reality In existing mode, the output valve and GPIO level signal that logical device receiving control apparatus is sent may include: that logical device receives The process initiation message for the BIOS that equipment is sent is controlled, process initiation message includes output valve and GPIO level signal.
The application second aspect provides a kind of method of reboot operation system, and this method may include: that control equipment obtains Output valve and universal input export GPIO level signal;It controls equipment and sends output valve and GPIO level signal to logical device, The output valve and the GPIO level signal are used for logical device and determine timing time, which is basic input/output system Unite BIOS launching process from start to end needed for time.
Optionally, in conjunction with above-mentioned second aspect, in second aspect in the first possible implementation, control equipment is to patrolling It collects equipment and sends output valve and GPIO level signal, may include: the process initiation for controlling equipment and sending BIOS to logical device Message, process initiation message include output valve and GPIO level signal.
The application third aspect provides a kind of logical device, which, which has, realizes above-mentioned first aspect or first party The function of the method for any one possible implementation of face.The function can also be executed by hardware realization by hardware Corresponding software realization.The hardware or software include one or more units corresponding with above-mentioned function, module or submodule.
The application fourth aspect provides a kind of control equipment, which, which has, realizes above-mentioned second aspect or second party The function of the method for any one possible implementation of face.The function can also be executed by hardware realization by hardware Corresponding software realization.The hardware or software include one or more units corresponding with above-mentioned function, module or submodule.
The 5th aspect of the application provides a kind of computer equipment, comprising: processor and memory;The memory is for storing Program instruction, when computer equipment operation, which executes the program instruction of memory storage, so that the calculating Machine equipment execution such as above-mentioned first aspect to first aspect, appoint by any one possible implementation or second aspect to second aspect Anticipate a kind of possible implementation reboot operation system method.
The 6th aspect of the application provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when run on a computer, allowing computer to execute above-mentioned first aspect, any one can to first aspect The method for being able to achieve the reboot operation system of mode or second aspect any one possible implementation to second aspect.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
Logical device determines timing time according to output valve and GPIO level signal, and by the timing time and it is preset most Big starting duration is judged, so that it is determined that going out to work as the timing time is greater than or equal to the preset maximum starting duration, that is, BIOS start time-out can reboot operation system, effectively realize on instant mainboard when there is no the design of BMC, also can be in BIOS Reboot operation system when starting time-out.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of the method for reboot operation system provided by the embodiments of the present application;
Fig. 2 is another embodiment schematic diagram of the method for reboot operation system provided by the embodiments of the present application;
Fig. 3 is one embodiment schematic diagram of logical device provided by the embodiments of the present application;
Fig. 4 is another embodiment schematic diagram of logical device provided by the embodiments of the present application;
Fig. 5 is one embodiment schematic diagram of control equipment provided by the embodiments of the present application;
Fig. 6 is one schematic diagram of hardware configuration of the communication device in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.
The embodiment of the present application provides the method, logical device and control equipment of a kind of reboot operation system, effectively It realizes on instant mainboard when there is no the design of BMC, reboot operation can also be operated when BIOS starts time-out.
The description and claims of this application and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.Those of ordinary skill in the art are it is found that with the differentiation of figure Computational frame and new The appearance of application scenarios, technical solution provided in an embodiment of the present invention are equally applicable for similar technical problem.
Fig. 1 is one embodiment schematic diagram of the method for reboot operation system provided by the embodiments of the present application.
As shown in Figure 1, one embodiment of the method for reboot operation system provided by the embodiments of the present application includes:
101, control equipment obtains output valve and universal input exports GPIO level signal.
In the present embodiment, control equipment can be the master controllers such as PCH, and output valve can be to be exported from 80 ports POST CODE is equivalent, and mentioned GPIO level signal can be high level either low level;In practical applications, may be used also It is equivalent similar to the such control equipment of PCH and POST CODE there is many, specifically herein without limitation.
102, control equipment sends output valve and GPIO level signal to logical device.
In the present embodiment, logical device can be CPLD, in practical applications, it is also possible to exist it is many be similar to CPLD this The logical device equipment of sample, specifically herein without limitation.
103, logical device determines timing time according to output valve and GPIO level signal.
In the present embodiment, after control equipment sends output valve and GPIO level signal to logical device, then logic is set It is standby to receive mentioned output valve and GPIO level signal, therefore logical device can be according to output valve and GPIO level Signal determines timing time.It should be noted that mentioned output valve can determine the initial time of BIOS starting, GPIO level signal can determine the end time of BIOS starting, and mentioned timing time is basic input/output The launching process of BIOS from start to end required for the time.
104, logical device judges whether timing time is greater than or equal to preset maximum starting duration.
In the present embodiment, maximum starting duration can be it is pre-set, and it indicate BIOS launching process need Maximum duration.
105, when judging that timing time is greater than or equal to preset maximum starting duration, logical device reboot operation system System.
In the present embodiment, it is compared according to the timing time determined with preset maximum starting duration in logical device, If judging that timing time does big starting duration more than or equal to preset, then namely logical device judges opening for BIOS Dynamic process has timed, out, and logical device can reboot operation system at this time.
In the present embodiment, logical device determines timing time according to output valve and GPIO level signal, and by the timing Time is judged with preset maximum starting duration, so that it is determined that going out when the timing time is greater than or equal to the preset maximum starting Duration, that is, BIOS starting time-out can reboot operation system, effectively realize on instant mainboard when there is no the design of BMC, Also can BIOS start time-out when reboot operation system.
Logical device can be specially CPLD, and control equipment can be specially PCH, and in practical applications, there are many more classes Like such equipment, specifically without limitation.It is reboot operation system provided by the embodiments of the present application referring specifically to Fig. 2, Fig. 2 Another embodiment schematic diagram of method.
As shown in Fig. 2, another embodiment of the method for reboot operation system provided by the embodiments of the present application includes:
201, PCH obtains output valve and universal input exports GPIO level signal.
In the present embodiment, output valve can be equivalent, the mentioned GPIO level of the POST CODE exported from 80 ports Signal can be high level either low level;In practical applications, it is also possible to there is many and is similar to POST CODE equivalence, Specifically herein without limitation.
202, PCH sends the process initiation message of BIOS to CPLD, and process initiation message includes output valve and GPIO level Signal.
It include output valve and GPIO level signal in process initiation message, therefore PCH can be to CPLD in the present embodiment The process initiation message of BIOS is sent, to send output valve and GPIO level signal to CPLD.In practical applications, it is also possible to In the presence of many message for being similar to logical device as CPLD and the launching process for indicating BIOS, do not do herein specifically It limits.
203, CPLD judges whether output valve changes.
In the present embodiment, after PCH sends output valve to CPLD, then CPLD can receive mentioned output valve, To judge whether the output valve changes, that is, judge whether the output valve jumps from initial value FF at different Value.
204, CPLD records initial time when judging that output valve changes.
In the present embodiment, when output valve of the CPLD in judgment step 203 is jumped from initial value FF into different values, Initial time at this time can be recorded;It should be noted that the launching process that the initial time is used to identify BIOS starts ?.
Such as: assuming that in zero second state of zero when the launching process of BIOS does not start starting, when output valve is from initial Variation takes place in value FF, when becoming other values, records time when output valve this moment becomes other values, such as: 00: 15,00:15 is recorded as initial time at this time.It should be noted that chronomere is point.
205, after recording initial time, CPLD judges whether GPIO level signal jumps.
In the present embodiment, after the BIOS process initiation message of receiving step 202, GPIO level signal can receive, Therefore need to judge whether GPIO level signal jumps, thus to judge the process initiation of BIOS whether processing is over. Need that important is mentioned GPIO level signal can be high level and be also possible to low level, specifically herein without limitation.
206, CPLD is when judging that GPIO level signal jumps, the record end time.
In the present embodiment, when GPIO level signal of the CPLD in judgment step 205 starts jump, so that it may record End time at this time;It should be noted that the launching process that the end time is used to identify BIOS finishes.
Such as: when variation takes place from high level signal in GPIO level signal, record GPIO level signal this moment The time of variation takes place from high level signal, such as: 01:45 is recorded as the end time at this time by 01:45.
207, CPLD determines timing time according to initial time and end time.
In the present embodiment, in the initial time for the process initiation for obtaining BIOS and after the end time, CPLD can basis Time difference between end time and initial time determines timing time.
Such as: after recording above-mentioned initial time 00:15 and end time 01:45, by initial time 00:15 and end Time, 01:45 made difference, obtained 1 point 30 seconds, thus determine that timing time be 1 point 30 seconds.
208, CPLD judges whether timing time is greater than or equal to preset maximum starting duration.
In the present embodiment, maximum starting duration can be it is pre-set, and it indicate BIOS launching process need Maximum duration.
Such as: assuming that it is preset maximum starting duration be 1 point 15 seconds, then at this time it may determine that out in step 207 determine 1 point out is greater than preset maximum starting duration 1 for 30 seconds and divides 15 seconds.
209, when judging that timing time is greater than or equal to preset maximum starting duration, CPLD reboot operation system.
In the present embodiment, has determined that timing time 1 divides 30 seconds according to step 208 and do big starting more than or equal to preset Duration 1 is divided 15 seconds, then namely CPLD judges that the launching process of BIOS has timed, out 15 seconds, CPLD can restart at this time Operating system.
In the present embodiment, the mentioned time in step 204-209 is to play the role of an illustration, in reality In the application of border, there are many more the similar times, are specifically not repeated herein.
In the present embodiment, CPLD, which divides timing time 1 to divide 15 seconds with preset maximum starting duration 1 for 30 seconds, to be judged, really Making can restart when the timing time is greater than or equal to the preset maximum starting duration, that is, BIOS starting is 15 seconds overtime Operating system effectively realizes on instant mainboard when not having the design of BMC, also can when BIOS starts time-out reboot operation system System.
It is above-mentioned that mainly scheme provided by the embodiments of the present application is described from interactive angle.It can be understood that being Realization above-mentioned function contains and executes the corresponding hardware configuration of each function and/or software module.Those skilled in the art answer This is readily appreciated that, module described in conjunction with the examples disclosed in the embodiments of the present disclosure and algorithm steps, the application energy The combining form with hardware or hardware and computer software is reached to realize.Some function is driven actually with hardware or computer software The mode of dynamic hardware executes, the specific application and design constraint depending on technical solution.Professional technician can be right Each specific application is to use different methods to achieve the described function, but this realization is it is not considered that exceed the application Range.
The embodiment of the present application can carry out the division of functional module according to above method example to device, for example, can be right The each functional module of each function division is answered, two or more functions can also be integrated in a processing module. Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It needs Illustrate, is schematical, only a kind of logical function partition to the division of module in the embodiment of the present application, it is practical to realize When there may be another division manner.
Fig. 3 is one embodiment schematic diagram of logical device provided by the embodiments of the present application.
As shown in figure 3, logical device 30 provided by the embodiments of the present application includes receiving unit 301, determination unit 302, sentences Disconnected unit 303 restarts unit 304;
Receiving unit 301, the output valve sent for receiving control apparatus and universal input export GPIO level signal;
Determination unit 302, when for determining timing according to the received output valve of receiving unit 301 and GPIO level signal Between, timing time be basic input/output BIOS launching process from start to end needed for time;
Judging unit 303, for judging whether the timing time that determination unit 302 is determined is greater than or equal to preset maximum Starting duration, preset maximum starting duration indicate maximum duration required for the launching process of BIOS;
Unit 304 is restarted, for when judging unit 303 judges that timing time is greater than or equal to preset maximum starting It grows, then reboot operation system.
In the present embodiment, logical device determines timing time according to determination unit 302, and by the timing time with it is preset Maximum starting duration is judged by judging unit 303, determines to open when the timing time is greater than or equal to the preset maximum Dynamic duration, that is, BIOS starting time-out can reboot operation system, effectively realizing does not have the design of BMC on instant mainboard When, also can BIOS start time-out when reboot operation system.
Fig. 4 is another embodiment schematic diagram of logical device provided by the embodiments of the present application.
As shown in figure 4, logical device 40 provided by the embodiments of the present application includes receiving unit 401, determination unit 402, sentences Disconnected unit 403 restarts unit 404;
Determination unit 402 provided in the present embodiment can also include:
First judgment module 4021, for judging whether output valve changes;
First logging modle 4022, for when first judgment module 4021 judges that output valve changes, record to be just Begin the time, the launching process of initial time mark BIOS starts;
Second judgment module 4023, for after the first logging modle 4022 records initial time, judging that GPIO level is believed Number whether jump;
Second logging modle 4024, for remembering when the second judgment module 4023 judges that GPIO level signal jumps It records the end time, the end time launching process of mark BIOS terminates;
Determining module 4025, initial time and the second logging modle 4024 for being recorded according to the first logging modle 4022 The end time of record determines timing time.
In the present embodiment, initial time and recorded according to second that logical device is recorded according to the first logging modle 4022 The end time that module 4024 records, so that it is determined that timing time out, and the timing time and preset maximum starting duration are led to It crosses judging unit 403 to be judged, determines to be greater than or equal to the preset maximum starting duration when the timing time, that is, BIOS start time-out can reboot operation system, effectively realize on instant mainboard when there is no the design of BMC, also can be in BIOS Reboot operation system when starting time-out.
Fig. 5 is one embodiment schematic diagram of control equipment provided by the embodiments of the present application.
As shown in figure 5, control equipment 50 provided by the embodiments of the present application includes acquiring unit 501, transmission unit 502;
Acquiring unit 501, for obtaining output valve and universal input output GPIO level signal;
Transmission unit 502, for sending the output valve and GPIO level that acquiring unit 601 is got to logical device CPLD Signal, output valve and GPIO level signal determine that timing time, timing time are basic input/output BIOS for CPLD Launching process from start to end needed for time.
In the present embodiment, control equipment sends the output valve and GPIO level letter for determining timing time to logical device Number, so that logical device can make comparisons timing time with preset maximum starting duration, determine that BIOS is opened with this Restarting operating systems when dynamic time-out effectively realize on instant mainboard when not having the design of BMC, can also start in BIOS Reboot operation system when overtime.
Above from the angle of modular functionality entity to the logical device and control equipment progress in the embodiment of the present application Description, below from the angle of hardware handles in the embodiment of the present application logical device and control equipment be described.Fig. 6 is One schematic diagram of hardware configuration of communication device in the embodiment of the present application.As shown in fig. 6, the communication device may include:
The communication device includes at least one processor 601, communication line 607, memory 603 and at least one communication Interface 604.
Processor 601 can be a general central processor (central processing unit, CPU), micro process Device, application-specific integrated circuit (application-specific integrated circuit, server I C) or one Or it is multiple for controlling the integrated circuit of application scheme program execution.
Communication line 607 may include an access, and information is transmitted between said modules.
Communication interface 604, using the device of any transceiver one kind, for other devices or communication, such as Ethernet, wireless access network (radio access network, RAN), WLAN (wireless local area Networks, WLAN) etc..
Memory 603 can be read-only memory (read-only memory, ROM) or can store static information and instruction Other kinds of static memory, random access memory (random access memory, RAM) or letter can be stored The other kinds of dynamic storage device of breath and instruction, memory, which can be, to be individually present, and communication line 607 and processor are passed through It is connected.Memory can also be integrated with processor.
Wherein, memory 603 be used for store execution application scheme computer executed instructions, and by processor 601 Control executes.Processor 601 is for executing the computer executed instructions stored in memory 603, to realize that the application is above-mentioned The method for the reboot operation system that embodiment provides.
Optionally, the computer executed instructions in the embodiment of the present application can also be referred to as application code, the application Embodiment is not especially limited this.
In the concrete realization, as one embodiment, communication device may include multiple processors, such as the place in Fig. 6 Manage device 601 and processor 602.Each of these processors can be monokaryon (single-CPU) processor, can also To be multicore (multi-CPU) processor.Here processor can refer to one or more devices, circuit, and/or be used for Handle the processing core of data (such as computer program instructions).
In the concrete realization, as one embodiment, communication device can also include output device 605 and input unit 606.Output device 605 and processor 601 communicate, and can show information in many ways.Input unit 606 and processor 601 communications, can receive the input of user in many ways.For example, input unit 606 can be mouse, touch panel device or Sensing device etc..
Above-mentioned communication device can be a fexible unit either dedicated unit.In the concrete realization, it communicates Device can be desktop computer, portable computer, nas server, wireless terminal device, embedded equipment or have similar knot in Fig. 6 The device of structure.The embodiment of the present application does not limit the type of communication device.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
It is apparent to those skilled in the art that for convenience and simplicity of description, the logic of foregoing description The specific work process of equipment, control equipment and unit, can refer to corresponding processes in the foregoing method embodiment, herein not It repeats again.
In several embodiments provided herein, it should be understood that disclosed logical device, control equipment and side Method may be implemented in other ways.For example, the embodiment of logical device described above, control equipment is only to show Meaning property, for example, the division of the unit, only a kind of logical function partition can have other division in actual implementation Mode, such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored, or It does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be by some The indirect coupling or communication connection of interface, module or unit 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, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of method of reboot operation system characterized by comprising
The output valve and universal input that logical device receiving control apparatus is sent export GPIO level signal;
The logical device determines that timing time, the timing time are bases according to the output valve and the GPIO level signal The launching process of this input/output BIOS from start to end needed for time;
The logical device judges whether the timing time is greater than or equal to preset maximum starting duration, and the preset maximum opens Dynamic duration indicates maximum duration required for the launching process of the BIOS;
If the timing time is greater than or equal to the preset maximum starting duration, the logical device reboot operation system.
2. the method according to claim 1, wherein the logical device is according to the output valve and the GPIO Level signal determines timing time, comprising:
The logical device judges whether the output valve changes;
If changing, the logical device records initial time, and the initial time identifies the launching process of the BIOS Start;
The logical device judges whether the GPIO level signal jumps after recording the initial time;
If jumping, the logical device record end time, the end time identifies the launching process of the BIOS Terminate;
The logical device determines timing time according to the initial time and the end time.
3. method according to claim 1 or 2, output valve and the GPIO electricity that the logical device receiving control apparatus is sent Ordinary mail number, comprising:
The logical device receives the process initiation message for the BIOS that the control equipment is sent, the process initiation message Including the output valve and the GPIO level signal.
4. a kind of method of reboot operation system characterized by comprising
It controls equipment and obtains output valve and universal input output GPIO level signal;
The control equipment sends the output valve and the GPIO level signal to logical device, the output valve and described GPIO level signal determines that timing time, the timing time are basic input/output BIOS for the logical device Launching process from start to end needed for time.
5. according to the method described in claim 4, it is characterized in that, the control equipment sends the output valve to logical device With the GPIO level signal, comprising:
The control equipment sends the process initiation message of the BIOS to the logical device, and the process initiation message includes The output valve and the GPIO level signal.
6. a kind of logical device characterized by comprising
Receiving unit, the output valve sent for receiving control apparatus and universal input export GPIO level signal;
Determination unit, when for determining timing according to the received output valve of the receiving unit and the GPIO level signal Between, the timing time be basic input/output BIOS launching process from start to end needed for time;
Judging unit is opened for judging whether the timing time that the determination unit is determined is greater than or equal to preset maximum Dynamic duration, the preset maximum starting duration indicate maximum duration required for the launching process of the BIOS;
Unit is restarted, for when the judging unit judges that the timing time is greater than or equal to the preset maximum starting It grows, then reboot operation system.
7. logical device according to claim 6, which is characterized in that the determination unit, comprising:
First judgment module, for judging whether the output valve changes;
First logging modle, for when the first judgment module judges that the output valve changes, when recording initial Between, the launching process that the initial time identifies the BIOS starts;
Second judgment module, for after first logging modle records the initial time, judging the GPIO level letter Number whether jump;
Second logging modle, for when second judgment module judges that the GPIO level signal jumps, record to be tied Beam time, the launching process that the end time identifies the BIOS terminate;
Determining module, the initial time and second logging modle for being recorded according to first logging modle record The end time determine timing time.
8. a kind of control equipment characterized by comprising
Acquiring unit, for obtaining output valve and universal input output GPIO level signal;
Transmission unit, for sending the output valve and GPIO level letter that the acquiring unit is got to logical device Number, the output valve and the GPIO level signal are used for the logical device and determine that timing time, the timing time are bases The launching process of this input/output BIOS from start to end needed for time.
9. a kind of computer equipment, which is characterized in that the computer equipment includes: input/output (I/O) interface, processor And memory,
Program instruction is stored in the memory;
The processor is executed as described in any in claim 1-3 or 4-5 for executing the program instruction stored in memory Method.
10. a kind of computer readable storage medium, including instruction, which is characterized in that when described instruction is transported on a computing device When row, so that the computer equipment executes the method as described in any one of claim 1-3 or 4-5.
CN201811297113.7A 2018-11-01 2018-11-01 Method for restarting operating system, logic device and control device Active CN109375956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811297113.7A CN109375956B (en) 2018-11-01 2018-11-01 Method for restarting operating system, logic device and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811297113.7A CN109375956B (en) 2018-11-01 2018-11-01 Method for restarting operating system, logic device and control device

Publications (2)

Publication Number Publication Date
CN109375956A true CN109375956A (en) 2019-02-22
CN109375956B CN109375956B (en) 2021-10-15

Family

ID=65391418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811297113.7A Active CN109375956B (en) 2018-11-01 2018-11-01 Method for restarting operating system, logic device and control device

Country Status (1)

Country Link
CN (1) CN109375956B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362430A (en) * 2019-07-19 2019-10-22 苏州浪潮智能科技有限公司 A kind of method being restarted automatically, system and the storage medium of server
CN111367729A (en) * 2020-02-16 2020-07-03 苏州浪潮智能科技有限公司 Debug method, system and equipment combining CPLD and UART
CN112817647A (en) * 2021-02-25 2021-05-18 杭州迪普科技股份有限公司 Method for emptying CMOS and computer equipment
CN113127078A (en) * 2021-03-30 2021-07-16 山东英信计算机技术有限公司 CPLD configuration selection method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2681231Y (en) * 2003-06-24 2005-02-23 华为技术有限公司 A watchdog circuit
CN1614532A (en) * 2004-11-16 2005-05-11 威盛电子股份有限公司 Re-starting card and method for determining test moment of re-starting mechanism
CN102591728A (en) * 2011-01-11 2012-07-18 研祥智能科技股份有限公司 Method for starting up computer and basic input output system (BIOS) automatic restoring circuit
CN102693390A (en) * 2011-03-24 2012-09-26 研祥智能科技股份有限公司 Rentable main board and method for controlling main board renting
US20130031538A1 (en) * 2011-07-28 2013-01-31 International Business Machines Corporation Updating Secure Pre-boot Firmware In A Computing System In Real-time
CN104503857A (en) * 2014-12-30 2015-04-08 宁波江东波莫纳电子科技有限公司 Computer startup management control system
CN106293499A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of file acquisition method and baseboard management controller, basic input output system
CN106326026A (en) * 2016-10-12 2017-01-11 广州视睿电子科技有限公司 Methods and device for restarting operating system in case of exceptions
CN106776282A (en) * 2016-11-24 2017-05-31 华为技术有限公司 The abnormality eliminating method and device of a kind of bios program
CN107491370A (en) * 2017-08-30 2017-12-19 郑州云海信息技术有限公司 A kind of method and device for obtaining hardware fault information
CN107766102A (en) * 2017-10-16 2018-03-06 环胜电子(深圳)有限公司 The starting-up method of double ROM-BIOSs (BIOS) and there is its electronic installation
CN108415817A (en) * 2018-03-01 2018-08-17 郑州云海信息技术有限公司 BMC obtains the method, apparatus of time, equipment and can storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2681231Y (en) * 2003-06-24 2005-02-23 华为技术有限公司 A watchdog circuit
CN1614532A (en) * 2004-11-16 2005-05-11 威盛电子股份有限公司 Re-starting card and method for determining test moment of re-starting mechanism
CN102591728A (en) * 2011-01-11 2012-07-18 研祥智能科技股份有限公司 Method for starting up computer and basic input output system (BIOS) automatic restoring circuit
CN102693390A (en) * 2011-03-24 2012-09-26 研祥智能科技股份有限公司 Rentable main board and method for controlling main board renting
US20130031538A1 (en) * 2011-07-28 2013-01-31 International Business Machines Corporation Updating Secure Pre-boot Firmware In A Computing System In Real-time
CN104503857A (en) * 2014-12-30 2015-04-08 宁波江东波莫纳电子科技有限公司 Computer startup management control system
CN106293499A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of file acquisition method and baseboard management controller, basic input output system
CN106326026A (en) * 2016-10-12 2017-01-11 广州视睿电子科技有限公司 Methods and device for restarting operating system in case of exceptions
CN106776282A (en) * 2016-11-24 2017-05-31 华为技术有限公司 The abnormality eliminating method and device of a kind of bios program
CN107491370A (en) * 2017-08-30 2017-12-19 郑州云海信息技术有限公司 A kind of method and device for obtaining hardware fault information
CN107766102A (en) * 2017-10-16 2018-03-06 环胜电子(深圳)有限公司 The starting-up method of double ROM-BIOSs (BIOS) and there is its electronic installation
CN108415817A (en) * 2018-03-01 2018-08-17 郑州云海信息技术有限公司 BMC obtains the method, apparatus of time, equipment and can storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362430A (en) * 2019-07-19 2019-10-22 苏州浪潮智能科技有限公司 A kind of method being restarted automatically, system and the storage medium of server
CN111367729A (en) * 2020-02-16 2020-07-03 苏州浪潮智能科技有限公司 Debug method, system and equipment combining CPLD and UART
CN112817647A (en) * 2021-02-25 2021-05-18 杭州迪普科技股份有限公司 Method for emptying CMOS and computer equipment
CN113127078A (en) * 2021-03-30 2021-07-16 山东英信计算机技术有限公司 CPLD configuration selection method and device
CN113127078B (en) * 2021-03-30 2023-04-25 山东英信计算机技术有限公司 CPLD configuration selection method and device

Also Published As

Publication number Publication date
CN109375956B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN109375956A (en) A kind of method of reboot operation system, logical device and control equipment
CN104067257B (en) Automate event management system, management event method and event management system
CN109034394B (en) Updating method and device of machine learning model
CN109243425A (en) Speech recognition test method, device, system, computer equipment and storage medium
CN108804109B (en) Industrial deployment and control method based on multi-path functional equivalent module redundancy arbitration
CN106790598A (en) Function configuration method and system
CN110781576B (en) Simulation node scheduling method, device and equipment
US9401848B2 (en) Stateless flexible boot control
CN109471779A (en) Board state monitoring method, micro-control unit, server and storage medium
CN109871244A (en) Hard drive device, method, chip and non-transient computer readable storage medium
CN109976823A (en) A kind of application program launching method, device and terminal device
CN105051692A (en) Automated failure handling through isolation
CN112965794A (en) Algorithm calling method, electronic device and storage medium
CN109683964A (en) Bios software debugging control program, system and server
CN109507991B (en) Double-shaft servo control platform debugging system and method
CN114489701A (en) Configuration method and device of artificial intelligence software deployment environment and electronic equipment
CN108259611A (en) Cluster docker management methods, device, system and readable storage medium storing program for executing
CN110290206B (en) Distributed computing system and method for internet bar environment
CN109597389A (en) A kind of test macro of embedded control system
CN112235300A (en) Cloud virtual network vulnerability detection method, system and device and electronic equipment
Henrix et al. Performance improvement in automata learning
CN107453959B (en) Network card management method and device
CN112241141B (en) Hardware configuration method, system, device and medium of PLC control system
CN112667255B (en) Updating method, updating device, electronic equipment and storage medium
CN114257614A (en) Multi-service-mode hospital big data platform system and resource scheduling method

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