CN103036996A - Distributed system window synchronous operation method and device - Google Patents
Distributed system window synchronous operation method and device Download PDFInfo
- Publication number
- CN103036996A CN103036996A CN2012105552432A CN201210555243A CN103036996A CN 103036996 A CN103036996 A CN 103036996A CN 2012105552432 A CN2012105552432 A CN 2012105552432A CN 201210555243 A CN201210555243 A CN 201210555243A CN 103036996 A CN103036996 A CN 103036996A
- Authority
- CN
- China
- Prior art keywords
- window
- node
- windowing
- image
- instruction
- 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
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a distributed system window synchronous operation method and a device and is applied to the technical field of communication. The distributed system window synchronous operation method includes: displaying nodes receive windowing commands sent by a control module; creating a window procedure process, running the window procedure at the backstage, and hiding the window; if the window procedure is ready, sending windowing ready commands to a synchronous module; the synchronous module receives the windowing ready commands and sends windowing synchronous commands to the displaying nodes after the receiving the windowing ready commands of the corresponding displaying nodes; the displaying nodes receive the windowing synchronous commands and display the window. The distributed system window synchronous operation method and the device can achieve synchronous displaying effects.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of distributed system window simultaneous operation method and device.
Background technology
Distributed system is based on the GIS-Geographic Information System (GIS that numeral is pieced together wall, Geo-Information system), comprise some demonstration nodes, GIS is divided into some little tasks with each demonstration task, and there is each demonstration node to process, show node through the window display data, each shows that the demonstration data splicing of node finishes the demonstration of whole GIS map.
In order to reach good visual experience, need to show that node carries out simultaneous display to each, in the prior art, each shows that node after receiving synchronizing signal, carries out fenestration procedure and shows that data are to reach the effect of simultaneous display.
Although prior art can reach good synchronous effect in the very little situation of the resolution of each demonstration node, but, if show that the resolution of node is very high, show node after receiving synchronizing signal, opening window, show again data, the response time of this process is relatively long, and then synchronous effect can be had a greatly reduced quality, and if show that the resolution of node is not identical and have in the situation of larger difference, the response time difference is larger, is difficult to reach the visual effect of simultaneous display.
Summary of the invention
The embodiment of the invention provides a kind of distributed system window simultaneous operation method and the device that can better realize simultaneous display.
A kind of distributed system window simultaneous operation method comprises: show that node receives the instruction of windowing that control module sends; Create the window writing routine process, create the example of window writing routine on the backstage, and hide window; If window writing routine is ready, then send the ready instruction of windowing to synchronization module; Synchronization module receives the ready instruction of windowing, and after receiving all ready instructions of windowing that show node, shows that to all node sends the synchronic command of windowing; Show that node receives the described synchronic command of windowing, display window.
A kind of distributed system window synchronous operation set comprises: show node, be used for receiving the instruction of windowing that control module sends; Create the window writing routine process, create the example of window writing routine on the backstage, and hide window; If window writing routine is ready, then send the ready instruction of windowing to synchronization module; Receive the synchronic command of windowing that lock unit sends, display window; Synchronization module is used for receiving the ready instruction of windowing, and after receiving all ready instructions of windowing that show node, shows that to all node sends the synchronic command of windowing.
In the technical scheme that the embodiment of the invention provides, show that node creates first the example of window writing routine on the backstage, and hide window, treat that all show when nodes are all ready, simultaneously display window, owing to only carry out in the display part synchronously, and the response time of display part is very short, therefore can obtain good visual experience, even the resolution of partial display node is very large, there is simultaneously part very little, also can well realizes synchronous effect in the present embodiment.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is distributed system window simultaneous operation method the first embodiment schematic diagram in the embodiment of the invention;
Fig. 2 is distributed system window simultaneous operation method the second embodiment schematic diagram in the embodiment of the invention;
Fig. 3 is distributed system window synchronous operation set embodiment schematic diagram in the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of distributed system window simultaneous operation method and device.The below is elaborated respectively.
See also Fig. 1, be distributed system window simultaneous operation method the first embodiment schematic diagram in the embodiment of the invention, comprising:
101, show that node receives the instruction of windowing that control module sends;
102, show that node creates the window writing routine process, at the running background window writing routine, and hide window;
Show that node creates the window writing routine process, create the example of window writing routine on the backstage, and at the running background window writing routine, and hide window, in the present embodiment, reality has been moved window writing routine, and stash, because each resolution that shows node may be different, hardware configuration is not identical yet, therefore shows that node is not identical to the spent time of display window from receiving the instruction of windowing yet, if receive after the instruction of windowing directly display window, then may cause not synchronously visually, each shows separately human window program of node in the present embodiment, but does not show.
If 103 window writing routines are ready, then send the ready instruction of windowing to synchronization module;
Show separately human window program of node, when window writing routine is ready, namely finished all required processing of display window, then send the ready instruction of windowing to synchronization module.
104, synchronization module receives the ready instruction of windowing, after the ready instruction of windowing that receives corresponding demonstration node, to showing that node sends the synchronic command of windowing;
105, show that node receives the described synchronic command of windowing, display window.
In the present embodiment, show that node creates first the example of window writing routine on the backstage, and hide window, treat that all show when nodes are all ready, simultaneously display window, owing to only carry out in the display part synchronously, and the response time of display part is very short, therefore can obtain good visual experience, even the resolution of partial display node is very large, there is simultaneously part very little, also can well realizes synchronous effect in the present embodiment.
See also Fig. 2, be distributed system window simultaneous operation method the second embodiment schematic diagram in the embodiment of the invention, comprising:
201, control module receives the fenestration procedure of client, creates a window identify label, shows that to each node sends the instruction of windowing.
The user carries out fenestration procedure in client, then control module receives the fenestration procedure of client, create a window identify label, the corresponding total window of this identify label, control module is processed fenestration procedure, and send the instruction of windowing to each node, optional, described demonstration node is the magic processor that prestige wound video signal Science and Technology Co., Ltd. produces.
202, show that node receives the instruction of windowing that control module sends;
203, show that node creates the window writing routine process, at the running background window writing routine, and hide window;
Show that node creates the window writing routine process, create the example of window writing routine on the backstage, and at the running background window writing routine, and hide window, in the present embodiment, reality has been moved window writing routine, and stashes, because each resolution that shows node may be different, hardware configuration is not identical yet, therefore show that node is not identical to the spent time of display window from receiving the instruction of windowing yet, if receive after the instruction of windowing directly display window, then may cause visually not synchronously, each shows separately human window program of node in the present embodiment, but do not show that further, described demonstration node is when window writing routine is initialized, according to resolution sizes separately, the size of window is set, and each coordinate, in order to when showing image, obtain the view data of indication range corresponding to this demonstration node.
If 204 window writing routines are ready, then send the ready instruction of windowing to synchronization module;
Show separately human window program of node, when window writing routine is ready, namely finished all required processing of display window, then send the ready instruction of windowing to synchronization module.
205, synchronization module receives the ready instruction of windowing, and after the ready instruction of windowing that receives corresponding demonstration node, shows that to all nodes send the synchronic command of windowing;
Synchronization module receives the ready instruction of windowing, after the ready instruction of windowing that receives corresponding demonstration node, show that to all node sends the synchronic command of windowing, further, when control module is windowed instruction to the transmission of demonstration node, the quantity that shows node is sent to synchronization module, after synchronization module receives the ready instruction of windowing of respective amount, then return simultaneously the synchronic command of windowing to the window path of ready instruction of former reception.
206, show that node receives the described synchronic command of windowing, display window.
Show that node receives the described synchronic command of windowing, display window, concrete, show node when receiving the synchronic command of windowing, change wide mouthful show state into demonstration by hiding, namely finish display window, owing to just changed show state, the time cost is very little, even in the very large situation of the resolution differences that shows node, also can visually reach the effect of simultaneous display window.
207, control module receives the image manipulation of client, shows that to each node sends corresponding image manipulation instruction.
The user carries out image manipulation in client, and is concrete, and described image manipulation can be image display operations, the image scaling operation, or the image translation operation, after opening window, the user need to carry out first image display operations, control module receives the image manipulation of client, show that to each node sends corresponding image manipulation instruction, optional, described image manipulation instruction indicating image shows, image scaling, or image translation.Image described in the present embodiment further, is geography information image, i.e. map.
208, show that node receives the image manipulation instruction that control module sends, and obtains the separately view data of indication range to data module;
Show that node receives the image manipulation instruction that control module sends, obtain the separately view data of indication range to data module, show that node receives the image manipulation instruction, size according to its window, and its indication range of each coordinate analysis, obtain the separately view data of indication range to data module, in the present embodiment, described data module is local hard drive, and local hard drive pre-save view data is because reading out data is very fast on local hard drive, can further reduce the response time, optionally, data module also can be the cloud dish, movable storage device or other equipment by network connection, further, described client, control module, synchronization module and data module operate on the PC.
209, show node according to view data at the backstage of window drawing image;
Show node according to view data at the backstage of window drawing image; The view data that shows the separately indication range that node will obtain from data module is drawn on the backstage, the image of drawing on the backstage does not show, because each shows that node needs data to be processed that larger difference is often arranged, present embodiment can be avoided the difference in processing time, reaches the effect of simultaneous display.
If 210 drawing images are finished, then send the ready instruction of image manipulation to synchronization module;
Show that node carries out Image Rendering separately, when drawing image is finished, send the ready instruction of image manipulation to synchronization module.
211, synchronization module receives the ready instruction of image manipulation, after the ready instruction of image manipulation that receives corresponding demonstration node, to showing that node sends the image manipulation synchronic command;
Synchronization module receives the ready instruction of image manipulation, after the ready instruction of image manipulation that receives corresponding demonstration node, show that to all node sends the synchronic command of windowing, further, when control module sends the image manipulation instruction to the demonstration node, the quantity of the demonstration node of executable operations is sent to synchronization module, and synchronization module then returns the synchronic command of windowing to the path of the ready instruction of former reception image manipulation after receiving the ready instruction of image manipulation of respective amount simultaneously.
212, show that node receives the image manipulation synchronic command, is presented at the image of completing in the backstage.
Show that node receives the image manipulation synchronic command, is presented at the image of completing in the backstage; Concrete, show when node receives the image manipulation synchronic command, with the back buffer district drawn image be shown on the window, owing to just carry out the demonstration of data, display speed is very fast, the time cost is very little, in the larger situation of the data variance of processing, also can visually reach the effect of simultaneous display image.
In the present embodiment, window and image be simultaneous display respectively, and visually synchronous effect is very good.
See also Fig. 3, be distributed system window synchronous operation set embodiment schematic diagram in the embodiment of the invention, comprising:
Show node 32, be used for receiving the instruction of windowing that control module 31 sends; Create the window writing routine process, create the example of window writing routine on the backstage, and hide window; If window writing routine is ready, then send the ready instruction of windowing to synchronization module 33; Receive the synchronic command of windowing that lock unit 33 sends, display window;
Further, described device also comprises data module 34, is used for to showing that node 32 provides view data;
Described demonstration node 32 is further used for, and receives the image manipulation instruction that control module 31 sends; Obtain the separately view data of indication range to data module 34; According to view data at the backstage of window drawing image; If drawing image is finished, then send the ready instruction of image manipulation to synchronization module 33; Receive the image manipulation synchronic command that synchronization module 33 sends, be presented at the image of completing in the backstage;
Described synchronization module 33 is further used for, and receives the ready instruction of image manipulation, after the ready instruction of image manipulation that receives corresponding demonstration node 32, to showing that node 32 sends the image manipulation synchronic command.
Further, described client 30, control module 31, synchronization module 33 operates on the PC.
Further, described data module also operates on the PC.
Further, described image manipulation is image display operations, image scaling operation, or image translation operation.
Further, described data module 34 is local hard drive, local hard drive pre-save view data.
Further, described demonstration node is the magic processor that prestige wound video signal Science and Technology Co., Ltd. produces.
In the present embodiment, show that node creates first the example of window writing routine on the backstage, and hide window, treat that all show when nodes are all ready, the while display window, when carrying out image manipulation, also be the drafting of carrying out first image on the backstage, when all show that node is ready, show simultaneously again image, owing to only carry out in the display part synchronously, and the response time of display part is very short, therefore can obtain good visual experience, even the resolution of partial display node is very large, there is simultaneously part very little, also can well realizes synchronous effect in the present embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: read-only memory (ROM), random-access memory (ram), disk or CD etc.
More than a kind of distributed system window simultaneous operation method and device that the embodiment of the invention is provided be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a distributed system window simultaneous operation method is characterized in that, comprising:
Show that node receives the instruction of windowing that control module sends;
Create the window writing routine process, at the running background window writing routine, and hide window;
If window writing routine is ready, then send the ready instruction of windowing to synchronization module;
Synchronization module receives the ready instruction of windowing, after the ready instruction of windowing that receives corresponding demonstration node, to showing that node sends the synchronic command of windowing;
Show that node receives the described synchronic command of windowing, display window.
2. method according to claim 1 is characterized in that, after described display window, also comprises:
Show that node receives the image manipulation instruction that control module sends;
Obtain the separately view data of indication range to data module;
According to view data at the backstage of window drawing image;
If drawing image is finished, then send the ready instruction of image manipulation to synchronization module;
Synchronization module receives the ready instruction of image manipulation, after the ready instruction of image manipulation that receives corresponding demonstration node, to showing that node sends the image manipulation synchronic command;
Show that node receives the image manipulation synchronic command, is presented at the image of completing in the backstage.
3. method according to claim 2 is characterized in that, described method also comprises: control module receives the fenestration procedure of client, creates a window identify label, shows that to each node sends the instruction of windowing;
Described method also comprises: control module receives the image manipulation of client, shows that to each node sends corresponding image manipulation instruction.
4. method according to claim 3 is characterized in that, described image manipulation is image display operations, image scaling operation, or image translation operation.
5. each described method in 4 according to claim 1 is characterized in that described data module is local hard drive, local hard drive pre-save view data.
6. a distributed system window synchronous operation set is characterized in that, comprising:
Show node, be used for receiving the instruction of windowing that control module sends; Create the window writing routine process, create the example of window writing routine on the backstage, and hide window; If window writing routine is ready, then send the ready instruction of windowing to synchronization module; Receive the synchronic command of windowing that lock unit sends, display window;
Synchronization module is used for receiving the ready instruction of windowing, after the ready instruction of windowing that receives corresponding demonstration node, to showing that node sends the synchronic command of windowing.
7. device according to claim 6 is characterized in that, described device also comprises data module, is used for to showing that node provides view data;
Described demonstration node is further used for, and receives the image manipulation instruction that control module sends; Obtain the separately view data of indication range to data module; According to view data at the backstage of window drawing image; If drawing image is finished, then send the ready instruction of image manipulation to synchronization module; Receive the image manipulation synchronic command that synchronization module sends, be presented at the image of completing in the backstage;
Described synchronization module is further used for, and receives the ready instruction of image manipulation, after the ready instruction of image manipulation that receives corresponding demonstration node, to showing that node sends the image manipulation synchronic command.
8. device according to claim 7 is characterized in that, described device also comprises client and control module, wherein:
Described control module, the fenestration procedure for receiving client creates a window identify label, shows that to each node sends the instruction of windowing; Receive the image manipulation of client, show that to each node sends corresponding image manipulation instruction;
Further, described client, control module, synchronization module operates on the PC.
9. device according to claim 8 is characterized in that, described image manipulation is image display operations, image scaling operation, or image translation operation.
10. each described device in 9 according to claim 6 is characterized in that described data module is local hard drive, local hard drive pre-save view data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105552432A CN103036996A (en) | 2012-12-19 | 2012-12-19 | Distributed system window synchronous operation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105552432A CN103036996A (en) | 2012-12-19 | 2012-12-19 | Distributed system window synchronous operation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103036996A true CN103036996A (en) | 2013-04-10 |
Family
ID=48023468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105552432A Pending CN103036996A (en) | 2012-12-19 | 2012-12-19 | Distributed system window synchronous operation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103036996A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063241A (en) * | 2014-06-05 | 2014-09-24 | 广东威创视讯科技股份有限公司 | Image synchronous display method and system of host program and COM component |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101910996A (en) * | 2008-01-07 | 2010-12-08 | 株式会社Ntt都科摩 | Information processing device and program |
CN102223415A (en) * | 2011-06-21 | 2011-10-19 | 广东威创视讯科技股份有限公司 | Window operation synchronization method of distributed processing system and device thereof |
CN102547205A (en) * | 2011-12-21 | 2012-07-04 | 广东威创视讯科技股份有限公司 | Method and system for displaying ultra-high resolution image |
-
2012
- 2012-12-19 CN CN2012105552432A patent/CN103036996A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101910996A (en) * | 2008-01-07 | 2010-12-08 | 株式会社Ntt都科摩 | Information processing device and program |
CN102223415A (en) * | 2011-06-21 | 2011-10-19 | 广东威创视讯科技股份有限公司 | Window operation synchronization method of distributed processing system and device thereof |
CN102547205A (en) * | 2011-12-21 | 2012-07-04 | 广东威创视讯科技股份有限公司 | Method and system for displaying ultra-high resolution image |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063241A (en) * | 2014-06-05 | 2014-09-24 | 广东威创视讯科技股份有限公司 | Image synchronous display method and system of host program and COM component |
CN104063241B (en) * | 2014-06-05 | 2017-07-18 | 广东威创视讯科技股份有限公司 | The method and system that the image synchronization of host program and com component is shown |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107832108B (en) | Rendering method and device of 3D canvas webpage elements and electronic equipment | |
EP3329682B1 (en) | A system for compositing video with interactive, dynamically rendered visual aids | |
US10061552B2 (en) | Identifying the positioning in a multiple display grid | |
CN111527523A (en) | Apparatus and method for sharing virtual reality environment | |
CN103106679A (en) | Method, system and platform for distributed type three-dimensional (3D) multichannel rendering | |
US20120114200A1 (en) | Addition of immersive interaction capabilities to otherwise unmodified 3d graphics applications | |
CN108133454B (en) | Space geometric model image switching method, device and system and interaction equipment | |
CN105512136A (en) | Method and device for processing based on layer | |
CN110891167A (en) | Information interaction method, first terminal and computer readable storage medium | |
US20140149943A1 (en) | Method and apparatus for generating dynamic wallpaper | |
CN112672131B (en) | Panoramic video image display method and display device | |
EP3999945A1 (en) | Techniques for optimizing creation of digital diagrams | |
CN106569760A (en) | Large-scale GIS display system based on synchronous control, and display method of large-scale GIS display system | |
CN113079408B (en) | Video playing method, device and system | |
CN104202546A (en) | Immersive virtual display system and display method of CAVE (Cave Automatic Virtual Environment) | |
CN117390322A (en) | Virtual space construction method and device, electronic equipment and nonvolatile storage medium | |
CN102572391A (en) | Method and device for genius-based processing of video frame of camera | |
CN104715700A (en) | Electronic sand table system | |
CN107621951B (en) | View level optimization method and device | |
CN103036996A (en) | Distributed system window synchronous operation method and device | |
CN104808976B (en) | File sharing method | |
CN108053492B (en) | Method, device and equipment for presenting expansion process of three-dimensional graph and storage medium | |
CN104519392A (en) | Method and system for switching terminal display images of spliced wall | |
CN112911260B (en) | Multimedia exhibition hall sand table projection display system | |
CN105069119A (en) | Cross-platform synchronization 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130410 |