CN114443152B - Network wake-up starting-up method and computer equipment - Google Patents

Network wake-up starting-up method and computer equipment Download PDF

Info

Publication number
CN114443152B
CN114443152B CN202210063401.6A CN202210063401A CN114443152B CN 114443152 B CN114443152 B CN 114443152B CN 202210063401 A CN202210063401 A CN 202210063401A CN 114443152 B CN114443152 B CN 114443152B
Authority
CN
China
Prior art keywords
starting
identification information
instruction information
wake
target object
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
Application number
CN202210063401.6A
Other languages
Chinese (zh)
Other versions
CN114443152A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210063401.6A priority Critical patent/CN114443152B/en
Publication of CN114443152A publication Critical patent/CN114443152A/en
Priority to PCT/CN2022/122790 priority patent/WO2023138101A1/en
Application granted granted Critical
Publication of CN114443152B publication Critical patent/CN114443152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/4418Suspend and resume; Hibernate and awake
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The embodiment of the invention relates to a network wake-up starting-up method and computer equipment, wherein the method comprises the following steps: acquiring a wake-up data packet; analyzing the wake-up data packet to obtain starting data; and writing the identification information into a preset position. Compared with the fixed startup item after the machine is awakened in the prior art, the startup method and the device can adjust the first startup item after the machine is awakened more conveniently and flexibly. The method and the device meet the requirement of controlling the starting behavior of any starting item after the existing user wakes up to start. By the mode, after the user is awakened to start, the user does not need to enter the network card to start PXE or enter the USB flash disk to start, so that the starting operation of the network card, the starting operation of the USB flash disk and the like is more convenient and quick. Moreover, as the target machine can be awakened and started according to the requirements of the user so as to enter different starting items, the method can be suitable for various network awakening starting scenes.

Description

Network wake-up starting-up method and computer equipment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a network wake-up starting method and computer equipment.
Background
The Wake On LAN (WOL) is a Wake On LAN technology, and a machine in a sleep or power-off state can be awakened to enter a working or power-On state by sending a data packet of the Wake On LAN to a network card of a target machine. The network wake-up starting technology has important significance for a server without a BMC out-of-band management chip, but for a target machine in a shutdown state, the technology can only wake up the target machine to start, then enter a first starting item, but cannot control the starting behavior after starting, if a plurality of starting items exist, such as a hard disk, a USB flash disk and the like, a user needs to wake up and then enter a network card to start a Pre-starting execution environment (Pre-boot Execution Environment, PXE for short), or enter the USB flash disk to start, the operation is troublesome, and the current network wake-up starting technology cannot meet the requirements.
Disclosure of Invention
The application provides a network wake-up starting method and computer equipment, which are used for solving the technical problems that a data packet in the local area network wake-up technology in the prior art can only wake up a machine in a dormant or power-off state to enable the machine to enter a working or power-on state, but cannot control the starting behavior after power-on.
In a first aspect, the present application provides a network wake-on-a-go method, where the method corresponds to a computer device, where the computer device includes at least a network card and a controller, and the method is performed by the network card, and includes:
acquiring a wake-up data packet;
analyzing the wake-up data packet to obtain starting data, wherein the starting data comprises identification information of one of a plurality of target objects to be started;
writing the identification information into a preset position so that the controller can determine a target object to be started according to the identification information stored in the preset position after determining that the computer equipment is awakened, and executing starting operation on the target object.
In a second aspect, the present application provides another network wake-on-a-go method, where the method corresponds to a computer device, and the computer device includes at least a network card and a controller, and the method is executed by the controller, and includes:
when the computer equipment is determined to be awakened, reading starting data from a preset position, wherein the starting data comprises first identification information of one of a plurality of target objects to be started;
and after the target object to be started is determined according to the first identification information, executing the starting operation on the target object.
In a third aspect, a computer device is provided, including a network card, a controller, a communication interface, a memory, and a communication bus, where the network card, the controller, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
the network card is used for realizing the steps of the network wake-up starting method of any one embodiment of the first aspect when executing the program stored on the memory;
and the controller is used for realizing the steps of the network awakening starting method according to any one of the embodiments of the second aspect when executing the program stored in the memory.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a computer device, implements the steps of the wake-on-network boot method as in any of the embodiments of the first aspect;
alternatively, the steps of a wake-on-network power-on method according to any one of the embodiments of the second aspect are implemented.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, after the wake-up data packet is acquired, the wake-up data packet is analyzed, and the starting data is acquired. The starting data comprises identification information of one of a plurality of target objects to be started. The network card can write the identification information into a preset position for storage. So that the subsequent controller can determine the target object to be started according to the identification information stored in the preset position after determining that the computer equipment is awakened, and then execute corresponding starting operation. In the process, the target object to be started can be determined according to the starting data added in the wake-up data packet. Compared with the fixed startup item after the machine is awakened in the prior art, the startup method and the device can adjust the first startup item after the machine is awakened more conveniently and flexibly. The method and the device meet the requirement of controlling the starting behavior of any starting item after the existing user wakes up to start. By the mode, after the user is awakened to start, the user does not need to enter the network card to start PXE or enter the USB flash disk to start, so that the starting operation of the network card, the starting operation of the USB flash disk and the like is more convenient and quick. Moreover, as the target machine can be awakened and started according to the requirements of the user so as to enter different starting items, the method can be suitable for various network awakening starting scenes.
Drawings
Fig. 1 is a flowchart of a wake-on-network method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another wake-on-network method according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for determining a target object to be started according to first identification information provided by the present invention;
FIG. 4 is a flowchart of a method for determining whether to start a target object corresponding to first start instruction information in a next cycle according to the first start instruction information provided by the present invention;
FIG. 5 is a flowchart of the overall method for wake-on-network method provided by the present invention;
fig. 6 is a schematic structural diagram of a wake-on-network device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another wake-on-network device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For the purpose of facilitating an understanding of the embodiments of the present invention, reference will now be made to the following description of specific embodiments, taken in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the invention.
Aiming at the technical problems mentioned in the background art, the embodiment of the application provides a network wake-up starting method, and particularly, the method is shown in fig. 1. Fig. 1 is a flow chart of a network wake-up starting method according to an embodiment of the present invention, where the method corresponds to a computer device, the computer device at least includes a network card and a controller, and the method is executed by the network card and includes:
step 110, a wake-up packet is acquired.
Specifically, a wake-up data packet is remotely sent to the network card in the local area network, wherein the wake-up data packet is added with start data for controlling the start-up behavior.
In a specific example, the network wakeup packet has a fixed structure, the content is 108 bytes, the first 6 bytes are full FF padding in the prior art, the next 96 bytes pad the awakened network card MAC address (6 times of repetition of the 6 bytes MAC), and the last 6 bytes pad the password, and no password is padded with 00 bits. In this application, the start data is added to some of the first 6 bytes.
And 120, analyzing the wake-up data packet to obtain starting data.
Specifically, the network card in the computer device analyzes the wake-up data packet to obtain starting data, wherein the starting data comprises identification information of one of a plurality of target objects to be started.
In an alternative example, the target object to be started may include, for example, a hard disk, a usb disk, or a network card, where the network card is different from the execution body network card in the present embodiment, and is used to connect with other network cards in the PXE intervening system. The network card in this embodiment is a network card with a wake-up function.
And 130, writing the identification information into a preset position.
Specifically, after receiving the identification information corresponding to the target object to be started, the network card writes the identification information into a preset position, for example, a network card driver, so that a controller in subsequent computer equipment can conveniently determine the target object to be started according to the identification information stored in the preset position after determining that the computer equipment is awakened, and execute starting operation on the target object.
In a specific example, the identification information is embodied in the form of a first field. For example, the startup data is startup data corresponding to a hard disk, the identification information is 00, or the startup data is startup data corresponding to a usb disk, the identification information is 01, or the like. The target object is distinguished by different field values corresponding to the first field.
Further optionally, the start data may further include start instruction information corresponding to the target object, in addition to identification information corresponding to the target object to be started. The starting instruction information is used for indicating the effective period of starting data corresponding to the target object.
Specifically, the validation period herein may refer to a specific number of validation periods, such as 5 total validation times from the current time, or all the time valid, or only a single validation time. The specific limit of the effective period can be set according to practical situations, and will not be described too much here.
That is, after the controller executes the target object to be started indicated by the start data, determining whether the start data corresponding to each target object is still valid in the next period according to the start instruction information.
If the startup data is not valid, the controller may delete the startup data corresponding to the target object directly. If the startup data continues to be effective, it needs to be reserved, which will be described in the next embodiment, and will not be described in detail here.
In an alternative example, the start instruction information is embodied in the form of a second field.
For example, 00 indicates a lifetime of validity, and 01 indicates that the validity is only once. When the field value of the second field corresponding to the start instruction information in the start data corresponding to a certain target object is 00, the method indicates that the target object still needs to be started after the next time the computer equipment is awakened to start. Or when the field value of the second field is 01, after the next time the computer device is awakened to start, the target object is not required to be restarted, but other configured target objects to be started are started.
Although the field values of the first field and the second field may be the repeated field values of 00, 01, etc., the meaning of representation is different depending on the field. Therefore, even if the field values are the same, it is natural that the field values cannot represent the same meaning because they are stored in different fields.
When a user expects to execute startup wakeup on a certain target object to be started, the startup wakeup can be realized by configuring startup data. By the method, the situation that the target machine directly enters the first default starting item after being awakened and started in the prior art can be overcome. That is, the target object for executing the startup after the machine is started up and waken up can be flexibly configured, and the effective period of the startup operation can be also configured. For example, the operation is more convenient, such as one-time effect, long-term effect and the like.
According to the network wake-up starting method provided by the embodiment of the invention, after the wake-up data packet is acquired, the wake-up data packet is analyzed, and the starting data is acquired. The starting data comprises identification information of one of a plurality of target objects to be started. The network card can write the identification information into a preset position for storage. So that the subsequent controller can determine the target object to be started according to the identification information stored in the preset position after determining that the computer equipment is awakened, and then execute corresponding starting operation. In the process, the target object to be started can be determined according to the starting data added in the wake-up data packet. Compared with the fixed startup item after the machine is awakened in the prior art, the startup method and the device can adjust the first startup item after the machine is awakened more conveniently and flexibly. The method and the device meet the requirement of controlling the starting behavior of any starting item after the existing user wakes up to start. By the mode, after the user is awakened to start, the user does not need to enter the network card to start PXE or enter the USB flash disk to start, so that the starting operation of the network card, the starting operation of the USB flash disk and the like is more convenient and quick. Moreover, as the target machine can be awakened and started according to the requirements of the user so as to enter different starting items, the method can be suitable for various network awakening starting scenes.
The embodiment of the application also provides another network wake-up starting method, and particularly, the method is shown in fig. 2. Fig. 2 is a flowchart of another network wakeup starting method according to an embodiment of the present invention, where the method corresponds to a computer device, and the computer device at least includes a network card and a controller, and the method is executed by the controller and includes:
step 210, when it is determined that the computer device is awakened, the startup data is read from the preset location.
Specifically, as described in the previous embodiment, after the wake-up packet is acquired, the computer device may be woken up.
The start data is then read from a predetermined location, such as a network card drive. The starting data comprises first identification information of one of a plurality of target objects to be started.
Step 220, after determining the target object to be started according to the first identification information, executing the starting operation on the target object.
Specifically, the start data includes first identification information. Then, the object to be started may be determined according to the first identification information.
In a specific example, the controller pre-stores an identification information mapping table generated according to each object to be started and the identification information corresponding to the object to be started.
Then, when determining the target object to be started according to the first identification information, the method can be implemented in the following manner, and specifically referring to fig. 3, and includes the following steps:
step 310, the first identification information is matched with each piece of identification information in the pre-stored identification information mapping table.
Step 320, when it is determined that the first identification information matches the second identification information in the identification information mapping table, determining the target object to be started corresponding to the second identification information as the target object to be started corresponding to the first identification information.
Wherein the second identification information is any one of the identification information in the identification information mapping table.
For example, as described in the above embodiment, assuming that the first identification information is 00, it is determined that the target object to be started is a hard disk. And when the first identification information is 01, determining that the target object to be started is the USB flash disk. When the first identification information is 02, the object to be started is a network card or the like. After the target object is determined, a start operation for the target object may be performed. It should be noted that, the network card is different from the network card in the previous embodiment. The network card in the above embodiment is only a network card with a wake-up function, so as to implement the specific operation steps of the above embodiment. The network card to be started in the embodiment is a network card for connecting to the PXE and accessing the system. For distinguishing, the network card in the previous embodiment may be defined as a first network card, where the network card pointed by the target object to be started is defined as a second network card.
Further optionally, the start data further includes first start instruction information corresponding to the target object; the method further comprises the steps of:
and determining whether the next period starts the target object corresponding to the first starting instruction information according to the first starting instruction information.
Specifically, the determination of whether to start the target object corresponding to the start instruction in the next cycle is based on the processing mode of the start data after the start operation of the target object is completed in the current execution. In one case, if the next cycle computer device is awakened, the target object also needs to be started, then corresponding startup data is reserved, otherwise, the startup data can be deleted to save storage space.
In an alternative example, according to the first start instruction information, determining whether the next period starts the target object corresponding to the first start instruction information may be implemented in the following manner, referring specifically to fig. 4, where the method includes:
in step 410, the first start-up instruction information is matched with each start-up instruction information in the pre-stored start-up instruction information mapping table.
Step 420, when it is determined that the first start instruction information matches the second start instruction information in the start instruction information mapping table, determining a validation period corresponding to the second start instruction information as the validation period corresponding to the first start instruction information.
The starting instruction information mapping table comprises at least two starting instruction information and a valid period corresponding to each starting instruction information, and the second starting instruction information is one of the starting instruction information in the starting instruction information mapping table.
As described above, assuming that the target object indicated by the identification information in the startup data is a hard disk, and the startup instruction information in the startup data is 00, the first startup item configured after the machine wakes up and starts up is considered to be a hard disk by default, and the second field corresponding to the effective period is 00, that is, it is always valid. If the starting instruction information in the starting data is 01, the machine is only awakened to start, the first starting item is a hard disk, and the effective period is 1 time.
When the validation period is determined to be valid all the time, the startup data needs to be reserved and no processing is performed. Otherwise, if the validation period is one time, the startup data is deleted.
In one specific example, the controller may be a basic input/output system (Basic Input Output System, simply BIOS).
After the computer equipment is determined to be awakened, the network awakening starting method reads starting data from a preset position, and completes starting operation for the target object corresponding to the first identification information according to the first identification information of one target object to be started in a plurality of target objects to be started included in the starting data. In the process, the target object to be started can be determined according to the starting data added in the wake-up data packet. Compared with the fixed startup item after the machine is awakened in the prior art, the startup method and the device can adjust the first startup item after the machine is awakened more conveniently and flexibly. The method and the device meet the requirement of controlling the starting behavior of any starting item after the existing user wakes up to start. By the mode, after the user is awakened to start, the user does not need to enter the network card to start PXE or enter the USB flash disk to start, so that the starting operation of the network card, the starting operation of the USB flash disk and the like is more convenient and quick. Moreover, as the target machine can be awakened and started according to the requirements of the user so as to enter different starting items, the method can be suitable for various network awakening starting scenes.
Fig. 5 is a flowchart of the overall method for wake-on-network booting provided by the present invention, and specifically referring to fig. 5, fig. 5 illustrates an overall flow of remote sending a wake-up data packet from a lan to a first network card (for distinguishing from a second network card, the first network card is used for illustration herein), and after the first network card performs a corresponding operation, the BIOS reads the boot-up data to perform a boot-up operation of a corresponding target object. The method comprises the steps of remotely sending a wake-up data packet in a local area network, and adding starting data for controlling starting behavior into the data packet. After the first network card receives the wake-up data packet, the wake-up data packet is parsed, starting data is obtained, and the starting data is written into the first network card driver. After the computer equipment wakes up and starts up, the BIOS reads the first network card drive, after the startup data is obtained, the target object of the first startup item is determined according to the field value of the first field in the startup data, and whether the startup data is continuously effective in the next period is determined according to the field value of the second field. If not, resetting the corresponding starting data in the first network card drive. And ensuring that only single starting is effective, if so, not clearing corresponding starting data in the first network card drive, and ensuring that the next starting is still effective.
The specific implementation process has been described in detail in the above method embodiments, and will not be described here too much.
In the above, for several embodiments of the method for wake-on-network booting provided in the present application, other embodiments of wake-on-network booting provided in the present application are described below, specifically, see the following.
Fig. 6 is a wake-on-network device according to an embodiment of the present invention, where the device includes: an acquisition module 601, a parsing module 602 and a processing module 603.
An acquisition module 601, configured to acquire a wake-up packet;
the parsing module 602 is configured to parse the wake-up packet to obtain start-up data, where the start-up data includes identification information of one of a plurality of target objects to be started up;
the processing module 603 is configured to write the identification information to a preset location, so that after determining that the computer device is awakened, the controller determines a target object to be started according to the identification information stored in the preset location, and performs a starting operation on the target object.
Optionally, the identification information is embodied in the form of a first field.
Optionally, the start data further includes start instruction information corresponding to the target object; the starting instruction information is used for indicating the effective period of starting data corresponding to the target object.
Optionally, the start instruction information is embodied in the form of a second field.
Optionally, the number of start-up data comprises a plurality.
The functions executed by each component in the network wake-up device provided by the embodiment of the present invention are described in detail in the method embodiment corresponding to fig. 1, so that the details are not repeated here.
According to the network wake-up starting device provided by the embodiment of the invention, after the wake-up data packet is acquired, the wake-up data packet is analyzed after the wake-up data packet is acquired, and the starting data is acquired. The starting data comprises identification information of one of a plurality of target objects to be started. The network card can write the identification information into a preset position for storage. So that the subsequent controller can determine the target object to be started according to the identification information stored in the preset position after determining that the computer equipment is awakened, and then execute corresponding starting operation. In the process, the target object to be started can be determined according to the starting data added in the wake-up data packet. Compared with the fixed startup item after the machine is awakened in the prior art, the startup method and the device can adjust the first startup item after the machine is awakened more conveniently and flexibly. The method and the device meet the requirement of controlling the starting behavior of any starting item after the existing user wakes up to start. By the mode, after the user is awakened to start, the user does not need to enter the network card to start PXE or enter the USB flash disk to start, so that the starting operation of the network card, the starting operation of the USB flash disk and the like is more convenient and quick. Moreover, as the target machine can be awakened and started according to the requirements of the user so as to enter different starting items, the method can be suitable for various network awakening starting scenes.
Fig. 7 is a wake-on-network device according to an embodiment of the present invention, where the device includes: a determination module 701, a reading module 702, and an execution module 703.
A determining module 701, configured to determine whether the computer device is awakened;
a reading module 702, configured to read, when the determining module 701 determines that the computer device is awakened, startup data from a preset location, where the startup data includes first identification information of one of a plurality of target objects to be started;
the execution module 703 is configured to execute a startup operation for the target object after determining the target object to be started according to the first identification information.
Optionally, the start data further includes start instruction information corresponding to the target object; the determining module 701 is further configured to determine whether to start the target object corresponding to the start instruction information in the next cycle according to the start instruction information.
Optionally, the execution module 703 is specifically configured to match the first identification information with each piece of identification information in the pre-stored identification information mapping table;
when the first identification information is determined to be matched with the second identification information in the identification information mapping table, determining that the target object to be started corresponding to the second identification information is the target object to be started corresponding to the first identification information, wherein the identification information mapping table comprises a plurality of identification information and target object information with a mapping relation with each identification information, and the second identification information is any one identification information in the identification information mapping table.
Optionally, the determining module 701 is specifically configured to match the first start instruction information with each start instruction information in the pre-stored start instruction information mapping table;
when the first starting instruction information is determined to be matched with the second starting instruction information in the starting instruction information mapping table, determining a valid period corresponding to the second starting instruction information as a valid period corresponding to the first starting instruction information, wherein the starting instruction information mapping table comprises at least two starting instruction information and a valid period corresponding to each starting instruction information, and the second starting instruction information is any one of the at least two starting instruction information.
The functions executed by each component in the network wake-up device provided by the embodiment of the present invention are described in detail in the method embodiments corresponding to fig. 2 and fig. 4, so that the details are not repeated here.
After the computer equipment is determined to be awakened, the network awakening starting device reads the starting data from the preset position, and completes the starting operation for the target object corresponding to the first identification information according to the first identification information of one target object to be started in the plurality of target objects to be started included in the starting data. In the process, the target object to be started can be determined according to the starting data added in the wake-up data packet. Compared with the fixed startup item after the machine is awakened in the prior art, the startup method and the device can adjust the first startup item after the machine is awakened more conveniently and flexibly. The method and the device meet the requirement of controlling the starting behavior of any starting item after the existing user wakes up to start. By the mode, after the user is awakened to start, the user does not need to enter the network card to start PXE or enter the USB flash disk to start, so that the starting operation of the network card, the starting operation of the USB flash disk and the like is more convenient and quick. Moreover, as the target machine can be awakened and started according to the requirements of the user so as to enter different starting items, the method can be suitable for various network awakening starting scenes.
As shown in fig. 8, the embodiment of the present application provides a computer device, which includes a network card 111, a controller 112, a communication interface 113, a memory 114, and a communication bus 115, where the network card 111, the controller 112, the communication interface 113, and the memory 114 complete communication with each other through the communication bus 115.
A memory 114 for storing a computer program;
in one embodiment of the present application, the network card 111 is configured to implement the wake-on-network booting method provided in any one of the method embodiments corresponding to fig. 1 when executing the program stored in the memory 114, and includes:
acquiring a wake-up data packet;
analyzing the wake-up data packet to obtain starting data, wherein the starting data comprises identification information of one of a plurality of target objects to be started;
writing the identification information into a preset position so that the controller can determine a target object to be started according to the identification information stored in the preset position after determining that the computer equipment is awakened, and executing starting operation on the target object.
Optionally, the identification information is embodied in the form of a first field.
Optionally, the start data further includes start instruction information corresponding to the target object; the starting instruction information is used for indicating the effective period of starting data corresponding to the target object.
Optionally, the start instruction information is embodied in the form of a second field.
Optionally, the number of start-up data comprises a plurality.
The controller is configured to implement the wake-on-network booting method provided by any one of the method embodiments corresponding to fig. 2 to 4 when executing the program stored in the memory 114, and includes:
when the computer equipment is determined to be awakened, reading starting data from a preset position, wherein the starting data comprises first identification information of one of a plurality of target objects to be started;
and after the target object to be started is determined according to the first identification information, executing the starting operation on the target object.
Optionally, the start data further includes start instruction information corresponding to the target object; the method further comprises the steps of:
and determining whether a target object corresponding to the starting instruction information is started in the next period according to the starting instruction information.
Optionally, matching the first identification information with each piece of identification information in a pre-stored identification information mapping table;
when the first identification information is determined to be matched with the second identification information in the identification information mapping table, determining that the target object to be started corresponding to the second identification information is the target object to be started corresponding to the first identification information, wherein the identification information mapping table comprises a plurality of identification information and target object information with a mapping relation with each identification information, and the second identification information is any one identification information in the identification information mapping table.
Optionally, matching the first start instruction information with each start instruction information in the pre-stored start instruction information mapping table;
when the first starting instruction information is determined to be matched with the second starting instruction information in the starting instruction information mapping table, determining a valid period corresponding to the second starting instruction information as a valid period corresponding to the first starting instruction information, wherein the starting instruction information mapping table comprises at least two starting instruction information and a valid period corresponding to each starting instruction information, and the second starting instruction information is any one of the at least two starting instruction information.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the network wake-up method provided in any one of the method embodiments described above.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The foregoing is merely exemplary of embodiments of the present invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A wake-on-network power-on method, the method corresponding to a computer device, the computer device including at least a network card and a controller, the method performed by the network card comprising:
acquiring a wake-up data packet;
analyzing the wake-up data packet to obtain starting data, wherein the starting data comprises identification information of one of a plurality of target objects to be started and starting instruction information corresponding to the target objects; the starting instruction information is used for indicating the effective period of the starting data corresponding to the target object;
writing the identification information and the starting instruction information into a preset position so that the controller can determine a target object to be started according to the identification information stored in the preset position after determining that the computer equipment is awakened, execute starting operation on the target object and determine whether starting data corresponding to the target object takes effect in the next period according to the starting instruction information.
2. The method of claim 1, wherein the identification information is embodied in the form of a first field.
3. The method of claim 1, wherein the initiation instruction information is embodied in the form of a second field.
4. A wake-on-network power-on method, the method corresponding to a computer device, the computer device including at least a network card and a controller, the method performed by the controller comprising:
reading starting data from a preset position after the computer equipment is awakened, wherein the starting data comprises first identification information of one of a plurality of target objects to be started;
after a target object to be started is determined according to the first identification information, starting operation on the target object is executed;
the starting data further comprises first starting instruction information corresponding to the target object; the method further comprises the steps of:
matching the first starting instruction information with each starting instruction information in a pre-stored starting instruction information mapping table;
when the first starting instruction information is determined to be matched with second starting instruction information in the starting instruction information mapping table, determining a valid period corresponding to the second starting instruction information as the valid period corresponding to the first starting instruction information, wherein the starting instruction information mapping table comprises at least two starting instruction information and a valid period corresponding to each starting instruction information, and the second starting instruction information is any one of the at least two starting instruction information.
5. The method according to claim 4, wherein the determining the target object to be started according to the first identification information specifically includes:
matching the first identification information with each piece of identification information in a prestored identification information mapping table;
when the first identification information is determined to be matched with the second identification information in the identification information mapping table, determining a target object to be started corresponding to the second identification information as the target object to be started corresponding to the first identification information, wherein the identification information mapping table comprises a plurality of identification information and target object information with a mapping relation with each piece of identification information, and the second identification information is any one identification information in the identification information mapping table.
6. The computer equipment is characterized by comprising a network card, a controller, a communication interface, a memory and a communication bus, wherein the network card, the controller, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the network card is used for realizing the steps of the network wake-up starting method according to any one of claims 1-3 when executing the program stored in the memory;
the controller is configured to implement the steps of the wake-on-network boot method according to any one of claims 4 to 5 when executing a program stored in the memory.
7. A computer readable storage medium having stored thereon a computer program, which when executed by a computer device, implements the steps of the wake-on-network method according to any of claims 1-3; alternatively, steps are performed to implement a wake-on-network power-on method as claimed in any of claims 4-5.
CN202210063401.6A 2022-01-19 2022-01-19 Network wake-up starting-up method and computer equipment Active CN114443152B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210063401.6A CN114443152B (en) 2022-01-19 2022-01-19 Network wake-up starting-up method and computer equipment
PCT/CN2022/122790 WO2023138101A1 (en) 2022-01-19 2022-09-29 Wake-on-lan method and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210063401.6A CN114443152B (en) 2022-01-19 2022-01-19 Network wake-up starting-up method and computer equipment

Publications (2)

Publication Number Publication Date
CN114443152A CN114443152A (en) 2022-05-06
CN114443152B true CN114443152B (en) 2023-07-14

Family

ID=81368460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210063401.6A Active CN114443152B (en) 2022-01-19 2022-01-19 Network wake-up starting-up method and computer equipment

Country Status (2)

Country Link
CN (1) CN114443152B (en)
WO (1) WO2023138101A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114443152B (en) * 2022-01-19 2023-07-14 苏州浪潮智能科技有限公司 Network wake-up starting-up method and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021017A (en) * 2014-06-17 2014-09-03 北京奇虎科技有限公司 Starting item processing method and device
CN112055189A (en) * 2020-09-15 2020-12-08 上海跃影科技有限公司 Holographic system with network awakening function and network awakening method thereof
CN113010215A (en) * 2021-03-12 2021-06-22 山东英信计算机技术有限公司 Method, device and equipment for quickly restarting operating system and readable medium
CN113672292A (en) * 2021-08-09 2021-11-19 深圳市猿人创新科技有限公司 Equipment awakening method and device, electronic equipment and computer storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292890B1 (en) * 1998-09-29 2001-09-18 Compaq Computer Corporation Computer system with dynamically configurable boot order
US6282642B1 (en) * 1998-11-18 2001-08-28 International Business Machines Corporation System for presetting a first or second remote boot protocol by a computer remotely receiving and storing a boot parameter prior to being powered on
US8677117B2 (en) * 2003-12-31 2014-03-18 International Business Machines Corporation Remote management of boot application
US20060288202A1 (en) * 2005-06-17 2006-12-21 Mark Doran Method for network restart
CN107864042B (en) * 2017-10-31 2021-02-09 海信视像科技股份有限公司 Application program awakening method and device
CN110297663B (en) * 2018-03-21 2022-10-04 阿里巴巴集团控股有限公司 Application program awakening method, device, terminal and medium
CN114443152B (en) * 2022-01-19 2023-07-14 苏州浪潮智能科技有限公司 Network wake-up starting-up method and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021017A (en) * 2014-06-17 2014-09-03 北京奇虎科技有限公司 Starting item processing method and device
CN112055189A (en) * 2020-09-15 2020-12-08 上海跃影科技有限公司 Holographic system with network awakening function and network awakening method thereof
CN113010215A (en) * 2021-03-12 2021-06-22 山东英信计算机技术有限公司 Method, device and equipment for quickly restarting operating system and readable medium
CN113672292A (en) * 2021-08-09 2021-11-19 深圳市猿人创新科技有限公司 Equipment awakening method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN114443152A (en) 2022-05-06
WO2023138101A1 (en) 2023-07-27

Similar Documents

Publication Publication Date Title
US7213139B2 (en) System for gathering and storing internal and peripheral components configuration and initialization information for subsequent fast start-up during first execution of fast start-up
CN103412769B (en) External card parameter configuration, equipment and system
RU2402804C2 (en) Method of booting host device from mmc/sd device, host device bootable from mmc/sd device and mmc/sd device from which host device may be booted
CN1323354C (en) Detecting modifications made to code placed in memory by the POST BIOS
EP3002677A1 (en) System and method for managing multiple bios default configurations
EP2993579A1 (en) System and method for automatically configuring bios performance profiles
CN106873954B (en) Method for initializing peripheral device and electronic device using the same
WO2011116621A1 (en) Electronic device, configurable component and configuration information storage method thereof
CN114443152B (en) Network wake-up starting-up method and computer equipment
CN106371819B (en) Parameter acquisition method and device and electronic equipment
TW200923784A (en) Electronic device and method for resuming from suspend-to-ram state thereof
TWI486874B (en) Electronic apparatus and booting method
KR101197152B1 (en) Electronic device, electronic device system and control method thereof
US11544414B2 (en) Secure wake-on of a computing device
US20120317404A1 (en) Firmware Flashing Method and Related Computer System
TWI464583B (en) Method of obtaining command for triggering function
CN113064646A (en) BIOS starting method, system and related device
TWI249706B (en) Boot method, computer system, and production method thereof
CN103686370A (en) Method and system for starting up intelligent television
JP5489278B2 (en) Information processing apparatus and activation method thereof
CN112241141B (en) Hardware configuration method, system, device and medium of PLC control system
CN103353929A (en) Method for adding and checking ID card information in basic input/output system (BIOS) initiating process
TW201933091A (en) A system and a method for testing a data storage device
CN113986362B (en) RAID card, control method thereof and server host
CN111176742B (en) Processing method of initialization data and electronic equipment

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