WO2015158161A1 - Sleep control method, apparatus and system for virtual desktop - Google Patents

Sleep control method, apparatus and system for virtual desktop Download PDF

Info

Publication number
WO2015158161A1
WO2015158161A1 PCT/CN2015/070050 CN2015070050W WO2015158161A1 WO 2015158161 A1 WO2015158161 A1 WO 2015158161A1 CN 2015070050 W CN2015070050 W CN 2015070050W WO 2015158161 A1 WO2015158161 A1 WO 2015158161A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
sleep
server
application
virtual machine
Prior art date
Application number
PCT/CN2015/070050
Other languages
French (fr)
Chinese (zh)
Inventor
江志敏
郑晓光
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015158161A1 publication Critical patent/WO2015158161A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • Embodiments of the present invention relate to information technology, and in particular, to a sleep control method, apparatus, and system for a virtual desktop.
  • the typical Virtual Desktop Infrastructure (VDI) architecture generally includes at least one A server device and a virtual desktop client.
  • the virtual desktop client is usually called a thin client (TC).
  • the TC accesses the server device through the desktop protocol client software on the operating system to obtain the remote desktop service.
  • the server device is used to provide a remote desktop, and the user's virtual desktop system exists in the form of a virtual machine (VM) on the remote desktop server.
  • VM virtual machine
  • the sleep setting of the thin terminal is usually turned off, thereby preventing the user from watching the video or listening to the conference, etc., without a keyboard or for a long time.
  • this setting allows the display to remain active when the user leaves for a long time, which not only consumes power, but also causes loss of display life.
  • the embodiment of the invention provides a method, a device and a system for controlling the sleep of a virtual desktop, so as to overcome the problem that the display enters the hibernation and affects the normal use of the user when the user is using an application that does not require the user to operate.
  • an embodiment of the present invention provides a virtual desktop sleep control method, which is used for a virtual desktop system including a server and a client, where the server runs a virtual connection with the client.
  • the method includes:
  • the server sends an allow sleep indication to the client to indicate that the client enters a sleep state
  • the server sends a disable sleep indication to the client to instruct the client to prohibit entering the sleep state.
  • the server before the server device receives the sleep request message sent by the client, the server includes:
  • the server sends a preset sleep threshold to the client, so that the client monitors whether the input device of the client does not input the operation time exceeds the preset according to the preset sleep threshold. Sleep threshold.
  • the server sends an allowable sleep indication to the client to indicate that the client enters the sleep state, and further includes:
  • the server stops sending image data to the client through a remote desktop protocol.
  • the server sends the After the client sends the allowable sleep indication to indicate that the client enters the sleep state, the method further includes:
  • the server receives the wakeup message sent by the client
  • the server continues to send image data to the client through the remote desktop protocol according to the wakeup message.
  • the embodiment of the present invention provides a method for controlling a dormancy of a virtual desktop, which is used for a virtual desktop system including a server and a client, where the server runs a virtual machine connected to the client; include:
  • the client monitors its own input device
  • the client sends a sleep request message to the server when it detects that the input device has no input operation for more than a preset sleep threshold
  • the client When receiving the allowed sleep indication sent by the server, the client controls the client to enter a sleep state;
  • the client controls the client to prohibit entering the sleep state.
  • the method further includes:
  • the client prohibits the dormancy processing of the client by the power management module of the operating system of the client.
  • the method further includes:
  • the client When the client detects that the input device has an input operation, the client sends a wake-up message to the server, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
  • the client before the client monitors the input device of the second aspect, the client further includes:
  • the client acquires a preset sleep threshold from the server.
  • an embodiment of the present invention provides a sleep control apparatus for a virtual desktop, including:
  • a transceiver module configured to receive a sleep request message sent by the client
  • a processing module configured to determine, according to the sleep request message, whether an application having an operation-free class is run on a virtual machine connected to the client, where the application of the operation-free type refers to an input that does not need the client An application for the device to perform input operations;
  • the transceiver module is further configured to: if the processing module determines that the application of the operation-free class is not running on the virtual machine of the client, send an allowable sleep indication to the client, to indicate that the client enters a sleep state ;
  • the transceiver module is further configured to: if the determining module determines that the virtual machine of the client runs an application of the operation-free class, send a prohibition sleep indication to the client, to instruct the client to prohibit entering the sleep state .
  • the transceiver module is further configured to:
  • the client Before receiving the sleep request message sent by the client, sending a preset sleep threshold to the client, so that the client monitors the time when the input device of the client does not input the operation according to the preset sleep threshold. Whether the preset sleep threshold is exceeded.
  • the transceiver module is further configured to:
  • the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client stops entering the sleep state
  • the desktop protocol sends image data to the client.
  • the transceiver module is further configured to:
  • the transceiver module sends an allowable sleep indication to the client to indicate that the client enters a sleep state
  • a fourth aspect of the present invention provides a sleep control apparatus for a virtual desktop, including:
  • a detection module for monitoring an input device of the client itself
  • the transceiver module is configured to send a sleep request message to the server when the time when the input device does not input operation exceeds the preset sleep threshold;
  • control module configured to control the client to enter a sleep state if the transceiver module receives an allowable sleep indication sent by the server;
  • the control module is further configured to control the client to prohibit entering a sleep state if the transceiver module receives the prohibition sleep indication sent by the server.
  • control module is further configured to:
  • the transceiver module receives the forbidden sleep indication sent by the server, after the control module controls the client to prohibit entering the sleep state, the power management module of the operating system of the client is prohibited from being used by the client. Sleep processing.
  • the transceiver module is further configured to:
  • the control module controls the client to enter a sleep state, and when the detection module detects that the input device has an operation, The server sends a wake-up message, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
  • the transceiver module is further configured to: before the detecting module monitors the input device of the client,
  • the fifth aspect of the present invention provides a sleep control system for a virtual desktop, comprising: a sleep control device of the virtual desktop according to the third aspect, a sleep control device of the virtual desktop according to the fourth aspect, and a display and input device.
  • the server device receives the display sleep request message sent by the thin terminal, and triggers whether the virtual machine corresponding to the thin terminal runs the operation-free software, and obtains the judgment result. And sending a display sleep response message to the thin terminal according to the determination result, which avoids that the thin terminal sets the display to sleep after the software is running on the thin terminal for a period of time, thereby affecting the user to use the virtual desktop service.
  • Embodiment 1 is a flowchart of Embodiment 1 of a sleep control method for a virtual desktop according to the present invention
  • Embodiment 2 is a flowchart of Embodiment 2 of a sleep control method for a virtual desktop according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a sleep control method for a virtual desktop according to the present invention
  • Embodiment 4 is a schematic structural diagram of Embodiment 1 of a sleep control apparatus for a virtual desktop according to the present invention
  • Embodiment 2 is a schematic structural diagram of Embodiment 2 of a sleep control apparatus for a virtual desktop according to the present invention
  • FIG. 6 is a schematic structural diagram of an embodiment of a sleep control system of a virtual desktop according to the present invention.
  • FIG. 1 is a flowchart of a first embodiment of a method for controlling a dormancy of a virtual desktop according to the present invention.
  • the method is applied to a virtual desktop system including a server and a client, where the server runs a virtual machine connected to the client.
  • the method in this embodiment may include:
  • Step 101 The server receives a sleep request message sent by the client.
  • the server runs a virtual machine allocated to the client, and the server provides a virtual desktop service carrier.
  • the user's desktop system exists in the form of a virtual machine (VM).
  • VM virtual machine
  • the client of the virtual desktop is usually called a thin client (TC), which is also called a thin terminal.
  • the client can be in the form of a general computer, a tablet, a smart phone, etc., and the client can be connected with a display. Or an output device such as a display, and any one or more input devices such as a keyboard, a mouse, or a touch screen.
  • the client may perform data communication with the server of the virtual machine that provides the client in the server group through the access gateway.
  • the sleep request message may be hibernation request information sent to the server when the client detects that the input device of the client does not input the operation exceeds a preset sleep threshold.
  • the dormancy request message may include an identifier of the client.
  • the server may further include:
  • the server sends a preset sleep threshold to the client, so that the client monitors whether the input device of the client does not input the operation time exceeds the preset according to the preset sleep threshold. Sleep threshold.
  • the server may send the dormancy threshold request message of the client to the management system to obtain a dormancy threshold of the client.
  • the management system may be a background management system of the server.
  • the maintenance threshold of the client may be set by the maintenance personnel of the management system on the management system.
  • the server may not send the set sleep threshold of the client to the client, where the configured sleep threshold of the client may be set by the client.
  • Step 102 The server determines, according to the sleep request message, whether an application of an operation-free class is run on a virtual machine connected to the client, where the application of the operation-free type refers to that the client is not required.
  • the input device of the input device for input operations.
  • the application of the operation-free type may be an application such as a video player or a conference program, and the applications are prone to use for a period of time without requiring the user to input through the input device.
  • the server may query, according to the identifier information of the client included in the sleep request message, the program information running on the virtual machine connected to the client, and then determine whether the virtual machine connected to the client is running.
  • the application of the operation class for example, the program name or process name of the application of the operation-free class.
  • Step 103 If it is determined that the application of the operation-free class is not running on the virtual machine of the client, the server sends an allow sleep indication to the client to indicate that the client enters a sleep state.
  • the server sends an allowable sleep indication to the client to indicate that the client enters a dormant state, which may specifically include:
  • the server sends an allowable sleep indication to the client to indicate that the display of the client enters a sleep state.
  • Step 104 If it is determined that the application of the operation-free class is running on the virtual machine of the client, the server sends a disable sleep indication to the client to instruct the client to prohibit entering the sleep state.
  • the server sends a forbidden sleep indication to the client, to indicate that the client is prohibited from entering the sleep state, and may specifically include:
  • the server sends an allowable sleep indication to the client to indicate that the display of the client is prohibited from entering a sleep state.
  • the server receives the sleep request message sent by the client, and the server determines whether the virtual machine connected to the client runs the application of the operation-free class, and if the application of the operation-free class is not running, the sleep is allowed to be sent.
  • the indication is to indicate that the client enters hibernation, and if the application with the operation-free class is running, a disable sleep indication is sent to indicate that the client is prohibited from entering hibernation, and the client is prevented from being positive.
  • the client After running the software that does not need to input the operation for a period of time, the client sets the display to sleep and affects the user to use the virtual desktop service, and if the user does not run the operation-free software on the client and leaves for a long time without input operation, the client can Going to sleep saves power and reduces the loss of display life.
  • the server sends the permission to sleep indication to the client to indicate that the client enters the sleep state, and further includes:
  • the server stops sending image data to the client through a remote desktop protocol.
  • the image data is real-time display information of the user's desktop system
  • the server converts the real-time display information of the user's desktop system into image data and sends it to the client through the remote desktop protocol.
  • the server device sends a display sleep response message to the client
  • the server may stop sending data to the client to save software resources and hardware resources on the server.
  • the server sends an allowable sleep indication to the client, to indicate that the client enters a sleep state, and further includes:
  • the server receives the wakeup message sent by the client
  • the server continues to send image data to the client through the remote desktop protocol according to the wakeup message.
  • the wake-up message sent by the client is sent when the client detects that an input device such as a keyboard or a mouse has an input operation, or is sent according to a wake-up condition set by the client itself.
  • the client may continue to detect whether an input device such as a keyboard and a mouse acquires an input operation, and if the input operation is obtained, the client may The server sends a wake-up message.
  • an input device such as a keyboard and a mouse acquires an input operation
  • the client may further set a wakeup condition, such as a timed wakeup, and the client may wake up the client's own software to send the wakeup message to the server when the wakeup condition of the timed wakeup arrives.
  • a wakeup condition such as a timed wakeup
  • the server may resume sending data to the client, so that the client can restore the display of the user's desktop in time according to the needs of the user.
  • FIG. 2 is a flowchart of a second embodiment of a method for controlling a dormancy of a virtual desktop according to the present invention.
  • the method is applied to a virtual desktop system including a server and a client, where the server is connected to the client.
  • the virtual machine as shown in FIG. 2, the method in this embodiment may include:
  • Step 201 The client monitors its own input device.
  • Step 202 The client sends a sleep request message to the server when it detects that the input device does not input the operation for more than a preset sleep threshold.
  • the client When the input device of the client does not receive an input operation for a period of time, the client should determine whether to set the display to sleep to save power and reduce unnecessary loss of the device.
  • the client can connect an input device such as a keyboard, a mouse, a touch screen, etc. to obtain an input operation of the user.
  • the sleep threshold may be a time period in which one of the detection input devices set on the client has no input operation.
  • the client may restart the timer of the sleep threshold.
  • the client may send a sleep request message to the server.
  • Step 203 When the client receives the allowable sleep indication sent by the server, the client controls the client to enter a sleep state.
  • the allowed sleep indication is sent after the server receives the sleep request message according to the sleep request message, and determines that the application of the operation-free type is not running on the virtual machine of the client.
  • the application of the operation-free type may be an application such as a video player or a conference program, and such an application is prone to a period of time during which the user does not need to perform an input operation.
  • the server may determine whether the operation-free software is running according to the program information running on the virtual machine corresponding to the client. For example, the server may determine whether the virtual operation on the virtual machine connected to the client is running.
  • the program name or process name of the class application may be an application such as a video player or a conference program, and such an application is prone to a period of time during which the user does not need to perform an input operation.
  • the server may determine whether the operation-free software is running according to the program information running on the virtual machine corresponding to the client. For example, the server may determine whether the virtual operation on the virtual machine connected to the client is running
  • controlling the client to enter a sleep state may include controlling an operating system of the client to enter a sleep state, and/or controlling a display of the client to enter a sleep state.
  • Step 204 The client controls the client to prohibit entering the sleep state when receiving the prohibition of sleeping indication sent by the server.
  • the forbidden sleep indication is sent after the server receives the sleep request message according to the sleep request message, and determines that the application of the operation-free type is run on the virtual machine of the client.
  • controlling the client to prohibit entering the sleep state may include controlling the operating system of the client to prohibit entering the sleep state, and/or controlling the display of the client to prohibit entering the sleep state.
  • the client receives the allowable sleep indication, that is, the server determines that the operation-free application is not running on the virtual machine of the client, and the client enters the sleep state does not affect the user.
  • the client receives the prohibition of sleep indication, that means the server determines that the operation-free software is running on the virtual machine of the client, the client should not enter a sleep state, the client The client should be allowed to continue to work when it receives a disable sleep indication.
  • the client monitors its own input device, and when it detects that the input device has no input operation for more than a preset sleep threshold, sends a sleep request message to the server, and receives the permission sent by the server.
  • the sleep indication or the prohibition of the sleep indication the client controls the client to enter a sleep state according to the permission to sleep indication, or control the client to prohibit entering the sleep state according to the prohibition of the sleep indication.
  • the client avoiding the application running on the client without user input operation for a period of time, the client sets the display to sleep and affects the user to use the virtual desktop service, and if the application of the operation-free class is not running on the client for a long time When leaving no input operation, the client can set the client to sleep, which saves power and reduces the unnecessary loss of display life.
  • the method further includes:
  • the client acquires a preset sleep threshold from the server.
  • the client may also set the sleep threshold information of the client locally.
  • the client in the embodiment of the present invention may pre-shutdown the sleep processing setting of the power management module of the operating system of the client; or
  • the method further includes:
  • the client prohibits the dormancy processing of the client by the power management module of the operating system of the client.
  • the sleep management process of the power management module to the client may be to set the client to go to sleep or set the display of the client to go to sleep.
  • the client determines whether to control the client to enter the sleep state according to the sleep threshold, and does not need to pay attention to the operation.
  • the client may monitor the sleep processing on the operating system, if The power management module of the operating system is to set the client to enter a sleep state, and the client may disable the sleep processing of the power management module of the operating system of the client.
  • the method further includes:
  • the client When the client detects that the input device has an input operation, the client sends a wake-up message to the server, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
  • the sending, by the client, the wake-up message to the server is sent when the client detects a keyboard or mouse operation.
  • the client may further set a wake-up condition, such as a timed wake-up, and the client may wake up the client's own software when the wake-up condition of the timed wake-up arrives, and send the wake-up message to the server.
  • the client sends a wake-up message to the server to enable the server to resume sending image data to the client, so that when the user needs to use the client, the user desktop display can be promptly replied.
  • FIG. 3 is a flowchart of Embodiment 3 of a method for controlling a dormancy of a virtual desktop according to the present invention. As shown in FIG. 3, the method in this embodiment may include:
  • the client sends a login request message to the server.
  • the server sends a login response message and image data to the client.
  • the server sends a sleep threshold to the client.
  • the login response message may also carry the dormancy threshold of the client. If the server sends a dormancy threshold through the login response message, step 304 may not need to be performed. Optionally, the login response message may not carry the sleep threshold of the client.
  • the client monitors its own input device. .
  • the client monitors whether the input device is based on the locally configured sleep threshold of the client. An operation occurs. If the login response message in S303 carries the sleep threshold of the client, or the server sends the sleep threshold of the client through S304, the client monitors the input according to the client sleep threshold carried in S303 or S304. Whether the device has an operation.
  • the client monitors that the input device has no input operation for more than a preset timeout.
  • the sleep threshold sends a sleep request message to the server.
  • the client may restart the timer of the sleep threshold.
  • the server determines, according to the sleep request message, whether an application with an operation-free class is running on a virtual machine connected to the client.
  • the server determines that the application of the operation-free type is not running on the virtual machine of the client, the server sends an allow sleep indication to the client to indicate that the client enters Sleep state.
  • S309-1 The client controls the client to enter a sleep state when receiving the allowable sleep indication sent by the server.
  • the method may further include:
  • the server determines that the application of the operation-free class is running on the virtual machine of the client, the server sends a disable sleep indication to the client to indicate that the client is prohibited. Go to sleep.
  • S309-2 The client controls the client to prohibit entering the sleep state when receiving the prohibition of sleeping instruction sent by the server.
  • the method may include:
  • S310-2 The client does not perform the permission control on the display, and executes S305.
  • the method may further include:
  • the client detects an input operation of the input device or a timed wake-up time limit.
  • the client sends a wakeup message to the server.
  • the server sends the image data to the client.
  • the method may further include:
  • S302-1 The server sends a sleep threshold request message to the management system.
  • S302-2 The management system sends a sleep threshold response message to the server, and carries the sleep threshold.
  • the server when the client detects that the input device does not input the operation for more than the preset sleep threshold, the server sends a sleep request message to the server, and the server determines, according to the sleep request message, whether the virtual machine of the client is running.
  • the application of the operation class if the application of the operation-free class is not running
  • the program sends a permission to sleep indication to indicate that the client enters sleep. If the application running the operation-free class runs a disable sleep indication to indicate that the client is prohibited from entering sleep, the software on the client that does not require user input operation is avoided.
  • the client settings go to sleep and affect the user's use of the virtual desktop service. If the user does not run the operation-free software on the client and leaves the input operation for a long time, the client can go to sleep, saving power and reducing the display. Loss of service life.
  • Embodiment 1 is a schematic structural diagram of Embodiment 1 of a dormancy control apparatus for a virtual desktop according to the present invention.
  • the device in this embodiment may be a server of a virtual desktop, and the device in this embodiment may include: a transceiver module 11 and processing. Module 12.
  • the transceiver module 11 is configured to receive a sleep request message sent by the client, and is further configured to: if the processing module determines that the application of the operation-free class is not running on the virtual machine of the client, send the allowable sleep to the client. An indication to indicate that the client enters a hibernation state; and, if the determining module determines that the virtual machine of the client runs an application of an operation-free class, sending a prohibition sleep indication to the client, to Instructing the client to prohibit entering a sleep state.
  • the processing module 12 is configured to determine, according to the sleep request message, whether an application of an operation-free class is run on a virtual machine connected to the client, where the application of the operation-free type refers to The client's input device is the application that performs the input operation.
  • the transceiver module 11 is further configured to:
  • the client Before receiving the sleep request message sent by the client, sending a preset sleep threshold to the client, so that the client monitors the time when the input device of the client does not input the operation according to the preset sleep threshold. Whether the preset sleep threshold is exceeded.
  • the transceiver module 11 is further configured to:
  • the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client stops entering the sleep state
  • the desktop protocol sends image data to the client.
  • transceiver module 11 can also be used to:
  • the transceiver module sends an allowable sleep indication to the client to indicate that the client enters a sleep state
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 and FIG. 3, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 5 is a schematic structural diagram of Embodiment 2 of a dormancy control apparatus for a virtual desktop according to the present invention.
  • the executor of the embodiment may be a client of a virtual desktop, that is, a thin terminal.
  • the device in this embodiment may include: The detection module 11, the transceiver module 12 and the control module 13 are provided.
  • the detecting module 11 is configured to monitor an input device of the client itself
  • the transceiver module 12 is configured to send a sleep request message to the server when the time when the input device does not input operation exceeds the preset sleep threshold;
  • the control module 13 is configured to: if the transceiver module receives the allowable sleep indication sent by the server, control the client to enter a sleep state; and if the transceiver module receives the sent by the server The sleep indication is disabled, and the client is prohibited from entering the sleep state.
  • control module 13 is further configured to:
  • the transceiver module receives the forbidden sleep indication sent by the server, after the control module controls the client to prohibit entering the sleep state, the power management module of the operating system of the client is prohibited from being used by the client. Sleep processing.
  • the transceiver module 12 is further configured to:
  • the control module controls the client to enter a sleep state, and when the detection module detects that the input device has an operation, The server sends a wake-up message, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
  • the transceiver module 12 is further configured to: before the detecting module monitors the input device of the client,
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2 and FIG. 3, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of an embodiment of a sleep control system for a virtual desktop according to the present invention.
  • the system of the present embodiment includes: a first device 1, a second device 2, a display 3, and an input device 4, where
  • the first device 1 can adopt the structure of any device embodiment of FIG. 4, and correspondingly, the technical solution of any of the method embodiments of FIG. 1 to FIG. 3 can be performed, and the second device 2 can adopt any device embodiment of FIG.
  • the technical solution of any one of the method embodiments of FIG. 1 to FIG. 3 can be performed, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

Embodiments of the present invention provide a sleep control method, apparatus and system for a virtual desktop. The sleep control method for a virtual desktop in the present invention comprises: a server receives a sleep request message sent by a client; the server determines, according to the sleep request message, whether an operation-free application runs on a virtual machine connected to the client, the operation-free application referring to an application not requiring an input operation of an input device of the client; if it is determined that the operation-free application does not run on the virtual machine of the client, the server sends a sleep allowance instruction to the client to instruct the client to enter a sleep state; and if it is determined that the operation-free application runs on the virtual machine of the client, the server sends a sleep prohibition instruction to the client to instruct the client not to enter the sleep state.

Description

一种虚拟桌面的休眠控制方法、装置及系统Sleep control method, device and system for virtual desktop
本申请要求于2014年4月15日提交中国专利局、申请号为201410151526.X、发明名称为“一种虚拟桌面的休眠控制方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on April 15, 2014, the Chinese Patent Office, the application number is 201410151526.X, and the invention name is "a dormant control method, device and system for a virtual desktop". This is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及信息技术,尤其涉及一种虚拟桌面的休眠控制方法、装置及系统。Embodiments of the present invention relate to information technology, and in particular, to a sleep control method, apparatus, and system for a virtual desktop.
背景技术Background technique
远程桌面是一种常用的虚拟桌面技术,常用来将一台计算机屏幕显示的内容传送到另一处的显示屏显示,典型的虚拟桌面设施(Visual Desktop Infrastructure,简称VDI)架构一般包括至少一台服务端设备和一台虚拟桌面客户机,虚拟桌面客户机通常称为瘦终端(thin client,简称TC),TC通过自身操作系统上搭载的桌面协议客户端软件访问服务端设备以获取远程桌面服务,服务端设备用于提供远程桌面,用户的虚拟桌面系统以虚拟机(Virtual Machine,简称VM)的形式存在于远程桌面服务器上。Remote Desktop is a commonly used virtual desktop technology. It is commonly used to transfer the content displayed on one computer screen to another. The typical Virtual Desktop Infrastructure (VDI) architecture generally includes at least one A server device and a virtual desktop client. The virtual desktop client is usually called a thin client (TC). The TC accesses the server device through the desktop protocol client software on the operating system to obtain the remote desktop service. The server device is used to provide a remote desktop, and the user's virtual desktop system exists in the form of a virtual machine (VM) on the remote desktop server.
现有技术中,当用户通过瘦终端使用远程的服务端设备传送的虚拟桌面时,通常会关闭瘦终端的休眠设置,从而可以避免用户正在观看视频或者聆听会议等情况下,长时间没有键盘或鼠标操作引起的瘦终端的显示器进入休眠状态带来的影响。然而,这样设置使得用户真正长时间离开时,显示器依然会保持激活状态,不仅费电,还造成显示器寿命的损耗。In the prior art, when a user uses a virtual desktop transmitted by a remote server device through a thin terminal, the sleep setting of the thin terminal is usually turned off, thereby preventing the user from watching the video or listening to the conference, etc., without a keyboard or for a long time. The effect of the mouse terminal's display entering the sleep state caused by the mouse operation. However, this setting allows the display to remain active when the user leaves for a long time, which not only consumes power, but also causes loss of display life.
发明内容Summary of the invention
本发明实施例提供一种虚拟桌面的休眠控制方法、装置及系统,以克服现有技术在用户正在使用不需要用户操作的应用程序时显示器进入休眠影响用户正常使用的问题。The embodiment of the invention provides a method, a device and a system for controlling the sleep of a virtual desktop, so as to overcome the problem that the display enters the hibernation and affects the normal use of the user when the user is using an application that does not require the user to operate.
第一方面,本发明实施例提供一种虚拟桌面的休眠控制方法,用于包括服务端和客户端的虚拟桌面系统,所述服务端上运行有与所述客户端连接的虚拟 机,所述方法包括:In a first aspect, an embodiment of the present invention provides a virtual desktop sleep control method, which is used for a virtual desktop system including a server and a client, where the server runs a virtual connection with the client. The method includes:
所述服务端接收所述客户端发送的休眠请求消息;Receiving, by the server, a sleep request message sent by the client;
所述服务端根据所述休眠请求消息,确定与所述客户端连接的虚拟机上是否运行有免操作类的应用程序,所述免操作类的应用程序是指不需要所述客户端的输入设备进行输入操作的应用程序;Determining, according to the hibernation request message, whether an application having an operation-free class is running on a virtual machine connected to the client, where the application of the operation-free type refers to an input device that does not require the client An application that performs input operations;
如果确定所述客户端的虚拟机上未运行所述免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态;If it is determined that the application of the operation-free class is not running on the virtual machine of the client, the server sends an allow sleep indication to the client to indicate that the client enters a sleep state;
如果确定所述客户端的虚拟机上运行有所述免操作类的应用程序,则所述服务端向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态。If it is determined that the application of the operation-free class is running on the virtual machine of the client, the server sends a disable sleep indication to the client to instruct the client to prohibit entering the sleep state.
结合第一方面,在第一方面的第一种可能的实现方式中,所述服务端设备接收客户端发送的休眠请求消息之前,还包括:In conjunction with the first aspect, in a first possible implementation manner of the first aspect, before the server device receives the sleep request message sent by the client, the server includes:
所述服务端向所述客户端发送预设的休眠门限,以使得所述客户端根据所述预设的休眠门限,监测所述客户端的输入设备没有输入操作的时间是否超过所述预设的休眠门限。The server sends a preset sleep threshold to the client, so that the client monitors whether the input device of the client does not input the operation time exceeds the preset according to the preset sleep threshold. Sleep threshold.
结合第一方面,第一方面的第一种任一种可能的实现方式,在第一方面的第二种可能的实现方式中,With reference to the first aspect, any one of the first possible implementation manners of the first aspect,
如果确定所述客户端的虚拟机未运行免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,还包括:If it is determined that the virtual machine of the client is not running the application of the operation-free class, the server sends an allowable sleep indication to the client to indicate that the client enters the sleep state, and further includes:
所述服务端停止通过远程桌面协议向所述客户端发送图像数据。The server stops sending image data to the client through a remote desktop protocol.
结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,如果确定所述客户端的虚拟机未运行免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,还包括:With reference to the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, if it is determined that the virtual machine of the client does not run the application of the operation-free class, the server sends the After the client sends the allowable sleep indication to indicate that the client enters the sleep state, the method further includes:
所述服务端接收所述客户端发送的唤醒消息;The server receives the wakeup message sent by the client;
所述服务端根据所述唤醒消息,继续通过所述远程桌面协议向所述客户端发送图像数据。The server continues to send image data to the client through the remote desktop protocol according to the wakeup message.
第二方面,本发明实施例提供一种虚拟桌面的休眠控制方法,用于包括服务端和客户端的虚拟桌面系统,所述服务端上运行有与所述客户端连接的虚拟机;所述方法包括:In a second aspect, the embodiment of the present invention provides a method for controlling a dormancy of a virtual desktop, which is used for a virtual desktop system including a server and a client, where the server runs a virtual machine connected to the client; include:
所述客户端对自身的输入设备进行监测; The client monitors its own input device;
所述客户端在监测到所述输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送休眠请求消息;The client sends a sleep request message to the server when it detects that the input device has no input operation for more than a preset sleep threshold;
所述客户端在接收到所述服务端发送的允许休眠指示时,控制所述客户端进入休眠状态;When receiving the allowed sleep indication sent by the server, the client controls the client to enter a sleep state;
所述客户端在接收到所述服务端发送的禁止休眠指示时,控制所述客户端禁止进入休眠状态。When receiving the prohibition of sleeping indication sent by the server, the client controls the client to prohibit entering the sleep state.
结合第二方面,在第二方面的第一种可能的实现方式中,如果所述客户端接收到所述服务端发送的禁止休眠指示,控制所述客户端禁止进入休眠状态之后,还包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, if the client receives the forbidden sleep indication sent by the server, after the client is prohibited from entering the sleep state, the method further includes:
所述客户端禁止所述客户端的操作系统的电源管理模块对所述客户端的休眠处理。The client prohibits the dormancy processing of the client by the power management module of the operating system of the client.
结合第二方面,第二方面的第一种任一种可能的实现方式,在第二方面的第二种可能的实现方式中,如果所述客户端接收到所述服务端发送的允许休眠指示,则指示所述客户端进入休眠状态之后,还包括:With reference to the second aspect, the first possible implementation manner of the second aspect, the second possible implementation manner of the second aspect, if the client receives the allowable sleep indication sent by the server After indicating that the client enters a sleep state, the method further includes:
所述客户端在监测到所述输入设备有输入操作时,向所述服务端发送唤醒消息,以使得所述服务端根据所述唤醒消息,通过远程桌面协议向所述客户端发送图像数据。When the client detects that the input device has an input operation, the client sends a wake-up message to the server, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述客户端对自身的输入设备进行监测之前,还包括:In conjunction with the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, before the client monitors the input device of the second aspect, the client further includes:
所述客户端从所述服务端获取预设的休眠门限。The client acquires a preset sleep threshold from the server.
第三方面,本发明实施例提供一种虚拟桌面的休眠控制装置,包括:In a third aspect, an embodiment of the present invention provides a sleep control apparatus for a virtual desktop, including:
收发模块,用于接收客户端发送的休眠请求消息;a transceiver module, configured to receive a sleep request message sent by the client;
处理模块,用于根据所述休眠请求消息,确定与所述客户端连接的虚拟机上是否运行有免操作类的应用程序,所述免操作类的应用程序是指不需要所述客户端的输入设备进行输入操作的应用程序;a processing module, configured to determine, according to the sleep request message, whether an application having an operation-free class is run on a virtual machine connected to the client, where the application of the operation-free type refers to an input that does not need the client An application for the device to perform input operations;
所述收发模块,还用于如果所述处理模块确定所述客户端的虚拟机上未运行免操作类的应用程序,则向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态;The transceiver module is further configured to: if the processing module determines that the application of the operation-free class is not running on the virtual machine of the client, send an allowable sleep indication to the client, to indicate that the client enters a sleep state ;
所述收发模块,还用于如果所述确定模块确定所述客户端的虚拟机运行有免操作类的应用程序,则向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态。 The transceiver module is further configured to: if the determining module determines that the virtual machine of the client runs an application of the operation-free class, send a prohibition sleep indication to the client, to instruct the client to prohibit entering the sleep state .
结合第三方面,在第三方面的第一种可能的实现方式中,In conjunction with the third aspect, in a first possible implementation of the third aspect,
所述收发模块,还用于:The transceiver module is further configured to:
在接收客户端发送的休眠请求消息之前,向所述客户端发送预设的休眠门限,以使所述客户端根据所述预设的休眠门限,监测所述客户端的输入设备没有输入操作的时间是否超过所述预设的休眠门限。Before receiving the sleep request message sent by the client, sending a preset sleep threshold to the client, so that the client monitors the time when the input device of the client does not input the operation according to the preset sleep threshold. Whether the preset sleep threshold is exceeded.
结合第三方面,第三方面的第一种任一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述收发模块,还用于:With reference to the third aspect, the first possible implementation manner of the third aspect, in the second possible implementation manner of the third aspect, the transceiver module is further configured to:
如果所述处理模块确定所述客户端的虚拟机未运行免操作类的应用程序,则所述收发模块向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,停止通过远程桌面协议向所述客户端发送图像数据。If the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client stops entering the sleep state The desktop protocol sends image data to the client.
结合第三方面的第一种可能的实现方式,在第三方面的第三种可能的实现方式中,所述收发模块,还用于:In conjunction with the first possible implementation of the third aspect, in a third possible implementation manner of the third aspect, the transceiver module is further configured to:
如果所述处理模块确定所述客户端的虚拟机未运行免操作类的应用程序,则所述收发模块向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,If the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client enters a sleep state,
接收所述客户端发送的唤醒消息;Receiving a wakeup message sent by the client;
根据所述唤醒消息,继续通过所述远程桌面协议向所述客户端发送图像数据。And continuing to send image data to the client through the remote desktop protocol according to the wake-up message.
第四方面,本发明实施例提供一种虚拟桌面的休眠控制装置,包括:A fourth aspect of the present invention provides a sleep control apparatus for a virtual desktop, including:
检测模块,用于对客户端自身的输入设备进行监测;a detection module for monitoring an input device of the client itself;
收发模块,用于在监测到所述输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送休眠请求消息;The transceiver module is configured to send a sleep request message to the server when the time when the input device does not input operation exceeds the preset sleep threshold;
控制模块,用于如果所述收发模块接收到所述服务端发送的允许休眠指示,控制所述客户端进入休眠状态;a control module, configured to control the client to enter a sleep state if the transceiver module receives an allowable sleep indication sent by the server;
所述控制模块,还用于如果所述收发模块接收到所述服务端发送的禁止休眠指示,控制所述客户端禁止进入休眠状态。The control module is further configured to control the client to prohibit entering a sleep state if the transceiver module receives the prohibition sleep indication sent by the server.
结合第四方面,在第四方面的第一种可能的实现方式中,所述控制模块,还用于:With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the control module is further configured to:
如果所述收发模块接收到所述服务端发送的禁止休眠指示,则在所述控制模块控制所述客户端禁止进入休眠状态之后,禁止所述客户端的操作系统的电源管理模块对所述客户端的休眠处理。 If the transceiver module receives the forbidden sleep indication sent by the server, after the control module controls the client to prohibit entering the sleep state, the power management module of the operating system of the client is prohibited from being used by the client. Sleep processing.
结合第四方面,第四方面的第一种任一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述收发模块,还用于:With reference to the fourth aspect, any one of the possible implementation manners of the first aspect, in the second possible implementation manner of the fourth aspect, the transceiver module is further configured to:
如果所述收发模块接收到所述服务端发送的允许休眠指示,则所述控制模块控制所述客户端进入休眠状态之后,在所述检测模块监测到所述输入设备有操作时,向所述服务端发送唤醒消息,以使所述服务端根据所述唤醒消息,通过远程桌面协议向所述客户端发送图像数据。If the transceiver module receives the allowable sleep indication sent by the server, the control module controls the client to enter a sleep state, and when the detection module detects that the input device has an operation, The server sends a wake-up message, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
结合第四方面第一种可能的实现方式,在第四方面的第三种可能的实现方式中,With reference to the first possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect,
所述收发模块还用于,在所述检测模块对客户端的输入设备进行监测之前,The transceiver module is further configured to: before the detecting module monitors the input device of the client,
从所述服务端获取预设的休眠门限。Obtaining a preset sleep threshold from the server.
第五方面,本发明实施例提供一种虚拟桌面的休眠控制系统,包括:由第三方面所述的虚拟桌面的休眠控制装置、由第四方面所述的虚拟桌面的休眠控制装置以及显示器和输入设备。The fifth aspect of the present invention provides a sleep control system for a virtual desktop, comprising: a sleep control device of the virtual desktop according to the third aspect, a sleep control device of the virtual desktop according to the fourth aspect, and a display and input device.
本发明实施例虚拟桌面的休眠控制方法、装置及系统,通过服务端设备接收瘦终端发送的显示器休眠请求消息,触发判断所述瘦终端对应的虚拟机是否运行免操作类软件,得到判断结果,并根据所述判断结果向所述瘦终端发送显示器休眠响应消息,避免了瘦终端上正在运行软件一段时间后,瘦终端设置显示器进入休眠而影响用户使用虚拟桌面服务。The method, device and system for controlling the dormancy of the virtual desktop in the embodiment of the present invention, the server device receives the display sleep request message sent by the thin terminal, and triggers whether the virtual machine corresponding to the thin terminal runs the operation-free software, and obtains the judgment result. And sending a display sleep response message to the thin terminal according to the determination result, which avoids that the thin terminal sets the display to sleep after the software is running on the thin terminal for a period of time, thereby affecting the user to use the virtual desktop service.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本发明虚拟桌面的休眠控制方法实施例一的流程图;1 is a flowchart of Embodiment 1 of a sleep control method for a virtual desktop according to the present invention;
图2为本发明虚拟桌面的休眠控制方法实施例二的流程图;2 is a flowchart of Embodiment 2 of a sleep control method for a virtual desktop according to the present invention;
图3为本发明虚拟桌面的休眠控制方法实施例三的流程图;3 is a flowchart of Embodiment 3 of a sleep control method for a virtual desktop according to the present invention;
图4为本发明虚拟桌面的休眠控制装置实施例一的结构示意图;4 is a schematic structural diagram of Embodiment 1 of a sleep control apparatus for a virtual desktop according to the present invention;
图5为本发明虚拟桌面的休眠控制装置实施例二的结构示意图;5 is a schematic structural diagram of Embodiment 2 of a sleep control apparatus for a virtual desktop according to the present invention;
图6为本发明虚拟桌面的休眠控制系统实施例的结构示意图。 FIG. 6 is a schematic structural diagram of an embodiment of a sleep control system of a virtual desktop according to the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为本发明虚拟桌面的休眠控制方法实施例一的流程图,本方法用于包括服务端和客户端的虚拟桌面系统,所述服务端上运行有与所述客户端通信相连的虚拟机,如图1所示,本实施例的方法可以包括:1 is a flowchart of a first embodiment of a method for controlling a dormancy of a virtual desktop according to the present invention. The method is applied to a virtual desktop system including a server and a client, where the server runs a virtual machine connected to the client. As shown in FIG. 1, the method in this embodiment may include:
步骤101、服务端接收客户端发送的休眠请求消息。Step 101: The server receives a sleep request message sent by the client.
其中,所述服务端运行了为所述客户端分配的虚拟机,服务端提供了虚拟桌面服务的载体,用户的桌面系统(Virtual Desktop)以虚拟机(Virtual Machine,简称VM)的软件形式存在于服务端上。虚拟桌面的客户端通常称为瘦客户端(Thin Client,简称TC),也称为瘦终端,客户端可以为普通电脑、平板电脑、智能手机等设备形式,所述客户端上可以连接有显示器或显示屏等输出设备,以及键盘、鼠标或触摸屏等任意一种或多种输入设备。所述客户端可以通过接入网关与服务器群中提供客户端的虚拟机的服务端进行数据通信。所述休眠请求消息可以为当所述客户端在监测到所述客户端的输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送的休眠请求信息。可选的,所述休眠请求消息可以包含所述客户端的标识。The server runs a virtual machine allocated to the client, and the server provides a virtual desktop service carrier. The user's desktop system (Virtual Desktop) exists in the form of a virtual machine (VM). On the server side. The client of the virtual desktop is usually called a thin client (TC), which is also called a thin terminal. The client can be in the form of a general computer, a tablet, a smart phone, etc., and the client can be connected with a display. Or an output device such as a display, and any one or more input devices such as a keyboard, a mouse, or a touch screen. The client may perform data communication with the server of the virtual machine that provides the client in the server group through the access gateway. The sleep request message may be hibernation request information sent to the server when the client detects that the input device of the client does not input the operation exceeds a preset sleep threshold. Optionally, the dormancy request message may include an identifier of the client.
可选的,所述服务端设备接收客户端发送的休眠请求消息之前,还可以包括:Optionally, before the server device receives the sleep request message sent by the client, the server may further include:
所述服务端向所述客户端发送预设的休眠门限,以使得所述客户端根据所述预设的休眠门限,监测所述客户端的输入设备没有输入操作的时间是否超过所述预设的休眠门限。The server sends a preset sleep threshold to the client, so that the client monitors whether the input device of the client does not input the operation time exceeds the preset according to the preset sleep threshold. Sleep threshold.
可选的,所述服务端也可以向管理系统发送所述客户端的休眠门限请求消息,以获取所述客户端的休眠门限。所述管理系统可以是所述服务端的后台管理系统,可选的,可以由所述管理系统的维护人员在所述管理系统上设置各个客户端的休眠门限。Optionally, the server may send the dormancy threshold request message of the client to the management system to obtain a dormancy threshold of the client. The management system may be a background management system of the server. Optionally, the maintenance threshold of the client may be set by the maintenance personnel of the management system on the management system.
可选的,所述服务端也可以不向所述客户端发送设定的客户端的休眠门限,所述设定的客户端的休眠门限可以由所述客户端设置。 Optionally, the server may not send the set sleep threshold of the client to the client, where the configured sleep threshold of the client may be set by the client.
步骤102、所述服务端根据所述休眠请求消息,确认与所述客户端连接的虚拟机上是否运行有免操作类的应用程序,所述免操作类的应用程序是指不需要所述客户端的输入设备进行输入操作的应用程序。Step 102: The server determines, according to the sleep request message, whether an application of an operation-free class is run on a virtual machine connected to the client, where the application of the operation-free type refers to that the client is not required. The input device of the input device for input operations.
其中,所述免操作类的应用程序可以为视频播放程序或会议程序等应用程序,这些应用程序在使用过程中容易出现一段时间不需要用户通过输入设备进行输入操作。所述服务端可以根据所述休眠请求消息中包含的所述客户端的标识信息查询得到所述客户端连接的虚拟机上运行的程序信息,然后判断所述客户端连接的虚拟机是否正在运行免操作类的应用程序,例如,免操作类的应用程序的程序名称或进程名称。The application of the operation-free type may be an application such as a video player or a conference program, and the applications are prone to use for a period of time without requiring the user to input through the input device. The server may query, according to the identifier information of the client included in the sleep request message, the program information running on the virtual machine connected to the client, and then determine whether the virtual machine connected to the client is running. The application of the operation class, for example, the program name or process name of the application of the operation-free class.
步骤103、如果确定所述客户端的虚拟机上未运行所述免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态。Step 103: If it is determined that the application of the operation-free class is not running on the virtual machine of the client, the server sends an allow sleep indication to the client to indicate that the client enters a sleep state.
其中,所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态,可以具体包括:The server sends an allowable sleep indication to the client to indicate that the client enters a dormant state, which may specifically include:
所述服务端向所述客户端发送允许休眠指示,以指示所述客户端的操作系统进入休眠状态,和/或,Sending, by the server, an allowable sleep indication to the client, to indicate that the operating system of the client enters a sleep state, and/or,
所述服务端向所述客户端发送允许休眠指示,以指示所述客户端的显示器进入休眠状态。The server sends an allowable sleep indication to the client to indicate that the display of the client enters a sleep state.
步骤104、如果确定所述客户端的虚拟机上运行有所述免操作类的应用程序,则所述服务端向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态。Step 104: If it is determined that the application of the operation-free class is running on the virtual machine of the client, the server sends a disable sleep indication to the client to instruct the client to prohibit entering the sleep state.
其中,所述服务端向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态,可以具体包括:The server sends a forbidden sleep indication to the client, to indicate that the client is prohibited from entering the sleep state, and may specifically include:
所述服务端向所述客户端发送允许休眠指示,以指示所述客户端的操作系统禁止进入休眠状态,和/或,Sending, by the server, an allowable sleep indication to the client, to indicate that the operating system of the client is prohibited from entering a sleep state, and/or,
所述服务端向所述客户端发送允许休眠指示,以指示所述客户端的显示器禁止进入休眠状态。The server sends an allowable sleep indication to the client to indicate that the display of the client is prohibited from entering a sleep state.
本实施例,通过服务端接收客户端发送的休眠请求消息,服务端确定所述客户端连接的虚拟机是否运行免操作类的应用程序,,如果未运行免操作类的应用程序则发送允许休眠指示以指示客户端进入休眠,如果运行有免操作类的应用程序则发送禁止休眠指示以指示客户端禁止进入休眠,避免了客户端上正 在运行不需输入操作的软件一段时间后,客户端设置显示器进入休眠而影响用户使用虚拟桌面服务,并且,若客户端上用户未运行免操作类软件且长时间离开没有输入操作,客户端可以进入休眠,既节约电能又可以减少显示器使用寿命的损耗。In this embodiment, the server receives the sleep request message sent by the client, and the server determines whether the virtual machine connected to the client runs the application of the operation-free class, and if the application of the operation-free class is not running, the sleep is allowed to be sent. The indication is to indicate that the client enters hibernation, and if the application with the operation-free class is running, a disable sleep indication is sent to indicate that the client is prohibited from entering hibernation, and the client is prevented from being positive. After running the software that does not need to input the operation for a period of time, the client sets the display to sleep and affects the user to use the virtual desktop service, and if the user does not run the operation-free software on the client and leaves for a long time without input operation, the client can Going to sleep saves power and reduces the loss of display life.
进一步地,如果确定所述客户端的虚拟机未运行免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,还包括:Further, if it is determined that the virtual machine of the client is not running the application of the operation-free class, the server sends the permission to sleep indication to the client to indicate that the client enters the sleep state, and further includes:
所述服务端停止通过远程桌面协议向所述客户端发送图像数据。The server stops sending image data to the client through a remote desktop protocol.
其中,所述图像数据是用户的桌面系统的实时显示信息,服务端将用户的桌面系统的实时显示信息转化为图像数据的形式通过远程桌面协议发送到客户端。当所述服务端设备向所述客户端发送显示器休眠响应消息之后,所述服务端可以停止向所述客户端发送数据以节约服务端上的软件资源和硬件资源。The image data is real-time display information of the user's desktop system, and the server converts the real-time display information of the user's desktop system into image data and sends it to the client through the remote desktop protocol. After the server device sends a display sleep response message to the client, the server may stop sending data to the client to save software resources and hardware resources on the server.
可选的,如果确定所述客户端的虚拟机未运行免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,还包括:Optionally, if it is determined that the virtual machine of the client is not running an application of the operation-free class, the server sends an allowable sleep indication to the client, to indicate that the client enters a sleep state, and further includes:
所述服务端接收所述客户端发送的唤醒消息;The server receives the wakeup message sent by the client;
所述服务端根据所述唤醒消息,继续通过所述远程桌面协议向所述客户端发送图像数据。The server continues to send image data to the client through the remote desktop protocol according to the wakeup message.
其中,所述客户端发送的唤醒消息为所述客户端检测到键盘或鼠标等输入设备有输入操作时发送的,或者根据客户端自身设置的唤醒条件满足时发送的。The wake-up message sent by the client is sent when the client detects that an input device such as a keyboard or a mouse has an input operation, or is sent according to a wake-up condition set by the client itself.
举例来说,所述客户端根据所述允许休眠指示控制客户端进入休眠状态后,可以继续检测键盘和鼠标等输入设备是否获取到输入操作,若获取到输入操作则所述客户端可以向所述服务端发送唤醒消息。For example, after the client controls the client to enter the sleep state according to the allowable sleep indication, the client may continue to detect whether an input device such as a keyboard and a mouse acquires an input operation, and if the input operation is obtained, the client may The server sends a wake-up message.
可选的,所述客户端还可以设置唤醒条件,例如定时唤醒,客户端可以在定时唤醒的唤醒条件到达时,唤醒所述客户端自身的软件,以向所述服务端发送所述唤醒消息。Optionally, the client may further set a wakeup condition, such as a timed wakeup, and the client may wake up the client's own software to send the wakeup message to the server when the wakeup condition of the timed wakeup arrives. .
所述服务端接收所述客户端发送的唤醒消息后,可以恢复向所述客户端发送数据,使得所述客户端可以根据用户的需要及时恢复用户桌面的显示。After receiving the wake-up message sent by the client, the server may resume sending data to the client, so that the client can restore the display of the user's desktop in time according to the needs of the user.
图2为本发明虚拟桌面的休眠控制方法实施例二的流程图,本方法用于包括服务端和客户端的虚拟桌面系统,所述服务端上运行有与所述客户端连接的 虚拟机,如图2所示,本实施例的方法可以包括:2 is a flowchart of a second embodiment of a method for controlling a dormancy of a virtual desktop according to the present invention. The method is applied to a virtual desktop system including a server and a client, where the server is connected to the client. The virtual machine, as shown in FIG. 2, the method in this embodiment may include:
步骤201、客户端对自身的输入设备进行监测。Step 201: The client monitors its own input device.
步骤202、所述客户端在监测到所述输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送休眠请求消息。Step 202: The client sends a sleep request message to the server when it detects that the input device does not input the operation for more than a preset sleep threshold.
当客户端的输入设备一段时间没有接收到输入操作时,客户端应当判断是否设置显示器进入休眠状态以节省电能和减少设备的无谓损耗。所述客户端可以连接键盘、鼠标、触摸屏等输入设备以获取用户的输入操作。所述休眠门限可以是所述客户端上设置的一个检测输入设备没有输入操作的时间周期。可选的,若在所述休眠门限对应的时间段内检测到用户通过任意输入设备进行输入操作,则所述客户端可以令休眠门限的计时器重新开始计时。所述客户端监测到所述输入设备没有输入操作的时间超过预设的休眠门限时,可以向所述服务端发送休眠请求消息。When the input device of the client does not receive an input operation for a period of time, the client should determine whether to set the display to sleep to save power and reduce unnecessary loss of the device. The client can connect an input device such as a keyboard, a mouse, a touch screen, etc. to obtain an input operation of the user. The sleep threshold may be a time period in which one of the detection input devices set on the client has no input operation. Optionally, if it is detected that the user performs an input operation through any input device within a time period corresponding to the sleep threshold, the client may restart the timer of the sleep threshold. When the client detects that the input device has no input operation for more than a preset sleep threshold, the client may send a sleep request message to the server.
步骤203、所述客户端接收所述服务端发送的允许休眠指示时,控制所述客户端进入休眠状态。Step 203: When the client receives the allowable sleep indication sent by the server, the client controls the client to enter a sleep state.
其中,所述允许休眠指示为所述服务端接收到所述休眠请求消息之后,根据休眠请求消息判断所述客户端的虚拟机上未运行免操作类的应用程序时发送的。所述免操作类的应用程序可以为视频播放程序或会议程序等应用程序,这类应用程序在使用过程中容易出现一段时间不需要用户进行输入操作的情况。所述服务端可以根据所述客户端对应的虚拟机上运行的程序信息判断是否正在运行免操作类软件,例如,所述服务端可以判断所述客户端连接的虚拟机上是否运行的免操作类应用程序的程序名称或进程名称。The allowed sleep indication is sent after the server receives the sleep request message according to the sleep request message, and determines that the application of the operation-free type is not running on the virtual machine of the client. The application of the operation-free type may be an application such as a video player or a conference program, and such an application is prone to a period of time during which the user does not need to perform an input operation. The server may determine whether the operation-free software is running according to the program information running on the virtual machine corresponding to the client. For example, the server may determine whether the virtual operation on the virtual machine connected to the client is running. The program name or process name of the class application.
可选的,所述控制所述客户端进入休眠状态,可以包括控制所述客户端的操作系统进入休眠状态,和/或控制所述客户端的显示器进入休眠状态。步骤204、所述客户端在接收到所述服务端发送的禁止休眠指示时,控制所述客户端禁止进入休眠状态。Optionally, the controlling the client to enter a sleep state may include controlling an operating system of the client to enter a sleep state, and/or controlling a display of the client to enter a sleep state. Step 204: The client controls the client to prohibit entering the sleep state when receiving the prohibition of sleeping indication sent by the server.
其中,所述禁止休眠指示为所述服务端接收到所述休眠请求消息之后,根据休眠请求消息判断所述客户端的虚拟机上运行有免操作类的应用程序时发送的。The forbidden sleep indication is sent after the server receives the sleep request message according to the sleep request message, and determines that the application of the operation-free type is run on the virtual machine of the client.
可选的,所述控制所述客户端禁止进入休眠状态,可以包括控制所述客户端的操作系统禁止进入休眠状态,和/或控制所述客户端的显示器禁止进入休眠状态。 Optionally, the controlling the client to prohibit entering the sleep state may include controlling the operating system of the client to prohibit entering the sleep state, and/or controlling the display of the client to prohibit entering the sleep state.
举例来说,若所述客户端接收到允许休眠指示,即意味着,所述服务端判断所述客户端的虚拟机上未运行免操作类应用程序,所述客户端进入休眠状态不会影响用户正常使用;若所述客户端接收到禁止休眠指示,即意味着所述服务端判断所述客户端的虚拟机上正在运行免操作类软件,所述客户端不应进入休眠状态,所述客户端接收到用于禁止休眠指示时应使所述客户端继续工作。For example, if the client receives the allowable sleep indication, that is, the server determines that the operation-free application is not running on the virtual machine of the client, and the client enters the sleep state does not affect the user. Normal use; if the client receives the prohibition of sleep indication, that means the server determines that the operation-free software is running on the virtual machine of the client, the client should not enter a sleep state, the client The client should be allowed to continue to work when it receives a disable sleep indication.
本实施例,通过客户端对自身的输入设备进行监测,在监测到输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送休眠请求消息,并接收所述服务端发送的允许休眠指示或禁止休眠指示,所述客户端根据所述允许休眠指示控制所述客户端进入休眠状态,或者根据所述禁止休眠指示,控制所述客户端禁止进入休眠状态。避免了客户端上正在运行不需用户输入操作的应用程序一段时间后,客户端设置显示器进入休眠而影响用户使用虚拟桌面服务,并且,若客户端上未运行免操作类的应用程序且长时间离开没有输入操作时,客户端可以设置客户端进入休眠状态,既节约电能又可以减少显示器使用寿命的无谓损耗。可选的,所述客户端对自身的输入设备进行监测之前,还包括:In this embodiment, the client monitors its own input device, and when it detects that the input device has no input operation for more than a preset sleep threshold, sends a sleep request message to the server, and receives the permission sent by the server. The sleep indication or the prohibition of the sleep indication, the client controls the client to enter a sleep state according to the permission to sleep indication, or control the client to prohibit entering the sleep state according to the prohibition of the sleep indication. Avoiding the application running on the client without user input operation for a period of time, the client sets the display to sleep and affects the user to use the virtual desktop service, and if the application of the operation-free class is not running on the client for a long time When leaving no input operation, the client can set the client to sleep, which saves power and reduces the unnecessary loss of display life. Optionally, before the client monitors its input device, the method further includes:
所述客户端从所述服务端获取预设的休眠门限。The client acquires a preset sleep threshold from the server.
可选的,所述客户端也可以在本地设置所述客户端的休眠门限信息。Optionally, the client may also set the sleep threshold information of the client locally.
可选的,本发明实施例的所述客户端可以预先关闭所述客户端的操作系统本身的电源管理模块的休眠处理设置;或者,Optionally, the client in the embodiment of the present invention may pre-shutdown the sleep processing setting of the power management module of the operating system of the client; or
所述客户端接收所述服务端发送的禁止休眠指示之后,还包括:After the client receives the forbidden sleep indication sent by the server, the method further includes:
所述客户端禁止所述客户端的操作系统的电源管理模块对客户端的休眠处理。The client prohibits the dormancy processing of the client by the power management module of the operating system of the client.
其中,所述电源管理模块对客户端的休眠处理可以是设置客户端进入休眠或者设置客户端的显示器进入休眠。The sleep management process of the power management module to the client may be to set the client to go to sleep or set the display of the client to go to sleep.
举例来说,若所述客户端预先关闭所述客户端的操作系统本身的电源管理模块的休眠处理设置,则所述客户端根据休眠门限判断是否控制所述客户端进入休眠状态,不需关注操作系统上的电源管理的相关处理;若所述客户端未预先关闭所述客户端的操作系统本身的电源管理模块的休眠处理设置,则所述客户端可以监测所述操作系统上的休眠处理,若所述操作系统的电源管理模块将要设置客户端进入休眠状态,则所述客户端可以禁止所述客户端的操作系统的电源管理模块的休眠处理。For example, if the client pre-shuts the sleep processing setting of the power management module of the operating system of the client, the client determines whether to control the client to enter the sleep state according to the sleep threshold, and does not need to pay attention to the operation. Corresponding processing of power management on the system; if the client does not pre-set the sleep processing setting of the power management module of the operating system itself of the client, the client may monitor the sleep processing on the operating system, if The power management module of the operating system is to set the client to enter a sleep state, and the client may disable the sleep processing of the power management module of the operating system of the client.
可选的,如果所述客户端接收到所述服务端发送的允许休眠指示,则指示 所述客户端进入休眠状态之后,还包括:Optionally, if the client receives the allowed sleep indication sent by the server, the indication After the client enters the hibernation state, the method further includes:
所述客户端在监测到所述输入设备有输入操作时,向所述服务端发送唤醒消息,以使得所述服务端根据所述唤醒消息,通过远程桌面协议向所述客户端发送图像数据。When the client detects that the input device has an input operation, the client sends a wake-up message to the server, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
其中,所述客户端向所述服务端发送唤醒消息为所述客户端检测到键盘或鼠标操作时发送的。可选的,所述客户端还可以设置唤醒条件,例如定时唤醒,客户端可以在定时唤醒的唤醒条件到达时,唤醒所述客户端自身的软件,向所述服务端发送所述唤醒消息。The sending, by the client, the wake-up message to the server is sent when the client detects a keyboard or mouse operation. Optionally, the client may further set a wake-up condition, such as a timed wake-up, and the client may wake up the client's own software when the wake-up condition of the timed wake-up arrives, and send the wake-up message to the server.
本发明实施例通过所述客户端向所述服务端发送唤醒消息以使所述服务端恢复向所述客户端发送图像数据,使得当用户需要使用客户端时可以及时回复用户桌面显示。In the embodiment of the present invention, the client sends a wake-up message to the server to enable the server to resume sending image data to the client, so that when the user needs to use the client, the user desktop display can be promptly replied.
下面采用几个具体的实施例,对图1-2所示方法实施例的技术方案进行详细说明。The technical solutions of the method embodiment shown in FIG. 1-2 are described in detail below by using several specific embodiments.
图3为本发明虚拟桌面的休眠控制方法实施例三的流程图,如图3所示,本实施例的方法可以包括:FIG. 3 is a flowchart of Embodiment 3 of a method for controlling a dormancy of a virtual desktop according to the present invention. As shown in FIG. 3, the method in this embodiment may include:
S301、用户操作客户端。S301. The user operates the client.
S302、所述客户端向所述服务端发送登录请求消息。S302. The client sends a login request message to the server.
S303、所述服务端向所述客户端发送登录响应消息和图像数据。S303. The server sends a login response message and image data to the client.
S304、所述服务端向所述客户端发送休眠门限。S304. The server sends a sleep threshold to the client.
其中,所述登录响应消息也可以携带所述客户端的休眠门限,若服务端通过登录响应消息发送休眠门限,则步骤304可以不需要执行。可选的,所述登录响应消息中可以不携带所述客户端的休眠门限。The login response message may also carry the dormancy threshold of the client. If the server sends a dormancy threshold through the login response message, step 304 may not need to be performed. Optionally, the login response message may not carry the sleep threshold of the client.
S305、所述客户端对自身的输入设备进行监测。。S305. The client monitors its own input device. .
其中,若S303中所述登录响应消息未携带所述客户端的休眠门限或服务端未执行步骤S304发送所述客户端的休眠门限,则所述客户端根据本地配置的客户端的休眠门限监测输入设备是否有操作发生,若S303中所述登录响应消息携带所述客户端的休眠门限或服务端通过S304发送所述客户端的休眠门限,则所述客户端根据S303或S304中携带的客户端休眠门限监测输入设备是否有操作发生。If the login response message in the S303 does not carry the dormancy threshold of the client, or the server does not perform the step S304 to send the dormancy threshold of the client, the client monitors whether the input device is based on the locally configured sleep threshold of the client. An operation occurs. If the login response message in S303 carries the sleep threshold of the client, or the server sends the sleep threshold of the client through S304, the client monitors the input according to the client sleep threshold carried in S303 or S304. Whether the device has an operation.
S306、所述客户端监测到所述输入设备没有输入操作的时间超过预设的休 眠门限,向服务端发送休眠请求消息。S306. The client monitors that the input device has no input operation for more than a preset timeout. The sleep threshold sends a sleep request message to the server.
其中,若在所述休眠门限对应的时间段内检测到用户通过任意输入设备进行输入操作,则所述客户端可以令休眠门限的计时器重新开始计时。If it is detected that the user performs an input operation through any input device within a time period corresponding to the sleep threshold, the client may restart the timer of the sleep threshold.
S307、所述服务端根据所述休眠请求消息,确定与所述客户端连接的虚拟机上是否运行有免操作类的应用程序。S307. The server determines, according to the sleep request message, whether an application with an operation-free class is running on a virtual machine connected to the client.
S308-1、所述服务端如果确定所述客户端的虚拟机上未运行所述免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态。S308-1. If the server determines that the application of the operation-free type is not running on the virtual machine of the client, the server sends an allow sleep indication to the client to indicate that the client enters Sleep state.
S309-1、所述客户端在接收到所述服务端发送的允许休眠指示时,控制所述客户端进入休眠状态。S309-1: The client controls the client to enter a sleep state when receiving the allowable sleep indication sent by the server.
可选的,在S307之后,还可以包括:Optionally, after S307, the method may further include:
S308-2、所述服务端如果确定所述客户端的虚拟机上运行有所述免操作类的应用程序,则所述服务端向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态。S308-2. If the server determines that the application of the operation-free class is running on the virtual machine of the client, the server sends a disable sleep indication to the client to indicate that the client is prohibited. Go to sleep.
S309-2、所述客户端在接收到所述服务端发送的禁止休眠指示时,控制所述客户端禁止进入休眠状态。S309-2: The client controls the client to prohibit entering the sleep state when receiving the prohibition of sleeping instruction sent by the server.
可选的,在S309-2之后,可以包括:Optionally, after S309-2, the method may include:
S310-2、所述客户端不对所述显示器进行允许控制,执行S305。S310-2: The client does not perform the permission control on the display, and executes S305.
可选的,在S309-1之后,还可以包括:Optionally, after S309-1, the method may further include:
S311、所述客户端检测到输入设备的输入操作或者定时唤醒时限到达。S311. The client detects an input operation of the input device or a timed wake-up time limit.
S312、所述客户端向所述服务端发送唤醒消息。S312. The client sends a wakeup message to the server.
S313、所述服务端向所述客户端接发送图像数据。S313. The server sends the image data to the client.
可选的,在S302之前,还可以包括:Optionally, before S302, the method may further include:
S302-1、所述服务端向管理系统发送休眠门限请求消息。S302-1: The server sends a sleep threshold request message to the management system.
S302-2、所述管理系统向所述服务端发送休眠门限响应消息,携带所述休眠门限。S302-2: The management system sends a sleep threshold response message to the server, and carries the sleep threshold.
本实施例,通过客户端监测到输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送休眠请求消息,所述服务端根据休眠请求消息确定所述客户端的虚拟机是否运行免操作类的应用程序,如果未运行免操作类的应用 程序则发送允许休眠指示以指示客户端进入休眠,如果运行有免操作类的应用程序则发送禁止休眠指示以指示客户端禁止进入休眠,避免了客户端上正在运行不需用户输入操作的软件一段时间后,客户端设置进入休眠而影响用户使用虚拟桌面服务,并且,若客户端上用户未运行免操作类软件且长时间离开没有输入操作,客户端可以进入休眠,既节约电能又可以减少显示器使用寿命的损耗。In this embodiment, when the client detects that the input device does not input the operation for more than the preset sleep threshold, the server sends a sleep request message to the server, and the server determines, according to the sleep request message, whether the virtual machine of the client is running. The application of the operation class, if the application of the operation-free class is not running The program sends a permission to sleep indication to indicate that the client enters sleep. If the application running the operation-free class runs a disable sleep indication to indicate that the client is prohibited from entering sleep, the software on the client that does not require user input operation is avoided. After the time, the client settings go to sleep and affect the user's use of the virtual desktop service. If the user does not run the operation-free software on the client and leaves the input operation for a long time, the client can go to sleep, saving power and reducing the display. Loss of service life.
图4为本发明虚拟桌面的休眠控制装置实施例一的结构示意图,如图4所示,本实施例的装置可以为虚拟桌面的服务端,本实施例的装置可以包括:收发模块11和处理模块12。4 is a schematic structural diagram of Embodiment 1 of a dormancy control apparatus for a virtual desktop according to the present invention. As shown in FIG. 4, the device in this embodiment may be a server of a virtual desktop, and the device in this embodiment may include: a transceiver module 11 and processing. Module 12.
其中,收发模块11用于接收客户端发送的休眠请求消息;还用于如果所述处理模块确定所述客户端的虚拟机上未运行免操作类的应用程序,则向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态;并且,还用于如果所述确定模块确定所述客户端的虚拟机运行有免操作类的应用程序,则向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态。The transceiver module 11 is configured to receive a sleep request message sent by the client, and is further configured to: if the processing module determines that the application of the operation-free class is not running on the virtual machine of the client, send the allowable sleep to the client. An indication to indicate that the client enters a hibernation state; and, if the determining module determines that the virtual machine of the client runs an application of an operation-free class, sending a prohibition sleep indication to the client, to Instructing the client to prohibit entering a sleep state.
所述处理模块12,用于根据所述休眠请求消息,确定与所述客户端连接的虚拟机上是否运行有免操作类的应用程序,所述免操作类的应用程序是指不需要所述客户端的输入设备进行输入操作的应用程序。The processing module 12 is configured to determine, according to the sleep request message, whether an application of an operation-free class is run on a virtual machine connected to the client, where the application of the operation-free type refers to The client's input device is the application that performs the input operation.
可选的,所述收发模块11,还可以用于:Optionally, the transceiver module 11 is further configured to:
在接收客户端发送的休眠请求消息之前,向所述客户端发送预设的休眠门限,以使所述客户端根据所述预设的休眠门限,监测所述客户端的输入设备没有输入操作的时间是否超过所述预设的休眠门限。Before receiving the sleep request message sent by the client, sending a preset sleep threshold to the client, so that the client monitors the time when the input device of the client does not input the operation according to the preset sleep threshold. Whether the preset sleep threshold is exceeded.
可选的,所述收发模块11,还可以用于:Optionally, the transceiver module 11 is further configured to:
如果所述处理模块确定所述客户端的虚拟机未运行免操作类的应用程序,则所述收发模块向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,停止通过远程桌面协议向所述客户端发送图像数据。If the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client stops entering the sleep state The desktop protocol sends image data to the client.
进一步地,所述收发模块11,还可以用于:Further, the transceiver module 11 can also be used to:
如果所述处理模块确定所述客户端的虚拟机未运行免操作类的应用程序,则所述收发模块向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,If the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client enters a sleep state,
接收所述客户端发送的唤醒消息; Receiving a wakeup message sent by the client;
根据所述唤醒消息,继续通过所述远程桌面协议向所述客户端发送图像数据。And continuing to send image data to the client through the remote desktop protocol according to the wake-up message.
本实施例的装置,可以用于执行图1、图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 and FIG. 3, and the implementation principle and the technical effect are similar, and details are not described herein again.
图5为本发明虚拟桌面的休眠控制装置实施例二的结构示意图,如图5所示,本实施例的执行主体可以是虚拟桌面的客户端,即瘦终端,本实施例的装置可以包括:检测模块11、收发模块12和控制模块13。FIG. 5 is a schematic structural diagram of Embodiment 2 of a dormancy control apparatus for a virtual desktop according to the present invention. As shown in FIG. 5, the executor of the embodiment may be a client of a virtual desktop, that is, a thin terminal. The device in this embodiment may include: The detection module 11, the transceiver module 12 and the control module 13 are provided.
其中,所述检测模块11用于对客户端自身的输入设备进行监测;The detecting module 11 is configured to monitor an input device of the client itself;
所述收发模块12,用于在监测到所述输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送休眠请求消息;The transceiver module 12 is configured to send a sleep request message to the server when the time when the input device does not input operation exceeds the preset sleep threshold;
所述控制模块13,用于如果所述收发模块接收到所述服务端发送的允许休眠指示,控制所述客户端进入休眠状态;还用于如果所述收发模块接收到所述服务端发送的禁止休眠指示,控制所述客户端禁止进入休眠状态。The control module 13 is configured to: if the transceiver module receives the allowable sleep indication sent by the server, control the client to enter a sleep state; and if the transceiver module receives the sent by the server The sleep indication is disabled, and the client is prohibited from entering the sleep state.
可选的,所述控制模块13,还可以用于:Optionally, the control module 13 is further configured to:
如果所述收发模块接收到所述服务端发送的禁止休眠指示,则在所述控制模块控制所述客户端禁止进入休眠状态之后,禁止所述客户端的操作系统的电源管理模块对所述客户端的休眠处理。If the transceiver module receives the forbidden sleep indication sent by the server, after the control module controls the client to prohibit entering the sleep state, the power management module of the operating system of the client is prohibited from being used by the client. Sleep processing.
可选的,所述收发模块12,还可以用于:Optionally, the transceiver module 12 is further configured to:
如果所述收发模块接收到所述服务端发送的允许休眠指示,则所述控制模块控制所述客户端进入休眠状态之后,在所述检测模块监测到所述输入设备有操作时,向所述服务端发送唤醒消息,以使所述服务端根据所述唤醒消息,通过远程桌面协议向所述客户端发送图像数据。If the transceiver module receives the allowable sleep indication sent by the server, the control module controls the client to enter a sleep state, and when the detection module detects that the input device has an operation, The server sends a wake-up message, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
可选的,所述收发模块12,还可以用于在所述检测模块对客户端的输入设备进行监测之前,Optionally, the transceiver module 12 is further configured to: before the detecting module monitors the input device of the client,
从所述服务端获取预设的休眠门限。Obtaining a preset sleep threshold from the server.
本实施例的装置,可以用于执行图2、图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2 and FIG. 3, and the implementation principle and the technical effect are similar, and details are not described herein again.
图6为本发明虚拟桌面的休眠控制系统实施例的结构示意图,如图6所示,本实施例的系统包括:第一装置1、第二装置2、显示器3和输入设备4,其中, 第一装置1可以采用图4任一装置实施例的结构,其对应地,可以执行图1-图3中任一方法实施例的技术方案,第二装置2可以采用图5任一装置实施例的结构,其对应地,可以执行图1~图3中任一方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。FIG. 6 is a schematic structural diagram of an embodiment of a sleep control system for a virtual desktop according to the present invention. As shown in FIG. 6, the system of the present embodiment includes: a first device 1, a second device 2, a display 3, and an input device 4, where The first device 1 can adopt the structure of any device embodiment of FIG. 4, and correspondingly, the technical solution of any of the method embodiments of FIG. 1 to FIG. 3 can be performed, and the second device 2 can adopt any device embodiment of FIG. Correspondingly, the technical solution of any one of the method embodiments of FIG. 1 to FIG. 3 can be performed, and the implementation principle and the technical effect are similar, and details are not described herein again.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (17)

  1. 一种休眠控制方法,其特征在于,用于包括服务端和客户端的虚拟桌面系统,所述服务端上运行有与所述客户端连接的虚拟机,所述方法包括:A dormancy control method is provided for a virtual desktop system including a server and a client, where the server runs a virtual machine connected to the client, and the method includes:
    所述服务端接收所述客户端发送的休眠请求消息;Receiving, by the server, a sleep request message sent by the client;
    所述服务端根据所述休眠请求消息,确定与所述客户端连接的虚拟机上是否运行有免操作类的应用程序,所述免操作类的应用程序是指不需要所述客户端的输入设备进行输入操作的应用程序;Determining, according to the hibernation request message, whether an application having an operation-free class is running on a virtual machine connected to the client, where the application of the operation-free type refers to an input device that does not require the client An application that performs input operations;
    如果确定所述客户端的虚拟机上未运行所述免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态;If it is determined that the application of the operation-free class is not running on the virtual machine of the client, the server sends an allow sleep indication to the client to indicate that the client enters a sleep state;
    如果确定所述客户端的虚拟机上运行有所述免操作类的应用程序,则所述服务端向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态。If it is determined that the application of the operation-free class is running on the virtual machine of the client, the server sends a disable sleep indication to the client to instruct the client to prohibit entering the sleep state.
  2. 根据权利要求1所述的方法,其特征在于,所述服务端设备接收客户端发送的休眠请求消息之前,还包括:The method according to claim 1, wherein before the server device receives the sleep request message sent by the client, the method further includes:
    所述服务端向所述客户端发送预设的休眠门限,以使得所述客户端根据所述预设的休眠门限,监测所述客户端的输入设备没有输入操作的时间是否超过所述预设的休眠门限。The server sends a preset sleep threshold to the client, so that the client monitors whether the input device of the client does not input the operation time exceeds the preset according to the preset sleep threshold. Sleep threshold.
  3. 根据权利要求1或2所述的方法,其特征在于,如果确定所述客户端的虚拟机未运行免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,还包括:The method according to claim 1 or 2, wherein if it is determined that the virtual machine of the client does not run the application of the operation-free class, the server sends an allowable sleep indication to the client to indicate After the client enters the hibernation state, it also includes:
    所述服务端停止通过远程桌面协议向所述客户端发送图像数据。The server stops sending image data to the client through a remote desktop protocol.
  4. 根据权利要求3所述的方法,其特征在于,如果确定所述客户端的虚拟机未运行免操作类的应用程序,则所述服务端向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,还包括:The method according to claim 3, wherein if it is determined that the virtual machine of the client is not running an application of the operation-free class, the server sends an allowable sleep indication to the client to indicate the client After the terminal enters the sleep state, it also includes:
    所述服务端接收所述客户端发送的唤醒消息;The server receives the wakeup message sent by the client;
    所述服务端根据所述唤醒消息,继续通过所述远程桌面协议向所述客户端发送图像数据。The server continues to send image data to the client through the remote desktop protocol according to the wakeup message.
  5. 一种休眠控制方法,其特征在于,用于包括服务端和客户端的虚拟桌面系统,所述服务端上运行有与所述客户端连接的虚拟机;所述方法包括:A sleep control method is provided for a virtual desktop system including a server and a client, where the server runs a virtual machine connected to the client; the method includes:
    所述客户端对自身的输入设备进行监测;The client monitors its own input device;
    所述客户端在监测到所述输入设备没有输入操作的时间超过预设的休眠门 限时,向服务端发送休眠请求消息;The client detects that the input device has no input operation for more than a preset sleep gate. Sending a sleep request message to the server in a limited time;
    所述客户端在接收到所述服务端发送的允许休眠指示时,控制所述客户端进入休眠状态;When receiving the allowed sleep indication sent by the server, the client controls the client to enter a sleep state;
    所述客户端在接收到所述服务端发送的禁止休眠指示时,控制所述客户端禁止进入休眠状态。When receiving the prohibition of sleeping indication sent by the server, the client controls the client to prohibit entering the sleep state.
  6. 根据权利要求5所述的方法,其特征在于,如果所述客户端接收到所述服务端发送的禁止休眠指示,控制所述客户端禁止进入休眠状态之后,还包括:The method according to claim 5, wherein if the client receives the forbidden sleep indication sent by the server, after the client is prohibited from entering the sleep state, the method further includes:
    所述客户端禁止所述客户端的操作系统的电源管理模块对所述客户端的休眠处理。The client prohibits the dormancy processing of the client by the power management module of the operating system of the client.
  7. 根据权利要求5或6所述的方法,其特征在于,如果所述客户端接收到所述服务端发送的允许休眠指示,则指示所述客户端进入休眠状态之后,还包括:The method according to claim 5 or 6, wherein, if the client receives the allowable sleep indication sent by the server, indicating that the client enters the sleep state, the method further includes:
    所述客户端在监测到所述输入设备有输入操作时,向所述服务端发送唤醒消息,以使得所述服务端根据所述唤醒消息,通过远程桌面协议向所述客户端发送图像数据。When the client detects that the input device has an input operation, the client sends a wake-up message to the server, so that the server sends the image data to the client through the remote desktop protocol according to the wake-up message.
  8. 根据权利要求5所述的方法,其特征在于,所述客户端对自身的输入设备进行监测之前,还包括:The method according to claim 5, wherein before the client monitors its own input device, the method further includes:
    所述客户端从所述服务端获取预设的休眠门限。The client acquires a preset sleep threshold from the server.
  9. 一种虚拟桌面的休眠控制装置,其特征在于,包括:A sleep control device for a virtual desktop, comprising:
    收发模块,用于接收客户端发送的休眠请求消息;a transceiver module, configured to receive a sleep request message sent by the client;
    处理模块,用于根据所述休眠请求消息,确定与所述客户端连接的虚拟机上是否运行有免操作类的应用程序,所述免操作类的应用程序是指不需要所述客户端的输入设备进行输入操作的应用程序;a processing module, configured to determine, according to the sleep request message, whether an application having an operation-free class is run on a virtual machine connected to the client, where the application of the operation-free type refers to an input that does not need the client An application for the device to perform input operations;
    所述收发模块,还用于如果所述处理模块确定所述客户端的虚拟机上未运行免操作类的应用程序,则向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态;The transceiver module is further configured to: if the processing module determines that the application of the operation-free class is not running on the virtual machine of the client, send an allowable sleep indication to the client, to indicate that the client enters a sleep state ;
    所述收发模块,还用于如果所述确定模块确定所述客户端的虚拟机运行有免操作类的应用程序,则向所述客户端发送禁止休眠指示,以指示所述客户端禁止进入休眠状态。The transceiver module is further configured to: if the determining module determines that the virtual machine of the client runs an application of the operation-free class, send a prohibition sleep indication to the client, to instruct the client to prohibit entering the sleep state .
  10. 根据权利要求9所述的装置,其特征在于,所述收发模块,还用于:The device according to claim 9, wherein the transceiver module is further configured to:
    在接收客户端发送的休眠请求消息之前,向所述客户端发送预设的休眠门 限,以使所述客户端根据所述预设的休眠门限,监测所述客户端的输入设备没有输入操作的时间是否超过所述预设的休眠门限。Sending a preset sleep gate to the client before receiving the sleep request message sent by the client Limiting, so that the client monitors whether the input device of the client does not input the operation time exceeds the preset sleep threshold according to the preset sleep threshold.
  11. 根据权利要求9或10所述的装置,其特征在于,所述收发模块,还用于:The device according to claim 9 or 10, wherein the transceiver module is further configured to:
    如果所述处理模块确定所述客户端的虚拟机未运行免操作类的应用程序,则所述收发模块向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,停止通过远程桌面协议向所述客户端发送图像数据。If the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client stops entering the sleep state The desktop protocol sends image data to the client.
  12. 根据权利要求11所述的装置,其特征在于,所述收发模块,还用于:The device according to claim 11, wherein the transceiver module is further configured to:
    如果所述处理模块确定所述客户端的虚拟机未运行免操作类的应用程序,则所述收发模块向所述客户端发送允许休眠指示,以指示所述客户端进入休眠状态之后,If the processing module determines that the virtual machine of the client is not running an application of the operation-free class, the transceiver module sends an allowable sleep indication to the client to indicate that the client enters a sleep state,
    接收所述客户端发送的唤醒消息;Receiving a wakeup message sent by the client;
    根据所述唤醒消息,继续通过所述远程桌面协议向所述客户端发送图像数据。And continuing to send image data to the client through the remote desktop protocol according to the wake-up message.
  13. 一种虚拟桌面的休眠控制装置,其特征在于,包括:A sleep control device for a virtual desktop, comprising:
    检测模块,用于对客户端自身的输入设备进行监测;a detection module for monitoring an input device of the client itself;
    收发模块,用于在监测到所述输入设备没有输入操作的时间超过预设的休眠门限时,向服务端发送休眠请求消息;The transceiver module is configured to send a sleep request message to the server when the time when the input device does not input operation exceeds the preset sleep threshold;
    控制模块,用于如果所述收发模块接收到所述服务端发送的允许休眠指示,控制所述客户端进入休眠状态;a control module, configured to control the client to enter a sleep state if the transceiver module receives an allowable sleep indication sent by the server;
    所述控制模块,还用于如果所述收发模块接收到所述服务端发送的禁止休眠指示,控制所述客户端禁止进入休眠状态。The control module is further configured to control the client to prohibit entering a sleep state if the transceiver module receives the prohibition sleep indication sent by the server.
  14. 根据权利要求13所述的装置,其特征在于,所述控制模块,还用于:The device according to claim 13, wherein the control module is further configured to:
    如果所述收发模块接收到所述服务端发送的禁止休眠指示,则在所述控制模块控制所述客户端禁止进入休眠状态之后,禁止所述客户端的操作系统的电源管理模块对所述客户端的休眠处理。If the transceiver module receives the forbidden sleep indication sent by the server, after the control module controls the client to prohibit entering the sleep state, the power management module of the operating system of the client is prohibited from being used by the client. Sleep processing.
  15. 根据权利要求13或14所述的装置,其特征在于,所述收发模块,还用于:The device according to claim 13 or 14, wherein the transceiver module is further configured to:
    如果所述收发模块接收到所述服务端发送的允许休眠指示,则所述控制模块控制所述客户端进入休眠状态之后,在所述检测模块监测到所述输入设备有操作时,向所述服务端发送唤醒消息,以使所述服务端根据所述唤醒消息,通 过远程桌面协议向所述客户端发送图像数据。If the transceiver module receives the allowable sleep indication sent by the server, the control module controls the client to enter a sleep state, and when the detection module detects that the input device has an operation, The server sends a wake-up message, so that the server can communicate according to the wake-up message. The image data is sent to the client via the remote desktop protocol.
  16. 根据权利要求13所述的装置,其特征在于,所述收发模块还用于,在所述检测模块对客户端的输入设备进行监测之前,The device according to claim 13, wherein the transceiver module is further configured to: before the detecting module monitors the input device of the client,
    从所述服务端获取预设的休眠门限。Obtaining a preset sleep threshold from the server.
  17. 一种虚拟桌面的休眠控制系统,其特征在于,包括:由权利要求8-12任一项所述的虚拟桌面的休眠控制装置、由权利要求13-16任一所述的虚拟桌面的休眠控制装置以及显示器和输入设备。 A sleep control system for a virtual desktop, comprising: a sleep control device for a virtual desktop according to any one of claims 8-12, and a sleep control of the virtual desktop according to any one of claims 13-16 Devices as well as displays and input devices.
PCT/CN2015/070050 2014-04-15 2015-01-04 Sleep control method, apparatus and system for virtual desktop WO2015158161A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410151526.X 2014-04-15
CN201410151526.XA CN105100125B (en) 2014-04-15 2014-04-15 A kind of dormancy control method of virtual desktop, apparatus and system

Publications (1)

Publication Number Publication Date
WO2015158161A1 true WO2015158161A1 (en) 2015-10-22

Family

ID=54323464

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/070050 WO2015158161A1 (en) 2014-04-15 2015-01-04 Sleep control method, apparatus and system for virtual desktop

Country Status (2)

Country Link
CN (1) CN105100125B (en)
WO (1) WO2015158161A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399211A (en) * 2019-08-14 2021-02-23 青岛海信宽带多媒体技术有限公司 Operation method and convergence gateway
CN112416518A (en) * 2020-11-21 2021-02-26 广州西麦科技股份有限公司 Method and system for intelligently preventing virtual resource waste

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305439B (en) * 2016-04-21 2020-04-10 致伸科技股份有限公司 Input module
CN107220102A (en) * 2017-04-19 2017-09-29 深圳中兴网信科技有限公司 The dormancy of virtual machine and awakening method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246838A1 (en) * 2012-03-16 2013-09-19 Chandra Reddy Discovering boot order sequence of servers belonging to an application
CN103543813A (en) * 2012-07-13 2014-01-29 云联(北京)信息技术有限公司 Timer interruption and remote wakening implementation method based on cloud office business handling
CN103685396A (en) * 2012-09-14 2014-03-26 北京神州泰岳软件股份有限公司 Method and system for realizing message pushing
CN103701870A (en) * 2013-12-12 2014-04-02 上海兆民云计算科技有限公司 Method for reducing power consumption generated in connection of desktop cloud terminal and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332212A1 (en) * 2008-09-19 2010-12-30 Ori Finkelman Method and apparatus for sleep and wake of computer devices
CN102279770B (en) * 2011-09-01 2015-04-15 魅族科技(中国)有限公司 Control method of screen standby mode and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130246838A1 (en) * 2012-03-16 2013-09-19 Chandra Reddy Discovering boot order sequence of servers belonging to an application
CN103543813A (en) * 2012-07-13 2014-01-29 云联(北京)信息技术有限公司 Timer interruption and remote wakening implementation method based on cloud office business handling
CN103685396A (en) * 2012-09-14 2014-03-26 北京神州泰岳软件股份有限公司 Method and system for realizing message pushing
CN103701870A (en) * 2013-12-12 2014-04-02 上海兆民云计算科技有限公司 Method for reducing power consumption generated in connection of desktop cloud terminal and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399211A (en) * 2019-08-14 2021-02-23 青岛海信宽带多媒体技术有限公司 Operation method and convergence gateway
CN112399211B (en) * 2019-08-14 2023-10-24 青岛海信宽带多媒体技术有限公司 Operation method and fusion gateway
CN112416518A (en) * 2020-11-21 2021-02-26 广州西麦科技股份有限公司 Method and system for intelligently preventing virtual resource waste

Also Published As

Publication number Publication date
CN105100125B (en) 2018-05-29
CN105100125A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102970155B (en) Keep activity management
CN103051468B (en) The operating system management of network interface device
WO2018210135A1 (en) Data transmission method, base station, and terminal
CN107749797B (en) Computing equipment and implementation method thereof
WO2016058335A1 (en) Signal transmission control method and apparatus and electronic device
CN104657228B (en) A kind of system exception processing method and processing device of mobile terminal
WO2015158161A1 (en) Sleep control method, apparatus and system for virtual desktop
JP5773288B2 (en) Wake-up method, hot-swap method, and device based on high-speed interchip HSIC interface
US20150227190A1 (en) Method and apparatus for recovery from low power state
EP3209005B1 (en) Task processing device, intelligent apparatus, task processing method and baseband processor
WO2013063972A1 (en) Communication method, communication apparatus and electronic device
US9819640B2 (en) Method for keeping remote connection, electronic device and server
US7467313B2 (en) Method for transmitting a power-saving command between a computer system and peripheral system chips
CN106550438B (en) Method and system for limiting regular awakening and mobile device
WO2015154462A1 (en) Method and device for managing instant communication application program, and mobile terminal thereof
US10945207B2 (en) Beacon signal processing system and filtering method of reducing wake-up frequency
JP7346723B2 (en) Power saving signal receiving method, power saving signal transmitting method and related equipment
US10901679B2 (en) Mirroring of screens
TW201630394A (en) Method for maintaining transmission control protocol connection and computer system
JP2015222505A (en) Electronic apparatus
WO2022179425A1 (en) Network connection method and apparatus
CN105357387A (en) Method, apparatus and system for wakening terminal
WO2021244519A1 (en) Wi-fi control method and apparatus, and electronic device
CN101609360A (en) Computing machine power-economizing method, computing machine and display
CN104992697A (en) Energy-saving method and system for KTV song-on-demand system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15779972

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15779972

Country of ref document: EP

Kind code of ref document: A1