Remote control method, PC, chip system, and storage medium
By using the combination of the first and second communication chips in the PC, the problem of being unable to be remotely controlled when the PC is turned off or in sleep state is solved, and the function of remotely controlling the PC in any state is realized, improving the user experience.
Patent Information
- Application Number
- PCT/CN2023/133751
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2023-11-23
- Publication Date
- 2024-10-31
AI Technical Summary
Existing technology cannot realize remote control when the PC is shut down or in a dormant state, resulting in poor user experience.
A combination of a first communication chip and a second communication chip is used. The first communication chip is used in normal operation state. The second communication chip continues to provide power in shutdown or sleep state. The second communication chip establishes a wireless connection with the server to receive remote control instructions. , change the status of the PC.
It enables remote control of the PC even when the PC is shut down or in sleep mode, improving the convenience of users to control the PC anytime and anywhere.
Smart Images

Figure CN2023133751_31102024_PF_FP_ABST
Abstract
Description
Remote control method, PC, chip system and storage medium
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 28, 2023, with application number 202310487480.8 and application name “Remote Control Method, PC, Chip System and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] 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
[0003] With the advancement of technology, the Internet has become an indispensable part of people's lives. Once a PC is powered on and operating normally, users can remotely control it through smart devices such as smartphones, tablets, and personal computers (PCs). This allows users to remotely operate their PCs anytime, anywhere, bringing numerous conveniences to people's work and daily lives.
[0004] 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.
[0005] Summary of the Invention
[0006] The present invention 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, so that a user can remotely control the PC using a terminal device even when the PC is powered off, in a dormant state, or in a sleep state.
[0007] In a first aspect, an embodiment of the present application provides a remote control method. The method is applied to a PC, which includes a first communication chip and a second communication chip. The method includes:
[0008] 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 remotely control the PC using the electronic device; when the PC is shut down, hibernating or sleeping, the first communication chip is powered off; after the first communication chip is powered off, the first wireless connection is disconnected, and a second wireless connection is established between the second communication chip and the server; when the PC is powered off, hibernating or sleeping, the second communication chip receives remote control sent by the electronic device based on the second wireless connection to change the state of the PC.
[0009] Exemplarily, the server may be a cloud server.
[0010] For example, the electronic device may be a mobile phone, a tablet computer, a PC, etc.
[0011] The first communication chip is the PC's primary communication chip, while the second communication chip is a secondary communication chip added to the primary chip. The two have different power supply circuits. When the PC is shut down or enters hibernation or sleep mode, the first communication chip is powered down, while the second communication chip remains powered and continues to be powered by the PC's battery.
[0012] When the PC is powered on and operating normally, it communicates externally using the first communication chip. However, when the PC is powered off or in hibernation or sleep mode, the first communication chip is powered off, and the PC communicates externally using the second communication chip. Thus, while the PC is communicating externally using the second communication chip, the user can use an electronic device to send remote control commands to the PC to change its state. This allows users to remotely control the PC even when it is powered off or in hibernation or sleep mode, as long as there is a communication network, enabling remote control of the PC anytime, anywhere.
[0013] 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 not only 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 can also be used to transmit UI interface data streams 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 UI interface data streams sent by the PC to the electronic device.
[0014] 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 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.
[0015] According to the first aspect, when the PC is in a shutdown, hibernation, or sleep state, the second communication chip receives a remote control signal sent by the electronic device based on the second wireless connection to change the state of the PC, which may include:
[0016] 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 exit the dormant state or sleep state.
[0017] 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 remotely wake up the PC even if it is in dormant or sleeping mode, allowing users to remotely control the PC anytime and anywhere.
[0018] According to the first aspect, or any implementation of the first aspect above, the PC further includes an embedded controller. In this method, the second communication chip receives a remote power-on command sent by the electronic device via the second wireless connection to power on the PC. This method may include: the second communication chip receives the remote power-on command sent by the electronic device via the second wireless connection, sends a first control command to the embedded controller, the first control command being used to instruct the PC to power on, and the embedded controller controlling relevant circuit pins according to the first control command to power on the PC.
[0019] In this 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 the 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.
[0020] 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 another form of instruction for instructing 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 another form of instruction for instructing remote wake-up.
[0021] According to the first aspect, or any implementation of the first aspect above, 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, and the second wireless connection is disconnected; wherein 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.
[0022] In this way, 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 established 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.
[0023] According to the first aspect, or any implementation of the first aspect above, the method also includes: when the PC is in the power-on state, the second communication chip detects that the first communication chip is operating abnormally, and a fourth wireless connection is established between the second communication chip and the server; the second communication chip receives a remote shutdown command sent by the electronic device based on the fourth wireless connection, and sends a third control command to the embedded controller, the third control command is used to instruct to shut down the PC, and the embedded controller controls the relevant circuit pins according to the third control command to shut down the PC.
[0024] When the PC is powered on, if the second communication chip detects that the first communication chip is operating abnormally, the PC establishes a wireless connection with the server based on the second communication chip, so that the user can remotely control the PC to shut down.
[0025] It should be noted that the encoding methods of the third control instruction and the remote shutdown instruction may be the same or different, that is, the third control instruction may be a remote shutdown instruction or other forms of instructions for instructing remote shutdown.
[0026] According to the first aspect, or any implementation of the first aspect above, the method also includes: the PC receives a remote shutdown command based on the first wireless connection and executes the shutdown process; after a set time period, the embedded controller sends the status information of the PC to the second communication chip; wherein the status information of the PC is a non-shutdown state; the second communication chip sends the status information of the PC to the electronic device based on the second wireless connection.
[0027] In one scenario, a user uses an electronic device to remotely control a PC to shut down. After the PC receives the remote shutdown command based on the first wireless connection, it executes the shutdown process. In this case, the shutdown may fail. In this embodiment, from the moment the PC receives the remote shutdown command, or from the moment the PC starts the shutdown process, the embedded controller can detect the PC's status information (shutdown state or non-shutdown state) after a set period of time, and send the PC's status information to the electronic device via the wireless connection established by the second communication chip.
[0028] In this way, if the user finds that the status of the PC in the electronic device is not the shutdown state, it can be understood that an abnormality has occurred in the PC shutdown and the PC shutdown has not been successful.
[0029] According to the first aspect, or any implementation of the first aspect above, before establishing a third wireless connection between the first communication chip and the server, the method also includes: the first communication chip establishes a wired communication link with the second communication chip; 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.
[0030] 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.
[0031] In this way, the first and second communication chips of the PC synchronize network configuration information in a timely manner via a wired communication link. Network configuration information may change while the PC is powered on, powered off, in dormant, or in sleep mode. For example, a password for accessing a server may expire and require updating. The first communication chip obtains the latest network configuration information when the PC is powered on, while the second communication chip obtains the latest network configuration information when the PC is powered off, in dormant, or in sleep mode.
[0032] According to the first aspect, or any implementation of the first aspect above, the method further includes: when the network configuration information is updated, the first communication chip sends the updated network configuration information to the second communication chip.
[0033] According to the first aspect, or any implementation of the first aspect above, the method further includes: the first communication chip sends a heartbeat message to the second communication chip based on the wired communication link; wherein the heartbeat message is used by the second communication chip to know whether the first communication chip is operating abnormally.
[0034] The heartbeat message can also be used by the first communication chip to know whether the second communication chip is operating abnormally. When the second communication chip is operating abnormally, the first communication chip can also reset the second communication chip.
[0035] 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.
[0036] The second communication chip has lower performance than the first communication chip, for example, lower power consumption and lower communication bandwidth. Thus, when the first communication chip of the PC malfunctions, the PC establishes a wireless connection with the server through the second communication chip, and the PC enters a low-power remote control mode.
[0037] According to the first aspect, or any implementation 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.
[0038] 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.
[0039] According to the first aspect, or any implementation of the first aspect above, after establishing the second wireless connection between the second communication chip and the server, the method further includes: the second communication chip periodically sending messages to the server to keep the communication link of the second wireless connection alive.
[0040] 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.
[0041] According to the first aspect, or any implementation of the first aspect above, the method further includes one or more of the following:
[0042] When the PC is shut down, in hibernation, or in sleep mode, the second communication chip is powered on; or
[0043] The second communication chip is always in a powered-on state; or,
[0044] The embedded controller is powered on while the PC is shut down, in hibernation, or in sleep mode; or
[0045] The embedded controller is always powered on.
[0046] Since the second communication chip is powered on when the PC is shut down, in hibernation, or in sleep mode, 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, making it possible for the user to remotely control the PC anytime and anywhere.
[0047] 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.
[0048] 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 be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.
[0049] In a third aspect, embodiments of the present application provide a chip system for use in a personal computer (PC), the chip system comprising instructions and at least one processor, wherein the at least one processor executes the instructions to cause the PC to execute the remote control method according to the first aspect and any one of the first aspects. The chip system may include the second communication chip described above, and may also include the first communication chip.
[0050] 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 be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.
[0051] In a fourth aspect, embodiments of the present application provide 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. 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.
[0052] According to a fourth aspect, the PC further includes an embedded controller, which is configured to receive a control instruction sent by the second communication chip and control the PC according to the control instruction.
[0053] 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 be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here.
[0054] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium comprising a computer program, which, when executed on an electronic device, causes the electronic device to execute the remote control method according to the first aspect and any one of the first aspects.
[0055] 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 be referred to the technical effects corresponding to the first aspect and any implementation of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] FIG1a is a schematic diagram of an exemplary application scenario;
[0057] FIG1b is a schematic diagram showing an example of interaction when remotely controlling a PC;
[0058] FIG2a is a schematic diagram illustrating an exemplary method of remotely waking up a PC in a sleep state;
[0059] FIG2 b is a schematic diagram illustrating an exemplary method of remotely waking up a PC in a sleep state;
[0060] FIG3 is a schematic diagram showing an exemplary problem of remotely controlling a PC;
[0061] FIG4a is a schematic diagram illustrating a system structure involved in a remote control method provided in an embodiment of the present application;
[0062] FIG4 b is a schematic diagram illustrating an exemplary remote control method provided in an embodiment of the present application;
[0063] FIG5a is a schematic diagram illustrating exemplary information interaction between the auxiliary communication chip and the embedded controller;
[0064] FIG5 b is a schematic diagram showing the module structure of the primary communication chip and the secondary communication chip;
[0065] FIG6 a is a schematic flow chart illustrating an exemplary remote control method according to an embodiment of the present application;
[0066] FIG6 b is a schematic diagram showing an exemplary embodiment of a PC performing wireless connection switching between dual communication chips;
[0067] FIG6 c is a schematic diagram showing an exemplary method of a PC reporting PC status information based on a secondary communication chip;
[0068] FIG6 d is a schematic diagram showing an exemplary embodiment of a PC receiving a remote control instruction based on a secondary communication chip;
[0069] FIG7 is a schematic flow chart illustrating an exemplary remote control method according to an embodiment of the present application;
[0070] FIG8 is a schematic diagram illustrating a flow chart of a remote control method provided in an embodiment of the present application;
[0071] FIG9 is a schematic diagram showing an exemplary hardware structure of a PC. DETAILED DESCRIPTION
[0072] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0073] The term "and / or" in this article is merely a description of the association relationship between 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.
[0074] In the description and claims of the embodiments of this application, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. For example, the terms "first target object" and "second target object" are used to distinguish different objects, rather than to describe a specific order of objects.
[0075] In the embodiments of this 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 this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0076] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.
[0077] With the advancement of technology, the internet has become an integral part of people's lives. Smart devices such as smartphones, tablets, and PCs can remotely control other PCs (or computers, such as laptops and desktops) over the internet, allowing users to remotely operate their PCs anytime, anywhere, bringing numerous conveniences to people's work and daily lives. This makes it possible to remotely control PCs using these smart devices, solving problems like forgetting to turn off the PC, forgetting to copy important files from a business trip, or having company leaders need files from the PC.
[0078] 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.
[0079] The method for establishing a remote connection between a mobile phone and a PC is related to how the remote control application in the mobile phone is used, and is not limited to this in this embodiment. For example, a user logs in to the same account in the mobile phone's remote control application and on the PC to bind the mobile phone's remote control application to the PC. If the remote control application is compatible with the mobile phone's system or is installed by default, the user can also log in to the same account in the mobile phone's account login interface, and the remote control application installed on the mobile phone will also be logged in to that account by default. After the mobile phone's remote control application and the PC are bound, the PC's device name will be displayed in the remote control device list in the remote control application. Furthermore, the user can view the PC's status in the mobile phone's remote control application, which may include but is not limited to online and offline status. The online status of a PC may indicate that the PC is powered on, allowing the user to remotely access the PC. The offline status of a PC may indicate that the PC is powered off or in sleep mode, preventing the user from remotely accessing the PC. For example, in the remote control device list in the remote control application, a device with a clickable PC name is online, while a device with an 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.
[0080] As shown in Figure 1a, a user at location B can use a mobile phone 200 to remotely control a PC 100 at location A. After a remote connection is established between mobile phone 200 and PC 100 via a remote control application, PC 100 sends its user interface (UI) data to mobile phone 200, which then displays the PC 100 UI on the screen. The user can then perform operations on mobile phone 200 to remotely control PC 100, just as if they were actually controlling the PC 100.
[0081] Continuing with FIG1b , mobile phone 200 and PC 100 establish a remote connection via cloud server 300, where cloud server 300 is the cloud server corresponding to the remote control application in mobile phone 200. It should be noted that PC 100 accesses the Wi-Fi (wireless fidelity) network of router 400 and establishes a wireless connection with cloud server 300. Router 400 is used to transparently transmit interactive information between mobile phone 200 and PC 100 (or router 400 is used to transparently transmit interactive information between cloud server 300 and PC 100), including but not limited to remote control commands and PC 100 UI interface data stream.
[0082] 1a and 1b , after mobile phone 200 establishes a remote connection with PC 100 via a remote control application, the UI of PC 100 is displayed on mobile phone 200. In response to the user's actions on PC 100 performed on mobile phone 200, mobile phone 200 generates remote control commands and sends them to cloud server 300. Cloud server 300 then forwards the received remote control commands to PC 100 via router 400. After receiving the remote control commands, PC 100 executes them, causing the UI of PC 100 to change accordingly. PC 100 then feeds this UI data back to mobile phone 200 in real time, causing the display on mobile phone 200 to change accordingly, allowing the user to perceive their remote control of PC 100.
[0083] If a user is using a mobile phone to remotely control a PC and the PC goes into sleep or hibernation, the user needs to remotely wake the PC to continue remote control. If the PC goes into sleep, the connection between the PC and the cloud server may be disconnected, and if the PC goes into hibernation, the connection between the PC and the cloud server will be disconnected.
[0084] It should be noted that the hibernation state can be understood as a deeper sleep state. If a computer is not used for a long period of time, it will enter a hibernation state or 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. However, after the computer enters the hibernation state, the user needs to click the power button to wake up the computer. If the computer motherboard supports mouse or keyboard wakeup, the user can also shake the mouse or tap the keyboard to wake up the computer after entering the hibernation state, but the wakeup time will be longer.
[0085] Since all the data in the computer's memory is stored in the hard disk after the computer enters hibernation, if the user wakes up the computer, the computer needs to restore all the data to the memory. The hibernation state of a computer is similar to the shutdown state. When the computer is in hibernation, the memory, CPU (Central Processing Unit), hard disk, etc. will no longer work, and all components are powered off. After the computer enters sleep mode, 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 sleep mode, the computer only maintains power to the memory and stops powering other components. If the memory is accidentally powered off, data loss will result.
[0086] Therefore, from the perspective of power saving, the computer consumes very little power after hibernation, while the computer still needs to supply the power required by the memory after hibernation; from the perspective of data security, after the computer hibernates, the memory data will be transferred to the computer hard disk, and there is no need to worry about power outages causing data loss. After the computer sleeps, 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.
[0087] In one implementation, a user can remotely wake up a sleeping PC through a router connected to the PC. 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 using the remote control application on the mobile phone. As shown in Figure 2a, the user needs to pre-enable the WoWLAN function of the wireless network card and motherboard in PC 100. Continuing with Figure 2a, illustratively, after PC 100 enters sleep mode, the user opens the management interface of router 400 in the remote control application on mobile phone 200 and clicks on the relevant control in this interface to wake up PC 100. In response to the user's operation to wake 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 it. After the router 400 parses the control instruction to wake up the PC 100, the router 400 sends a wake-up message to the PC 100. After the wireless network card of the PC 100 receives the wake-up message, it performs the operation of waking up the PC 100 according to the wake-up message, so that the PC 100 returns to normal working state. In this implementation, the router cannot be used to transparently transmit the control instruction, but needs to parse the control instruction before forwarding the control instruction. In other words, this implementation requires the router to support a private protocol, so that the router can parse the received control instruction according to the private protocol, and then can forward the parsed message accordingly. Therefore, this implementation is highly dependent on the router and is not suitable for scenarios where public routers are used, such as offices.
[0088] In another implementation, a user can remotely wake up a sleeping PC using an external wireless network card. In this implementation, the PC requires an external wireless network card, such as one plugged into the PC's USB (Universal Serial Bus) port, and the user can remotely control the wireless network card using a remote control app on their mobile phone. As shown in Figure 2b, the user must pre-connect the wireless network card to the PC and configure the PC to allow it to be woken up by the external wireless network card. Continuing with Figure 2b, after PC 100 enters sleep mode, the user opens the management interface for wireless network card 500 in the remote control app on mobile phone 200 and clicks on the relevant controls within this interface to wake up PC 100. In response to the user's action to wake up PC 100, the mobile phone sends a control command to wake up PC 100 to cloud server 300. After receiving the control command, cloud server 300 forwards it to router 400. Router 400 then transparently transmits the control command to wireless network card 500. After receiving the control command, the wireless network card 500 executes the operation of waking up the PC 100, so that the PC 100 resumes normal operation. In this implementation, the router can be used for transparent transmission of information, which is suitable for scenarios such as offices using public routers. However, since 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 sleep mode through the external wireless network.
[0089] However, in the two implementations above, both the built-in network card that supports the WoWLAN function and the external network card 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 external network card is powered on. Once the PC is shut down or enters sleep mode, the built-in network card or external network card will be powered off. Therefore, both implementations above only support remote wakeup of PCs in sleep mode, and do not support remote wakeup of PCs in sleep mode or shut down mode.
[0090] As shown in Figure 3, when the PC is powered off or in hibernation, the Wi-Fi chip in the PC is powered off, disconnecting it from the Wi-Fi network of router 400 and preventing external communication. At this point, the user cannot remotely control or wake up the PC via their phone. Furthermore, if an abnormality occurs during PC operation, causing the Wi-Fi chip to malfunction, the connection between the Wi-Fi chip and the Wi-Fi network of router 400 will also be disconnected, preventing the user from using the PC normally via their phone.
[0091] 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, and shutting down the PC, the user can no longer remotely use the PC through the mobile phone. These are undoubtedly pain points for users when using mobile phones to remotely control the PC.
[0092] To address the pain points users face when using their mobile phones to remotely control their PCs, embodiments of the present application provide a remote control system. In this remote control system, when a PC is powered off, in dormant, or in sleep mode, the user can remotely power it on or wake it up using an electronic device (such as a mobile phone or tablet). This allows users to remotely control their PCs anytime, anywhere, just as if they were carrying their PC with them.
[0093] In the embodiment of the present application, in addition to the existing main communication chip, the PC also includes a secondary communication chip (or small communication chip). The main communication chip has Wi-Fi communication capabilities, and the secondary communication chip has Wi-Fi communication capabilities. Optionally, the main communication chip also has Bluetooth communication capabilities, and the secondary communication chip also has Bluetooth communication capabilities.
[0094] When the PC is in normal operation, it connects to the local Wi-Fi network through the primary communication chip for external communication, allowing users to remotely control the PC using electronic devices. When the PC is in an abnormal state, such as when it is shut down, hibernating, or sleeping, the primary communication chip's wireless communication connection is disconnected, and the PC connects to the local Wi-Fi network through the secondary communication chip for external communication, allowing users to continue to remotely control the PC using electronic devices.
[0095] As shown in Figure 4a, the PC may include a main communication chip, an auxiliary communication chip, an EC module, a power on / off control circuit and a battery. In the PC, the battery supplies power to the main communication chip and other modules through the first power supply circuit, and the battery supplies power to the auxiliary communication chip and the EC module through the 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 the EC module through the second power supply circuit, so that the auxiliary communication chip and the 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 the EC module through the second power supply circuit all the time, so that the auxiliary communication chip and the EC module are in a powered-on state all the time. Among them, the auxiliary communication chip and the EC module can interact with each other through events, and the EC module realizes 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.
[0096] In an optional embodiment, the battery supplies power to the auxiliary communication chip through the second power supply circuit, and the battery supplies power to 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 supplies power to 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 or hibernating or sleeping. Optionally, the battery continuously supplies power to the auxiliary communication chip through the second power supply circuit, so that the auxiliary communication chip is in a powered-on state. Optionally, after the PC is shut down or enters hibernation or sleep mode, the battery supplies power to 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 or hibernating or sleeping. Optionally, the battery continuously supplies power to the EC module through the third power supply circuit, so that the EC module is in a powered-on state.
[0097] Continuing with Figure 4a, when the PC is in normal working condition, the PC can access the router's Wi-Fi network 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. The auxiliary communication chip saves the access information of the access 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.
[0098] After the secondary communication chip receives the network access information synchronized with the primary communication chip, it stores this information so that it can automatically connect to the router's Wi-Fi network and establish a wireless connection with the cloud server based on this information if the primary communication chip malfunctions. For example, after the PC is shut down or enters hibernation or sleep mode, the primary communication chip is powered off, disconnecting the wireless connection between the primary communication chip and the cloud server. The secondary communication chip then connects to the router's Wi-Fi network based on the pre-stored network configuration information and then establishes a wireless connection with the cloud server.
[0099] 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.
[0100] After the main communication chip establishes a communication link with the auxiliary communication chip, the main communication chip will periodically send heartbeat packets to the auxiliary communication chip. After receiving the heartbeat packet from the main communication chip, the auxiliary communication chip will reply 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. 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 times out without receiving the confirmation information fed back by the auxiliary communication chip, 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.
[0101] Referring to Figure 4b, when the PC is in an abnormal operating state, such as shut down, hibernation, or sleep, the wireless connection between the PC's primary communication chip and the cloud server is disconnected, and the PC's secondary communication chip establishes a wireless connection with the cloud server. After the secondary communication chip determines that the wireless connection between the primary communication chip and the cloud server is disconnected, it establishes a wireless connection with the cloud server based on the network access information synchronized with the primary communication chip. After the PC establishes a wireless connection with the cloud server via the secondary communication chip, the mobile phone can then establish a remote connection with the PC through the cloud server, allowing the user to continue to remotely control the PC using the mobile phone.
[0102] 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.
[0103] Exemplarily, when the auxiliary communication chip fails to receive the heartbeat packet from the main communication chip within a timeout period, it determines that the main communication chip is operating abnormally and establishes a wireless connection with the cloud server. The auxiliary communication chip may start timing from the moment it last received a heartbeat packet from the main communication chip to determine whether it has timed out and failed to receive a heartbeat packet from the main communication chip. This is not limited in this embodiment. Furthermore, exemplarily, when the auxiliary communication chip determines that the PC is in an abnormal working state based on information transmitted by the EC (Embed Controller) module, it determines that the main communication chip is operating abnormally and establishes a wireless connection with the cloud server.
[0104] In an optional embodiment, when the PC is shut down or enters sleep mode, the primary communication chip sends a shutdown event or sleep event to the secondary communication chip. Upon receiving the shutdown event or sleep event, the secondary communication chip determines that the primary communication chip is operating abnormally and establishes a wireless connection with the cloud server.
[0105] 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.
[0106] 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 the response information of the main communication chip is not received within the time limit, or the response information of the main communication chip is not 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.
[0107] Continuing 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, 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.
[0108] The secondary communication chip has lower performance than the primary communication chip, for example, lower power consumption and lower communication bandwidth. Therefore, if the PC's primary communication chip malfunctions, the PC establishes a wireless connection with the cloud server via the secondary communication chip and enters a low-power remote control mode.
[0109] When the PC establishes a wireless connection with the cloud server via the auxiliary communication chip, and the mobile phone establishes a remote connection with the PC via the cloud server, the user can perform relevant operations on the PC (such as power on, wake up, and shut down) in the remote control application on the mobile phone. In response to the user's operation, the mobile phone sends remote control commands to the PC through the cloud server. After receiving the remote control commands, the PC's auxiliary communication chip controls the PC according to the remote control commands. The auxiliary communication chip can perform relevant operations on the pins of the PC's power on and off circuit through the EC module to achieve relevant control of the PC.
[0110] In this embodiment, as shown in Figure 5a, the auxiliary communication chip and the EC module can be connected via an IIC (Inter-Integrated Circuit) interface, with information exchange between the auxiliary communication chip and the EC module based on the IIC bus. The auxiliary communication chip can transmit remote control commands, such as remote power-on commands and remote wake-up commands, to the EC module via the IIC bus. The EC module can also transmit PC status information, such as shutdown, sleep, and hibernation status, to the auxiliary communication chip via the IIC bus.
[0111] After receiving the remote control command, the auxiliary communication chip sends the corresponding control command to the EC module via the IIC bus between them. The EC module then controls the relevant pins of the power-on / off control circuit according to the received control command, thus achieving 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 implement PC control operations such as power on, power off, and wake up.
[0112] It should be noted that the encoding method of the remote control command received by the secondary communication chip and the control command sent by the secondary communication chip to the EC module can be the same or different, and this embodiment does not limit this. For example, when the secondary communication chip receives a remote wake-up command, the control command sent by the secondary communication chip to the EC module is used to instruct the PC to wake up.
[0113] In addition, the EC module can also detect the PC status and send the detected PC status to the auxiliary communication chip via the IIC bus, so that the auxiliary communication chip can report the PC status information to the mobile phone. Among them, the status information can include shutdown state, dormant state, sleep state, etc.
[0114] Referring to 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.
[0115] The following explains the remote control method provided in the embodiment of the present application through several application scenarios.
[0116] Scene 1
[0117] When a PC is powered on for the first time, its primary communication chip connects to the router's Wi-Fi network and establishes a wireless connection with the cloud server. In this scenario, if the PC is powered off or enters sleep or hibernation mode, the wireless connection between the primary chip and the cloud server is disconnected. The PC's secondary communication chip connects to the router's Wi-Fi network and establishes a wireless connection with the cloud server. If the PC is powered on from sleep or hibernation mode, the wireless connection between the secondary communication chip and the cloud server is disconnected. The PC then establishes a wireless connection with the cloud server via the primary communication chip, allowing users to remotely control the PC using a mobile phone or other terminal device.
[0118] FIG6a exemplarily shows a schematic diagram of device interaction. Referring to FIG6a , the process of the remote control method provided in this embodiment specifically includes:
[0119] S101 , in response to a user's first power-on operation, a primary communication chip of a PC is powered on, and the primary communication chip establishes a wired communication link with an auxiliary communication chip.
[0120] The first power-on operation by the user may be, for example, an operation in which the user manually triggers a power button on the PC.
[0121] 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.
[0122] S102: The main communication chip of the PC connects to the Wi-Fi network according to the network configuration information.
[0123] 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.
[0124] Among them, the main communication chip of the PC connects to the Wi-Fi network of the router according to the SSID and password of the Wi-Fi network.
[0125] S103, the main communication chip of the PC establishes a wireless connection with the cloud server through the router.
[0126] 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.
[0127] For example, the PC's main communication chip sends a wireless connection request to the router for the cloud server. This wireless connection request includes, but is not limited to, the cloud server's URL, the password for accessing the cloud server, and the PC's device identification information in the cloud server. After receiving this wireless connection request, the router forwards it to the corresponding cloud server. The cloud server allocates a wireless communication link for the PC and, through the router, sends a response to the request back to the PC's main chip, establishing a wireless connection between the main communication chip and the cloud server.
[0128] 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.
[0129] S104, the primary communication chip of the PC synchronizes network configuration information with the secondary communication chip.
[0130] 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.
[0131] Regarding network configuration information, the main communication chip and the auxiliary communication chip of the PC will be synchronized in a timely manner through a wired communication link. When the PC is powered on, or when the PC is powered off, in dormant state, or in sleep state, the network configuration information may change. For example, the password for accessing 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, while when the PC is powered off, in dormant state, or in sleep state, 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 as to successfully establish a wireless connection with the cloud server.
[0132] When the PC is powered on, it establishes a wireless connection with the cloud server through the primary communication chip. When the network configuration is updated, the primary communication chip synchronizes the latest network configuration information with the secondary communication chip. The secondary communication chip saves the latest network configuration information so that it can successfully connect to the network the next time.
[0133] Among them, when the PC's main communication chip is connected to the router's Wi-Fi network, and when the PC's main communication chip is 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.
[0134] When the PC is in the shutdown state or the sleep 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 the power-off state. After the PC is turned on or exits the sleep state, the main communication chip is powered on and establishes a wired communication link with the auxiliary communication chip. 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. Another example is that 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.
[0135] S105 , the primary communication chip of the PC sends a heartbeat packet to the secondary communication chip.
[0136] S106, the auxiliary communication chip of the PC replies with confirmation information to the main communication chip.
[0137] 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.
[0138] 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 for the heartbeat message.
[0139] Among them, S102 is executed after the main communication chip is powered on, and S104 and S105 are executed after a limited 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.
[0140] S107, the PC startup process ends and the PC is in the startup state.
[0141] In response to the user's power-on operation, the PC's various modules (such as the CPU and display) are powered on, and the PC executes the boot process. In addition to the processes related to the main communication chip mentioned above, the PC boot process also includes the startup steps of other modules, such as the CPU, until the PC is powered on. For any unclear details about the PC boot process, please refer to existing technologies and will not be elaborated here.
[0142] 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.
[0143] On the premise that the mobile phone and PC are bound, if the PC is turned on and the PC's main communication chip has established a wireless connection with the cloud server, the user can remotely control the PC through the mobile phone.
[0144] The remote access command indicates that the user needs to access the PC UI on their mobile phone. The user accesses the PC through the remote control application on their mobile phone, and the user's remote access operation for the PC varies across different applications. For example, the user accesses the PC remotely by clicking the PC name in the remote control device list or by clicking the access control corresponding to the PC.
[0145] S109, the cloud server sends a remote access instruction to the main communication chip of the PC through the router.
[0146] 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.
[0147] 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.
[0148] For example, after receiving the remote access command, the PC's main communication chip sends the remote access command to the CPU, which processes the remote access command. Based on the remote access command, the PC's CPU establishes a remote connection with the mobile phone and sends the PC's real-time UI interface stream to the router via the PC's main communication chip. After receiving the PC's real-time UI interface stream, the router transparently transmits the PC's real-time UI interface stream to the cloud server.
[0149] S111, the cloud server sends the real-time UI interface stream of the PC to the mobile phone.
[0150] After receiving the UI interface stream sent by the PC, the cloud server forwards the PC's UI interface stream to the mobile phone.
[0151] S112, the mobile phone displays the real-time UI interface of the PC.
[0152] After the mobile phone receives the PC UI interface stream forwarded by the cloud server, it displays the PC UI interface in the remote control application, thereby realizing remote access to the PC by the user on the mobile phone.
[0153] 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.
[0154] The operations performed by the user on the PC UI interface on the mobile phone can be any operations performed by the user on the PC using input devices such as a mouse or keyboard, such as viewing, typing, and the like.
[0155] The user performs relevant operations on the PC UI displayed on the mobile phone according to their 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 one-to-one with the user's operations.
[0156] S114, the cloud server sends a remote control instruction to the main communication chip of the PC through the router.
[0157] 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's main communication chip.
[0158] S115, the PC executes the remote control command, and the UI interface changes accordingly.
[0159] For example, after the main communication chip of the PC receives the remote control command, it sends the remote control command to the CPU so that the CPU can process the remote control command. In the process of the PC CPU executing the remote control command, the PC's UI interface changes accordingly. Since the PC's UI interface stream is sent to the cloud server in real time through the wireless connection between the PC's main chip and the cloud server, and the PC's UI interface stream is forwarded to the mobile phone through the cloud server, the PC's UI interface stream displayed on the mobile phone will also change accordingly, so that the user can perceive that they are remotely controlling the PC.
[0160] 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 existing technologies and will not be repeated here.
[0161] S116, when the PC is powered on, in response to a user's shutdown operation, or the user's long-term inactivity causing the PC to enter a dormant or sleep state, the PC's main core communication chip is powered off, disconnecting the Wi-Fi connection with the router.
[0162] The manual shutdown operation by the user may be a shutdown operation performed by the user on the PC, or a shutdown operation performed on the PC UI interface displayed on the mobile phone.
[0163] 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.
[0164] It should be noted that, since the power supply circuits of the primary communication chip and the secondary communication chip are different, the secondary communication chip will not be powered off when the PC is shutting down or entering a dormant or sleep state.
[0165] S117 , the auxiliary communication chip of the PC obtains a shutdown event, a dormancy event, or a sleep event.
[0166] For example, when the PC is shutting down, or entering a dormant or sleep state, the primary communication chip sends a shutdown event, a dormant event, or a sleep event to the secondary communication chip to notify the secondary communication chip of the PC status information.
[0167] As another example, after the PC is shut down or enters a dormant or sleep state, the EC module obtains the PC's status information and sends the PC's status information to the auxiliary communication chip so that the auxiliary communication chip knows that the PC is shut down or enters a dormant or sleep state.
[0168] S118 , the auxiliary communication chip of the PC connects to the Wi-Fi network of the router according to the network configuration information.
[0169] 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.
[0170] S119, the auxiliary communication chip of the PC establishes wireless communication with the cloud server through the router.
[0171] 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.
[0172] For example, the PC's secondary communication chip sends a wireless connection request to the cloud server to the router. This wireless connection request includes, but is not limited to, the cloud server's URL, the password for accessing the cloud server, and the PC's device identification information in the cloud server. After receiving this wireless connection request, the router forwards it to the corresponding cloud server. The cloud server allocates a wireless communication link for the PC and, through the router, sends a response to the request back to the PC's secondary communication chip, establishing a wireless connection between the secondary communication chip and the cloud server.
[0173] 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 (eg, 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.
[0174] As shown in Figure 6b, when the PC switches from powered-on to powered-off, dormant, or sleep mode, the PC's primary communication chip loses its wireless connection to the cloud server, while the PC's secondary communication chip establishes a wireless connection to the cloud server. In other words, when the PC is powered-off, dormant, or sleep mode, the secondary communication chip accesses the network for external wireless communication, while the primary communication chip, having been powered off, is unable to communicate wirelessly.
[0175] After establishing a wireless connection between the auxiliary communication chip and the cloud server, the auxiliary communication chip can also report the PC's status information to the mobile phone through the cloud server. The auxiliary communication chip sends the PC's status information to the router, and the router sends the PC's status information to the cloud server. The cloud server can then feed the PC's status information back to the mobile phone.
[0176] Exemplarily, the PC's secondary communication chip can obtain PC status information based on event information sent by the primary communication chip and send the PC status information to the cloud server. For example, when the primary communication chip sends a shutdown event to the secondary communication chip, the secondary communication chip determines that the current PC status information is shutdown; when the primary communication chip sends a sleep event to the secondary communication chip, the secondary communication chip determines that the current PC status information is sleep.
[0177] For example, the PC's secondary communication chip can obtain 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 secondary communication chip via the IIC bus that the current PC status is off, the secondary communication chip sends the current PC status information to the cloud server as off.
[0178] Figure 6c exemplarily shows a schematic diagram of PC status reporting. Referring to Figure 6c, when the PC is in shutdown state, dormant 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, dormant state or sleep state, etc.) 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, such as shutdown state, dormant state, etc., in the remote control application on the mobile phone.
[0179] S120 , 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.
[0180] S121, the cloud server sends a remote power-on command or a remote wake-up command to the auxiliary communication chip of the PC through the router.
[0181] After receiving the remote power-on command or remote wake-up command, the cloud server sends the remote power-on command or remote wake-up command to the router, and the router transparently transmits the remote power-on command or remote wake-up command to the auxiliary communication chip of the PC.
[0182] S122 , the auxiliary communication chip of the PC instructs the EC module to turn on or wake up the PC.
[0183] After receiving the remote power-on or remote wake-up command, the PC's auxiliary communication chip sends a corresponding control command to the EC module. The EC module then controls the PC's power-on and power-off circuit pins accordingly, thereby enabling power-on or wake-up control of the PC.
[0184] Figure 6d exemplarily shows a remote control schematic diagram. Referring to Figure 6d, when the PC is in the 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 or clicking the remote wake-up control, 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.
[0185] Compared to the PC's communication system based on the primary communication chip, the PC's communication system based on the secondary communication chip is an independent communication system. Even if the PC is powered off, in hibernation, or in sleep mode, the PC can still communicate externally based on the secondary communication chip. Moreover, the PC's external communication based on the secondary communication chip does not rely on the local router. The router does not need to parse the interaction information between the PC and the cloud server. The interaction information between the PC and the cloud server can be transparently transmitted in the router, which has a wider range of applications, such as when the PC is connected to the Internet via a public router in an office.
[0186] It should be noted that in this process and the following processes, the information exchange between the PC and the cloud server, whether the PC sends information to the cloud server or the cloud server sends information to the PC, is transparently transmitted through the router. This is no longer emphasized in each step.
[0187] In this way, when a PC is powered off, in hibernation, or in sleep mode, while the PC's primary communication chip is unable to communicate due to power loss, the PC's secondary communication chip, relying on the PC's battery power, can still access the network for external communication. At this point, the PC can receive commands such as remote power on and remote wakeup from the user via the secondary communication chip's external communication link, allowing the user to remotely control the PC at any time to meet their needs.
[0188] Scene 2
[0189] In this scenario, the PC switches from shutdown, hibernation, or sleep mode to power on. The wireless connection between the PC's secondary communication chip and the cloud server is disconnected, and the PC establishes a wireless connection with the cloud server through the primary communication chip, allowing users to remotely control the PC through electronic devices such as mobile phones.
[0190] In this scenario, the remote control method provided in this embodiment specifically includes the following steps:
[0191] 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.
[0192] After the PC is shut down or enters hibernation or sleep mode, the wireless connection between the PC's primary communication chip and the cloud server is disconnected, and the PC establishes a wireless connection with the cloud server through the secondary communication chip. After that, the secondary communication chip can periodically send keepalive messages (such as MQTT messages) or heartbeat messages to the cloud server to maintain the wireless communication link between the secondary communication chip and the cloud server.
[0193] 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, allowing users to remotely control the PC (remotely start or remotely wake up) using their mobile phones at any time.
[0194] S202 , during the boot-up process of the PC or after being awakened, the primary communication chip of the PC is powered on and establishes a wired communication link with the secondary communication chip.
[0195] The power-on mentioned in this step can be triggered by a remote power-on operation performed by the user on the mobile phone, or by a power-on operation performed by the user on the PC. Correspondingly, the wake-up process mentioned in this step can be triggered by a remote wake-up operation performed by the user on the mobile phone, or by a wake-up operation performed by the user on the PC.
[0196] S203: The primary communication chip of the PC sends a heartbeat packet to the secondary communication chip.
[0197] S204, the auxiliary communication chip of the PC replies with confirmation information to the main communication chip.
[0198] S205 , the auxiliary communication chip of the PC disconnects the wireless connection with the cloud server.
[0199] When the main communication chip of the PC operates normally, the auxiliary communication chip of the PC can disconnect the wireless connection with the cloud server.
[0200] Optionally, after the main communication chip of the PC is powered on and operates normally, the auxiliary communication chip of the PC disconnects the Wi-Fi connection with the router, and then disconnects the wireless connection with the cloud server.
[0201] After the PC's secondary communication chip disconnects from the cloud server, if it has Bluetooth communication capabilities, it can still be used for other services, such as P2P (peer-to-peer) services. This way, when the PC is powered on and operating normally, its external communications rely on the primary communication chip, and the secondary communication chip can support the PC's P2P services.
[0202] S206 , the primary communication chip of the PC synchronizes network configuration information with the secondary communication chip.
[0203] S207 , the main communication chip of the PC connects to the Wi-Fi network according to the network configuration information.
[0204] 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.
[0205] This embodiment does not limit the execution order of S203 , S206 , and S207 .
[0206] S208, the main communication chip of the PC establishes a wireless connection with the cloud server through the router.
[0207] 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.
[0208] As shown in Figure 6b, when the PC switches from off, dormant, or sleep mode to on, the PC's secondary communication chip disconnects from the cloud server, while the PC's primary communication chip establishes a wireless connection with the cloud server. In other words, when the PC is powered on and operating normally, the primary communication chip connects to the network for external wireless communication, while the secondary communication chip no longer performs external wireless communication.
[0209] In this way, when the PC is turned on, the PC's auxiliary communication chip disconnects the wireless connection with the cloud server, 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.
[0210] Scenario 3
[0211] In this scenario, the PC runs abnormally while powered on, and the wireless connection between the PC's primary communication chip and the cloud server is disconnected. The PC then establishes a wireless connection with the cloud server through the secondary communication chip, allowing the user to continue to remotely control the PC through electronic devices such as mobile phones.
[0212] FIG7 exemplarily shows a schematic diagram of device interaction. Referring to FIG7 , the process of the remote control method provided in this embodiment specifically includes:
[0213] S301: A remote control connection is being established between the mobile phone and the PC.
[0214] When a user remotely accesses a PC through a mobile phone, the PC's UI interface is displayed on the mobile phone, allowing the user to remotely control the PC using the mobile phone.
[0215] S302: The primary communication chip of the PC sends a heartbeat packet to the secondary communication chip.
[0216] S303, the auxiliary communication chip of the PC replies with confirmation information to the main communication chip.
[0217] When the PC is in a normal working state, the primary communication chip and the secondary communication chip of the PC can mutually know whether the other party is operating normally based on the heartbeat packet and the confirmation information for the heartbeat packet.
[0218] S304, the auxiliary communication chip of the PC determines whether the main communication chip operates abnormally. If so, execute S305, if not, continue to execute S304.
[0219] Optionally, the secondary communication chip of the PC can determine whether the primary communication chip is operating abnormally based on the heartbeat packets sent by the primary communication chip. For example, if the secondary communication chip does not receive a shutdown event or a sleep event sent by the primary communication chip, but the secondary communication chip times out since the last time it received a heartbeat packet from the primary communication chip, the secondary communication chip determines that the primary communication chip is operating abnormally.
[0220] Optionally, the PC's secondary communication chip can determine whether the primary communication chip is operating abnormally based on its interaction with the primary communication chip. The secondary communication chip can periodically send interaction requests to the primary communication chip. For example, after the primary communication chip and the secondary communication chip establish a wired communication link, the secondary communication chip sends interaction requests to the primary communication chip at preset time intervals. If the secondary communication chip does not receive a shutdown event or a sleep event sent by the primary communication chip, and if the secondary communication chip times out from the time the interaction request was last sent and does not receive a response from the primary communication chip, or if the secondary communication chip fails to receive a response from the primary communication chip multiple times in a row, the secondary communication chip determines that the primary communication chip is operating abnormally.
[0221] S305 , the auxiliary communication chip of the PC connects to the Wi-Fi network of the router according to the network configuration information.
[0222] S306, the auxiliary communication chip of the PC establishes a wireless connection with the cloud server through the router.
[0223] When the PC is powered on, regardless of whether a remote control connection has been established between the PC and the phone, if the secondary communication chip determines that the primary communication chip is operating abnormally and that the PC can no longer communicate externally through the primary communication chip, the secondary communication chip can establish a wireless connection with the cloud server. At this point, the PC's secondary communication chip connects to the router's Wi-Fi network and establishes a wireless connection with the cloud server, ensuring that information exchange between the PC and the phone continues.
[0224] When the PC is powered on and experiences an abnormality, the PC's primary communication chip loses its wireless connection to the cloud server, and the PC's secondary communication chip establishes a wireless connection to the cloud server. In other words, when the PC experiences an abnormality, the secondary communication chip accesses the network for external wireless communication, while the primary communication chip stops communicating wirelessly due to an operational abnormality (e.g., power failure).
[0225] S307, the auxiliary communication chip of the PC obtains PC status information.
[0226] S308, the auxiliary chip of the PC sends the PC status information to the cloud server through the router.
[0227] In this embodiment, the EC module can also be used to detect the PC status and send PC status information to the auxiliary communication chip of the PC through information interaction with the auxiliary communication chip.
[0228] S309: The cloud server sends PC status information to the mobile phone.
[0229] S310, the mobile phone displays PC status information.
[0230] The schematic diagram of the auxiliary communication chip of the PC reporting the PC status information to the mobile phone can be shown in Figure 6c, which will not be repeated here.
[0231] In this way, when a user uses a mobile phone or other electronic device to remotely control a PC, even if the PC fails and the PC's main communication chip cannot communicate with the outside world, the PC's auxiliary communication chip can still access the network to communicate with the outside world to receive the user's remote control instructions (such as remote shutdown, etc.), so that the user can continue to remotely control the PC to meet his or her usage needs.
[0232] Scene 4
[0233] In this scenario, an exception occurs during the remote shutdown process, causing the PC to fail to shut down successfully. At this time, the wireless connection between the PC's primary communication chip and the cloud server is disconnected. The PC then establishes a wireless connection with the cloud server through the secondary communication chip, allowing the user to continue remotely controlling the PC through electronic devices such as mobile phones.
[0234] FIG8 exemplarily shows a schematic diagram of device interaction. Referring to FIG8 , the process of the remote control method provided in this embodiment specifically includes:
[0235] S401, in response to a user's remote shutdown operation, the mobile phone sends a remote shutdown instruction to the cloud server.
[0236] The user's remote shutdown operation may be a shutdown operation performed by the user on a UI interface of the PC displayed on a mobile phone.
[0237] S402, the cloud server sends a remote shutdown command to the main communication chip of the PC through the router.
[0238] S403 , during the shutdown process of the PC, the primary communication chip of the PC sends a shutdown event to the secondary communication chip.
[0239] S404: The main communication chip of the PC is powered off, disconnecting the Wi-Fi connection with the router.
[0240] When the PC is shut down, the main communication chip is powered off, the Wi-Fi connection between the main communication chip and the router is disconnected, and then the wireless connection between the main communication chip and the cloud server is disconnected.
[0241] Regarding the shutdown process of the PC and other components, the shutdown process can refer to the existing technology and will not be described in detail here.
[0242] S405 , the auxiliary communication chip of the PC connects to the Wi-Fi network of the router according to the network configuration information.
[0243] S406, the auxiliary communication chip of the PC establishes a wireless connection with the cloud server through the router.
[0244] When the PC's secondary communication chip receives the shutdown event sent by the primary communication chip, it determines that the PC can no longer communicate with the outside world through the primary communication chip. At this time, the PC's secondary communication chip connects to the router's Wi-Fi network and establishes a wireless connection with the cloud server through the Wi-Fi connection.
[0245] 6b, when the PC is switched from the power-on state to the power-off state, the primary communication chip of the PC disconnects the wireless connection with the cloud server, and the secondary communication chip of the PC establishes a wireless connection with the cloud server.
[0246] S407, the EC module of the PC detects the status information of the PC.
[0247] In this embodiment, when the EC module receives a shutdown event sent by the auxiliary communication chip, the EC module may detect whether the current state of the PC is the shutdown state after a set time period from the moment the shutdown event is received.
[0248] In this scenario, when a user remotely shuts down a PC, the shutdown may fail. For example, the PC may get stuck on the shutdown screen, or a process may fail to terminate. In this case, the PC cannot shut down normally and cannot switch to the shutdown state.
[0249] S408, the auxiliary communication chip of the PC sends PC status information to the cloud server through the router.
[0250] S409: The cloud server sends the PC status information to the mobile phone.
[0251] S410, the mobile phone displays status information of the PC.
[0252] If the mobile phone displays the PC status information other than the shutdown status, the user can know that there may be an abnormality in the PC shutdown.
[0253] Referring to Figure 6c, when the PC fails to shut down, the primary communication chip powers off, and the PC communicates externally through the secondary communication chip. The EC module sends the detected PC status information (which can also be understood as PC abnormality information) to the secondary communication chip, which then sends the PC status information to the cloud server. After receiving the PC status information, the cloud server forwards it to the mobile phone. The mobile phone displays the PC status information in the remote control application so that the user can understand the current PC status information. If the PC status information displayed by the mobile phone in the remote control application is not the shutdown status, the user may suspect that there is an abnormality in the PC shutdown and can then remotely shut down the PC.
[0254] Continuing with Figure 6d, if the PC fails to shut down, the primary communication chip powers off, and the PC communicates externally via the secondary communication chip. At this point, if the user suspects an abnormality in the PC shutdown, they can remotely shut down the PC using the phone's remote control application. In response to the user's remote shutdown operation, such as clicking the remote shutdown control, the phone sends a remote shutdown command to the cloud server. Upon receiving the remote shutdown command, the cloud server forwards it to the PC. After receiving the remote shutdown command via the secondary communication chip, the PC sends it to the EC module, which controls the shutdown circuit pins to control the PC's shutdown.
[0255] This way, when a user finishes using their PC remotely via their phone and shuts down the PC on the PC UI displayed on their phone, they can still detect any unsuccessful shutdown attempts, even if an exception occurs during the shutdown process. At this point, the PC can communicate externally via the auxiliary communication chip, allowing the user to continue shutting down the PC remotely, thus preventing the PC from remaining in an unsuccessful shutdown state.
[0256] 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 (running normally or abnormally), 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 running normally, the PC realizes external communication based on the main communication chip. At this time, the auxiliary communication chip can be used to realize P2P business, 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.
[0257] In this way, no matter where the PC is or what the PC's operating status 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.
[0258] In one example, FIG9 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 the PC shown in FIG9 is only an example, and the PC may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in FIG9 can be implemented in hardware including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.
[0259] 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 primary communication chip 150, a secondary communication chip 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone jack 170D, a sensor module 180, a button 190, an embedded controller 191, an indicator 192, a camera 193, a display 194, and a power on / off control circuit 195. The sensor module 180 may include a pressure sensor, an acceleration sensor, a temperature sensor, a magnetic sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a touch sensor, and the like.
[0260] 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). The different processing units may be independent devices or integrated into one or more processors.
[0261] The wireless communication function of the PC can be implemented through 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 capabilities, and the main communication chip 150 and the auxiliary communication chip 160 can also have Bluetooth communication capabilities.
[0262] The main communication chip 150 and the auxiliary communication chip 160 have different power supply circuits. When the PC is powered off, in dormant or sleeping mode, the main communication chip 150 is powered off, while the auxiliary communication chip 160 is powered by the battery 142 and remains powered on.
[0263] 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 router's Wi-Fi network to establish a wireless connection with the cloud server through the router.
[0264] The PC realizes display functions through a GPU, a display screen 294, and a CPU.
[0265] 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 this application.
[0266] 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.
[0267] The various components of the device are coupled together via buses, which include, in addition to a data bus, a power bus, a control bus, and a status signal bus. However, for the sake of clarity, all buses are referred to as buses in the figure.
[0268] Optionally, the memory may be used to store instructions executed by the auxiliary communication chip in the embodiment of the remote control method. The processor may be used to execute the instructions in the memory, and control the receiving pin to receive signals, and control the transmitting pin to send signals.
[0269] The device may be the auxiliary communication chip in the above-mentioned remote control method embodiment.
[0270] 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.
[0271] 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.
[0272] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the remote control method in the above-mentioned embodiment.
[0273] 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.
[0274] 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 distributed and completed by 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.
[0275] In the several embodiments provided in this 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 merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, 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.
[0276] 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 above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above 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 the PC is shut down, hibernated or in sleep mode, the first communication chip is powered off; After the first communication chip is powered off, the first wireless connection is disconnected, and a second wireless connection is established between the second communication chip and the server; 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 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 state, the second communication chip receives a remote power-on instruction sent by the electronic device based on the second wireless connection, so as to power on the PC; Alternatively, when the PC is in a dormant state or a sleeping state, the second communication chip receives a remote wake-up instruction sent by the electronic device based on the second wireless connection, so as to make the PC exit the dormant state or the sleeping state.
3. The method according to claim 2, characterized in that The PC also includes an embedded controller; wherein, 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, including: 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, wherein the first control instruction is used to instruct to power on the PC, and the embedded controller controls relevant circuit pins according to the first control instruction to power on the PC; Alternatively, the second communication chip receives a remote wake-up instruction sent by the electronic device based on the second wireless connection, so that the PC exits a dormant state or a sleep state, including: The second communication chip receives a remote wake-up instruction sent by the electronic device based on the second wireless connection, and sends a second control instruction to the embedded controller, wherein 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 make the PC exit a dormant state or a sleep state.
4. The method according to any one of claims 1 to 3, characterized in that: Also 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, and the second wireless connection is disconnected; 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.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: When the PC is powered on, the second communication chip detects that the first communication chip operates abnormally, and a fourth wireless connection is established between the second communication chip and the server; The second communication chip receives a remote shutdown instruction sent by the electronic device based on the fourth wireless connection to shut down the PC.
6. The method according to claim 3, characterized in that Also includes: The PC receives the remote shutdown instruction based on the first wireless connection and executes a shutdown process; After a set time, the embedded controller sends the status information of the PC to the second communication chip; wherein the status information of the PC is a non-shutdown state; The second communication chip sends the status information of the PC to the electronic device based on the second wireless connection.
7. The method according to claim 5, characterized in that Before establishing a third wireless connection between the first communication chip and the server, the method further includes: The first communication chip establishes a wired communication link with the second communication chip; 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 a server so that a user can remotely control the PC through the electronic device.
8. The method according to claim 7, characterized in that Also includes: When the network configuration information is updated, the first communication chip sends the updated network configuration information to the second communication chip.
9. The method according to claim 7, characterized in that: Also includes: The first communication chip sends a heartbeat message to the second communication chip based on the wired communication link; wherein the heartbeat message is used by the second communication chip to learn whether the first communication chip operates abnormally.
10. The method according to any one of claims 1 to 9, characterized in that: The power consumption of the second communication chip is lower than the power consumption of the first communication chip.
11. The method according to any one of claims 1 to 10, 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.
12. The method according to any one of claims 1 to 11, 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.
13. The method according to any one of claims 1 to 12, 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.
14. 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-13.
15. 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-13.
16. 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-13 through the first communication chip and the second communication chip.
17. The PC according to claim 16, wherein: The PC further includes an embedded controller, which is used to receive the control instruction sent by the second communication chip and control the PC according to the control instruction.
18. 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 13.
Citation Information
Patent Citations
Method and device for remote controlling mobile terminal
CN104615097A
Method and device for controlling equipment, computing equipment and storage medium
CN110545222A
Remote startup and shutdown module applied to image collection equipment
CN110708173A
Edge node remote control system, method and device and storage medium
CN113010470A
Remote management method, remote management equipment, module and readable storage medium
CN114070884A
