CN104375825B - Desktop window element tracks and identifies method and system under VDI environment - Google Patents

Desktop window element tracks and identifies method and system under VDI environment Download PDF

Info

Publication number
CN104375825B
CN104375825B CN201410498283.7A CN201410498283A CN104375825B CN 104375825 B CN104375825 B CN 104375825B CN 201410498283 A CN201410498283 A CN 201410498283A CN 104375825 B CN104375825 B CN 104375825B
Authority
CN
China
Prior art keywords
window
elements
desktop
tracked
tracking
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201410498283.7A
Other languages
Chinese (zh)
Other versions
CN104375825A (en
Inventor
张辉
夏威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information Co Ltd
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 Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN201410498283.7A priority Critical patent/CN104375825B/en
Publication of CN104375825A publication Critical patent/CN104375825A/en
Application granted granted Critical
Publication of CN104375825B publication Critical patent/CN104375825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

What the present invention provided desktop window element under a kind of VDI environment tracks and identifies method and system, the method includes the steps 1, enumerate User space current sessions all window elements handle;Step 2, the variation that window elements are monitored according to handle;Step 3 preserves all windows to be tracked of current desktop, and the information list of window is passed to kernel state;Step 4 creates a Window state variation engine and unique identifier for each window to be tracked;Step 5 changes the delta data for the window elements that engine-trace obtains and unique identifier according to Window state, and combines preset processing strategy and window is changed and encoded;Window after coding is passed to terminal and shows by step 6.The present invention also provides a kind of tracking and identifying system of desktop window element under VDI environment, the method have the advantages that:The data volume for being transferred to user terminal is made to become smaller, also reduces bandwidth, improves the experience of user.

Description

Desktop window element tracks and identifies method and system under VDI environment
Technical field
The present invention relates to desktop window elements under a kind of VDI environment to track and identify method and system.
Background technology
Under VDI (virtual desktop architecture) environment, it would be desirable to be delivered and grasped to terminal by the network of Bandwidth-Constrained Make the desktop of system, the desktop of operating system is made of window one by one, and the type of window is various, window elements again Also can change, this so that more bandwidth can be occupied during transmission, and can not to window elements occur variation into Line trace identifies, reduces the experience of user.
Invention content
The technical problem to be solved in the present invention is to provide a kind of side of tracking and identifying of desktop window element under VDI environment Method and system use different coding staffs by the way that desktop window element is decomposed and tracked, and to different types of window Formula is encoded, and the data volume for being transferred to user terminal is made to become smaller, also reduces bandwidth, improves the experience of user.
What one of the technical problem to be solved in the present invention was realized in:The tracking of desktop window element is known under VDI environment Operating system and application program are uniformly put into the server of data center and run by other method, the VDI, by the desktop of user It is virtualized, the operating system includes User space and kernel state;Described method includes following steps:
Step 1, enumerate User space current sessions all window elements handle;
Step 2, the change that User space current sessions and window station are monitored according to handle, and then monitor the change of window elements Change;
Step 3 preserves all windows to be tracked of User space current desktop, and the information list of window is sent to kernel State;
Step 4 creates a Window state variation engine for each window to be tracked in kernel state, for tracking The delta data of window elements is obtained, while also creates a unique identifier for each window to be tracked;
Step 5 tracks the delta data of the window elements obtained and unique identifier according to different windows, and combines pre- The processing strategy first set is changed and encodes to window;
Window after coding is sent to user terminal and shows by step 6.
Further, the delta data of the window elements includes the window's position, window size, window visible area and window Mouth mark.
Further, the preset processing strategy is the variation previously according to window elements, and setting will be to window The change of progress.
Further, the step 5 is specially further:The variation of window elements first obtained according to different windows tracking Data and unique identifier, and combine preset processing strategy and window is changed, then to different types of window Mouth is encoded using different coding modes.
What the second technical problem to be solved by the present invention was realized in:The tracking of desktop window element is known under VDI environment Operating system and application program are uniformly put into the server of data center and run by other system, the VDI, by the desktop of user It is virtualized, the operating system includes User space and kernel state;The system comprises:
Window enumeration module enumerates the handle of all window elements of User space current sessions;
Monitoring session module monitors the change of User space current sessions and window station according to handle, and then monitors window member The variation of element;
Window preserving module preserves all windows to be tracked of User space current desktop, and the information list of window is sent out Give kernel state;
Virtual video card module creates a Window state for each window to be tracked in kernel state and changes engine, For tracking the delta data for obtaining window elements, while also a unique mark is created for each window to be tracked Symbol;
Data coding module tracks the delta data of the window elements obtained and unique identifier according to different windows, And it combines preset processing strategy and window is changed and encoded;
Window after coding is sent to user terminal and shown by data transmission module.
Further, the delta data of the window elements includes the window's position, window size, window visible area and window Mouth mark.
Further, the preset processing strategy is the variation previously according to window elements, and setting will be to window The change of progress.
Further, the data coding module is specially further:The window member first obtained according to different windows tracking The delta data and unique identifier of element, and combine preset processing strategy and window is changed, then to difference The window of type is encoded using different coding modes.
The invention has the advantages that:The decomposition to operating system desktop window elements and tracking are realized, and to difference The window of type is encoded using different coding modes, this not only reduces the data volume for being transferred to user terminal, and is dropped Low bandwidth, improves the experience of user.
Description of the drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flow diagram for tracking and identifying method of desktop window element under VDI environment of the present invention.
Fig. 2 is the structure diagram of the tracking and identifying system of desktop window element under VDI environment of the present invention.
Specific embodiment
It please refers to shown in Fig. 1, desktop window element tracks and identifies method under VDI environment of the present invention, and the VDI will operate System and application program, which are uniformly put into the server of data center, to be run, and the desktop of user is virtualized, the operation System (such as windows operating systems) is including User space and kernel state;The method specifically comprises the following steps:
Step 1, enumerate User space current sessions all window elements handle;
Step 2, the change that User space current sessions and window station (winstation) are monitored according to handle, and then monitor window The variation of mouth element;Window station (winstation) is a Security Object, it includes a clipbook, a series of global original Son and one group of desktop object, an interactive window station is not only to user as it can be seen that and can also receive input from the user. The reason of being wherein monitored to current sessions and window station (winstation) be:Due to window elements and current sessions and window Mouth station (winstation) is closely related, and only they are monitored, further could accurately monitor the variation of window elements;
Step 3 preserves all windows to be tracked of User space current desktop, and the information list of window is sent to kernel State;It is assumed that sharing 10 windows to be tracked on windows desktops, that is with regard to first preserving this 10 windows, then The information list of 10 windows is sent to kernel state;
Step 4 creates a Window state variation engine for each window to be tracked in kernel state, for tracking The delta data of window elements is obtained, while also creates a unique identifier for each window to be tracked, this is only One identifier is used to accurately identify window;The delta data of the window elements includes the window's position, window size, window can Viewed area and window ID, the Window state variation engine can also preserve the delta data of each window elements, Realize the tracking to window;
Step 5 tracks the delta data of the window elements obtained and unique identifier according to different windows, and combines pre- The processing strategy first set is changed and encodes to window;The preset processing strategy is previously according to window elements Variation, setting will to window carry out change;The step is specially further:The window first obtained according to different windows tracking The delta data of element and unique identifier, and combine it is preset processing strategy window is changed (such as in advance When setting the variation of window height in the range of 0.2cm~0.25cm, system a pair of windows adjustment 0.2cm, then when tracking obtains Window height variation in above range, we just to window adjust a 0.2cm height), then to different type Window encoded using different coding modes, such as JPEG codings may be used in graphical window, video window can be with H.264 coding etc.;
Step 6 sends the window after coding to user terminal and shows, is experienced for user.
It please refers to shown in Fig. 2, desktop window element tracking and identifying system under VDI environment of the present invention, the VDI, which will be operated, is System and application program are uniformly put into the server of data center and run, and the desktop of user is virtualized, the operation system (such as windows operating systems) is united including User space and kernel state;The system comprises
Window enumeration module enumerates the handle of all window elements of User space current sessions;
Monitoring session module monitors the change of User space current sessions and window station (winstation) according to handle, into And monitor the variation of window elements;Window station (winstation) is a Security Object, it includes a clipbook, a series of Global atom and one group of desktop object, an interactive window station is not only to user as it can be seen that and can also receive to use by oneself The input at family.The reason of being wherein monitored to current sessions and window station (winstation) be:Since window elements are with working as Preceding session and window station (winstation) are closely related, and only they are monitored, further could accurately monitor window The variation of element;
Window preserving module preserves all windows to be tracked of User space current desktop, and the information list of window is sent out Give kernel state;It is assumed that sharing 10 windows to be tracked on windows desktops, that is with regard to first protecting this 10 windows It deposits, the information list of 10 windows is then sent to kernel state;
Virtual video card module creates a Window state for each window to be tracked in kernel state and changes engine, For tracking the delta data for obtaining window elements, while also a unique mark is created for each window to be tracked Symbol, unique identifier are used to accurately identify window;It is big that the delta data of the window elements includes the window's position, window Small, window visible area and window ID, the Window state variation engine can also be to the delta data of each window elements It is preserved, realizes the tracking to table window;
Data coding module tracks the delta data of the window elements obtained and unique identifier according to different windows, And it combines preset processing strategy and window is changed and encoded;It is described it is preset processing strategy be previously according to The variation of window elements, the change that setting will carry out window;The step is specially further:First obtained according to different windows tracking The delta data of the window elements taken and unique identifier, and combine preset processing strategy and window is changed (such as when presetting the variation of window height in the range of 0.2cm~0.25cm, system a pair of windows adjustment 0.2cm, then when The variation of the window height obtained is tracked in above range, we just adjust window the height of one 0.2cm), it is then right Different types of window is encoded using different coding modes, such as JPEG codings, video window may be used in graphical window It mouthful can be H.264 to encode;
Data transmission module sends the window after coding to user terminal and shows, experienced for user.
The invention has the advantages that:The decomposition to operating system desktop window elements and tracking are realized, and to difference The window of type is encoded using different coding modes, this not only reduces the data volume for being transferred to user terminal, and is dropped Low bandwidth, improves the experience of user.
Although specific embodiments of the present invention have been described above, those familiar with the art should manage Solution, our described specific embodiments are merely exemplary rather than for the restriction to the scope of the present invention, are familiar with this The equivalent modification and variation that the technical staff in field is made in the spirit according to the present invention, should all cover the present invention's In scope of the claimed protection.

Claims (4)

1. desktop window element tracks and identifies method under a kind of VDI environment, the VDI is unified by operating system and application program It is put into the server of data center and runs, the desktop of user is virtualized, the operating system includes User space and interior Core state;It is characterized in that:Described method includes following steps:
Step 1, enumerate User space current sessions all window elements handle;
Step 2, the change that User space current sessions and window station are monitored according to handle, and then monitor the variation of window elements;
Step 3 preserves all windows to be tracked of User space current desktop, and the information list of window is sent to kernel state;
Step 4 creates a Window state variation engine for each window to be tracked in kernel state, is obtained for tracking The delta data of window elements, while also a unique identifier is created for each window to be tracked;
Step 5 tracks the delta data of the window elements obtained and unique identifier according to different windows, and combines and set in advance Fixed processing strategy is changed and encodes to window;
Window after coding is sent to user terminal and shows by step 6;
The step 5 is specially:The delta data and unique identifier of the window elements first obtained according to different windows tracking, And combine preset processing strategy and window is changed, different coding modes then is used to different types of window It is encoded;The preset processing strategy is the variation previously according to window elements, and setting will change window Become.
2. desktop window element tracks and identifies method under VDI environment according to claim 1, it is characterised in that:It is described The delta data of window elements includes the window's position, window size, window visible area and window ID.
3. the tracking and identifying system of desktop window element under a kind of VDI environment, the VDI is unified by operating system and application program It is put into the server of data center and runs, the desktop of user is virtualized, the operating system includes User space and interior Core state;It is characterized in that:Including:
Window enumeration module enumerates the handle of all window elements of User space current sessions;
Monitoring session module monitors the change of User space current sessions and window station according to handle, and then monitors window elements Variation;
Window preserving module preserves all windows to be tracked of User space current desktop, and the information list of window is sent to Kernel state;
Virtual video card module creates a Window state for each window to be tracked in kernel state and changes engine, is used for Tracking obtains the delta data of window elements, while also creates a unique identifier for each window to be tracked;
Data coding module according to the delta data of the window elements of different windows tracking acquisition and unique identifier, and is tied It closes preset processing strategy window is changed and encoded;
Window after coding is sent to user terminal and shown by data transmission module;
The data coding module is specially further:First according to different windows tracking obtain window elements delta data and Unique identifier, and combine preset processing strategy and window is changed, then different types of window is used Different coding modes are encoded;The preset processing strategy is the variation previously according to window elements, and setting will The change carried out to window.
4. the tracking and identifying system of desktop window element under VDI environment according to claim 3, it is characterised in that:It is described The delta data of window elements includes the window's position, window size, window visible area and window ID.
CN201410498283.7A 2014-09-25 2014-09-25 Desktop window element tracks and identifies method and system under VDI environment Active CN104375825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410498283.7A CN104375825B (en) 2014-09-25 2014-09-25 Desktop window element tracks and identifies method and system under VDI environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410498283.7A CN104375825B (en) 2014-09-25 2014-09-25 Desktop window element tracks and identifies method and system under VDI environment

Publications (2)

Publication Number Publication Date
CN104375825A CN104375825A (en) 2015-02-25
CN104375825B true CN104375825B (en) 2018-06-08

Family

ID=52554768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410498283.7A Active CN104375825B (en) 2014-09-25 2014-09-25 Desktop window element tracks and identifies method and system under VDI environment

Country Status (1)

Country Link
CN (1) CN104375825B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179431A (en) * 2013-03-21 2013-06-26 福建升腾资讯有限公司 Method for redirecting, transcoding and separating audio/video under VDI (Virtual Desktop Infrastructure) condition

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4738805B2 (en) * 2004-12-16 2011-08-03 株式会社リコー Screen sharing system, screen sharing method, screen sharing program
WO2012047997A1 (en) * 2010-10-05 2012-04-12 Citrix Systems, Inc. Display management for native user experiences
US20120311457A1 (en) * 2011-06-06 2012-12-06 Cisco Technology, Inc. Merging Remote and Local Interfaces for Application Integration

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179431A (en) * 2013-03-21 2013-06-26 福建升腾资讯有限公司 Method for redirecting, transcoding and separating audio/video under VDI (Virtual Desktop Infrastructure) condition

Also Published As

Publication number Publication date
CN104375825A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
DE112010001170B4 (en) Accessory device and mobile computing device communication using an application communication protocol
EP3222295A3 (en) Apparatus and method to link medical device sterilization equipment
DE102018130603A1 (en) AUGMENTED-REALITY bindings of physical and virtual objects
CA3035118C (en) Massive simultaneous remote digital presence world
DE112015005889T5 (en) OPERATING SYSTEM DONGLE
CN104156365B (en) A kind of monitoring method of file, apparatus and system
WO2008001214A3 (en) System, apparatus, and method for dynamically configuring application access point settings
SG10201505437QA (en) A method for sharing functionality and/or data between two or more linked entities
WO2012094677A3 (en) System, method and apparatus for dynamic wireless network discovery
WO2008111448A1 (en) Server function switching device, method and program, and thin client system and server device
EP1981207A3 (en) System and method for power management in a computing device for PoE
WO2008070582A3 (en) Methods and apparatus for requesting wireless communication device performance data and providing the data in optimal file size
WO2014164893A3 (en) Remote transfer of electronic images to a vehicle
EP2249254A3 (en) Storage device having direct user access
CN106254553A (en) A kind of document transmission processing method and apparatus
WO2013006265A3 (en) Intermediation of hypervisor file system and storage device models
EP3887991A1 (en) Enhanced privacy federated learning system
DE102016206832A1 (en) Apparatus and method for controlling the reception of data
WO2008012627A3 (en) Method, apparatus and computer program product for continuously providing a license to a network element via a remote connection
WO2008125508A3 (en) Managing entity data in case of multiple entity identities
WO2014182787A3 (en) Systems and methods for high fidelity multi-modal out-of-band biometric authentication
CN107992767A (en) A kind of authority control method based on more cloud platforms
MY177461A (en) Information processing device, content requesting method, and computer program
WO2014070446A3 (en) Method and system for a network mapping service
CN104780346A (en) Lightweight video information processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant