WO2013037232A1 - Processing method and device for disconnecting virtual desktop - Google Patents

Processing method and device for disconnecting virtual desktop Download PDF

Info

Publication number
WO2013037232A1
WO2013037232A1 PCT/CN2012/077859 CN2012077859W WO2013037232A1 WO 2013037232 A1 WO2013037232 A1 WO 2013037232A1 CN 2012077859 W CN2012077859 W CN 2012077859W WO 2013037232 A1 WO2013037232 A1 WO 2013037232A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual desktop
client
data
feedback information
network side
Prior art date
Application number
PCT/CN2012/077859
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 WO2013037232A1 publication Critical patent/WO2013037232A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for processing a virtual desktop.
  • BACKGROUND OF THE INVENTION Cloud computing is a new term born in 2007.
  • IT information technology
  • a virtual desktop is a type of cloud computing application, which is a PaaS (Platform-as-a-Service) type. It is usually referred to as an application: By centrally arranging servers and running virtual machines of the desktop system, users can pass through the network.
  • the desktop system is not limited to physical space limitations, and desktop operations are performed.
  • a thin terminal mode for example, a thin terminal mode, a managed operating system mode, an image streaming mode, etc., which are basically running an application or an operating system desktop in the cloud (server group), and virtualizing
  • the desktop client is responsible for output (desktop) input (keyboard, mouse, etc.).
  • Virtual desktops can be applied to call centers, operation and maintenance stations, office applications, and the like.
  • the redirected device and the user's network disk will be disconnected. If these devices or files are copying or transferring data at this time, the way to disconnect the virtual desktop will result in data loss.
  • the data is the data that the user wants to transmit, it will affect the normal use of the user.
  • the present invention provides a method and apparatus for disconnecting a virtual desktop to at least solve the problem of data loss caused by disconnecting the virtual desktop.
  • a method for processing a virtual desktop comprising: receiving, by a network side device, a disconnect request from a virtual desktop client; the network side device checking data transmission with the virtual desktop client If the network side device determines, according to the result of the check, that the data transmission is not completed, the virtual desktop client is prompted to prompt the user that the data transmission is not completed; After receiving the feedback information of the user, the network side device performs processing according to the feedback information.
  • the data carries the identification information, and the identification information indicates that the data is the transmission data of one of the following devices: a redirecting device, a user network disk.
  • the network side device instructs the virtual desktop client to prompt the user that the data transmission is not completed.
  • the network side device determines the prompt interface according to the identification information carried in the uncompleted transmission data.
  • the network side device instructs the virtual desktop client to display the determined prompt interface.
  • the processing of the network side device according to the feedback information includes: the feedback information is the disconnection indication information, and the network side device disconnects the virtual desktop connected by the virtual client; or the feedback information is the disconnection indication information, and the network side device maintains the virtual client.
  • the connection link between the network side device and the virtual desktop client includes at least one of the following: a control connection link and a data connection link.
  • the above network side device is one of the following: a virtual desktop system platform, a virtual desktop server side, and a virtual desktop cloud.
  • a processing apparatus for disconnecting a virtual desktop comprising: a disconnect request receiving module configured to receive a disconnect request from a virtual desktop client; and a transmission status checking module configured to be disconnected After receiving the disconnection request, the request receiving module checks the data transmission status with the virtual desktop client; the indication module is set to indicate that the virtual desktop client prompts the user to have the data transmission not ended according to the result of the transmission condition checking module check. Data transfer is not over.
  • the device further includes: a feedback information receiving module, configured to receive feedback information of the user; and a processing module configured to perform processing according to the feedback information received by the feedback information receiving module.
  • the indication module includes: an indication interface determining unit, configured to determine a prompt interface according to the identifier information carried in the uncompleted transmission data; the identifier information indicates that the data is transmission data of one of the following devices: a redirecting device or a user network disk; an indicating unit, setting To indicate to the virtual desktop client, the prompt interface determined by the indication interface determining unit is displayed.
  • the processing module includes: a disconnection processing unit configured to: when the feedback information received by the feedback information receiving module is the disconnection indication information, disconnect the virtual desktop connected by the virtual client; or maintain the connection processing unit, set to be feedback When the feedback information received by the information receiving module is the disconnection indication information, the connection between the virtual client and the virtual desktop is maintained.
  • the above devices are installed on one of the following devices: a virtual desktop system platform, a virtual desktop server side, or a virtual desktop cloud.
  • the network side device when receiving the disconnection request, the network side device no longer directly disconnects the virtual client from the virtual desktop, but prompts the user according to the data transmission, and provides a guarantee for understanding the user's will.
  • the problem of data loss caused by disconnecting the virtual desktop is solved, thereby avoiding problems such as interruption of operation and interruption of data transmission caused by interrupting the connection between the virtual desktop client and the virtual desktop, thereby improving system performance.
  • FIG. 1 is a schematic diagram of a virtual desktop client and a virtual desktop system platform according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a processing method for disconnecting a virtual desktop according to Embodiment 1 of the present invention
  • FIG. 4 is a flow chart of a message for prompting a virtual desktop client to be disconnected according to Embodiment 2 of the present invention
  • FIG. 1 is a schematic diagram of a virtual desktop client and a virtual desktop system platform according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a processing method for disconnecting a virtual desktop according to Embodiment 1 of the present invention
  • FIG. 4 is a flow chart of a message for prompting a virtual desktop client to be disconnected according to Embodiment 2 of the present invention
  • FIG. 1 is a schematic diagram of a virtual desktop client and a virtual desktop system platform according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a processing method for disconnecting a virtual desktop
  • FIG. 4 is a schematic diagram of a message flow when a virtual desktop client is disconnected according to Embodiment 2 of the present invention
  • FIG. 6 is a block diagram showing a specific structure of a processing device for disconnecting a virtual desktop according to Embodiment 3 of the present invention
  • FIG. 7 is a flowchart for disconnecting a virtual desktop according to Embodiment 3 of the present invention
  • Another specific structural block diagram of the device BEST MODE FOR CARRYING OUT THE INVENTION
  • the methods included are performed by a computer, device or machine, and the method can be stored as machine readable instructions, which can be stored on a defined medium, such as a computer storage device, including but not limited to ROM (read only memory) Storage, FLASH memory, transfer device, etc.), magnetic storage media (eg, magnetic tape, disk drive, etc.), optical storage media (eg, CD-ROM, DVD-ROM, paper cards, tape, etc.) and other well-known types Program memory.
  • ROM read only memory
  • FLASH memory FLASH memory
  • magnetic storage media eg, magnetic tape, disk drive, etc.
  • optical storage media eg, CD-ROM, DVD-ROM, paper cards, tape, etc.
  • the network side device in each embodiment of the present invention may be one of the following: a virtual desktop system platform and a virtual desktop server terminal, wherein the virtual desktop system platform or the virtual desktop server is also referred to as a virtual desktop cloud;
  • FIG. 1 is a schematic diagram of a virtual desktop client and a system platform, wherein a virtual desktop system platform connects multiple virtual desktop clients.
  • the virtual desktop client can be a variety of terminal devices, such as a PC.
  • Various terminals can connect to the virtual desktop system platform through a virtual desktop interface, and the client running the virtual desktop system platform on the terminal; the virtual desktop system platform is composed of a plurality of physical machines running a client connected to the virtual desktop system platform Virtual machines that provide desktop capabilities that are managed by a hypervisor.
  • the connection between the virtual desktop client and the virtual desktop cloud is at least divided into two types: control connection and data connection.
  • control connection link data related to virtual desktop client parameters, user authentication data, and instructions sent by the hypervisor to the virtual desktop client are transmitted.
  • the data connection link transmits data generated by the virtual desktop, such as: application interface, graphic image, sound, text, and data transmission of devices such as redirected devices, and/or user network disks.
  • Embodiment 1 when a user attempts to disconnect from a virtual desktop, or attempts to restart, shut down, or standby in a virtual desktop, the network side device (for example, a virtual desktop cloud) needs to determine whether or not the peripheral is redirected. There is data transfer between the user's network disk and the redirected domain directory. If there is, the user is prompted to confirm whether it needs to be disconnected, and then processed according to the user's wishes. Based on this, the embodiment provides a processing method for disconnecting the virtual desktop. Referring to FIG. 2, the method includes the following steps (step S202 - step S206): Step S202: The network side device receives the disconnection from the virtual desktop client. request.
  • the network side device When the virtual desktop client requests to disconnect, the network side device will receive a disconnect request.
  • the connection link between the network side device and the virtual desktop client includes at least one of the following: a control connection link and a data connection link.
  • the data transmitted on the data connection link has respective markings for data transmission of devices including the redirected device and/or the user network disk. Based on this, the foregoing data carries identification information, where the indication information indicates that the data is transmission data of one of the following devices: a redirecting device or a user network disk.
  • Step S204 The network side device checks the data transmission status with the virtual desktop client.
  • the network side device checks the data connection link to determine whether there is data on the link that has not been transmitted.
  • the method for checking, by the network side device, the data connection link further includes checking, by the running virtual machine management process, a file descriptor, a device descriptor, and the like opened by an operating system process on the virtual machine, for example, for the opened redirecting device, If there is data transmission on its corresponding device descriptor pipeline, it is determined that the data with the client is still in transmission.
  • Step S206 The network side device instructs the virtual desktop client to prompt the user that the data transmission is not completed when it is determined that the data transmission is not completed according to the result of the foregoing check.
  • the virtual desktop client is instructed to prompt the user. If the check finds that the data transmission is not completed, the virtual desktop client is instructed to prompt the user. If the check does not find the data that has not been transmitted, the indication is not performed, and the connection is directly disconnected. After receiving the prompt from the virtual desktop client, the user will feedback whether to disconnect from the virtual desktop.
  • the prompt on the virtual desktop client can determine the corresponding interface according to the judgment result of the network side device. For example, the device corresponding to the data that is not to be transmitted, that is, the identifier information carried by the data, indicates that the virtual desktop client displays the corresponding interface. Based on this, the virtual desktop client is prompted to prompt the user that the data transmission is not completed.
  • the device determines the prompt interface according to the identifier information carried in the uncompleted transmission data, and the network side device instructs the virtual desktop client to display the determined prompt interface.
  • the network side device receives the feedback information of the user, and processes the information according to the feedback information. For example, when the feedback information is the disconnection indication information, the network side device disconnects the virtual desktop connected by the virtual client; when the feedback information is the disconnection indication information, the network side device maintains the connection between the virtual client and the virtual desktop. If the user chooses to disconnect, the data connection is also interrupted, and the connection between the virtual desktop client and the virtual desktop is immediately disconnected; if the user chooses not to disconnect, all virtual desktop clients are connected to the virtual desktop. Still kept.
  • Embodiment 2 This embodiment provides a method for disconnecting a virtual desktop. The method is described by taking a network side device as a virtual desktop cloud as an example. Referring to FIG. 3, the method includes the following steps: Step S302: Virtual desktop client Request to disconnect; this request from the virtual desktop client is sent to the virtual desktop cloud by controlling the connection link.
  • Step S304 After receiving the disconnect request, the virtual desktop cloud checks the data connection link.
  • Step S306 The virtual desktop cloud determines whether the data connection link has data transmission is not completed. If yes, step S308 is performed; if no, step S310 is performed.
  • the data transmitted on the data connection link has respective tags for data transmission of devices including the redirected device and/or the user network disk.
  • Step S308 The virtual desktop cloud instructs the virtual desktop client to prompt the user to process according to the user's selection. The prompt on the virtual desktop client determines the corresponding interface according to the judgment result of the virtual desktop cloud.
  • Step S310 The virtual desktop cloud disconnects from the virtual desktop client.
  • Figure 4 is a schematic diagram of the message flow prompted when the virtual desktop client is disconnected. In the figure, when the virtual desktop client connects to the virtual desktop cloud, the virtual desktop is displayed on the virtual desktop client; when the virtual desktop client wants to disconnect from the virtual desktop cloud, the following message transmission process is available: Message 1: The virtual desktop client sends a request message containing a request to disconnect to the virtual desktop cloud.
  • the desktop data stream connection between the virtual desktop client and the virtual desktop cloud may still be transmitting data, such as transmitting peripheral input, outputting data, or transmitting media stream data, or transferring files. Copy data, etc.
  • Message 2 The virtual desktop cloud receives the message from the virtual desktop client and responds to the virtual desktop client after processing the request.
  • the virtual desktop cloud processes the virtual desktop client request message, including checking whether the data is transmitted in the desktop data stream connection, whether the transmitted data is valid data, etc., according to the judgment of the desktop data stream, the organization responds to the message, and responds The message is sent to the virtual desktop client.
  • the response message in this embodiment includes whether the virtual desktop client is instructed to prompt the user to disconnect, so the response message may also be referred to as indicating the client confirmation message.
  • the dotted line "virtual desktop data interaction" in the figure represents a desktop data stream connection, indicating that data is being transmitted on the connection.
  • Message 3 The virtual desktop client receives the message of the virtual desktop cloud, and includes the requirement that the virtual desktop client prompts the user to disconnect, and provides an interactive interface for the user to operate, that is, prompting the user to disconnect immediately.
  • Message 4 After the user makes a selection on the interface provided by the virtual desktop client, the virtual desktop client confirms the disconnection message or cancels the disconnection message to the virtual desktop cloud according to the user selection.
  • the figure shows that the virtual desktop client sends a confirmation disconnect message to the virtual desktop cloud.
  • the virtual desktop cloud stops the connection of the desktop data stream and also disconnects the virtual desktop client.
  • the virtual desktop client sends a cancel disconnect message, it keeps the connection of the desktop data stream, and the desktop runs normally, such as transmitting peripheral input, outputting data, or transmitting media stream data, or transferring file copy data, etc.
  • the task continues to run.
  • the foregoing process is an embodiment of the present invention, and is not limited to the embodiment, and is not intended to limit the specific process execution.
  • the present invention may also be implemented in a similar manner, such as indicating the name of the module, various The type of upgrade, etc., but the specific message content is different.
  • the virtual desktop cloud in this embodiment does not directly disconnect the virtual desktop client from the virtual desktop cloud, but prompts the user according to the data transmission, and then according to the information fed back by the user.
  • the problem is solved, which solves the problem that the disconnection of the virtual desktop affects the user's usage data, thereby avoiding problems such as interruption of operation and interruption of data transmission caused by the interruption of the connection between the virtual desktop client and the virtual desktop cloud, thereby improving system performance.
  • Embodiment 3 This embodiment provides a processing device for disconnecting a virtual desktop, and the device is disposed on a network side device, for example, on a virtual desktop cloud.
  • the device includes the following modules:
  • the disconnection request receiving module 51 is configured to receive a disconnection request from the virtual desktop client;
  • the transmission status checking module 52 is connected to the disconnection request receiving module 51, and is configured to receive the disconnection request by the disconnect request receiving module 51. Afterwards, the data transmission status of the virtual desktop client is checked.
  • the indication module 53 is connected to the transmission status checking module 52, and is configured to indicate that the virtual desktop client prompts when the data transmission is not completed according to the result of the checking by the transmission status checking module 52. The user has data transfer not ended. Referring to FIG.
  • the device further includes: a feedback information receiving module 54 connected to the indication module 53 and configured to receive the feedback information of the user; the processing module 55 is connected to the feedback information receiving module 54 and configured to receive the module according to the feedback information. 54 received feedback information for processing.
  • the connection link between the network side device and the virtual desktop client including the foregoing apparatus includes at least one of the following: a control connection link and a data connection link. In order to be able to know which device the data transmitted on the data connection link is, the data transmitted on the data connection link has respective markings for data transmission of devices including the redirected device, and/or the user network disk.
  • the foregoing data carries identification information, where the identification information indicates that the data is transmission data of one of the following devices: a redirecting device, a user network disk device.
  • the indication module 53 includes: an indication interface determining unit, configured to determine a prompt interface according to the identification information carried in the uncompleted transmission data; the indication unit is connected to the indication interface determining unit, and is configured to instruct the virtual desktop client to display the indication interface Determine the prompt interface determined by the unit.
  • FIG. 7 another specific structural block diagram of a processing device for disconnecting a virtual desktop, where the device includes the above-mentioned various modules in FIG. 6 , the processing module 55 includes: a disconnect processing unit 552, and feedback information.
  • the receiving module 54 is connected to be configured to disconnect the virtual desktop connected to the virtual client when the feedback information received by the feedback information receiving module 54 is the disconnection indication information.
  • the maintenance connection processing unit 554 is connected to the feedback information receiving module 54 and configured. When the feedback information received by the feedback information receiving module 54 is the disconnection indication information, the connection between the virtual client and the virtual desktop is maintained.
  • the network side device of the foregoing embodiment does not take the direct disconnection between the virtual client and the virtual desktop, but prompts the user according to the data transmission, and then according to the user feedback.
  • the information is processed to solve the problem that disconnecting the virtual desktop affects the user's usage data, thereby avoiding problems such as interruption of operation and interruption of data transmission caused by interrupting the connection between the virtual desktop client and the virtual desktop, thereby improving system performance.
  • the above embodiments are network-related and can be applied to communication networks supported by PSTN (Public Switched Telephone Network), 3GPP (3rd Generation Partnership Project) network, 3GPP2 network, etc.
  • IP network can be applied to grid computing systems, distributed computing systems, server operating systems can be applied to UNIX-like operating systems, WINDOWS-like operating systems, consumer interfaces can be applied to JAVA language interfaces.
  • the network side device of the embodiment of the present invention when receiving the disconnection request, no longer directly disconnects the virtual client from the virtual desktop, but prompts according to the data transmission.
  • the user according to the information fed back by the user, solves the problem that the disconnection of the virtual desktop affects the user's usage data, thereby avoiding the interruption of operation, interruption of data transmission, etc. caused by the interruption of the connection between the virtual desktop client and the virtual desktop. Problem, improved system performance.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Abstract

Disclosed are a processing method and device for disconnecting a virtual desktop. The method includes: a network-side device receives from a virtual desktop client a request for disconnection; the network-side device checks data transmission status with the virtual desktop client; and upon determining that there is unfinished data transmission according to the check result, the network-side device instructs the virtual desktop client to indicate the unfinished data transmission to the user. The present invention solves the problem of data loss resulting from virtual desktop disconnection, and enhances system performance.

Description

断开虚拟桌面的处理方法和装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种断开虚拟桌面的处理方法和装置。 背景技术 云计算是诞生于 2007年的新名词, 到目前已经有越来越多的 IT (信息技术)、 CT TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a method and apparatus for processing a virtual desktop. BACKGROUND OF THE INVENTION Cloud computing is a new term born in 2007. Up to now, there are more and more IT (information technology), CT
(通讯技术) 设备商和运营商加入到云产品的开发研究和云产品的推广与布置。 云产 品在互联网应用、 信息中心建设等领域已经得到相对成熟的应用。 虚拟桌面是一种云计算应用, 属 PaaS (Platform-as-a-Service, 平台即服务)类型, 通常是指这样的应用: 通过集中布置服务器并运行桌面系统的虚拟机, 使得用户可以 通过网络不限于物理空间的限制来使用桌面系统, 以及进行桌面操作。 现有技术中虚拟桌面的实现方法有多种, 例如, 瘦终端方式, 托管操作系统方式, 映象流方式等等, 这些方法基本上是在云端 (服务器群) 运行应用或操作系统桌面, 虚拟桌面客户端负责输出 (桌面)输入(键盘、 鼠标等各种外设)。 虚拟桌面可以应用 于呼叫中心、 操作维护台、 办公应用等。 当用户断开与虚拟桌面的连接时, 重定向的设备、 用户网盘都将断开。 如果此时 这些设备或者文件正在拷贝或者传送数据,这种断开虚拟桌面的方式将导致数据丢失, 当该数据为用户希望传输的数据时, 将影响用户的正常使用。 针对相关技术中断开虚拟桌面导致数据丢失的问题, 目前尚未提出有效的解决方 案。 发明内容 本发明的提供了一种断开虚拟桌面的处理方法和装置, 以至少解决上述断开虚拟 桌面导致数据丢失的问题。 根据本发明的一个方面, 提供了一种断开虚拟桌面的处理方法, 该方法包括: 网 络侧设备接收来自虚拟桌面客户端的断开连接请求; 该网络侧设备检查与该虚拟桌面 客户端的数据传输情况; 该网络侧设备根据检查的结果确定有数据传输未结束时, 指 示该虚拟桌面客户端提示用户有数据传输未结束; 上述网络侧设备在接收用户的反馈信息后, 根据该反馈信息进行处理。 上述数据携带有标识信息, 标识信息指示数据为以下设备之一的传输数据: 重定 向设备、 用户网盘。 上述网络侧设备指示虚拟桌面客户端提示用户有数据传输未结束包括: 网络侧设 备根据未结束传输数据携带的标识信息确定提示界面; 网络侧设备指示虚拟桌面客户 端显示确定的提示界面。 上述网络侧设备根据反馈信息进行处理包括: 反馈信息为断开连接指示信息, 网 络侧设备断开虚拟客户端连接的虚拟桌面; 或者, 反馈信息为不断开连接指示信息, 网络侧设备维持虚拟客户端与虚拟桌面间的连接。 上述网络侧设备与虚拟桌面客户端的连接链路至少包括以下之一:控制连接链路、 数据连接链路。 上述网络侧设备为以下之一: 虚拟桌面系统平台、 虚拟桌面服务器端、 虚拟桌面 云。 根据本发明的另一方面, 提供了一种断开虚拟桌面的处理装置, 包括: 断开请求 接收模块, 设置为接收来自虚拟桌面客户端的断开连接请求; 传输情况检查模块, 设 置为断开请求接收模块接收到断开连接请求后, 检查与虚拟桌面客户端的数据传输情 况; 指示模块, 设置为根据传输情况检查模块检查的结果确定有数据传输未结束时, 指示虚拟桌面客户端提示用户有数据传输未结束。 上述装置还包括: 反馈信息接收模块, 设置为接收用户的反馈信息; 处理模块, 设置为根据反馈信息接收模块接收的反馈信息进行处理。 上述指示模块包括: 指示界面确定单元, 设置为根据未结束传输数据携带的标识 信息确定提示界面; 标识信息指示数据为以下设备之一的传输数据: 重定向设备或用 户网盘; 指示单元, 设置为指示虚拟桌面客户端显示指示界面确定单元确定的提示界 面。 上述处理模块包括: 断开处理单元, 设置为当反馈信息接收模块接收的反馈信息 为断开连接指示信息时, 断开虚拟客户端连接的虚拟桌面; 或者, 维持连接处理单元, 设置为当反馈信息接收模块接收的反馈信息为不断开连接指示信息时, 维持虚拟客户 端与虚拟桌面间的连接。 上述装置设置在以下设备之一上: 虚拟桌面系统平台、 虚拟桌面服务器端或虚拟 桌面云。 通过本发明, 网络侧设备在接收到断开连接请求时, 不再采取直接断开虚拟客户 端与虚拟桌面间的连接, 而是根据数据传输的情况提示用户, 为了解用户的意愿提供 了保证, 解决了断开虚拟桌面导致数据丢失的问题, 进而避免了因中断虚拟桌面客户 端与虚拟桌面之间的连接带来的运行中断、 数据传输中断等问题, 提升了系统性能。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的虚拟桌面客户端与虚拟桌面系统平台之间的示意图; 图 2是根据本发明实施例 1的断开虚拟桌面的处理方法流程图; 图 3是根据本发明实施例 2的断开虚拟桌面的处理方法流程图; 图 4是根据本发明实施例 2的虚拟桌面客户端断开时提示的消息流程示意图; 图 5是根据本发明实施例 3的断开虚拟桌面的处理装置的结构框图; 图 6是根据本发明实施例 3的断开虚拟桌面的处理装置的具体结构框图; 图 7是根据本发明实施例 3的断开虚拟桌面的处理装置的另一种具体结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 为了清楚起见, 本实施例没有示出和描述设备的所有的常规特征。 当然, 应当理 解, 在任何实际设备的研制中, 必需做出特定实现方式的决定以便实现研制者的特定 目标, 例如符合与应用及业务相关的约束, 这些特定的目标随着不同的实现方式而变 化, 并且随着不同的研制者而变化。 而且应当理解, 这种研制工作是复杂和耗时的, 但是尽管如此, 对于受到本发明公开内容启发的普通技术人员而言所进行的技术工作 是常规的。 根据这里描述的主题, 能够利用各种类型的操作系统、 计算平台、 计算机程序、 和 /或通用机器来制造、 操作和 /或执行各种部件、 系统、 装置、 处理步骤和 /或数据结 构。 此外, 本领域的普通技术人员将会明白, 也可以利用不太通用的装置, 而不脱离 这里公开的发明构思的范围和精神实质。 其中, 所包含的方法由计算机、 装置或机器 执行, 并且该方法可以被存储为机器可读的指令, 它们可以存储在确定的介质上, 例 如计算机存储装置,包括但不限于 ROM (只读存贮器、 FLASH存储器、转移装置等)、 磁存储介质(例如,磁带、磁盘驱动器等)、光学存储介质(例如, CD-ROM, DVD-ROM, 纸卡、 纸带等) 以及其他熟知类型的程序存储器。 此外, 应当认识到, 该方法可以利 用软件工具的选择由人类操作者执行, 而不需要人或创造性的判断。 本发明中各实施例中的网络侧设备可以是以下之一: 虚拟桌面系统平台、 虚拟桌 面服务器端, 其中虚拟桌面系统平台或虚拟桌面服务器也称虚拟桌面云; 以虚拟桌面 云为例, 参见图 1是虚拟桌面客户端与系统平台之间的示意图, 其中, 虚拟桌面系统 平台连接多个虚拟桌面客户端。 虚拟桌面客户端可以为各种终端设备, 例如 PC机。 各种终端能够通过虚拟桌面接口连接到虚拟桌面系统平台, 终端上运行着虚拟桌面系 统平台的客户端; 虚拟桌面系统平台由众多的物理机组成, 运行着为连接到虚拟桌面 系统平台的客户端提供桌面功能的虚拟机, 这些虚拟机由虚拟机管理程序管理。 虚拟桌面客户端与虚拟桌面云 (虚拟桌面系统平台) 的连接至少分为控制连接与 数据连接两类链路。 在控制连接链路上, 传送与虚拟桌面客户端参数、 用户认证数据 相关的数据, 以及虚拟机管理程序发给虚拟桌面客户端的指令。 数据连接链路则传送 虚拟桌面产生的数据, 例如: 应用程序的界面、 图形图像、 声音、 文字, 以及重定向 的设备、 和 /或用户网盘等设备的数据传输。 实施例 1 本实施例在用户试图断开与虚拟桌面的连接, 或者试图在虚拟桌面中重启、 关闭 或待机操作时, 网络侧设备 (例如, 虚拟桌面云) 需要判断是否与重定向的外设、 用 户网盘、 重定向的域目录之间有数据传送, 如果有, 则提示用户确认是否需要断开, 然后根据用户意愿来处理。 基于此, 本实施例提供了一种断开虚拟桌面的处理方法, 参见图 2, 该方法包括以下步骤 (步骤 S202-步骤 S206): 步骤 S202: 网络侧设备接收来自虚拟桌面客户端的断开连接请求。 虚拟桌面客户端请求断开连接时, 网络侧设备将会接收到断开连接请求。 本实施例中, 网络侧设备与虚拟桌面客户端的连接链路至少包括以下之一: 控制 连接链路和数据连接链路。 为了能够清楚数据连接链路上传输的数据是哪个设备的, 数据连接链路上传输的数据,对包括重定向的设备、和 /或用户网盘等设备的数据传输, 有各自的标记。 基于此, 上述数据携带有标识信息, 该标识信息指示数据为以下设备 之一的传输数据: 重定向设备或用户网盘。 步骤 S204: 网络侧设备检查与虚拟桌面客户端的数据传输情况。 其中, 为了检查数据传输情况, 网络侧设备将检查数据连接链路, 判断该链路上 是否有未结束传输的数据。 网络侧设备检查数据连接链路的方法, 还包括由运行的虚 拟机管理进程对虚拟机上的操作系统进程所打开的文件描述符、 设备描述符等进行检 查, 例如对打开的重定向设备, 在其对应的设备描述符管道上还有数据传输, 则判断 为与客户端的数据还在传输中。 步骤 S206: 网络侧设备根据上述检查的结果确定有数据传输未结束时, 指示虚拟 桌面客户端提示用户有数据传输未结束。 若检查发现有数据传输未结束, 则指示虚拟桌面客户端提示用户, 若检查没有发 现未结束传输的数据, 则不进行该指示, 直接断开连接。 用户收到虚拟桌面客户端的 提示后, 将会反馈是否断开与虚拟桌面的连接。 虚拟桌面客户端上的提示, 可以根据网络侧设备的判断结果来决定出现对应的界 面。 例如: 可以根据未结束传输的数据对应的设备, 也即该数据携带的标识信息指示 虚拟桌面客户端显示对应的界面, 基于此, 指示虚拟桌面客户端提示用户有数据传输 未结束包括: 网络侧设备根据未结束传输数据携带的标识信息确定提示界面, 以及网 络侧设备指示该虚拟桌面客户端显示确定的上述提示界面。 上述网络侧设备在接收用户的反馈信息, 将根据反馈信息进行处理。 例如, 反馈 信息为断开连接指示信息时, 网络侧设备断开虚拟客户端连接的虚拟桌面; 反馈信息 为不断开连接指示信息时, 网络侧设备维持虚拟客户端与虚拟桌面间的连接。 若用户选择断开连接, 则数据连接也中断, 虚拟桌面客户端与虚拟桌面之间的连 接被立即断开; 若用户选择不断开连接, 则所有的虚拟桌面客户端与虚拟桌面之间的 连接仍然保持。 本实施例的网络侧设备在接收到断开连接请求时, 不再采取直接断开虚拟客户端 与虚拟桌面间的连接, 而是根据数据传输的情况提示用户, 解决了断开虚拟桌面导致 数据丢失的问题, 进而避免了因中断虚拟桌面客户端与虚拟桌面之间的连接带来的运 行中断、 数据传输中断等问题, 提升了系统性能。 实施例 2 本实施例提供了一种断开虚拟桌面的处理方法, 该方法以网络侧设备是虚拟桌面 云为例进行说明, 参见图 3, 该方法包括以下步骤: 步骤 S302: 虚拟桌面客户端请求断开连接; 虚拟桌面客户端的这一请求, 通过控 制连接链路, 发送给虚拟桌面云。 步骤 S304: 虚拟桌面云接收到上述断开连接请求后, 检查数据连接链路。 步骤 S306: 虚拟桌面云判断数据连接链路是否有数据传输未结束, 如果是, 执行 步骤 S308; 如果否, 执行步骤 S310。 本实施例中, 数据连接链路上传输的数据, 对包括重定向的设备、 和 /或用户网盘 等设备的数据传输, 有各自的标记。 步骤 S308: 虚拟桌面云指示该虚拟桌面客户端提示用户, 根据用户的选择处理。 虚拟桌面客户端上的提示,是根据虚拟桌面云的判断结果来决定出现对应的界面。 若用户选择断开连接, 则数据连接也中断, 虚拟桌面客户端与虚拟桌面云之间的连接 被断开; 若用户选择不断开连接, 则虚拟桌面客户端与虚拟桌面云之间的所有连接仍 然保持。 步骤 S310: 虚拟桌面云断开与该虚拟桌面客户端之间的连接。 图 4是虚拟桌面客户端断开时提示的消息流程示意图。 图中, 虚拟桌面客户端在 连接到虚拟桌面云上时, 虚拟桌面客户端上显示虚拟桌面; 当虚拟桌面客户端要断开 与虚拟桌面云的连接时, 有以下消息传输过程: 消息 1 : 虚拟桌面客户端发送包含有请求断开连接的请求消息到虚拟桌面云。 虚拟桌面客户端发送这样的消息的同时, 虚拟桌面客户端与虚拟桌面云之间的桌 面数据流连接可能还在传输数据, 例如传输外设输入、 输出数据, 或者传输媒体流数 据, 或者传输文件复制数据等。 消息 2: 虚拟桌面云接收到虚拟桌面客户端的消息, 处理请求后, 响应虚拟桌面 客户端。 虚拟桌面云对虚拟桌面客户端请求消息的处理, 包括检查是否在桌面数据流连接 当中还有数据传输、 传输的数据是否为有效数据等, 根据对桌面数据流的判断, 组织 响应消息, 把响应消息发送给虚拟桌面客户端。 本实施例中的响应消息包含了是否指示虚拟桌面客户端给用户提示要断开连接, 因此该响应消息也可以称为指示客户端确认消息。 图中虚线"虚拟桌面数据交互"表示的是桌面数据流连接, 表示在连接上有数据正 在传输。 消息 3 : 虚拟桌面客户端接收到虚拟桌面云的消息, 对其中包含有要求虚拟桌面 客户端给用户提示断开连接的情况, 提供交互界面让用户操作, 即提示用户是否立即 断开。 消息 4: 用户在虚拟桌面客户端提供的界面上做出选择后, 虚拟桌面客户端根据 用户选择, 向虚拟桌面云确认断开消息, 或者取消断开消息。 图中示意的是虚拟桌面 客户端向虚拟桌面云发送了确认断开消息, 这种情形下, 虚拟桌面云中止传输桌面数 据流的连接, 也断开和虚拟桌面客户端的连接。 反之, 如果虚拟桌面客户端发送了取 消断开消息, 则保持传输桌面数据流的连接, 桌面正常运行, 诸如传输外设输入、 输 出数据, 或者传输媒体流数据, 或者传输文件复制数据等等这样的任务继续运行。 上述流程是实现本发明的实施例, 并不是限定只能用实施例来实现, 也不是用来 限定具体流程执行的方法, 本发明还可以用类似的方式实现, 比如表示模块的名字、 各种升级的类型等, 那不过是具体的报文内容有所不同。 本实施例的虚拟桌面云在接收到断开连接请求时, 不再采取直接断开虚拟桌面客 户端与虚拟桌面云间的连接, 而是根据数据传输的情况提示用户, 再根据用户反馈的 信息进行处理, 解决了断开虚拟桌面影响用户使用数据的问题, 进而避免了因中断虚 拟桌面客户端与虚拟桌面云之间的连接带来的运行中断、 数据传输中断等问题, 提升 了系统性能。 实施例 3 本实施例提供了一种断开虚拟桌面的处理装置, 该装置设置在网络侧设备上, 例 如设置在虚拟桌面云上。 参见图 5, 该装置包括以下模块: 断开请求接收模块 51, 设置为接收来自虚拟桌面客户端的断开连接请求; 传输情况检查模块 52, 与断开请求接收模块 51相连, 设置为上述断开请求接收 模块 51接收到断开连接请求后, 检查与虚拟桌面客户端的数据传输情况; 指示模块 53, 与传输情况检查模块 52相连, 设置为根据上述传输情况检查模块 52检查的结果确定有数据传输未结束时, 指示虚拟桌面客户端提示用户有数据传输未 结束。 参见图 6, 上述装置还包括: 反馈信息接收模块 54, 与指示模块 53相连, 设置为 接收上述用户的反馈信息; 处理模块 55, 与反馈信息接收模块 54相连, 设置为根据 上述反馈信息接收模块 54接收的反馈信息进行处理。 本实施例中, 包含上述装置的网络侧设备与虚拟桌面客户端的连接链路至少包括 以下之一: 控制连接链路和数据连接链路。 为了能够清楚数据连接链路上传输的数据 是哪个设备的, 数据连接链路上传输的数据, 对包括重定向的设备、 和 /或用户网盘等 设备的数据传输, 有各自的标记。 基于此, 上述数据携带有标识信息, 该标识信息指 示数据为以下设备之一的传输数据: 重定向设备、 用户网盘设备。 优选地, 上述指示模块 53包括: 指示界面确定单元, 设置为根据未结束传输数据 携带的标识信息确定提示界面; 指示单元, 与指示界面确定单元相连, 设置为指示虚 拟桌面客户端显示该指示界面确定单元确定的提示界面。 参见图 7所示的断开虚拟桌面的处理装置的另一种具体结构框图, 该装置除了包 括上述图 6中的各个模块外, 其中的处理模块 55包括: 断开处理单元 552, 与反馈信 息接收模块 54相连, 设置为当反馈信息接收模块 54接收的反馈信息为断开连接指示 信息时, 断开虚拟客户端连接的虚拟桌面; 维持连接处理单元 554, 与反馈信息接收 模块 54相连, 设置为当反馈信息接收模块 54接收的反馈信息为不断开连接指示信息 时, 维持虚拟客户端与虚拟桌面间的连接。 本实施例的包含上述装置的网络侧设备在接收到断开连接请求时, 不再采取直接 断开虚拟客户端与虚拟桌面间的连接, 而是根据数据传输的情况提示用户, 再根据用 户反馈的信息进行处理, 解决了断开虚拟桌面影响用户使用数据的问题, 进而避免了 因中断虚拟桌面客户端与虚拟桌面之间的连接带来的运行中断、数据传输中断等问题, 提升了系统性能。 上述实施例, 网络相关的, 可适用于基于 PSTN ( Public Switched Telephone Network, 公共交换电话网)、 3 GPP (3rd Generation Partnership Project, 第三代合作伙 伴计划) 网络、 3GPP2 网络等通讯网络所支持的 IP 网络, 服务器架构方面可适用于 网格计算系统、 分布计算系统, 服务器操作系统可适用于 UNIX 类操作系统、 WINDOWS类操作系统, 对消费者接口可适用于 JAVA语言接口等。 从以上的描述中可以看出,本发明实施例的网络侧设备在接收到断开连接请求时, 不再采取直接断开虚拟客户端与虚拟桌面间的连接, 而是根据数据传输的情况提示用 户, 再根据用户反馈的信息进行处理,解决了断开虚拟桌面影响用户使用数据的问题, 进而避免了因中断虚拟桌面客户端与虚拟桌面之间的连接带来的运行中断、 数据传输 中断等问题, 提升了系统性能。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 (Communication Technology) Equipment vendors and operators join the development of cloud products and the promotion and deployment of cloud products. Cloud products have been relatively mature applications in the fields of Internet applications and information center construction. A virtual desktop is a type of cloud computing application, which is a PaaS (Platform-as-a-Service) type. It is usually referred to as an application: By centrally arranging servers and running virtual machines of the desktop system, users can pass through the network. The desktop system is not limited to physical space limitations, and desktop operations are performed. In the prior art, there are various implementation methods of the virtual desktop, for example, a thin terminal mode, a managed operating system mode, an image streaming mode, etc., which are basically running an application or an operating system desktop in the cloud (server group), and virtualizing The desktop client is responsible for output (desktop) input (keyboard, mouse, etc.). Virtual desktops can be applied to call centers, operation and maintenance stations, office applications, and the like. When the user disconnects from the virtual desktop, the redirected device and the user's network disk will be disconnected. If these devices or files are copying or transferring data at this time, the way to disconnect the virtual desktop will result in data loss. When the data is the data that the user wants to transmit, it will affect the normal use of the user. In view of the problem of data loss caused by disconnecting a virtual desktop in the related art, an effective solution has not been proposed yet. SUMMARY OF THE INVENTION The present invention provides a method and apparatus for disconnecting a virtual desktop to at least solve the problem of data loss caused by disconnecting the virtual desktop. According to an aspect of the present invention, a method for processing a virtual desktop is provided, the method comprising: receiving, by a network side device, a disconnect request from a virtual desktop client; the network side device checking data transmission with the virtual desktop client If the network side device determines, according to the result of the check, that the data transmission is not completed, the virtual desktop client is prompted to prompt the user that the data transmission is not completed; After receiving the feedback information of the user, the network side device performs processing according to the feedback information. The data carries the identification information, and the identification information indicates that the data is the transmission data of one of the following devices: a redirecting device, a user network disk. The network side device instructs the virtual desktop client to prompt the user that the data transmission is not completed. The network side device determines the prompt interface according to the identification information carried in the uncompleted transmission data. The network side device instructs the virtual desktop client to display the determined prompt interface. The processing of the network side device according to the feedback information includes: the feedback information is the disconnection indication information, and the network side device disconnects the virtual desktop connected by the virtual client; or the feedback information is the disconnection indication information, and the network side device maintains the virtual client. The connection between the end and the virtual desktop. The connection link between the network side device and the virtual desktop client includes at least one of the following: a control connection link and a data connection link. The above network side device is one of the following: a virtual desktop system platform, a virtual desktop server side, and a virtual desktop cloud. According to another aspect of the present invention, a processing apparatus for disconnecting a virtual desktop is provided, comprising: a disconnect request receiving module configured to receive a disconnect request from a virtual desktop client; and a transmission status checking module configured to be disconnected After receiving the disconnection request, the request receiving module checks the data transmission status with the virtual desktop client; the indication module is set to indicate that the virtual desktop client prompts the user to have the data transmission not ended according to the result of the transmission condition checking module check. Data transfer is not over. The device further includes: a feedback information receiving module, configured to receive feedback information of the user; and a processing module configured to perform processing according to the feedback information received by the feedback information receiving module. The indication module includes: an indication interface determining unit, configured to determine a prompt interface according to the identifier information carried in the uncompleted transmission data; the identifier information indicates that the data is transmission data of one of the following devices: a redirecting device or a user network disk; an indicating unit, setting To indicate to the virtual desktop client, the prompt interface determined by the indication interface determining unit is displayed. The processing module includes: a disconnection processing unit configured to: when the feedback information received by the feedback information receiving module is the disconnection indication information, disconnect the virtual desktop connected by the virtual client; or maintain the connection processing unit, set to be feedback When the feedback information received by the information receiving module is the disconnection indication information, the connection between the virtual client and the virtual desktop is maintained. The above devices are installed on one of the following devices: a virtual desktop system platform, a virtual desktop server side, or a virtual desktop cloud. With the present invention, when receiving the disconnection request, the network side device no longer directly disconnects the virtual client from the virtual desktop, but prompts the user according to the data transmission, and provides a guarantee for understanding the user's will. The problem of data loss caused by disconnecting the virtual desktop is solved, thereby avoiding problems such as interruption of operation and interruption of data transmission caused by interrupting the connection between the virtual desktop client and the virtual desktop, thereby improving system performance. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a schematic diagram of a virtual desktop client and a virtual desktop system platform according to an embodiment of the present invention; FIG. 2 is a flowchart of a processing method for disconnecting a virtual desktop according to Embodiment 1 of the present invention; FIG. 4 is a flow chart of a message for prompting a virtual desktop client to be disconnected according to Embodiment 2 of the present invention; FIG. 4 is a schematic diagram of a message flow when a virtual desktop client is disconnected according to Embodiment 2 of the present invention; FIG. 6 is a block diagram showing a specific structure of a processing device for disconnecting a virtual desktop according to Embodiment 3 of the present invention; FIG. 7 is a flowchart for disconnecting a virtual desktop according to Embodiment 3 of the present invention; Another specific structural block diagram of the device. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. For the sake of clarity, this embodiment does not show and describe all of the conventional features of the device. Of course, it should be understood that in the development of any actual device, it is necessary to make a decision on a particular implementation in order to achieve the developer's specific goals, such as compliance with application and business-related constraints, which are achieved with different implementations. Change, and change with different developers. Moreover, it should be understood that such development work is complicated and time consuming, but nevertheless, the technical work performed by those of ordinary skill in the art having the benefit of the present disclosure is conventional. In accordance with the subject matter described herein, various components, systems, devices, processing steps and/or data structures can be manufactured, manipulated, and/or executed using various types of operating systems, computing platforms, computer programs, and/or general purpose machines. In addition, it will be apparent to those skilled in the art that <RTIgt;</RTI><RTIgt;</RTI><RTIgt; Wherein, the methods included are performed by a computer, device or machine, and the method can be stored as machine readable instructions, which can be stored on a defined medium, such as a computer storage device, including but not limited to ROM (read only memory) Storage, FLASH memory, transfer device, etc.), magnetic storage media (eg, magnetic tape, disk drive, etc.), optical storage media (eg, CD-ROM, DVD-ROM, paper cards, tape, etc.) and other well-known types Program memory. Moreover, it should be appreciated that the method can be performed by a human operator using the selection of software tools without the need for human or creative judgment. The network side device in each embodiment of the present invention may be one of the following: a virtual desktop system platform and a virtual desktop server terminal, wherein the virtual desktop system platform or the virtual desktop server is also referred to as a virtual desktop cloud; FIG. 1 is a schematic diagram of a virtual desktop client and a system platform, wherein a virtual desktop system platform connects multiple virtual desktop clients. The virtual desktop client can be a variety of terminal devices, such as a PC. Various terminals can connect to the virtual desktop system platform through a virtual desktop interface, and the client running the virtual desktop system platform on the terminal; the virtual desktop system platform is composed of a plurality of physical machines running a client connected to the virtual desktop system platform Virtual machines that provide desktop capabilities that are managed by a hypervisor. The connection between the virtual desktop client and the virtual desktop cloud (virtual desktop system platform) is at least divided into two types: control connection and data connection. On the control connection link, data related to virtual desktop client parameters, user authentication data, and instructions sent by the hypervisor to the virtual desktop client are transmitted. The data connection link transmits data generated by the virtual desktop, such as: application interface, graphic image, sound, text, and data transmission of devices such as redirected devices, and/or user network disks. Embodiment 1 In this embodiment, when a user attempts to disconnect from a virtual desktop, or attempts to restart, shut down, or standby in a virtual desktop, the network side device (for example, a virtual desktop cloud) needs to determine whether or not the peripheral is redirected. There is data transfer between the user's network disk and the redirected domain directory. If there is, the user is prompted to confirm whether it needs to be disconnected, and then processed according to the user's wishes. Based on this, the embodiment provides a processing method for disconnecting the virtual desktop. Referring to FIG. 2, the method includes the following steps (step S202 - step S206): Step S202: The network side device receives the disconnection from the virtual desktop client. request. When the virtual desktop client requests to disconnect, the network side device will receive a disconnect request. In this embodiment, the connection link between the network side device and the virtual desktop client includes at least one of the following: a control connection link and a data connection link. In order to be able to know which device the data transmitted on the data connection link is, the data transmitted on the data connection link has respective markings for data transmission of devices including the redirected device and/or the user network disk. Based on this, the foregoing data carries identification information, where the indication information indicates that the data is transmission data of one of the following devices: a redirecting device or a user network disk. Step S204: The network side device checks the data transmission status with the virtual desktop client. In order to check the data transmission situation, the network side device checks the data connection link to determine whether there is data on the link that has not been transmitted. The method for checking, by the network side device, the data connection link, further includes checking, by the running virtual machine management process, a file descriptor, a device descriptor, and the like opened by an operating system process on the virtual machine, for example, for the opened redirecting device, If there is data transmission on its corresponding device descriptor pipeline, it is determined that the data with the client is still in transmission. Step S206: The network side device instructs the virtual desktop client to prompt the user that the data transmission is not completed when it is determined that the data transmission is not completed according to the result of the foregoing check. If the check finds that the data transmission is not completed, the virtual desktop client is instructed to prompt the user. If the check does not find the data that has not been transmitted, the indication is not performed, and the connection is directly disconnected. After receiving the prompt from the virtual desktop client, the user will feedback whether to disconnect from the virtual desktop. The prompt on the virtual desktop client can determine the corresponding interface according to the judgment result of the network side device. For example, the device corresponding to the data that is not to be transmitted, that is, the identifier information carried by the data, indicates that the virtual desktop client displays the corresponding interface. Based on this, the virtual desktop client is prompted to prompt the user that the data transmission is not completed. The device determines the prompt interface according to the identifier information carried in the uncompleted transmission data, and the network side device instructs the virtual desktop client to display the determined prompt interface. The network side device receives the feedback information of the user, and processes the information according to the feedback information. For example, when the feedback information is the disconnection indication information, the network side device disconnects the virtual desktop connected by the virtual client; when the feedback information is the disconnection indication information, the network side device maintains the connection between the virtual client and the virtual desktop. If the user chooses to disconnect, the data connection is also interrupted, and the connection between the virtual desktop client and the virtual desktop is immediately disconnected; if the user chooses not to disconnect, all virtual desktop clients are connected to the virtual desktop. Still kept. When receiving the disconnection request, the network side device of the embodiment does not directly disconnect the virtual client from the virtual desktop, but prompts the user according to the data transmission, and solves the disconnection of the virtual desktop. The problem of data loss, thereby avoiding problems such as interruption of operation and interruption of data transmission caused by interrupting the connection between the virtual desktop client and the virtual desktop, and improving system performance. Embodiment 2 This embodiment provides a method for disconnecting a virtual desktop. The method is described by taking a network side device as a virtual desktop cloud as an example. Referring to FIG. 3, the method includes the following steps: Step S302: Virtual desktop client Request to disconnect; this request from the virtual desktop client is sent to the virtual desktop cloud by controlling the connection link. Step S304: After receiving the disconnect request, the virtual desktop cloud checks the data connection link. Step S306: The virtual desktop cloud determines whether the data connection link has data transmission is not completed. If yes, step S308 is performed; if no, step S310 is performed. In this embodiment, the data transmitted on the data connection link has respective tags for data transmission of devices including the redirected device and/or the user network disk. Step S308: The virtual desktop cloud instructs the virtual desktop client to prompt the user to process according to the user's selection. The prompt on the virtual desktop client determines the corresponding interface according to the judgment result of the virtual desktop cloud. If the user chooses to disconnect, the data connection is also interrupted, the connection between the virtual desktop client and the virtual desktop cloud is disconnected; if the user chooses not to disconnect, all connections between the virtual desktop client and the virtual desktop cloud Still kept. Step S310: The virtual desktop cloud disconnects from the virtual desktop client. Figure 4 is a schematic diagram of the message flow prompted when the virtual desktop client is disconnected. In the figure, when the virtual desktop client connects to the virtual desktop cloud, the virtual desktop is displayed on the virtual desktop client; when the virtual desktop client wants to disconnect from the virtual desktop cloud, the following message transmission process is available: Message 1: The virtual desktop client sends a request message containing a request to disconnect to the virtual desktop cloud. While the virtual desktop client sends such a message, the desktop data stream connection between the virtual desktop client and the virtual desktop cloud may still be transmitting data, such as transmitting peripheral input, outputting data, or transmitting media stream data, or transferring files. Copy data, etc. Message 2: The virtual desktop cloud receives the message from the virtual desktop client and responds to the virtual desktop client after processing the request. The virtual desktop cloud processes the virtual desktop client request message, including checking whether the data is transmitted in the desktop data stream connection, whether the transmitted data is valid data, etc., according to the judgment of the desktop data stream, the organization responds to the message, and responds The message is sent to the virtual desktop client. The response message in this embodiment includes whether the virtual desktop client is instructed to prompt the user to disconnect, so the response message may also be referred to as indicating the client confirmation message. The dotted line "virtual desktop data interaction" in the figure represents a desktop data stream connection, indicating that data is being transmitted on the connection. Message 3: The virtual desktop client receives the message of the virtual desktop cloud, and includes the requirement that the virtual desktop client prompts the user to disconnect, and provides an interactive interface for the user to operate, that is, prompting the user to disconnect immediately. Message 4: After the user makes a selection on the interface provided by the virtual desktop client, the virtual desktop client confirms the disconnection message or cancels the disconnection message to the virtual desktop cloud according to the user selection. The figure shows that the virtual desktop client sends a confirmation disconnect message to the virtual desktop cloud. In this case, the virtual desktop cloud stops the connection of the desktop data stream and also disconnects the virtual desktop client. Conversely, if the virtual desktop client sends a cancel disconnect message, it keeps the connection of the desktop data stream, and the desktop runs normally, such as transmitting peripheral input, outputting data, or transmitting media stream data, or transferring file copy data, etc. The task continues to run. The foregoing process is an embodiment of the present invention, and is not limited to the embodiment, and is not intended to limit the specific process execution. The present invention may also be implemented in a similar manner, such as indicating the name of the module, various The type of upgrade, etc., but the specific message content is different. When receiving the disconnection request, the virtual desktop cloud in this embodiment does not directly disconnect the virtual desktop client from the virtual desktop cloud, but prompts the user according to the data transmission, and then according to the information fed back by the user. The problem is solved, which solves the problem that the disconnection of the virtual desktop affects the user's usage data, thereby avoiding problems such as interruption of operation and interruption of data transmission caused by the interruption of the connection between the virtual desktop client and the virtual desktop cloud, thereby improving system performance. Embodiment 3 This embodiment provides a processing device for disconnecting a virtual desktop, and the device is disposed on a network side device, for example, on a virtual desktop cloud. Referring to Figure 5, the device includes the following modules: The disconnection request receiving module 51 is configured to receive a disconnection request from the virtual desktop client; the transmission status checking module 52 is connected to the disconnection request receiving module 51, and is configured to receive the disconnection request by the disconnect request receiving module 51. Afterwards, the data transmission status of the virtual desktop client is checked. The indication module 53 is connected to the transmission status checking module 52, and is configured to indicate that the virtual desktop client prompts when the data transmission is not completed according to the result of the checking by the transmission status checking module 52. The user has data transfer not ended. Referring to FIG. 6, the device further includes: a feedback information receiving module 54 connected to the indication module 53 and configured to receive the feedback information of the user; the processing module 55 is connected to the feedback information receiving module 54 and configured to receive the module according to the feedback information. 54 received feedback information for processing. In this embodiment, the connection link between the network side device and the virtual desktop client including the foregoing apparatus includes at least one of the following: a control connection link and a data connection link. In order to be able to know which device the data transmitted on the data connection link is, the data transmitted on the data connection link has respective markings for data transmission of devices including the redirected device, and/or the user network disk. Based on this, the foregoing data carries identification information, where the identification information indicates that the data is transmission data of one of the following devices: a redirecting device, a user network disk device. Preferably, the indication module 53 includes: an indication interface determining unit, configured to determine a prompt interface according to the identification information carried in the uncompleted transmission data; the indication unit is connected to the indication interface determining unit, and is configured to instruct the virtual desktop client to display the indication interface Determine the prompt interface determined by the unit. Referring to FIG. 7 , another specific structural block diagram of a processing device for disconnecting a virtual desktop, where the device includes the above-mentioned various modules in FIG. 6 , the processing module 55 includes: a disconnect processing unit 552, and feedback information. The receiving module 54 is connected to be configured to disconnect the virtual desktop connected to the virtual client when the feedback information received by the feedback information receiving module 54 is the disconnection indication information. The maintenance connection processing unit 554 is connected to the feedback information receiving module 54 and configured. When the feedback information received by the feedback information receiving module 54 is the disconnection indication information, the connection between the virtual client and the virtual desktop is maintained. When receiving the disconnection request, the network side device of the foregoing embodiment does not take the direct disconnection between the virtual client and the virtual desktop, but prompts the user according to the data transmission, and then according to the user feedback. The information is processed to solve the problem that disconnecting the virtual desktop affects the user's usage data, thereby avoiding problems such as interruption of operation and interruption of data transmission caused by interrupting the connection between the virtual desktop client and the virtual desktop, thereby improving system performance. . The above embodiments are network-related and can be applied to communication networks supported by PSTN (Public Switched Telephone Network), 3GPP (3rd Generation Partnership Project) network, 3GPP2 network, etc. IP network, server architecture can be applied to grid computing systems, distributed computing systems, server operating systems can be applied to UNIX-like operating systems, WINDOWS-like operating systems, consumer interfaces can be applied to JAVA language interfaces. As can be seen from the above description, when receiving the disconnection request, the network side device of the embodiment of the present invention no longer directly disconnects the virtual client from the virtual desktop, but prompts according to the data transmission. The user, according to the information fed back by the user, solves the problem that the disconnection of the virtual desktop affects the user's usage data, thereby avoiding the interruption of operation, interruption of data transmission, etc. caused by the interruption of the connection between the virtual desktop client and the virtual desktop. Problem, improved system performance. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种断开虚拟桌面的处理方法, 包括: 1. A method for disconnecting a virtual desktop, including:
网络侧设备接收来自虚拟桌面客户端的断开连接请求;  The network side device receives a disconnect request from the virtual desktop client;
所述网络侧设备检查与所述虚拟桌面客户端的数据传输情况; 所述网络侧设备根据检查的结果确定有数据传输未结束时, 指示所述虚拟 桌面客户端提示用户有数据传输未结束。  The network side device checks the data transmission status with the virtual desktop client; when the network side device determines that the data transmission is not completed according to the result of the check, the virtual desktop client is instructed to prompt the user that the data transmission is not completed.
2. 根据权利要求 1所述的方法, 其中, 所述网络侧设备在接收所述用户的反馈信 息后, 根据所述反馈信息进行处理。 The method according to claim 1, wherein the network side device processes the feedback information according to the feedback information after receiving the feedback information of the user.
3. 根据权利要求 1所述的方法, 其中, 所述数据携带有标识信息, 所述标识信息 指示所述数据为以下设备之一的传输数据: The method according to claim 1, wherein the data carries identification information, and the identification information indicates that the data is transmission data of one of the following devices:
重定向设备、 用户网盘。  Redirect device, user network disk.
4. 根据权利要求 3所述的方法, 其中, 所述网络侧设备指示所述虚拟桌面客户端 提示用户有数据传输未结束包括: The method according to claim 3, wherein the network side device instructing the virtual desktop client to prompt the user that the data transmission is not ended comprises:
所述网络侧设备根据未结束传输数据携带的标识信息确定提示界面; 所述网络侧设备指示所述虚拟桌面客户端显示确定的所述提示界面。  The network side device determines the prompting interface according to the identification information carried in the uncompleted transmission data; the network side device instructs the virtual desktop client to display the determined prompting interface.
5. 根据权利要求 2所述的方法, 其中, 所述网络侧设备根据所述反馈信息进行处 理包括: The method according to claim 2, wherein the processing by the network side device according to the feedback information comprises:
所述反馈信息为断开连接指示信息, 所述网络侧设备断开与所述虚拟客户 端连接的虚拟桌面; 或者,  The feedback information is disconnection indication information, and the network side device disconnects the virtual desktop connected to the virtual client; or
所述反馈信息为不断开连接指示信息, 所述网络侧设备维持所述虚拟客户 端与虚拟桌面间的连接。  The feedback information is disconnection indication information, and the network side device maintains a connection between the virtual client and the virtual desktop.
6. 根据权利要求 1至 5中任一项所述的方法, 其中, 所述网络侧设备与所述虚拟 桌面客户端的连接链路至少包括以下之一: 控制连接链路、 数据连接链路。 The method according to any one of claims 1 to 5, wherein the connection link of the network side device and the virtual desktop client includes at least one of the following: a control connection link and a data connection link.
7. 根据权利要求 1至 5中任一项所述的方法,其中,所述网络侧设备为以下之一: 虚拟桌面系统平台、 虚拟桌面服务器端、 虚拟桌面云。 The method according to any one of claims 1 to 5, wherein the network side device is one of the following: a virtual desktop system platform, a virtual desktop server end, and a virtual desktop cloud.
8. 一种断开虚拟桌面的处理装置, 包括: 断开请求接收模块, 设置为接收来自虚拟桌面客户端的断开连接请求; 传输情况检查模块, 设置为所述断开请求接收模块接收到所述断开连接请 求后, 检查与所述虚拟桌面客户端的数据传输情况; 8. A processing device for disconnecting a virtual desktop, comprising: Disconnecting the request receiving module, configured to receive a disconnect request from the virtual desktop client; and the transmission status checking module is configured to check, after the disconnect request receiving module receives the disconnect request, the virtual desktop client Data transmission situation at the end;
指示模块, 设置为根据所述传输情况检查模块检查的结果确定有数据传输 未结束时, 指示所述虚拟桌面客户端提示用户有数据传输未结束。  The indication module is configured to: when the data transmission is not completed according to the result of the transmission condition check module check, instruct the virtual desktop client to prompt the user that the data transmission is not completed.
9. 根据权利要求 8所述的装置, 其中, 所述装置还包括: 反馈信息接收模块, 设置为接收所述用户的反馈信息; The device according to claim 8, wherein the device further comprises: a feedback information receiving module, configured to receive feedback information of the user;
处理模块, 设置为根据所述反馈信息接收模块接收的反馈信息进行处理。  The processing module is configured to perform processing according to the feedback information received by the feedback information receiving module.
10. 根据权利要求 8所述的装置, 其中, 所述指示模块包括: 指示界面确定单元, 设置为根据未结束传输数据携带的标识信息确定提示 界面; 所述标识信息指示所述数据为以下设备之一的传输数据: 重定向设备、 用户网盘; The device according to claim 8, wherein the indication module comprises: an indication interface determining unit, configured to determine a prompt interface according to the identification information carried in the uncompleted transmission data; the identifier information indicates that the data is the following device One of the transmission data: the redirect device, the user network disk;
指示单元, 设置为指示所述虚拟桌面客户端显示所述指示界面确定单元确 定的所述提示界面。  And an indication unit, configured to instruct the virtual desktop client to display the prompt interface determined by the indication interface determining unit.
11. 根据权利要求 9所述的装置, 其中, 所述处理模块包括: The device according to claim 9, wherein the processing module comprises:
断开处理单元, 设置为当所述反馈信息接收模块接收的反馈信息为断开连 接指示信息时, 断开所述虚拟客户端连接的虚拟桌面; 或者,  Disconnecting the processing unit, configured to disconnect the virtual desktop connected to the virtual client when the feedback information received by the feedback information receiving module is the disconnection indication information; or
维持连接处理单元, 设置为当所述反馈信息接收模块接收的反馈信息为不 断开连接指示信息时, 维持所述虚拟客户端与虚拟桌面间的连接。  The maintenance connection processing unit is configured to maintain a connection between the virtual client and the virtual desktop when the feedback information received by the feedback information receiving module is the disconnection indication information.
12. 根据权利要求 8至 11中任一项所述的装置,其中,所述装置设置在以下设备之 一上: 虚拟桌面系统平台、 虚拟桌面服务器端或虚拟桌面云。 The apparatus according to any one of claims 8 to 11, wherein the apparatus is provided on one of the following devices: a virtual desktop system platform, a virtual desktop server side, or a virtual desktop cloud.
PCT/CN2012/077859 2011-09-16 2012-06-29 Processing method and device for disconnecting virtual desktop WO2013037232A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110275893.7 2011-09-16
CN201110275893.7A CN102999383B (en) 2011-09-16 2011-09-16 Disconnect the treating method and apparatus of virtual desktop

Publications (1)

Publication Number Publication Date
WO2013037232A1 true WO2013037232A1 (en) 2013-03-21

Family

ID=47882585

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077859 WO2013037232A1 (en) 2011-09-16 2012-06-29 Processing method and device for disconnecting virtual desktop

Country Status (2)

Country Link
CN (1) CN102999383B (en)
WO (1) WO2013037232A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040070608A1 (en) * 2002-10-10 2004-04-15 International Business Machines Corporation Apparatus and method for transferring files from one machine to another using adjacent desktop displays in a virtual network
CN101242261A (en) * 2008-03-21 2008-08-13 华耀环宇科技(北京)有限公司 A VPN connection separation method based on operating system desktop
CN102012812A (en) * 2010-11-24 2011-04-13 Tcl集团股份有限公司 Device, terminal and method for implementing application resource sharing
CN102148842A (en) * 2010-02-08 2011-08-10 联想(北京)有限公司 Audio processing method and equipment for remote desktop protocol

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242362A1 (en) * 2005-04-20 2006-10-26 Hanes David H Method and apparatus for disconnecting an external data storage device from a computer
CN1992605B (en) * 2005-12-27 2010-12-15 腾讯科技(深圳)有限公司 Process for establishing and keeping network connection between client ends
CN101414930B (en) * 2007-10-16 2011-02-09 英业达股份有限公司 Prompting system and method for remote test
CN101771707B (en) * 2010-02-08 2015-08-12 中兴通讯股份有限公司 Realize the method for terminal room resource-sharing, resource processing system and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040070608A1 (en) * 2002-10-10 2004-04-15 International Business Machines Corporation Apparatus and method for transferring files from one machine to another using adjacent desktop displays in a virtual network
CN101242261A (en) * 2008-03-21 2008-08-13 华耀环宇科技(北京)有限公司 A VPN connection separation method based on operating system desktop
CN102148842A (en) * 2010-02-08 2011-08-10 联想(北京)有限公司 Audio processing method and equipment for remote desktop protocol
CN102012812A (en) * 2010-11-24 2011-04-13 Tcl集团股份有限公司 Device, terminal and method for implementing application resource sharing

Also Published As

Publication number Publication date
CN102999383B (en) 2018-09-28
CN102999383A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN109471710B (en) Task request processing method and device, processor, terminal and server
US9667799B2 (en) Communication system architecture
US10142425B2 (en) Session reliability for a redirected USB device
US9740515B2 (en) Exception handling method, apparatus, and client
US9756084B2 (en) Communication system architecture
WO2013040917A1 (en) Virtual desktop implementation system and usage of same
US10999405B2 (en) Method for processing access requests and web browser
KR101996624B1 (en) Binding crud-type protocols in distributed agreement protocols
WO2012106980A1 (en) Virtual desktop method and virtual desktop infrastructure of multidimensional intelligent service point
US9621559B2 (en) Network apparatus for secure remote access and control
US20150082299A1 (en) Information processing system, information processing method, information processing apparatus, and control methods and control programs thereof
US20130031161A1 (en) Apparatuses and methods for unified virtual experience (uve) session control
US9641558B2 (en) Communication system architecture
US20150146715A1 (en) Communication System Architecture
WO2013178116A1 (en) Service collaborative implementation method, terminal, server and system
US9609027B2 (en) Communication system architecture
WO2013185651A1 (en) Terminal capability information synchronization method, system and device
US20090077218A1 (en) Software Method And System For Controlling And Observing Computer Networking Devices
WO2013037234A1 (en) Parameter receiving method and system
US20120003960A1 (en) Mobile device control using a tethered connection
WO2013037232A1 (en) Processing method and device for disconnecting virtual desktop
JP2006121195A (en) Stream data distribution method and system
WO2013040929A1 (en) Virtual machine running method and system
WO2012083752A1 (en) Method and system for acquiring running state of media server

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: 12831870

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: 12831870

Country of ref document: EP

Kind code of ref document: A1