Be used for positioning disk and its implementation that window is provided with
Technical field
The present invention relates to a kind of multimedia digital electronic wall system, relate in particular to and be used for the positioning disk that window is provided with in a kind of multimedia digital electronic wall system based on the IP technology; In addition, the invention still further relates to the implementation method that this is used for the positioning disk of window setting.
Background technology
At present, based on the multimedia digital electronic wall system of IP technology more and more widely be applied to each mechanism such as communication, electric power, command of armed force, bringing into play important effect aspect shared information, decision support, the situation demonstration providing.Major function based on the multimedia digital electronic wall system of IP technology is to show various graph text informations, these graph text informations normally show in the mode of window, the multimedia digital electronic wall is the display platform of a ultrahigh resolution, the signal source window that therefore on this platform, can show number of different types simultaneously, comprise the application window that runs on controller, number of windows is many, how to arrange easily that these windows are the basic functions that need consider of multimedia digital electronic wall system, usually the method for operating that adopts is to use the mouse of multimedia digital electronic wall system middle controller or network mouse direct control on the multimedia digital electronic wall of client, speed is fast, but can't accurately locate and be provided with the size of window, directly the frame of drag and drop window changes very difficulty of size simultaneously, because the frame of choosing window with mouse on the multimedia digital electronic wall is a very difficult thing, particularly for many mouses, it is not that step-length by a pixel moves that mouse pointer moves on giant-screen, and the frame that just in time moves to window is selected sometimes relatively difficulty.Also have the form that adopts dialog box to import accurate numerical value and determine the window's position and size, but as how the coordinate of multimedia digital electronic wall determine position and size, concerning general operating personnel, can feel difficult.
Owing to what normally form with the display unit splicing based on the multimedia digital electronic wall of IP technology, operating personnel also are accustomed to coming signalization position of window and size with the size of display unit as position and big or small benchmark.The present invention is from the angle of this demand, proposes to be used for the design of the positioning disk that window is provided with, take into full account easy to operate, the accurate factor of location and three aspects of operating speed.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of positioning disk that window is provided with that is used for, and can carry out the setting of accurate localization and size fast to the window in the multimedia digital electronic wall system.For this reason, the present invention also provides this to be used for the implementation method of the positioning disk of window setting.
For solving the problems of the technologies described above, the present invention is a kind of to be used for the positioning disk that window is provided with, and adopts the structure of service end and client, and service end is set up network with the customer end adopted ICP/IP protocol and is connected; Described client comprises the positioning disk operational module, is used for window is carried out the reorientation operation; Described positioning disk operational module to the mode that window carries out the reorientation operation is: at first activate the virtual window in the Xinovo.exe client area, by drag operation, select corresponding position and window size at positioning disk then; The ActiveX control form that described positioning disk operational module is a standard; Described service end is the service end of multimedia digital electronic wall system controller, and the window reorientation effect that is used for client is done is presented at multimedia digital electronic wall system.
Described positioning disk operational module carries out the reorientation operation to window and comprises full frame operation, 1/4 screen operation and 1/8 screen operation.
Described positioning disk operational module also is used to be provided with the grid selected of positioning disk dividing precision.
In addition, the present invention also provides this to be used for the implementation method of the positioning disk of window setting, comprises the steps:
(1) service end application program Sinovo.exe starts, and service end is loaded service end communication subroutine CSLib.dll module; Client application Xinovo.exe starts, and client is loaded the positioning disk operational module, and the subroutine of client loading client communication simultaneously CCLib.dll module is carried out client and connected initialization;
(2) service end is intercepted, and waits for that client network connects; The client user selects main frame to connect;
(3) client activates the virtual window in the Xinovo.exe client area, selects region operation on positioning disk;
(4) client judges whether to be connected to service end, and as connecting, and the client the superiors have virtual window to activate, and then are delivered to the CCLib.dll module, send reorientation message to service end;
(5) after service end receives new message from client, judge whether this type of message is SET_WINDOWPOSITION, in this way, then carry out the reorientation window operation.
Service end is intercepted and is specially described in the step (2): service end is intercepted at 59733 ports.
The virtual window that client described in the step (3) activates in the Xinovo.exe client area is specially: service end passes to all visual windows in the multimedia digital electronic wall system among the client Xinovo.exe by ICP/IP protocol, Xinovo.exe represents each window by a series of empty frames that draw, and the empty frame of the virtual applications window of activation is a blue background.
On positioning disk, select region operation to be specially described in the step (3): by the drag operation of mouse button, to select corresponding position and window size, specify the virtual coordinates of anchor window at positioning disk.
Beneficial effect of the present invention is: the present invention can be fast carry out the setting of accurate localization and size to the window in the multimedia digital electronic wall system, than direct mouse or the drag and drop modes of mouse (based on network mouse) of manying with controller the window's position and big or small more convenient is set.
Description of drawings
Fig. 1 is the system module synoptic diagram that the present invention is used for the positioning disk of window setting;
Fig. 2 is its a kind of optional synoptic diagram of selecting grid that the positioning disk dividing precision is set among the present invention;
Fig. 3 is the process flow diagram that the present invention is used for the service end of the positioning disk that window is provided with;
Fig. 4 is the process flow diagram that the present invention is used for the client of the positioning disk that window is provided with.
Embodiment
The positioning disk that the present invention is used for the window setting is based on one of the important content of the multimedia digital electronic wall system of IP technology, and it is mainly used in carries out the reorientation operation to window.In the multimedia digital electronic wall system based on the IP technology, the client that is connected to multimedia digital electronic wall system controller can be operated multimedia digital electronic wall system in every way.And all can relate to the orientation problem of active window in client each operation to multimedia digital electronic wall system, suitable window size and location layout not only can be given full play to the advantage of multimedia digital electronic wall system on display image, most importantly can also give the better visual effect of spectators.Below be that the present invention is described in detail the positioning disk that is applied in the multimedia digital electronic wall system.
The applied environment of positioning disk module of the present invention is based on the multimedia digital electronic wall system of IP technology, and it has been made into the form (ActiveX) of control, and can be seamless be embedded in the application program do not provide the network communication function in the single module.But in the present invention, we have encapsulated communications protocol (CCLib.dll) on the upper strata, and the operation of having finished whole positioning function is called the positioning disk technology, comprising service end and client.The positioning disk operational module partly is integrated in the client application.The complete multimedia digital electronic wall application system environment of positioning disk as shown in Figure 1, the service end of multimedia digital electronic wall system controller is connected with the client that contains the positioning disk operational module by the TCP/IP communications protocol.
Can operate multimedia digital electronic wall system by the client that network and server have connected.Positioning disk operational module of the present invention is present on the client application (to call Xinovo.exe in the following text), in order to make the different precision in location more convenient, the operation part of positioning disk is divided into full frame operation, 1/4 screen operation and 1/8 screen operation, can carry out choosing window to carry out the operation of reorientation easily, screen is got many more, and locating accuracy is also just high more.
The positioning disk operational module also can be used for being provided with the grid selected of positioning disk dividing precision.Behind the client terminal start-up, the user can right click server host name, and the precision of division is set in the dialog box that ejects.Such as horizontal 2, vertical 2, expression is by horizontal, vertical 1/4 size groups knitmesh lattice (see figure 2).Each part is expressed as a selectable grid on the positioning disk of client, be made up of 4 grids altogether.You also can be provided with bigger precision to adapt to concrete requirement, as horizontal 3, vertical 3 etc.
The idiographic flow of service end of the present invention and client comprises the steps: as shown in Figure 3 and Figure 4
(1) service end application program Sinovo.exe (adopting general service end application program) starts, and service end is loaded service end communication subroutine CSLib.dll module (adopting general communication storehouse service end module); Client application Xinovo.exe (adopting general client application) starts, client is loaded positioning disk operational module (screenselector.dll), and client loading client communication subroutine CCLib.dll module (adopting general communication storehouse client modules) is carried out client connection initialization simultaneously;
(2) service end is intercepted at 59733 ports, waits for that client network connects; The client user selects main frame to connect;
(3) client activates the virtual window in the Xinovo.exe client area, selects region operation on positioning disk;
(4) client judges whether to be connected to service end, and as connecting, and the client the superiors have virtual window to activate, and then are delivered to the CCLib.dll module, send reorientation message to service end;
(5) after service end receives new message from client, judge whether this type of message is SET_WINDOWPOSITION, in this way, then carry out the reorientation window operation.
The user uses the concrete operations when of the present invention as follows:
(service end passes to all visual windows in the multimedia digital electronic wall system among the client Xinovo.exe by ICP/IP protocol will to activate virtual window in the Xinovo.exe client area earlier, Xinovo.exe represents each window by a series of empty frames that draw, the empty frame of the virtual applications window that activates is a blue background), pass through drag operation then, select corresponding position and window size at positioning disk, so just the window position that activates on virtual screen and the corresponding position of giant-screen.Promptly having selected the grid in the positioning disk is exactly coordinates of targets and the size that has provided window, has also specified the virtual coordinates of anchor window.
The present invention has realized a virtual operation positioning disk, can select the zone easily in the above, the operation positioning disk provides with the ActiveX control form of standard, in the division window area of virtual disk, the corresponding label of demonstration is arranged inside, below the zone of each piece screen, the lines that also provide two redness identify the lower right corner of this piece screen.Left button is clicked drag and drop can choose a plurality of zones, and trigger event is in Xinovo.exe, cooperates the TCP/IP communications protocol among the CCLib.dll, can specify virtual coordinates easily.