WO2012159361A1 - Distributed processing method and system for virtual desktop - Google Patents

Distributed processing method and system for virtual desktop Download PDF

Info

Publication number
WO2012159361A1
WO2012159361A1 PCT/CN2011/077881 CN2011077881W WO2012159361A1 WO 2012159361 A1 WO2012159361 A1 WO 2012159361A1 CN 2011077881 W CN2011077881 W CN 2011077881W WO 2012159361 A1 WO2012159361 A1 WO 2012159361A1
Authority
WO
WIPO (PCT)
Prior art keywords
desktop
virtual desktop
area
application
sub
Prior art date
Application number
PCT/CN2011/077881
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 华为技术有限公司
Priority to CN2011800013542A priority Critical patent/CN102449604B/en
Priority to PCT/CN2011/077881 priority patent/WO2012159361A1/en
Publication of WO2012159361A1 publication Critical patent/WO2012159361A1/en

Links

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the field of IT, and in particular to a method and system for distributed processing in a virtual desktop. Background technique
  • the system allocates processing power to users (for example, computing power, and the following content of the application is described by taking computing power as an example).
  • a computing power is usually used to process all applications in the virtual desktop.
  • the computing power requirements of different applications or objects can vary widely (for example: When a virtual desktop user passes Virtual desktops open multiple applications, and the content or objects processed by each application opened may have different requirements on computing power. For example, web browsing and online games have different computing power requirements; or, when virtual A desktop user opens an application through a virtual desktop.
  • the application needs to process a variety of content or objects, and the content or object has different requirements on computing power, such as a text portion in a web page, a media playing window, word processing, and multimedia processing.
  • the requirements for computing power vary widely).
  • the current virtual desktop system can only allocate the same resources for all types of content or objects in all applications or applications. If the virtual desktop system allocates resources according to the minimum processing capability requirements, the processing capability cannot be met. The processing of content or objects; if the virtual desktop system allocates resources according to the highest requirements, it will cause waste of resources for content or objects with low processing power requirements.
  • the embodiment of the invention provides a method and a system for distributing processing in a virtual desktop, which can identify desktop sub-areas of different applications, and allocate virtual desktop application processing units for desktop sub-areas of different applications, thereby avoiding waste of resources.
  • An embodiment of the present invention provides a method for distributed processing in a virtual desktop, including: a virtual desktop management module identifying a desktop sub-area in an application window corresponding to the application;
  • the virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area; the virtual desktop management module acquires pixel data of the desktop sub-area from the virtual desktop application processing module selected for the desktop sub-area ;
  • the virtual desktop management module displays the acquired pixel data of the desktop sub-area on the virtual desktop terminal.
  • the embodiment of the present invention further provides a distributed processing system in a virtual desktop, where the system includes: a virtual desktop management module, at least one virtual desktop application processing module, where
  • a virtual desktop management module configured to identify a desktop sub-area in an application window corresponding to the application, select a virtual desktop application processing module for the desktop sub-area, and obtain the location from the virtual desktop application processing module selected for the desktop sub-area Decoding the pixel data of the desktop sub-area, and displaying the acquired pixel data of the desktop sub-area on the virtual desktop terminal;
  • the at least one virtual desktop application processing module is configured to provide processing capability for the application, and feed back pixel data of the desktop sub-region to the virtual desktop management module.
  • the embodiment of the invention provides a method and a system for distributing processing in a virtual desktop.
  • a virtual desktop management module in the virtual desktop system, the desktop sub-area in the application window corresponding to the application is identified, and different desktop sub-areas are selected differently.
  • the virtual desktop application processing module processes the desktop sub-area by the selected virtual desktop application processing module and provides pixel data for display on the virtual desktop terminal, so that the virtual desktop application processing can be allocated according to different desktop sub-areas for different applications.
  • the module avoids the waste of resources caused by the difference in processing capacity requirements of different applications.
  • FIG. 1 is a schematic flowchart of a method for distributed processing in a virtual desktop according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a system architecture for distributed processing in a virtual desktop according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a system according to an embodiment of the present invention. Schematic diagram of a system architecture in a distributed virtual desktop scenario
  • FIG. 4 is a schematic flow chart of a method for distributed processing in another virtual desktop according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for distributing and refreshing a virtual desktop according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of message processing of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a desktop state in which only an application -1 window is opened in a virtual desktop according to an embodiment of the present invention, and a content object is included in an application -1 window;
  • FIG. 8 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a desktop state in which only an application -1 window is opened in the virtual desktop according to an embodiment of the present invention, and the application -1 window contains two content objects;
  • FIG. 10 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a desktop state in which an application-1 window and an application-3 window are opened in a virtual desktop according to an embodiment of the present invention
  • FIG. 12 is a schematic flowchart of message processing of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of a desktop state of a partial area of a display area of an application area occlusion application-4 of an application -1 in a virtual desktop according to an embodiment of the present invention
  • FIG. 14 is a schematic flowchart of message processing of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a distributed processing system in a virtual desktop according to an embodiment of the present invention. detailed description
  • a schematic flowchart of a method for distributed processing in a virtual desktop includes:
  • Step 101 The virtual desktop management module identifies a desktop sub-area in the application window corresponding to the application.
  • Step 102 The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area;
  • Step 103 The virtual desktop management module acquires pixel data of the desktop sub-area from the virtual desktop application processing module selected for the desktop sub-area;
  • Step 104 The virtual desktop management module displays the acquired pixel data of the desktop sub-area on the virtual desktop terminal.
  • the embodiment of the invention provides a method for distributed processing in a virtual desktop.
  • a virtual desktop management module in the virtual desktop system
  • the desktop sub-area in the application window corresponding to the application is identified, and different virtual sub-areas are selected for different desktop sub-areas.
  • the desktop application processing module processes the desktop sub-area by the selected virtual desktop application processing module and provides pixel data for display on the virtual desktop terminal, so that the virtual desktop application processing module can be allocated according to different desktop sub-areas for different applications. The waste of resources caused by the difference in processing capacity requirements of different applications is avoided.
  • the terminal in the embodiment of the present invention refers to all devices having a display function, including but not limited to: a computer display, a television, a portable device, a mobile phone, a thin terminal, and the like.
  • the desktop refers to the display area of the computer system on the terminal display device.
  • An application refers to a program or service in a computer system or a network device that can be used or accessed by a user, such as: an office application, various websites, local games, online games, multimedia download services, web chat services, and other types of network services. Wait.
  • the application window refers to the interface that the application presents to the user.
  • the display area of the application refers to the area of the screen occupied by the application window when displayed on the terminal screen.
  • the object refers to various contents that can be displayed on the terminal, and the object category can be text, video, flash animation, game, icon or hyperlink in the webpage, etc.; the display area of the object refers to the object displayed on the terminal screen The occupied screen area; the content of the object is the data needed to process, display, and deliver the object, such as: text content, video frame data, game data.
  • the display information of the application includes at least one of the following information:
  • Display area information of the application for example: display position of the application window (display coordinates), absolute size (length and width) of the application window, relative size of the application window (relative to the amount of change of the previous application window), whether the application window is the smallest Whether the application window is maximized, whether the application window is full screen, etc.;
  • the display area information of the object for example: the display position of the object (display coordinates), the absolute size (length and width) of the object, the relative size of the object (relative to the amount of change of the previous object display area), whether the object is minimized, the object Whether it is maximized, whether the object is full screen, etc.;
  • the desktop sub-area refers to any display area of the desktop, and the desktop sub-area may include one or more of the following display areas:
  • the display area of the application is the display area of the application.
  • the display area of the object can be any display area of the desktop divided according to any rules, and can be used to distinguish different applications or objects.
  • the display information of the desktop sub-area includes at least one of the following information:
  • the application area comparison table is a control relationship between the display area of the desktop and the corresponding application, and may be in the form of a table or a tree.
  • the present invention does not limit the specific storage manner.
  • Desktop display pixel data refers to the pixel data used to display the entire desktop or part of the desktop.
  • the pixel data of the desktop sub-area refers to the pixel data that can be used to display the sub-area of the desktop.
  • the input event refers to a message sent by the virtual desktop terminal to the network carrying information about the operation of the user's desktop.
  • the input event includes at least one of the following information:
  • buttons, joysticks and other operating components are included in the button, which key to press, including: keyboard, mouse, game controller, etc. All user-operable input device buttons, joysticks and other operating components;
  • Position information such as: the position of the mouse (display coordinates), the position of the cursor (display coordinates), the position of the input focus (display coordinates), etc.;
  • Position information touched by the touch screen refers to the application that accepts the input event.
  • the object corresponding to the input event refers to the target object that is operated by the input event.
  • the changed application window refers to the application window where the window position or window size changes. Change The changed application window can be an application window or multiple application windows.
  • the affected application window refers to an application window that is occluded or visualized due to a change in the changed application window or the appearance of a new application window.
  • the affected application window can be an application window or multiple application windows.
  • the remote application server can be any device that can be accessed through the network, such as a website server, a network game server, or a network video server.
  • FIG. 2 is a schematic diagram of a system architecture of distributed processing in a virtual desktop according to an embodiment of the present invention.
  • the embodiment of the present invention is based on the foregoing system architecture.
  • FIG. 3 is a schematic diagram of a system architecture in a distributed virtual desktop scenario according to an embodiment of the present invention, which is used to show a state that a distributed virtual desktop system may be presented in a specific implementation.
  • FIG. 4 is a schematic flowchart of a method for distributing processing in another virtual desktop according to an embodiment of the present disclosure, where the method for processing a virtual desktop includes:
  • Step 311 The virtual desktop management module receives the display information of the application sent by the remote application server.
  • Step 312 The virtual desktop management module identifies the desktop sub-area
  • the virtual desktop management module displays a display area of each object in the application, a display area of each object in the application, and multiple objects in the application that have the same or similar processing capabilities (eg, computing power).
  • the display area or the display area of the plurality of objects in the application determined by the rule defined by the user or the virtual desktop service provider is identified as one or more desktop sub-areas, and the desktop sub-area may be a display area of one object or more A collection of display areas of an object, and may also be a partial area of a display area of an object.
  • Step 313 The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area;
  • the virtual desktop management module selects a virtual desktop application processing module according to the type of the object in the desktop sub-area and/or the requirement of the processing capability (for example, computing capability) of the object in the desktop sub-area, for example, including
  • the desktop sub-area of the webpage text object selects a virtual desktop application processing module with webpage processing function; selects a video sub-area for the desktop sub-area containing the video object
  • the virtual desktop application processing module of the capability selects a virtual desktop application processing module with game processing capability for the desktop sub-area including the game object.
  • the virtual desktop management module can also select the virtual desktop application processing module according to the system load or randomly.
  • the virtual desktop application processing module may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module. On the other hand, the virtual desktop management module may always select a newly allocated virtual for the desktop sub-area. The desktop application processing module, or the virtual desktop management module can always select the same virtual desktop application processing module for the desktop sub-area.
  • the virtual desktop management module can use the following method to determine whether to select a newly allocated virtual desktop application processing module for the desktop sub-area:
  • Method 1 If the virtual desktop management module does not allocate the virtual desktop application processing module for the desktop sub-area or the object in the desktop sub-area, the virtual desktop management module is an object in the desktop sub-area or the desktop sub-area. Redistributing the virtual desktop application processing module; if the virtual desktop management module has previously assigned the virtual desktop application processing module for the desktop sub-area or the object in the desktop sub-area, then selecting the desktop sub-area or the a virtual desktop application processing module that allocates objects in the desktop sub-area; or
  • Method 2 If the type of the object in the desktop sub-area changes, the virtual desktop management module re-allocates the virtual desktop application processing module for the object in the desktop sub-area or the desktop sub-area, if the type of the object in the desktop sub-area does not change. The virtual desktop management module selects a virtual desktop application processing module previously allocated for the desktop sub-area or an object in the desktop sub-area.
  • Step 314 The virtual desktop management module acquires pixel data of the desktop sub-area from the virtual desktop application processing module.
  • the virtual desktop management module sends the display information of the desktop sub-area to the selected virtual desktop application processing module, and the virtual desktop application processing module feeds back the pixel data of the desktop sub-area to the virtual desktop management module.
  • the virtual desktop application processing module may generate the pixel data according to the display information of the desktop sub-area in a rendering manner. The generation of pixel data can be performed in the prior art. The invention is not limited in many ways.
  • Step 315 The virtual desktop management module displays the pixel data of the desktop sub-area on the virtual desktop terminal.
  • the virtual desktop management module sends desktop display pixel data to the virtual desktop terminal, and the virtual desktop management module generates pixel data of the entire virtual desktop by using pixel data of the desktop sub-region, and sends the generated virtual desktop pixel data as desktop display pixel data.
  • the virtual desktop management module sends the pixel data of the desktop sub-area as desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
  • the memory ie, a special memory
  • the desktop management module receives the pixels of the desktop sub-area. The data is written into the corresponding address segment.
  • the entire virtual desktop pixel data is generated.
  • the functions of the virtual desktop management module are:
  • the receiving virtual desktop application processing module feeds back the pixel data of the desktop sub-area to the virtual desktop management module.
  • displaying the pixel data of the desktop sub-area on the virtual desktop terminal specifically: sending desktop display pixel data to the virtual desktop terminal, and the virtual desktop management module uses the pixels of the desktop sub-area
  • the data generates pixel data of the entire virtual desktop, and the generated virtual desktop pixel data is sent to the virtual desktop terminal as desktop display pixel data; or the virtual desktop management module sends the pixel data of the desktop sub-region as the desktop display pixel data to the virtual desktop terminal.
  • the functions of the virtual desktop application processing module are:
  • the function of the virtual desktop terminal is: Display the desktop display pixel data sent by the virtual desktop management module on the screen of the virtual desktop terminal.
  • FIG. 5 is a schematic flowchart of a method for distributing and refreshing a virtual desktop according to an embodiment of the present disclosure, where the method for refreshing a virtual desktop includes:
  • Step 321 The virtual desktop management module receives an input event sent by the virtual terminal, or receives display information of the application sent by the remote application server.
  • Step 322 The virtual desktop management module identifies the desktop sub-area that needs to be refreshed. Specifically, the virtual desktop management module identifies one or more desktop sub-areas in the changed application window as the desktop sub-area that needs to be refreshed, or one or more One or more desktop sub-areas in the affected application window are identified as desktop sub-areas that need to be refreshed.
  • the virtual desktop management module when the virtual desktop management module receives the input event sent by the virtual terminal, the corresponding application is opened according to the input event, thereby causing the virtual desktop to display the content change; or directly receiving the application sent by the remote application server. Display information, causing changes in the content displayed by the virtual desktop.
  • Step 323 The virtual desktop management module acquires pixel data of the desktop sub-area that needs to be refreshed from the virtual desktop application processing module allocated for the desktop sub-area that needs to be refreshed, by: the virtual desktop management module assigning to the desktop sub-sub-task that needs to be refreshed.
  • the virtual desktop application processing module of the area sends a refresh request of the desktop sub-area; the virtual desktop application processing module feeds back to the virtual desktop management module The pixel data of the refreshed desktop sub-area.
  • Step 324 The virtual desktop management module displays the pixel data of the desktop sub-region that needs to be refreshed on the virtual desktop terminal by: the virtual desktop management module sending the desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop management module generates pixel data of the entire virtual desktop by using pixel data of the desktop sub-region that needs to be refreshed, and sends the generated virtual desktop pixel data as desktop display pixel data to the virtual desktop terminal; or the virtual desktop management module needs to be refreshed.
  • the pixel data of the desktop sub-area is sent to the virtual desktop terminal as desktop display pixel data.
  • the virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
  • step 323 may be omitted.
  • each module in the method shown in step 321 to step 324 are as follows:
  • the functions of the virtual desktop management module are:
  • the receiving virtual desktop application processing module feeds back the pixel data of the desktop sub-area to the virtual desktop management module.
  • displaying the pixel data of the desktop sub-area on the virtual desktop terminal specifically: sending desktop display pixel data to the virtual desktop terminal, and the virtual desktop management module generates the entire virtual desktop by using pixel data of the desktop sub-area to be refreshed.
  • the pixel data is sent to the virtual desktop terminal as the desktop display pixel data, or the virtual desktop management module sends the pixel data of the desktop sub-region that needs to be refreshed as the desktop display pixel data to the virtual desktop terminal.
  • the functions of the virtual desktop application processing module are:
  • the function of the virtual desktop terminal is: Display the desktop display pixel data sent by the virtual desktop management module on the screen of the virtual desktop terminal.
  • the virtual desktop application processing module can be allocated according to different applications or different objects of the same application according to different desktop sub-areas, thereby avoiding waste of computing power resources caused by differences in computing power between different applications.
  • the embodiment of the present invention can identify different applications and objects in the desktop sub-area, and allocate virtual desktop application processing modules for different applications, objects, or applications or objects having similar requirements for computing power, thereby being able to identify various areas of the virtual desktop.
  • the content and objects are processed according to the application processing capabilities of the content and the object allocation, making the use of computing resources more reasonable and effective.
  • FIG. 6 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • the preconditions of the embodiment corresponding to FIG. 6 include: a user accessing a virtual desktop through a virtual desktop terminal.
  • the user performs a desktop operation in the virtual desktop terminal, for example: Double-clicking the online game icon on the virtual desktop or pressing the shortcut key to open the online game icon on the virtual desktop and so on.
  • the method for distributing processing in the virtual desktop includes:
  • Step 401 The virtual desktop terminal sends an input event to the virtual desktop management module.
  • Step 402 The virtual desktop management module selects a virtual desktop application processing module, and the method is as follows: the virtual desktop management module parses the input event, and determines an application corresponding to the input event or an object corresponding to the input event according to the location information carried by the input event. ;
  • the virtual desktop management module selects the virtual desktop application processing module to process the input event, specifically: the virtual desktop management module configures a default virtual desktop application processing module for each application or each type of application, and the virtual desktop management module is configured according to the application.
  • the attribute and ⁇ or system load allocates a virtual desktop application processing module of the default configuration to the application; or, the virtual desktop management module randomly allocates a virtual desktop application processing module for the application.
  • the application corresponding to the click event is a game icon, and the virtual desktop management module configures the default virtual desktop application processing module-1 for the game icon, so the virtual desktop management module selects the virtual desktop application processing module-1 to process The click event;
  • the virtual desktop application processing module-1 may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module; the virtual desktop management module may always select the newly allocated virtual desktop application processing module processing node.
  • Step 403 The virtual desktop management module sends operation information to the selected virtual desktop application processing module-1, where the operation information includes all or part of the information in the input event, and may also include information about the application corresponding to the input event, and may also include Enter the information of the object corresponding to the event:
  • Step 404 The virtual desktop application processing module -1 sends an application request to the virtual desktop management module.
  • the virtual desktop application processing module sends an application request for establishing a network game link to the virtual desktop management module, which includes at least one of the following information:
  • Step 405 The virtual desktop management module forwards the application request to the remote application server. As shown in FIG. 7 , in the virtual desktop provided by the embodiment of the present invention, only the application -1 window is opened, and the application -1 window has a desktop state diagram of a content object.
  • FIG. 8 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • the method corresponds to the desktop state shown in FIG. 7.
  • the preconditions of the method include:
  • the remote application server -1 provides services and content for the application -1;
  • application -1 contains only object -1, for example: online games.
  • the message flow of distributed processing in the virtual desktop corresponding to FIG. 8 includes:
  • Step 501 The remote application server -1 sends the display information of the application to the virtual desktop management module.
  • the online game website sends the display information of the online game start interface. Since the application -1 contains only object -1, the application's display information includes at least one of the following information:
  • Step 502 The virtual desktop management module selects a virtual desktop application processing module.
  • the application-1 only contains the object-1
  • the virtual desktop management module identifies the area of the application-1 window as the desktop sub-area-1, and the desktop sub-area-1 is equal to the area of the application-1 window, the desktop
  • the sub-area-1 only contains the object-1
  • the virtual desktop management module selects the virtual desktop application processing module-1 for the desktop sub-area-1 according to the type of the object-1 or the object-1 to the computing capability requirement.
  • the virtual desktop management module can also select the virtual desktop application processing module according to the system load or randomly.
  • the virtual desktop application processing module-1 may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module. 502-1: The Virtual Desktop Management Module can always assign a new Virtual Desktop Application Processing Module to Desktop Sub-Region-1.
  • the virtual desktop management module can always select the same virtual desktop application processing module for desktop sub-area -1.
  • the virtual desktop management module can also use the following methods to determine whether it is a desktop sub-area - 1 Select the newly assigned virtual desktop application processing module:
  • Method 1 If the virtual desktop management module has not previously allocated the virtual desktop application processing module for the desktop sub-area-1 or the object-1, the virtual desktop management module newly allocates the virtual desktop application processing module as the virtual desktop application processing module. -1; if the virtual desktop management module has previously assigned the virtual desktop application processing module for the desktop sub-area-1 or the object-1, the virtual desktop management module selects the desktop sub-area-1 or the The virtual desktop application processing module allocated by the object-1 as a virtual desktop application processing module - 1;
  • Method 2 If the category of the object-1 changes, the virtual desktop management module newly allocates the virtual desktop application processing module as the virtual desktop application processing module-1. If the category of the object-1 does not change, the virtual desktop management module selects before The desktop sub-area-1 or the virtual desktop application processing module allocated by the object-1 is used as the virtual desktop application processing module-1.
  • Step 503 The virtual desktop management module sends the display information of the desktop sub-area -1 to the virtual desktop application processing module -1.
  • the display information of the desktop area -1 includes at least one of the following information:
  • Step 504 The virtual desktop application processing module feeds back the pixel data of the desktop sub-area -1 to the virtual desktop management module.
  • the virtual desktop application processing module generates pixel data of the desktop sub-area -1 according to the desktop sub-area -1 display information, and feeds back the generated pixel data of the desktop sub-area -1 to the virtual desktop management module.
  • Step 505 The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop management module can generate the number of pixels of the entire virtual desktop using the desktop sub-area-1 pixel data. According to the method, the generated pixel data of the entire virtual desktop is sent to the virtual desktop terminal as desktop display pixel data; or the virtual desktop management module sends the pixel data of the desktop sub-area-1 as the desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
  • FIG. 9 a schematic diagram of a desktop state in which only an application-1 window is opened in the virtual desktop and the application-1 window contains two content objects is provided in the virtual desktop.
  • the present invention is implemented.
  • a schematic diagram of a message flow process for distributed processing in another virtual desktop provided by the example. The prerequisites of the message flow are:
  • the content in the application -1 window is from the remote application server -1;
  • application -1 window contains object -1 and object -2, for example: object -1 is text, object -2 is video.
  • Step 601 The remote application server-1 sends the display information of the application to the virtual desktop management module. Since the application-1 includes the object-1 and the object-2, the display information of the application includes the following information: 1) Application-1 Display area information;
  • display area information of the object that is, display area information of the object -1 and display area information of the object -2;
  • the content of the object that is, the content of the object -1 and the content of the object -2.
  • Step 602 The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area by:
  • the virtual desktop management module identifies the desktop sub-area. Specifically: the virtual desktop management module identifies at least one of the following as one or more desktop sub-areas:
  • the display area of each object in the application The display area of each object in the application;
  • a display area of a plurality of objects in an application determined by rules defined by a user or a virtual desktop service provider.
  • the desktop sub-area may be a display area of one object or a display area of a plurality of objects, or may be a partial area of a display area of one object.
  • the virtual desktop management module recognizes the display area of the object -1 as the desktop sub-area -1 and the display area of the object -2 as the desktop sub-area -2.
  • the virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area, where: the virtual desktop management module calculates the computing capability according to the type of the object in the desktop sub-area and the object-to-desk sub-area Requirements, system load, or random selection of virtual desktop application processing modules, for example: selecting a virtual desktop application processing module with webpage processing function for the webpage text desktop sub-area, and selecting a virtual desktop application processing module with video processing capability for the video desktop sub-area, Select a virtual desktop application processing module with game processing capabilities for the game desktop sub-area.
  • the virtual desktop application processing module may be selected according to the type of the object: the virtual desktop management module selects the virtual desktop application processing module-1 with text processing capability for the desktop sub-region-1, and selects video processing for the desktop sub-region-2. Capable Virtual Desktop Application Processing Module-2.
  • the virtual desktop application processing module may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module; the virtual desktop management module may always select a newly allocated virtual desktop application processing module for the desktop sub-area.
  • the virtual desktop management module can always select the same virtual desktop application processing module for the desktop sub-area.
  • the virtual desktop management module can use the following methods to determine whether to reselect the virtual desktop application processing module for the desktop sub-area:
  • the virtual desktop management module does not allocate a virtual desktop application processing module for the desktop sub-area or the object in the desktop sub-area, the virtual desktop management module newly allocates the virtual desktop application processing module; if the virtual desktop management module has been previously The desktop sub-area or the object in the desktop sub-area is assigned a virtual desktop application processing module, and then the previous desktop is selected. a virtual desktop application processing module allocated by an object in the area or the desktop sub-area; or if the type of the object in the desktop sub-area changes, the virtual desktop management module newly allocates a virtual desktop application processing module, if in the desktop sub-area The type of the object does not change, and the virtual desktop management module selects a virtual desktop application processing module previously allocated for the desktop sub-area or an object in the desktop sub-area.
  • Step 603 The virtual desktop management module sends the display information of the desktop sub-area -1 to the virtual desktop application processing module -1.
  • the display information of the desktop sub-area -1 includes at least one of the following information: 1) the category of the object, that is, the category of the object -1;
  • Step 604 The virtual desktop application processing module -1 feeds back the pixel data of the desktop sub-area -1 to the virtual desktop management module.
  • Step 605 The virtual desktop management module sends the display information of the desktop sub-area -2 to the virtual desktop application processing module -2.
  • the display information of the desktop sub-area-2 includes at least one of the following information: 1) the category of the object, that is, the category of the object-2;
  • Step 606 The virtual desktop application processing module -2 feeds back the pixel data of the desktop sub-area -2 to the virtual desktop management module.
  • Step 607 The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop management module may generate pixel data of the entire virtual desktop by using pixel data of the desktop sub-area-1 and pixel data of the desktop sub-area-2, and send the generated virtual desktop pixel data as desktop display pixel data to the virtual desktop terminal; Or the virtual desktop management module sends the pixel data of the desktop sub-area-1 and the pixel data of the desktop sub-area-2 as desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
  • steps 603 to 604 and steps 605 to 606 is not limited; This embodiment is also applicable to the case where two or more types of content objects are included in the application window.
  • the application-1 window and application are opened in the virtual desktop provided by the embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention.
  • the preconditions of the message flow are:
  • the user can modify the position or size of the application window by using the desktop operation in the virtual desktop, for example, dragging the mouse, so that the original application -3 window is blocked by the application -1 window to be displayed in the virtual desktop.
  • Step 701 The virtual desktop terminal -1 sends an input event to the virtual desktop management module, where the type of the desktop operation carried by the input event is a mouse click drag.
  • Step 702 The virtual desktop management module identifies the desktop sub-area that needs to be refreshed.
  • the virtual desktop management module identifies one or more desktop sub-regions in the changed application window as desktop sub-regions that need to be refreshed, or identifies one or more desktop sub-regions in one or more affected application windows as needed
  • the refreshed desktop sub-area (note that, when each application window is displayed, the virtual desktop management module has identified each application's window as one or more desktop sub-areas, and assigned each desktop sub-area
  • the virtual desktop application processing module the specific process is not described here.
  • the virtual desktop management module sends a refresh request of the desktop sub-area to the virtual desktop application processing module allocated to the desktop sub-area that needs to be refreshed.
  • the application window changed in this embodiment is an application-1 window
  • the affected application window has an application-3 window
  • the virtual desktop management module will apply -1 corresponding desktop sub-area-1 and application-3 corresponding desktop sub-area- 3 is identified as a desktop sub-area that needs to be refreshed.
  • Step 703 The virtual desktop management module sends a refresh request of the desktop sub-area-1 to the virtual desktop application processing module -1 assigned to the desktop sub-area -1 to be refreshed.
  • Step 704 The virtual desktop application processing module-1 feeds back the pixel data of the desktop sub-area-1 that needs to be refreshed to the virtual desktop management module.
  • Step 705 The virtual desktop management module sends a refresh request of the desktop sub-area-3 to the virtual desktop application processing module-3 assigned to the desktop sub-area-3 that needs to be refreshed.
  • Step 706 The virtual desktop application processing module -3 feeds back the pixel data of the desktop sub-area -3 that needs to be refreshed to the virtual desktop management module.
  • Step 707 The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop management module can generate the pixel data of the entire virtual desktop by using the pixel data of the desktop sub-area-1 that needs to be refreshed and the pixel data of the desktop sub-area-3 that needs to be refreshed, and use the generated virtual desktop pixel data as the desktop display pixel data.
  • Sending to the virtual desktop terminal; or the virtual desktop management module sends the pixel data of the desktop sub-area-1 that needs to be refreshed and the pixel data of the desktop sub-area-3 that needs to be refreshed as desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
  • steps 703 and 705 is not limited. If the pixel data of the desktop sub-area is stored in the virtual desktop management module, steps 703 to 706 may be omitted.
  • the virtual desktop management module identifies the desktop sub-area that needs to be refreshed, and refreshes the application corresponding to the different area to the application comparison table.
  • FIG. 13 a schematic diagram of a desktop state of a partial area of a display area of an application area occlusion application-4 of an application -1 is opened in a virtual desktop provided by an embodiment of the present invention.
  • FIG. 14 a schematic diagram of a message flow of distributed processing in another virtual desktop provided by an embodiment of the present invention, the preconditions of the message process are:
  • the remote application server -1 provides content and services for the application -1, and the remote application server -1 can also actively push the application -1 window to the user's virtual desktop;
  • the display area of the application -1 blocks a part of the display area of the application -4.
  • the message flow provided by the embodiment of the present invention includes: Step 801: The remote application server-1 sends the display information of the application to the virtual desktop management module.
  • the virtual desktop management module identifies the display area of the virtual desktop management module application-1 as one or more desktop sub-areas according to the method of steps 502 to 504 or the method of steps 602 to 606, and the virtual desktop management module acquires and recognizes Pixel data of the desktop sub-area.
  • Step 803 The virtual desktop management module identifies the desktop sub-area that needs to be refreshed.
  • the virtual desktop management module identifies one or more desktop sub-areas in one or more affected application windows as desktop sub-areas that need to be refreshed, and the virtual desktop management module assigns virtual desktops to each desktop sub-area that needs to be refreshed.
  • the application processing module sends a refresh request of the desktop sub-area.
  • the affected application window has an application-4 window
  • the desktop sub-area-4 corresponding to the application-4 window is identified as a desktop sub-area that needs to be refreshed.
  • Step 804 The virtual desktop management module sends a refresh request of the desktop sub-area-4 to the virtual desktop application processing module -4 assigned to the desktop sub-area-4.
  • Step 805 The virtual desktop application processing module -4 feeds back the pixel data of the desktop area -4 to be refreshed to the virtual desktop management module.
  • Step 806 The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop management module generates pixel data of the entire virtual desktop by using the pixel data of the desktop sub-area-1 and the pixel data of the desktop sub-area-4 to be refreshed, and sends the generated virtual desktop pixel data as desktop display pixel data to the virtual desktop.
  • the virtual desktop management module sends the pixel data of the desktop sub-area-1 and the pixel data of the desktop sub-area-4 that needs to be refreshed as desktop display pixel data to the virtual desktop terminal.
  • the virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
  • step 802 and step 803 to step 805 is not limited. If the pixel data of the desktop sub-area is stored in the virtual desktop management module, step 804 and step 806 may be omitted.
  • the embodiment of the present invention provides a method for distributing processing in a virtual desktop.
  • the virtual desktop management module identifies the desktop sub-area that needs to be refreshed, and allocates a virtual desktop application processing module to the identified desktop sub-area according to the foregoing allocation principle, and processes the refresh request of the corresponding desktop sub-area to complete the virtual desktop terminal. Display, so that applications or objects that can satisfy similar computing powers can be allocated to the same virtual desktop application processing module to avoid waste of computing power.
  • the present invention further provides a distributed processing system in a virtual desktop, including: a virtual desktop management module 1501, at least one virtual desktop application processing module 1502,
  • a virtual desktop management module 1501 configured to identify a desktop sub-area in an application window corresponding to the application, and select a virtual desktop application processing module 1502 for the desktop sub-area, from the virtual desktop application processing module selected for the desktop sub-area The acquiring the pixel data of the desktop sub-area, and displaying the acquired pixel data of the desktop sub-area on the virtual desktop terminal;
  • the at least one virtual desktop application processing module 1502 is configured to provide processing capability for the application, and feed back pixel data of the desktop sub-region to the virtual desktop management module.
  • the virtual desktop management module 1501 is further configured to receive an input event sent by the virtual desktop terminal, and determine an application corresponding to the input event according to the location information carried by the input event.
  • the virtual desktop management module 1501 is specifically configured to: when the input event is a click event, determine an area where the click occurs according to the coordinate of the click occurrence, and search for an application corresponding to the click event in the application area comparison table.
  • the virtual desktop management module 1501 is further configured to identify a desktop sub-area that needs to be refreshed, and the desktop sub-area that needs to be refreshed is one or more desktop sub-areas in the application window that is changed due to the input event.
  • the virtual desktop management module 1501 is further configured to send a refresh request to the virtual desktop application processing module 1502 allocated to the desktop sub-area that needs to be refreshed, and receive the refreshed pixel data fed back by the virtual desktop application processing module 1502.
  • the system further includes at least one application server 1503, the virtual desktop management module 1501, And being used for receiving display information of the application sent by the application server 1503, where the display information of the application includes at least one of the following information: display area information of the application; a category of the object; Display area information; content of the object.
  • the virtual desktop management module 1501 is specifically configured to select the virtual desktop application processing module 1502 according to at least one of the following principles:
  • the virtual desktop management module 1501 selects a virtual desktop application processing module 1502 according to the type of the object in the desktop sub-area;
  • the virtual desktop management module 1501 selects the virtual desktop application processing module 1502 according to the processing capability requirements of the objects in the desktop sub-area.
  • the virtual desktop management module 1501 is configured to send the display information of the desktop sub-area to the selected virtual desktop application processing module 1502, and receive the pixel data fed back by the virtual desktop application processing module 1502.
  • the embodiment of the invention provides a method and a system for distributing processing in a virtual desktop, which can identify content and objects in various areas of the virtual desktop, and process according to the application processing capability corresponding to the content and the object allocation, so that the use of the computing resources is further improved. Reasonable and effective.
  • the present invention can be implemented by means of software plus the necessary general hardware platform. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a disk, An optical disk or the like includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a distributed virtual desktop method and system. The method comprises: a virtual desktop management module identifying a desktop subarea in a corresponding application window of an application; the virtual desktop management module selecting a virtual desktop application processing module for the desktop subarea; the virtual desktop management module acquiring pixel data of the desktop subarea from the virtual desktop application processing module selected for the desktop subarea; the virtual desktop management module displaying the acquired pixel data of the desktop subarea on a virtual desktop terminal, so that, aiming at different applications, the virtual desktop application processing module can be distributed according to the different desktop subareas, avoiding waste of computing power resources due to the different processing power of different applications.

Description

虚拟桌面中分布处理的方法和系统 技术领域  Method and system for distributed processing in virtual desktop
本发明涉及 IT领域, 特别是一种虚拟桌面中分布处理的方法和系统。 背景技术  The present invention relates to the field of IT, and in particular to a method and system for distributed processing in a virtual desktop. Background technique
当前的虚拟桌面系统, 系统为用户分配处理能力 (例如, 计算能力, 本 申请后续内容以计算能力为例进行描述), 对于单个用户, 通常使用一种计算 能力处理虚拟桌面中的所有应用。 但是, 在某些情况下, 虚拟桌面用户打开 多个应用或打开的单个应用中包括多个对象时, 不同的应用或对象对计算能 力的要求可能会差别很大(例如: 当虚拟桌面用户通过虚拟桌面打开多个应 用, 并且打开的每个应用所处理的内容或者对象有可能对计算能力的要求差 别较大, 例如网页浏览和网络游戏对计算能力的要求就差别很大; 或者, 当 虚拟桌面用户通过虚拟桌面打开一个应用, 该应用需要处理多种内容或者对 象, 并且这些内容或者对象对计算能力的要求差别较大, 例如网页中有文字 部分, 也有媒体播放窗口, 文字处理和多媒体处理对计算能力的要求差别较 大)。  In the current virtual desktop system, the system allocates processing power to users (for example, computing power, and the following content of the application is described by taking computing power as an example). For a single user, a computing power is usually used to process all applications in the virtual desktop. However, in some cases, when a virtual desktop user opens multiple applications or opens a single application that includes multiple objects, the computing power requirements of different applications or objects can vary widely (for example: When a virtual desktop user passes Virtual desktops open multiple applications, and the content or objects processed by each application opened may have different requirements on computing power. For example, web browsing and online games have different computing power requirements; or, when virtual A desktop user opens an application through a virtual desktop. The application needs to process a variety of content or objects, and the content or object has different requirements on computing power, such as a text portion in a web page, a media playing window, word processing, and multimedia processing. The requirements for computing power vary widely).
当上述情况发生时, 当前的虚拟桌面系统只能为所有应用或者应用中的 所有类型的内容或者对象分配相同的资源, 如果虚拟桌面系统按照最低处理 能力要求分配资源则无法满足对处理能力要求高的内容或者对象的处理; 如 果虚拟桌面系统按照最高要求分配资源则对于对处理能力要求低的内容或者 对象来说会造成资源的浪费。  When the above situation occurs, the current virtual desktop system can only allocate the same resources for all types of content or objects in all applications or applications. If the virtual desktop system allocates resources according to the minimum processing capability requirements, the processing capability cannot be met. The processing of content or objects; if the virtual desktop system allocates resources according to the highest requirements, it will cause waste of resources for content or objects with low processing power requirements.
发明内容 Summary of the invention
本发明实施例提供了一种虚拟桌面中分布处理的方法和系统, 可以识别 不同应用的桌面子区域, 针对不同应用的桌面子区域分配虚拟桌面应用处理 单元, 避免了资源的浪费。 本发明实施例提供了一种虚拟桌面中分布处理的方法, 包括: 虚拟桌面管理模块识别应用对应的应用窗口中的桌面子区域; The embodiment of the invention provides a method and a system for distributing processing in a virtual desktop, which can identify desktop sub-areas of different applications, and allocate virtual desktop application processing units for desktop sub-areas of different applications, thereby avoiding waste of resources. An embodiment of the present invention provides a method for distributed processing in a virtual desktop, including: a virtual desktop management module identifying a desktop sub-area in an application window corresponding to the application;
所述虚拟桌面管理模块为所述桌面子区域选择虚拟桌面应用处理模块; 所述虚拟桌面管理模块从为所述桌面子区域选择的所述虚拟桌面应用处 理模块获取所述桌面子区域的像素数据;  The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area; the virtual desktop management module acquires pixel data of the desktop sub-area from the virtual desktop application processing module selected for the desktop sub-area ;
所述虚拟桌面管理模块将获取的所述桌面子区域的像素数据显示在虚拟 桌面终端上。  The virtual desktop management module displays the acquired pixel data of the desktop sub-area on the virtual desktop terminal.
本发明实施例还提供了一种虚拟桌面中的分布处理系统, 所述系统包括: 虚拟桌面管理模块, 至少一个虚拟桌面应用处理模块, 其中,  The embodiment of the present invention further provides a distributed processing system in a virtual desktop, where the system includes: a virtual desktop management module, at least one virtual desktop application processing module, where
虚拟桌面管理模块, 用于识别应用对应的应用窗口中的桌面子区域, 为 所述桌面子区域选择虚拟桌面应用处理模块, 从为所述桌面子区域选择的所 述虚拟桌面应用处理模块获取所述桌面子区域的像素数据, 将获取的所述桌 面子区域的像素数据显示在虚拟桌面终端上;  a virtual desktop management module, configured to identify a desktop sub-area in an application window corresponding to the application, select a virtual desktop application processing module for the desktop sub-area, and obtain the location from the virtual desktop application processing module selected for the desktop sub-area Decoding the pixel data of the desktop sub-area, and displaying the acquired pixel data of the desktop sub-area on the virtual desktop terminal;
所述至少一个虚拟桌面应用处理模块, 用于为所述应用提供处理能力, 并向所述虚拟桌面管理模块反馈所述桌面子区域的像素数据。  The at least one virtual desktop application processing module is configured to provide processing capability for the application, and feed back pixel data of the desktop sub-region to the virtual desktop management module.
本发明实施例提供了一种虚拟桌面中分布处理的方法和系统, 通过在虚 拟桌面系统中引入虚拟桌面管理模块, 识别应用对应的应用窗口中的桌面子 区域, 为不同的桌面子区域选择不同的虚拟桌面应用处理模块, 由选择的虚 拟桌面应用处理模块对桌面子区域进行处理并提供像素数据用以显示在虚拟 桌面终端上, 从而可以针对不同应用按照不同的桌面子区域分配虚拟桌面应 用处理模块, 避免了由于不同应用对处理能力需求的差异引起的资源的浪费。  The embodiment of the invention provides a method and a system for distributing processing in a virtual desktop. By introducing a virtual desktop management module in the virtual desktop system, the desktop sub-area in the application window corresponding to the application is identified, and different desktop sub-areas are selected differently. The virtual desktop application processing module processes the desktop sub-area by the selected virtual desktop application processing module and provides pixel data for display on the virtual desktop terminal, so that the virtual desktop application processing can be allocated according to different desktop sub-areas for different applications. The module avoids the waste of resources caused by the difference in processing capacity requirements of different applications.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 图 1是本发明实施例提供的一种虚拟桌面中分布处理的方法流程示意图; 图 2是本发明实施例提供的虚拟桌面中分布处理的系统架构示意图; 图 3 是本发明实施例提供的一种分布式虚拟桌面场景下的系统架构示意 图; In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work. 1 is a schematic flowchart of a method for distributed processing in a virtual desktop according to an embodiment of the present invention; FIG. 2 is a schematic diagram of a system architecture for distributed processing in a virtual desktop according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a system according to an embodiment of the present invention. Schematic diagram of a system architecture in a distributed virtual desktop scenario;
图 4是本发明实施例提供的另一种虚拟桌面中分布处理的方法流程示意 图;  4 is a schematic flow chart of a method for distributed processing in another virtual desktop according to an embodiment of the present invention;
图 5是本发明实施例提供的一种分布刷新虚拟桌面的方法流程示意图; 图 6是本发明实施例提供的另一种虚拟桌面中分布处理的消息流程示意 图;  5 is a schematic flowchart of a method for distributing and refreshing a virtual desktop according to an embodiment of the present invention; FIG. 6 is a schematic flowchart of message processing of distributed processing in another virtual desktop according to an embodiment of the present invention;
图 7是本发明实施例提供的虚拟桌面中只打开应用 -1 窗口, 并且应用 -1 窗口中含有一种内容对象的桌面状态示意图;  FIG. 7 is a schematic diagram of a desktop state in which only an application -1 window is opened in a virtual desktop according to an embodiment of the present invention, and a content object is included in an application -1 window;
图 8是本发明实施例提供的另一种虚拟桌面中分布处理的消息流程示意 图;  FIG. 8 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention; FIG.
图 9是本发明实施例提供的虚拟桌面中只打开应用 -1 窗口, 并且应用 -1 窗口中含有两种内容对象的的桌面状态示意图;  FIG. 9 is a schematic diagram of a desktop state in which only an application -1 window is opened in the virtual desktop according to an embodiment of the present invention, and the application -1 window contains two content objects;
图 10是本发明实施例提供的另一种虚拟桌面中分布处理的消息流程示意 图;  FIG. 10 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention; FIG.
图 11是本发明实施例提供的虚拟桌面中打开应用 -1窗口和应用 -3窗口的 桌面状态示意图;  11 is a schematic diagram of a desktop state in which an application-1 window and an application-3 window are opened in a virtual desktop according to an embodiment of the present invention;
图 12是本发明实施例提供的另一种虚拟桌面中分布处理的消息流程示意 图;  FIG. 12 is a schematic flowchart of message processing of distributed processing in another virtual desktop according to an embodiment of the present invention; FIG.
图 13是本发明实施例提供的虚拟桌面中打开应用 -1的显示区域遮挡应用 -4的显示区域的部分区域的桌面状态示意图;  FIG. 13 is a schematic diagram of a desktop state of a partial area of a display area of an application area occlusion application-4 of an application -1 in a virtual desktop according to an embodiment of the present invention;
图 14是本发明实施例提供的另一种虚拟桌面中分布处理的消息流程示意 图;  FIG. 14 is a schematic flowchart of message processing of distributed processing in another virtual desktop according to an embodiment of the present invention; FIG.
图 15 是本发明实施例提供的一种虚拟桌面中的分布处理系统架构示意 图。 具体实施方式 FIG. 15 is a schematic structural diagram of a distributed processing system in a virtual desktop according to an embodiment of the present invention. detailed description
如图 1 所示, 为本发明实施例提供的一种虚拟桌面中分布处理的方法流 程示意图, 包括:  As shown in FIG. 1 , a schematic flowchart of a method for distributed processing in a virtual desktop according to an embodiment of the present invention includes:
步骤 101 : 虚拟桌面管理模块识别应用对应的应用窗口中的桌面子区域; 步骤 102:所述虚拟桌面管理模块为所述桌面子区域选择虚拟桌面应用处 理模块;  Step 101: The virtual desktop management module identifies a desktop sub-area in the application window corresponding to the application. Step 102: The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area;
步骤 103:所述虚拟桌面管理模块从为所述桌面子区域选择的所述虚拟桌 面应用处理模块获取所述桌面子区域的像素数据;  Step 103: The virtual desktop management module acquires pixel data of the desktop sub-area from the virtual desktop application processing module selected for the desktop sub-area;
步骤 104:所述虚拟桌面管理模块将获取的所述桌面子区域的像素数据显 示在虚拟桌面终端上。  Step 104: The virtual desktop management module displays the acquired pixel data of the desktop sub-area on the virtual desktop terminal.
本发明实施例提供了一种虚拟桌面中分布处理的方法, 通过在虚拟桌面 系统中引入虚拟桌面管理模块, 识别应用对应的应用窗口中的桌面子区域, 为不同的桌面子区域选择不同的虚拟桌面应用处理模块, 由选择的虚拟桌面 应用处理模块对桌面子区域进行处理并提供像素数据用以显示在虚拟桌面终 端上, 从而可以针对不同应用按照不同的桌面子区域分配虚拟桌面应用处理 模块, 避免了由于不同应用对处理能力需求的差异引起的资源的浪费。  The embodiment of the invention provides a method for distributed processing in a virtual desktop. By introducing a virtual desktop management module in the virtual desktop system, the desktop sub-area in the application window corresponding to the application is identified, and different virtual sub-areas are selected for different desktop sub-areas. The desktop application processing module processes the desktop sub-area by the selected virtual desktop application processing module and provides pixel data for display on the virtual desktop terminal, so that the virtual desktop application processing module can be allocated according to different desktop sub-areas for different applications. The waste of resources caused by the difference in processing capacity requirements of different applications is avoided.
需要说明的是, 本发明后续实施例以计算能力为例进行描述, 但本领域 技术人员了解的是, 计算能力仅是处理能力的一种典型情况, 并不意味着本 申请的限定。  It should be noted that the following embodiments of the present invention are described by taking the computing capability as an example. However, those skilled in the art understand that the computing capability is only a typical case of processing capability, and is not meant to limit the application.
进一步需要说明的是, 在现有技术中, 应用中包括的不同对象可能对计 算能力的需求也存在着差异, 当把对计算能力有不同需求的对象分配到同一 虚拟桌面应用处理模块时, 也会造成计算能力的浪费。 针对这种情况, 本发 明后续实施例进一步识别对象对应的桌面子区域, 进而解决该问题, 后续实 施例将进行细致描述。  It should be further noted that in the prior art, different objects included in the application may have different requirements for computing power. When objects with different requirements for computing power are allocated to the same virtual desktop application processing module, It will cause a waste of computing power. In response to this situation, the subsequent embodiment of the present invention further identifies the desktop sub-region corresponding to the object, thereby solving the problem, and the subsequent embodiments will be described in detail.
首先, 对本发明实施例中的名称做出以下说明, 本领域技术人员理解的 是, 下述解释仅是加强术语的理解, 并不意味着下述术语仅限于解释所列出 的内容: First of all, the following description is made on the names in the embodiments of the present invention, and those skilled in the art understand that the following explanations are merely an understanding of the enhanced terms, and do not mean that the following terms are limited to the explanations listed. Content:
本发明实施例中的终端, 指的是所有具有显示功能的设备, 包括但不限 于: 电脑显示器、 电视、 便携机、 手机、 瘦终端等等。  The terminal in the embodiment of the present invention refers to all devices having a display function, including but not limited to: a computer display, a television, a portable device, a mobile phone, a thin terminal, and the like.
桌面指的是计算机系统在终端显示设备上的显示区域。  The desktop refers to the display area of the computer system on the terminal display device.
应用指的是计算机系统中或者网络设备中能够被用户使用或者访问的程 序或者服务例如: Office应用程序、 各类网站、 本地游戏、 网络游戏、 多媒体 下载服务、 网络聊天服务以及其他类的网络服务等。  An application refers to a program or service in a computer system or a network device that can be used or accessed by a user, such as: an office application, various websites, local games, online games, multimedia download services, web chat services, and other types of network services. Wait.
应用窗口指的是应用呈现给用户的界面。  The application window refers to the interface that the application presents to the user.
应用的显示区域指的是应用窗口在终端屏幕上显示时占据的屏幕区域。 对象指的是终端上能够显示的各种内容, 对象的类别可以是文本、 视频、 flash动画、 游戏、 图标或网页中的超链接等; 对象的显示区域指的是对象在 终端屏幕上显示时占据的屏幕区域; 对象的内容就是用来处理、 显示、 传递 对象所需的数据, 例如: 文本内容, 视频帧数据, 游戏数据。  The display area of the application refers to the area of the screen occupied by the application window when displayed on the terminal screen. The object refers to various contents that can be displayed on the terminal, and the object category can be text, video, flash animation, game, icon or hyperlink in the webpage, etc.; the display area of the object refers to the object displayed on the terminal screen The occupied screen area; the content of the object is the data needed to process, display, and deliver the object, such as: text content, video frame data, game data.
应用的显示信息至少包括下列信息中的一种:  The display information of the application includes at least one of the following information:
1 )应用的显示区域信息, 例如: 应用窗口的显示位置 (显示坐标)、 应 用窗口的绝对尺寸 (长宽)、 应用窗口的相对尺寸 (相对于之前应用窗口的变 化量),应用窗口是否最小化、应用窗口是否最大化、应用窗口是否全屏等等; 1) Display area information of the application, for example: display position of the application window (display coordinates), absolute size (length and width) of the application window, relative size of the application window (relative to the amount of change of the previous application window), whether the application window is the smallest Whether the application window is maximized, whether the application window is full screen, etc.;
2 )对象的类别, 例如: 网页、 视频、 flash动画、 游戏等; 2) categories of objects, such as: web pages, videos, flash animations, games, etc.;
3 )对象的显示区域信息, 例如: 对象的显示位置 (显示坐标), 对象的 绝对尺寸 (长宽), 对象的相对尺寸 (相对于之前对象显示区域的变化量), 对象是否最小化、 对象是否最大化、 对象是否全屏等;  3) The display area information of the object, for example: the display position of the object (display coordinates), the absolute size (length and width) of the object, the relative size of the object (relative to the amount of change of the previous object display area), whether the object is minimized, the object Whether it is maximized, whether the object is full screen, etc.;
4 )对象的内容。  4) The content of the object.
桌面子区域指的是桌面的任何显示区域, 桌面子区域可以包括下列显示 区域的一种或者多种:  The desktop sub-area refers to any display area of the desktop, and the desktop sub-area may include one or more of the following display areas:
应用的显示区域;  The display area of the application;
应用的显示区 i或的部分区 i或;  The display area of the application i or part of the area i or;
对象的显示区域; 总之, 桌面子区域可以是根据任何规则划分的桌面的任何显示区域, 可 以用来区分不同的应用或对象。 The display area of the object; In summary, the desktop sub-area can be any display area of the desktop divided according to any rules, and can be used to distinguish different applications or objects.
桌面子区域的显示信息至少包括下列信息中的一种:  The display information of the desktop sub-area includes at least one of the following information:
1 )应用的类别;  1) the category of the application;
2 )应用的显示区域信息;  2) display area information of the application;
3 )应用的内容;  3) the content of the application;
4 )对象的类别;  4) the category of the object;
5 )对象的显示区域信息;  5) display area information of the object;
6 )对象的内容。  6) The content of the object.
应用区域对照表是桌面的显示区域与对应应用的对照关系, 可以采用表、 树等形式, 本发明对具体的存储方式并不进行限定。  The application area comparison table is a control relationship between the display area of the desktop and the corresponding application, and may be in the form of a table or a tree. The present invention does not limit the specific storage manner.
桌面显示像素数据指的是用来显示整个桌面或者部分桌面的像素数据。 桌面子区域的像素数据指的是可以用来显示桌面子区域的像素数据。 输入事件指的是虚拟桌面终端向网络发送的携带用户桌面操作相关信息 的消息, 输入事件至少包括下列信息中的一种:  Desktop display pixel data refers to the pixel data used to display the entire desktop or part of the desktop. The pixel data of the desktop sub-area refers to the pixel data that can be used to display the sub-area of the desktop. The input event refers to a message sent by the virtual desktop terminal to the network carrying information about the operation of the user's desktop. The input event includes at least one of the following information:
1 )按键的标识信息, 按的哪个键, 包括: 键盘、 鼠标、 游戏手柄等所有 用户可操作的输入设备上的按钮、 操作杆等操作部件;  1) The identification information of the button, which key to press, including: keyboard, mouse, game controller, etc. All user-operable input device buttons, joysticks and other operating components;
2 )按键是按下去还是松开的标识信息;  2) Whether the button is pressed or released;
3 )位置信息, 例如: 鼠标的位置(显示坐标), 光标的位置(显示坐标), 输入焦点的位置 (显示坐标)等等;  3) Position information, such as: the position of the mouse (display coordinates), the position of the cursor (display coordinates), the position of the input focus (display coordinates), etc.;
4 ) 鼠标点击间隔时间;  4) mouse click interval;
5 )滚轮的移动信息;  5) movement information of the scroll wheel;
6 )触摸屏被触摸的位置信息、触摸点的变化信息、触摸点的力度信息等。 输入事件对应的应用指的是接受输入事件的应用。  6) Position information touched by the touch screen, change information of the touched point, velocity information of the touched point, and the like. The application corresponding to the input event refers to the application that accepts the input event.
输入事件对应的对象指的是被输入事件操作的目标对象。  The object corresponding to the input event refers to the target object that is operated by the input event.
改变的应用窗口指的是窗口位置或者窗口大小发生变化的应用窗口。 改 变的应用窗口可以是一个应用窗口, 也可以是多个应用窗口。 The changed application window refers to the application window where the window position or window size changes. Change The changed application window can be an application window or multiple application windows.
受影响的应用窗口指的是由于改变的应用窗口的改变、 或者新的应用窗 口的出现而遮挡或者显现的应用窗口。 受影响的应用窗口可以是一个应用窗 口, 也可以是多个应用窗口。  The affected application window refers to an application window that is occluded or visualized due to a change in the changed application window or the appearance of a new application window. The affected application window can be an application window or multiple application windows.
远端应用服务器可以是任何一种可以通过网络访问的设备, 例如: 网站 服务器、 网络游戏服务器或网络视频服务器等。  The remote application server can be any device that can be accessed through the network, such as a website server, a network game server, or a network video server.
图 2是本发明实施例提供的虚拟桌面中分布处理的系统架构示意图, 本 发明实施例即基于上述系统架构。  FIG. 2 is a schematic diagram of a system architecture of distributed processing in a virtual desktop according to an embodiment of the present invention. The embodiment of the present invention is based on the foregoing system architecture.
图 3 是本发明实施例提供的一种分布式虚拟桌面场景下的系统架构示意 图, 用来展示分布式虚拟桌面系统在具体实施的时候有可能呈现的状态。  FIG. 3 is a schematic diagram of a system architecture in a distributed virtual desktop scenario according to an embodiment of the present invention, which is used to show a state that a distributed virtual desktop system may be presented in a specific implementation.
如图 4所示, 为本发明实施例提供的另一种虚拟桌面中分布处理的方法 流程示意图, 该分布处理虚拟桌面的方法包括:  FIG. 4 is a schematic flowchart of a method for distributing processing in another virtual desktop according to an embodiment of the present disclosure, where the method for processing a virtual desktop includes:
步骤 311 :虚拟桌面管理模块接收到远端应用服务器发送的应用的显示信 息。  Step 311: The virtual desktop management module receives the display information of the application sent by the remote application server.
步骤 312: 虚拟桌面管理模块识别桌面子区域;  Step 312: The virtual desktop management module identifies the desktop sub-area;
具体的, 虚拟桌面管理模块将所述应用中的每个对象的显示区域、 应用 中的每种对象的显示区域、 应用中的对处理能力 (例如, 计算能力) 需求相 同或相近的多种对象的显示区域或者由用户或者虚拟桌面服务提供商制定的 规则决定的应用中的多种对象的显示区域识别为一个或者多个桌面子区域, 所述桌面子区域可以是一个对象的显示区域或者多个对象的显示区域的集 合, 还可以是一个对象的显示区域的部分区域。  Specifically, the virtual desktop management module displays a display area of each object in the application, a display area of each object in the application, and multiple objects in the application that have the same or similar processing capabilities (eg, computing power). The display area or the display area of the plurality of objects in the application determined by the rule defined by the user or the virtual desktop service provider is identified as one or more desktop sub-areas, and the desktop sub-area may be a display area of one object or more A collection of display areas of an object, and may also be a partial area of a display area of an object.
步骤 313:虚拟桌面管理模块为所述桌面子区域选择虚拟桌面应用处理模 块;  Step 313: The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area;
具体的, 虚拟桌面管理模块根据所述桌面子区域中的对象的类型和 /或桌 面子区域中的对象对处理能力 (例如, 计算能力) 的要求选择虚拟桌面应用 处理模块, 例如:为包含有网页文字对象的桌面子区域选择具有网页处理功能 的虚拟桌面应用处理模块; 为包含有视频对象的桌面子区域选择具有视频处 理能力的虚拟桌面应用处理模块; 为包含有游戏对象的桌面子区域选择具有 游戏处理能力的虚拟桌面应用处理模块。 另一方面, 本领域技术人员可以理 解的是, 虚拟桌面管理模块还可以根据系统负载或者随机选择虚拟桌面应用 处理模块。 Specifically, the virtual desktop management module selects a virtual desktop application processing module according to the type of the object in the desktop sub-area and/or the requirement of the processing capability (for example, computing capability) of the object in the desktop sub-area, for example, including The desktop sub-area of the webpage text object selects a virtual desktop application processing module with webpage processing function; selects a video sub-area for the desktop sub-area containing the video object The virtual desktop application processing module of the capability; selects a virtual desktop application processing module with game processing capability for the desktop sub-area including the game object. On the other hand, those skilled in the art can understand that the virtual desktop management module can also select the virtual desktop application processing module according to the system load or randomly.
其中, 所述虚拟桌面应用处理模块可以是虚拟桌面管理模块新分配的, 也可以是虚拟桌面管理模块之前分配的; 另一方面, 虚拟桌面管理模块可以 总是为桌面子区域选择新分配的虚拟桌面应用处理模块, 或, 虚拟桌面管理 模块可以总是为桌面子区域选择同一个虚拟桌面应用处理模块。  The virtual desktop application processing module may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module. On the other hand, the virtual desktop management module may always select a newly allocated virtual for the desktop sub-area. The desktop application processing module, or the virtual desktop management module can always select the same virtual desktop application processing module for the desktop sub-area.
进一步的, 虚拟桌面管理模块可以使用下列方法判断是否为桌面子区域 选择新分配虚拟桌面应用处理模块:  Further, the virtual desktop management module can use the following method to determine whether to select a newly allocated virtual desktop application processing module for the desktop sub-area:
方法一: 如果虚拟桌面管理模块没有为所述桌面子区域或者没有为所述 桌面子区域中的对象分配过虚拟桌面应用处理模块, 则虚拟桌面管理模块为 桌面子区域或桌面子区域中的对象重新分配虚拟桌面应用处理模块; 如果虚 拟桌面管理模块之前曾经为所述桌面子区域或者为所述桌面子区域中的对象 分配过虚拟桌面应用处理模块, 则选择之前为所述桌面子区域或者所述桌面 子区域中的对象分配的虚拟桌面应用处理模块; 或者  Method 1: If the virtual desktop management module does not allocate the virtual desktop application processing module for the desktop sub-area or the object in the desktop sub-area, the virtual desktop management module is an object in the desktop sub-area or the desktop sub-area. Redistributing the virtual desktop application processing module; if the virtual desktop management module has previously assigned the virtual desktop application processing module for the desktop sub-area or the object in the desktop sub-area, then selecting the desktop sub-area or the a virtual desktop application processing module that allocates objects in the desktop sub-area; or
方法二: 如果桌面子区域中的对象的类型发生变化, 则虚拟桌面管理模 块为桌面子区域或桌面子区域中的对象重新分配虚拟桌面应用处理模块, 如 果桌面子区域中的对象的类型没有变化, 则虚拟桌面管理模块选择之前为所 述桌面子区域或者为所述桌面子区域中的对象分配的虚拟桌面应用处理模 块。  Method 2: If the type of the object in the desktop sub-area changes, the virtual desktop management module re-allocates the virtual desktop application processing module for the object in the desktop sub-area or the desktop sub-area, if the type of the object in the desktop sub-area does not change. The virtual desktop management module selects a virtual desktop application processing module previously allocated for the desktop sub-area or an object in the desktop sub-area.
步骤 314:虚拟桌面管理模块从所述虚拟桌面应用处理模块获取所述桌面 子区域的像素数据;  Step 314: The virtual desktop management module acquires pixel data of the desktop sub-area from the virtual desktop application processing module.
具体的, 虚拟桌面管理模块向所选择的虚拟桌面应用处理模块发送桌面 子区域的显示信息, 虚拟桌面应用处理模块向虚拟桌面管理模块反馈桌面子 区域的像素数据。 虚拟桌面应用处理模块可以采用渲染的方式, 根据所述桌 面子区域的显示信息生成像素数据。 像素数据的生成可以采用现有技术中的 多种方式, 本发明对此并不进行限定。 步骤 315:虚拟桌面管理模块将所述桌面子区域的像素数据显示在虚拟桌 面终端上; Specifically, the virtual desktop management module sends the display information of the desktop sub-area to the selected virtual desktop application processing module, and the virtual desktop application processing module feeds back the pixel data of the desktop sub-area to the virtual desktop management module. The virtual desktop application processing module may generate the pixel data according to the display information of the desktop sub-area in a rendering manner. The generation of pixel data can be performed in the prior art. The invention is not limited in many ways. Step 315: The virtual desktop management module displays the pixel data of the desktop sub-area on the virtual desktop terminal.
具体的, 虚拟桌面管理模块向虚拟桌面终端发送桌面显示像素数据, 虚 拟桌面管理模块用桌面子区域的像素数据生成整个虚拟桌面的像素数据, 将 生成的整个虚拟桌面像素数据作为桌面显示像素数据发送给虚拟桌面终端; 或者虚拟桌面管理模块将桌面子区域的像素数据作为桌面显示像素数据发送 给虚拟桌面终端。 虚拟桌面终端将接收到的桌面显示像素数据显示在虚拟桌 面终端的屏幕上。  Specifically, the virtual desktop management module sends desktop display pixel data to the virtual desktop terminal, and the virtual desktop management module generates pixel data of the entire virtual desktop by using pixel data of the desktop sub-region, and sends the generated virtual desktop pixel data as desktop display pixel data. The virtual desktop management module sends the pixel data of the desktop sub-area as desktop display pixel data to the virtual desktop terminal. The virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
需要说明的是, 显存(即一块特殊的内存) 中可以存储整个桌面的像素 数据, 每个桌面子区域在该显存中都对应相应的地址段, 桌面管理模块把收 到的桌面子区域的像素数据写入相应的地址段, 当所有的桌面子区域的像素 数据都写入显存后, 即完成整个虚拟桌面像素数据的生成。  It should be noted that the memory (ie, a special memory) can store the pixel data of the entire desktop, and each desktop sub-area corresponds to the corresponding address segment in the video memory, and the desktop management module receives the pixels of the desktop sub-area. The data is written into the corresponding address segment. When all the pixel data of the desktop sub-area is written into the video memory, the entire virtual desktop pixel data is generated.
更进一步的, 本发明实施例对所示方法中各模块的功能进行说明如下: 虚拟桌面管理模块的功能为:  Further, the embodiments of the present invention describe the functions of each module in the method as follows: The functions of the virtual desktop management module are:
1 )接收到远端应用服务器发送的应用的显示信息;  1) receiving display information of an application sent by the remote application server;
2 )接收虚拟终端发送的输入操作;  2) receiving an input operation sent by the virtual terminal;
3 )识别桌面子区域;  3) Identify the desktop sub-area;
4 )为所述桌面子区域选择虚拟桌面应用处理模块;  4) selecting a virtual desktop application processing module for the desktop sub-area;
5 )从所述虚拟桌面应用处理模块获取所述桌面子区域的像素数据, 具体 为:  5) acquiring pixel data of the desktop sub-area from the virtual desktop application processing module, specifically:
A ) 向所选择的虚拟桌面应用处理模块发送桌面子区域的显示信息; A) transmitting display information of the desktop sub-area to the selected virtual desktop application processing module;
B )接收虚拟桌面应用处理模块向虚拟桌面管理模块反馈桌面子区域的像 素数据。 B) The receiving virtual desktop application processing module feeds back the pixel data of the desktop sub-area to the virtual desktop management module.
6 )将所述桌面子区域的像素数据显示在虚拟桌面终端上, 具体为: 向虚 拟桌面终端发送桌面显示像素数据, 虚拟桌面管理模块用桌面子区域的像素 数据生成整个虚拟桌面的像素数据, 将生成的整个虚拟桌面像素数据作为桌 面显示像素数据发送给虚拟桌面终端; 或者虚拟桌面管理模块将桌面子区域 的像素数据作为桌面显示像素数据发送给虚拟桌面终端。 6) displaying the pixel data of the desktop sub-area on the virtual desktop terminal, specifically: sending desktop display pixel data to the virtual desktop terminal, and the virtual desktop management module uses the pixels of the desktop sub-area The data generates pixel data of the entire virtual desktop, and the generated virtual desktop pixel data is sent to the virtual desktop terminal as desktop display pixel data; or the virtual desktop management module sends the pixel data of the desktop sub-region as the desktop display pixel data to the virtual desktop terminal. .
虚拟桌面应用处理模块的功能为:  The functions of the virtual desktop application processing module are:
1 )接收虚拟桌面管理模块发送的桌面子区域的显示信息;  1) receiving display information of a desktop sub-area sent by the virtual desktop management module;
2 ) 向虚拟桌面管理模块发送桌面子区域的像素数据。  2) Send the pixel data of the desktop sub-area to the virtual desktop management module.
虚拟桌面终端的功能为: 将虚拟桌面管理模块发送的桌面显示像素数据 显示在虚拟桌面终端的屏幕上。  The function of the virtual desktop terminal is: Display the desktop display pixel data sent by the virtual desktop management module on the screen of the virtual desktop terminal.
需要说明的是, 本发明实施例对上述模块功能的说明仅是对方案的侧面 的解释, 并不意味着本发明实施例中的模块必然执行上述的某些或全部功能, 相反的, 部分功能是可选的。  It should be noted that the description of the function of the above module in the embodiment of the present invention is only an explanation of the side of the solution, and does not mean that the module in the embodiment of the present invention necessarily performs some or all of the above functions, and vice versa. Is optional.
如图 5 所示, 为本发明实施例提供的一种分布刷新虚拟桌面的方法流程 示意图, 该分布刷新虚拟桌面的方法包括:  FIG. 5 is a schematic flowchart of a method for distributing and refreshing a virtual desktop according to an embodiment of the present disclosure, where the method for refreshing a virtual desktop includes:
步骤 321 : 虚拟桌面管理模块收到虚拟终端发送的输入事件, 或者收到远 端应用服务器发送的应用的显示信息。  Step 321: The virtual desktop management module receives an input event sent by the virtual terminal, or receives display information of the application sent by the remote application server.
步骤 322: 虚拟桌面管理模块识别需要刷新的桌面子区域, 具体的, 虚拟 桌面管理模块将改变的应用窗口中的一个或者多个桌面子区域识别为需要刷 新的桌面子区域,或者将一个或者多个受影响的应用窗口中的一个或者多个桌 面子区域识别为需要刷新的桌面子区域。  Step 322: The virtual desktop management module identifies the desktop sub-area that needs to be refreshed. Specifically, the virtual desktop management module identifies one or more desktop sub-areas in the changed application window as the desktop sub-area that needs to be refreshed, or one or more One or more desktop sub-areas in the affected application window are identified as desktop sub-areas that need to be refreshed.
需要说明的是, 当虚拟桌面管理模块接收到虚拟终端发送的输入事件时, 根据输入事件打开对应的应用, 从而造成虚拟桌面显示内容的改变; 或者, 直接接收到远端应用服务器发送的应用的显示信息, 引起虚拟桌面显示内容 的改变。  It should be noted that, when the virtual desktop management module receives the input event sent by the virtual terminal, the corresponding application is opened according to the input event, thereby causing the virtual desktop to display the content change; or directly receiving the application sent by the remote application server. Display information, causing changes in the content displayed by the virtual desktop.
步骤 323:虚拟桌面管理模块从为所述需要刷新的桌面子区域分配的虚拟 桌面应用处理模块获取需要刷新的桌面子区域的像素数据, 方法为: 虚拟桌 面管理模块向分配给需要刷新的桌面子区域的虚拟桌面应用处理模块发送桌 面子区域的刷新请求; 虚拟桌面应用处理模块向虚拟桌面管理模块反馈需要 刷新的桌面子区域的像素数据。 Step 323: The virtual desktop management module acquires pixel data of the desktop sub-area that needs to be refreshed from the virtual desktop application processing module allocated for the desktop sub-area that needs to be refreshed, by: the virtual desktop management module assigning to the desktop sub-sub-task that needs to be refreshed. The virtual desktop application processing module of the area sends a refresh request of the desktop sub-area; the virtual desktop application processing module feeds back to the virtual desktop management module The pixel data of the refreshed desktop sub-area.
步骤 324:虚拟桌面管理模块将所述需要刷新的桌面子区域的像素数据显 示在虚拟桌面终端上, 方法为: 虚拟桌面管理模块向虚拟桌面终端发送桌面 显示像素数据。 虚拟桌面管理模块用需要刷新的桌面子区域的像素数据生成 整个虚拟桌面的像素数据, 将生成的整个虚拟桌面像素数据作为桌面显示像 素数据发送给虚拟桌面终端; 或者虚拟桌面管理模块将需要刷新的桌面子区 域的像素数据作为桌面显示像素数据发送给虚拟桌面终端。 虚拟桌面终端将 接收到的桌面显示像素数据显示在虚拟桌面终端的屏幕上。  Step 324: The virtual desktop management module displays the pixel data of the desktop sub-region that needs to be refreshed on the virtual desktop terminal by: the virtual desktop management module sending the desktop display pixel data to the virtual desktop terminal. The virtual desktop management module generates pixel data of the entire virtual desktop by using pixel data of the desktop sub-region that needs to be refreshed, and sends the generated virtual desktop pixel data as desktop display pixel data to the virtual desktop terminal; or the virtual desktop management module needs to be refreshed. The pixel data of the desktop sub-area is sent to the virtual desktop terminal as desktop display pixel data. The virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
说明: 如果虚拟桌面管理模块中存储了需要刷新的桌面子区域的像素数 据, 则步骤 323可以省略。  Explanation: If the pixel data of the desktop sub-area to be refreshed is stored in the virtual desktop management module, step 323 may be omitted.
步骤 321至步骤 324所示方法中各模块的功能说明如下:  The functions of each module in the method shown in step 321 to step 324 are as follows:
虚拟桌面管理模块的功能为:  The functions of the virtual desktop management module are:
1 )接收到远端应用服务器发送的应用的显示信息;  1) receiving display information of an application sent by the remote application server;
2 )接收虚拟终端发送的输入操作;  2) receiving an input operation sent by the virtual terminal;
3 )识别需要刷新的桌面子区域;  3) Identify the desktop sub-area that needs to be refreshed;
4 )从为所述需要刷新的桌面子区域分配的虚拟桌面应用处理模块获取需 要刷新的桌面子区域的像素数据, 具体为:  4) Obtain pixel data of the desktop sub-area that needs to be refreshed from the virtual desktop application processing module allocated for the desktop sub-area that needs to be refreshed, specifically:
A )向分配给需要刷新的桌面子区域的虚拟桌面应用处理模块发送桌面子 区域的刷新请求;  A) sending a refresh request of the desktop sub-area to the virtual desktop application processing module allocated to the desktop sub-area that needs to be refreshed;
B )接收虚拟桌面应用处理模块向虚拟桌面管理模块反馈桌面子区域的像 素数据。  B) The receiving virtual desktop application processing module feeds back the pixel data of the desktop sub-area to the virtual desktop management module.
6 )将所述桌面子区域的像素数据显示在虚拟桌面终端上, 具体为: 向虚 拟桌面终端发送桌面显示像素数据, 虚拟桌面管理模块用需要刷新的桌面子 区域的像素数据生成整个虚拟桌面的像素数据, 将生成的整个虚拟桌面像素 数据作为桌面显示像素数据发送给虚拟桌面终端; 或者虚拟桌面管理模块将 需要刷新的桌面子区域的像素数据作为桌面显示像素数据发送给虚拟桌面终 端。 虚拟桌面应用处理模块的功能为: 6) displaying the pixel data of the desktop sub-area on the virtual desktop terminal, specifically: sending desktop display pixel data to the virtual desktop terminal, and the virtual desktop management module generates the entire virtual desktop by using pixel data of the desktop sub-area to be refreshed. The pixel data is sent to the virtual desktop terminal as the desktop display pixel data, or the virtual desktop management module sends the pixel data of the desktop sub-region that needs to be refreshed as the desktop display pixel data to the virtual desktop terminal. The functions of the virtual desktop application processing module are:
1 )接收虚拟桌面管理模块发送的桌面子区域的刷新请求;  1) receiving a refresh request of a desktop sub-area sent by the virtual desktop management module;
2 ) 向虚拟桌面管理模块发送桌面子区域的像素数据。  2) Send the pixel data of the desktop sub-area to the virtual desktop management module.
虚拟桌面终端的功能为: 将虚拟桌面管理模块发送的桌面显示像素数据 显示在虚拟桌面终端的屏幕上。  The function of the virtual desktop terminal is: Display the desktop display pixel data sent by the virtual desktop management module on the screen of the virtual desktop terminal.
从而可以针对不同应用或者同一应用的不同对象按照不同的桌面子区域 分配虚拟桌面应用处理模块, 避免了由于不同应用对计算能力的差异引起的 计算能力资源的浪费。 进一步的, 本发明实施例可以识别桌面子区域中不同 的应用、 对象, 针对不同的应用、 对象或对计算能力具备相似需求的应用或 对象分配虚拟桌面应用处理模块, 从而能够识别虚拟桌面各个区域的内容和 对象, 根据内容和对象的分配相应的应用处理能力进行处理, 使得对计算资 源的使用更加合理、 有效。  Therefore, the virtual desktop application processing module can be allocated according to different applications or different objects of the same application according to different desktop sub-areas, thereby avoiding waste of computing power resources caused by differences in computing power between different applications. Further, the embodiment of the present invention can identify different applications and objects in the desktop sub-area, and allocate virtual desktop application processing modules for different applications, objects, or applications or objects having similar requirements for computing power, thereby being able to identify various areas of the virtual desktop. The content and objects are processed according to the application processing capabilities of the content and the object allocation, making the use of computing resources more reasonable and effective.
如图 6所示, 为本发明实施例提供的另一种虚拟桌面中分布处理的消息 流程示意图, 图 6对应的实施例的前提条件包括: 用户通过虚拟桌面终端访 问虚拟桌面。 用户在虚拟桌面终端中进行了一个桌面操作, 例如: 鼠标双击 虚拟桌面上的网络游戏图标或者按下快捷键打开虚拟桌面上的网络游戏图标 等等。、  FIG. 6 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention. The preconditions of the embodiment corresponding to FIG. 6 include: a user accessing a virtual desktop through a virtual desktop terminal. The user performs a desktop operation in the virtual desktop terminal, for example: Double-clicking the online game icon on the virtual desktop or pressing the shortcut key to open the online game icon on the virtual desktop and so on. ,
所述虚拟桌面中分布处理的方法包括:  The method for distributing processing in the virtual desktop includes:
步骤 401 : 虚拟桌面终端向虚拟桌面管理模块发送输入事件。  Step 401: The virtual desktop terminal sends an input event to the virtual desktop management module.
步骤 402: 虚拟桌面管理模块选择虚拟桌面应用处理模块, 方法如下: 虚拟桌面管理模块解析所述输入事件, 根据所述输入事件携带的位置信 息确定所述输入事件对应的应用或者输入事件对应的对象;  Step 402: The virtual desktop management module selects a virtual desktop application processing module, and the method is as follows: the virtual desktop management module parses the input event, and determines an application corresponding to the input event or an object corresponding to the input event according to the location information carried by the input event. ;
虚拟桌面管理模块选择虚拟桌面应用处理模块处理所述输入事件, 具体 的: 虚拟桌面管理模块为每个应用或者每类应用配置缺省的虚拟桌面应用处 理模块, 虚拟桌面管理模块根据所述应用的属性和\或系统负载为所述应用分 配缺省配置的虚拟桌面应用处理模块; 或者, 虚拟桌面管理模块为所述应用 随机分配虚拟桌面应用处理模块。 例如: 用户通过鼠标或者操作杆点击打开虚拟桌面中的一个某游戏图标, 输入事件是鼠标或操纵杆的点击事件, 虚拟桌面管理模块根据点击发生的坐 标确定点击发生的区域, 在应用区域对照表中查找到点击事件对应的应用是 某游戏图标, 虚拟桌面管理模块为所述某游戏图标配置了缺省的虚拟桌面应 用处理模块 -1, 因此虚拟桌面管理模块选择虚拟桌面应用处理模块 -1 处理所 述点击事件; The virtual desktop management module selects the virtual desktop application processing module to process the input event, specifically: the virtual desktop management module configures a default virtual desktop application processing module for each application or each type of application, and the virtual desktop management module is configured according to the application. The attribute and \ or system load allocates a virtual desktop application processing module of the default configuration to the application; or, the virtual desktop management module randomly allocates a virtual desktop application processing module for the application. For example: The user clicks on the mouse or the joystick to open a certain game icon in the virtual desktop, and the input event is a click event of the mouse or the joystick, and the virtual desktop management module determines the area where the click occurs according to the coordinates of the click, in the application area comparison table. The application corresponding to the click event is a game icon, and the virtual desktop management module configures the default virtual desktop application processing module-1 for the game icon, so the virtual desktop management module selects the virtual desktop application processing module-1 to process The click event;
其中, 所述虚拟桌面应用处理模块 -1可以是虚拟桌面管理模块新分配的, 也可以是虚拟桌面管理模块之前分配的; 虚拟桌面管理模块可以总是选择新 分配的虚拟桌面应用处理模块处理所述输入事件; 虚拟桌面管理模块可以总 是选择同一个虚拟桌面应用处理模块处理所述输入事件; 虚拟桌面管理模块 还可以使用下列方法判断是否选择新分配虚拟桌面应用处理模块: 如果虚拟 桌面管理模块没有为所述输入事件对应的应用或者所述输入事件对应的对象 分配过虚拟桌面应用处理模块, 则虚拟桌面管理模块新分配虚拟桌面应用处 理模块处理所述输入事件; 如果虚拟桌面管理模块之前曾经为所述输入事件 对应的应用或者所述输入事件对应的对象分配过虚拟桌面应用处理模块, 则 选择之前为所述输入事件对应的应用或者所述输入事件对应的对象分配的虚 拟桌面应用处理模块处理所述输入事件。  The virtual desktop application processing module-1 may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module; the virtual desktop management module may always select the newly allocated virtual desktop application processing module processing node. The input event; the virtual desktop management module can always select the same virtual desktop application processing module to process the input event; the virtual desktop management module can also determine whether to select the newly assigned virtual desktop application processing module using the following method: If the virtual desktop management module If the virtual desktop application processing module is not allocated to the application corresponding to the input event or the object corresponding to the input event, the virtual desktop management module newly allocates the virtual desktop application processing module to process the input event; if the virtual desktop management module has previously Assigning a virtual desktop application processing module to the application corresponding to the input event or the object corresponding to the input event, and then selecting an application corresponding to the input event or an object corresponding to the input event Virtual desktop application processing module processes the input event.
步骤 403:虚拟桌面管理模块向选择的虚拟桌面应用处理模块 -1发送操作 信息, 所述操作信息中包含输入事件中的全部或者部分信息, 还可以包含输 入事件对应的应用的信息, 还可以包含输入事件对应的对象的信息:  Step 403: The virtual desktop management module sends operation information to the selected virtual desktop application processing module-1, where the operation information includes all or part of the information in the input event, and may also include information about the application corresponding to the input event, and may also include Enter the information of the object corresponding to the event:
步骤 404: 虚拟桌面应用处理模块 -1向虚拟桌面管理模块发送应用请求。 例如:  Step 404: The virtual desktop application processing module -1 sends an application request to the virtual desktop management module. E.g:
1 ) 当桌面操作事件为双击网络游戏图标, 虚拟桌面应用处理模块向虚拟 桌面管理模块发送建立网络游戏链接的应用请求, 其中至少包括下列信息中 的一个:  1) When the desktop operation event is double-clicking the network game icon, the virtual desktop application processing module sends an application request for establishing a network game link to the virtual desktop management module, which includes at least one of the following information:
a ) 网络游戏服务器地址;  a) network game server address;
b )建立网络链接的请求信息; C )请求的源地址等。 b) establishing request information for the network link; C) The source address of the request, etc.
步骤 405: 虚拟桌面管理模块将所述应用请求转发给远端应用服务器。 如图 7所示, 为本发明实施例提供的虚拟桌面中只打开应用 -1 窗口, 并 且应用 -1窗口中含有一种内容对象的桌面状态示意图。  Step 405: The virtual desktop management module forwards the application request to the remote application server. As shown in FIG. 7 , in the virtual desktop provided by the embodiment of the present invention, only the application -1 window is opened, and the application -1 window has a desktop state diagram of a content object.
如图 8所示, 为本发明实施例提供的另一种虚拟桌面中分布处理的消息 流程示意图, 该方法对应于图 7所示的桌面状态, 该方法前提条件包括: FIG. 8 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention. The method corresponds to the desktop state shown in FIG. 7. The preconditions of the method include:
1 )用户通过虚拟桌面终端 -1在虚拟桌面中双击应用 -1的图标; 1) The user double-clicks the icon of the application -1 in the virtual desktop through the virtual desktop terminal -1;
2 )用户在虚拟桌面中只打开了应用 -1窗口;  2) The user only opens the application -1 window in the virtual desktop;
3 )远端应用服务器 -1为所述应用 -1提供服务以及内容;  3) The remote application server -1 provides services and content for the application -1;
4 )并且应用 -1中只含有对象 -1, 例如: 网络游戏。  4) and application -1 contains only object -1, for example: online games.
此时, 虚拟桌面的状态即为图 7所示。  At this point, the status of the virtual desktop is as shown in Figure 7.
图 8对应的虚拟桌面中分布处理的消息流程包括:  The message flow of distributed processing in the virtual desktop corresponding to FIG. 8 includes:
步骤 501 : 远端应用服务器 -1向虚拟桌面管理模块发送应用的显示信息。 例如: 网络游戏网站发送网络游戏开始界面的显示信息。 由于应用 -1 中只包 含对象 -1, 因此应用的显示信息至少包括下列信息中的一种:  Step 501: The remote application server -1 sends the display information of the application to the virtual desktop management module. For example: The online game website sends the display information of the online game start interface. Since the application -1 contains only object -1, the application's display information includes at least one of the following information:
1 )应用 -1的显示区域信息;  1) Application area information of -1;
2 )对象的类别, 即对象 -1的类别;  2) the category of the object, ie the category of the object -1;
3 )对象的显示区域信息, 即对象 -1的显示区域信息;  3) display area information of the object, that is, display area information of the object -1;
4 )对象的内容, 即对象 -1的内容。  4) The content of the object, that is, the content of the object -1.
步骤 502: 虚拟桌面管理模块选择虚拟桌面应用处理模块。在本发明实施 例中, 应用 -1 中只含有对象 -1, 虚拟桌面管理模块将应用 -1 窗口的区域识别 为桌面子区域 -1, 桌面子区域 -1等于应用 -1 窗口的区域, 桌面子区域 -1只含 有对象 -1, 虚拟桌面管理模块根据所述对象 -1 的类型或者对象 -1 对计算能力 要求为所述桌面子区域 -1 选择虚拟桌面应用处理模块 -1, 另一方面, 虚拟桌 面管理模块也可以根据系统负载或者随机选择虚拟桌面应用处理模块。  Step 502: The virtual desktop management module selects a virtual desktop application processing module. In the embodiment of the present invention, the application-1 only contains the object-1, and the virtual desktop management module identifies the area of the application-1 window as the desktop sub-area-1, and the desktop sub-area-1 is equal to the area of the application-1 window, the desktop The sub-area-1 only contains the object-1, and the virtual desktop management module selects the virtual desktop application processing module-1 for the desktop sub-area-1 according to the type of the object-1 or the object-1 to the computing capability requirement. The virtual desktop management module can also select the virtual desktop application processing module according to the system load or randomly.
所述虚拟桌面应用处理模块 -1 可以是虚拟桌面管理模块新分配的, 也可 以是虚拟桌面管理模块之前分配的。 502-1 : 虚拟桌面管理模块可以总是为桌面子区域 -1新分配虚拟桌面应用 处理模块。 The virtual desktop application processing module-1 may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module. 502-1: The Virtual Desktop Management Module can always assign a new Virtual Desktop Application Processing Module to Desktop Sub-Region-1.
502-2: 虚拟桌面管理模块可以总是为桌面子区域 -1选择同一个虚拟桌面 应用处理模块。  502-2: The virtual desktop management module can always select the same virtual desktop application processing module for desktop sub-area -1.
502-3: 虚拟桌面管理模块还可以使用下列方法判断是否为桌面子区域- 1 选择新分配虚拟桌面应用处理模块:  502-3: The virtual desktop management module can also use the following methods to determine whether it is a desktop sub-area - 1 Select the newly assigned virtual desktop application processing module:
方法一: 如果虚拟桌面管理模块之前没有为所述桌面子区域 -1 或者所述 对象 -1 分配过虚拟桌面应用处理模块, 则虚拟桌面管理模块新分配虚拟桌面 应用处理模块作为虚拟桌面应用处理模块 -1 ;如果虚拟桌面管理模块之前曾经 为所述桌面子区域 -1或者所述对象 -1分配过虚拟桌面应用处理模块, 则虚拟 桌面管理模块选择之前为所述桌面子区域 -1或者所述对象 -1分配的虚拟桌面 应用处理模块作为虚拟桌面应用处理模块- 1;  Method 1: If the virtual desktop management module has not previously allocated the virtual desktop application processing module for the desktop sub-area-1 or the object-1, the virtual desktop management module newly allocates the virtual desktop application processing module as the virtual desktop application processing module. -1; if the virtual desktop management module has previously assigned the virtual desktop application processing module for the desktop sub-area-1 or the object-1, the virtual desktop management module selects the desktop sub-area-1 or the The virtual desktop application processing module allocated by the object-1 as a virtual desktop application processing module - 1;
方法二: 如果对象 -1 的类别发生变化, 则虚拟桌面管理模块新分配虚拟 桌面应用处理模块作为虚拟桌面应用处理模块 -1, 如果对象 -1 的类别没有变 化, 则虚拟桌面管理模块选择之前为所述桌面子区域 -1或者所述对象 -1分配 的虚拟桌面应用处理模块作为虚拟桌面应用处理模块 -1。  Method 2: If the category of the object-1 changes, the virtual desktop management module newly allocates the virtual desktop application processing module as the virtual desktop application processing module-1. If the category of the object-1 does not change, the virtual desktop management module selects before The desktop sub-area-1 or the virtual desktop application processing module allocated by the object-1 is used as the virtual desktop application processing module-1.
步骤 503:虚拟桌面管理模块向虚拟桌面应用处理模块 -1发送桌面子区域 -1的显示信息。 所述桌面区域 -1的显示信息至少包括下列信息中的一种: Step 503: The virtual desktop management module sends the display information of the desktop sub-area -1 to the virtual desktop application processing module -1. The display information of the desktop area -1 includes at least one of the following information:
1 )对象的类别, 即对象 -1的类别; 1) the category of the object, ie the category of object -1;
2 )对象的显示区域信息, 即对象 -1的显示区域信息;  2) display area information of the object, that is, display area information of the object -1;
3 )对象的内容, 即对象 -1的内容。  3) The content of the object, that is, the content of the object -1.
步骤 504: 虚拟桌面应用处理模块向虚拟桌面管理模块反馈桌面子区域 -1 的像素数据。 虚拟桌面应用处理模块根据桌面子区域 -1 显示信息生成桌面子 区域 -1 的像素数据, 并且将生成的桌面子区域 -1 的像素数据反馈给虚拟桌面 管理模块。  Step 504: The virtual desktop application processing module feeds back the pixel data of the desktop sub-area -1 to the virtual desktop management module. The virtual desktop application processing module generates pixel data of the desktop sub-area -1 according to the desktop sub-area -1 display information, and feeds back the generated pixel data of the desktop sub-area -1 to the virtual desktop management module.
步骤 505: 虚拟桌面管理模块向虚拟桌面终端发送桌面显示像素数据。虚 拟桌面管理模块可以用桌面子区域 -1 像素数据生成整个虚拟桌面的像素数 据, 将生成的整个虚拟桌面的像素数据作为桌面显示像素数据发送给虚拟桌 面终端; 或者虚拟桌面管理模块将桌面子区域 -1 的像素数据作为桌面显示像 素数据发送给虚拟桌面终端。 虚拟桌面终端将接收到的桌面显示像素数据显 示在虚拟桌面终端的屏幕上。 Step 505: The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal. The virtual desktop management module can generate the number of pixels of the entire virtual desktop using the desktop sub-area-1 pixel data. According to the method, the generated pixel data of the entire virtual desktop is sent to the virtual desktop terminal as desktop display pixel data; or the virtual desktop management module sends the pixel data of the desktop sub-area-1 as the desktop display pixel data to the virtual desktop terminal. The virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
如图 9所示, 为本发明实施例提供的虚拟桌面中只打开应用 -1 窗口, 并 且应用 -1窗口中含有两种内容对象的的桌面状态示意图; 如图 9所示, 为 本 发明实施例提供的另一种虚拟桌面中分布处理的消息流程示意图, 该消息流 程的前提条件为:  As shown in FIG. 9 , a schematic diagram of a desktop state in which only an application-1 window is opened in the virtual desktop and the application-1 window contains two content objects is provided in the virtual desktop. As shown in FIG. 9 , the present invention is implemented. A schematic diagram of a message flow process for distributed processing in another virtual desktop provided by the example. The prerequisites of the message flow are:
1 )用户通过虚拟桌面终端 -1在虚拟桌面中双击应用 -1的图标;  1) The user double-clicks the icon of the application -1 in the virtual desktop through the virtual desktop terminal -1;
2 )用户在虚拟桌面中只打开了应用 -1窗口;  2) The user only opens the application -1 window in the virtual desktop;
3 )所述应用 -1窗口中的内容来自远端应用服务器 -1 ;  3) the content in the application -1 window is from the remote application server -1;
4 )并且应用 -1窗口中含有对象 -1和对象 -2, 例如: 对象 -1是文本, 对象 -2是视频。  4) and application -1 window contains object -1 and object -2, for example: object -1 is text, object -2 is video.
此时, 虚拟桌面的状态即为图 9所示:  At this point, the status of the virtual desktop is as shown in Figure 9:
本发明实施例提供的消息流程包括:  The message flow provided by the embodiment of the present invention includes:
步骤 601 : 远端应用服务器 -1向虚拟桌面管理模块发送应用的显示信息, 由于应用 -1中包含对象 -1和对象 -2, 所述应用的显示信息包含如下信息: 1 )应用 -1的显示区域信息;  Step 601: The remote application server-1 sends the display information of the application to the virtual desktop management module. Since the application-1 includes the object-1 and the object-2, the display information of the application includes the following information: 1) Application-1 Display area information;
2 )对象的类别, 即对象 -1的类别和对象 -2的类别;  2) the category of the object, ie the category of object -1 and the category of object -2;
3 )对象的显示区域信息, 即对象 -1的显示区域信息和对象 -2的显示区域 信息;  3) display area information of the object, that is, display area information of the object -1 and display area information of the object -2;
4 )对象的内容, 即对象 -1的内容和对象 -2的内容。  4) The content of the object, that is, the content of the object -1 and the content of the object -2.
步骤 602: 虚拟桌面管理模块为桌面子区域选择虚拟桌面应用处理模块, 方法为:  Step 602: The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area by:
602-1 : 首先, 虚拟桌面管理模块识别桌面子区域, 具体的: 虚拟桌面管 理模块将下述中的至少一种识别为一个或者多个桌面子区域:  602-1: First, the virtual desktop management module identifies the desktop sub-area. Specifically: the virtual desktop management module identifies at least one of the following as one or more desktop sub-areas:
将应用中的每个对象的显示区域; 应用中的每种对象的显示区域; The display area of each object in the application; The display area of each object in the application;
应用中的对计算能力要求相近的多种对象的显示区域; 或者,  The display area of multiple objects in the application that have similar computing power requirements; or,
由用户或者虚拟桌面服务提供商制定的规则决定的应用中的多种对象的 显示区域。  A display area of a plurality of objects in an application determined by rules defined by a user or a virtual desktop service provider.
所述桌面子区域可以是一个对象的显示区域或者多个对象的显示区域的 集合, 还可以是一个对象的显示区域的部分区域。 本实施例中虚拟桌面管理 模块将对象 -1 的显示区域识别为桌面子区域 -1, 将对象 -2 的显示区域识别为 桌面子区域 -2。  The desktop sub-area may be a display area of one object or a display area of a plurality of objects, or may be a partial area of a display area of one object. In this embodiment, the virtual desktop management module recognizes the display area of the object -1 as the desktop sub-area -1 and the display area of the object -2 as the desktop sub-area -2.
602-2: 虚拟桌面管理模块为所述桌面子区域选择虚拟桌面应用处理模块, 具体的: 虚拟桌面管理模块根据所述桌面子区域中的对象的类型、 桌面子区 域中的对象对计算能力的要求、 系统负载或者随机选择虚拟桌面应用处理模 块, 例如: 为网页文字桌面子区域选择具有网页处理功能的虚拟桌面应用处 理模块, 为视频桌面子区域选择具有视频处理能力的虚拟桌面应用处理模块, 为游戏桌面子区域选择具有游戏处理能力的虚拟桌面应用处理模块。 本实施 例中可以根据对象的类型选择虚拟桌面应用处理模块: 虚拟桌面管理模块为 桌面子区域 -1 选择具有文本处理能力的虚拟桌面应用处理模块 -1, 为桌面子 区域 -2选择具有视频处理能力的虚拟桌面应用处理模块 -2。  602-2: The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area, where: the virtual desktop management module calculates the computing capability according to the type of the object in the desktop sub-area and the object-to-desk sub-area Requirements, system load, or random selection of virtual desktop application processing modules, for example: selecting a virtual desktop application processing module with webpage processing function for the webpage text desktop sub-area, and selecting a virtual desktop application processing module with video processing capability for the video desktop sub-area, Select a virtual desktop application processing module with game processing capabilities for the game desktop sub-area. In this embodiment, the virtual desktop application processing module may be selected according to the type of the object: the virtual desktop management module selects the virtual desktop application processing module-1 with text processing capability for the desktop sub-region-1, and selects video processing for the desktop sub-region-2. Capable Virtual Desktop Application Processing Module-2.
其中, 所述虚拟桌面应用处理模块可以是虚拟桌面管理模块新分配的, 也可以是虚拟桌面管理模块之前分配的; 虚拟桌面管理模块可以总是为桌面 子区域选择新分配的虚拟桌面应用处理模块; 虚拟桌面管理模块可以总是为 桌面子区域选择同一个虚拟桌面应用处理模块。  The virtual desktop application processing module may be newly allocated by the virtual desktop management module or may be previously allocated by the virtual desktop management module; the virtual desktop management module may always select a newly allocated virtual desktop application processing module for the desktop sub-area. The virtual desktop management module can always select the same virtual desktop application processing module for the desktop sub-area.
进一步的, 虚拟桌面管理模块可以使用下列方法判断是否为桌面子区域 重新选择虚拟桌面应用处理模块:  Further, the virtual desktop management module can use the following methods to determine whether to reselect the virtual desktop application processing module for the desktop sub-area:
如果虚拟桌面管理模块没有为所述桌面子区域或者所述桌面子区域中的 对象分配过虚拟桌面应用处理模块, 则虚拟桌面管理模块新分配虚拟桌面应 用处理模块; 如果虚拟桌面管理模块之前曾经为所述桌面子区域或者所述桌 面子区域中的对象分配过虚拟桌面应用处理模块, 则选择之前为所述桌面子 区域或者所述桌面子区域中的对象分配的虚拟桌面应用处理模块; 或者 如果桌面子区域中的对象的类型发生变化, 则虚拟桌面管理模块新分配 虚拟桌面应用处理模块, 如果桌面子区域中的对象的类型没有变化, 则虚拟 桌面管理模块选择之前为所述桌面子区域或者所述桌面子区域中的对象分配 的虚拟桌面应用处理模块。 If the virtual desktop management module does not allocate a virtual desktop application processing module for the desktop sub-area or the object in the desktop sub-area, the virtual desktop management module newly allocates the virtual desktop application processing module; if the virtual desktop management module has been previously The desktop sub-area or the object in the desktop sub-area is assigned a virtual desktop application processing module, and then the previous desktop is selected. a virtual desktop application processing module allocated by an object in the area or the desktop sub-area; or if the type of the object in the desktop sub-area changes, the virtual desktop management module newly allocates a virtual desktop application processing module, if in the desktop sub-area The type of the object does not change, and the virtual desktop management module selects a virtual desktop application processing module previously allocated for the desktop sub-area or an object in the desktop sub-area.
步骤 603:虚拟桌面管理模块向虚拟桌面应用处理模块 -1发送桌面子区域 -1的显示信息。 所述桌面子区域 -1的显示信息至少包括下列信息中的一种: 1 )对象的类别, 即对象 -1的类别;  Step 603: The virtual desktop management module sends the display information of the desktop sub-area -1 to the virtual desktop application processing module -1. The display information of the desktop sub-area -1 includes at least one of the following information: 1) the category of the object, that is, the category of the object -1;
2 )对象的显示区域信息, 即对象 -1的显示区域信息;  2) display area information of the object, that is, display area information of the object -1;
3 )对象的内容, 即对象 -1的内容。  3) The content of the object, that is, the content of the object -1.
步骤 604:虚拟桌面应用处理模块 -1向虚拟桌面管理模块反馈桌面子区域 -1的像素数据。  Step 604: The virtual desktop application processing module -1 feeds back the pixel data of the desktop sub-area -1 to the virtual desktop management module.
步骤 605:虚拟桌面管理模块向虚拟桌面应用处理模块 -2发送桌面子区域 -2的显示信息。 所述桌面子区域 -2的显示信息至少包括下列信息中的一种: 1 )对象的类别, 即对象 -2的类别;  Step 605: The virtual desktop management module sends the display information of the desktop sub-area -2 to the virtual desktop application processing module -2. The display information of the desktop sub-area-2 includes at least one of the following information: 1) the category of the object, that is, the category of the object-2;
2 )对象的显示区域信息, 即对象 -2的显示区域信息;  2) display area information of the object, that is, display area information of the object -2;
3 )对象的内容, 即对象 -2的内容。  3) The content of the object, that is, the content of the object -2.
步骤 606:虚拟桌面应用处理模块 -2向虚拟桌面管理模块反馈桌面子区域 -2的像素数据。  Step 606: The virtual desktop application processing module -2 feeds back the pixel data of the desktop sub-area -2 to the virtual desktop management module.
步骤 607: 虚拟桌面管理模块向虚拟桌面终端发送桌面显示像素数据。虚 拟桌面管理模块可以用桌面子区域 -1 的像素数据以及桌面子区域 -2的像素数 据生成整个虚拟桌面的像素数据, 将生成的整个虚拟桌面像素数据作为桌面 显示像素数据发送给虚拟桌面终端; 或者虚拟桌面管理模块将桌面子区域 - 1 的像素数据和桌面子区域 -2 的像素数据作为桌面显示像素数据发送给虚拟桌 面终端。 虚拟桌面终端将接收到的桌面显示像素数据显示在虚拟桌面终端的 屏幕上。  Step 607: The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal. The virtual desktop management module may generate pixel data of the entire virtual desktop by using pixel data of the desktop sub-area-1 and pixel data of the desktop sub-area-2, and send the generated virtual desktop pixel data as desktop display pixel data to the virtual desktop terminal; Or the virtual desktop management module sends the pixel data of the desktop sub-area-1 and the pixel data of the desktop sub-area-2 as desktop display pixel data to the virtual desktop terminal. The virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
需要说明的是:步骤 603〜步骤 604和步骤 605〜步骤 606的先后顺序不限; 本实施例同样适用应用窗口中包含 2种以上内容对象的情况。 It should be noted that the order of steps 603 to 604 and steps 605 to 606 is not limited; This embodiment is also applicable to the case where two or more types of content objects are included in the application window.
如图 11所示, 为本发明实施例提供的虚拟桌面中打开应用 -1窗口和应用 As shown in FIG. 11, the application-1 window and application are opened in the virtual desktop provided by the embodiment of the present invention.
-3窗口的桌面状态示意图。 如图 12所示, 为本发明实施例提供的另一种虚拟 桌面中分布处理的消息流程示意图, 该消息流程的前提条件为: -3 window diagram of the desktop state. FIG. 12 is a schematic diagram of a message flow of distributed processing in another virtual desktop according to an embodiment of the present invention. The preconditions of the message flow are:
1 )用户在虚拟桌面中打开了应用 -1窗口和应用 -3窗口;  1) The user opens the application -1 window and the application -3 window in the virtual desktop;
2 )用户在虚拟桌面中通过桌面操作来修改应用 -1窗口的位置或者大小, 例如拖动鼠标, 使得原来应用 -3窗口被应用 -1 窗口遮挡的区域需要显示在虚 拟桌面中。  2) The user can modify the position or size of the application window by using the desktop operation in the virtual desktop, for example, dragging the mouse, so that the original application -3 window is blocked by the application -1 window to be displayed in the virtual desktop.
此时, 虚拟桌面的状态即为图 11所示。  At this point, the status of the virtual desktop is as shown in Figure 11.
本发明实施例提供的消息流程包括:  The message flow provided by the embodiment of the present invention includes:
步骤 701 : 虚拟桌面终端 -1向虚拟桌面管理模块发送输入事件, 其中输入 事件携带的桌面操作的类型为鼠标点击拖动。  Step 701: The virtual desktop terminal -1 sends an input event to the virtual desktop management module, where the type of the desktop operation carried by the input event is a mouse click drag.
步骤 702: 虚拟桌面管理模块识别需要刷新的桌面子区域。虚拟桌面管理 模块将改变的应用窗口中的一个或者多个桌面子区域识别为需要刷新的桌面 子区域,或者将一个或者多个受影响的应用窗口中的一个或者多个桌面子区域 识别为需要刷新的桌面子区域(需要说明的是, 在每一个应用窗口显示的时 候, 虚拟桌面管理模块已经将每一个应用的窗口识别为一个或者多个桌面子 区域, 并且为每一个桌面子区域分配了虚拟桌面应用处理模块, 具体过程前 述实施例, 此处不再赘述), 虚拟桌面管理模块向分配给需要刷新的桌面子区 域的虚拟桌面应用处理模块发送桌面子区域的刷新请求。 本实施例中改变的 应用窗口是应用 -1 窗口, 受影响的应用窗口有应用 -3窗口, 虚拟桌面管理模 块将应用 -1对应的桌面子区域 -1和应用 -3对应的桌面子区域 -3识别为需要刷 新的桌面子区域。  Step 702: The virtual desktop management module identifies the desktop sub-area that needs to be refreshed. The virtual desktop management module identifies one or more desktop sub-regions in the changed application window as desktop sub-regions that need to be refreshed, or identifies one or more desktop sub-regions in one or more affected application windows as needed The refreshed desktop sub-area (note that, when each application window is displayed, the virtual desktop management module has identified each application's window as one or more desktop sub-areas, and assigned each desktop sub-area The virtual desktop application processing module, the specific process is not described here. The virtual desktop management module sends a refresh request of the desktop sub-area to the virtual desktop application processing module allocated to the desktop sub-area that needs to be refreshed. The application window changed in this embodiment is an application-1 window, the affected application window has an application-3 window, and the virtual desktop management module will apply -1 corresponding desktop sub-area-1 and application-3 corresponding desktop sub-area- 3 is identified as a desktop sub-area that needs to be refreshed.
步骤 703:虚拟桌面管理模块向分配给需要刷新的桌面子区域 -1的虚拟桌 面应用处理模块 -1发送桌面子区域 -1的刷新请求。  Step 703: The virtual desktop management module sends a refresh request of the desktop sub-area-1 to the virtual desktop application processing module -1 assigned to the desktop sub-area -1 to be refreshed.
步骤 704:虚拟桌面应用处理模块 -1向虚拟桌面管理模块反馈需要刷新的 桌面子区域 -1的像素数据。 步骤 705:虚拟桌面管理模块向分配给需要刷新的桌面子区域 -3的虚拟桌 面应用处理模块 -3发送桌面子区域 -3的刷新请求。 Step 704: The virtual desktop application processing module-1 feeds back the pixel data of the desktop sub-area-1 that needs to be refreshed to the virtual desktop management module. Step 705: The virtual desktop management module sends a refresh request of the desktop sub-area-3 to the virtual desktop application processing module-3 assigned to the desktop sub-area-3 that needs to be refreshed.
步骤 706:虚拟桌面应用处理模块 -3向虚拟桌面管理模块反馈需要刷新的 桌面子区域 -3的像素数据。  Step 706: The virtual desktop application processing module -3 feeds back the pixel data of the desktop sub-area -3 that needs to be refreshed to the virtual desktop management module.
步骤 707: 虚拟桌面管理模块向虚拟桌面终端发送桌面显示像素数据。虚 拟桌面管理模块可以用需要刷新的桌面子区域 - 1 的像素数据以及需要刷新的 桌面子区域 -3 的像素数据生成整个虚拟桌面的像素数据, 将生成的整个虚拟 桌面像素数据作为桌面显示像素数据发送给虚拟桌面终端; 或者虚拟桌面管 理模块将需要刷新的桌面子区域 -1 的像素数据和需要刷新的桌面子区域 -3的 像素数据作为桌面显示像素数据发送给虚拟桌面终端。 虚拟桌面终端将接收 到的桌面显示像素数据显示在虚拟桌面终端的屏幕上。  Step 707: The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal. The virtual desktop management module can generate the pixel data of the entire virtual desktop by using the pixel data of the desktop sub-area-1 that needs to be refreshed and the pixel data of the desktop sub-area-3 that needs to be refreshed, and use the generated virtual desktop pixel data as the desktop display pixel data. Sending to the virtual desktop terminal; or the virtual desktop management module sends the pixel data of the desktop sub-area-1 that needs to be refreshed and the pixel data of the desktop sub-area-3 that needs to be refreshed as desktop display pixel data to the virtual desktop terminal. The virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
需要说明的是: 步骤 703和步骤 705的先后顺序不限; 如果虚拟桌面管 理模块中存储了桌面子区域的像素数据, 则步骤 703〜步骤 706可以省略。  It should be noted that the sequence of steps 703 and 705 is not limited. If the pixel data of the desktop sub-area is stored in the virtual desktop management module, steps 703 to 706 may be omitted.
还需要进行说明的是, 当虚拟桌面的显示内容发生改变后, 虚拟桌面管 理模块识别需要刷新的桌面子区域, 将不同区域对应的应用刷新到应用对照 表中。  It should also be noted that, after the display content of the virtual desktop is changed, the virtual desktop management module identifies the desktop sub-area that needs to be refreshed, and refreshes the application corresponding to the different area to the application comparison table.
如图 13所示, 为本发明实施例提供的虚拟桌面中打开应用 -1的显示区域 遮挡应用—4的显示区域的部分区域的桌面状态示意图。 如图 14所示, 为 本 发明实施例提供的另一种虚拟桌面中分布处理的消息流程示意图, 该消息流 程的前提条件为:  As shown in FIG. 13, a schematic diagram of a desktop state of a partial area of a display area of an application area occlusion application-4 of an application -1 is opened in a virtual desktop provided by an embodiment of the present invention. As shown in FIG. 14, a schematic diagram of a message flow of distributed processing in another virtual desktop provided by an embodiment of the present invention, the preconditions of the message process are:
1 )用户在虚拟桌面中打开应用 -4窗口;  1) The user opens the application -4 window in the virtual desktop;
2 )用户在虚拟桌面中打开应用 -1窗口, 远端应用服务器 -1为应用 -1提供 内容和服务, 远端应用服务器 -1还可以主动向用户的虚拟桌面推送应用 -1 窗 口;  2) The user opens the application -1 window in the virtual desktop, the remote application server -1 provides content and services for the application -1, and the remote application server -1 can also actively push the application -1 window to the user's virtual desktop;
3 )应用 -1的显示区域挡住了应用 -4的显示区域的部分区域。  3) The display area of the application -1 blocks a part of the display area of the application -4.
此时, 虚拟桌面的状态即为图 13所示.  At this point, the status of the virtual desktop is as shown in Figure 13.
本发明实施例提供的消息流程包括: 步骤 801 : 远端应用服务器 -1向虚拟桌面管理模块发送应用的显示信息。 步骤 802: 虚拟桌面管理模块获得应用 -1的像素数据。虚拟桌面管理模块 按照步骤 502〜步骤 504的方法, 或者步骤 602〜步骤 606的方法, 将虚拟桌面 管理模块应用 -1 的显示区域识别为一个或者多个桌面子区域, 虚拟桌面管理 模块获取识别出的所述桌面子区域的像素数据。 The message flow provided by the embodiment of the present invention includes: Step 801: The remote application server-1 sends the display information of the application to the virtual desktop management module. Step 802: The virtual desktop management module obtains pixel data of the application-1. The virtual desktop management module identifies the display area of the virtual desktop management module application-1 as one or more desktop sub-areas according to the method of steps 502 to 504 or the method of steps 602 to 606, and the virtual desktop management module acquires and recognizes Pixel data of the desktop sub-area.
步骤 803: 虚拟桌面管理模块识别需要刷新的桌面子区域。虚拟桌面管理 模块将一个或者多个受影响的应用窗口中的一个或者多个桌面子区域识别为 需要刷新的桌面子区域, 虚拟桌面管理模块向分配给每一个需要刷新的桌面 子区域的虚拟桌面应用处理模块发送桌面子区域的刷新请求, 本实施例中受 影响的应用窗口有应用 -4窗口, 将应用 -4窗口对应的桌面子区域 -4识别为需 要刷新的桌面子区域。  Step 803: The virtual desktop management module identifies the desktop sub-area that needs to be refreshed. The virtual desktop management module identifies one or more desktop sub-areas in one or more affected application windows as desktop sub-areas that need to be refreshed, and the virtual desktop management module assigns virtual desktops to each desktop sub-area that needs to be refreshed. The application processing module sends a refresh request of the desktop sub-area. In this embodiment, the affected application window has an application-4 window, and the desktop sub-area-4 corresponding to the application-4 window is identified as a desktop sub-area that needs to be refreshed.
步骤 804:虚拟桌面管理模块向分配给桌面子区域 -4的虚拟桌面应用处理 模块 -4发送桌面子区域 -4的刷新请求。  Step 804: The virtual desktop management module sends a refresh request of the desktop sub-area-4 to the virtual desktop application processing module -4 assigned to the desktop sub-area-4.
步骤 805:虚拟桌面应用处理模块 -4向虚拟桌面管理模块反馈需要刷新的 桌面区域 -4的像素数据。  Step 805: The virtual desktop application processing module -4 feeds back the pixel data of the desktop area -4 to be refreshed to the virtual desktop management module.
步骤 806: 虚拟桌面管理模块向虚拟桌面终端发送桌面显示像素数据。虚 拟桌面管理模块用桌面子区域 -1 的像素数据以及需要刷新的桌面子区域 -4的 像素数据生成整个虚拟桌面的像素数据, 将生成的整个虚拟桌面像素数据作 为桌面显示像素数据发送给虚拟桌面终端; 或者虚拟桌面管理模块将桌面子 区域 -1 的像素数据和需要刷新的桌面子区域 -4的像素数据作为桌面显示像素 数据发送给虚拟桌面终端。 虚拟桌面终端将接收到的桌面显示像素数据显示 在虚拟桌面终端的屏幕上。  Step 806: The virtual desktop management module sends desktop display pixel data to the virtual desktop terminal. The virtual desktop management module generates pixel data of the entire virtual desktop by using the pixel data of the desktop sub-area-1 and the pixel data of the desktop sub-area-4 to be refreshed, and sends the generated virtual desktop pixel data as desktop display pixel data to the virtual desktop. The virtual desktop management module sends the pixel data of the desktop sub-area-1 and the pixel data of the desktop sub-area-4 that needs to be refreshed as desktop display pixel data to the virtual desktop terminal. The virtual desktop terminal displays the received desktop display pixel data on the screen of the virtual desktop terminal.
需要说明的是, 步骤 802和步骤 803〜步骤 805的先后顺序不限; 如果虚 拟桌面管理模块中存储了桌面子区域的像素数据, 则步骤 804和步骤 806可 以省略。  It should be noted that the sequence of step 802 and step 803 to step 805 is not limited. If the pixel data of the desktop sub-area is stored in the virtual desktop management module, step 804 and step 806 may be omitted.
本发明实施例提供了虚拟桌面中分布处理的方法, 当来至虚拟终端的输 入事件或远端应用服务器的显示信息造成虚拟桌面的显示内容发生改变时, 虚拟桌面管理模块识别需要刷新的桌面子区域, 依据前述的分配原则为识别 出的桌面子区域分配虚拟桌面应用处理模块, 用来处理对应的桌面子区域的 刷新请求, 完成在虚拟桌面终端上的显示, 从而可以尽量满足相似计算能力 的应用或对象分配到同一虚拟桌面应用处理模块, 避免计算能力的浪费。 对应于上述方法实施例, 如图 15所示, 本发明还提供了一种虚拟桌面中 的分布处理系统, 包括: 虚拟桌面管理模块 1501, 至少一个虚拟桌面应用处 理模块 1502, The embodiment of the present invention provides a method for distributing processing in a virtual desktop. When an input event to the virtual terminal or display information of the remote application server causes the display content of the virtual desktop to change, The virtual desktop management module identifies the desktop sub-area that needs to be refreshed, and allocates a virtual desktop application processing module to the identified desktop sub-area according to the foregoing allocation principle, and processes the refresh request of the corresponding desktop sub-area to complete the virtual desktop terminal. Display, so that applications or objects that can satisfy similar computing powers can be allocated to the same virtual desktop application processing module to avoid waste of computing power. Corresponding to the foregoing method embodiment, as shown in FIG. 15, the present invention further provides a distributed processing system in a virtual desktop, including: a virtual desktop management module 1501, at least one virtual desktop application processing module 1502,
虚拟桌面管理模块 1501,用于识别应用对应的应用窗口中的桌面子区域, 为所述桌面子区域选择虚拟桌面应用处理模块 1502, 从为所述桌面子区域选 择的所述虚拟桌面应用处理模块 1502获取所述桌面子区域的像素数据, 将获 取的所述桌面子区域的像素数据显示在虚拟桌面终端上;  a virtual desktop management module 1501, configured to identify a desktop sub-area in an application window corresponding to the application, and select a virtual desktop application processing module 1502 for the desktop sub-area, from the virtual desktop application processing module selected for the desktop sub-area The acquiring the pixel data of the desktop sub-area, and displaying the acquired pixel data of the desktop sub-area on the virtual desktop terminal;
所述至少一个虚拟桌面应用处理模块 1502, 用于为所述应用提供处理能 力, 并向所述虚拟桌面管理模块反馈所述桌面子区域的像素数据。  The at least one virtual desktop application processing module 1502 is configured to provide processing capability for the application, and feed back pixel data of the desktop sub-region to the virtual desktop management module.
进一步的, 所述虚拟桌面管理模块 1501, 还用于接收所述虚拟桌面终端 发送的输入事件, 根据所述输入事件携带的位置信息确定所述输入事件对应 的应用。  Further, the virtual desktop management module 1501 is further configured to receive an input event sent by the virtual desktop terminal, and determine an application corresponding to the input event according to the location information carried by the input event.
所述虚拟桌面管理模块 1501, 具体用于当所述输入事件为点击事件时, 根据点击发生的坐标确定点击发生的区域, 在应用区域对照表中查找所述点 击事件对应的应用。  The virtual desktop management module 1501 is specifically configured to: when the input event is a click event, determine an area where the click occurs according to the coordinate of the click occurrence, and search for an application corresponding to the click event in the application area comparison table.
所述虚拟桌面管理模块 1501, 还用于识别需要刷新的桌面子区域, 所述 需要刷新的桌面子区域为因所述输入事件发生改变的应用窗口中的一个或多 个桌面子区域。  The virtual desktop management module 1501 is further configured to identify a desktop sub-area that needs to be refreshed, and the desktop sub-area that needs to be refreshed is one or more desktop sub-areas in the application window that is changed due to the input event.
所述虚拟桌面管理模块 1501, 还用于向分配给所述需要刷新的桌面子区 域的虚拟桌面应用处理模块 1502发送刷新请求, 接收所述虚拟桌面应用处理 模块 1502反馈的刷新后的像素数据。  The virtual desktop management module 1501 is further configured to send a refresh request to the virtual desktop application processing module 1502 allocated to the desktop sub-area that needs to be refreshed, and receive the refreshed pixel data fed back by the virtual desktop application processing module 1502.
所述系统还包括至少一个应用服务器 1503,所述虚拟桌面管理模块 1501, 还用于接收所述应用服务器 1503发送的所述应用的显示信息, 所述应用的显 示信息包括下列信息中的至少一个: 所述应用的显示区域信息; 所述对象的 类别; 所述对象的显示区域信息; 所述对象的内容。 The system further includes at least one application server 1503, the virtual desktop management module 1501, And being used for receiving display information of the application sent by the application server 1503, where the display information of the application includes at least one of the following information: display area information of the application; a category of the object; Display area information; content of the object.
所述虚拟桌面管理模块 1501, 具体用于根据下述原则中的至少一种进行 虚拟桌面应用处理模块 1502的选择:  The virtual desktop management module 1501 is specifically configured to select the virtual desktop application processing module 1502 according to at least one of the following principles:
所述虚拟桌面管理模块 1501根据所述桌面子区域中的对象的类型选择虚 拟桌面应用处理模块 1502;  The virtual desktop management module 1501 selects a virtual desktop application processing module 1502 according to the type of the object in the desktop sub-area;
所述虚拟桌面管理模块 1501根据所述桌面子区域中的对象对处理能力的 要求选择虚拟桌面应用处理模块 1502。  The virtual desktop management module 1501 selects the virtual desktop application processing module 1502 according to the processing capability requirements of the objects in the desktop sub-area.
所述虚拟桌面管理模块 1501, 具体用于向选择的虚拟桌面应用处理模块 1502发送所述桌面子区域的显示信息, 接收所述虚拟桌面应用处理模块 1502 反馈的像素数据。  The virtual desktop management module 1501 is configured to send the display information of the desktop sub-area to the selected virtual desktop application processing module 1502, and receive the pixel data fed back by the virtual desktop application processing module 1502.
本发明实施例给出一种虚拟桌面中分布处理的方法和系统, 能够识别虚 拟桌面各个区域的内容和对象, 根据内容和对象的分配相应的应用处理能力 进行处理, 使得对计算资源的使用更加合理、 有效。  The embodiment of the invention provides a method and a system for distributing processing in a virtual desktop, which can identify content and objects in various areas of the virtual desktop, and process according to the application processing capability corresponding to the content and the object allocation, so that the use of the computing resources is further improved. Reasonable and effective.
虽然以上有些地方描述了本发明的具体实施方式, 但是本领域的技术人 员应当理解, 这些具体实施方式仅是举例说明, 本领域的技术人员在不脱离 本发明的原理和实质的情况下, 可以对上述方法和系统的细节进行各种省略、 替换和改变。 例如以合并上述方法步骤的方式, 按照实质相同的方法执行实 质相同的功能以实现实质相同的结果则属于本发明的范围。 因此, 本发明的 范围仅由所附权利要求书限定。  While the embodiments of the present invention have been described in the foregoing, it will be understood by those skilled in the art Various omissions, substitutions and changes are made in the details of the methods and systems described above. It is within the scope of the present invention to perform substantially the same functions in substantially the same manner to achieve substantially the same results, for example, in a manner that incorporates the steps of the method described above. Therefore, the scope of the invention is to be limited only by the appended claims.
本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬 件平台的方式来实现。 基于这样的理解, 本发明的技术方案本质上或者说对 现有技术做出贡献的部分可以软件产品的形式体现出来, 该计算机软件产品 可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指令用以 使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例或者实施例的某些部分所述的方法。 以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应以权利要求的保护范围为准。 It will be apparent to those skilled in the art that the present invention can be implemented by means of software plus the necessary general hardware platform. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a disk, An optical disk or the like includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments. The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求 书 Claim
1、 一种虚拟桌面中的分布处理方法, 其特征在于, 包括: A distributed processing method in a virtual desktop, comprising:
虚拟桌面管理模块识别应用对应的应用窗口中的桌面子区域;  The virtual desktop management module identifies a desktop sub-area in the application window corresponding to the application;
所述虚拟桌面管理模块为所述桌面子区域选择虚拟桌面应用处理模块; 所述虚拟桌面管理模块从为所述桌面子区域选择的所述虚拟桌面应用处理 模块获取所述桌面子区域的像素数据;  The virtual desktop management module selects a virtual desktop application processing module for the desktop sub-area; the virtual desktop management module acquires pixel data of the desktop sub-area from the virtual desktop application processing module selected for the desktop sub-area ;
所述虚拟桌面管理模块将获取的所述桌面子区域的像素数据显示在虚拟桌 面终端上。  The virtual desktop management module displays the acquired pixel data of the desktop sub-area on the virtual desktop terminal.
2、 如权利要求 1所述的方法, 其特征在于, 所述应用包括至少一个对象。  2. The method of claim 1 wherein the application comprises at least one object.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述桌面子区域包括下列 显示区域的至少一种: 所述应用的显示区域; 所述应用包括的对象的显示区域。 The method according to claim 1 or 2, wherein the desktop sub-area comprises at least one of the following display areas: a display area of the application; and a display area of the object included in the application.
4、 如权利要求 3所述的方法, 其特征在于, 当所述应用包括多个对象时, 所述桌面子区域为各个对象的显示区域或对处理能力需求相同或相近的对象的 显示区域的集合。 4. The method according to claim 3, wherein when the application includes a plurality of objects, the desktop sub-region is a display region of each object or a display region of an object having the same or similar processing capability requirements set.
5、 如权利要求 1所述的方法, 其特征在于, 在所述虚拟桌面管理模块识别 应用窗口中的桌面子区域之前, 所述方法还包括: The method of claim 1, wherein before the virtual desktop management module identifies the desktop sub-area in the application window, the method further includes:
所述虚拟桌面管理模块接收所述虚拟桌面终端发送的输入事件;  The virtual desktop management module receives an input event sent by the virtual desktop terminal;
所述虚拟桌面管理模块根据所述输入事件携带的位置信息确定所述输入事 件对应的应用。  The virtual desktop management module determines an application corresponding to the input event according to the location information carried by the input event.
6、 如权利要求 5所述的方法, 其特征在于, 所述虚拟桌面管理模块根据所 述输入事件携带的位置信息确定所述输入事件对应的应用包括: The method of claim 5, wherein the determining, by the virtual desktop management module, the application corresponding to the input event according to the location information carried by the input event comprises:
当所述输入事件为点击事件时, 所述虚拟桌面管理模块根据点击发生的坐 标确定点击发生的区域, 在应用区域对照表中查找所述点击事件对应的应用。 When the input event is a click event, the virtual desktop management module determines an area where the click occurs according to the coordinates of the click occurrence, and searches for an application corresponding to the click event in the application area comparison table.
7、 如权利要求 5所述的方法, 其特征在于, 在所述虚拟桌面管理模块接收 所述虚拟桌面终端发送的输入事件之后, 所述方法还包括: The method of claim 5, after the virtual desktop management module receives the input event sent by the virtual desktop terminal, the method further includes:
所述虚拟桌面管理模块识别需要刷新的桌面子区域, 所述需要刷新的桌面 子区域为因所述输入事件发生改变的应用窗口中的一个或多个桌面子区域。  The virtual desktop management module identifies a desktop sub-area that needs to be refreshed, and the desktop sub-area that needs to be refreshed is one or more desktop sub-areas in an application window that is changed due to the input event.
8、 如权利要求 7所述的方法, 其特征在于, 所述方法还包括: 8. The method according to claim 7, wherein the method further comprises:
所述虚拟桌面管理模块向分配给所述需要刷新的桌面子区域的虚拟桌面应 用处理模块发送刷新请求, 接收所述虚拟桌面应用处理模块反馈的刷新后的像 素数据。  The virtual desktop management module sends a refresh request to the virtual desktop application processing module allocated to the desktop sub-region that needs to be refreshed, and receives the refreshed pixel data fed back by the virtual desktop application processing module.
9、 如权利要求 2所述的方法, 其特征在于, 在所述虚拟桌面管理模块识别 应用窗口中的桌面子区域之前, 所述方法还包括: The method of claim 2, wherein before the virtual desktop management module identifies the desktop sub-area in the application window, the method further includes:
所述虚拟桌面管理模块接收应用服务器发送的所述应用的显示信息, 所述 应用的显示信息包括下列信息中的至少一个: 所述应用的显示区域信息; 所述 对象的类别; 所述对象的显示区域信息; 所述对象的内容。  The virtual desktop management module receives display information of the application sent by the application server, where the display information of the application includes at least one of the following information: display area information of the application; a category of the object; Display area information; content of the object.
10、 如权利要求 1 所述的方法, 其特征在于, 所述虚拟桌面管理模块为所 述桌面子区域选择虚拟桌面应用处理模块包括: The method of claim 1, wherein the selecting, by the virtual desktop management module, the virtual desktop application processing module for the desktop sub-area comprises:
所述虚拟桌面管理模块根据下述原则中的至少一种进行虚拟桌面应用处理 模块的选择:  The virtual desktop management module selects a virtual desktop application processing module according to at least one of the following principles:
所述虚拟桌面管理模块根据所述桌面子区域中的对象的类型选择虚拟桌面 应用处理模块;  The virtual desktop management module selects a virtual desktop application processing module according to the type of the object in the desktop sub-area;
所述虚拟桌面管理模块根据所述桌面子区域中的对象对处理能力的要求选 择虚拟桌面应用处理模块。  The virtual desktop management module selects a virtual desktop application processing module according to requirements of processing capabilities in objects in the desktop sub-area.
11、 如权利要求 10所述的方法, 其特征在于, 在所述虚拟桌面管理模块为 所述桌面子区域选择虚拟桌面应用处理模块之前, 所述方法还包括: 所述虚拟桌面管理模块判断是否为所述桌面子区域或所述桌面子区域中的 对象选择过虚拟桌面应用处理模块, 如果否, 则当所述虚拟桌面子区域中的对 象发生改变时, 为所述桌面子区域重新选择虚拟桌面应用处理模块; 如果是, 为所述桌面子区域选择已分配的虚拟桌面应用处理模块。 The method of claim 10, wherein before the virtual desktop management module selects the virtual desktop application processing module for the desktop sub-area, the method further includes: The virtual desktop management module determines whether the virtual desktop application processing module is selected for the object in the desktop sub-area or the desktop sub-area, and if not, when the object in the virtual desktop sub-area changes, The desktop sub-area reselects the virtual desktop application processing module; if so, selects the assigned virtual desktop application processing module for the desktop sub-area.
12、 如权利要求 1 所述的方法, 其特征在于, 所述虚拟桌面管理模块从为 所述桌面子区域选择的所述虚拟桌面应用处理模块获取所述桌面子区域的像素 数据包括: The method of claim 1, wherein the acquiring, by the virtual desktop management module, the pixel data of the desktop sub-area from the virtual desktop application processing module selected by the desktop sub-area comprises:
所述虚拟桌面管理模块向选择的虚拟桌面应用处理模块发送所述桌面子区 域的显示信息, 接收所述虚拟桌面应用处理模块反馈的像素数据。  The virtual desktop management module sends the display information of the desktop sub-area to the selected virtual desktop application processing module, and receives pixel data fed back by the virtual desktop application processing module.
13、 如权利要求 1 所述的方法, 其特征在于, 所述虚拟桌面管理模块将获 取的所述桌面子区域的像素数据显示在虚拟桌面终端上包括: The method of claim 1, wherein the displaying, by the virtual desktop management module, the obtained pixel data of the desktop sub-area on the virtual desktop terminal comprises:
所述虚拟桌面管理模块用所述桌面子区域的像素数据生成整个虚拟桌面的 像素数据, 将生成的整个虚拟桌面像素数据作为桌面显示像素数据发送给虚拟 桌面终端; 或者,  The virtual desktop management module generates pixel data of the entire virtual desktop by using the pixel data of the desktop sub-region, and sends the generated virtual desktop pixel data as desktop display pixel data to the virtual desktop terminal; or
所述虚拟桌面管理模块将桌面子区域的像素数据作为桌面显示像素数据发 送给虚拟桌面终端。  The virtual desktop management module sends the pixel data of the desktop sub-area to the virtual desktop terminal as desktop display pixel data.
14、 一种虚拟桌面中的分布处理系统, 其特征在于, 所述系统包括: 虚拟 桌面管理模块, 至少一个虚拟桌面应用处理模块, 其中, A distributed processing system in a virtual desktop, the system comprising: a virtual desktop management module, at least one virtual desktop application processing module, wherein
虚拟桌面管理模块, 用于识别应用对应的应用窗口中的桌面子区域, 为所 述桌面子区域选择虚拟桌面应用处理模块, 从为所述桌面子区域选择的所述虚 拟桌面应用处理模块获取所述桌面子区域的像素数据, 将获取的所述桌面子区 域的像素数据显示在虚拟桌面终端上;  a virtual desktop management module, configured to identify a desktop sub-area in an application window corresponding to the application, select a virtual desktop application processing module for the desktop sub-area, and obtain the location from the virtual desktop application processing module selected for the desktop sub-area Decoding the pixel data of the desktop sub-area, and displaying the acquired pixel data of the desktop sub-area on the virtual desktop terminal;
所述至少一个虚拟桌面应用处理模块, 用于为所述应用提供处理能力, 并 向所述虚拟桌面管理模块反馈所述桌面子区域的像素数据。 The at least one virtual desktop application processing module is configured to provide processing capability for the application, and feed back pixel data of the desktop sub-region to the virtual desktop management module.
15、 如权利要求 14所述的系统, 其特征在于, 所述虚拟桌面管理模块, 还 用于接收所述虚拟桌面终端发送的输入事件, 根据所述输入事件携带的位置信 息确定所述输入事件对应的应用。 The system of claim 14, wherein the virtual desktop management module is further configured to receive an input event sent by the virtual desktop terminal, and determine the input event according to the location information carried by the input event. The corresponding application.
16、 如权利要求 15所述的系统, 其特征在于, 所述虚拟桌面管理模块, 具 体用于当所述输入事件为点击事件时, 根据点击发生的坐标确定点击发生的区 域, 在应用区域对照表中查找所述点击事件对应的应用。 The system of claim 15, wherein the virtual desktop management module is configured to: when the input event is a click event, determine an area where the click occurs according to the coordinates of the click, and compare the area in the application area. Look up the application corresponding to the click event in the table.
17、 如权利要求 15所述的系统, 其特征在于, 所述虚拟桌面管理模块, 还 用于识别需要刷新的桌面子区域, 所述需要刷新的桌面子区域为因所述输入事 件发生改变的应用窗口中的一个或多个桌面子区域。 The system of claim 15, wherein the virtual desktop management module is further configured to identify a desktop sub-area that needs to be refreshed, and the desktop sub-area that needs to be refreshed is changed due to the input event. One or more desktop sub-areas in the application window.
18、 如权利要求 17所述的系统, 其特征在于, 所述虚拟桌面管理模块, 还 用于向分配给所述需要刷新的桌面子区域的虚拟桌面应用处理模块发送刷新请 求, 接收所述虚拟桌面应用处理模块反馈的刷新后的像素数据。 The system of claim 17, wherein the virtual desktop management module is further configured to send a refresh request to the virtual desktop application processing module allocated to the desktop sub-region that needs to be refreshed, and receive the virtual The refreshed pixel data fed back by the desktop application processing module.
19、 如权利要求 14所述的系统, 其特征在于, 所述系统还包括至少一个应 用服务器, 所述虚拟桌面管理模块, 还用于接收所述应用服务器发送的所述应 用的显示信息, 所述应用的显示信息包括下列信息中的至少一个: 所述应用的 显示区域信息; 所述对象的类別; 所述对象的显示区域信息; 所述对象的内容。 The system according to claim 14, wherein the system further includes at least one application server, and the virtual desktop management module is further configured to receive display information of the application sent by the application server, where The display information of the application includes at least one of the following information: display area information of the application; a category of the object; display area information of the object; content of the object.
20、 如权利要求 14所述的系统, 其特征在于, 所述虚拟桌面管理模块, 具 体用于根据下述原则中的至少一种进行虚拟桌面应用处理模块的选择: The system of claim 14, wherein the virtual desktop management module is configured to select a virtual desktop application processing module according to at least one of the following principles:
所述虚拟桌面管理模块根据所述桌面子区域中的对象的类型选择虚拟桌面 应用处理模块;  The virtual desktop management module selects a virtual desktop application processing module according to the type of the object in the desktop sub-area;
所述虚拟桌面管理模块根据所述桌面子区域中的对象对处理能力的要求选 择虚拟桌面应用处理模块。 The virtual desktop management module selects a processing capability according to an object in the desktop sub-area Select the virtual desktop application processing module.
21、 如权利要求 14所述的系统, 其特征在于, 所述虚拟桌面管理模块, 具 体用于向选择的虚拟桌面应用处理模块发送所述桌面子区域的显示信息, 接收 所述虚拟桌面应用处理模块反馈的像素数据。 The system of claim 14, wherein the virtual desktop management module is configured to send the display information of the desktop sub-area to the selected virtual desktop application processing module, and receive the virtual desktop application processing. Pixel data fed back by the module.
PCT/CN2011/077881 2011-08-01 2011-08-01 Distributed processing method and system for virtual desktop WO2012159361A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011800013542A CN102449604B (en) 2011-08-01 2011-08-01 Distributed processing method and system in virtual desktop
PCT/CN2011/077881 WO2012159361A1 (en) 2011-08-01 2011-08-01 Distributed processing method and system for virtual desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/077881 WO2012159361A1 (en) 2011-08-01 2011-08-01 Distributed processing method and system for virtual desktop

Publications (1)

Publication Number Publication Date
WO2012159361A1 true WO2012159361A1 (en) 2012-11-29

Family

ID=46010197

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077881 WO2012159361A1 (en) 2011-08-01 2011-08-01 Distributed processing method and system for virtual desktop

Country Status (2)

Country Link
CN (1) CN102449604B (en)
WO (1) WO2012159361A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103414712B (en) * 2013-08-05 2016-01-27 深圳市杰云科技有限公司 A kind of distributed virtual desktop management system and method
CN103838375B (en) * 2014-02-28 2017-12-29 深信服科技股份有限公司 Terminal input method and terminal
CN106126252A (en) * 2016-06-30 2016-11-16 乐视控股(北京)有限公司 A kind of method loading application desktop and electronic equipment
CN112860436A (en) * 2017-08-28 2021-05-28 西安万像电子科技有限公司 Resource allocation method and system
CN108021425B (en) * 2017-12-28 2020-11-03 南开大学 Virtual desktop system integrating multiple application graphic windows and operation method
CN110138817A (en) * 2018-02-08 2019-08-16 中兴通讯股份有限公司 Flow media playing method, device, equipment and computer readable storage medium
CN111431948B (en) * 2020-06-15 2020-10-16 广东睿江云计算股份有限公司 Framework and content separated cloud desktop optimization display method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101288104A (en) * 2003-10-23 2008-10-15 微软公司 Dynamic window anatomy
CN101661370A (en) * 2008-08-28 2010-03-03 索尼株式会社 Information processing apparatus and method and computer program
CN101754046A (en) * 2008-12-18 2010-06-23 威睿公司 Measuring client interactive performance using a display channel
CN102027464A (en) * 2008-05-12 2011-04-20 微软公司 Virtual desktop view scrolling

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046468B2 (en) * 2009-01-26 2011-10-25 Vmware, Inc. Process demand prediction for distributed power and resource management
US20110161404A1 (en) * 2009-12-31 2011-06-30 Nimbus Is, Inc. Systems and methods for communicating data between a server and a device on a virtual desktop

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101288104A (en) * 2003-10-23 2008-10-15 微软公司 Dynamic window anatomy
CN102027464A (en) * 2008-05-12 2011-04-20 微软公司 Virtual desktop view scrolling
CN101661370A (en) * 2008-08-28 2010-03-03 索尼株式会社 Information processing apparatus and method and computer program
CN101754046A (en) * 2008-12-18 2010-06-23 威睿公司 Measuring client interactive performance using a display channel

Also Published As

Publication number Publication date
CN102449604B (en) 2013-03-27
CN102449604A (en) 2012-05-09

Similar Documents

Publication Publication Date Title
US10877826B2 (en) Message processing method and apparatus, storage medium, and computer device
WO2012159361A1 (en) Distributed processing method and system for virtual desktop
WO2021072912A1 (en) File sharing method, apparatus, and system, interactive smart device, source end device, and storage medium
JP6328947B2 (en) Screen display method for multitasking operation and terminal device supporting the same
JP5325286B2 (en) Apparatus and method for interacting with multiple forms of information between multiple types of computing devices
US8074227B2 (en) Utilizing a first managed process to host at least a second managed process
US9052806B2 (en) User interface for presenting media items of social networking service in media reel
US20130268826A1 (en) Synchronizing progress in audio and text versions of electronic books
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
JP2005108210A (en) Digital content representation display method, digital content representation presentation method, digital content presentation method, interaction information determination method, digital content distribution method, digital content representation display program, and system
JP2005108210A5 (en)
EP2609519A1 (en) System and method for enabling a collaborative desktop environment
WO2023005197A1 (en) Content display method and terminal
JP2014514668A (en) Multi-input gestures in hierarchical domains
JP2020161135A (en) Method and system for displaying chat thread
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN110992112A (en) Method and device for processing advertisement information
US20220244845A1 (en) Method, device, electronic device, and storage medium for sending and receiving message
CN111045565B (en) Multimedia page switching method and electronic equipment
US10327027B2 (en) Methods for screencasting and systems and apparatuses using the same
CN112035195A (en) Application interface display method and device, electronic equipment and storage medium
JP6294349B2 (en) Manage tab buttons
US10148602B2 (en) Enhancing messaging application functionality
CN114090896A (en) Information display method and device and electronic equipment
CN115730165A (en) Page generation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001354.2

Country of ref document: CN

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

Ref document number: 11866428

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

Country of ref document: EP

Kind code of ref document: A1