Desktop remote control method, system, device and readable storage medium
By determining the desktop's status and waking up the microcontroller unit when it receives a command from the cloud, the problem of being unable to remotely power on a desktop computer when the hardware is off is solved, achieving remote power-on under low power consumption.
Patent Information
- Application Number
- CN202211641113.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-20
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-12-20
AI Technical Summary
Existing technologies cannot enable remote power-on of desktop computers when the hardware is off, thus failing to meet low-power requirements.
When the microcontroller receives instructions from the cloud, it determines the working status of the desktop computer, wakes up the microcontroller when the status matches, exits the low-power mode, controls the pulse emission module to emit a low pulse signal to the embedded controller, starts the power-on sequence, and waits for the operating system to start.
While meeting the requirements for low power consumption, it enables remote power-on of desktop computers when the hardware is powered off.
Smart Images

Figure CN116243987B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer control technology, and in particular to a desktop computer remote control method, a desktop computer remote control system, a desktop computer remote control device, and a computer-readable storage medium. Background Technology
[0002] Generally, based on the power management of the computer, for computer systems compatible with ACPI (Advanced Configuration and Power Interface), their working states can be roughly divided into seven states (S0-S5, G3), where S0 is the normal working state; S1-S5 are the abnormal working states, in which some hardware is still working; and G3 is the hardware shutdown state.
[0003] In related technologies, desktop computers support power-on, wake-up, or power-off via the power button. Additionally, some desktop computers support remote power-on and wake-up via wired or wireless LAN, but only in two states: Suspend (S3) and Soft off (S5). Soft off (S5) requires configuration in the BIOS (Basic Input / Output System) for wired or wireless LAN remote power-on and wake-up functionality.
[0004] However, the aforementioned technologies cannot achieve remote power-on and power-off in G3 (hardware shutdown state), and therefore cannot meet the low power consumption requirements. Summary of the Invention
[0005] This application provides a desktop remote control method, a desktop remote control system, a desktop remote control device, and a computer-readable storage medium, which solves the technical problem in related technologies that it is impossible to remotely power on a desktop computer when the hardware is off. It achieves the technical effect of remotely powering on a desktop computer when the hardware is off while meeting the requirements of low power consumption.
[0006] This application provides a method for remotely controlling a desktop computer, applied to a desktop computer, the desktop computer including a microcontroller unit and an embedded controller for implementing remote control, the method for remotely controlling the desktop computer including:
[0007] When the microcontroller receives a power-on command sent from the cloud, it determines the working status of the desktop computer;
[0008] When the operating state matches the power-on command, the control communication module wakes up the microcontroller and exits the low-power mode;
[0009] The control pulse transmitting module transmits a low-pulse power-on signal to the embedded controller;
[0010] When the embedded controller receives the low-pulse power-on signal emitted by the microcontroller unit, it initiates the power-on sequence and waits for the desktop computer's operating system to start.
[0011] Optionally, after the step of initiating the power-on sequence and waiting for the host operating system to start when the embedded controller receives a low-pulse power-on signal transmitted by the microcontroller, the method further includes:
[0012] When the microcontroller receives a shutdown command sent from the cloud, it determines the working status of the desktop computer;
[0013] When the operating state is power-on, the pulse transmitting module is controlled to transmit a low-pulse power-off signal to the embedded controller.
[0014] When the embedded controller receives the low-pulse shutdown signal transmitted by the microcontroller, it initiates the shutdown sequence and waits for the desktop computer's operating system to shut down.
[0015] After detecting that the desktop computer is powered off, the microcontroller unit is controlled to enter the low-power mode.
[0016] Optionally, after the step of initiating the power-on sequence and waiting for the host operating system to start when the embedded controller receives a low-pulse power-on signal transmitted by the microcontroller, the method further includes:
[0017] When the microcontroller receives a wake-up command sent from the cloud, it determines the working status of the desktop computer;
[0018] When the working state is sleep state, the pulse transmission module is controlled to transmit a low pulse wake-up signal to the embedded controller;
[0019] When the embedded controller receives the low-pulse wake-up signal emitted by the microcontroller unit, it initiates the wake-up sequence and waits for the desktop operating system to wake up.
[0020] Optionally, before the step of determining the working status of the desktop computer when the microcontroller receives a power-on command sent from the cloud, the method further includes:
[0021] The system receives a remote power-on command from the basic input / output system interface and opens the communication connection between the microcontroller unit and the desktop motherboard according to the command.
[0022] After the communication connection is established, the communication interface between the embedded controller and the microcontroller is opened;
[0023] The microcontroller is controlled to enable power supply and enter the low-power mode.
[0024] Optionally, after the step of establishing the communication interface between the embedded controller and the microcontroller unit after the communication connection is completed, the method further includes:
[0025] The selected operation received by the basic input / output system interface is obtained, and the remote power-on feature of the microcontroller is set according to the selected operation.
[0026] When the remote power-on feature of the microcontroller is enabled, the embedded controller controls the power-on pin of the microcontroller to be energized.
[0027] Upon receiving upgrade data from the universal asynchronous transceiver, the microcontroller is upgraded with firmware based on the upgrade data.
[0028] Optionally, the step of determining the working state of the desktop computer includes:
[0029] The microcontroller sends a host status request to the embedded controller through the host status indication interface;
[0030] After receiving the host status request, the embedded controller obtains the desktop computer's operating information and returns the operating information to the microcontroller unit.
[0031] The microcontroller determines the operating status based on the operating information.
[0032] Optionally, when the microcontroller is in the low-power mode, only the running memory of the communication module on the microcontroller is active.
[0033] Furthermore, this application also proposes a desktop computer remote control system, which includes:
[0034] When the microcontroller receives a control signal sent from the cloud, it obtains the working status of the desktop computer. When the control signal matches the working status of the desktop computer, it sends a low pulse signal corresponding to the control signal to the embedded controller.
[0035] An embedded controller controls the microcontroller to enable power supply, and upon receiving a low pulse signal from the microcontroller, performs a corresponding operation based on the low pulse signal.
[0036] In addition, this application also proposes a desktop remote control device, which includes a memory, a processor, and a desktop remote control program stored in the memory and executable on the processor. When the processor executes the desktop remote control program, it implements the steps of the desktop remote control method described above.
[0037] Furthermore, this application also proposes a computer-readable storage medium storing a desktop remote control program, which, when executed by a processor, implements the steps of the desktop remote control method described above.
[0038] One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
[0039] 1. By employing a method where the desktop computer's operating state is determined when the microcontroller receives a power-on command from the cloud; when the operating state matches the power-on command, the control communication module wakes up the microcontroller and exits low-power mode; the control pulse transmission module transmits a low-pulse power-on signal to the embedded controller; and when the embedded controller receives the low-pulse power-on signal from the microcontroller, it initiates the power-on sequence and waits for the desktop computer's operating system to start. Therefore, this effectively solves the technical problem in related technologies where remote power-on cannot be achieved when the desktop computer's hardware is powered off, achieving the technical effect of remote power-on in a hardware-power-off state while meeting low-power requirements. Attached Figure Description
[0040] Figure 1 This is a flowchart illustrating an embodiment of the desktop computer remote control method of this application;
[0041] Figure 2 This is a flowchart illustrating the shutdown process of Embodiment 2 of the desktop computer remote control method of this application;
[0042] Figure 3 This is a flowchart illustrating the wake-up process of Embodiment 2 of the desktop remote control method of this application;
[0043] Figure 4 This is a schematic diagram of the communication between the microcontroller unit and the user terminal in Embodiment 2 of the desktop remote control method of this application;
[0044] Figure 5 This is a communication diagram related to an embodiment of the desktop remote control system of this application;
[0045] Figure 6 This is a schematic diagram of the communication involved in power-on / off and wake-up in the embodiment of the desktop remote control system of this application;
[0046] Figure 7 This is a schematic diagram of the hardware structure involved in the embodiment of the desktop remote control device of this application. Detailed Implementation
[0047] In related technologies, remote power-on, power-off, or wake-up can only be achieved in two states: Suspend (S3) and Soft off (S5) via wired or wireless LAN, which cannot meet the low-power requirements. The main technical solution adopted in this application is as follows: when the microcontroller receives a power-on command sent from the cloud, it determines the working state of the desktop computer; when the working state matches the power-on command, it controls the communication module to wake up the microcontroller and exit the low-power mode; it controls the pulse transmission module to transmit a low-pulse power-on signal to the embedded controller; when the embedded controller receives the low-pulse power-on signal transmitted by the microcontroller, it initiates the power-on sequence and waits for the desktop computer's operating system to start. Thus, remote power-on is achieved when the desktop computer is in a hardware-off state under low-power conditions.
[0048] To better understand the above technical solutions, exemplary embodiments of this application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of this application and to fully convey the scope of this application to those skilled in the art.
[0049] Example 1
[0050] Embodiment 1 of this application discloses a method for remote control of a desktop computer, referring to... Figure 1 The desktop computer remote control method includes:
[0051] Step S110: When the microcontroller receives the power-on command sent from the cloud, determine the working status of the desktop computer;
[0052] Step S120: When the working state matches the power-on command, the control communication module wakes up the microcontroller and exits the low-power mode.
[0053] Optionally, when the microcontroller is in the low-power mode, only the memory of the communication module is active on the microcontroller. When the microcontroller is in normal operating mode, i.e., active state, the communication module is either initializing or connected to a Wi-Fi network.
[0054] For example, when the microcontroller is in low-power mode, it does not receive the specific content of the instruction. When an instruction is sent from the cloud, the communication module's RAM responds to the instruction, activates the communication module, and determines whether it is a power-on instruction. If it is a power-on instruction, it determines the desktop's operating status. If it is not a power-on instruction, the communication module enters sleep mode, resuming a state where only the RAM is active.
[0055] In this embodiment, the desktop computer operates in three states: powered on, powered off, and in sleep mode. The microcontroller unit is mounted on the motherboard of the desktop computer.
[0056] As an optional implementation, when the Wi-Fi module on the microcontroller receives a power-on command from the cloud, it determines the operating state of the desktop computer where the microcontroller is located. When the operating state matches the power-on command, the Wi-Fi module on the microcontroller wakes up the microcontroller via a built-in command, thereby controlling the microcontroller to exit low-power mode. Specifically, when the microcontroller is in low-power mode, only the RAM (running memory) of the microcontroller's Wi-Fi module is powered on.
[0057] For example, when the microcontroller unit is in a low-power state, the Wi-Fi module receives an instruction from the cloud, activates the Wi-Fi module, and wakes up the microcontroller unit when the instruction is a power-on instruction and the desktop computer is powered off. If the desktop computer is not powered off, the Wi-Fi module is turned off, restoring only the Wi-Fi module's RAM to power-on state.
[0058] For example, when the working state is power off and the received instruction is power on, it is determined that the instruction matches the working state;
[0059] For example, when the working state is power on and the received instruction is power off, it is determined that the instruction matches the working state;
[0060] For example, when the working state is sleep and the received instruction is wake-up, it is determined that the instruction matches the working state.
[0061] Step S130: Control the pulse transmitting module to transmit a low pulse power-on signal to the embedded controller;
[0062] Step S140: When the embedded controller receives the low-pulse power-on signal transmitted by the microcontroller unit, it starts the power-on sequence and waits for the desktop computer's operating system to start.
[0063] In this embodiment, the pulse transmitting module can send a signal of a preset frequency to the embedded controller; the embedded controller is installed on the motherboard of the desktop computer.
[0064] As an optional implementation, after exiting the low-power mode, the microcontroller controls the pulse emission module to transmit a 100-millisecond low-pulse power-on signal to the embedded controller; after receiving the power-on signal, the embedded controller starts the desktop computer's power-on sequence, waits for the desktop computer's operating system to start, and completes the power-on process.
[0065] As another optional implementation, the desktop computer is used to analyze the data collected by the sensors in the field. For example, when conducting field experiments, sensors need to be deployed in the field to collect the required data, and the data is transmitted to a desktop computer in the computer room of the field camp at regular intervals. Since field camps usually use solar energy or generators for power generation and are unattended for long periods of time, it is necessary to remotely control the desktop computer to turn on and off, and the power consumption of the desktop computer needs to be as low as possible when it is turned off.
[0066] For example, after the field sensor collects data, it sends it to the data storage device at the campsite. This data storage device is communicatively connected to a desktop computer. At this time, the desktop computer is in a hardware shutdown state, and the microcontroller unit (MCU) is in low-power mode to meet the low-power requirements of the campsite. Upon receiving a power-on command, if the desktop computer is in a shutdown state, the MCU controls the MCU to exit low-power mode, and the embedded controller executes the power-on sequence. After power-on, the desktop computer receives and processes the data stored in the data storage device. After data processing is complete, the user clicks "remote shutdown." Upon receiving the shutdown command from the cloud, the MCU notifies the embedded controller to execute the shutdown sequence. After shutdown, the MCU enters low-power mode to meet the low-power requirements of the campsite.
[0067] In this embodiment, the microcontroller and the embedded controller are mounted on the motherboard of the desktop computer. The embedded controller establishes a communication connection with the processor on the motherboard via ESPI (Enhanced Serial Peripheral). The low pulse is a pulse signal with a frequency less than 1000 Hz.
[0068] For example, the microcontroller unit is used for: connecting to a WiFi network and maintaining low-power activity with the cloud; connecting a user's mobile phone to a WiFi network and maintaining activity with the cloud; establishing a cloud link between the desktop and the user's mobile phone; parsing data sent by the user's mobile phone through the cloud; transmitting a 100ms low-pulse signal via GPIO (General-purpose input / output) to notify the embedded controller to power on, power off, and wake up the desktop; providing a set of UARTs (Universal Asynchronous Receiver Transmitter) for upgrading the microcontroller unit; and providing a set of UARTs for the output and input of the microcontroller unit's message log, facilitating feedback of errors that occur during operation.
[0069] For example, the embedded controller is used to: turn the low-power microcontroller active; initiate the power-on sequence; provide a set of I2C interfaces to connect to the microcontroller for information exchange between the embedded controller and the microcontroller; provide a GPIO to acquire the power-on signal sent by the microcontroller; and provide a GPIO for enabling the microcontroller.
[0070] The technical solutions described in the embodiments of this application have at least the following technical effects or advantages:
[0071] By employing a method where the desktop computer's operating state is determined when the microcontroller receives a power-on command from the cloud; when the operating state matches the power-on command, the control communication module wakes up the microcontroller and exits low-power mode; the control pulse transmission module transmits a low-pulse power-on signal to the embedded controller; and when the embedded controller receives the low-pulse power-on signal from the microcontroller, it initiates the power-on sequence and waits for the desktop computer's operating system to start. Therefore, this effectively solves the technical problem in related technologies where remote power-on cannot be achieved when the desktop computer's hardware is powered off, achieving the technical effect of remote power-on in a hardware-power-off state while meeting low-power requirements.
[0072] Example 2
[0073] Based on Embodiment 1, Embodiment 2 of this application discloses a method for remotely controlling a desktop computer, referring to... Figure 2 After step S140, the following steps are also included:
[0074] Step S210: When the microcontroller receives a shutdown command sent from the cloud, determine the working status of the desktop computer;
[0075] Step S220: When the working state is power-on, control the pulse transmitting module to transmit a low pulse power-off signal to the embedded controller;
[0076] Step S230: When the embedded controller receives the low-pulse shutdown signal transmitted by the microcontroller, it starts the shutdown sequence and waits for the desktop computer's operating system to shut down.
[0077] Step S240: After detecting that the desktop computer is powered off, control the microcontroller unit to enter the low-power mode.
[0078] In this embodiment, the low-pulse shutdown signal is a 100-millisecond low-pulse shutdown signal.
[0079] As an optional implementation, when the Wi-Fi module of the microcontroller receives a shutdown command sent from the cloud, it determines the working state of the desktop computer. When the desktop computer is powered on, it determines that the working state matches the received command and controls the pulse transmitting module to transmit a 100-millisecond low-pulse shutdown signal to the embedded controller. After receiving the shutdown signal, the embedded controller starts the shutdown sequence and waits for the desktop computer's operating system to shut down. When the desktop computer's shutdown process reaches stage G3, it controls the microcontroller to enter a low-power mode.
[0080] Optional, refer to Figure 3 After step S140, the following steps are also included:
[0081] Step S250: When the microcontroller receives a wake-up command sent from the cloud, the working status of the desktop computer is determined.
[0082] Step S260: When the working state is sleep state, control the pulse transmission module to transmit a low pulse wake-up signal to the embedded controller;
[0083] Step S270: When the embedded controller receives the low pulse wake-up signal emitted by the microcontroller unit, it starts the wake-up timing sequence and waits for the desktop operating system to wake up.
[0084] In this embodiment, sleep state refers to the desktop computer entering a normal sleep mode while powered on. At this time, the microcontroller unit operates in the same normal mode as the desktop computer when powered on, and is in an active state. The WiFi module is also initializing and connecting to the WiFi network.
[0085] As an optional implementation, when the microcontroller receives a wake-up command sent from the cloud, it determines whether the desktop computer is in a sleep state. If it is in a sleep state, it controls the pulse transmitting module to transmit a 100-millisecond low-pulse wake-up signal to the embedded controller. After receiving the wake-up signal, the embedded controller starts the wake-up sequence and waits for the desktop computer's operating system to start.
[0086] Optional, refer to Figure 4 The user terminal runs on a device, which can be a mobile application or an application running on a desktop computer. The user sends power-on, power-off, and wake-up commands to the cloud via the user terminal; after receiving the commands, the cloud sends them to the microcontroller unit, i.e. Figure 4 The Remote Boot module sends the command, wherein the microcontroller is equipped with a Wi-Fi antenna for receiving commands sent from the cloud.
[0087] The technical solutions described in the embodiments of this application have at least the following technical effects or advantages:
[0088] By employing a method where the desktop computer's operating state is determined upon receiving a shutdown command from the cloud by the microcontroller unit; when the operating state is power-on, the pulse transmitting module is controlled to transmit a low-pulse shutdown signal to the embedded controller; upon receiving the low-pulse shutdown signal from the microcontroller unit, the embedded controller initiates a shutdown sequence, waiting for the desktop computer's operating system to shut down; and after detecting that the desktop computer is powered off, the microcontroller unit is controlled to enter the low-power mode. Therefore, this effectively solves the technical problem in related technologies where remote power-on is not possible while the desktop computer is in a hardware shutdown state, achieving the technical effect of remote power-on while meeting low-power requirements.
[0089] Example 3
[0090] Based on Embodiment 1, Embodiment 3 of this application discloses a method for remotely controlling a desktop computer, which further includes the following steps before step S10:
[0091] Step S310: Obtain the remote power-on feature activation command received by the basic input / output system interface, and open the communication connection between the microcontroller unit and the desktop motherboard according to the activation command.
[0092] Step S320: After the communication connection is completed, the communication interface between the embedded controller and the microcontroller is established;
[0093] Step S330: Control the microcontroller to enable power supply and enter the low power mode.
[0094] In this embodiment, the basic input / output system is the BIOS system of a desktop computer, wherein the microcontroller unit is disabled by default in the BIOS.
[0095] As an optional implementation, when the BIOS system interface receives an enable command for the remote power-on feature, the direct connection channel between the microcontroller and the motherboard processor is opened; the GPIO interface between the microcontroller and the embedded controller is opened; and the embedded controller controls the microcontroller to become active through the GPIO interface.
[0096] For example, after the microcontroller is activated for the first time, it is in a low-power state. After the desktop computer exits the BIOS system and restarts, the microcontroller exits the low-power state and enters the normal working state.
[0097] Optionally, after step S310, the following steps are also included:
[0098] Step S340: Obtain the selected operation received by the basic input / output system interface, and set the remote power-on feature of the microcontroller unit according to the selected operation;
[0099] Step S350: When the remote power-on feature of the microcontroller is enabled, the embedded controller controls the power-on pin of the microcontroller to be powered on.
[0100] Step S360: Upon receiving upgrade data sent by the universal asynchronous transceiver, perform firmware upgrade on the microcontroller according to the upgrade data.
[0101] In this embodiment, after the microcontroller establishes a communication connection with the motherboard processor and the embedded controller, the "Remote Power-On Feature" button in the BIOS interface is unhidden.
[0102] As an optional implementation, after the "remote power-on feature" button is detected to be triggered, the remote power-on feature of the microcontroller is controlled to be turned on or off according to the state after the trigger; when the remote power-on feature of the microcontroller is turned on, the embedded controller controls the power on pin of the microcontroller to be powered on; after the desktop computer is powered on, if upgrade data sent by the universal asynchronous transceiver is received, the processor upgrades the microcontroller through the UART communication interface.
[0103] Optionally, step S110 includes:
[0104] In step S370, the microcontroller sends a host status request to the embedded controller through the host status indication interface;
[0105] Step S380: After receiving the host status request, the embedded controller obtains the working information of the desktop computer and returns the working information to the microcontroller unit.
[0106] Step S390: The microcontroller determines the working state based on the working information.
[0107] As an optional implementation, when a power-on command is received from the cloud, the microcontroller sends a host status request to the embedded controller via the host power-on / off status indication GPIO. After receiving the host status request, the embedded controller queries the desktop's operating information and returns it to the microcontroller via the host power-on / off status indication GPIO based on the operating information, so that the microcontroller can determine the desktop's operating status based on the operating information.
[0108] The technical solutions described in the embodiments of this application have at least the following technical effects or advantages:
[0109] Because it adopts a microcontroller unit that can be configured and upgraded through the BIOS system interface, it effectively solves the technical problem of not being able to remotely power on a desktop computer when the hardware is off, and achieves the technical effect of remote power-on when the hardware is off while meeting the requirements of low power consumption.
[0110] This application also proposes a desktop computer remote control system, the desktop computer remote control system comprising:
[0111] When the microcontroller receives a control signal sent from the cloud, it obtains the working status of the desktop computer. When the control signal matches the working status of the desktop computer, it sends a low pulse signal corresponding to the control signal to the embedded controller.
[0112] An embedded controller controls the microcontroller to enable power supply, and upon receiving a low pulse signal from the microcontroller, performs a corresponding operation based on the low pulse signal.
[0113] In this embodiment, the communication connection between the microcontroller unit, the embedded controller, and the processor is as follows: Figure 5 As shown.
[0114] For example, the host power-on / off status (GPIO) is as follows: The desktop computer pulls the GPIO high when powered on and low when powered off, connecting to the microcontroller's sleep / wake-up interrupt GPIO interface for the microcontroller to poll the host's power-on / off status. The PowerButton indicator (GPIO) is pulled high when the microcontroller receives a power-on command, indicating a PowerButton indication. Power-on / off control (GPIO) and restart control (GPIO) are also provided: One GPIO from the embedded controller and one from the main chip are connected via logic gates to the microcontroller's Power On pin, controlling the microcontroller's power-on / off and restart. The processor upgrades or maintains the microcontroller via UART. The processor and embedded controller communicate via ESPI.
[0115] Optional, such as Figure 6 As shown, the processor controls the microcontroller to enable or disable the remote power-on / off feature via a direct connection channel. The processor and the embedded controller communicate via ESPI. The embedded controller controls the power supply of the terminal. The microcontroller controls the power button level to represent the PowerButton indication, thereby controlling the embedded controller to complete power-on, power-off, or wake-up.
[0116] This application also proposes a desktop computer remote control device, referring to... Figure 7 , Figure 7 This is a schematic diagram of the desktop remote control device structure of the hardware operating environment involved in the embodiments of this application.
[0117] like Figure 7 As shown, the desktop remote control device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0118] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on desktop remote control devices and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0119] Optionally, the memory 1005 is electrically connected to the processor 1001. The processor 1001 can be used to control the operation of the memory 1005 and can also read data in the memory 1005 to realize remote control of the desktop computer.
[0120] Optionally, such as Figure 7 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and a desktop remote control program.
[0121] Optionally, in Figure 7 In the desktop remote control device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and memory 1005 in the desktop remote control device of this application can be set in the desktop remote control device.
[0122] like Figure 7As shown, this method is applied to a desktop computer, which includes a microcontroller unit and an embedded controller for remote control. The desktop remote control device calls the desktop remote control program stored in the memory 1005 through the processor 1001 and executes the relevant steps of the desktop remote control method provided in this embodiment of the application.
[0123] When the microcontroller receives a power-on command sent from the cloud, it determines the working status of the desktop computer;
[0124] When the operating state matches the power-on command, the control communication module wakes up the microcontroller and exits the low-power mode;
[0125] The control pulse transmitting module transmits a low-pulse power-on signal to the embedded controller;
[0126] When the embedded controller receives the low-pulse power-on signal emitted by the microcontroller unit, it initiates the power-on sequence and waits for the desktop computer's operating system to start.
[0127] Optionally, the processor 1001 may call a desktop remote control program stored in the memory 1005 and also perform the following operations:
[0128] When the microcontroller receives a shutdown command sent from the cloud, it determines the working status of the desktop computer;
[0129] When the operating state is power-on, the pulse transmitting module is controlled to transmit a low-pulse power-off signal to the embedded controller.
[0130] When the embedded controller receives the low-pulse shutdown signal transmitted by the microcontroller, it initiates the shutdown sequence and waits for the desktop computer's operating system to shut down.
[0131] After detecting that the desktop computer is powered off, the microcontroller unit is controlled to enter the low-power mode.
[0132] Optionally, the processor 1001 may call a desktop remote control program stored in the memory 1005 and also perform the following operations:
[0133] When the microcontroller receives a wake-up command sent from the cloud, it determines the working status of the desktop computer;
[0134] When the working state is sleep state, the pulse transmission module is controlled to transmit a low pulse wake-up signal to the embedded controller;
[0135] When the embedded controller receives the low-pulse wake-up signal emitted by the microcontroller unit, it initiates the wake-up sequence and waits for the desktop operating system to wake up.
[0136] Optionally, the processor 1001 may call a desktop remote control program stored in the memory 1005 and also perform the following operations:
[0137] The system receives a remote power-on command from the basic input / output system interface and opens the communication connection between the microcontroller unit and the desktop motherboard according to the command.
[0138] After the communication connection is established, the communication interface between the embedded controller and the microcontroller is opened;
[0139] The microcontroller is controlled to enable power supply and enter the low-power mode.
[0140] Optionally, the processor 1001 may call a desktop remote control program stored in the memory 1005 and also perform the following operations:
[0141] The selected operation received by the basic input / output system interface is obtained, and the remote power-on feature of the microcontroller is set according to the selected operation.
[0142] When the remote power-on feature of the microcontroller is enabled, the embedded controller controls the power-on pin of the microcontroller to be energized.
[0143] Upon receiving upgrade data from the universal asynchronous transceiver, the microcontroller is upgraded with firmware based on the upgrade data.
[0144] Optionally, the processor 1001 may call a desktop remote control program stored in the memory 1005 and also perform the following operations:
[0145] The microcontroller sends a host status request to the embedded controller through the host status indication interface;
[0146] After receiving the host status request, the embedded controller obtains the desktop computer's operating information and returns the operating information to the microcontroller unit.
[0147] The microcontroller determines the operating status based on the operating information.
[0148] Optionally, when the microcontroller is in the low-power mode, only the running memory of the communication module on the microcontroller is active.
[0149] Furthermore, this application also proposes a computer-readable storage medium storing a desktop remote control program, which, when executed by a processor, implements the relevant steps of any embodiment of the desktop remote control method described above.
[0150] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0151] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0152] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0153] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0154] It should be noted that any reference signs placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. This application can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0155] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0156] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for remotely controlling a desktop computer, characterized in that, Applied to a desktop computer, the desktop computer includes a microcontroller unit and an embedded controller for remote control, and the remote control method for the desktop computer includes: When the microcontroller receives an instruction sent from the cloud, the running memory of the microcontroller's communication module responds to the instruction, activates the communication module, and determines whether it is a power-on instruction. If it is a power-on command, determine the working status of the desktop computer; When the working state is G3 hardware shutdown state and the power-on command is used to power on, the control communication module wakes up the microcontroller and exits the low-power mode. When the microcontroller is in the low-power mode, only the running memory of the communication module on the microcontroller is active. The control pulse transmitting module transmits a low-pulse power-on signal to the embedded controller; When the embedded controller receives the low-pulse power-on signal emitted by the microcontroller unit, it initiates the power-on sequence and waits for the desktop computer's operating system to start.
2. The desktop computer remote control method as described in claim 1, characterized in that, After the step of initiating the power-on sequence and waiting for the host operating system to start when the embedded controller receives a low-pulse power-on signal transmitted by the microcontroller, the method further includes: When the microcontroller receives a shutdown command sent from the cloud, it determines the working status of the desktop computer; When the operating state is power-on, the pulse transmitting module is controlled to transmit a low-pulse power-off signal to the embedded controller. When the embedded controller receives the low-pulse shutdown signal transmitted by the microcontroller, it initiates the shutdown sequence and waits for the desktop computer's operating system to shut down. After detecting that the desktop computer is powered off, the microcontroller unit is controlled to enter the low-power mode.
3. The desktop computer remote control method as described in claim 1, characterized in that, After the step of initiating the power-on sequence and waiting for the host operating system to start when the embedded controller receives a low-pulse power-on signal transmitted by the microcontroller, the method further includes: When the microcontroller receives a wake-up command sent from the cloud, it determines the working status of the desktop computer; When the working state is sleep state, the pulse transmission module is controlled to transmit a low pulse wake-up signal to the embedded controller; When the embedded controller receives the low-pulse wake-up signal emitted by the microcontroller unit, it initiates the wake-up sequence and waits for the desktop operating system to wake up.
4. The desktop computer remote control method as described in claim 1, characterized in that, Before the step of determining the working status of the desktop computer when the microcontroller receives the power-on command sent from the cloud, the method further includes: The system receives a remote power-on command from the basic input / output system interface and opens the communication connection between the microcontroller unit and the desktop motherboard according to the command. After the communication connection is established, the communication interface between the embedded controller and the microcontroller is opened; The microcontroller is controlled to enable power supply and enter the low-power mode.
5. The desktop computer remote control method as described in claim 4, characterized in that, After the step of establishing the communication interface between the embedded controller and the microcontroller unit after the communication connection is completed, the method further includes: The selected operation received by the basic input / output system interface is obtained, and the remote power-on feature of the microcontroller is set according to the selected operation. When the remote power-on feature of the microcontroller is enabled, the embedded controller controls the power-on pin of the microcontroller to be energized. Upon receiving upgrade data from the universal asynchronous transceiver, the microcontroller is upgraded with firmware based on the upgrade data.
6. The desktop computer remote control method as described in claim 1, characterized in that, Determining the working status of the desktop computer includes: The microcontroller sends a host status request to the embedded controller through the host status indication interface; After receiving the host status request, the embedded controller obtains the desktop computer's operating information and returns the operating information to the microcontroller unit. The microcontroller determines the operating status based on the operating information.
7. The desktop computer remote control method as described in claim 1, characterized in that, When the microcontroller is in the low-power mode, only the running memory of the communication module is active on the microcontroller.
8. A desktop computer remote control system, characterized in that, The desktop remote control system includes: When the microcontroller receives an instruction from the cloud, the running memory of the communication module of the microcontroller responds to the instruction, activates the communication module, and determines whether it is a power-on instruction. If it is a power-on instruction, the working state of the desktop computer is determined. When the working state is the G3 hardware shutdown state and the power-on instruction is given, the communication module is controlled to wake up the microcontroller and exit the low-power mode. In the low-power mode, only the running memory of the communication module on the microcontroller is active. The pulse transmission module is controlled to transmit a low-pulse power-on signal to the embedded controller. An embedded controller controls the microcontroller to enable power supply, and upon receiving a low pulse signal from the microcontroller, performs a corresponding operation based on the low pulse signal.
9. A desktop computer remote control device, characterized in that, The system includes a memory, a processor, and a desktop remote control program stored in the memory and executable on the processor. When the processor executes the desktop remote control program, it implements the steps of the desktop remote control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a desktop remote control program, which, when executed by a processor, implements the steps of the desktop remote control method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Remote wakening system and terminal based on WAN module
CN101154255A
Method, device and system for remote startup and shutdown
CN103412629A