CN108376087B - Starting control method and device of electronic equipment and server - Google Patents
Starting control method and device of electronic equipment and server Download PDFInfo
- Publication number
- CN108376087B CN108376087B CN201810195086.6A CN201810195086A CN108376087B CN 108376087 B CN108376087 B CN 108376087B CN 201810195086 A CN201810195086 A CN 201810195086A CN 108376087 B CN108376087 B CN 108376087B
- Authority
- CN
- China
- Prior art keywords
- detection data
- storage space
- bios
- electronic equipment
- processing
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000001514 detection method Methods 0.000 claims abstract description 105
- 230000008569 process Effects 0.000 claims abstract description 31
- 230000008859 change Effects 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 238000004904 shortening Methods 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 description 13
- 238000007726 management method Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 238000013024 troubleshooting Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a starting control method, a starting control device and a server of electronic equipment, wherein the method comprises the following steps: presetting a first storage space in a memory of the electronic equipment; when the BIOS of the electronic equipment carries out self-checking in the starting process, the generated detection data is stored in the first storage space; respectively executing the step a and the step b to reduce the starting time of the electronic equipment; wherein: step a comprises acquiring the detection data from the first storage space and processing the detection data; step b includes executing a first program required to be executed by the BIOS at startup. The method can accelerate the processing speed of the electronic equipment during starting, such as reducing the starting time of the BIOS, increasing the utilization efficiency of the CPU, and reducing the time for the CPU to wait for the BIOS, thereby shortening the starting time of the electronic equipment on the whole and improving the use efficiency of the electronic equipment.
Description
Technical Field
The invention relates to the field of control of intelligent equipment, in particular to a starting control method and device of electronic equipment and a server.
Background
When the electronic device such as a server is started, a corresponding program in the BIOS needs to be started and the CPU needs to perform the matching processing. At present, the processing speed of the CPU is much higher than the processing speed of the BIOS itself, which causes the CPU to wait for the processing result of the BIOS in the system starting process, for example, wait for receiving the detection data formed by the BIOS during the self-test, and process other necessary boot programs (for example, executing the basic input/output program in the BIOS) after the detection data is processed. Therefore, the starting time of the whole electronic equipment such as the server is objectively increased, the experience of a user when using the electronic equipment is influenced, and the working efficiency of technical personnel when processing related programs is influenced.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a server for controlling starting of an electronic device, where the method can increase a processing speed of the electronic device during starting, such as reduce a starting time of a BIOS, so as to shorten the starting time of the electronic device as a whole and improve a utilization efficiency of the electronic device.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme: a start-up control method of an electronic device includes:
presetting a first storage space in a memory of the electronic equipment;
when the BIOS of the electronic equipment carries out self-checking in the starting process, the generated detection data is stored in the first storage space;
respectively executing the step a and the step b to reduce the starting time of the electronic equipment; wherein: step a comprises acquiring the detection data from the first storage space and processing the detection data; step b includes executing a first program required to be executed by the BIOS at startup.
Preferably, the acquiring the detection data from the first storage space and processing the detection data includes: driving at least one second core in a CPU of the electronic equipment to acquire the detection data from the first storage space and process the detection data;
the executing the first program required to be executed when the BIOS is started comprises the following steps: and driving at least one first core in the CPU to execute a first program required to be executed when the BIOS is started.
Preferably, before said performing step a and step b respectively, the method further comprises:
executing a multi-process service program preset in the BIOS;
and respectively driving the second core and the first core according to the multiprocessing service program.
Preferably, the method further comprises:
detecting hardware change of the electronic equipment;
and updating the multi-process service program according to the hardware change information.
Preferably, the method further comprises:
sending the detection data to a BMC of the electronic device through the second core;
performing first processing on the detection data through the BMC, and sending the processed data to a mainboard interface of the electronic equipment; wherein the first processing includes format conversion processing of the detection data.
Preferably, the method further comprises:
initializing the memory when the electronic equipment is started;
separately dividing a partial area in the memory to form the first storage space;
and canceling the first storage space after the electronic equipment is started.
The embodiment of the application also provides a starting control device of the electronic equipment, which comprises a preset module, a storage module and a processing module;
the preset module is configured to preset a first storage space in a memory of the electronic device;
the storage module is configured to store the generated detection data in the first storage space when the BIOS of the electronic device performs self-checking of a starting process;
the processing module is configured to execute the program a and the program b respectively so as to reduce the starting time of the electronic equipment; wherein: the program a comprises the steps of obtaining the detection data from the first storage space and processing the detection data; program b comprises a first program required to be executed when the BIOS is started.
Preferably, the processing module is further configured to:
driving at least one second core in a CPU of the electronic equipment to acquire the detection data from the first storage space and process the detection data;
and driving at least one first core in the CPU to execute a first program required to be executed when the BIOS is started.
Preferably, the apparatus further comprises a transmission module, the transmission module is connected to the processing module, and the transmission module is configured to:
sending the detection data to a BMC of the electronic device through the second core so that the processing module performs first processing on the detection data through the BMC;
sending the processed data to a mainboard interface of the electronic equipment; wherein the first processing includes format conversion processing of the detection data.
An embodiment of the present application further provides a server, including a processor and a memory, where the memory stores executable instructions, and the processor executes the executable instructions to implement:
presetting a first storage space in a memory of the server;
when the BIOS of the server carries out self-checking in the starting process, the generated detection data is stored in the first storage space;
respectively executing the step a and the step b to reduce the starting time of the server; wherein: step a comprises acquiring the detection data from the first storage space and processing the detection data; step b includes executing a first program required to be executed by the BIOS at startup.
The embodiment of the invention has the beneficial effects that: the method can accelerate the processing speed of the electronic equipment during starting, such as reducing the starting time of the BIOS, increasing the utilization efficiency of the CPU, and reducing the time for the CPU to wait for the BIOS, thereby shortening the starting time of the electronic equipment on the whole and improving the use efficiency of the electronic equipment.
Drawings
Fig. 1 is a flowchart of a start control method of an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a startup control method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a startup control method according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a startup control method according to a third embodiment of the present invention;
FIG. 5 is a flowchart of a fourth embodiment of a startup control method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an embodiment of a start control device of an electronic device according to the embodiment of the present invention.
Description of the reference numerals
1-first memory space 2-first core 3-second core
4-input/output module 5-BMC 6-mainboard interface
7-first procedure
Detailed Description
Various aspects and features of the present invention are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the invention herein. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Other modifications will occur to those skilled in the art which are within the scope and spirit of the invention.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with a general description of the invention given above, and the detailed description of the embodiments given below, serve to explain the principles of the invention.
These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It should also be understood that, although the invention has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of the invention, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present invention will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present invention are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the invention in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present invention in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the invention.
The starting control method of the electronic equipment can be applied to the starting or testing process of the electronic equipment such as a computer, a server and the like, and can refine the control mode of the electronic equipment and reduce the starting time. When the electronic equipment is started, BIOS (basic input/output system) of the electronic equipment needs to perform a Self-checking step (POST) to complete the detection of components of the electronic equipment such as a CPU, a mainboard, a memory, a soft and hard disk system, a display subsystem (including a display cache), a serial-parallel interface, a keyboard, a CD-ROM drive and the like, and judge whether the electronic equipment has problems, and the CPU of the electronic equipment waits for the BIOS to report relevant information in the Self-checking process in the process. As shown in fig. 1, the method comprises the steps of:
s1, presetting a first storage space 1 in the memory of the electronic device. The memory has a space required by the data of the electronic device during operation, the first storage space 1 is preset in the whole space for use in the method, and the first storage space 1 may be independent of other spaces in the memory, and the size of the first storage space 1 may be set according to specific situations, for example, according to the configuration situation of the electronic device, or directly according to the BIOS feedback data amount.
S2, when the BIOS of the electronic device performs self-test of the boot process, the generated detection data is stored in the first storage space 1. Specifically, when the electronic device is used by a user or a technician, the electronic device needs to be started or tested, and when the electronic device is started or restarted, the BIOS needs to perform self-test, or power-on self-test, for example, the main hardware device of the electronic device is detected and corresponding detection data is generated, including that if the hardware has error information generated by an error, for example, the hard disk is not found or works abnormally when found, the BIOS sends an error information according to the nature of the problem. The detection data is stored in the first storage space 1 in the present embodiment without being directly transmitted, such as directly to the CPU, and without waiting for the detection data to be generated. Furthermore, since the first storage space 1 utilizes existing hardware in the electronic device, no additional expenditure is required.
S3, respectively executing the step a and the step b to reduce the starting time of the electronic equipment; wherein: step a comprises acquiring detection data from the first storage space 1 and processing the detection data; step b comprises executing the first program 7 required to be executed at the start of the BIOS. Step a and step b can be executed separately or successively. In one embodiment, the electronic device has a plurality of CPUs, and for step a, a first CPU can be used to acquire and process the detection data from the first storage space 1; for step b, the second CPU may be used to execute a first program 7 required to be executed when the BIOS is started, where the first program 7 includes a preset program in the BIOS, such as a basic input/output program, a system self-starting program, and the like. Therefore, the plurality of CPUs can be utilized to drive the CPUs to respectively perform respective work, the time for waiting the BIOS to generate the detection data is reduced, and the starting time of the electronic equipment is reduced as a whole. In another embodiment, the electronic device has one CPU, each CPU may have multiple cores. The coordination between the cores is also similar to the above embodiments.
In an embodiment of the present application, the acquiring and processing the detection data from the first storage space 1 includes: at least one second core 3 in the CPU of the drive electronics acquires the detection data from the first memory space 1 and processes the detection data. The CPU is provided with a plurality of cores which can be matched with each other, the second core 3 is a specific core in the CPU and also can be a specific plurality of cores in the CPU, the second core 3 can access the first storage space 1 in the memory and acquire the detection data generated by the BIOS from the first storage space 1 so as to process the detection data, and other cores of the CPU can save system resources at the moment to perform other necessary tasks (such as executing the first program 7) so as to form a concurrent working state of the plurality of cores and effectively save data processing time.
The first program 7 required to be executed when the BIOS is executed includes: at least one first core 2 in the drive CPU executes a first program 7 required to be executed at the time of BIOS startup. Similarly, the CPU has a plurality of cores, the cores may be mutually matched, and the first core 2 may be a specific core of the CPU different from the second core 3, or may be a specific plurality of cores of the CPU different from the second core 3. The first program 7 may be a basic input/output program stored in the BIOS, a system boot program, or other important program that must be executed. When the second core 3 waits for or processes the detection data, the first core 2 can execute the first program 7, so that the time of the CPU responding to the BIOS is effectively saved, and the starting time of the electronic devices such as the server is reduced.
In one embodiment of the present application, as shown in fig. 2 in conjunction with fig. 6, before performing step a and step b, respectively, the method further comprises the steps of:
s4, executing the multi-process service program preset in the BIOS. The multiprocess service program (MP service) may be preset in the storage space of the BIOS, and when the BIOS is started, the multiprocess service program may be started first, and the multiprocess service program itself may be modified according to a specific situation, for example, a scheme of task allocation to a core of the CPU needs to be modified, so as to change a working manner in which the plurality of cores cooperate.
S5, driving the second core 3 and the first core 2 respectively according to the multiprocessing service program. Specifically, after the multi-process service program is started up in a first event, the multi-process service program can respectively drive the second core 3 and the first core 2 to work, for example, drive the second core 3 to acquire detection data from the first storage space 1 and process the detection data; the first core 2 is driven to execute the first program 7, etc. Thus the step of coordinating the first core 2 and the second core 3 may be performed by operating a multi-process service routine.
In one embodiment of the present application, as shown in fig. 3, the method further comprises the steps of:
s6, detecting the hardware change of the electronic device. The change of the hardware causes the detection data generated by the BIOS during the self-test step to change correspondingly, and after the detection data changes, in an embodiment, the matching manner of the first core 2 and the second core 3 also changes, for example, if the data amount of the detection data increases, the operating frequency of the second core 3 needs to be increased or the number of the second cores 3 needs to be increased.
And S7, updating the multi-process service program according to the hardware change information. The updating of the multi-process service program can make the multi-process service program suitable for the situation of hardware change of the electronic equipment, and timely adjust the coordination relationship among a plurality of CPUs or the coordination relationship among a plurality of cores according to the hardware change.
In one embodiment of the present application, as shown in fig. 4 in conjunction with fig. 6, the method further comprises the steps of:
s8, the detection data is transmitted to the BMC 5 of the electronic device through the second core 3. BMC 5(Baseboard Management Controller) is an important component of an electronic device such as a server, and BMC 5 supports an IPMI specification of an industry standard describing Management functions that have been built into a motherboard of the electronic device such as the server, and these functions include: local and remote diagnostics, console support, configuration management, hardware management, or troubleshooting, etc. In this embodiment, the BMC 5 includes an input/output module 4(SIO, super IO), which may be in the form of a window, and the second core 3 sends the detection data to the input/output module 4 for the BMC 5 to call.
S9, performing first processing on the detection data through BMC 5, and sending the processed data to a mainboard interface 6 of the electronic device; wherein the first processing includes format conversion processing of the detection data. In an embodiment, the BMC 5 may send the processed data to a UART Port of the motherboard, and further transmit the processed data to the motherboard, and a user may call the first processed detection data through the motherboard, and the like. In addition, the formatting processing enables the detection data to be converted into a data form which can be identified by the mainboard, and the method is favorable for transferring and transmitting the processed data.
In one embodiment of the present application, as shown in fig. 5, the method further comprises the steps of:
s10, initializing the memory when the electronic device is started. The memory space can be reallocated when the memory is initialized.
S11, a partial area is separately defined in the memory to form a first storage space 1. The first storage space 1 is independent of other areas in the memory, and can be independently operated, such as calling data therein.
S12, the first storage space 1 is cancelled after the electronic device is started. After the first storage space 1 is cancelled, the occupied space can be returned to the memory, and the memory storage space is enlarged. The first storage space 1 may be reset before the electronic device is powered on again.
The embodiment of the application also provides a starting control device of the electronic equipment, which comprises a preset module, a storage module and a processing module.
The presetting module is configured to preset a first storage space 1 in a memory of the electronic device (as shown in fig. 6). The memory has a space required by the data of the electronic device during operation, the preset module presets the first storage space 1 in the whole space for use in the method, and the first storage space 1 may be independent of other spaces in the memory, and the size of the first storage space 1 may be set according to specific situations, for example, according to the configuration situation of the electronic device, or directly according to the BIOS feedback data amount.
The storage module is configured to store the generated detection data in the first storage space 1 when the BIOS of the electronic device performs self-test of the start-up process. Specifically, when the electronic device is used by a user or a technician, the electronic device needs to be started or tested, and when the electronic device is started or restarted, the BIOS needs to perform self-test, or power-on self-test, for example, the main hardware device of the electronic device is detected and corresponding detection data is generated, including that if the hardware has error information generated by an error, for example, the hard disk is not found or works abnormally when found, the BIOS sends an error information according to the nature of the problem. In the embodiment, the storage module stores the detection data in the first storage space 1, and does not need to be directly sent, such as directly sent to the CPU, or wait for the generation of the detection data. Furthermore, since the first storage space 1 utilizes existing hardware in the electronic device, no additional expenditure is required.
The processing module is configured to execute the program a and the program b respectively so as to reduce the starting time of the electronic equipment; wherein: the program a comprises the steps of acquiring detection data from the first storage space 1 and processing the detection data; the program b comprises a first program 7 which is required to be executed when the BIOS is started. Step a and step b can be executed separately or successively. In one embodiment, the electronic device has a plurality of CPUs, and for step a, the processing module may use a first CPU to acquire the detection data from the first storage space 1 and process the detection data; for step b, the processing module may utilize the second CPU to execute the first program 7 required to be executed when the BIOS is started, where the first program 7 includes a preset program in the BIOS, such as a basic input/output program, a system self-starting program, and the like. Therefore, the processing module can be used for a plurality of CPUs and drives the CPUs to respectively perform respective work, the time for waiting for the BIOS to generate the detection data is reduced, and the starting time of the electronic equipment is reduced as a whole. In another embodiment, the electronic device has one CPU, each CPU may have multiple cores. The coordination between the cores is also similar to the above embodiments.
In one embodiment of the present application, as shown in fig. 6, the processing module is further configured to:
and driving at least one second core 3 in the CPU of the electronic equipment to acquire the detection data from the first storage space 1 and process the detection data. The CPU is provided with a plurality of cores which can be matched with each other, the second core 3 is a specific core in the CPU and can also be a specific plurality of cores in the CPU, the processing module can drive the second core 3 to access the first storage space 1 in the memory and acquire the detection data generated by the BIOS from the first storage space 1 so as to process the detection data, and at the moment, other cores of the CPU can save system resources to perform other necessary tasks (such as executing the first program 7) so as to form a concurrent working state of the plurality of cores and effectively save data processing time.
At least one first core 2 in the CPU is driven to execute a first program 7 required to be executed when the BIOS is started. Similarly, the CPU has a plurality of cores, the cores may be mutually matched, and the first core 2 may be a specific core of the CPU different from the second core 3, or may be a specific plurality of cores of the CPU different from the second core 3. The first program 7 may be a basic input/output program stored in the BIOS, a system boot program, or other important program that must be executed. When the second core 3 waits for or processes the detection data, the processing module can drive the first core 2 to execute the first program 7, so that the time of the CPU responding to the BIOS is effectively saved, and the starting time of the electronic equipment such as the server is further reduced.
In an embodiment of the present application, as shown in fig. 6, the start control device further includes a transmission module, the transmission module is connected to the processing module, and the transmission module is configured to:
the detection data is sent to the BMC 5 of the electronic device through the second core 3, so that the processing module performs a first process on the detection data through the BMC 5. BMC 5(Baseboard Management Controller) is an important component of an electronic device such as a server, and BMC 5 supports an IPMI specification of an industry standard describing Management functions that have been built into a motherboard of the electronic device such as the server, and these functions include: local and remote diagnostics, console support, configuration management, hardware management, or troubleshooting, etc. In this embodiment, the BMC 5 includes an input/output module 4(SIO, super IO), which may be in the form of a window, and the transmission module sends the detection data to the input/output module 4 through the second core 3 for the BMC 5 to call.
The processed data is sent to a mainboard interface 6 of the electronic equipment; wherein the first processing includes format conversion processing of the detection data. The first processing includes format conversion processing of the detection data. In an embodiment, the transmission module may send the processed data to a UART Port of the motherboard through the BMC 5, and further transmit the processed data to the motherboard, and a user may call the first processed detection data through the motherboard, and the like. In addition, the formatting processing enables the detection data to be converted into a data form which can be identified by the mainboard, and the method is favorable for transferring and transmitting the processed data.
The embodiment of the invention also provides a server, which comprises a processor and a memory, wherein the memory is stored with executable instructions, and the processor executes the executable instructions to realize that:
a first storage space 1 is preset in a memory of the server. The memory has a space required by the data of the electronic device during operation, the first storage space 1 is preset in the whole space for use in the method, and the first storage space 1 may be independent of other spaces in the memory, and the size of the first storage space 1 may be set according to specific situations, for example, according to the configuration situation of the electronic device, or directly according to the BIOS feedback data amount.
When the BIOS of the server performs self-test of the start-up process, the generated test data is stored in the first storage space 1. Specifically, when the electronic device is used by a user or a technician, the electronic device needs to be started or tested, and when the electronic device is started or restarted, the BIOS needs to perform self-test, or power-on self-test, for example, the main hardware device of the electronic device is detected and corresponding detection data is generated, including that if the hardware has error information generated by an error, for example, the hard disk is not found or works abnormally when found, the BIOS sends an error information according to the nature of the problem. The detection data is stored in the first storage space 1 in the present embodiment without being directly transmitted, such as directly to the CPU, and without waiting for the detection data to be generated. Furthermore, since the first storage space 1 utilizes existing hardware in the electronic device, no additional expenditure is required.
Respectively executing the step a and the step b to reduce the starting time of the server; wherein: step a comprises acquiring detection data from the first storage space 1 and processing the detection data; step b comprises executing the first program 7 required to be executed at the start of the BIOS. Step a and step b can be executed separately or successively. In one embodiment, the electronic device has a plurality of CPUs, and for step a, a first CPU can be used to acquire and process the detection data from the first storage space 1; for step b, the second CPU may be used to execute a first program 7 required to be executed when the BIOS is started, where the first program 7 includes a preset program in the BIOS, such as a basic input/output program, a system self-starting program, and the like. Therefore, the plurality of CPUs can be utilized to drive the CPUs to respectively perform respective work, the time for waiting the BIOS to generate the detection data is reduced, and the starting time of the electronic equipment is reduced as a whole. In another embodiment, the electronic device has one CPU, each CPU may have multiple cores. The coordination between the cores is also similar to the above embodiments.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present invention, and such modifications and equivalents should also be considered as falling within the scope of the present invention.
Claims (8)
1. A start-up control method of an electronic device includes:
presetting a first storage space in a memory of the electronic equipment;
when the BIOS of the electronic equipment carries out self-checking in the starting process, the generated detection data is stored in the first storage space;
respectively executing the step a and the step b to reduce the starting time of the electronic equipment; wherein: step a comprises acquiring the detection data from the first storage space and processing the detection data; step b comprises executing a first program required to be executed when the BIOS is started; wherein,
the acquiring the detection data from the first storage space and processing the detection data comprises: driving at least one second core in a CPU of the electronic equipment to acquire the detection data from the first storage space and process the detection data;
the executing the first program required to be executed when the BIOS is started comprises the following steps: and driving at least one first core in the CPU to execute a first program required to be executed when the BIOS is started.
2. The method of claim 1, further comprising, prior to said performing steps a and b, respectively:
executing a multi-process service program preset in the BIOS;
and respectively driving the second core and the first core according to the multiprocessing service program.
3. The method of claim 2, further comprising:
detecting hardware change of the electronic equipment;
and updating the multi-process service program according to the hardware change information.
4. The method of claim 1, further comprising:
sending the detection data to a BMC of the electronic device through the second core;
performing first processing on the detection data through the BMC, and sending the processed data to a mainboard interface of the electronic equipment; wherein the first processing includes format conversion processing of the detection data.
5. The method of claim 1, further comprising:
initializing the memory when the electronic equipment is started;
separately dividing a partial area in the memory to form the first storage space;
and canceling the first storage space after the electronic equipment is started.
6. A starting control device of electronic equipment comprises a preset module, a storage module and a processing module;
the preset module is configured to preset a first storage space in a memory of the electronic device;
the storage module is configured to store the generated detection data in the first storage space when the BIOS of the electronic device performs self-checking of a starting process;
the processing module is configured to execute the program a and the program b respectively so as to reduce the starting time of the electronic equipment; wherein: the program a comprises the steps of obtaining the detection data from the first storage space and processing the detection data; the program b comprises a first program required to be executed when the BIOS is started; wherein,
the processing module is further configured to:
driving at least one second core in a CPU of the electronic equipment to acquire the detection data from the first storage space and process the detection data;
and driving at least one first core in the CPU to execute a first program required to be executed when the BIOS is started.
7. The apparatus of claim 6, further comprising a transmission module coupled with the processing module, the transmission module configured to:
sending the detection data to a BMC of the electronic device through the second core so that the processing module performs first processing on the detection data through the BMC;
sending the processed data to a mainboard interface of the electronic equipment; wherein the first processing includes format conversion processing of the detection data.
8. A server comprising a processor and a memory, the memory having stored thereon executable instructions, the processor executing the executable instructions to implement:
presetting a first storage space in a memory of the server;
when the BIOS of the server carries out self-checking in the starting process, the generated detection data is stored in the first storage space;
respectively executing the step a and the step b to reduce the starting time of the server; wherein: step a comprises acquiring the detection data from the first storage space and processing the detection data; step b comprises executing a first program required to be executed when the BIOS is started; wherein,
the acquiring the detection data from the first storage space and processing the detection data comprises: driving at least one second core in a CPU of the server to acquire the detection data from the first storage space and process the detection data;
the executing the first program required to be executed when the BIOS is started comprises the following steps: and driving at least one first core in the CPU to execute a first program required to be executed when the BIOS is started.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810195086.6A CN108376087B (en) | 2018-03-09 | 2018-03-09 | Starting control method and device of electronic equipment and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810195086.6A CN108376087B (en) | 2018-03-09 | 2018-03-09 | Starting control method and device of electronic equipment and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108376087A CN108376087A (en) | 2018-08-07 |
CN108376087B true CN108376087B (en) | 2020-11-20 |
Family
ID=63018704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810195086.6A Active CN108376087B (en) | 2018-03-09 | 2018-03-09 | Starting control method and device of electronic equipment and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108376087B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11126517B2 (en) * | 2019-05-14 | 2021-09-21 | Quanta Computer Inc. | Method and system for communication channels to management controller |
CN111176742B (en) * | 2019-12-31 | 2021-10-22 | 联想(北京)有限公司 | Processing method of initialization data and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545654A (en) * | 2001-08-22 | 2004-11-10 | () | Quick starting method for computer |
US7984446B1 (en) * | 2003-09-18 | 2011-07-19 | Nvidia Corporation | Method and system for multitasking BIOS initialization tasks |
CN103136019A (en) * | 2011-11-29 | 2013-06-05 | 国际商业机器公司 | Method and device used for uploading configuration information |
CN103488498A (en) * | 2013-09-03 | 2014-01-01 | 华为技术有限公司 | Computer booting method and computer |
CN106155706A (en) * | 2015-03-22 | 2016-11-23 | 联想(北京)有限公司 | Preserve electronic equipment and start the system and method for information |
CN106990958A (en) * | 2017-03-17 | 2017-07-28 | 联想(北京)有限公司 | A kind of extension element, electronic equipment and startup method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7600110B2 (en) * | 2006-07-11 | 2009-10-06 | Giga-Byte Technology Co., Ltd. | Method for simulating an intelligent platform management interface using BIOS |
CN102880477B (en) * | 2011-07-14 | 2016-08-17 | 联想(北京)有限公司 | A kind of method realizing computer starting and computer |
TWI479420B (en) * | 2013-01-16 | 2015-04-01 | Wistron Corp | Computer and booting method thereof |
BR112016026264B1 (en) * | 2014-05-09 | 2022-01-18 | Huawei Technologies Co., Ltd | COMPUTER IMPLEMENTED METHOD TO OPTIMIZE A COMPUTER SYSTEM INITIALIZATION TIME AND COMPUTER SYSTEM |
-
2018
- 2018-03-09 CN CN201810195086.6A patent/CN108376087B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545654A (en) * | 2001-08-22 | 2004-11-10 | () | Quick starting method for computer |
US7984446B1 (en) * | 2003-09-18 | 2011-07-19 | Nvidia Corporation | Method and system for multitasking BIOS initialization tasks |
CN103136019A (en) * | 2011-11-29 | 2013-06-05 | 国际商业机器公司 | Method and device used for uploading configuration information |
CN103488498A (en) * | 2013-09-03 | 2014-01-01 | 华为技术有限公司 | Computer booting method and computer |
CN106155706A (en) * | 2015-03-22 | 2016-11-23 | 联想(北京)有限公司 | Preserve electronic equipment and start the system and method for information |
CN106990958A (en) * | 2017-03-17 | 2017-07-28 | 联想(北京)有限公司 | A kind of extension element, electronic equipment and startup method |
Non-Patent Citations (2)
Title |
---|
优化BIOS加快电脑启动和运行速度;jcss;《https://www.cnblogs.com/jcss2008/archive/2010/04/22/1718175.html》;20100422;1-4 * |
服务器中加速BIOS启动的方法;存储之厨;《https://blog.51cto.com/xiamachao/1691096》;20150903;1-3 * |
Also Published As
Publication number | Publication date |
---|---|
CN108376087A (en) | 2018-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6530774B2 (en) | Hardware failure recovery system | |
US7574627B2 (en) | Memory dump method, memory dump program and computer system | |
US7685474B2 (en) | Failsafe computer support assistant using a support virtual machine | |
US20080162764A1 (en) | Processing method and processing device for a hardware interrupt | |
US20140122931A1 (en) | Performing diagnostic tests in a data center | |
WO2013075499A1 (en) | Power on self test information output method, virtual machine manager and processor | |
CN103257922B (en) | A kind of method of quick test BIOS and OS interface code reliability | |
US11334436B2 (en) | GPU-based advanced memory diagnostics over dynamic memory regions for faster and efficient diagnostics | |
CN108376087B (en) | Starting control method and device of electronic equipment and server | |
US7904564B2 (en) | Method and apparatus for migrating access to block storage | |
US9298568B2 (en) | Method and apparatus for device driver state storage during diagnostic phase | |
US9582069B2 (en) | Electronic apparatus and wake-up method thereof | |
KR20110120187A (en) | System and method for customizing a scsi error response received from a scsi target in a storage network environment | |
US7627789B2 (en) | Polymorphic management of embedded devices using web interfaces | |
JP2003173272A (en) | Information processing system, information processor and maintenance center | |
KR20100005047A (en) | Grid processing controller | |
US20130318336A1 (en) | Method for Executing Bios Tool Program in Non-SMI Mechanism | |
US10528397B2 (en) | Method, device, and non-transitory computer readable storage medium for creating virtual machine | |
CN116795761A (en) | Control method and device of I2C bus multiplexer and electronic equipment | |
KR101056759B1 (en) | Recording medium recording an information processing system, a method of controlling the information processing system, and a control program of the information processing system | |
EP3974979A1 (en) | Platform and service disruption avoidance using deployment metadata | |
US20200159646A1 (en) | Information processing apparatus | |
TWI554876B (en) | Method for processing node replacement and server system using the same | |
CN111930502A (en) | Server management method, device, equipment and storage medium | |
US20220357976A1 (en) | Information processing apparatus, information processing method, and computer-readable recording medium storing information processing program |
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 |