Remote control method, PC, chip system and storage medium

By using the first communication chip and the second communication chip in the PC to switch wireless communication connections, the problem that the PC cannot be remotely controlled when it is shut down or sleep state is solved, a stable remote control experience is achieved and wireless link flash breakage is avoided .

CN119485778APending Publication Date: 2025-02-18HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311003577.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-09
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art cannot remotely control the PC while it is in shutdown or sleep state, resulting in poor user experience.

Method used

The first communication chip and the second communication chip are introduced into the PC, and switch between the dual communication chips through wireless communication connections to ensure that the remote control can be performed while the PC is in a shutdown or sleep state, and try to maintain the long wireless communication link Connection status.

Benefits of technology

It realizes remote control while the PC is shut down or sleeping, improves the user experience and avoids the problem of flash breaking of wireless communication links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485778A_ABST
    Figure CN119485778A_ABST
Patent Text Reader

Abstract

The invention provides a remote control method, a PC, a chip system and a storage medium. Wherein the PC comprises a first communication chip and a second communication chip. When the PC is in a power-on state and runs normally, the PC establishes wireless connection with the cloud server based on the first communication chip, so that a user can remotely control the PC; and when the PC is about to be shut down or sleep, the PC establishes wireless connection with the cloud server based on the second communication chip before the corresponding program runs, so that the user can continue to remotely control the PC. Therefore, when the state of the PC is switched, the wireless network of the PC is switched between the double communication chips, so that a user can remotely control the PC anytime and anywhere. When the state of the PC is switched, the time for the PC to establish the link based on the second communication chip is greatly shortened, the wireless communication link of the PC is ensured to be in a long connection state as much as possible, and the problem that a user feels flash of the wireless communication link of the PC is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent terminal technology, and in particular to a remote control method, a PC, a chip system and a storage medium. Background Art

[0002] As technology becomes more and more advanced, the Internet has become an indispensable part of people's lives. When the PC is turned on and in normal operation, users can remotely control the PC through smart terminals such as smartphones, tablets (pads), PCs (Personal Computers), etc., allowing users to use these smart terminals to remotely operate the PC anytime and anywhere, bringing many conveniences to people's work and life.

[0003] However, when the PC is turned off or in sleep mode, the user cannot use the smart terminal to remotely control the PC, resulting in a poor user experience. Therefore, how to improve the user experience when the user remotely controls the PC is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a remote control method, a PC, a chip system and a storage medium. The PC includes a first communication chip and a second communication chip, and the wireless communication connection of the PC is switched between the dual communication chips, so that when the PC is turned off, dormant or sleeping, the user can use the terminal device to remotely control the PC. Moreover, when the wireless communication connection of the PC is switched between the dual communication chips, try to ensure that the PC wireless communication link is in a long connection state to avoid the user from experiencing the problem of flash disconnection of the PC wireless communication link.

[0005] In a first aspect, an embodiment of the present application provides a remote control method. The method is applied to a PC, and the PC includes a first communication chip and a second communication chip. The method includes:

[0006] When the PC is turned on and running normally, a first wireless connection is established between the first communication chip and the server; wherein the first wireless connection is used for remote interaction between the electronic device and the PC, so that the user can remotely control the PC using the electronic device; when it is monitored that the PC is about to shut down or hibernate or sleep, before the corresponding shutdown program or hibernate program or sleep program is run, a second wireless connection is established between the second communication chip and the server; when the shutdown program or hibernate program or sleep program is running, the first communication chip is powered off; after the first communication chip is powered off, the first wireless connection is disconnected; when the PC is in the shutdown, hibernate or sleep state, the second communication chip receives remote control instructions sent by the electronic device based on the second wireless connection to change the state of the PC.

[0007] Exemplarily, the server may be a cloud server.

[0008] Exemplarily, the electronic device may be a mobile phone, a tablet computer, a PC, etc.

[0009] The first communication chip is the main communication chip of the PC, and the second communication chip is an auxiliary communication chip added on the basis of the main communication chip, and the power supply circuits of the two are different. After the PC is shut down or enters the sleep or sleep state, the first communication chip will be powered off, while the second communication chip will not be powered off, but will continue to be powered by the PC's battery or external power supply.

[0010] When the PC is turned on and operating normally, the PC communicates with the outside based on the first communication chip, and after the PC is turned off or enters a dormant or sleep mode, the first communication chip is powered off, and the PC communicates with the outside based on the second communication chip. In this way, when the PC communicates with the outside based on the second communication chip, the user can use an electronic device to send a remote control command to the PC to change the state of the PC. Therefore, even if the PC is turned off or in a dormant or sleep state, as long as there is a communication network, the user can remotely control the PC, so that the user can remotely control the PC anytime and anywhere.

[0011] Moreover, when the PC is about to shut down or enter hibernation or sleep mode, the second communication chip of the PC establishes a wireless connection with the server in advance, so that when the PC wireless connection switches between the first communication chip and the second communication chip, the time for the second communication chip of the PC to establish a wireless connection with the server is greatly advanced, thereby ensuring that the PC wireless communication link is in a long connection state as much as possible, avoiding the user from experiencing the problem of flash disconnection of the PC wireless communication link.

[0012] In this embodiment, when the PC is in a shutdown, hibernation or sleep state, the second communication chip receives a remote control sent by the electronic device based on the second wireless connection to change the state of the PC, which may include:

[0013] When the PC is in the shutdown state, the second communication chip receives a remote power-on command sent by the electronic device based on the second wireless connection to turn on the PC, or, when the PC is in the dormant state or sleep state, the second communication chip receives a remote wake-up command sent by the electronic device based on the second wireless connection to make the PC exit the dormant state or sleep state.

[0014] In this way, as long as there is a communication network, users can remotely control the PC to turn on the PC even if it is turned off, and can remotely wake up the PC even if it is in hibernation or sleep mode, allowing users to remotely control the PC anytime and anywhere.

[0015] It should be pointed out that the transmission bandwidth of the first wireless connection established between the PC and the server based on the first communication chip is much larger than the second wireless connection established between the PC and the server based on the second communication chip. Among them, the first wireless connection can be used not only to transmit remote operation instructions sent by the electronic device to the PC, status information (or feedback information) sent by the PC to the electronic device, etc., but also to transmit the UI interface data stream sent by the PC to the electronic device. The second wireless connection can be used to transmit remote operation instructions sent by the electronic device to the PC, status information (or feedback information) sent by the PC to the electronic device, etc., but cannot transmit the UI interface data stream sent by the PC to the electronic device.

[0016] In addition, since the network parameters used by the PC to establish a first wireless connection with the server based on the first communication chip and the network parameters used by the PC to establish a second wireless connection with the server based on the second communication chip are the same set of parameters (such as the password for accessing the server, the device ID of the PC in the server, etc.), the wireless connection established by the PC with the server based on the first communication chip and the wireless connection established by the PC with the server based on the second communication chip cannot exist at the same time.

[0017] In this embodiment, the PC may further include an embedded controller. In the method, the second communication chip receives a remote power-on instruction sent by the electronic device based on the second wireless connection to power on the PC, which may include: the second communication chip receives a remote power-on instruction sent by the electronic device based on the second wireless connection, and sends a first control instruction to the embedded controller, the first control instruction is used to instruct to power on the PC, and the embedded controller controls related circuit pins according to the first control instruction to power on the PC.

[0018] In the method, the second communication chip receives a remote wake-up instruction sent by the electronic device based on a second wireless connection to enable the PC to exit a dormant state or a sleep state, which may include: the second communication chip receives a remote wake-up instruction sent by the electronic device based on a second wireless connection, and sends a second control instruction to the embedded controller, the second control instruction is used to instruct to wake up the PC, and the embedded controller controls relevant circuit pins according to the second control instruction to enable the PC to exit a dormant state or a sleep state.

[0019] It should be noted that the encoding method of the first control instruction and the remote power-on instruction can be the same or different, that is, the first control instruction can be a remote power-on instruction, or it can be an instruction in other forms for indicating remote power-on. The encoding method of the second control instruction and the remote wake-up instruction can be the same or different, that is, the second control instruction can be a remote wake-up instruction, or it can be an instruction in other forms for indicating remote wake-up.

[0020] According to the first aspect, after the second communication chip receives the remote control instruction sent by the electronic device based on the second wireless connection, the method also includes: after the PC is turned on, or after the PC exits the dormant state or the sleep state, the first communication chip is powered on; after the first communication chip is powered on, a third wireless connection is established between the first communication chip and the server; when the third wireless connection is successfully established, the second wireless connection is disconnected; wherein the network configuration parameters corresponding to the third wireless connection are the same as those of the second wireless connection; the third wireless connection is used for remote interaction between the electronic device and the PC, so that the user uses the electronic device to remotely control the PC.

[0021] Before establishing a third wireless connection between the first communication chip and the server, the method also includes: the first communication chip and the second communication chip establish a wired communication link; the first communication chip synchronizes the latest network configuration information with the second communication chip based on the wired communication link; wherein the network configuration information is used to establish a wireless connection with the server so that the user can remotely control the PC through the electronic device.

[0022] The network configuration information may include, but is not limited to, the service set identifier and password of the Wi-Fi network, the uniform resource locator address of the server, the password for accessing the server, the device identification information of the PC in the server, etc.

[0023] In this way, the first communication chip and the second communication chip of the PC will synchronize the network configuration information in time through the wired communication link. When the PC is in the power-on state, or when the PC is in the power-off state, the dormant state or the sleeping state, the network configuration information may change, for example, the password for accessing the server may expire and need to be updated. When the PC is in the power-on state, the first communication chip obtains the latest network configuration information, and when the PC is in the power-off state, the dormant state or the sleeping state, the second communication chip obtains the latest network configuration information.

[0024] After the first communication chip is powered on, the PC re-establishes a wireless connection with the server based on the first communication chip, and the wireless connection between the PC and the server based on the second communication chip is disconnected. At this time, the user can continue to use the electronic device to remotely control the PC. Moreover, when the PC is turned on or awakened, the wireless connection between the PC's auxiliary communication chip and the cloud server and the wireless connection between the PC's main communication chip and the cloud server are seamlessly connected, and the wireless communication link between the PC and the cloud server will not be disconnected, and the user will not feel the status change of the PC's wireless communication link in the mobile client.

[0025] According to the first aspect, or any implementation of the first aspect above, the method also includes: when it is monitored that the PC is about to restart, before the restart program is run, a fourth wireless connection is established between the second communication chip and the server; when the shutdown process in the restart program is running, the first communication chip is powered off; after the first communication chip is powered off, the first wireless connection is disconnected; when the startup process in the restart program is running, the first communication chip is powered on; after the first communication chip is powered on, a fifth wireless connection is established between the first communication chip and the server; when the fifth wireless connection is successfully established, the fourth wireless connection is disconnected; wherein the network configuration parameters corresponding to the fifth wireless connection and the fourth wireless connection are the same; wherein the fifth wireless connection is used for remote interaction between the electronic device and the PC, so that the user uses the electronic device to remotely control the PC.

[0026] Because the wireless connection between the auxiliary communication chip and the cloud server is established before the restart program runs, instead of the auxiliary communication chip establishing a wireless connection with the cloud server after it detects an abnormality in the main communication chip based on the heartbeat mechanism. Therefore, during the shutdown phase of the PC restart process, the time to establish a wireless communication link between the auxiliary communication chip and the cloud server is greatly advanced, and the wireless communication link between the PC and the cloud server is ensured to be in a long connection state as much as possible. During the startup phase of the PC restart process, the wireless connection between the auxiliary communication chip of the PC and the cloud server and the wireless connection between the main communication chip of the PC and the cloud server are seamlessly connected, and the wireless communication link between the PC and the cloud server will not be disconnected, and the user will not feel the status change of the PC wireless communication link in the mobile client.

[0027] According to the first aspect, or any implementation of the first aspect above, after establishing a second wireless connection between the second communication chip and the server, the method also includes: the second communication chip obtains the current status information of the PC; when the current status information of the PC indicates that the PC is not completely shut down, the first status information of the PC is sent to the electronic device through the second wireless connection, so that the electronic device refreshes and displays the first status information of the PC; wherein the first status information is used to indicate that the PC is shutting down; when the current status information of the PC indicates that the PC is completely shut down, the second status information of the PC is sent to the electronic device through the second wireless connection, so that the electronic device refreshes and displays the second status information of the PC; wherein the second status information is used to indicate that the PC is shut down; when the current status information of the PC indicates that the PC is not completely dormant, the third status information of the PC is sent to the electronic device through the second wireless connection, so that the electronic device refreshes and displays the third status information of the PC; wherein the third status information is used to indicate that the PC is dormant; when the current status information of the PC indicates that the PC is completely dormant, the fourth status information of the PC is sent to the electronic device through the second wireless connection, so that the electronic device refreshes and displays the fourth status information of the PC; wherein the fourth status information is used to indicate that the PC is dormant.

[0028] In this way, when the PC switches from the power-on state to the power-off state or the dormant state or the sleep state, the wireless communication link of the PC switches between the first communication chip and the second communication chip, and the wireless connection between the second communication chip and the server is established in advance, and the changes in the PC status can be reported to the electronic device end, so that the user can clearly know the changes in the PC status on the electronic device end.

[0029] According to the first aspect, or any implementation of the first aspect above, after establishing a fourth wireless connection between the second communication chip and the server, the method further includes: sending fifth status information of the PC to the electronic device through the fourth wireless connection, so that the electronic device displays the fifth status information of the PC; wherein the fifth status information is used to indicate that the PC is restarting;

[0030] After establishing a fifth wireless connection between the first communication chip and the server, the method further includes: sending sixth status information of the PC to the electronic device via the fourth wireless connection so that the electronic device displays the sixth status information of the PC; wherein the sixth status information is used to indicate that the PC is turned on.

[0031] In this way, during the PC restart process, the PC's wireless communication link switches between the first communication chip and the second communication chip. Before and after the switch, the PC reports the changes in the PC status to the electronic device end, so that the user can clearly know the changes in the PC status on the electronic device end.

[0032] According to the first aspect, or any implementation of the first aspect above, the method further includes: when the PC establishes a wireless connection with the server based on the first communication chip, based on the wireless connection corresponding to the first communication chip, sending the power supply mode and the remaining battery power of the PC to the electronic device, so that the electronic device displays the power supply mode and the remaining battery power of the PC;

[0033] When the PC establishes a wireless connection with the server based on the second communication chip, the power supply mode and remaining battery power of the PC are sent to the electronic device based on the wireless connection corresponding to the second communication chip, so that the electronic device displays the power supply mode and remaining battery power of the PC.

[0034] In this way, the user can know the power supply mode of the PC and the remaining battery power in real time on the electronic device side.

[0035] According to the first aspect, or any implementation of the first aspect above, the method further includes:

[0036] When the PC establishes a wireless connection with the server based on the first communication chip, if the PC is powered by a battery, the estimated usage time of the remaining battery power is also sent to the electronic device based on the wireless connection corresponding to the first communication chip, so that the electronic device also displays the estimated usage time of the remaining battery power;

[0037] When the PC establishes a wireless connection with the server based on the second communication chip, if the PC is powered by battery, the estimated usage time of the remaining battery power is also sent to the electronic device based on the wireless connection corresponding to the first communication chip, so that the electronic device also displays the estimated usage time of the remaining battery power.

[0038] In this way, the user can know the estimated usage time of the remaining power of the PC battery in real time on the electronic device side.

[0039] According to the first aspect, or any implementation of the first aspect above, the method further includes:

[0040] When the PC establishes a wireless connection with the server based on the first communication chip, periodically sends the status information of the PC to the electronic device based on the wireless connection corresponding to the first communication chip, so that the electronic device updates and displays the status information of the PC;

[0041] When the PC establishes a wireless connection with the server based on the second communication chip, the PC status information is periodically sent to the electronic device based on the wireless connection corresponding to the second communication chip, so that the electronic device updates and displays the PC status information.

[0042] In this way, the PC status information displayed on the mobile client is updated periodically. Even if the PC fails to report the PC status to the mobile client due to an abnormal PC wireless link, the PC status information displayed on the mobile client will not be inconsistent with the actual PC status information for a long time.

[0043] According to the first aspect, or any implementation of the first aspect above, the method further includes:

[0044] When the PC establishes a wireless connection with the server based on the first communication chip, the PC receives a remote control instruction sent by the electronic device based on the wireless connection corresponding to the first communication chip;

[0045] When the PC establishes a wireless connection with the server based on the second communication chip, the PC receives a remote control instruction sent by the electronic device based on the wireless connection corresponding to the second communication chip;

[0046] The remote control instruction is generated based on a remote control operation performed by a user on the electronic device, and the result of the remote control operation being verified by the electronic device indicates that there is no conflict between the remote control operation and the current state information of the PC.

[0047] In this way, the remote control operation performed by the user on the electronic device side will be verified. Only for the remote control operation that passes the verification, the electronic device will generate the corresponding remote control instruction and send it to the PC side.

[0048] According to the first aspect, or any implementation of the first aspect above, the PC further includes an embedded controller; the method further includes: the embedded controller monitors whether the PC is about to shut down or is about to hibernate or is about to sleep or is about to restart;

[0049] When it is monitored that the PC is about to shut down, hibernate, sleep, or restart, before the corresponding shutdown program, hibernation program, sleep program, or restart program is run, the second communication chip is instructed to establish a wireless connection with the server, so that the second communication chip establishes a wireless connection with the server according to the instruction of the embedded controller.

[0050] According to the first aspect, or any implementation method of the first aspect above, when the PC is in a shutdown, hibernation or sleep state, the second communication chip receives a remote control instruction sent by the electronic device based on a second wireless connection to change the state of the PC, including: when the PC is in a shutdown, hibernation or sleep state, the second communication chip receives a remote control instruction sent by the electronic device based on a second wireless connection, and sends a corresponding control instruction to the embedded controller according to the remote control instruction; the embedded controller controls relevant circuit pins according to the control instruction to change the state of the PC.

[0051] According to the first aspect, or any implementation of the first aspect above, the power consumption of the second communication chip is lower than the power consumption of the first communication chip.

[0052] The performance of the second communication chip is lower than that of the first communication chip, for example, the second communication chip has lower power consumption and lower communication bandwidth. Thus, when the first communication chip of the PC operates abnormally, the PC establishes a wireless connection with the server through the second communication chip, and the PC enters a low-power remote control mode.

[0053] According to the first aspect, or any implementation manner of the first aspect above, the first communication chip and the second communication chip both have Wi-Fi communication capabilities, and the first wireless connection and the second wireless connection are both Wi-Fi wireless connections.

[0054] In addition, the first communication chip and the second communication chip may also have Bluetooth communication capabilities to implement other services based on the Bluetooth communication capabilities, such as point-to-point services.

[0055] According to the first aspect, or any implementation of the first aspect above, after the second wireless connection is established between the second communication chip and the server, the method further includes: the second communication chip periodically sends a message to the server to keep the communication link of the second wireless connection alive.

[0056] In this way, since the auxiliary communication chip keeps the wireless communication link between it and the server alive, the server will not release the link resources allocated to the auxiliary communication chip, so that the wireless communication link between the auxiliary communication chip and the server always remains unobstructed, making it convenient for users to send remote control instructions at any time based on the wireless connection between the auxiliary communication chip and the server.

[0057] According to the first aspect, or any implementation of the first aspect above, the method also includes one or more of the following: when the PC is shut down, hibernating or sleeping, the second communication chip is in a powered-on state; or, the second communication chip is always in a powered-on state; or, when the PC is shut down, hibernating or sleeping, the embedded controller included in the PC is in a powered-on state; or, the embedded controller is always in a powered-on state.

[0058] Since the second communication chip is powered on when the PC is shut down, hibernating or sleeping, or the second communication chip is always powered on, after the first communication chip is powered off, the PC can establish a wireless connection with the server based on the second communication chip, so that the user can remotely control the PC anytime and anywhere.

[0059] In a second aspect, an embodiment of the present application provides a PC. The PC includes a first communication chip, a second communication chip, and an embedded controller. The PC can execute the remote control method of the first aspect and any one of the first aspects.

[0060] The second aspect and any implementation of the second aspect correspond to the first aspect and any implementation of the first aspect respectively. The technical effects corresponding to the second aspect and any implementation of the second aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.

[0061] In a third aspect, an embodiment of the present application provides a chip system, which is applied to a personal computer PC, and the chip system includes instructions and at least one processor, and the at least one processor runs the instructions to enable the PC to execute the remote control method of the first aspect and any one of the first aspects. The chip system may include the above-mentioned second communication chip, and may also include the first communication chip.

[0062] The third aspect and any implementation of the third aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the third aspect and any implementation of the third aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here.

[0063] In a fourth aspect, an embodiment of the present application provides a PC. The PC includes: one or more processors; a first communication chip and a second communication chip; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the PC executes the remote control method of the first aspect and any one of the first aspects through the first communication chip and the second communication chip.

[0064] According to the fourth aspect, the PC also includes an embedded controller, which is used to receive control instructions sent by the second communication chip and control the PC according to the control instructions; the embedded controller is also used to monitor whether the PC is about to shut down or hibernate or sleep or restart, and when it is monitored that the PC is about to shut down or hibernate or sleep or restart, before the corresponding shutdown program or hibernation program or sleep program or restart program is run, it instructs the second communication chip to establish a wireless connection with the server.

[0065] The fourth aspect and any implementation of the fourth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fourth aspect and any implementation of the fourth aspect can refer to the technical effects corresponding to the above-mentioned first aspect and any implementation of the first aspect, which will not be repeated here.

[0066] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium includes a computer program, and when the computer program is executed on an electronic device, the electronic device executes the remote control method of the first aspect and any one of the first aspects.

[0067] The fifth aspect and any implementation of the fifth aspect correspond to the first aspect and any implementation of the first aspect, respectively. The technical effects corresponding to the fifth aspect and any implementation of the fifth aspect can refer to the technical effects corresponding to the first aspect and any implementation of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1a is a schematic diagram of an application scenario shown as an example;

[0069] Figure 1b is an exemplary interactive diagram for remotely controlling a PC;

[0070] Figure 2a A schematic diagram of a method for remotely waking up a PC in a sleeping state is shown as an example;

[0071] Figure 2b A schematic diagram of a method for remotely waking up a PC in a sleeping state is shown as an example;

[0072] Figure 3 A schematic diagram of a problem of remotely controlling a PC is shown as an example;

[0073] Figure 4a A schematic diagram of a system structure involved in a remote control method provided in an embodiment of the present application is exemplified;

[0074] Figure 4b A schematic diagram of a remote control method provided by an embodiment of the present application is exemplified;

[0075] Figure 5a The figure is a schematic diagram of information interaction between the auxiliary communication chip and the embedded controller;

[0076] Figure 5b is a schematic diagram of the module structure of the main communication chip and the auxiliary communication chip shown as an example;

[0077] Figure 6a A flowchart of a remote control method provided by an embodiment of the present application is shown as an example;

[0078] Figure 6b The figure is a schematic diagram showing an exemplary PC switching wireless connections between dual communication chips;

[0079] Figure 6cis a schematic diagram showing an exemplary method of a PC reporting PC status information based on an auxiliary communication chip;

[0080] Figure 7a A flowchart of a remote control method provided by an embodiment of the present application is shown as an example;

[0081] Figure 7b is a schematic diagram showing an exemplary PC receiving a remote control instruction based on an auxiliary communication chip;

[0082] Figure 8 A flowchart of a remote control method provided by an embodiment of the present application is shown as an example;

[0083] Fig. 9 FIG. 1 is a schematic diagram showing the hardware structure of a PC for example. DETAILED DESCRIPTION

[0084] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0085] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0086] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.

[0087] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0088] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

[0089] As technology becomes more and more advanced, the Internet has become an indispensable part of people's lives. Smart terminals such as smartphones, tablets (pads) or PCs can remotely control other PCs (or computers, such as laptops, desktop computers, etc.) through the Internet, allowing users to use these smart terminals to remotely operate PCs anytime and anywhere, bringing many conveniences to people's work and life. In this way, when people forget to turn off their PCs when they go out, forget to copy important files in their PCs when they are on a business trip, or company leaders need files in their PCs temporarily, people can also use these smart terminals to remotely control their PCs, and related problems are solved.

[0090] The following uses a mobile phone as an example to explain how a user uses a smart terminal to remotely operate a PC. This embodiment does not limit the type of smart terminal.

[0091] Among them, the way in which the mobile phone and the PC establish a remote connection is related to the method of using the remote control application in the mobile phone, and this embodiment does not limit this. Exemplarily, the user logs in the same account in the remote control application of the mobile phone and in the PC to bind the remote control application in the mobile phone to the PC. If the remote control application is an application that matches the mobile phone system, or an application installed by default in the mobile phone system, the user can also log in to the same account in the account login interface of the mobile phone, and then the remote control application installed in the mobile phone will also log in to the account by default. After the remote control application in the mobile phone is bound to the PC, the device name of the PC is displayed in the remote control device list in the remote control application. Moreover, the user can view the status of the PC in the remote control application of the mobile phone, and the status may include but is not limited to online status and offline status. Among them, the online status of the PC can indicate that the PC is in the power-on state, at which time the user can remotely access the PC; the offline status of the PC can indicate that the PC is in the power-off state or the sleep state, at which time the user cannot remotely access the PC. Exemplarily, in the remote control device list in the remote control application, the device status of the clickable PC name is online, and the device status of the unclickable PC name is offline. In response to the user clicking on the PC name or the access control corresponding to the PC in the remote control device list, the mobile phone sends a remote access request to the PC to establish a remote connection between the mobile phone and the PC, so that the user can remotely access and control the PC through the mobile phone.

[0092] like Figure 1aAs shown, a user at location B can use a mobile phone 200 to remotely control a PC 100 at location A. After the mobile phone 200 establishes a remote connection with the PC 100 through a remote control application, the PC 100 sends its UI (User Interface) interface data to the mobile phone 200, and the screen of the mobile phone 200 displays the UI interface of the PC 100. Then, the user performs related operations on the mobile phone 200 to realize remote control of the PC 100, just like actually controlling the PC 100.

[0093] Continue to refer to Figure 1b , the mobile phone 200 and the PC 100 complete the remote connection through the cloud server 300, wherein the cloud server 300 is the cloud server corresponding to the remote control application in the mobile phone 200. It should be pointed out that the PC 100 accesses the Wi-Fi (wireless fidelity) network of the router 400 and establishes a wireless connection (or wireless communication connection) with the cloud server 300. The router 400 is used to transparently transmit the interactive information between the mobile phone 200 and the PC 100 (or the router 400 is used to transparently transmit the interactive information between the cloud server 300 and the PC 100), including but not limited to remote control instructions, and the UI interface data flow of the PC 100.

[0094] Combination Figure 1a and Figure 1b After the mobile phone 200 completes the remote connection with the PC 100 through the remote control application, the UI interface of the PC 100 is displayed on the mobile phone 200. In response to the relevant operations performed by the user on the mobile phone 200 on the PC 100, the mobile phone 200 generates a remote control instruction and sends the remote control instruction to the cloud server 300. The cloud server 300 forwards the received remote control instruction to the PC 100 through the router 400. After receiving the remote control instruction, the PC 100 executes the remote operation instruction, and the UI interface of the PC 100 changes accordingly. The PC 100 feeds back its UI interface data to the mobile phone 200 in real time, so that the display interface on the mobile phone 200 changes accordingly, allowing the user to perceive the remote control of the PC 100.

[0095] When a user uses a mobile phone to remotely control a PC, if the PC enters sleep or hibernation mode, the user needs to remotely wake up the PC to continue remotely controlling the PC. When the PC enters sleep mode, the connection between the PC and the cloud server may be disconnected, and when the PC enters hibernation mode, the connection between the PC and the cloud server will inevitably be disconnected.

[0096] It should be pointed out that the dormant state can be understood as a deeper sleep state. If the computer is not operated for a long time, it will enter a dormant state or a sleep state. For example, after the computer enters the sleep state, the user can wake up the computer by shaking the mouse or tapping the keyboard, and after the computer enters the dormant state, the user needs to click the power button to wake up the computer. If the computer's motherboard supports mouse or keyboard wake-up, after the computer enters the dormant state, the user can also shake the mouse or tap the keyboard to wake up the computer, but the wake-up time is longer.

[0097] After the computer enters the hibernation state, all the data in the computer memory is stored in the hard disk. If the user wakes up the computer, the computer needs to restore all the data to the memory. The hibernation state of the computer is similar to the shutdown state. When the computer is in the hibernation state, the memory, CPU (Central Processing Unit), hard disk, etc. will no longer work, and all components are powered off. After the computer enters the sleep state, the data being processed by the computer is directly saved in the memory. The wake-up operation is relatively simple and does not involve data recovery. When the computer is in the sleep state, the computer only maintains power supply to the memory and stops powering other components. If the memory is accidentally powered off, data loss will result.

[0098] Therefore, from the perspective of power saving, the computer consumes very little power after hibernation, while the memory still needs to be supplied with power after the computer is in sleep mode; from the perspective of data security, after the computer is in sleep mode, the memory data will be transferred to the computer hard disk, and there is no need to worry about data loss due to power outages. After the computer is in sleep mode, the memory power supply will continue. If a power outage occurs, the data will be lost; in terms of wake-up speed, sleep wake-up is faster than hibernation wake-up.

[0099] In one implementation, a user can remotely wake up a sleeping PC through a router that the PC is connected to. In this implementation, the PC's wireless network card and motherboard need to support the Wake on Wireless LAN (WoWLAN) function, and the user can remotely control the router in a remote control application on a mobile phone. Figure 2a As shown, the user needs to enable the WoWLAN function of the wireless network card and the motherboard in the PC 100 in advance. Figure 2a, exemplarily, after PC 100 enters sleep mode, the user opens the management interface of router 400 in the remote control application of mobile phone 200, and clicks the relevant control in this interface to wake up PC 100. In response to the user's operation of waking up PC 100, the mobile phone sends a control instruction to wake up PC 100 to cloud server 300. After receiving the control instruction, cloud server 300 forwards the control instruction to router 400. Router 400 receives the control instruction to wake up PC 100 and parses the control instruction. After router 400 parses that the control instruction is used to instruct to wake up PC 100, router 400 sends a wake-up message to PC 100. After the wireless network card of PC 100 receives the wake-up message, it performs the operation of waking up PC 100 according to the wake-up message, so that PC 100 resumes normal working state. In this implementation, the router cannot be used to transparently transmit the control instruction, but needs to forward the control instruction after parsing the control instruction. That is, this implementation requires the router to support a private protocol, so that the router can parse the received control instructions according to the private protocol, and then forward the parsed message accordingly. Therefore, this implementation is highly dependent on the router and is not suitable for scenes where public routers are used, such as offices.

[0100] In another implementation, the user can remotely wake up the PC in sleep mode through an external wireless network card of the PC. In this implementation, the PC needs an external wireless network card, such as inserting a wireless network card into the USB (Universal Serial Bus) interface of the PC, and the user can remotely control the wireless network card in the remote control application in the mobile phone. Figure 2b As shown, users need to connect an external wireless network card to the PC in advance, and the PC must be preset to allow the external wireless network card to wake up. Figure 2b, after the PC 100 enters the sleep state, the user opens the management interface of the wireless network card 500 in the remote control application of the mobile phone 200, and clicks the relevant control in this interface to wake up the PC 100. In response to the user's operation of waking up the PC 100, the mobile phone sends a control instruction to wake up the PC 100 to the cloud server 300. After receiving the control instruction, the cloud server 300 forwards the control instruction to the router 400. After receiving the control instruction, the router 400 transparently transmits the control instruction to the wireless network card 500. After receiving the control instruction, the wireless network card 500 executes the operation of waking up the PC 100 to restore the PC 100 to a normal working state. In this implementation, the router can be used for transparent transmission of information, which can be applied to scenes such as offices using public routers, but because the built-in network card does not support the WoWLAN function, the user needs to configure an external wireless network card for the PC to wake up the PC 100 in the sleep state through the external wireless network.

[0101] However, in the above two implementations, whether it is a built-in network card that supports the WoWLAN function or an external network card, both can only work when powered on, that is, they can only wake up the PC when powered on. When the PC is in sleep mode, the built-in network card or the external network card is powered on. Once the PC is shut down or enters sleep mode, the built-in network card or the external network card will be powered off. Therefore, the above two implementations only support remote wakeup of a PC in sleep mode, and do not support remote wakeup of a PC in sleep mode or shutdown mode.

[0102] like Figure 3 As shown, when the PC is turned off or enters sleep mode, the Wi-Fi chip in the PC is powered off, and the connection between the Wi-Fi chip and the Wi-Fi network of the router 400 is disconnected, and the external communication is impossible. At this time, the user cannot remotely control the PC or remotely wake up the PC through the mobile phone. In addition, if an abnormality occurs during the operation of the PC, causing the Wi-Fi chip to operate abnormally, the connection between the Wi-Fi chip and the Wi-Fi network of the router 400 will also be disconnected, and the user cannot use the PC normally through the mobile phone.

[0103] In these application scenarios, if there is no one next to the PC to help the user perform relevant operations on the PC, such as turning on, waking up, shutting down, etc., the user can no longer use the PC remotely through the mobile phone. These are undoubtedly the pain points for users when using mobile phones to remotely control the PC.

[0104] In order to solve the pain point problem of users using mobile phones to remotely control PCs, an embodiment of the present application provides a remote control system. In the remote control system, when the PC is turned off, or enters a dormant or sleeping state, the user can remotely turn on or wake up the PC through an electronic device (such as a mobile phone, tablet computer, etc.). In this way, users can use electronic devices to remotely control the PC anytime and anywhere, just like carrying a PC with them.

[0105] In the embodiment of the present application, in addition to the existing main communication chip, the PC also includes a new auxiliary communication chip (or small communication chip). Among them, the main communication chip has Wi-Fi communication capability, and the auxiliary communication chip has Wi-Fi communication capability. Optionally, the main communication chip also has Bluetooth communication capability, and the auxiliary communication chip also has Bluetooth communication capability.

[0106] When the PC is in normal working state, the PC accesses the local Wi-Fi network through the main communication chip for external communication, so that the user can use electronic devices to remotely control the PC. When the PC is in abnormal working state, such as shutdown, hibernation, sleep, etc., the wireless communication connection of the main communication chip is disconnected, and the PC accesses the local Wi-Fi network through the auxiliary communication chip for external communication, so that the user can continue to use electronic devices to remotely control the PC.

[0107] like Figure 4a As shown, the PC may include a main communication chip, an auxiliary communication chip, an EC (Embed Controller) module, a power on / off control circuit and a battery.

[0108] Among them, the EC module is an important component of today's laptops, ultra-thin notebooks and embedded computer systems. EC is responsible for tasks such as the laptop's built-in keyboard, laptop battery intelligent charge and discharge management, and temperature monitoring. An efficient EC subsystem can greatly improve the power saving effect involved in energy saving, make the laptop more portable, and optimize the intelligent and personalized design of the laptop. In an embodiment of the present application, the EC module can be used to sense the state of the PC, and the state of the PC can be, for example, about to shut down, about to enter sleep state, about to enter hibernation state, in shutdown state, in sleep state, in hibernation state, etc., and the sensed state can be reported, for example, to the auxiliary communication chip.

[0109] In a PC, an external power supply or battery supplies power to the main communication chip and other modules through a first power supply circuit, and an external power supply or battery supplies power to the auxiliary communication chip and EC module through a second power supply circuit. Optionally, after the PC is shut down or enters hibernation or sleep mode, the battery supplies power to the auxiliary communication chip and EC module through a second power supply circuit, so that the auxiliary communication chip and EC module are in a powered-on state during the process of the PC being shut down or in hibernation or sleep. Optionally, the battery supplies power to the auxiliary communication chip and EC module through a second power supply circuit all the time, so that the auxiliary communication chip and EC module are in a powered-on state all the time. Among them, event interaction can be performed between the auxiliary communication chip and the EC module, and the EC module implements relevant control of the PC, such as power on, power off, wake up, etc., by setting relevant pins of the power on / off control circuit. Regarding other modules in the PC, such as the CPU, memory, display, etc., please refer to the existing technology and will not be repeated here.

[0110] In an optional embodiment, the battery powers the auxiliary communication chip through the second power supply circuit, and the battery powers the EC module through the third power supply circuit, so that the power supply status of the auxiliary communication chip and the EC module is independent of the first power supply circuit. Optionally, after the PC is shut down or enters hibernation or sleep mode, the battery powers the auxiliary communication chip through the second power supply circuit, so that the auxiliary communication chip is in a powered-on state during the process of the PC being shut down, hibernating or sleeping. Optionally, the battery always powers the auxiliary communication chip through the second power supply circuit, so that the auxiliary communication chip is always in a powered-on state. Optionally, after the PC is shut down or enters hibernation or sleep mode, the battery powers the EC module through the third power supply circuit, so that the EC module is in a powered-on state during the process of the PC being shut down, hibernating or sleeping. Optionally, the battery always powers the EC module through the third power supply circuit, so that the EC module is always in a powered-on state.

[0111] Continue to refer to Figure 4a, when the PC is in normal working state, the PC can access the Wi-Fi network of the router through the main communication chip, and then establish a wireless connection with the cloud server, so that the PC can establish a remote connection with the mobile phone through the cloud server. At this time, the user can use the mobile phone to remotely control the PC. In the PC, after the main communication chip is powered on, it will establish a wired communication link with the auxiliary communication chip, and synchronize the relevant information of accessing the network (or network configuration information) to the auxiliary communication chip, and the auxiliary communication chip saves the access information of accessing the network. Among them, the relevant information of accessing the network may include but is not limited to the SSID (Service Set Identifier) ​​and password of the Wi-Fi network, the URL (Uniform Resource Locator) address of the cloud server, the password for accessing the cloud server, the device identification (Device ID) information of the PC in the cloud server, etc.

[0112] After the auxiliary communication chip receives the relevant information about accessing the network synchronized by the main communication chip, the auxiliary communication chip saves this information so that when the main communication chip operates abnormally, it can automatically access the router's Wi-Fi network based on this information and establish a wireless connection with the cloud server. For example, after the PC is turned off, or after the PC enters a dormant or sleeping state, the wireless connection between the main communication chip and the cloud server is disconnected because the main communication chip is powered off. The auxiliary communication chip accesses the router's Wi-Fi network based on the pre-stored network configuration information, and then establishes a wireless connection with the cloud server.

[0113] It should be pointed out that since the network configuration information used by the main communication chip and the auxiliary communication chip to establish a wireless connection with the cloud server is the same, the wireless connection between the main communication chip and the cloud server and the wireless connection between the auxiliary communication chip and the cloud server will not exist at the same time.

[0114] After the main communication chip establishes a communication link with the auxiliary communication chip, the main communication chip will also periodically send a heartbeat packet to the auxiliary communication chip. After receiving the heartbeat packet from the main communication chip, the auxiliary communication chip replies with confirmation information to the main communication chip. In this way, the main communication chip and the auxiliary communication chip can confirm each other's status based on the heartbeat message. Among them, the auxiliary communication chip can determine whether the main communication chip is operating abnormally based on whether the heartbeat packet of the main communication chip is abnormal, and the main communication chip can determine whether the auxiliary communication chip is operating abnormally based on whether the confirmation information of the auxiliary communication chip for the heartbeat packet is abnormal. When the main communication chip sends a heartbeat packet to the auxiliary communication chip, and the confirmation information fed back by the auxiliary communication chip is not received within a timeout, the main communication chip determines that the auxiliary communication chip is operating abnormally, and the main communication chip controls the auxiliary communication chip to reset.

[0115] Reference Figure 4bWhen the PC is in an abnormal working state, such as shutdown, hibernation, sleep, etc., the wireless connection between the PC's main communication chip and the cloud server is disconnected, and the PC's auxiliary communication chip establishes a wireless connection with the cloud server. Among them, after the auxiliary communication chip of the PC determines that the wireless connection between the main communication chip and the cloud server is disconnected, it establishes a wireless connection with the cloud server according to the relevant information of the access network synchronized by the main communication chip. After the PC establishes a wireless connection with the cloud server through the auxiliary communication chip, the mobile phone can then establish a remote connection with the PC through the cloud server, and the user can continue to use the mobile phone to remotely control the PC.

[0116] Among them, after the auxiliary communication chip establishes a wireless connection with the cloud server, the auxiliary communication chip can periodically send messages to the cloud server, such as MQTT (Message Queuing Telemetry Transport) messages or other heartbeat messages, to keep the wireless communication link between the auxiliary communication chip and the cloud server alive. Among them, the power consumption of the PC when keeping the wireless communication link between the auxiliary communication chip and the cloud server alive is also low, for example, the power consumption does not exceed 5mW. In this way, since the auxiliary communication chip keeps the wireless communication link between it and the cloud server alive, the cloud server will not release the link resources allocated to the auxiliary communication chip, so that the wireless communication link between the auxiliary communication chip and the cloud server always remains unobstructed, which is convenient for users to send remote control instructions based on the wireless connection between the auxiliary communication chip and the cloud server at any time.

[0117] Exemplarily, when the auxiliary communication chip fails to receive the heartbeat packet from the main communication chip after the timeout, it determines that the main communication chip is operating abnormally and establishes a wireless connection with the cloud server. The auxiliary communication chip can start timing from the time when the heartbeat packet sent by the main communication chip was received last time to determine whether the heartbeat packet from the main communication chip is received after the timeout, which is not limited in this embodiment. Another exemplary embodiment, when the auxiliary communication chip determines that the PC is in an abnormal working state according to the information transmitted by the EC module, it determines that the main communication chip is operating abnormally and establishes a wireless connection with the cloud server.

[0118] In an optional implementation, when the PC is shut down or enters a sleep state, the primary communication chip sends a shutdown event or a sleep event to the secondary communication chip. When the secondary communication chip receives the shutdown event or the sleep event, it determines that the primary communication chip is operating abnormally and establishes a wireless connection with the cloud server.

[0119] In one example, if the auxiliary communication chip does not receive a shutdown event or a sleep event, and does not receive a heartbeat packet from the primary communication chip within a timeout period, the auxiliary communication chip determines that the primary communication chip is operating abnormally and establishes a wireless connection with the cloud server.

[0120] In another exemplary embodiment, if the auxiliary communication chip does not receive a shutdown event or a sleep event, and after the auxiliary communication chip sends an interaction request to the main communication chip, the timing starts. If no response information from the main communication chip is received within the time limit, or no response information from the main communication chip is received for multiple consecutive times (for example, 10 times), the auxiliary communication chip determines that the main communication chip is operating abnormally and establishes a wireless connection with the cloud server.

[0121] Continue to refer to Figure 4b In an embodiment of the present application, the battery of the PC supplies power to the main communication chip and other modules (such as CPU, display screen, etc.) through the first power supply circuit, and the battery of the PC supplies power to the auxiliary communication chip through the second power supply circuit. When the PC is in a shutdown state, or enters a dormant state or a sleep state, the battery of the PC stops supplying power to the main communication chip and other modules through the first power supply circuit, and the main communication chip operates abnormally. At this time, the battery of the PC can continue to supply power to the auxiliary communication chip through the second power supply circuit, and the auxiliary communication chip operates normally, and then the auxiliary communication chip establishes a wireless connection with the cloud server, so that the mobile phone can establish a remote connection with the PC through the cloud server.

[0122] The performance of the auxiliary communication chip is lower than that of the main communication chip, for example, the auxiliary communication chip has lower power consumption and lower communication bandwidth. In this way, when the main communication chip of the PC operates abnormally, the PC establishes a wireless connection with the cloud server through the auxiliary communication chip, and then the PC enters a low-power remote control mode.

[0123] When the PC establishes a wireless connection with the cloud server through the auxiliary communication chip, and the mobile phone establishes a remote connection with the PC through the cloud server, the user can perform relevant operations on the PC in the remote control application in the mobile phone (such as power on, wake up, power off, etc.). In response to the user's operation, the mobile phone sends a remote control instruction to the PC through the cloud server. After the auxiliary communication chip of the PC receives the remote control instruction, it controls the PC according to the remote control instruction. Among them, the auxiliary communication chip can perform relevant operations on the pins of the PC power on and off circuit through the EC module to achieve relevant control of the PC.

[0124] In this embodiment, if Figure 5a As shown, the auxiliary communication chip and the EC module can be connected through the IIC (Inter-Integrated Circuit) interface, and the auxiliary communication chip and the EC module can exchange information based on the IIC bus. Among them, the auxiliary communication chip can transmit remote control instructions to the EC module through the IIC bus, such as remote power-on instructions, remote wake-up instructions, etc.; the EC module can transmit PC status information to the auxiliary communication chip through the IIC bus, such as shutdown status, sleep status, hibernation status, etc.

[0125] After receiving the remote control command, the auxiliary communication chip sends the corresponding control command to the EC module through the IIC bus between the EC module and the EC module. The EC module controls the relevant pins of the power on / off control circuit according to the received control command to realize the remote control of the PC. For example, the EC module can pull up the relevant GPIO (General-Purpose Input Output) pins of the power on / off control module to realize the control operation of the PC, such as power on, power off, wake up, etc.

[0126] It should be noted that the encoding method of the remote control instruction received by the auxiliary communication chip and the control instruction sent by the auxiliary communication chip to the EC module may be the same or different, and this embodiment does not limit this. Exemplarily, when the auxiliary communication chip receives a remote wake-up instruction, the control instruction sent by the auxiliary communication chip to the EC module is used to instruct to wake up the PC.

[0127] In addition, the EC module can also detect the PC status and send the detected PC status to the auxiliary communication chip through the IIC bus, so as to report the PC status information to the mobile phone through the auxiliary communication chip. The status information may include shutdown status, dormant status, sleep status, etc.

[0128] Reference Figure 5b , the main communication chip and the auxiliary communication chip can basically be divided into three parts in terms of functional implementation, namely the wireless communication module, the wireless communication link establishment module and the remote control and business processing module. Among them, the wireless communication module is used to realize external communication, including but not limited to sending keep-alive information (such as MQTT messages) to the cloud server, receiving remote control instructions, sending remote control instructions to the remote control and business processing module, etc.; the wireless communication link establishment module is used to establish a wireless communication link between the communication chip and the cloud server. The remote control and business processing module is used to process the received remote control instructions to send corresponding control instructions to the EC module, and can also be used to establish a wired communication link between the main communication chip and the auxiliary communication chip, so that the main communication chip and the auxiliary communication chip can send heartbeat messages to each other based on the wired communication link.

[0129] In summary, when the PC is powered on, it can communicate with the outside world based on the wireless communication link (or wireless communication connection) established by the main communication chip. When the PC is powered off, in a dormant state, or in a sleeping state, it can communicate with the outside world based on the wireless communication link established by the auxiliary communication chip. In this way, when the PC state is switched, the wireless communication link of the PC will also switch accordingly.

[0130] During the PC startup process, that is, when the PC switches from sleep mode or shutdown mode to startup mode, the wireless communication link between the auxiliary communication chip and the cloud server is disconnected, and the wireless communication link between the main communication chip and the cloud server is established. If the wireless communication link between the auxiliary communication chip and the cloud server is disconnected first, and the wireless communication link between the main communication chip and the cloud server is established later, the wireless communication link of the PC will be disconnected, and users may also feel the disconnection of the wireless communication link of the PC in the mobile client.

[0131] During the process of shutting down, hibernating or sleeping the PC, that is, when the PC switches from the power-on state to the shutdown state, hibernation state or sleep state, the wireless communication link between the main communication chip and the cloud server is disconnected, and a wireless communication link is established between the auxiliary communication chip and the cloud server. Taking the PC shutdown as an example, the sequence of the main communication chip disconnecting the link and the auxiliary communication chip establishing the link is: the PC receives the shutdown command, the main communication chip disconnects the wireless communication link with the cloud server, and the auxiliary communication chip detects that the main communication chip has not responded to the heartbeat message for a period of time based on the heartbeat mechanism between the main communication chip and the main communication chip. The auxiliary communication chip determines that a shutdown event has occurred and then establishes a wireless communication link with the cloud server. That is, after the wireless communication link between the main communication chip and the cloud server is disconnected for a period of time, the auxiliary communication chip can detect the occurrence of the shutdown event and then establish a wireless communication link with the cloud server, resulting in a wireless link gap between the main communication chip disconnecting the link and the auxiliary communication chip establishing the link. At the same time, the user can also feel the PC offline in the mobile client. Moreover, the auxiliary communication chip of the PC may not accurately judge whether a PC shutdown event occurs based on the heartbeat mechanism. For example, when an abnormality occurs in the PC, the main communication chip may not reply a heartbeat message to the auxiliary communication chip.

[0132] During the PC restart process, the switching process of the PC's wireless communication link is as follows: the PC receives a restart command, and the wireless communication link between the main communication chip and the cloud server is disconnected due to the power failure of the main communication chip. The auxiliary communication chip detects that the main communication chip has not responded to the heartbeat message for a period of time based on the heartbeat mechanism between the main communication chip and the main communication chip. The auxiliary communication chip determines that a shutdown event has occurred, and then establishes a wireless communication link with the cloud server. Then the PC starts, the auxiliary communication chip disconnects the wireless communication link with the cloud server, and the main communication chip establishes a wireless communication link with the cloud server again. In this process, the main communication chip first disconnects the wireless communication link with the cloud server, and the auxiliary communication chip then establishes a wireless communication link with the cloud server. Subsequently, the auxiliary communication chip quickly disconnects the wireless communication link with the cloud server, and the main communication chip establishes a wireless communication link with the cloud server again, so that the PC's wireless communication link switches between the main communication chip and the auxiliary communication chip several times in a row. Excessive switching may cause users to feel frequent flash disconnections of the PC's wireless communication link on the mobile client, affecting the user's experience.

[0133] In order to solve the above problems, in the remote control method provided in the embodiment of the present application, the wireless communication link between the PC main communication chip and the cloud server, as well as the wireless communication link between the PC auxiliary communication chip and the cloud server, are flexibly switched based on the status of the PC, so as to shorten the offline time of the PC as much as possible, and even ensure that the switching of the PC wireless communication link achieves a seamless effect, so that the wireless communication link between the PC and the cloud server is in a long connection state as much as possible.

[0134] The remote control method provided in the embodiment of the present application is explained below through several application scenarios.

[0135] Scene 1

[0136] When the PC is turned on for the first time, the main communication chip of the PC connects to the Wi-Fi network of the router and establishes a wireless connection with the cloud server. When the PC is turned on, if the PC is turned off or enters a sleep or hibernation state, before the shutdown program or sleep program or hibernation program runs, the EC module notifies the auxiliary communication chip to establish a wireless communication connection with the cloud server, so that the auxiliary communication chip can establish the link much earlier, and try to ensure that the wireless communication link between the PC and the cloud server is in a long connection state.

[0137] Figure 6a An exemplary diagram of device interaction is shown. Figure 6a The process of the remote control method provided in this embodiment specifically includes:

[0138] S101, in response to the user's first power-on operation, the main communication chip of the PC is powered on, and the main communication chip establishes a wired communication link with the auxiliary communication chip.

[0139] The first power-on operation by the user may be, for example, an operation in which the user manually triggers a power-on button on the PC.

[0140] During the startup process of the PC, the main communication chip of the PC is powered on, and the main communication chip will establish a wired communication link with the auxiliary communication chip, so that the main communication chip and the auxiliary communication chip can exchange information based on the wired communication link.

[0141] S102, the main communication chip of the PC connects to the Wi-Fi network according to the network configuration information.

[0142] The network configuration information may include, but is not limited to, the SSID and password of the Wi-Fi network, the URL address of the cloud server, the password for accessing the cloud server, the device identification information of the PC in the cloud server, etc.

[0143] Among them, the main communication chip of the PC connects to the router's Wi-Fi network according to the SSID and password of the Wi-Fi network.

[0144] S103, the main communication chip of the PC establishes a wireless connection with the cloud server through the router.

[0145] After the main communication chip of the PC is connected to the Wi-Fi network of the router, a wireless connection can be established between the router and the cloud server.

[0146] Exemplarily, the main communication chip of the PC sends a wireless connection request for the cloud server to the router, and the wireless connection request includes but is not limited to the URL address of the cloud server, the password for accessing the cloud server, and the device identification information of the PC in the cloud server. After receiving the wireless connection request, the router sends the wireless connection request to the corresponding cloud server. After receiving the wireless connection request, the cloud server allocates a wireless communication link to the PC, and feeds back the request response information to the main chip of the PC through the router, so that a wireless connection is established between the main communication chip and the cloud server.

[0147] After a wireless connection is established between the main communication chip and the cloud server, the main communication chip and the cloud server can exchange information based on the wireless connection.

[0148] S104, the primary communication chip of the PC synchronizes network configuration information with the secondary communication chip.

[0149] Among them, the network configuration information synchronized from the PC's main communication chip to the auxiliary communication chip may include but is not limited to the SSID and password of the Wi-Fi network, the URL address of the cloud server, the password for accessing the cloud server, the device identification information of the PC in the cloud server, etc.

[0150] Regarding network configuration information, the main communication chip and the auxiliary communication chip of the PC will be synchronized in time through a wired communication link. When the PC is powered on, or when the PC is powered off, dormant, or asleep, the network configuration information may change. For example, the password to access the cloud server may expire and need to be updated. When the PC is powered on, the main communication chip obtains the latest network configuration information, and when the PC is powered off, dormant, or asleep, the auxiliary communication chip obtains the latest network configuration information. In this way, both the main communication chip and the auxiliary communication chip use the latest network configuration information to access the Wi-Fi network so that they can successfully establish a wireless connection with the cloud server.

[0151] When the PC is powered on, the PC establishes a wireless connection with the cloud server through the main communication chip. When the network configuration information is refreshed, the main communication chip will synchronize the latest network configuration information to the auxiliary communication chip. The auxiliary communication chip saves the latest network configuration information received so that the auxiliary communication chip can successfully access the network in one go.

[0152] Among them, during the process of the PC's main communication chip connecting to the router's Wi-Fi network and during the process of the PC's main communication chip establishing a wireless connection with the cloud server, if the network configuration information is refreshed, the PC's main communication chip will update the network configuration information it saves.

[0153] When the PC is in a shutdown state or a dormant state, the PC establishes a wireless connection with the cloud server through the auxiliary communication chip. When the network configuration information is refreshed, the auxiliary communication chip cannot synchronize the latest network configuration information to the auxiliary communication chip because the main communication chip is in a power-off state. After the PC is turned on or exits the dormant state, the main communication chip is powered on and a wired communication link is established with the auxiliary communication chip, and the main communication chip can actively query the auxiliary communication chip for the latest network configuration information. Exemplarily, if the main communication chip finds that the network configuration information stored in the auxiliary communication chip is different from the network configuration information stored in the main communication chip, and the refresh time of the network configuration information stored in the main communication chip is earlier than the refresh time of the network configuration information stored in the auxiliary communication chip, the main communication chip reads the network configuration information stored in the auxiliary communication chip and updates the network configuration information to the main communication chip. Exemplarily, if the main communication chip finds that the network configuration information stored in the auxiliary communication chip is the same as the network configuration information stored in the main communication chip, the main communication chip does not need to update the network configuration information it stores.

[0154] S105, the primary communication chip of the PC sends a heartbeat packet to the secondary communication chip.

[0155] S106, the auxiliary communication chip of the PC replies confirmation information to the main communication chip.

[0156] After the wired communication link between the main communication chip and the auxiliary communication chip of the PC is established, the main communication chip sends a heartbeat packet to the auxiliary communication chip, and the auxiliary communication chip replies with confirmation information (such as ACK information) to the main communication chip, so that the main communication chip and the auxiliary communication chip can know whether the other party's operating status is abnormal based on the heartbeat message.

[0157] In this embodiment, the auxiliary communication chip of the PC can also send a heartbeat packet to the main communication chip. After receiving the heartbeat packet, the main communication chip replies with confirmation information to the auxiliary communication chip, so that the main communication chip and the auxiliary communication chip can know whether the other party's operating status is abnormal based on the heartbeat message and the confirmation information of the heartbeat message.

[0158] Among them, S102 is executed after the main communication chip is powered on, and S104 and S105 are executed after a wired link connection is established between the main communication chip and the auxiliary communication chip. This embodiment does not limit the execution order of S102, S104 and S105.

[0159] S107, the PC startup process is completed and the PC is in the startup state.

[0160] In response to the user's power-on operation, each module of the PC (such as the CPU, display, etc.) is powered on, and the PC executes the power-on process. In addition to the above-mentioned process related to the main communication chip, the PC power-on process also includes the startup operation steps of other modules, such as the CPU startup process, until the PC is in the power-on state. For any part of the PC power-on process that is not fully explained in detail, please refer to the existing technology and will not be repeated here.

[0161] S108, in response to the user's operation of remotely accessing the PC, the mobile phone sends a remote access instruction to the cloud server.

[0162] On the premise that the mobile phone and PC are bound, if the PC is turned on and the main communication chip of the PC has established a wireless connection with the cloud server, the user can remotely control the PC through the mobile phone.

[0163] The remote access instruction is used to indicate that the user needs to access the UI interface of the PC on the mobile phone. The operation of the user accessing the PC is performed by the user in the remote control application in the mobile phone. The operation of the user remotely accessing the PC is different in different applications. For example, the operation of the user remotely accessing the PC can be the operation of the user clicking the name of the PC in the remote control device list, or the operation of the user clicking the access control corresponding to the PC.

[0164] S109, the cloud server sends a remote access instruction to the main communication chip of the PC through the router.

[0165] When the PC is turned on and operating normally, the PC establishes a wireless connection with the cloud server through the main communication chip. Therefore, after the cloud server receives the remote access command, the cloud server sends the remote access command to the router, and the router transmits the remote access command to the main communication chip of the PC.

[0166] S110, the main communication chip of the PC sends the real-time UI interface stream of the PC to the cloud server through the router.

[0167] Exemplarily, after receiving the remote access instruction, the main communication chip of the PC sends the remote access instruction to the CPU so that the CPU processes the remote access instruction. The CPU of the PC establishes a remote connection with the mobile phone based on the remote access instruction, and sends the real-time UI interface stream of the PC to the router through the main communication chip of the PC. After receiving the real-time UI interface stream of the PC, the router transparently transmits the real-time UI interface stream of the PC to the cloud server.

[0168] S111, the cloud server sends the real-time UI interface stream of the PC to the mobile phone.

[0169] After receiving the UI interface stream sent by the PC, the cloud server forwards the PC's UI interface stream to the mobile phone.

[0170] S112, the mobile phone displays the real-time UI interface of the PC.

[0171] After the mobile phone receives the PC's UI interface stream forwarded by the cloud server, the PC's UI interface is displayed in the remote control application, thereby realizing the user's remote access to the PC on the mobile phone.

[0172] S113, in response to the user's operation on the UI interface of the PC, the mobile phone sends a remote control instruction to the cloud server.

[0173] The operations performed on the PC UI interface by the user on the mobile phone may be any operations performed on the PC by the user using input devices such as a mouse or keyboard, such as viewing, typing, and the like.

[0174] The user performs relevant operations on the UI interface of the PC displayed on the mobile phone according to his needs. In response to the corresponding operations, the mobile phone sends remote control instructions to the cloud server. Among them, the remote operation instructions correspond to the user's operations one by one.

[0175] S114, the cloud server sends a remote control instruction to the main communication chip of the PC through the router.

[0176] After receiving the remote control command for the PC, the cloud server sends the remote control command to the router. The router transmits the remote control command to the PC main communication chip of the PC.

[0177] S115, the PC executes the remote control command, and the UI interface changes accordingly.

[0178] Exemplarily, after receiving the remote control instruction, the main communication chip of the PC sends the remote control instruction to the CPU so that the CPU processes the remote control instruction. In the process of the CPU of the PC executing the remote control instruction, the UI interface of the PC changes accordingly. Since the UI interface stream of the PC is sent to the cloud server in real time through the wireless connection between the main chip of the PC and the cloud server, so as to forward the UI interface stream of the PC to the mobile phone through the cloud server, the UI interface stream of the PC displayed on the mobile phone will also change accordingly, so that the user can perceive the remote control of the PC.

[0179] It should be pointed out that S108-S115 is a brief description of the process of a user using a mobile phone to remotely control a PC. For any parts not fully explained in detail, reference can be made to the existing technology and will not be repeated here.

[0180] S116, when the PC is powered on, in response to the user's shutdown operation, or the user's long-term inactivity causing the PC to enter a dormant or sleep state, the EC module detects that the PC's state is about to change and instructs the auxiliary communication chip to establish a wireless connection with the cloud server.

[0181] The manual shutdown operation by the user may be a shutdown operation performed by the user on the PC, or a remote shutdown operation performed on the PC UI interface displayed on the mobile phone.

[0182] Exemplarily, in response to a user's remote shutdown operation, the mobile phone sends a remote shutdown instruction to the cloud server. The user's remote shutdown operation, for example, can be an operation in which the user clicks on the remote shutdown control in the remote control application of the mobile phone. After receiving the remote shutdown instruction, the cloud server sends the remote shutdown instruction to the router. Since a wireless connection is established between the main communication chip of the PC and the cloud server when the PC is in the on state, the router transmits the remote shutdown instruction to the main communication chip of the PC. Furthermore, the main communication chip of the PC instructs the relevant modules of the PC (for example, it can be an EC module) to shut down the PC. Exemplarily, after the main communication chip of the PC receives the remote shutdown instruction, it sends a corresponding control instruction to the EC module. After receiving the control instruction, the EC module controls the pins of the PC power on / off circuit according to the control instruction to shut down the PC.

[0183] In an optional embodiment, when the user performs a remote operation on the mobile client, the mobile client can also verify the remote control command according to the current status information of the PC, and send the remote control command that has been successfully verified to the PC through the cloud server, and prohibit the remote control command that has failed to be verified from being sent to the PC. Exemplarily, if the current status information of the PC conflicts with the remote control command, the mobile client determines that the remote control command verification has failed, otherwise it determines that the remote control command verification has succeeded. For example, when the current status information of the PC is power on, if the remote operation performed by the user is remote power on (that is, the remote control command is a remote power on command), the current status information of the PC conflicts with the remote control command, and if the remote operation performed by the user is remote shutdown (that is, the remote control command is a remote shutdown command), the current status information of the PC does not conflict with the remote control command. For example, when the current status information of the PC is shutdown, if the remote operation performed by the user is remote shutdown or remote wake-up (that is, the remote control instruction is a remote power-on instruction or a remote wake-up instruction), the current status information of the PC conflicts with the remote control instruction. If the remote operation performed by the user is remote power-on (that is, the remote control instruction is a remote power-on instruction), the current status information of the PC does not conflict with the remote control instruction. Exemplarily, if the remote control instruction corresponding to the remote operation performed by the user conflicts with the current status information of the PC, the mobile client can pop up a prompt window, and the information in the prompt window can be used to indicate that the remote control instruction conflicts with the current status of the PC.

[0184] Exemplarily, the mobile client can also determine the controllable state of the remote control control according to the current state information of the PC. When the mobile client determines that the remote control instruction 1 does not conflict with the current state information of the PC, the controllable state of the remote operation control corresponding to the remote control instruction 1 is set to operable; when the mobile client determines that the remote control instruction 2 conflicts with the current state information of the PC, the controllable state of the remote operation control corresponding to the remote control instruction 2 is set to inoperable. In this way, the user can only select the remote operation control whose controllable state is operable, and try to avoid the problem of the remote control instruction conflicting with the current state information of the PC.

[0185] After the mobile client sends a remote control instruction to the PC through the cloud server, if the PC performs wireless communication with the cloud server based on the main communication chip, the main communication chip of the PC sends a corresponding control instruction to the EC module according to the received remote control instruction. If the PC performs wireless communication with the cloud server based on the auxiliary communication chip, the auxiliary communication chip of the PC sends a corresponding control instruction to the EC module according to the received remote control instruction. As an optional implementation, the EC module can also verify the corresponding control instruction according to the current state information of the PC. If the control instruction is successfully verified, the EC module controls the pins of the PC power on / off circuit according to the control instruction. If the control instruction fails to be verified, the EC module does not process it, or feedbacks the operation conflict indication information to the main communication chip or the auxiliary communication chip of the PC accordingly, so as to feedback the operation conflict information to the mobile client through the main communication chip or the auxiliary communication chip of the PC. Furthermore, when the client of the mobile phone receives the feedback operation conflict information, a prompt window can be popped up, and the information in the prompt window can be used to indicate that the remote control instruction conflicts with the current state of the PC.

[0186] In one case, if the PC fails to report the PC status to the mobile client due to an abnormal PC wireless link, so that the PC status information displayed by the mobile client cannot be successfully updated, the PC status information displayed by the mobile client may be inconsistent with the actual status information of the PC. In order to ensure that the PC status information displayed by the mobile client is consistent with the actual status information of the PC, this embodiment is based on the main communication chip and the auxiliary communication chip of the PC to jointly maintain the consistency of the PC status information displayed by the mobile client and the actual status information of the PC. Among them, when the PC is based on the wireless communication between the main communication chip and the cloud server, the main communication chip periodically obtains the status information of the PC and reports the status information of the PC to the mobile client through the cloud server; when the PC is based on the wireless communication between the auxiliary communication chip and the cloud server, the auxiliary communication chip periodically obtains the status information of the PC and reports the status information of the PC to the mobile client through the cloud server. In this way, the PC status information displayed by the mobile client is periodically updated, even if the PC fails to report the PC status to the mobile client due to an abnormal PC wireless link, it will not cause the PC status information displayed by the mobile client to be inconsistent with the actual status information of the PC for a long time.

[0187] In this embodiment, the EC module detects that the status of the PC is about to change, such as the PC is about to shut down, the PC is about to enter a dormant state or a sleep state, etc., then it instructs the auxiliary communication chip to establish a wireless connection with the cloud server before the shutdown program or the dormant program or the sleep program runs.

[0188] S117, the auxiliary communication chip of the PC connects to the Wi-Fi network of the router according to the network configuration information.

[0189] Among them, the auxiliary communication chip of the PC obtains the SSID and password of the Wi-Fi network from the network configuration information it saves, and connects to the Wi-Fi network of the router according to the SSID and password of the Wi-Fi network.

[0190] S118, the auxiliary communication chip of the PC establishes wireless communication with the cloud server through the router.

[0191] After the PC's auxiliary communication chip is connected to the router's Wi-Fi network, a wireless connection can be established between the router and the cloud server.

[0192] Exemplarily, the auxiliary communication chip of the PC sends a wireless connection request for the cloud server to the router, and the wireless connection request includes but is not limited to the URL address of the cloud server, the password for accessing the cloud server, and the device identification information of the PC in the cloud server. After receiving the wireless connection request, the router sends the wireless connection request to the corresponding cloud server. After receiving the wireless connection request, the cloud server allocates a wireless communication link to the PC, and feeds back the request response information to the auxiliary chip of the PC through the router, so that a wireless connection is established between the auxiliary communication chip and the cloud server.

[0193] After the wireless connection is established between the auxiliary communication chip and the cloud server, the auxiliary communication chip may also periodically send keep-alive messages (such as MQTT messages) or heartbeat messages to the cloud server to keep the wireless communication link between it and the cloud server alive.

[0194] S119, in response to the user's shutdown operation, or the user's long-term inactivity causing the PC to enter a dormant or sleeping state, the PC's main core communication chip is powered off, and the Wi-Fi connection with the router is disconnected.

[0195] When the PC is shutting down, or entering hibernation or sleep mode, the main communication chip is powered off, and the Wi-Fi connection between the main communication chip and the router is disconnected, and the wireless connection between the main communication chip and the cloud server is also disconnected.

[0196] It should be noted that, since the power supply circuits of the main communication chip and the auxiliary communication chip are different, the auxiliary communication chip will not be powered off during the process of shutting down the PC or after the PC enters a dormant state or a sleep state.

[0197] Among them, S116-S118 are executed by the PC in response to the user's shutdown operation, or the user has not operated the PC for a long time and the PC enters a dormant state or a sleep state. S119 is also executed by the PC in response to the user's shutdown operation, or the user has not operated the PC for a long time and the PC enters a dormant state or a sleep state. This embodiment does not limit the timing of S116-S118 and S119.

[0198] Because the EC module instructs the auxiliary communication chip to establish a wireless connection with the cloud server before the shutdown program, hibernation program or sleep program is run, instead of establishing a wireless connection between the auxiliary communication chip and the cloud server after the auxiliary communication chip detects an abnormality in the main communication chip based on the heartbeat mechanism, the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server is greatly advanced, and the wireless communication link between the PC and the cloud server is ensured to be in a long connection state as much as possible.

[0199] It should be pointed out that if the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server in advance is before the main communication chip is powered off, then since the network configuration information for establishing a wireless connection between the main communication chip of the PC and the cloud server is the same as the network configuration information for establishing a wireless connection between the auxiliary communication chip of the PC and the cloud server, after the wireless connection between the auxiliary communication chip of the PC and the cloud server is successfully established, the wireless connection between the main communication chip of the PC and the cloud server will be passively disconnected. In this way, the wireless connection between the auxiliary communication chip of the PC and the cloud server and the wireless connection between the main communication chip of the PC and the cloud server are seamlessly connected, and the wireless communication link between the PC and the cloud server will not be disconnected, and the user will not feel the state change of the PC wireless communication link in the mobile client. Even if the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server in advance is after the main communication chip is powered off, compared with the auxiliary communication chip establishing a wireless connection with the cloud server only after detecting an abnormality in the main communication chip, the way in which the auxiliary communication chip establishes a wireless communication link with the cloud server based on the instruction of the EC module will also greatly advance the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server, thereby ensuring that the wireless communication link between the PC and the cloud server is in a long connection state as much as possible.

[0200] S120, after the wireless communication connection is established between the auxiliary communication chip and the cloud server, the auxiliary communication chip queries the EC module for the PC status.

[0201] S121, when it is found that the PC is not completely shut down, the auxiliary communication chip sends a shutdown status of the PC to the cloud server through the router.

[0202] S122, the cloud server sends a message to the mobile phone indicating that the PC is shutting down.

[0203] S123, the mobile phone displays in the remote control application that the PC is in a shutdown state.

[0204] S124, when it is found that the PC is completely shut down, the auxiliary communication chip sends a message to the cloud server through the router that the PC is in a shut down state.

[0205] S125, the cloud server sends a message to the mobile phone indicating that the PC is in shutdown state.

[0206] S126, the mobile phone displays in the remote control application that the PC is in shutdown state.

[0207] In this way, after the wireless connection is established between the auxiliary communication chip and the cloud server, the auxiliary communication chip queries the EC module for the status of the PC. If the auxiliary communication chip finds that the PC is not completely shut down, it reports the status information of the PC being "shutdown" to the mobile client. When the EC module detects that the PC is completely shut down, it can send the status of the PC being shut down to the auxiliary communication chip, and then the auxiliary communication chip can report the status information of the PC being "shutdown" to the mobile client. At this time, the mobile client displays the PC status information refreshed from "shutting down" to "shutdown".

[0208] Similarly, the auxiliary communication chip queries the EC module for the status of the PC. If the auxiliary communication chip finds that the PC is not fully dormant, it reports the PC's "dormant" status information to the mobile client. When the EC module detects that the PC is fully dormant, it can send the PC's dormant status to the auxiliary communication chip, and then the auxiliary communication chip can report the PC's "dormant" status information to the mobile client. At this time, the mobile client displays the PC status information refreshed from "dormant" to "dormant".

[0209] Among them, whether the PC is completely shut down can be determined by whether the PC shutdown process is completed, or by whether the PC shutdown program is completed. When the PC shutdown program is not completed, the PC is not completely shut down; when the PC shutdown program is completed, the PC is completely shut down. Similarly, whether the PC is completely hibernated can also be determined by whether the PC hibernation process is completed, or by whether the PC hibernation program is completed.

[0210] like Figure 6b As shown, when the PC switches from the power-on state to the power-off state, the dormant state or the sleeping state, the auxiliary communication chip of the PC establishes a wireless connection with the cloud server, and the main communication chip of the PC disconnects the wireless connection with the cloud server. That is, when the PC is in the power-off state, the dormant state or the sleeping state, the auxiliary communication chip accesses the network for the PC to communicate wirelessly with the outside world, while the main communication chip can no longer communicate wirelessly with the outside world because it is powered off.

[0211] After the wireless connection is established between the auxiliary communication chip and the cloud server, the auxiliary communication chip can also report the PC status information to the mobile phone through the cloud server. The auxiliary communication chip sends the PC status information to the router, the router sends the PC status information to the cloud server, and then the cloud server can feed back the PC status information to the mobile phone.

[0212] In this embodiment, the auxiliary communication chip of the PC can obtain the PC status information based on the interaction information with the EC module, and send the PC status information to the cloud server. For example, when the EC module notifies the auxiliary communication chip through the IIC bus that the current PC status is "shutting down", the auxiliary communication chip sends the current PC status information "shutting down" to the cloud server. When the EC module notifies the auxiliary communication chip through the IIC bus that the current PC status is "shutting down", the auxiliary communication chip sends the current PC status information "shutting down" to the cloud server.

[0213] Exemplarily, the auxiliary communication chip of the PC can also obtain PC status information based on the event information sent by the main communication chip, and send the PC status information to the cloud server. For example, when the main communication chip sends a shutdown event to the auxiliary communication chip, the auxiliary communication chip determines that the current PC status information is a shutdown state; when the main communication chip sends a sleep event to the auxiliary communication chip, the auxiliary communication chip determines that the current PC status information is a sleep state.

[0214] Figure 6c The following is a schematic diagram showing an exemplary PC status report. Figure 6c When the PC is in shutdown state, hibernation state or sleep state, or when the PC is in shutdown state, hibernation state or sleep state, the PC communicates with the outside world through the auxiliary communication chip. The EC module sends the detected PC status information (such as shutdown state, hibernation state or sleep state, etc., or shutdown state, hibernation state or sleep state) to the auxiliary communication chip, and the auxiliary communication chip transmits the PC status information to the cloud server through the router. After receiving the PC status information, the cloud server forwards the PC status information to the mobile phone. The mobile phone displays the corresponding PC status information in the remote control application so that the user can understand the current PC status and determine whether to remotely control the PC according to their needs. In this way, the PC status information is reported to the mobile phone by the auxiliary communication chip of the PC, and the user can view the current PC status information in the remote control application in the mobile phone, such as shutdown status, "shutdown" status, etc.

[0215] For details not explained in detail in this scenario, please refer to the previous text and I will not repeat them here.

[0216] Scene 2

[0217] In this scenario, the PC switches from shutdown state, hibernation state or sleep state to power-on state, the wireless connection between the PC's auxiliary communication chip and the cloud server is disconnected, and the PC establishes a wireless connection with the cloud server through the main communication chip, so that the user can remotely control the PC through electronic devices such as mobile phones. In this switching scenario of the PC, the PC's auxiliary communication chip does not actively disconnect the wireless connection with the cloud server, but after the PC establishes a wireless connection with the cloud server through the main communication chip, the wireless connection between the PC's auxiliary communication chip and the cloud server is passively disconnected because the network configuration information used when the main communication chip and the auxiliary communication chip establish a wireless connection with the cloud server is the same.

[0218] Figure 7a An exemplary diagram of device interaction is shown. Figure 7a The process of the remote control method provided in this embodiment specifically includes:

[0219] S201, when the PC is turned off or in a dormant or sleeping state, the auxiliary communication chip of the PC keeps the wireless communication link between the PC and the cloud server active.

[0220] After the PC establishes a wireless connection with the cloud server through the auxiliary communication chip, the auxiliary communication chip can periodically send keep-alive messages (such as MQTT messages) or heartbeat messages to the cloud server to keep the wireless communication link between the auxiliary communication chip and the cloud server alive.

[0221] In this way, the cloud server will not release the wireless communication link corresponding to the auxiliary communication chip, so that the wireless communication link between the auxiliary communication chip and the cloud server is always unobstructed, so that users can use their mobile phones to remotely control the PC (remotely start or remote wake up) at any time.

[0222] S202, in response to the user turning on or waking up the PC, the main communication chip of the PC is powered on and establishes a wired communication link with the auxiliary communication chip.

[0223] The power-on operation mentioned in this step can be a remote power-on operation performed by the user on the mobile phone, or a power-on operation performed by the user on the PC by triggering the power button. Correspondingly, the wake-up operation mentioned in this step can be a remote wake-up operation performed by the user on the mobile phone, or a wake-up operation performed by the user on the PC by triggering the power button, keyboard, or mouse.

[0224] Exemplarily, in response to a user's remote power-on or remote wake-up operation, the mobile phone sends a remote power-on instruction or a remote wake-up instruction to the cloud server. After receiving the remote power-on instruction or the remote wake-up instruction, the cloud server sends the remote power-on instruction or the remote wake-up instruction to the router, and the router transmits the remote power-on instruction or the remote wake-up instruction to the auxiliary communication chip of the PC. Then, the auxiliary communication chip of the PC instructs the EC module to power on or wake up the PC. After receiving the remote power-on instruction or the remote wake-up instruction, the auxiliary communication chip of the PC sends a corresponding control instruction to the EC module. After receiving the control instruction, the EC module controls the pins of the PC power on / off circuit according to the control instruction, thereby realizing power-on control or wake-up control of the PC.

[0225] Among them, regarding the verification process of the user's remote power-on operation or remote wake-up operation, you can refer to scenario one and will not repeat it here.

[0226] Figure 7b The schematic diagram of a remote control PC is shown as an example. Figure 7b When the PC is in shutdown state, dormant state or sleeping state, the PC communicates with the outside world through the auxiliary communication chip. At this time, the user can remotely control the PC in the remote control application of the mobile phone, such as remote power on, remote wake-up, etc. In response to the user's remote control operation on the PC, such as clicking the remote power on control operation, clicking the remote wake-up control operation, the mobile phone sends the corresponding remote control instruction to the cloud server. After receiving the remote control instruction, the cloud server forwards the remote control instruction to the auxiliary communication chip of the PC through the router. After receiving the remote control instruction, the auxiliary communication chip of the PC sends the remote control instruction to the EC module, and controls the circuit pins through the EC module to achieve remote control of the PC.

[0227] Compared with the communication system implemented by the PC based on the main communication chip, the communication system implemented by the PC based on the auxiliary communication chip is an independent communication system. Even if the PC is turned off, dormant or sleeping, the PC can still communicate with the outside world based on the auxiliary communication chip. Moreover, the external communication of the PC based on the auxiliary communication chip does not rely on the local router. The router does not need to parse the interactive information between the PC and the cloud server. The interactive information between the PC and the cloud server can be transparently transmitted in the router, which is applicable to a wider range of scenarios, such as the scenario where the PC in the office is connected to the Internet based on a public router.

[0228] It should be pointed out that the information exchanged between the PC and the cloud server mentioned in this process and other processes, whether the PC sends information to the cloud server or the cloud server sends information to the PC, is transparently transmitted through the router, and this will no longer be emphasized separately in each step.

[0229] In this way, when the PC is in shutdown, hibernation or sleep mode, although the main communication chip of the PC cannot communicate externally due to power failure, the auxiliary communication chip of the PC can still access the network for external communication based on the power support of the PC battery. At this time, the PC can receive the user's remote power-on, remote wake-up and other commands through the external communication link based on the auxiliary communication chip, so that the user can remotely control the PC at any time to meet his usage needs.

[0230] S203, the primary communication chip of the PC sends a heartbeat packet to the secondary communication chip.

[0231] S204, the auxiliary communication chip of the PC replies confirmation information to the main communication chip.

[0232] S205, the main communication chip and the auxiliary communication chip of the PC synchronize network configuration information.

[0233] S206, the main communication chip of the PC connects to the Wi-Fi network according to the network configuration information.

[0234] The main communication chip of the PC connects to the router's Wi-Fi network based on the SSID and password of the Wi-Fi network.

[0235] The present embodiment does not limit the execution order of S203 , S205 , and S206 .

[0236] S207, the main communication chip of the PC establishes a wireless connection with the cloud server through the router.

[0237] After the main communication chip of the PC is powered on, the main communication chip of the PC is connected to the Wi-Fi network of the router, and then a wireless connection is established between the router and the cloud server based on the network configuration information.

[0238] S208, the auxiliary communication chip of the PC passively disconnects the wireless connection with the cloud server.

[0239] When the PC is turned on or awakened, the PC's auxiliary communication chip does not actively disconnect the wireless connection with the cloud server. Since the network configuration information for establishing a wireless connection between the PC's main communication chip and the cloud server is the same as the network configuration information for establishing a wireless connection between the PC's auxiliary communication chip and the cloud server, after the wireless connection between the PC's main communication chip and the cloud server is successfully established, the wireless connection between the PC's auxiliary communication chip and the cloud server will be disconnected, that is, the PC's auxiliary communication chip passively disconnects the wireless connection with the cloud server.

[0240] In this way, when the PC is turned on or awakened, the wireless connection between the PC's auxiliary communication chip and the cloud server, and the wireless connection between the PC's main communication chip and the cloud server are seamlessly connected, and the wireless communication link between the PC and the cloud server will not be disconnected, and the user will not feel the status change of the PC's wireless communication link in the mobile client.

[0241] After the auxiliary communication chip of the PC disconnects the wireless connection with the cloud server, if the auxiliary communication chip of the PC has a Bluetooth communication function, the auxiliary communication chip of the PC can also be used to implement other services, such as P2P (Peer-to-Peer) services, etc. In this way, when the PC is turned on and operating normally, its external communication relies on the main communication chip, and at this time the auxiliary communication chip can support the PC's P2P services.

[0242] S209, the main communication chip of the PC obtains PC status information.

[0243] S210, the main communication chip of the PC sends PC status information to the cloud server through the router.

[0244] S211, the cloud server sends PC status information to the mobile phone.

[0245] S212, the mobile phone refreshes and displays the PC status information.

[0246] After a wireless connection is successfully established between the PC's main communication chip and the cloud server, the PC's main communication chip can report the PC's status information (i.e., the power-on status) to the mobile client through the cloud server, and then the mobile client can refresh the PC's status information from the shutdown state or sleep state to the power-on state.

[0247] In addition, when the PC communicates wirelessly with the cloud server based on the main communication chip, the main communication chip periodically obtains the PC's status information and reports the PC's status information to the mobile client through the cloud server; when the PC communicates wirelessly with the cloud server based on the auxiliary communication chip, the auxiliary communication chip periodically obtains the PC's status information and reports the PC's status information to the mobile client through the cloud server. In this way, the PC status information displayed on the mobile client is periodically updated, and even if the PC fails to report the PC status to the mobile client due to an abnormal PC wireless link, it will not cause the PC status information displayed on the mobile client to be inconsistent with the actual PC status information for a long time.

[0248] Continue to refer to Figure 6bAs shown in the figure, when the PC switches from the shutdown state, the dormant state or the sleep state to the power-on state, the main communication chip of the PC establishes a wireless connection with the cloud server, and the wireless connection between the auxiliary communication chip of the PC and the cloud server is passively disconnected. That is, when the PC is in the normal working state of the power on state, the main communication chip is connected to the network for external wireless communication, and the auxiliary communication chip no longer performs external wireless communication.

[0249] In this way, when the PC is turned on, the wireless connection between the PC's auxiliary communication chip and the cloud server is passively disconnected, so that the PC can still communicate with the outside world based on the main communication chip, meeting the user's needs to remotely control the PC using mobile phones and other electronic devices without making too many modifications to the PC's existing logic.

[0250] For details not explained in detail in this scenario, please refer to the previous text and I will not repeat them here.

[0251] Scene 3

[0252] When the PC is powered on, the main communication chip of the PC connects to the router's Wi-Fi network and establishes a wireless connection with the cloud server. If the PC is restarted (referred to as restart), the EC module notifies the auxiliary communication chip to establish a wireless communication connection with the cloud server before the restart program runs, so that the time for the auxiliary communication chip to establish the link is greatly advanced, and the wireless communication link between the PC and the cloud server is kept in a long connection state as much as possible. After the PC is restarted, the auxiliary communication chip of the PC does not actively disconnect the wireless connection with the cloud server. Instead, after the PC establishes a wireless connection with the cloud server through the main communication chip, the wireless connection between the auxiliary communication chip of the PC and the cloud server is passively disconnected because the network configuration information used by the main communication chip and the auxiliary communication chip to establish a wireless connection with the cloud server is the same.

[0253] Figure 8 An exemplary diagram of device interaction is shown. Figure 8 The process of the remote control method provided in this embodiment specifically includes:

[0254] S301, when the PC is in the power-on state, the main communication chip of the PC maintains a wireless communication connection with the cloud server.

[0255] S302, in response to the user restarting the PC, the EC module detects that the state of the PC is about to change, and instructs the auxiliary communication chip to establish a wireless connection with the cloud server.

[0256] The PC restart operation mentioned in this step may be a remote restart operation performed by a user on a mobile phone, or may be a PC restart operation performed by a user on a PC.

[0257] Exemplarily, in response to the user's operation of remotely restarting the PC, the mobile phone sends a remote restart instruction to the cloud server. Among them, the user's operation of remotely restarting the PC can be, for example, the operation of the user clicking the remote restart control in the remote control application of the mobile phone. After receiving the remote restart instruction, the cloud server sends the remote restart instruction to the router. Since a wireless connection is established between the main communication chip of the PC and the cloud server when the PC is in the power-on state, the router transmits the remote restart instruction to the main communication chip of the PC. Furthermore, the main communication chip of the PC instructs the relevant modules of the PC (for example, it can be an EC module) to restart the PC. Exemplarily, after the main communication chip of the PC receives the remote restart instruction, it sends a corresponding control instruction to the EC module. After receiving the control instruction, the EC module controls the pins of the PC power on and off circuit according to the control instruction, thereby restarting the PC.

[0258] When the EC module detects that the status of the PC is about to change, for example, the PC is about to restart, it instructs the auxiliary communication chip to establish a wireless connection with the cloud server before the restart program runs.

[0259] S303, the auxiliary communication chip of the PC connects to the Wi-Fi network of the router according to the network configuration information.

[0260] Among them, the auxiliary communication chip of the PC obtains the SSID and password of the Wi-Fi network from the network configuration information it saves, and connects to the Wi-Fi network of the router according to the SSID and password of the Wi-Fi network.

[0261] S304, the auxiliary communication chip of the PC establishes wireless communication with the cloud server through the router.

[0262] After the PC's auxiliary communication chip is connected to the router's Wi-Fi network, a wireless connection can be established between the router and the cloud server.

[0263] Exemplarily, the auxiliary communication chip of the PC sends a wireless connection request for the cloud server to the router, and the wireless connection request includes but is not limited to the URL address of the cloud server, the password for accessing the cloud server, and the device identification information of the PC in the cloud server. After receiving the wireless connection request, the router sends the wireless connection request to the corresponding cloud server. After receiving the wireless connection request, the cloud server allocates a wireless communication link to the PC, and feeds back the request response information to the auxiliary chip of the PC through the router, so that a wireless connection is established between the auxiliary communication chip and the cloud server.

[0264] After the wireless connection is established between the auxiliary communication chip and the cloud server, the auxiliary communication chip may also periodically send keep-alive messages (such as MQTT messages) or heartbeat messages to the cloud server to keep the wireless communication link between it and the cloud server alive.

[0265] S305, in response to the user restarting the PC, the main core communication chip of the PC is powered off, and the Wi-Fi connection with the router is disconnected.

[0266] The PC restart process can be understood as a process of shutting down and then restarting. During the shutdown phase of the PC restart process, the PC's main core communication chip is powered off; during the startup phase of the PC restart process, the PC's main core communication chip is powered on again.

[0267] During the shutdown phase of the PC restart process, since the main communication chip is powered off, the Wi-Fi connection between the main communication chip and the router is disconnected, and the wireless connection between the main communication chip and the cloud server is also disconnected.

[0268] Among them, S302-S304 are executed by the PC in response to the user's operation of restarting the PC, and S305 is also executed by the PC in response to the user's operation of restarting the PC. This embodiment does not limit the timing of S302-S304 and S305.

[0269] Because the EC module instructs the auxiliary communication chip to establish a wireless connection with the cloud server before the restart program runs, instead of establishing a wireless connection between the auxiliary communication chip and the cloud server after the auxiliary communication chip detects an abnormality in the main communication chip based on the heartbeat mechanism, the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server is greatly advanced, and the wireless communication link between the PC and the cloud server is ensured to be in a long connection state as much as possible.

[0270] It should be pointed out that if the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server in advance is before the main communication chip is powered off, then since the network configuration information for establishing a wireless connection between the main communication chip of the PC and the cloud server is the same as the network configuration information for establishing a wireless connection between the auxiliary communication chip of the PC and the cloud server, after the wireless connection between the auxiliary communication chip of the PC and the cloud server is successfully established, the wireless connection between the main communication chip of the PC and the cloud server will be passively disconnected. In this way, the wireless connection between the auxiliary communication chip of the PC and the cloud server and the wireless connection between the main communication chip of the PC and the cloud server are seamlessly connected, and the wireless communication link between the PC and the cloud server will not be disconnected, and the user will not feel the state change of the PC wireless communication link in the mobile client. Even if the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server in advance is after the main communication chip is powered off, compared with the auxiliary communication chip establishing a wireless connection with the cloud server only after detecting an abnormality in the main communication chip, the way in which the auxiliary communication chip establishes a wireless communication link with the cloud server based on the instruction of the EC module will also greatly advance the time for establishing a wireless communication link between the auxiliary communication chip and the cloud server, thereby ensuring that the wireless communication link between the PC and the cloud server is in a long connection state as much as possible.

[0271] S306, after the wireless communication connection is established between the auxiliary communication chip and the cloud server, the auxiliary communication chip queries the EC module for the PC status.

[0272] S307, when it is found that the PC restart is unsuccessful, the auxiliary communication chip sends a PC restarting status to the cloud server through the router.

[0273] S308, the cloud server sends a message to the mobile phone indicating that the PC is restarting.

[0274] S309, the mobile phone displays in the remote control application that the PC is in a restarting state.

[0275] In this way, after the auxiliary communication chip establishes a wireless connection with the cloud server, the auxiliary communication chip queries the EC module for the PC status. If the auxiliary communication chip finds that the PC restart is unsuccessful, it reports the PC "restarting" status information to the mobile client. At this time, the mobile client displays the PC status information from "starting up or running normally" to "restarting".

[0276] Among them, whether the PC restart is successful can be determined by whether the PC restart process is completed, or by whether the PC restart program is completed. When the PC restart program is not completed, the PC restart is unsuccessful; when the PC restart program is completed, the PC restart is successful.

[0277] During the shutdown phase of the PC restart process, the auxiliary communication chip of the PC establishes a wireless connection with the cloud server, and the main communication chip of the PC disconnects the wireless connection with the cloud server due to being powered off. At this time, the auxiliary communication chip of the PC can obtain the PC status information based on the interaction information with the EC module, and send the PC status information to the cloud server. For example, when the EC module notifies the auxiliary communication chip through the IIC bus that the current PC status is "restarting", the auxiliary communication chip sends the current PC status information "restarting" to the cloud server. Furthermore, the mobile phone displays the corresponding PC status information in the remote control application so that the user can understand the current PC status.

[0278] S310, after the PC is restarted, the main communication chip of the PC is powered on, and a wired communication link is established with the auxiliary communication chip.

[0279] During the power-on phase of the PC restart process, the main communication chip of the PC is powered on, and then the main communication chip of the PC can establish a wireless communication connection with the cloud server.

[0280] S311, the main communication chip of the PC sends a heartbeat packet to the auxiliary communication chip.

[0281] S312, the auxiliary communication chip of the PC replies confirmation information to the main communication chip.

[0282] S313, the main communication chip and the auxiliary communication chip of the PC synchronize network configuration information.

[0283] S314, the main communication chip of the PC connects to the Wi-Fi network according to the network configuration information.

[0284] The present embodiment does not limit the execution order of S311 , S313 , and S314 .

[0285] S315, the main communication chip of the PC establishes a wireless connection with the cloud server through the router.

[0286] During the power-on phase of the PC restart process, after the main communication chip of the PC is powered on, the main communication chip of the PC is connected to the Wi-Fi network of the router, and then a wireless connection is established between the router and the cloud server based on the network configuration information.

[0287] S316, the auxiliary communication chip of the PC passively disconnects the wireless connection with the cloud server.

[0288] During the power-on phase of the PC restart process, the PC's auxiliary communication chip does not actively disconnect the wireless connection with the cloud server. Since the network configuration information for establishing a wireless connection between the PC's main communication chip and the cloud server is the same as the network configuration information for establishing a wireless connection between the PC's auxiliary communication chip and the cloud server, after the wireless connection between the PC's main communication chip and the cloud server is successfully established, the wireless connection between the PC's auxiliary communication chip and the cloud server will be disconnected, that is, the PC's auxiliary communication chip passively disconnects the wireless connection with the cloud server.

[0289] In this way, during the startup phase of the PC restart process, the wireless connection between the PC's auxiliary communication chip and the cloud server, and the wireless connection between the PC's main communication chip and the cloud server are seamlessly connected, and the wireless communication link between the PC and the cloud server will not be disconnected, and the user will not feel the status change of the PC wireless communication link in the mobile client.

[0290] Therefore, before the PC restart process runs, the EC module notifies the auxiliary communication chip in advance to establish a wireless connection with the cloud server, and tries to ensure that the wireless communication link between the PC and the cloud server is in a long connection state; after the PC restarts, the main communication chip uses the same network configuration information as the auxiliary communication chip to establish a wireless connection with the cloud server. After the wireless connection is successfully established, the wireless connection between the auxiliary communication chip and the cloud server will be passively disconnected, so that the wireless connection between the main communication chip of the PC and the cloud server, and the wireless connection between the auxiliary communication chip of the PC and the cloud server are seamlessly connected, and the wireless communication link between the PC and the cloud server will not be disconnected.

[0291] S317, the main communication chip of the PC obtains PC status information.

[0292] This embodiment does not limit the execution order of S316 and S317.

[0293] S318, the main communication chip of the PC sends the PC status information to the cloud server through the router.

[0294] S319, the cloud server sends PC status information to the mobile phone.

[0295] S320, the mobile phone refreshes and displays the PC status information.

[0296] After a wireless connection is successfully established between the PC's main communication chip and the cloud server, the PC's main communication chip can report the PC's status information (i.e., the power-on status) to the mobile client through the cloud server, and then the mobile client can refresh the PC's status information from the "restarting" state or sleep state to the power-on state.

[0297] During the PC restart process, the PC status information displayed on the mobile client can be switched from the "power on" state to the "restarting" state, and then to the "power on" state. In addition, during the PC restart process, the wireless connection between the PC and the cloud server is switched from the wireless connection between the PC's main communication chip and the cloud server to the wireless connection between the PC's auxiliary communication chip and the cloud server, and then back to the wireless connection between the PC's main communication chip and the cloud server. Although the PC's wireless communication link switches between the main communication chip and the auxiliary communication chip multiple times, the number of times the PC's wireless communication link is disconnected is reduced, which improves the user experience.

[0298] For details not explained in detail in this scenario, please refer to the previous text and I will not repeat them here.

[0299] As an optional implementation, the mobile client can display the power supply information of the PC in addition to the real-time status information of the PC, specifically, the real-time power supply information of the PC. The power supply information may include the power supply mode, the battery power, etc. When the power supply mode is battery power, the power supply information may also include the estimated usage time of the remaining battery power.

[0300] Exemplarily, the EC module can also detect information such as the power supply mode of the PC, the remaining battery power, and when the power supply mode is battery power, the EC module can also calculate the estimated usage time of the remaining battery power.

[0301] When the PC communicates wirelessly with the cloud server based on the main communication chip, for example, when the PC is turned on, the EC module can detect the power supply mode of the PC, the remaining battery power and other information in real time or periodically, and send the detected power supply information to the main communication chip of the PC. When the EC module detects that the power supply mode of the PC is battery-powered, it can also calculate the estimated usage time of the remaining battery power. The main communication chip of the PC can send the power supply information (such as the power supply mode of the PC, the remaining battery power, the estimated usage time of the remaining battery power when battery-powered, etc.) to the cloud server through the router, and the cloud server sends the power supply information of the PC to the client of the mobile phone. Furthermore, the current power supply mode of the PC, the remaining battery power and other information can be displayed on the client of the mobile phone, and when the battery is powered, the estimated usage time of the remaining battery power can also be displayed, so that the user can remotely know the power supply situation of the PC.

[0302] When the PC communicates wirelessly with the cloud server based on the auxiliary communication chip, for example, when the PC is in shutdown, dormant, or sleeping state, the EC module can detect the PC's power supply mode, remaining battery power, and other information in real time or periodically, and send the detected power supply information to the PC's auxiliary communication chip. When the EC module detects that the PC is powered by battery, it can also calculate the estimated usage time of the remaining battery power. The PC's auxiliary communication chip can send power supply information (such as the PC's power supply mode, remaining battery power, and estimated usage time of the remaining battery power when powered by battery) to the cloud server through a router, and the cloud server sends the PC's power supply information to the mobile phone's client. Furthermore, the mobile phone's client can display information such as the PC's current power supply mode, remaining battery power, and the estimated usage time of the remaining battery power when powered by battery, so that users can remotely learn about the PC's power supply status.

[0303] In the technical solution provided in the embodiment of the present application, the external communication of the PC based on the auxiliary communication chip is relatively independent of the operation of the entire PC, and its power supply is also independent of other components and is not affected by the operation of the entire PC system. Regardless of whether the PC is in the power-on state (normal operation or abnormal operation), dormant state, sleep state, or shutdown state, the communication system of the PC based on the auxiliary communication chip can operate independently. Among them, when the PC is in the power-on state and operates normally, the PC realizes external communication based on the main communication chip. At this time, the auxiliary communication chip can be used to implement P2P services, and when the PC is in other states, such as the power-on state and abnormal operation, dormant state, sleep state, and shutdown state, the PC can realize external communication based on the auxiliary communication chip. As a result, the PC can switch between the communication mode based on the main communication chip and the communication mode based on the auxiliary communication chip in a timely manner to cope with different application scenarios and meet the user's remote control needs for the PC.

[0304] In this way, no matter where the PC is or what the operating status of the PC is, as long as there is a communication network, the user can remotely control the PC anytime and anywhere, solving the pain points of users when remotely controlling the PC and truly realizing remote control of the PC by users.

[0305] In one example, Fig. 9 1 shows a schematic diagram of the structure of a PC. Optionally, the PC is a laptop computer, which is not limited in this application. It should be noted that the schematic diagram of the structure of the PC can be applied to the PC 100 in the accompanying drawings. It should be understood that Fig. 9 The PC shown is merely an example, and the PC may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. Fig. 9The various components shown in the drawings may be implemented in hardware, including one or more signal processing and / or application specific integrated circuits, software, or a combination of hardware and software.

[0306] The PC may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, a main communication chip 150, an auxiliary communication chip 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, an embedded controller 191, an indicator 192, a camera 193, a display screen 194, and a power on / off control circuit 195, etc. The sensor module 180 may include a pressure sensor, an acceleration sensor, a temperature sensor, a magnetic sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a touch sensor, etc.

[0307] The processor 110 may include one or more processing units, for example, the processor 110 may include a CPU, a graphics processing unit (GPU), an image signal processor (ISP), a memory, a video codec, a digital signal processor (DSP), and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0308] The wireless communication function of the PC can be implemented by the main communication chip 150 or the auxiliary communication chip 160. The main communication chip 150 and the auxiliary communication chip 160 can have Wi-Fi communication capability, and the main communication chip 150 and the auxiliary communication chip 160 can also have Bluetooth communication capability.

[0309] The power supply circuits of the main communication chip 150 and the auxiliary communication chip 160 are different. When the PC is turned off, in a dormant state or in a sleeping state, the main communication chip 150 is powered off, and the auxiliary communication chip 160 is powered by the battery 142 and remains powered on.

[0310] Among them, when the main communication chip 150 operates abnormally and the Wi-Fi connection between the main communication chip and the router is disconnected, the auxiliary communication chip connects to the Wi-Fi network of the router to establish a wireless connection with the cloud server through the router.

[0311] The PC realizes display functions through a GPU, a display screen 294, and a CPU.

[0312] It is understandable that, in order to implement the remote control method in the embodiment of the present application, the PC includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiment disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.

[0313] In another example, an embodiment of the present application further provides a device, which may include: a processor and a transceiver / transceiver pin, and optionally, a memory.

[0314] The various components of the device are coupled together through a bus, wherein the bus includes a power bus, a control bus and a status signal bus in addition to a data bus. However, for the sake of clarity, various buses are referred to as buses in the figure.

[0315] Optionally, the memory may be used to store instructions executed by the auxiliary communication chip in the above remote control method embodiment. The processor may be used to execute the instructions in the memory, and control the receiving pin to receive a signal, and control the sending pin to send a signal.

[0316] The device may be the auxiliary communication chip in the above-mentioned remote control method embodiment.

[0317] Among them, all relevant contents of each step involved in any of the above embodiments can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0318] This embodiment further provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the remote control method in the above-mentioned embodiment.

[0319] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the remote control method in the above-mentioned embodiment.

[0320] Among them, the electronic devices (such as mobile phones, tablets, PCs, cloud servers, etc.), computer storage media, computer program products or chips provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0321] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0322] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0323] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A remote control method, characterized in that: Applied to a personal computer PC, wherein the PC includes a first communication chip and a second communication chip; the method includes: When the PC is powered on and operating normally, a first wireless connection is established between the first communication chip and the server; wherein the first wireless connection is used for remote interaction between the electronic device and the PC, so that the user can use the electronic device to remotely control the PC; When it is detected that the PC is about to shut down, hibernate or sleep, before the corresponding shutdown program, hibernation program or sleep program is executed, a second wireless connection is established between the second communication chip and the server; When the shutdown program or the hibernation program or the sleep program is running, the first communication chip is powered off; after the first communication chip is powered off, the first wireless connection is disconnected; When the PC is in a shutdown, hibernation or sleep state, the second communication chip receives a remote control instruction sent by the electronic device based on the second wireless connection to change the state of the PC.

2. The method according to claim 1, characterized in that After the second communication chip receives the remote control instruction sent by the electronic device based on the second wireless connection, the method further includes: After the PC is turned on, or after the PC exits a dormant state or a sleep state, the first communication chip is powered on; After the first communication chip is powered on, a third wireless connection is established between the first communication chip and the server; When the third wireless connection is successfully established, the second wireless connection is disconnected; wherein the network configuration parameters corresponding to the third wireless connection and the second wireless connection are the same; The third wireless connection is used for remote interaction between the electronic device and the PC, so that the user can use the electronic device to remotely control the PC.

3. The method according to claim 1, characterized in that Also includes: When it is detected that the PC is about to restart, before the restart program is run, a fourth wireless connection is established between the second communication chip and the server; When the shutdown process in the restart procedure is executed, the first communication chip is powered off; after the first communication chip is powered off, the first wireless connection is disconnected; When the boot process in the restart program is running, the first communication chip is powered on; after the first communication chip is powered on, a fifth wireless connection is established between the first communication chip and the server; When the fifth wireless connection is successfully established, the fourth wireless connection is disconnected; wherein the network configuration parameters corresponding to the fifth wireless connection and the fourth wireless connection are the same; The fifth wireless connection is used for remote interaction between the electronic device and the PC, so that the user can remotely control the PC using the electronic device.

4. The method according to claim 1, characterized in that: After establishing a second wireless connection between the second communication chip and the server, the method further includes: The second communication chip obtains current status information of the PC; When the current status information of the PC indicates that the PC is not completely shut down, sending the first status information of the PC to the electronic device through the second wireless connection, so that the electronic device refreshes and displays the first status information of the PC; wherein the first status information is used to indicate that the PC is shutting down; When the current status information of the PC indicates that the PC has been completely shut down, sending the second status information of the PC to the electronic device through the second wireless connection, so that the electronic device refreshes and displays the second status information of the PC; wherein the second status information is used to indicate that the PC has been shut down; When the current status information of the PC indicates that the PC is not in full sleep mode, the third status information of the PC is sent to the electronic device through the second wireless connection, so that the electronic device refreshes and displays the third status information of the PC; wherein the third status information is used to indicate that the PC is in sleep mode; When the current status information of the PC indicates that the PC has completely fallen into sleep mode, the fourth status information of the PC is sent to the electronic device via the second wireless connection so that the electronic device refreshes and displays the fourth status information of the PC; wherein the fourth status information is used to indicate that the PC has fallen into sleep mode.

5. The method according to claim 3, characterized in that: After a fourth wireless connection is established between the second communication chip and the server, the method further includes: sending the fifth status information of the PC to the electronic device through the fourth wireless connection, so that the electronic device displays the fifth status information of the PC; wherein the fifth status information is used to indicate that the PC is restarting; After a fifth wireless connection is established between the first communication chip and the server, the method further includes: The sixth status information of the PC is sent to the electronic device via the fourth wireless connection, so that the electronic device displays the sixth status information of the PC; wherein the sixth status information is used to indicate that the PC is turned on.

6. The method according to any one of claims 1 to 5, characterized in that: Also includes: When the PC establishes a wireless connection with the server based on the first communication chip, the power supply mode and the remaining battery power of the PC are sent to the electronic device based on the wireless connection corresponding to the first communication chip, so that the electronic device displays the power supply mode and the remaining battery power of the PC; When the PC establishes a wireless connection with the server based on the second communication chip, the power supply mode and the remaining battery power of the PC are sent to the electronic device based on the wireless connection corresponding to the second communication chip, so that the electronic device displays the power supply mode and the remaining battery power of the PC.

7. The method according to claim 6, characterized in that Also includes: When the PC establishes a wireless connection with the server based on the first communication chip, if the PC is powered by a battery, based on the wireless connection corresponding to the first communication chip, an estimated usage time of the remaining battery power is also sent to the electronic device, so that the electronic device also displays the estimated usage time of the remaining battery power; When the PC establishes a wireless connection with the server based on the second communication chip, if the PC is powered by battery, the estimated usage time of the remaining battery power is also sent to the electronic device based on the wireless connection corresponding to the first communication chip, so that the electronic device also displays the estimated usage time of the remaining battery power.

8. The method according to any one of claims 1 to 5, characterized in that: Also includes: When the PC establishes a wireless connection with the server based on the first communication chip, periodically sends the status information of the PC to the electronic device based on the wireless connection corresponding to the first communication chip, so that the electronic device updates and displays the status information of the PC; When the PC establishes a wireless connection with the server based on the second communication chip, the PC status information is periodically sent to the electronic device based on the wireless connection corresponding to the second communication chip, so that the electronic device updates and displays the PC status information.

9. The method according to claim 8, characterized in that Also includes: When the PC establishes a wireless connection with the server based on the first communication chip, the PC receives a remote control instruction sent by the electronic device based on the wireless connection corresponding to the first communication chip; When the PC establishes a wireless connection with the server based on the second communication chip, receiving a remote control instruction sent by the electronic device based on the wireless connection corresponding to the second communication chip; The remote control instruction is generated based on a remote control operation performed by a user on the electronic device, and a result of the remote control operation being verified by the electronic device indicates that there is no conflict between the remote control operation and current status information of the PC.

10. The method according to any one of claims 1 to 9, characterized in that: The PC also includes an embedded controller; The method further comprises: The embedded controller monitors whether the PC is about to shut down, hibernate, sleep, or restart; When it is monitored that the PC is about to shut down, hibernate, sleep, or restart, before the corresponding shutdown program, hibernation program, sleep program, or restart program is run, the second communication chip is instructed to establish a wireless connection with the server, so that the second communication chip establishes a wireless connection with the server according to the instruction of the embedded controller.

11. The method according to claim 10, characterized in that When the PC is in a shutdown, hibernation or sleep state, the second communication chip receives a remote control instruction sent by the electronic device based on the second wireless connection to change the state of the PC, including: When the PC is in a shutdown, hibernation or sleep state, the second communication chip receives a remote control instruction sent by the electronic device based on the second wireless connection, and sends a corresponding control instruction to the embedded controller according to the remote control instruction; The embedded controller controls related circuit pins according to the control instruction to change the state of the PC.

12. The method according to any one of claims 1 to 11, characterized in that: The power consumption of the second communication chip is lower than the power consumption of the first communication chip.

13. The method according to any one of claims 1 to 12, characterized in that: The first communication chip and the second communication chip both have Wi-Fi communication capabilities, and the first wireless connection and the second wireless connection are both Wi-Fi wireless connections.

14. The method according to any one of claims 1 to 13, characterized in that: After establishing a second wireless connection between the second communication chip and the server, the method further includes: The second communication chip periodically sends a message to the server to keep the communication link of the second wireless connection alive.

15. The method according to any one of claims 1 to 14, characterized in that: The method may further include one or more of the following: When the PC is shut down, in hibernation or in sleep mode, the second communication chip is powered on; or The second communication chip is always in a powered-on state; or, During the process of shutting down, hibernating or sleeping the PC, the embedded controller included in the PC is in a powered-on state; or, The embedded controller is always in a powered-on state.

16. A personal computer PC, characterized in that: It includes a first communication chip, a second communication chip and an embedded controller; Wherein, the PC executes the remote control method as described in any one of claims 1-15.

17. A chip system, characterized in that: Applied in a personal computer PC, the chip system includes instructions and at least one processor, and the at least one processor runs the instructions to enable the PC to execute the remote control method as described in any one of claims 1-15.

18. A personal computer PC, characterized in that: include: One or more processors; a first communication chip and a second communication chip; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the PC executes the remote control method as described in any one of claims 1-15 through the first communication chip and the second communication chip.

19. The PC according to claim 18, wherein: The PC further includes an embedded controller, the embedded controller being used to receive a control instruction sent by the second communication chip and control the PC according to the control instruction; The embedded controller is also used to monitor whether the PC is about to shut down, hibernate, sleep, or restart, and when it is monitored that the PC is about to shut down, hibernate, sleep, or restart, before the corresponding shutdown program, hibernation program, sleep program, or restart program is run, instruct the second communication chip to establish a wireless connection with the server.

20. A computer-readable storage medium comprising a computer program, characterized in that: When the computer program runs on an electronic device, the electronic device is enabled to execute the remote control method according to any one of claims 1 to 15.