Network wake-up mirror image switching method, device and system and electronic equipment

By using the network wake-up mirror switching method in the shutdown state of the computer device, the first client organizes and sends a wake-up packet, so that the second client wakes up in the same local area network and switches to the target system image, solving the problem that the system image cannot be selected in the prior art, and achieving higher flexibility and security.

CN119865505APending Publication Date: 2025-04-22GUANGZHOU SHIZHEN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311329130.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

The existing remote boot technology cannot select and switch to the specified computer system image when the computer device is shut down, limiting the flexibility of remote management and control.

Method used

Through a network wake-up mirror switching method, the first client receives a wake-up instruction, organizes it into a wake-up packet, and sends it to the second client, causing it to wake up in the same local area network and switch to the target system image.

Benefits of technology

Remote selection and switching to the target system image when the computer device is shut down, improving the flexibility of remote management and control, and enhancing security and success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865505A_ABST
    Figure CN119865505A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a network wake-up mirror image switching method, device and system and electronic equipment. According to the method, a mirror image switching instruction is generated at a front end and sent to a rear end, the rear end generates a wake-up instruction according to the mirror image switching instruction and issues the wake-up instruction to a first client, the first client generates a wake-up packet containing information of a mirror image to be switched according to the wake-up instruction, and then the wake-up packet is sent to a second client. And the second client analyzes the wake-up packet to obtain the information of the to-be-switched mirror image and the wake-up operation instruction, then the second client enters a power-on state, executes the wake-up operation instruction, and switches to the to-be-switched mirror image according to the information of the to-be-switched mirror image. According to the method, the target equipment is remotely awakened to start up to enter the specified system mirror image, and the success rate and the safety of remotely awakening the target equipment are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a network wake-up mirror switching method, device, system and electronic device. Background Art

[0002] Existing remote startup technology is a technology that allows users to remotely start a computer through a network. A computer in a shutdown state can be remotely awakened using the computer's network adapter, providing a more convenient way to remotely manage and control the computer.

[0003] The inventors found that the prior art has at least the following problems in the process of implementing the embodiments of the present application: if a specified computer operation needs to be performed remotely under a specified computer system image, when the computer device is in a shutdown state, it must be powered on before the specified computer operation can be performed, and the existing remote power-on technology cannot select a specified computer system image in the shutdown state. Therefore, a method is provided to wake up the target computer device over the network and switch to the target computer system image, which is of great significance for large-scale, convenient and efficient remote management and control of computers. Summary of the invention

[0004] The main technical problem solved by the implementation method of the present application is how to remotely wake up the target computer device over the network and switch it to the target computer system image.

[0005] To solve the above technical problems, the first technical solution adopted in the implementation mode of the present application is: to provide a network wake-up mirror switching method, applied to a first client, including: receiving a wake-up instruction, the wake-up instruction including information of the mirror to be switched; organizing the wake-up instruction and the information of the mirror to be switched into a wake-up packet; sending the wake-up packet to a second client, so that the second client is activated according to the wake-up packet and enters a power-on state, wherein the first client and the second client are in the same local area network.

[0006] Optionally, the first client includes multiple clients, and receiving the wake-up instruction includes: the multiple first clients respectively receive the wake-up instruction, wherein each of the first clients obtains the wake-up packet according to the wake-up instruction; sending the wake-up packet to the second client so that the second client is activated according to the wake-up packet and enters a power-on state, includes: obtaining grouping information of the second client according to the number of the second clients; according to the grouping information, the multiple first clients respectively send the wake-up packet to the second client in the group corresponding to the first client, so that the second client is activated according to the wake-up packet and enters a power-on state.

[0007] Optionally, organizing the wake-up instruction and the information of the image to be switched into a wake-up packet includes: determining the structure and fields of the wake-up packet, and using the wake-up instruction as part of the wake-up packet according to the structure and fields to indicate the operation to be performed; adding the information of the image to be switched to the wake-up packet, the information of the image to be switched including an identifier and a version number, the identifier and the version number being used to identify the image; adding a check code to the wake-up packet, the check code being used to verify the integrity of the wake-up packet.

[0008] Optionally, the second client includes multiple clients, and sending the wake-up packet to the second client so that the second client is activated according to the wake-up packet and enters the power-on state includes: sending the wake-up packet to the multiple second clients, wherein the wake-up packet includes different types of images to be switched, so that the multiple second clients receive the wake-up packet and enter the power-on state according to their corresponding types of images to be switched.

[0009] To solve the above technical problems, the second technical solution adopted in the implementation mode of the present application is: to provide a network wake-up mirror switching method, applied to a second client, including: receiving a wake-up packet sent by a first client; parsing the wake-up packet to obtain information about the mirror to be switched and a wake-up operation instruction; and enabling the second client to enter a power-on state according to the wake-up operation instruction and the information about the mirror to be switched, wherein the first client and the second client are in the same local area network.

[0010] Optionally, parsing the wake-up packet to obtain the information of the image to be switched and the wake-up operation instruction includes: sending the wake-up packet to the basic input and output system of the second client; parsing the wake-up packet through the basic input and output system to obtain the information of the image to be switched and the wake-up operation instruction; storing the wake-up operation instruction in a programmable read-only memory of the second client.

[0011] Optionally, making the second client enter a power-on state according to the wake-up operation instruction and the information of the mirror to be switched includes: triggering a power-on operation through a power management chip of the second client; reading the wake-up operation instruction from the programmable read-only memory; executing the wake-up operation instruction to control the second client to start switching to the mirror to be switched.

[0012] Optionally, the second client includes multiple clients, the information of the image to be switched includes different types of images to be switched, and the step of making the second client enter a power-on state according to the wake-up operation instruction and the information of the image to be switched includes: the multiple second clients respectively obtain the images to be switched of the corresponding types of the second clients according to the information of the image to be switched, and enter a power-on state according to the wake-up operation instruction and the image to be switched.

[0013] To solve the above technical problems, the third technical solution adopted in the implementation mode of the present application is: to provide a network wake-up mirror switching device, applied to a first client, including: a wake-up instruction receiving module, used to receive a wake-up instruction, the wake-up instruction including information of the mirror to be switched; a wake-up packet obtaining module, used to organize the wake-up instruction and the information of the mirror to be switched into a wake-up packet; a first wake-up processing module, used to send the wake-up packet to the second client, so that the second client is activated according to the wake-up packet and enters the power-on state, wherein the first client and the second client are in the same local area network.

[0014] To solve the above technical problems, the fourth technical solution adopted in the implementation mode of the present application is: to provide a network wake-up mirror switching device, applied to a second client, including: a wake-up packet receiving module, used to receive a wake-up packet sent by a first client; a wake-up packet parsing module, used to parse the wake-up packet to obtain information about the mirror to be switched and a wake-up operation instruction; a second wake-up processing module, used to enable the second client to enter a power-on state according to the wake-up operation instruction and the information of the mirror to be switched, wherein the first client and the second client are in the same local area network.

[0015] In order to solve the above technical problems, the fifth technical solution adopted in the implementation mode of the present application is: to provide an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.

[0016] In order to solve the above technical problems, the sixth technical solution adopted in the implementation mode of the present application is: providing a network wake-up mirror switching system, including: a front end, a back end, a first client and a second client; the front end is used to send a switching mirror instruction to the back end; the back end is used to issue a wake-up instruction to the first client according to the switching mirror instruction; the first client is used to receive the wake-up instruction, and the wake-up instruction includes information of the mirror to be switched; the wake-up instruction and the information of the mirror to be switched are organized into a wake-up packet; the wake-up packet is sent to the second client; the second client is used to receive the wake-up packet; the wake-up packet is parsed to obtain the information of the mirror to be switched and the wake-up operation instruction; according to the wake-up operation instruction and the information of the mirror to be switched, the second client is enabled to enter the power-on state, wherein the first client and the second client are in the same local area network.

[0017] Different from the related art, the embodiment of the present application provides a network wake-up mirror switching method, device, system and electronic device, wherein a switching mirror instruction is generated at the front end, and the switching mirror instruction is sent to the back end, the back end sends a wake-up instruction to the first client according to the switching mirror instruction, the first client generates a wake-up packet according to the wake-up instruction, and then sends the wake-up packet to the second client, the second client parses the wake-up packet to obtain the information of the image to be switched and the wake-up operation instruction, the second client enters the boot state, executes the wake-up operation instruction, and switches to the image to be switched according to the information of the image to be switched, wherein the first client and the second client are in the same local area network. The implementation method of the present application not only realizes the remote wake-up target device to start up and enter the system image, but also enables the target device to start up and enter the target system image according to the wake-up packet, thereby improving the user's flexibility in selecting and operating the system image on the target device. In addition, by generating a switching mirror instruction by the front end and sending it to the back end, the back end then sends the wake-up instruction to the first client, the first client generates a wake-up packet and sends it to the second client, this multi-level transmission method can reduce the risk of directly sending the wake-up instruction to the second client, because the wake-up instruction is transmitted through multiple layers, and the blocking effect of malicious attacks is better, thereby helping to improve the security of remote wake-up. Furthermore, after receiving the wake-up packet, the second client parses and obtains the information of the image to be switched and the wake-up operation instruction, the second client enters the boot state, and executes the corresponding wake-up operation instruction according to the information of the image to be switched, and switches to the image to be switched, thereby ensuring the accuracy and completeness of switching to the specified image and improving the success rate of remotely waking up the target device. Finally, since the first client and the second client are in the same local area network, the wake-up packet can be sent from the first client to the second client faster, thereby reducing the wake-up time and improving the response speed, and the local area network is usually subject to better security protection measures, and the network wake-up packet is less likely to be intercepted or tampered by unauthorized visitors when transmitted in the local area network. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0019] Figure 1 This is a system architecture diagram of a network wake-up mirror switching system provided by an embodiment of the present application;

[0020] Figure 2 It is a timing diagram of a network wake-up mirror switching system provided by an embodiment of the present application when performing a network wake-up mirror switching operation;

[0021] Figure 3 It is a flow chart of a network wake-up mirror switching method provided by an embodiment of the present application;

[0022] Figure 4 is a flow chart of a network wake-up mirror switching method provided by another embodiment of the present application;

[0023] Figure 5 This is a flowchart of a second client switching mirroring on startup in a network wake-up mirroring switching method provided by another embodiment of the present application;

[0024] Figure 6 It is a structural diagram of a network wake-up mirror switching device provided in an embodiment of the present application;

[0025] Figure 7 It is a structural diagram of a network wake-up mirror switching device provided by another embodiment of the present application;

[0026] Figure 8 It is a hardware structure diagram of an electronic device for executing a network wake-up mirror switching method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0028] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order than the module division in the device schematic diagram or the order in the flow chart.

[0029] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0030] Remote Wake-on-LAN (RWoL) is a technology for remotely starting a computer via a network. It is an expansion and improvement of the Wake-on-LAN (WoL) technology, providing a more flexible and powerful remote wake-up function. Traditional remote network wake-up computer technology is to send a specific network data packet through a remote device with network function (such as a mobile phone, computer), which contains the MAC address of the target computer and the wake-up command. The sent network data packet is transmitted to the target computer device through the local area network and / or wide area network. The network card of the target computer device will monitor the data packet on the network and identify it according to the MAC address contained in the network data packet. When the MAC address of the target computer device is matched, the network card of the target computer device will trigger the system wake-up process, so that the target computer device switches from the shutdown or standby state to the startup state.

[0031] When waking up a computer device using the above-mentioned remote network wake-up computer technology, it is usually not possible to directly select the system image on the target computer device, but the default system image is loaded according to the preset boot order. This means that it is not possible to remotely wake up the target computer device and directly select a specific system image to use. For example, suppose there are two different system images on the target computer device: Windows 10 and Ubuntu Linux. By default, the target computer device is set to load the Windows 10 system image first and then the Ubuntu Linux system image according to the boot order. Under this setting, if the computer device is woken up from the shutdown state using the remote network wake-up computer technology, it will automatically load the default Windows 10 system image, and it is not possible to directly select to load the Ubuntu Linux system image, because the awakened computer device will load the system image in the preset order.

[0032] Therefore, the existing remote network wake-up target computer device solution cannot flexibly select the system image to be started, which limits the flexibility of the user in selecting and operating the system image on the target computer device.

[0033] Based on this, the inventor provides a network wake-up mirror switching method, device, system and electronic device, which can not only realize remote wake-up of the target device and boot into the system mirror, but also enable the target device to boot into the specified system mirror.

[0034] The network wake-up mirror switching system of the embodiment of the present application is described below through specific embodiments.

[0035] See also Figure 1 and Figure 2 , Figure 1 is a system architecture diagram of a network wake-up mirror switching system provided in an embodiment of the present application, Figure 2 1 is a timing diagram of a network wake-up mirror switching system provided by an embodiment of the present application when performing a network wake-up mirror switching operation. Figure 1 As shown, the network wake-up mirror switching system includes: a front end 10, a back end 20, a first client 30 and a second client 40. The front end 10 is connected to the back end 20 via a network, the first client 30 and the second client 40 are also connected to the back end 20 via a network, and the first client 30 and the second client 40 are also connected to each other via a network.

[0036] The front end 10 provides an interactive method for generating switching image instructions through client tools such as mobile applications, mobile clients, and browsers, so that users can generate target switching image instructions according to specific image switching requirements. It can be understood that Figure 1 The front end 10 is merely illustrative, and the front end 10 may be a mobile communication device (such as a smart phone, a multimedia phone, a functional phone, etc.), an ultra-mobile personal computer device (such as a PDA, a MID, and a UMPC device, etc.), a portable entertainment device (such as an audio and video player, a handheld game console, a smart toy, and a portable vehicle navigation device, etc.). For example, a target mobile client for network wake-up mirror switching is installed on a certain mobile terminal, and the user interacts with the target mobile client on the mobile terminal to generate a target switching mirror command that wakes up a certain remote target computer device and switches to the Linux system. Figure 2 As shown, when a network wake-up mirror switching operation is performed, the front end 10 is used to send a mirror switching instruction to the back end 20.

[0037] The backend 20 may be a server, which may be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. Figure 2 As shown, when a network wake-up mirror switching operation is performed, the back end 20 is used to send a wake-up instruction to the first client 30 according to the switching mirror instruction.

[0038] When the network wake-up mirror switching system is started, all client devices (such as Figure 1 The first client 30 and the second client 40 in the example can upload their own MAC addresses to the backend 20, so that the backend 20 can uniformly manage all clients that can be awakened by the network. In addition, other software and hardware information (such as CPU model, motherboard model, user-defined client device name, etc.) that can be used for identity identification of all client devices can also be uploaded, so that each client device can be distinguished and managed from other client devices.

[0039] Optionally, what is uploaded together with the MAC address of the client device may also include the network structure of all client devices (for example, the subnet where a target client device is located, and the network path from the back end 20 to the target client device), so that the generated control instructions can be transmitted to all client devices through the network structure.

[0040] Optionally, what is uploaded together with the MAC address of the client device may also include all computer system images installed on the client device, and the system information of the computer system images. When multiple computer system images (such as Windows system images, Linux system images, MacOS system images, Unix system images, etc.) are installed on the client device, it is possible to switch between multiple computer system images. Among them, it should be specially noted that there are cases where the same type of computer system images are installed on the client device. For example, three Windows system images are installed on a certain target client at the same time (the first one is Windows 10, the second one is also Windows 10, and the third one is Windows 7). At this time, it is necessary to distinguish them according to the system information of the computer system images, such as system labels or descriptions, or system boot order, or system disk location, etc.

[0041] Optionally, after receiving the MAC addresses, network structures, installed computer system images, and system information of the computer system images of all the above-mentioned client devices, the back end 20 generates a client information interface that provides access to client device information, so that the front end 10 can obtain the MAC addresses, installed computer system images, and system information of the computer system images of the client devices according to the client interface. Among them, in some more embodiments, the security of the network wake-up image switching system can be further improved, because the network structure of all client devices is used for client management by the back end device, and the network structure can be hidden from the front end 10, that is, the network structure is not added to the client information interface, further avoiding the risk of leakage of the network structure.

[0042] Optionally, when each front end 10 accesses the back end 20 through the client information interface, the back end 20 may also check the authority of each user logged in on the front end 10, and the back end 20 may only return the client device to which the logged in user has authority. The authority of the logged in user is determined when the front end 10 first accesses the back end 20, and the allocation and management of authority may refer to the relevant technology.

[0043] The first client 30 and the second client 40 can be personal computers, laptops, etc. The first client 30 and the second client 40 are located in the same local area network. The first client 30 is in a powered-on state or a standby state, and the second client 40 is in a powered-off state. It should be noted that the second client in the same local area network can be multiple devices. The embodiment of the present application does not specifically limit the number of second clients. When the first client in the same local area network is already in a powered-on or standby state, the states of multiple second clients can all be powered-off.

[0044] like Figure 2 As shown, when a network wake-up mirror switching operation is performed, the first client 30 is used to receive a wake-up instruction, which includes information about the mirror to be switched, and then organizes the wake-up instruction and the information about the mirror to be switched into a wake-up packet, and finally sends the wake-up packet to the second client 40, so that the second client 40 is activated according to the wake-up packet and enters the power-on state.

[0045] In some embodiments, multiple first clients 30 and at least one second client 40 are included, and the back end 20 sends a wake-up instruction to the multiple first clients 30 in the local area network, and the multiple first clients 30 receive the wake-up instruction respectively, wherein each first client 30 generates a wake-up packet according to the received wake-up instruction. After obtaining the wake-up packet, the grouping information of the second client 40 is obtained according to the number of the second clients 40, and the grouping information is generated when the second client 40 initializes access to the network wake-up mirror switching system. According to the grouping information, the multiple first clients 30 respectively send a wake-up packet to the second client 40 in the group corresponding to each first client 30, so that the second client 40 in the group can be activated according to the received wake-up packet and enter the power-on state.

[0046] Optionally, the first client 30 and the second client 40 can be switched according to whether they have been powered on. After the second client 40 has been powered on successfully, it can become a new first client 30, and then perform corresponding network wake-up mirror switching management on other unpowered devices in the local area network. Similarly, after the second client 40 has been powered on successfully, if the first client 30 is turned off, the first client 30 can become a new second client 40 that can be used for network wake-up mirroring.

[0047] In other embodiments, the process of organizing the wake-up instruction and the information of the image to be switched into a wake-up packet includes: first, determining the structure and fields of the wake-up packet, and according to the determined structure and fields, using the wake-up instruction as part of the wake-up packet to indicate the operation to be performed. Then, the information of the image to be switched is added to the wake-up packet, and the information of the image to be switched includes an identifier, a version number, etc. The identifier and the version number are obtained through the above-mentioned client information interface and are used to represent the image. Finally, a check code can also be added to the wake-up packet, and the check code is used to verify the integrity of the wake-up packet. If the second client 40 verifies the received wake-up packet using the check code after receiving the wake-up packet, and obtains a verification result that the received wake-up packet is incomplete, then the received wake-up packet has security risks such as being tampered with, and the second client 40 discards the wake-up packet and does not execute the wake-up instruction at that time.

[0048] like Figure 2 As shown, when a network wake-up mirror switching operation is performed, the second client 40 is used to receive the wake-up packet, and then parse the wake-up packet to obtain the information of the mirror to be switched and the wake-up operation instruction, and finally the second client 40 enters the power-on state according to the wake-up operation instruction and the information of the mirror to be switched. After the power-on process of the second client 40 is completed, the second client 40 has switched to the mirror to be switched.

[0049] In some embodiments, the process of parsing the wake-up packet to obtain the information of the image to be switched and the wake-up operation instruction includes: first, sending the wake-up packet to the basic input and output system (BIOS) of the second client 40. The basic input and output system is a basic software located between the computer hardware and the operating system. It exists on the motherboard of the computer and is responsible for initializing the system hardware, performing self-test, and providing basic input and output functions to actively start the operating system. Then, the wake-up packet is parsed by the basic input and output system of the second client 40 to obtain the information of the image to be switched and the wake-up operation instruction, and the wake-up operation instruction is stored in the programmable read-only memory (PROM) of the second client 40. After the above-mentioned storage process is completed, the power management chip (Power Management IC, PMIC) of the second client 40 is used to start the power-on operation. The power management chip is used to manage and control the power supply and power management functions of the device. By sending a power-on signal to the main processor, the main processor is notified to start the device. The power-on signal can be a specific level or pulse to wake up or activate the processor. When the main processor receives the power-on signal from the power management chip, it starts the startup process, reads the wake-up operation instruction from the programmable read-only memory, executes the wake-up operation instruction, and switches to the image to be switched according to the information of the image to be switched. When the image to be switched is started, the second client 40 also completes the network wake-up image switching process, and returns the wake-up result of the successful network wake-up image switching to the background 20, and finally, the background 20 returns the wake-up result to the front end 10.

[0050] In some embodiments, for multiple client devices in a local area network, one of the devices in the power-on or standby state is selected as the first client 30, and the other devices in the power-off state are selected as the second client 40. The first client 30 is used to receive the wake-up instruction, and the wake-up instruction includes the information of the image to be switched; the wake-up instruction and the information of the image to be switched are organized into a wake-up packet. The first client 30 sends the wake-up packet to each other second client 40. The information of the image to be switched in the wake-up packet includes different types of images to be switched (such as Windows operating system, Linux operating system, etc.). According to the needs, multiple second clients 40 can obtain their corresponding images to be switched from the wake-up packet respectively, so that the second client 40 switches to the corresponding image to be switched and enters the power-on state. For example, one device needs to run the Windows operating system, and the other device needs to run the Linux operating system. The information of the image to be switched in the wake-up packet can include images of different operating systems, and the second client 40 extracts the corresponding operating system image according to its own identification.

[0051] The embodiment of the present application allows the first client 30 to act as a wake-up server, responsible for receiving wake-up instructions and organizing wake-up packets, while the other second clients 40 in the shutdown state can select the corresponding mirror to switch according to the information of the mirror to be switched in the wake-up packet. The beneficial effects brought by this design include: by organizing the wake-up instructions and the information of the mirror to be switched into a wake-up packet, different types of mirrors to be switched can be flexibly selected, which allows each second client device to select a suitable mirror to switch according to its own needs, providing greater flexibility and customization. The first client acts as a wake-up server, centrally managing the information of the wake-up instructions and the mirror to be switched, which can be more convenient to manage and control. The wake-up packet can be sent by the first client to control the mirror switching of multiple second client devices at one time, simplifying the management process. It can support mirror switching between multiple second client devices in a local area network, so it has good scalability, and more second client devices can be added as needed, and mirror switching can be performed according to the information in the wake-up packet to meet the needs of different devices.

[0052] The embodiment of the present application provides a network wake-up mirror switching system, which generates a switch mirror instruction at the front end and sends the switch mirror instruction to the back end, the back end generates a wake-up instruction according to the switch mirror instruction, and sends the wake-up instruction to the first client, the first client generates a wake-up packet containing information of the image to be switched according to the wake-up instruction, and then sends the wake-up packet to the second client, the second client parses the wake-up packet to obtain the information of the image to be switched and the wake-up operation instruction, and then the second client enters the boot state, executes the wake-up operation instruction, and switches to the image to be switched according to the information of the image to be switched, wherein the first client and the second client are in the same local area network. The network wake-up mirror switching system of the present application not only realizes the remote wake-up of the target device to start up and enter the system image, but also enables the target device to start up and enter the target system image according to the wake-up packet, thereby improving the user's flexibility in selecting and operating the system image on the target computer device. In addition, by generating the switch mirror instruction by the front end and sending it to the back end, the back end then sends the wake-up instruction to the first client, the first client generates the wake-up packet and sends it to the second client, this multi-level transmission method can reduce the risk of directly sending the wake-up instruction to the second client, because the wake-up instruction is transmitted through multiple layers, and the blocking effect of malicious attacks is better, thereby helping to improve the security of remote wake-up. Furthermore, after receiving the wake-up packet, the second client parses and obtains the information of the image to be switched and the wake-up operation instruction, the second client enters the boot state, and executes the corresponding wake-up operation instruction according to the information of the image to be switched, and switches to the image to be switched, thereby ensuring the accuracy and completeness of switching to the specified image and improving the success rate of remotely waking up the target device. Finally, since the first client and the second client are in the same local area network, the wake-up packet can be sent from the first client to the second client faster, thereby reducing the wake-up time and improving the response speed, and the local area network is usually subject to better security protection measures, and the network wake-up packet is less likely to be intercepted or tampered by unauthorized visitors when transmitted in the local area network.

[0053] See also Figure 3 , Figure 3 1 is a flow chart of a network wake-up mirror switching method provided by an embodiment of the present application, which can be applied to the first client 30. Figure 3 As shown, the method comprises the following steps:

[0054] S31, receiving a wake-up instruction, where the wake-up instruction includes information about the image to be switched.

[0055] S32: Organize the wake-up instruction and the information of the image to be switched into a wake-up packet.

[0056] S33: Send a wake-up packet to the second client, so that the second client is activated according to the wake-up packet and enters a power-on state.

[0057] In some embodiments, the first client may be a plurality of computer devices, and the step of the first client receiving the wake-up instruction includes: first, the plurality of first clients receive the wake-up instruction respectively, wherein each first client obtains a wake-up packet according to the wake-up instruction. Then, according to the number of second clients, the grouping information of the second clients is obtained, wherein the grouping information of the second clients is generated when the second clients access the network where the first clients are located. Finally, according to the grouping information of the second clients, the plurality of first clients respectively send wake-up packets to the second clients in the group corresponding to each first client, so that the second clients are activated according to the wake-up packets and enter the power-on state.

[0058] In other embodiments, the step of organizing the information of the image to be switched of the wake-up instruction into a wake-up packet includes: first, determining the structure and fields of the wake-up packet, and using the wake-up instruction as part of the data of the wake-up packet according to the structure and fields to indicate the operation to be performed. Then, the information of the image to be switched is added to the wake-up packet, wherein the information of the image to be switched includes an identifier, a version number, etc., and the role of the identifier and the version number is to identify the system image. Finally, a check code can also be added to the wake-up packet, wherein the check code is used to verify the integrity of the wake-up packet to avoid abnormal situations such as tampering or partial loss of the wake-up packet during network transmission.

[0059] It should be noted that the network wake-up mirror switching method of the embodiment of the present application can be executed by the above-mentioned first client 30, and the specific process can refer to the above-mentioned system embodiment, and the method embodiment has the same beneficial effects as the above-mentioned system embodiment.

[0060] See also Figure 4 , Figure 4 FIG. 4 is a flowchart of a network wake-up mirror switching method provided by another embodiment of the present application, which can be applied to the second client 40. Figure 4 As shown, the method comprises the following steps:

[0061] S41: Receive a wake-up packet sent by the first client.

[0062] S42: parse the wake-up packet to obtain information about the image to be switched and a wake-up operation instruction.

[0063] S43: Enable the second client to enter a power-on state according to the wake-up operation instruction and the information of the image to be switched.

[0064] See also Figure 5 , Figure 5 This is a flowchart of the second client switching the image when starting up in a network wake-up image switching method provided by another embodiment of the present application. Figure 5 As shown, the method comprises the following steps:

[0065] S51, the network card driver receives a wake-up packet. The network card driver of the second client is in an active state when the second client is in a shutdown state, so it can receive the wake-up packet.

[0066] S52: Send a wake-up packet to the basic input and output system.

[0067] S53, parsing the wake-up packet through the basic input and output system to obtain the information of the image to be switched and the wake-up operation instruction. The wake-up packet can also be verified by the verification code in the wake-up packet. If the wake-up packet fails the verification, the wake-up packet has a security risk, the wake-up packet is deleted, and the subsequent boot steps are terminated.

[0068] S54, storing the wake-up operation instruction in the programmable read-only memory.

[0069] S55, triggering a power-on operation through a power management chip. The power management chip is used to manage and control the power supply and power management functions of the second client, and sends a power-on signal to the main processor of the second client to notify the main processor to start the device. The power-on signal can be a specific level or pulse to wake up or activate the main processor of the second client.

[0070] S56, reading a wake-up operation instruction from the programmable read-only memory.

[0071] S57, executing the wake-up operation instruction to control the second client to switch to the image to be switched. When the boot process of the second client is completed, the second client has switched to the image to be switched and waits for further user operations.

[0072] It should be noted that the network wake-up mirror switching method of the embodiment of the present application can be executed by the above-mentioned second client 40, and the specific process can refer to the above-mentioned embodiment, and the method embodiment has the same beneficial effects as the above-mentioned embodiment.

[0073] See also Figure 6 , Figure 6 1 is a schematic diagram of a network wake-up mirror switching device 60 provided in an embodiment of the present application. The network wake-up mirror switching device 60 can be applied to a first client 30 and includes: a wake-up instruction receiving module 61, a wake-up packet obtaining module 62 and a first wake-up processing module 63.

[0074] The wake-up instruction receiving module 61 is used to receive a wake-up instruction, which includes information about the image to be switched; the wake-up packet obtaining module 62 is used to organize the wake-up instruction and the information about the image to be switched into a wake-up packet; the first wake-up processing module 63 is used to send the wake-up packet to the second client, so that the second client is activated according to the wake-up packet and enters the power-on state.

[0075] In some embodiments, the first client includes multiple clients, and the wake-up instruction receiving module 61 is specifically used for the multiple first clients to receive the wake-up instruction respectively, wherein each of the first clients obtains the wake-up packet according to the wake-up instruction. The first wake-up processing module 63 is specifically used to obtain the grouping information of the second clients according to the number of the second clients; according to the grouping information, the multiple first clients respectively send the wake-up packet to the second clients in the group corresponding to the first client, so that the second client is activated according to the wake-up packet and enters the power-on state.

[0076] In other embodiments, the wake-up packet acquisition module 62 is specifically used to determine the structure and fields of the wake-up packet, and according to the structure and fields, use the wake-up instruction as part of the wake-up packet to indicate the operation to be performed; add the information of the image to be switched to the wake-up packet, the information of the image to be switched includes an identifier and a version number, and the identifier and the version number are used to identify the image; add a check code to the wake-up packet, and the check code is used to verify the integrity of the wake-up packet.

[0077] See also Figure 7 , Figure 7 1 is a schematic diagram of another network wake-up mirror switching device 70 provided in an embodiment of the present application. The network wake-up mirror switching device 70 can be applied to the second client 40 and includes: a wake-up packet receiving module 71 , a wake-up packet parsing module 72 and a second wake-up processing module 73 .

[0078] The wake-up packet receiving module 71 is used to receive the wake-up packet sent by the first client; the wake-up packet parsing module 72 is used to parse the wake-up packet to obtain the information of the image to be switched and the wake-up operation instruction; the second wake-up processing module 73 is used to enable the second client to enter the power-on state according to the wake-up operation instruction and the information of the image to be switched.

[0079] In some embodiments, the wake-up packet parsing module 72 is specifically used to send the wake-up packet to the basic input and output system of the second client; parse the wake-up packet through the basic input and output system to obtain the information of the image to be switched and the wake-up operation instruction; store the wake-up operation instruction in the programmable read-only memory of the second client.

[0080] In other embodiments, the second wake-up processing module 73 is specifically used to trigger a power-on operation through the power management chip of the second client; read the wake-up operation instruction from the programmable read-only memory; execute the wake-up operation instruction to control the second client to start switching to the mirror to be switched.

[0081] It should be noted that the above-mentioned network wake-up mirror switching device can execute the network wake-up mirror switching method provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the embodiment of the network wake-up mirror switching device, please refer to the network wake-up mirror switching method provided in the embodiment of the present application.

[0082] Figure 8 8 is a hardware structure diagram of an electronic device 80 for executing a network wake-up mirror switching method provided in an embodiment of the present application. The electronic device may specifically be the first client and the second client. Figure 8 As shown, the electronic device 80 includes:

[0083] One or more processors 81 and memory 82, Figure 8 A processor 81 is taken as an example.

[0084] The processor 81 and the memory 82 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0085] The memory 82 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the network wake-up mirror switching method in the embodiment of the present application. The processor 81 executes various functional applications and data processing of the electronic device by running the non-volatile software programs, instructions and modules stored in the memory 82, that is, the network wake-up mirror switching method in the above method embodiment is implemented.

[0086] The memory 82 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the network wake-up mirror switching device, etc. In addition, the memory 82 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 82 may optionally include a memory remotely arranged relative to the processor 81, and these remote memories may be connected to the network wake-up mirror switching device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0087] The one or more modules are stored in the memory 82, and when executed by the one or more processors 81, the network wake-up mirror switching method in any of the above method embodiments is executed, for example, the above described Figure 3 Steps S31 to S33 of the method, Figure 4Steps S41 to S43 of the method are implemented Figure 5 Modules 51-53 and implementations in Figure 6 The functions of modules 61-63 in.

[0088] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

[0089] The embodiment of the present application provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, such as Figure 8 A processor 81 in the embodiment may enable the one or more processors to execute the network wake-up mirror switching method in any of the above method embodiments, for example, executing the above described Figure 3 Steps S31 to S33 of the method, Figure 4 Steps S41 to S43 of the method are implemented Figure 5 Modules 51-53 and implementations in Figure 6 The functions of modules 61-63 in.

[0090] The present application embodiment provides a computer program product, the computer program product includes a computer program stored on a non-volatile computer-readable storage medium, the computer program includes program instructions, when the program instructions are executed by the electronic device, the electronic device is enabled to execute the network wake-up mirror switching method in any of the above method embodiments, for example, execute the above described Figure 3 Steps S31 to S33 of the method, Figure 4 Steps S41 to S43 of the method are implemented Figure 5 Modules 51-53 and implementations in Figure 6 The functions of modules 61-63 in.

[0091] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0092] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A network wake-up mirror switching method, applied to a first client, characterized in that: include: Receive a wake-up instruction, wherein the wake-up instruction includes information of the image to be switched; Organizing the wake-up instruction and the information of the image to be switched into a wake-up packet; The wake-up packet is sent to a second client, so that the second client is activated according to the wake-up packet and enters a power-on state, wherein the first client and the second client are in the same local area network.

2. The method according to claim 1, characterized in that The first client includes a plurality of clients, and the receiving of the wake-up instruction includes: The multiple first clients respectively receive the wake-up instruction, wherein each of the first clients obtains the wake-up packet according to the wake-up instruction; The step of sending the wake-up packet to the second client so that the second client is activated according to the wake-up packet and enters a power-on state includes: According to the number of the second clients, obtaining grouping information of the second clients; According to the grouping information, the plurality of first clients respectively send the wake-up packets to the second clients in the group corresponding to the first clients, so that the second clients are activated according to the wake-up packets and enter a power-on state.

3. The method according to claim 1 or 2, characterized in that: The step of organizing the wake-up instruction and the information of the image to be switched into a wake-up packet includes: Determine the structure and fields of the wake-up packet, and use the wake-up instruction as a part of the wake-up packet according to the structure and fields to indicate the operation to be performed; Adding information of the image to be switched to the wake-up packet, wherein the information of the image to be switched includes an identifier and a version number, and the identifier and the version number are used to identify the image; A check code is added to the wake-up packet, and the check code is used to verify the integrity of the wake-up packet.

4. The method according to claim 1, characterized in that: The second client includes a plurality of clients, and the step of sending the wake-up packet to the second client so that the second client is activated according to the wake-up packet and enters a power-on state includes: The wake-up packet is sent to the plurality of second clients, wherein the wake-up packet includes different types of images to be switched, so that the plurality of second clients receive the wake-up packet and enter a power-on state according to the corresponding types of images to be switched.

5. A network wake-up mirror switching method, applied to a second client, characterized in that: include: receiving a wake-up packet sent by a first client; Parsing the wake-up packet to obtain information about the image to be switched and a wake-up operation instruction; The second client is enabled to enter a power-on state according to the wake-up operation instruction and the information of the image to be switched, wherein the first client and the second client are in the same local area network.

6. The method according to claim 5, characterized in that The step of parsing the wake-up packet to obtain information about the image to be switched and the wake-up operation instruction includes: Sending the wake-up packet to a basic input / output system of the second client; Parsing the wake-up packet through the basic input and output system to obtain the information of the image to be switched and the wake-up operation instruction; The wake-up operation instruction is stored in a programmable read-only memory of the second client.

7. The method according to claim 6, characterized in that The step of causing the second client to enter a power-on state according to the wake-up operation instruction and the information of the image to be switched includes: Triggering a power-on operation through a power management chip of the second client; Read the wake-up operation instruction from the programmable read-only memory; The wake-up operation instruction is executed to control the second client to start switching to the image to be switched.

8. The method according to claim 5, characterized in that The second client includes a plurality of clients, the information of the image to be switched includes different types of images to be switched, The step of causing the second client to enter a power-on state according to the wake-up operation instruction and the information of the image to be switched includes: The plurality of second clients respectively obtain the to-be-switched images of the type corresponding to the second clients according to the information of the to-be-switched images, and enter a power-on state according to the wake-up operation instruction and the to-be-switched images.

9. A network wake-up mirror switching device, applied to a first client, characterized in that: include: A wake-up instruction receiving module, used to receive a wake-up instruction, wherein the wake-up instruction includes information of the image to be switched; A wake-up packet acquisition module, used to organize the wake-up instruction and the information of the image to be switched into a wake-up packet; The first wake-up processing module is used to send the wake-up packet to the second client, so that the second client is activated according to the wake-up packet and enters a power-on state, wherein the first client and the second client are in the same local area network.

10. A network wake-up mirror switching device, applied to a second client, characterized in that: include: A wake-up packet receiving module, used to receive a wake-up packet sent by the first client; A wake-up packet parsing module, used to parse the wake-up packet to obtain information about the image to be switched and a wake-up operation instruction; The second wake-up processing module is used to enable the second client to enter the boot state according to the wake-up operation instruction and the information of the image to be switched, wherein the first client and the second client are in the same local area network.

11. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

12. A network wake-up mirror switching system, characterized in that: include: A front end, a back end, a first client, and a second client; The front end is used to send a switch mirror instruction to the back end; The backend is used to send a wake-up instruction to the first client according to the switching mirror instruction; The first client is used to receive a wake-up instruction, the wake-up instruction including information of the image to be switched; organize the wake-up instruction and the information of the image to be switched into a wake-up packet; and send the wake-up packet to the second client; The second client is used to receive the wake-up packet; parse the wake-up packet to obtain information about the image to be switched and a wake-up operation instruction; and enable the second client to enter a power-on state according to the wake-up operation instruction and the information about the image to be switched; The first client and the second client are in the same local area network.