Summary of the invention
To the problems referred to above, the purpose of the utility model provide a kind of cost lower, use flexibly, realize simple and reliable property interactive whiteboard preferably.
For realizing above-mentioned purpose; The utility model is taked following technical scheme: a kind of interactive whiteboard is characterized in that: it comprises several blank clients, a token server and some message servers that is used to store blank operation information and document status information data; Each said blank client in said token server is sent to corresponding said message server, with request msg through said token server is back to corresponding said blank client after being handled by said message server with solicited message.
Each said blank client includes basic communication module, maincenter control module, white boarding module, view interactive module and Service Component module; Said basic communication module is made up of token manager, thread monitor and communications component; Said token manager is used to store the access token of said message server; And it is resolved to real messages server address and relevant routing iinformation, be sent to said communications component; Said communications component adds routing iinformation for every message that will send, and sends it to the said message server of appointment; Said thread monitor is used for monitoring all threads; Said maincenter control module is made up of command manager and message parse device, and said command manager is sent to the basic communication module that is positioned at bottom with the message instruction of said blank client through said message parse device; Said basic communication module will receive the data that said message server transfers to, and transfer in the said command manager through said message parse device; Said white boarding module is made up of blank manager and several document controllers, and said blank manager is responsible for the switching between each said document controller, and carries out information interaction with said Service Component module and view interactive module; Said view interactive module is made up of the various window view of View Manager and the control of said View Manager, and said View Manager carries out information interaction with said blank manager and Service Component module respectively; Said Service Component module comprises the document storage management assembly, and said document storage management assembly provides actual document flow information to said blank manager and command manager.
Said basic communication module has trigger-type and two kinds of communication patterns of poll formula.
Each said message server includes service interface module and front controller; Said service interface module receives the request message of said blank client; Forward it to the message that meets with a response after the processing in the said front controller, be back to said blank client through said service interface module.
Said front controller comprises message routing module and data memory module; Said front controller routes to the request message that receives in the said data memory module according to the message policies that presets in the said message routing module, calls corresponding request msg and is back to said service interface module.
The utility model is owing to take above technical scheme; It has the following advantages: 1, the utility model is made up of several blank clients, some message servers and token server owing to adopting; Its flexible configuration, cost are lower; In use, the quantity of blank client can be set flexibly, realize simple.2, the utility model is made up of blank manager and several document controllers owing to the white boarding module; Difference to operated document format; Realize various blanks drafting functions by corresponding document controller, therefore realized demonstration multiple document format.3, the utility model is through blank manager in the white boarding module and the View Manager in several document controllers and the view interactive module, carries out Sharing Whiteboard, operates document, obtains operation such as document views.4, the utility model is made up of service interface module and front controller owing to message server; Front controller is made up of message routing module and data memory module; All blank operations can both be by the data memory module stored record; Can reappear the whole operation process at any time, its reliability is higher.The utility model can be widely used in the various fields.
Embodiment
The utility model is based on the Sharing Whiteboard of message server; Often to transmit complicated all kinds of engineering datas and economic data in order to satisfy in the project of transmitting and converting electricity evaluation; According to electronic whiteboard application model of the prior art, and utilize computer installation to show.The utility model be have support can be interactively, support multiple file format, support memory storage, cancel, support the electronic whiteboard of touch display devices.Below in conjunction with accompanying drawing and embodiment the utility model is carried out detailed description.
As shown in Figure 1, the utility model comprises several blank clients 1, a token server 2 and some message servers 3, and each message server 3 all is used to store blank operation information and document status information data.Each blank client 1 in token server 2 is sent to corresponding message server 3, by after message server 3 processing request msg being back to corresponding blank client 1 through token server 2, is accomplished user interactive experience with client requests information.
As shown in Figure 2, each blank client 1 includes basic communication module 11, maincenter control module 12, white boarding module 13, view interactive module 14 and Service Component module 15.
Basis communication module 11 is made up of token manager 111, thread monitor 112 and communications component 113, is responsible for the interactive communication between blank client 1 and the message server 3.Token manager 111 is used for the access token of storing message server 3, and it is resolved to real messages server address and relevant routing iinformation, is sent to communications component 113; Communications component 113 adds routing iinformation for every message that will send, and sends it to the message server 3 of appointment; Thread monitor 112 is used for monitoring all threads.
Basis communication module 11 provides trigger-type and two kinds of communication patterns of poll formula for FTP client FTP: trigger-type is by initiatively initiating communication request according to other module application that are positioned at the upper strata; The poll formula is according to the monitoring task that pre-sets, periodically to communications component 113 initiation request by thread monitor 12.
Maincenter control module 12 plays the important function of forming a connecting link in whole blank client 1, the basic communication module 11 that it will be positioned at bottom couples together with the white boarding module 13, view interactive module 14 and the Service Component module 15 that are positioned at the upper strata.Maincenter control module 12 is made up of command manager 121 and message parse device 122, is responsible for all action commands in whole blank client 1 inside and the processing of message.Command manager 121 is sent to the basic communication module 11 that is positioned at bottom with the message instruction of blank client 1 through message parse device 122; The data that basis communication module 11 also can transfer to the message server that receives 3; In message parse device 122 transfers to command manager 121; Command manager 121 is packaged into corresponding component order with the information that receives and sends to associated component and carries out, and then coordinates the command execution from different assemblies.
White boarding module 13 is made up of blank manager 131 and several document controllers 132.To the difference of operated document format, realize various blanks drafting functions by corresponding document controller 132.Blank manager 131 is responsible for the switching between each document controller 132, and carries out information interaction with Service Component module 15 and view interactive module 14.
View interactive module 14 is formed by View Manager 141 and by the various window view 142 of View Manager 141 controls, and View Manager 141 carries out information interaction with blank manager 131 and Service Component module 15 respectively.Window view 142 mainly comprises Sharing Whiteboard view, file directory view, menu facility hurdle view etc.The all functions of view interactive module 14 all are for better user-interaction experience is provided, for example to the various visual effect supports of interface element, and the collocation of colour of vivid icon and modulation meticulously etc.
Service Component module 15 comprises document storage management assembly 151 and other functional units 152, and other functional units 152 are meant the related realization assembly of all other client business functions except that white boarding.Wherein, document storage management assembly 151 is responsible for to the file directory view relevant directory information being provided, and to blank manager 131 and command manager 121 actual document flow information is provided.And other some business function assemblies also comprise picture user management component, conferencing information assembly, written communication assembly etc.
As shown in Figure 3; Each message server 3 includes service interface module 31 and front controller 32; Service interface module 31 is used to receive the request message of blank client 1; Forward it in the front controller 32 and handle, obtain corresponding result, be back to blank client 1 through service interface module 31 again as response message.Service interface module 31 are blank clients 1 with message server 3 between be connected hinge, bearing intercommunication mutually between the two.
Front controller 32 comprises message routing module 321 and data memory module 322; Front controller 32 routes to the request message that receives in the data memory module 322 interior corresponding data plug-in units according to the message policies that presets in the message routing module 321, calls corresponding request msg and is back to service interface module 4.
Wherein, data memory module 322 is cores of whole message server 3, presets the various data plug-in units according to customer demand customization in the data memory module 322, for the normal operation of message server 3 provides various base support functions.
In the foregoing description; Each message server 3 all adopts passive type message transmit mechanism; Be after certain blank client 1 produces message, to send in the message queue of message server 3, other blank client 1 is then obtained the message in the message server 3 end message queues through the mode of poll.Therefore, message server 3 is a simple request and processing server.
Adopt static token mechanism to realize the information interaction between blank client 1 and the message server 3 in the token server 2.Static token mechanism is meant that each blank client 1 all is provided with a fixing sign when mounted; In use; Each blank client 1 at first will rely on the access rights of this sign to token server 2 request message servers 3, and token server 1 is then confirmed 1 message server 3 that can visit of this blank client according to overall routing table configuring condition.This mechanism can be come the dynamically quantity of adjustment visit blank client 1 according to the load capacity of message server 3, thereby guarantees the stability of system on the whole.
In sum; The utility model in use; Through the View Manager 141 in the blank manager in the white boarding module 13 131 and several document controllers 132 and the view interactive module 14; Carry out Sharing Whiteboard, operate document, obtain operations such as document views, represented extremely strong stability and good extensibility.Under the test environment; The load upper limit of separate unit message server is 100 blank clients; And in the actual production environment; Be increased to six present message servers from original separate unit message server, the actual loading that remains every station server has demonstrated fully the excellence that system designs in stability and extensibility less than 60 clients.In project of transmitting and converting electricity evaluation was used, the interactive whiteboard through the utility model can access the evaluation content and switch the page, and can realize sharing the evaluation page, reaches the strange land and evaluates the identical content effect in real time.And can pass through Authorized operation, support by the on-the-spot evaluation content of revising of reviewer, final output evaluation achievement.
Above-mentioned each embodiment only is used to explain the utility model; The structure of each parts and connected mode all can change to some extent; On the basis of the utility model technical scheme; All improvement and equivalents of the connection and the structure of individual component being carried out according to the utility model principle all should not got rid of outside the protection range of the utility model.