CN103888524A - Method and system for graphic desktop synchronization - Google Patents
Method and system for graphic desktop synchronization Download PDFInfo
- Publication number
- CN103888524A CN103888524A CN201410088879.XA CN201410088879A CN103888524A CN 103888524 A CN103888524 A CN 103888524A CN 201410088879 A CN201410088879 A CN 201410088879A CN 103888524 A CN103888524 A CN 103888524A
- Authority
- CN
- China
- Prior art keywords
- desktop
- data
- client
- request
- server
- 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.)
- Granted
Links
Images
Abstract
The invention provides a method and system for graphic desktop synchronization. The method comprises the steps that a graphic desktop is generated through a desktop server and graphic desktop data requests sent by client sides are received; whether the graphic desktop data requests sent by all the client sides are received or not is judged, if yes, the graphic desktop is processed and compressed according to the graphic desktop data requests, and the compressed data are sent to the client sides; the compressed data are decompressed in the client sides, and decompression accomplishment orders are sent to the desktop server; whether the decompression accomplishment orders fed back by all the client sides are received or not is judged through the desktop server, and if yes, a plotting order is sent to each client side; according to the plotting orders, desktop graphic plotting is conducted on the decompressed data in the client sides. The synchronization efficiency is improved through the method and system.
Description
Technical field
The present invention relates to simultaneous techniques field, particularly relate to a kind of figure desktop synchronous method and system.
Background technology
Since the appearance of computer graphical desktop technology and application, desktop resolution has experienced evolution from low to high.In order to obtain higher desktop resolution, multiple graphic display cards are installed in single computer and are produced single desktop by driver and become mainstream technology means.But be limited to bussing technique and single computer performance, the impossible unconfined raising desktop resolution of this technology, and because resolution is higher, the data that need to refresh are more, and bus bandwidth is limited, therefore must cause Refresh Data rate to reduce.
In order to meet the demand of some industry for ultrahigh resolution desktop application, in conventional art, adopt a station server and many multi-screen processor compound modes, i.e. the same frame desktop picture of multi-client splicing Concurrent Display.。High graphics desktop is generated by a table surface server (hereinafter to be referred as server), but output display task is born by other some multi-screen processors (hereinafter to be referred as client).The figure desktop being generated by server, resolution is just in time all client resolution sums.Although adopt this technology to solve unicomputer output desktop lack of resolution, the problem that Refresh Data rate is low, but because each client is independently to carry out body, independent and desktop server complete the processing of the figure desktop data of self asking alternately.Due to the uncertainty of some Internet Transmissions, and the appearance of the factor such as graphic processing data speed degree will cause some problems, the problem such as inconsistency and dynamic desktop picture break-up while being mainly manifested in the same frame desktop picture of multi-client splicing Concurrent Display.
In conventional art, tear problem in order to solve desktop picture, often realize synchronous based on timestamp.But stab more complicated service time, and it is large to realize difficulty, thereby causes synchronous efficiency low.
Summary of the invention
Based on this, being necessary, for realizing the problem that difficulty is large, synchronous efficiency is low, provides a kind of figure desktop synchronous method and system.
A kind of figure desktop synchronous method, comprises step:
Generate figure desktop by desktop server, and receive the figure desktop request of data that client sends;
Judge whether to receive the figure desktop request of data of all clients, if so, according to each figure desktop request of data, described figure desktop is processed and compressed, packed data is sent to corresponding client;
In client, packed data is carried out to decompress(ion), and complete instruction to desktop server transmission decompress(ion);
Judge whether that by desktop server the decompress(ion) of receiving all client feedback completes instruction, if so, send drawing for order to each client;
According to drawing for order, the decompressed data in client is carried out to desktop graphic plotting.
A kind of figure desktop synchro system, comprising:
Figure desktop generation module, for generating figure desktop by desktop server;
Figure desktop request of data judge module, for receive the figure desktop request of data of client transmission by desktop server, and judges whether to receive the figure desktop request of data of all clients;
Packed data sending module, when receive the figure desktop request of data of all clients when desktop server, processes described figure desktop compress according to each figure desktop request of data, and packed data is sent to corresponding client;
Decompress(ion) completes instruction sending module, in client, packed data being carried out to decompress(ion), and completes instruction to desktop server transmission decompress(ion);
Decompress(ion) completes instruction judge module, for being judged whether that by desktop server the decompress(ion) of receiving all client feedback completes instruction;
Drawing for order sending module, when receiving that when desktop server the decompress(ion) of all client feedback completes instruction, sends drawing for order to each client;
The instruction of desktop graphic plotting, for carrying out desktop graphic plotting according to drawing for order by the decompressed data of client.
Above-mentioned figure desktop synchronous method and system, judge whether to receive the figure desktop request of data of all clients by desktop server, just process and compress in situation about receiving at the same time, realize process and packed data synchronously.Send decompress(ion) by client to desktop server and complete instruction, desktop server judgement is received after the decompress(ion) of all client feedback completes instruction and is just sent drawing for order, send synchronously thereby realize drawing for order, finally realize client and draw synchronously, reach figure desktop synchronous.The problem such as inconsistency and dynamic desktop picture break-up while having solved the same frame desktop picture of multi-client splicing Concurrent Display has overcome the complexity that in conventional art, timestamp causes and difficulty simultaneously, realizes than being easier to, thereby has improved synchronous efficiency.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of figure desktop synchronous method embodiment mono-of the present invention;
Fig. 2 is the schematic flow sheet of figure desktop synchronous method embodiment bis-of the present invention;
Fig. 3 is the structural representation of figure desktop synchro system embodiment of the present invention.
Embodiment
Be described in detail for each embodiment of figure desktop synchronous method of the present invention and system below.
As shown in Figure 1, be the schematic flow sheet of figure desktop synchronous method embodiment of the present invention, comprising:
Step S101: generate figure desktop by desktop server, and receive the figure desktop request of data that client sends;
The figure desktop that desktop server produces can be generic graphic desktop, can be also high graphics desktop.Desktop server produces after figure desktop, waits for client-requested figure desktop data.All clients can be sent request according to the resolution coordinates of self, send the figure desktop request of data of resolution coordinates corresponding part to desktop server.
Step S102: judge whether to receive the figure desktop request of data of all clients, if so, enter step S103;
Each client can send figure desktop request of data, no matter whether the content of this client needs to upgrade, in the time not needing to upgrade, still need to send out request and inform that this client of desktop server does not need to upgrade, the figure desktop request of data that therefore can judge whether to receive by desktop server all clients is synchronous thereby desktop server is processed figure desktop according to each client-requested.
Step S103: according to each figure desktop request of data, figure desktop is processed and compressed, packed data is sent to corresponding client;
Step S104: in client, packed data is carried out to decompress(ion), and complete instruction to desktop server transmission decompress(ion);
Step S105: judge whether that by desktop server the decompress(ion) of receiving all client feedback completes instruction, if so, enter step S106;
Step S106: send drawing for order to each client;
Step S107: the decompressed data in client is carried out to desktop graphic plotting according to drawing for order.
Figure desktop synchronous method of the present invention, judges whether to receive the figure desktop request of data of all clients by desktop server, just process and compress in situation about receiving at the same time, realize process and packed data synchronously.Send decompress(ion) by client to desktop server and complete instruction, desktop server judgement is received after the decompress(ion) of all client feedback completes instruction and is just sent drawing for order, send synchronously thereby realize drawing for order, finally realize client and draw synchronously, reach figure desktop synchronous.The problem such as inconsistency and dynamic desktop picture break-up while having solved the same frame desktop picture of multi-client splicing Concurrent Display has overcome the complexity that in conventional art, timestamp causes and difficulty simultaneously, has improved synchronous efficiency.
In an embodiment, in the time that figure desktop request of data is full graphics desktop request of data, according to each figure desktop request of data, figure desktop is processed and compressed therein, packed data is sent to corresponding client step, comprising:
According to each figure desktop request of data, figure desktop is carried out to piecemeal, obtain the spirte desktop data of corresponding client number; Be that each client is to there being a spirte desktop data.
Each spirte desktop data are carried out respectively compressing in frame, and packed data is sent to corresponding client.
Because figure desktop request of data is full graphics desktop request of data, what be that client sends is the request that the corresponding desktop data of self resolution coordinates need update all, so, figure desktop request of data is carried out after piecemeal, directly carry out compression in frame, and be sent to corresponding client.Due to the figure desktop that server generates, resolution is just in time all client resolution sums, and the desktop figure that each client is drawn forms a view picture figure desktop.
In another embodiment, the renewal of some client does not need update all, only need to upgrade the part changing, that is:
When figure desktop request of data is, while changing figure desktop request of data, according to each figure desktop request of data, figure desktop is processed and compressed, packed data is sent to corresponding client step, comprising:
According to each figure desktop request of data, figure desktop is carried out to piecemeal, obtain the spirte desktop data of corresponding client number;
Carry out interframe compression by changing figure desktop data in each spirte desktop data, and packed data is sent to corresponding client.Carry out interframe compression and send by vicissitudinous data in each spirte desktop data.
In the time that the figure desktop data of some client do not change, still need to send request to desktop server, inform and do not need to upgrade.The present embodiment, by only delta data being upgraded, has been simplified volume of transmitted data greatly, has improved synchronous efficiency.
In an embodiment, set up respectively the socket of unblock pattern according to desktop server and client, and desktop server is connected by Transmission Control Protocol with client therein.Between server and client, also can be undertaken alternately by IP network host-host protocol.
The various embodiments described above can independent assortment, such as, as shown in Figure 2, comprising:
Step S201: generate figure desktop by desktop server, and receive the full graphics desktop request of data that client sends;
Step S202: judge whether to receive the full graphics desktop request of data of all clients, if so, enter step S203, if not, return to step S201;
Step S203: figure desktop is carried out to piecemeal according to each figure full graphics desktop request of data, obtain the spirte desktop data of corresponding client number, each spirte desktop data are carried out respectively compressing in frame, and packed data is sent to corresponding client;
Step S204: in client, packed data is carried out to decompress(ion), and complete instruction to desktop server transmission decompress(ion);
Step S205: judge whether that by desktop server the decompress(ion) of receiving all client feedback completes instruction, if so, enter step S206, otherwise, return to step S201;
Step S206: send drawing for order to each client;
Step S207: the decompressed data in client is carried out to desktop graphic plotting according to drawing for order;
Step S208: receive by desktop server the variation figure desktop request of data that client sends, and judge whether to receive the variation figure desktop request of data of all clients, if so, enter step S209, if not, finish;
Step S209: figure desktop is carried out to piecemeal according to each figure desktop request of data, obtain the spirte desktop data of corresponding client number, carry out interframe compression by changing figure desktop data in each spirte desktop data, and packed data is sent to corresponding client;
Step S210: in client, packed data is carried out to decompress(ion), and complete instruction to desktop server transmission decompress(ion), and enter step S205.
The present embodiment can be based on high graphics desktop technology the C/S network architecture, adopt TCP host-host protocol, web socket adopts unblock pattern, server end Adoption Network event model is managed the connection request of all clients.In step S208, in the time not receiving request of data, this flow process finishes.First this embodiment receives full graphics desktop request of data by desktop server, and after a series of processing, client is drawn complete desktop figure separately, thus on combination complete figure desktop of Concurrent Display.In follow-up renewal process, taking this figure desktop as benchmark, only need to upgrade the graphical content changing, greatly alleviate transmission quantity, improve synchronous efficiency.
According to above-mentioned figure desktop synchronous method, the present invention also provides a kind of figure desktop synchro system, as shown in Figure 3, comprising:
Figure desktop generation module 310, for generating figure desktop by desktop server;
Figure desktop request of data judge module 320, for receive the figure desktop request of data of client transmission by desktop server, and judges whether to receive the figure desktop request of data of all clients;
Packed data sending module 330, when receive the figure desktop request of data of all clients when desktop server, processes figure desktop compress according to each figure desktop request of data, and packed data is sent to corresponding client;
Decompress(ion) completes instruction sending module 340, in client, packed data being carried out to decompress(ion), and completes instruction to desktop server transmission decompress(ion);
Decompress(ion) completes instruction judge module 350, for being judged whether that by desktop server the decompress(ion) of receiving all client feedback completes instruction;
Drawing for order sending module 360, when receiving that when desktop server the decompress(ion) of all client feedback completes instruction, sends drawing for order to each client;
Desktop graphic plotting instruction 370, for carrying out desktop graphic plotting according to drawing for order by the decompressed data of client.
In an embodiment, packed data sending module comprises therein:
Figure desktop piecemeal module, for figure desktop being carried out to piecemeal according to each figure desktop request of data, obtains the spirte desktop data of corresponding client number;
Data compressing module, for each spirte desktop data are compressed respectively, and is sent to corresponding client by packed data.
In an embodiment, data compressing module comprises therein:
Compression module in Frame, in the time that figure desktop request of data is full graphics desktop request of data, carries out each spirte desktop data respectively to compress in frame, and packed data is sent to corresponding client;
Compression module between Frame, for when figure desktop request of data is when changing figure desktop request of data, carries out interframe compression by changing figure desktop data in each spirte desktop data, and packed data is sent to corresponding client.
In an embodiment, also comprise socket creation module therein, for:
Desktop server and client are set up respectively to unblock pattern socket, and desktop server is connected by Transmission Control Protocol with client.
In an embodiment, figure desktop is high graphics desktop therein.
The various embodiments described above can independent assortment, does not repeat them here.
Figure desktop synchro system of the present invention and figure desktop synchronous method of the present invention are one to one, correlation technique feature in above-mentioned figure desktop synchronous method embodiment and technique effect thereof are all applicable to, in figure desktop synchro system embodiment, not repeat them here.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a figure desktop synchronous method, is characterized in that, comprises step:
Generate figure desktop by desktop server, and receive the figure desktop request of data that client sends;
Judge whether to receive the figure desktop request of data of all clients, if so, according to each figure desktop request of data, described figure desktop is processed and compressed, packed data is sent to corresponding client;
In client, packed data is carried out to decompress(ion), and complete instruction to desktop server transmission decompress(ion);
Judge whether that by desktop server the decompress(ion) of receiving all client feedback completes instruction, if so, send drawing for order to each client;
According to drawing for order, the decompressed data in client is carried out to desktop graphic plotting.
2. figure desktop synchronous method according to claim 1, is characterized in that, described figure desktop request of data is full graphics desktop request of data;
Describedly according to each figure desktop request of data, described figure desktop processed and compressed, packed data is sent to corresponding client step, comprising:
According to each figure desktop request of data, described figure desktop is carried out to piecemeal, obtain the spirte desktop data of corresponding client number;
Each spirte desktop data are carried out respectively compressing in frame, and packed data is sent to corresponding client.
3. figure desktop synchronous method according to claim 1, is characterized in that, described figure desktop request of data is for changing figure desktop request of data;
Describedly according to each figure desktop request of data, described figure desktop processed and compressed, packed data is sent to corresponding client step, comprising:
According to each figure desktop request of data, described figure desktop is carried out to piecemeal, obtain the spirte desktop data of corresponding client number;
Carry out interframe compression by changing figure desktop data in each spirte desktop data, and packed data is sent to corresponding client.
4. according to the figure desktop synchronous method described in claims 1 to 3, it is characterized in that, describedly generate figure desktop by desktop server, and before receiving the figure desktop request of data step that client sends, also comprise:
Set up respectively the socket of unblock pattern according to described desktop server and described client, and described desktop server is connected by Transmission Control Protocol with described client.
5. according to the figure desktop synchronous method described in claims 1 to 3, it is characterized in that, described figure desktop is high graphics desktop.
6. a figure desktop synchro system, is characterized in that, comprising:
Figure desktop generation module, for generating figure desktop by desktop server;
Figure desktop request of data judge module, for receive the figure desktop request of data of client transmission by desktop server, and judges whether to receive the figure desktop request of data of all clients;
Packed data sending module, when receive the figure desktop request of data of all clients when desktop server, processes described figure desktop compress according to each figure desktop request of data, and packed data is sent to corresponding client;
Decompress(ion) completes instruction sending module, in client, packed data being carried out to decompress(ion), and completes instruction to desktop server transmission decompress(ion);
Decompress(ion) completes instruction judge module, for being judged whether that by desktop server the decompress(ion) of receiving all client feedback completes instruction;
Drawing for order sending module, when receiving that when desktop server the decompress(ion) of all client feedback completes instruction, sends drawing for order to each client;
The instruction of desktop graphic plotting, for carrying out desktop graphic plotting according to drawing for order by the decompressed data of client.
7. figure desktop synchro system according to claim 6, is characterized in that, described packed data sending module comprises:
Figure desktop piecemeal module, for described figure desktop being carried out to piecemeal according to each figure desktop request of data, obtains the spirte desktop data of corresponding client number;
Data compressing module, for each spirte desktop data are compressed respectively, and is sent to corresponding client by packed data.
8. figure desktop synchro system according to claim 7, is characterized in that, described data compressing module comprises:
Compression module in Frame, in the time that described figure desktop request of data is full graphics desktop request of data, carries out each spirte desktop data respectively to compress in frame, and packed data is sent to corresponding client;
Compression module between Frame, for when described figure desktop request of data is when changing figure desktop request of data, carries out interframe compression by changing figure desktop data in each spirte desktop data, and packed data is sent to corresponding client.
9. according to the figure desktop synchro system described in claim 6 to 8, it is characterized in that, also comprise socket creation module, for:
Described desktop server and described client are set up respectively to unblock pattern socket, and described desktop server is connected by Transmission Control Protocol with described client.
10. according to the figure desktop synchro system described in claim 6 to 8, it is characterized in that, described figure desktop is high graphics desktop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410088879.XA CN103888524B (en) | 2014-03-11 | 2014-03-11 | Graphic tabletop synchronous method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410088879.XA CN103888524B (en) | 2014-03-11 | 2014-03-11 | Graphic tabletop synchronous method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103888524A true CN103888524A (en) | 2014-06-25 |
CN103888524B CN103888524B (en) | 2018-01-23 |
Family
ID=50957240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410088879.XA Expired - Fee Related CN103888524B (en) | 2014-03-11 | 2014-03-11 | Graphic tabletop synchronous method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103888524B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105590440A (en) * | 2016-01-29 | 2016-05-18 | 河南捷步电子科技有限公司 | Remote control system and method for convenient terminal |
CN106970798A (en) * | 2017-03-31 | 2017-07-21 | 山东超越数控电子有限公司 | A kind of remote desktop figure accelerated method |
CN108769715A (en) * | 2018-05-22 | 2018-11-06 | 深圳市腾讯网络信息技术有限公司 | Method and device for processing graphic instruction data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404151A (en) * | 2008-08-04 | 2009-04-08 | 广东威创视讯科技股份有限公司 | Multi-screen splicing apparatus and method |
CN101986258A (en) * | 2010-11-18 | 2011-03-16 | 广东威创视讯科技股份有限公司 | Method and device for synchronously displaying desktop signals based on PCIE bus |
CN102821278A (en) * | 2012-07-27 | 2012-12-12 | 深信服网络科技(深圳)有限公司 | Remote desktop image transmission method and remote desktop image transmission system |
US20130120222A1 (en) * | 2011-11-14 | 2013-05-16 | Qnx Software Systems Limited | Concurrent Graphic Content On Multiple Displays |
-
2014
- 2014-03-11 CN CN201410088879.XA patent/CN103888524B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101404151A (en) * | 2008-08-04 | 2009-04-08 | 广东威创视讯科技股份有限公司 | Multi-screen splicing apparatus and method |
CN101986258A (en) * | 2010-11-18 | 2011-03-16 | 广东威创视讯科技股份有限公司 | Method and device for synchronously displaying desktop signals based on PCIE bus |
US20130120222A1 (en) * | 2011-11-14 | 2013-05-16 | Qnx Software Systems Limited | Concurrent Graphic Content On Multiple Displays |
CN102821278A (en) * | 2012-07-27 | 2012-12-12 | 深信服网络科技(深圳)有限公司 | Remote desktop image transmission method and remote desktop image transmission system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105590440A (en) * | 2016-01-29 | 2016-05-18 | 河南捷步电子科技有限公司 | Remote control system and method for convenient terminal |
CN106970798A (en) * | 2017-03-31 | 2017-07-21 | 山东超越数控电子有限公司 | A kind of remote desktop figure accelerated method |
CN108769715A (en) * | 2018-05-22 | 2018-11-06 | 深圳市腾讯网络信息技术有限公司 | Method and device for processing graphic instruction data |
CN108769715B (en) * | 2018-05-22 | 2022-05-13 | 深圳市腾讯网络信息技术有限公司 | Method and device for processing graphic instruction data |
Also Published As
Publication number | Publication date |
---|---|
CN103888524B (en) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101937325B (en) | Control method of splicing wall and control system of splicing wall | |
CN102413150B (en) | Server and virtual desktop control method and virtual desktop control system | |
KR101527991B1 (en) | Graphics remoting architecture | |
CN104660711A (en) | Remote visualized application method based on virtualization of graphic processor | |
CN107463370B (en) | Cross-process rendering method and system | |
CN110415325A (en) | Cloud renders three-dimensional the Visual Implementation method and system | |
CN107958437A (en) | A kind of big resolution ratio multi-screen figure block parallel rendering intents of more GPU | |
US20140108940A1 (en) | Method and system of remote communication over a network | |
EP2914040B1 (en) | Terminal and synchronization control method thereof | |
CN110765381A (en) | Web publishing method and system of distribution network main station based on WebAssembly technology | |
CN104572084B (en) | User interface generation and data distributing method, device in card business | |
US9930082B2 (en) | Method and system for network driven automatic adaptive rendering impedance | |
CN103402089A (en) | Virtual desktop image compressing method based on macro block technology | |
CN102523109A (en) | Resource state updating method, management client ends, and server | |
CN103888524A (en) | Method and system for graphic desktop synchronization | |
CN102647470A (en) | Cloud download method in on-line application platform and on-line application platform system | |
CN102546803A (en) | Remote desktop communication method based on capability set | |
CN104378419A (en) | High-speed data push method and system | |
CN104363110A (en) | EMS man-machine interface monitoring system and implementing method based on interface calculating service | |
CN115373618B (en) | Multi-screen display method and device, vehicle machine and storage medium | |
WO2016095377A1 (en) | Image display method and device for thin client and electronic equipment | |
CN112565818B (en) | Two-three-dimensional integrated operation station platform construction method and electronic equipment | |
CN103200237A (en) | Method and device for maintaining remote desktop synchronization | |
CN114422572A (en) | Cloud mobile phone control method and device, electronic equipment and storage medium | |
CN103268619B (en) | The method of image data batch compression in swf file and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180123 |
|
CF01 | Termination of patent right due to non-payment of annual fee |