CN106161630A - A kind of client screen based on RDP updates display packing - Google Patents
A kind of client screen based on RDP updates display packing Download PDFInfo
- Publication number
- CN106161630A CN106161630A CN201610571506.7A CN201610571506A CN106161630A CN 106161630 A CN106161630 A CN 106161630A CN 201610571506 A CN201610571506 A CN 201610571506A CN 106161630 A CN106161630 A CN 106161630A
- Authority
- CN
- China
- Prior art keywords
- client
- screen
- server
- application window
- window
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/75—Indicating network or usage conditions on the user display
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Digital Computer Display Output (AREA)
Abstract
The present invention relates to a kind of client screen based on RDP and update display packing, the method comprises the steps: that (1) monitoring server screen-picture changes, and performs step (2);(2) server screen change is mapped to application window, it may be judged whether affect buffer update, if the step of being carried out (3), otherwise perform step (4);(3) whether application window oral replacement area size exceedes setting value, if the differentiation then carrying out server buffer and client-cache updates, and shows in client, otherwise merges renewal, and show in client;(4) extracting the caching that window is corresponding of applying of storage in server buffer table and be indexed to client, client is extracted the image corresponding with caching index from client-cache table and shows.Compared with prior art, the present invention can remove the mass of redundancy data in data transmission procedure, is greatly reduced volume of transmitted data, saves the network bandwidth, improves net reaction speed.
Description
Technical field
The present invention relates to a kind of client screen and update display packing, especially relate to a kind of based on RDP
Client screen updates display packing.
Background technology
RDP is the screen updates of remote desktop to be sent to subscription client show.Run at remote desktop
During to have the picture of a lot of screen updates be the same, recover again after such as some window being minimized, by a window
Mouth is switched to foreground from backstage, and these operations all can make the picture of these windows redraw, but the content of picture is in fact
It is the same, or simply has very small part to there occurs change, there is mass of redundancy data.If each time after operation all
Window picture to be redrawn, it will transmit substantial amounts of redundant image information data, meeting occupied bandwidth, reduce net reaction speed.
The shortcoming of the scheme that prior art uses is: only cache the screen updates picture of view picture, has a small amount of renewal at picture
Time do not cache, therefore result in cache invalidation;Additionally, the renewal of user's desktop screen picture does not rise with concrete application contacts
Coming, therefore the fullest when the memory space of caching, accuracy when needing to replace caching picture is relatively low, and picture repaints speed
Degree is slow, and screen-picture postpones to make user feel.
Summary of the invention
Defect that the purpose of the present invention is contemplated to overcome above-mentioned prior art to exist and provide a kind of based on remote desktop
The client screen of agreement updates display packing.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of client screen based on RDP updates display packing, and the method comprises the steps:
(1) monitoring server screen-picture change, performs step (2) after server screen changes;
(2) server screen change is mapped to concrete application window, and according to each application window operation judges whether
Affect buffer update, if the step of being carried out (3), otherwise perform step (4);
(3) judge whether each application window oral replacement area size affecting buffer update exceedes setting value, if then to this
Application window carries out the differentiation of server buffer and client-cache and updates, and the screen on client display server screen
Curtain content, performs step (5), and the merging otherwise carrying out server buffer and client-cache updates, and at client display clothes
Screen content on business device screen, performs step (5);
(4) caching extracting application window corresponding on server screen from server buffer table indexes and sends to visitor
Family end, client is extracted the image corresponding with caching index from client-cache table and shows in client, performs step
(5);
(5) whether terminating remotely to show, if then terminating, otherwise returning step (1).
In step (1), monitoring server screen-picture is changed particularly as follows: entered server screen by mirror image video driver
Row monitoring, when video card operation is submitted in a certain application to, mirror image video driver obtains server screen picture change request.
The window that server screen change is mapped in step (2) concrete application is specially the object searching Windows,
Thus screen change is mapped to concrete application window.
Whether step (2) affects buffer update according to application window operation judges particularly as follows: search the application-window of storage
Attribute list, it is judged that the attribute of application window is its visibility window or invisible window, if its visibility window then this application window shadow
Ring buffer update, if invisible window then this application window does not affect buffer update.
In step (3) differentiation update particularly as follows:
With application window the upper left corner as zero, whole application window is divided into the grid that multiple size is identical,
The former caching picture of this application window is extracted, by each grid and corresponding grid position in former caching picture from server buffer table
Contrasting, extract coordinate corresponding to inconsistent grid and generate grid renewal list, described grid updates list and includes
Application window correspondence mesh coordinate and the picture RGB data of correspondence, and then carry out server buffer and client-cache more
Newly.
Step (3) merges and updates particularly as follows: obtain the overall picture RGB data of application window, carry out server buffer
Renewal with client-cache.
In step (4), server buffer table is Hash table, and this Hash table includes hash index and corresponding picture RGB number
According to, described hash index is caching index, and described client-cache table is the Hash consistent with server buffer table
Table.
Compared with prior art, present invention have the advantage that
(1) search when server screen picture changes during the client screen of the present invention updates display packing and accordingly should
With, and will be its visibility window according to application window or invisible window judges whether screen-picture change affects buffer update,
If affecting buffer update server buffer and client-cache are updated, otherwise directly call client by caching index
In caching carry out the display of client screen, remove the mass of redundancy data in data transmission procedure, be greatly reduced data and pass
Throughput rate, saves the network bandwidth, improves net reaction speed, reduce the purpose of user screen-picture time delay;
(2) present invention judges screen updates area size, uses differentiation to update, to subtract for the application that update area is big
The web database technology that few full frame renewal brings is big and screen shows that slow shortcoming, the employing that corresponding update area is little merge and updates,
To reduce the network packet brought of the least renewal too much and the shortcoming of client computing resource waste.
Accompanying drawing explanation
Fig. 1 is the FB(flow block) that present invention client screen based on RDP updates display packing.
Detailed description of the invention
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment
As it is shown in figure 1, a kind of client screen based on RDP updates display packing, the method includes as follows
Step:
Step 1: monitoring server screen-picture changes, specifically: carried out server screen by mirror image video driver
Monitoring, when video card operation is submitted in a certain application to, mirror image video driver obtains server screen picture change request, performs step
2;
Step 2: judge whether server screen picture changes, specifically whether mirror image video driver gets service
Device screen-picture change request, if then performing step 3, otherwise returns step 1;
Step 3: server screen change is mapped to concrete application window, is specially the object searching Windows, from
And screen change is mapped to concrete application window, perform step 4;
Step 4: whether affect buffer update according to each application window operation judges, if then performing step 5, otherwise performs
Step 8;
Step 5: judge whether each application window oral replacement area size affecting buffer update exceedes setting value, if being carried out
Step 6, otherwise performs step 7;
Step 6: the differentiation this application window being carried out to server buffer and client-cache updates, and in client
Screen content on display server screen, performs step 9;
Step 7: the merging this application window being carried out to server buffer and client-cache updates, and shows in client
Show the screen content on server screen, perform step 9;
Step 8: the caching extracting application window corresponding on screen from server buffer table indexes and sends to client
Holding, client is extracted the image corresponding with caching index from client-cache table and shows in client, performs step 9, its
Middle server buffer table is Hash table, and this Hash table includes hash index and corresponding picture RGB data, described hash index
Being caching index, described client-cache table is the Hash table consistent with server buffer table;
Step 9: judge whether to terminate remotely to show, if then terminating, otherwise returns step 1.
Wherein step 4 judges whether to affect buffer update according to application window particularly as follows: search the application-window of storage
Attribute list, it is judged that the attribute of application window is its visibility window or invisible window, if its visibility window then this application window shadow
Ring buffer update, if invisible window then this application window does not affect buffer update.
In step 6, differentiation updates particularly as follows: with the application window upper left corner of display on server screen as zero,
Whole application window is divided into the grid that multiple size is identical, from server buffer table, extracts the former caching of this application window
Picture, contrasts each grid with corresponding grid position in former caching picture, extracts coordinate corresponding to inconsistent grid also
Generating grid and update list, described grid updates list and includes applying window correspondence mesh coordinate and the picture RGB of correspondence
Data, and then carry out the renewal of server buffer and client-cache.
Step 7 merges and updates particularly as follows: obtain the overall picture RGB of server screen update area place application window
Data, carry out the renewal of server buffer and client-cache.
Step 6, step 7 achieve two kinds of different window update modes, and the application window big for update area uses
Differentiation updates, and to reduce, web database technology that full frame renewal brings is big and screen shows slow shortcoming, little to update area
Use to merge and update, to reduce the network packet brought of the least renewal too much and the lacking of client computing resource waste
Point.
When carrying out picture service device caching or client buffer update, if spatial cache is the fullest, mainly use FIFO,
The cache replacement algorithms such as LRU, LFU carry out caching and replace.
Wherein: FIFO (First IN First Out) algorithm: be fifo algorithm, it always replace call at first slow
The picture deposited, i.e. replaces the picture that residence time is the longest in the buffer, it is believed that the longest picture of residence time is no longer used
Probability is bigger.
LRU (Least Recently Used) algorithm: the picture of minimum for nearest a period of time use is replaced out caching,
It considers based on Local principle of programme, it is believed that those firm used pictures may also be used immediately, and
The picture that those are not used by a long time may will not be used immediately.
LFU (Lease Frequently Used) algorithm: the most commonly used replacement algorithm, access times are minimum
Content replace out caching, it is desirable to replace the picture that reference count is minimum when picture is replaced, because the picture being frequently used
One should be had bigger to quote number of times.But some picture is to start with number of times a lot, but the most just not in use by, this
Class picture will stay in the buffer for a long time, therefore the timing of reference count depositor can be moved to right one, form exponential damping
Average access times.
Claims (7)
1. a client screen based on RDP updates display packing, it is characterised in that the method includes as follows
Step:
(1) monitoring server screen-picture change, performs step (2) after server screen changes;
(2) server screen change is mapped to concrete application window, and whether affects according to each application window operation judges
Buffer update, if the step of being carried out (3), otherwise performs step (4);
(3) judge whether each application window oral replacement area size affecting buffer update exceedes setting value, if then to this application
Window carries out the differentiation of server buffer and client-cache and updates, and in the screen on client display server screen
Holding, perform step (5), the merging otherwise carrying out server buffer and client-cache updates, and at client display server
Screen content on screen, performs step (5);
(4) caching extracting application window corresponding on server screen from server buffer table indexes and sends to client
End, client is extracted the image corresponding with caching index from client-cache table and shows in client, performing step (5);
(5) whether terminating remotely to show, if then terminating, otherwise returning step (1).
A kind of client screen based on RDP the most according to claim 1 updates display packing, its feature
Being, in step (1), monitoring server screen-picture is changed particularly as follows: supervised server screen by mirror image video driver
Control, when video card operation is submitted in a certain application to, mirror image video driver obtains server screen picture change request.
A kind of client screen based on RDP the most according to claim 1 updates display packing, its feature
Being, the window that server screen change is mapped in step (2) concrete application is specially the object searching Windows, from
And screen change is mapped to concrete application window.
A kind of client screen based on RDP the most according to claim 1 updates display packing, its feature
Being, whether shadow buffer update is particularly as follows: search the application-window attribute of storage according to application window operation judges for step (2)
List, it is judged that the attribute of application window is its visibility window or invisible window, if the impact of its visibility window then this application window is slow
Deposit renewal, if invisible window then this application window does not affect buffer update.
A kind of client screen based on RDP the most according to claim 1 updates display packing, its feature
Be, in step (3) differentiation update particularly as follows:
With application window the upper left corner as zero, whole application window is divided into the grid that multiple size is identical, from clothes
Business device cache table is extracted the former caching picture of this application window, each grid is carried out with corresponding grid position in former caching picture
Contrast, extracts coordinate corresponding to inconsistent grid and generates grid renewal list, and described grid updates list and includes application
Window correspondence mesh coordinate and the picture RGB data of correspondence, and then carry out the renewal of server buffer and client-cache.
A kind of client screen based on RDP the most according to claim 1 updates display packing, its feature
It is, step (3) merges and updates particularly as follows: obtain the overall picture RGB data of application window, carry out server buffer and visitor
The renewal of family end caching.
A kind of client screen based on RDP the most according to claim 1 updates display packing, its feature
Being, in step (4), server buffer table is Hash table, and this Hash table includes hash index and corresponding picture RGB data, institute
The hash index stated is caching index, and described client-cache table is the Hash table consistent with server buffer table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610571506.7A CN106161630A (en) | 2016-07-20 | 2016-07-20 | A kind of client screen based on RDP updates display packing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610571506.7A CN106161630A (en) | 2016-07-20 | 2016-07-20 | A kind of client screen based on RDP updates display packing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106161630A true CN106161630A (en) | 2016-11-23 |
Family
ID=58060340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610571506.7A Pending CN106161630A (en) | 2016-07-20 | 2016-07-20 | A kind of client screen based on RDP updates display packing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161630A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101830A (en) * | 2016-07-08 | 2016-11-09 | 中霆云计算科技(上海)有限公司 | A kind of video flow detection method combined based on region detection and applying detection |
CN107911353A (en) * | 2017-11-06 | 2018-04-13 | 西安万像电子科技有限公司 | Data transmission method, apparatus and system |
CN108304239A (en) * | 2018-01-26 | 2018-07-20 | 杨立群 | For remote-operated quick interface exchange method and device |
CN109168071A (en) * | 2018-09-21 | 2019-01-08 | 西安万像电子科技有限公司 | Image processing method and device |
CN109189542A (en) * | 2018-09-28 | 2019-01-11 | 成都安恒信息技术有限公司 | A kind of remote desktop access method for O&M auditing system |
CN110866036A (en) * | 2019-11-15 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Data processing method, system, device, terminal and readable storage medium |
CN112218003A (en) * | 2019-07-12 | 2021-01-12 | 杭州海康威视系统技术有限公司 | Desktop image acquisition method and device and electronic equipment |
US11189003B2 (en) | 2017-10-23 | 2021-11-30 | Huawei Technologies Co., Ltd. | Graphics processing method and related apparatus, and device for unidirectionally transmitting calling information of a graphics API to a client |
CN114610424A (en) * | 2022-02-11 | 2022-06-10 | 阿里巴巴(中国)有限公司 | Data processing method, window display method of cloud application and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014127A (en) * | 2007-01-26 | 2007-08-08 | 华中科技大学 | Remote desktop synchronizing method in ubiquitous environment |
CN101404768A (en) * | 2008-10-07 | 2009-04-08 | 广东威创视讯科技股份有限公司 | Image-processing method |
CN101420610A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Method for displaying remote desktop content and apparatus thereof |
CN101883140A (en) * | 2010-06-13 | 2010-11-10 | 北京北大众志微系统科技有限责任公司 | Coding system and method based on remote display as well as server |
CN102307153A (en) * | 2011-10-14 | 2012-01-04 | 王宁 | Virtual desktop transmission device and method |
CN102566910A (en) * | 2011-12-14 | 2012-07-11 | 广州杰赛科技股份有限公司 | Virtual desktop system and method for refreshing on-screen display of virtual desktop client |
CN103294438A (en) * | 2013-06-21 | 2013-09-11 | 镇江冈山电子有限公司 | Transmission control method and system of virtual desktop images |
-
2016
- 2016-07-20 CN CN201610571506.7A patent/CN106161630A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014127A (en) * | 2007-01-26 | 2007-08-08 | 华中科技大学 | Remote desktop synchronizing method in ubiquitous environment |
CN101420610A (en) * | 2007-10-26 | 2009-04-29 | 闪联信息技术工程中心有限公司 | Method for displaying remote desktop content and apparatus thereof |
CN101404768A (en) * | 2008-10-07 | 2009-04-08 | 广东威创视讯科技股份有限公司 | Image-processing method |
CN101883140A (en) * | 2010-06-13 | 2010-11-10 | 北京北大众志微系统科技有限责任公司 | Coding system and method based on remote display as well as server |
CN102307153A (en) * | 2011-10-14 | 2012-01-04 | 王宁 | Virtual desktop transmission device and method |
CN102566910A (en) * | 2011-12-14 | 2012-07-11 | 广州杰赛科技股份有限公司 | Virtual desktop system and method for refreshing on-screen display of virtual desktop client |
CN103294438A (en) * | 2013-06-21 | 2013-09-11 | 镇江冈山电子有限公司 | Transmission control method and system of virtual desktop images |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106101830A (en) * | 2016-07-08 | 2016-11-09 | 中霆云计算科技(上海)有限公司 | A kind of video flow detection method combined based on region detection and applying detection |
US11189003B2 (en) | 2017-10-23 | 2021-11-30 | Huawei Technologies Co., Ltd. | Graphics processing method and related apparatus, and device for unidirectionally transmitting calling information of a graphics API to a client |
CN107911353A (en) * | 2017-11-06 | 2018-04-13 | 西安万像电子科技有限公司 | Data transmission method, apparatus and system |
CN108304239A (en) * | 2018-01-26 | 2018-07-20 | 杨立群 | For remote-operated quick interface exchange method and device |
CN109168071A (en) * | 2018-09-21 | 2019-01-08 | 西安万像电子科技有限公司 | Image processing method and device |
CN109189542A (en) * | 2018-09-28 | 2019-01-11 | 成都安恒信息技术有限公司 | A kind of remote desktop access method for O&M auditing system |
CN109189542B (en) * | 2018-09-28 | 2021-10-15 | 成都安恒信息技术有限公司 | Remote desktop access method for operation and maintenance auditing system |
CN112218003A (en) * | 2019-07-12 | 2021-01-12 | 杭州海康威视系统技术有限公司 | Desktop image acquisition method and device and electronic equipment |
CN112218003B (en) * | 2019-07-12 | 2023-03-10 | 杭州海康威视系统技术有限公司 | Desktop image acquisition method and device and electronic equipment |
CN110866036A (en) * | 2019-11-15 | 2020-03-06 | 腾讯科技(深圳)有限公司 | Data processing method, system, device, terminal and readable storage medium |
CN110866036B (en) * | 2019-11-15 | 2023-02-10 | 腾讯科技(深圳)有限公司 | Data processing method, system, device, terminal and readable storage medium |
CN114610424A (en) * | 2022-02-11 | 2022-06-10 | 阿里巴巴(中国)有限公司 | Data processing method, window display method of cloud application and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106161630A (en) | A kind of client screen based on RDP updates display packing | |
CN103294438B (en) | The controls transfer method and system of virtual desktop image | |
US10423527B2 (en) | Memory management and image display for mobile devices | |
US8774536B1 (en) | Efficient processing of streams of images within a moving window session | |
US9646254B2 (en) | Predicting next web pages | |
CN109032390A (en) | Handwriting data caching method, device, equipment and storage medium | |
CN106599239A (en) | Webpage content data acquisition method and server | |
CN110493269A (en) | A kind of method of the long-range Docker container desktop of Web | |
CN106909690A (en) | Network data caching method | |
US9529463B1 (en) | Method and device for reducing latency for rendering and displaying stylus strokes | |
CN108153573A (en) | Cloud desktop picture update method and virtual machine | |
WO2015196804A1 (en) | Virtual desktop image processing method and device, virtual desktop server and thin terminal | |
CN103412827A (en) | Picture caching method and picture caching system | |
US20200335066A1 (en) | Location-Based Display of Pixel History | |
CN107479897B (en) | A kind of vector graphics interface Zoom method used on video monitoring equipment | |
CN105446676B (en) | Carry out the method and device that large-size screen monitors are shown | |
CN107480072A (en) | Lucidification disposal service end cache optimization method and system based on association mode | |
CN103269353A (en) | Web cache and return optimization method and Web cache system | |
CN112162668B (en) | Interface updating method and monitoring terminal | |
CN101308449A (en) | Remote desktop system windows cache method | |
CN105094977A (en) | Method and device for adjusting memory occupied by application program based on domain name | |
JPWO2015107672A1 (en) | Image processing program, image processing method, and image processing apparatus | |
CN103581119A (en) | System and method for displaying production process data at high speed | |
CN103116441B (en) | A kind of windows switching method and device | |
CN106933482A (en) | A kind of method and apparatus for switching object |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180613 Address after: 523000 A2, 7 floor, home town plaza, South five village, Houjie Town, Dongguan, Guangdong Applicant after: Dongguan Zheng Xun Industrial Investment Co., Ltd. Address before: 200070 8005, room 3, 533 Po Chang Road, Zhabei District, Shanghai. Applicant before: Ting Yun computing technology (Shanghai) Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161123 |
|
WD01 | Invention patent application deemed withdrawn after publication |