CN104753997A - Multi-terminal real-time interaction method and system - Google Patents

Multi-terminal real-time interaction method and system Download PDF

Info

Publication number
CN104753997A
CN104753997A CN201310744402.8A CN201310744402A CN104753997A CN 104753997 A CN104753997 A CN 104753997A CN 201310744402 A CN201310744402 A CN 201310744402A CN 104753997 A CN104753997 A CN 104753997A
Authority
CN
China
Prior art keywords
shared
server
variable
shared variable
terminal
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
Application number
CN201310744402.8A
Other languages
Chinese (zh)
Other versions
CN104753997B (en
Inventor
胡海峰
宋志军
吴迪
何建磊
王琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chapter Softcom Ltd Of Beijing Zhongke Nine
Original Assignee
Chapter Softcom Ltd Of Beijing Zhongke Nine
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chapter Softcom Ltd Of Beijing Zhongke Nine filed Critical Chapter Softcom Ltd Of Beijing Zhongke Nine
Priority to CN201310744402.8A priority Critical patent/CN104753997B/en
Publication of CN104753997A publication Critical patent/CN104753997A/en
Application granted granted Critical
Publication of CN104753997B publication Critical patent/CN104753997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a multi-terminal real-time interaction method and system. The method comprises the steps of creating a shared variable in a share server through a first server, wherein the shared variable is the variable for storing shared information; receiving a second control request carrying the second server shared variable; modifying the shared variable in the share server according to the second control request; synchronously updating the shared variables of other servers in a server group according to the modified shared variable in the share server; sending message information carrying the updated shared variable to at least one terminal through the other servers in the server group; analyzing the message information and synchronously displaying through the at least one terminal. With the adoption of the method and the system, the plurality of terminals can achieve synchronously display on real time, so that the information can be flexibly displayed; the shared variable state can be monitored on real time; the message information can be timely responded; therefore, the real-time performance of interaction of multi-terminal information can be achieved.

Description

The method and system of a kind of multiple terminals real-time, interactive
Technical field
The present invention relates to Computer Applied Technology field, particularly relate to the method and system of a kind of multiple terminals real-time, interactive.
Background technology
At present, most multi-terminal interaction technology utilizes DLNA agreement, IGRS protocol or Miracast agreement etc., connected by WIFI network, in different multimedia terminal, as common based on IOS, Android, different intelligent terminal equipment on the different operating systems such as Symbian is as mobile phone, between PAD, TV etc., multimedia (audio frequency can be carried out, video, picture) transmission of content, parsing, the sequence of operations such as displaying and control, thus can share on different platform equipment simultaneously show content, enrich the multimedia life of user.Briefly, be exactly several different terminals, just can be connected to each other conversion by special connection device.But; this multi-terminal information show and interaction forms more single; the displaying content of multiple terminals can only synchronously be shown; can not Information expansion and asynchronously to check; exhibition method underaction; can not meet enterprise's daily meeting, the production and operation, monitoring etc. are flexible and changeable to information display, the requirement of real-time interactive.
Summary of the invention
The problems such as technical problem to be solved by this invention is that the synchronous transmission of information data in the information system such as production operation command system, manufacturing monitoring system and all kinds of special meetings of current enterprise-level is poor, interaction display very flexible and interactive difference.
For this purpose, the present invention proposes the method for a kind of multiple terminals real-time, interactive, comprise the following steps:
First server creates shared variable in shared server, and described shared variable is the variable for Storage sharing information;
Receive the second control request of carrying second server shared variable;
The shared variable in request amendment shared server is controlled according to described second;
In server cluster, the shared variable of other servers is according to shared variable synchronized update amended in shared server;
In described server cluster, the transmission of other servers carries the message information of the rear shared variable of renewal at least one station terminal;
Described at least one station terminal is resolved described message information and is carried out simultaneous display.
Further, described in shared server, create shared variable before, also comprise
Judge whether there is shared variable in shared server.
Further, described shared variable comprises: keeper, main control terminal, screen position, screen are shared and master control application.
Further, described first server creates shared variable in shared server, specifically comprises:
Described shared server receives the establishment command information that described first server sends;
Distribute the memory space of shared variable;
Shared variable is set, and is initialized as system default value.
Further, the described shared variable controlled according to described second in request amendment shared server, specifically comprises:
Resolve described second and control request;
Obtain the described second server shared variable controlling to carry in request;
Shared variable in shared server is revised as described second server shared variable.
Further, after the described shared variable according to other servers in amended shared variable synchronized update server cluster, also comprise:
For terminal creates terminal variable, described terminal variable is the variable of storage terminal state information, the shared variable one_to_one corresponding of other servers in described terminal variable and server cluster;
Synchronous described terminal variable is the shared variable after upgrading.
In addition, the present invention also provides the system of a kind of multiple terminals real-time, interactive, comprising:
Shared server, for depositing shared variable;
First server, for creating shared variable in shared server, described shared variable is the variable for Storage sharing information; Receive the second control request of carrying second server shared variable, control the shared variable in request amendment shared server according to described second;
Second server, for sending the second control request of carrying second server shared variable;
Other servers in server cluster, for carrying out the synchronized update of shared variable according to shared variable amended in shared server, and transmission carries the message information of the rear shared variable of renewal at least one station terminal;
Terminal, sends the message information carrying and upgrade rear shared variable, carries out simultaneous display for other servers in server cluster.
Further, described first server comprises: creation module, communication module, modified module;
Creation module, for creating shared variable in shared server; Also for creating terminal variable for terminal;
Communication module, for receiving the second control request of carrying second server shared variable; Communication also for realizing and in shared server and server cluster between other servers;
Modified module, for controlling the shared variable in request amendment shared server according to described second.
Further, described first server also comprises:
Judge module, judged whether there is shared variable in shared server before creating shared variable in described creation module.
By adopting the method and system of a kind of multiple terminals disclosed in this invention real-time, interactive, simultaneous display is carried out in multiple terminals, achieves the flexibility of information display, and passes through the state of real-time listening shared variable, timely response message information, achieves the real-time that multi-terminal information is mutual.
Accompanying drawing explanation
Can understanding the features and advantages of the present invention clearly by reference to accompanying drawing, accompanying drawing is schematic and should not be construed as and carry out any restriction to the present invention, in the accompanying drawings:
Fig. 1 shows the flow chart of the method for a kind of multiple terminals of the present invention real-time, interactive;
Fig. 2 shows the structure chart of the system of a kind of multiple terminals of the present invention real-time, interactive;
Fig. 3 shows the module map of first server in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the present invention is described in detail.
Show flexibly and real-time, interactive to meet information, the present invention adopts multi output display adapter (Multi-output Video Adapter) to be connected with server (Server), adopt n*n rgb matrix (RGB Matrix) as the connection bridge of display adapter and terminal again, multiple signals can be realized to be transported on the arbitrary passage output channel from input channel switching, and independent of one another between output channel.Wherein, rgb matrix is for the display of high resolution graphics image signal switches and the high-performance smart matrix switchgear that design, realizes signal 450M high bandwidth fidelity and transmits, with automatic gain technology.
The present invention proposes the method for a kind of multiple terminals real-time, interactive, as shown in Figure 1, comprise the following steps:
Step 101, first server creates shared variable in shared server, and described shared variable is the variable for Storage sharing information;
Step 102, receives the second control request of carrying second server shared variable;
Step 103, controls the shared variable in request amendment shared server according to described second;
Step 104, in server cluster, the shared variable of other servers is according to shared variable synchronized update amended in shared server;
Step 105, in described server cluster, the transmission of other servers carries the message information of the rear shared variable of renewal at least one station terminal;
Step 106, described at least one station terminal is resolved described message information and is carried out simultaneous display.
In described server cluster, the shared variable of other servers upgrades according to shared variable amended in shared server in real time according to the shared variable of other servers in shared variable synchronized update amended in shared server and server cluster.
In the present embodiment, terminal can be the electronic display units such as splicing electrical screen, electronic whiteboard, tabletop touch and mobile terminal, and the present invention, not by the restriction of terminal type, adds the convenience of multiple terminals data display, improves the real-time that multiple terminals is mutual.
The invention is not restricted to the work system of a station server, the shared server group system be made up of multiple servers is equally applicable to based on method of the present invention, signal is outputted to multi output display adapter by shared server group, display adapter outputting VGA signal is to n*n rgb matrix, rgb matrix is converted to high resolution R GBHV signal and outputs to terminal, make terminal can show multiple multi-media signal, and can ensure signal quality.
Preferably, described in shared server, create shared variable before, also comprise
Step 201, judges whether there is shared variable in shared server.
Preferably, described shared variable comprises: keeper, main control terminal, screen position, screen are shared and master control application.
In the present invention, current server is respectively to the shared variable in shared server: keeper, main control terminal, screen position, screen are shared and carried out real-time listening with master control application, when shared variable state variation, shared variable in current server carries out synchronously according to the shared variable state variation in shared server, terminal makes response according to the shared variable in server, and synchronizing information is shown.
Wherein, to shared variable: keeper, main control terminal, screen position, screen are shared with the snoop procedure of master control application as follows:
Check " keeper " shared variable of server and start monitoring, if mated with present terminal, then marking present terminal is keeper, carries out the initialization of administrator right.Simultaneously that " keeper " shared variable of server is synchronous with " keeper " shared variable in present terminal.
Check server " main control terminal " shared variable and start monitoring, if mated with present terminal, then marking present terminal is main control terminal.Carry out the initialization of main control terminal authority.And by " screen position " shared variable of the screen position of present terminal write present terminal.Simultaneously that " main control terminal " shared variable of server is synchronous with " main control terminal " shared variable in present terminal.
Check " screen position " shared variable of server and start monitoring, if present terminal is main control terminal, then the positional information of present terminal being carried out code storage to " screen position " shared variable.If present terminal is not main control terminal, the message in " screen position " shared variable is resolved, according to analysis result, terminal is controlled.Simultaneously that " screen position " shared variable of server is synchronous with " screen position " shared variable in present terminal.
Check " screen is shared " shared variable of server and start monitoring, if present terminal is main control terminal, then ignore, if present terminal is not main control terminal, then check " screen is shared " shared variable, newly to share and participator is main control terminal if had, present terminal shows the information such as the annotations and comments shared, if not newly to share or participator is not main control terminal, then ignore sharing information.
Check " master control application " shared variable of server and start monitoring, if present terminal is not keeper, then ignoring the latest update of " master control application " shared variable.If present terminal is keeper, checks that whether the Termination ID in " master control application " shared variable is consistent with the Termination ID in " main control terminal " shared variable, if consistent, ignore the latest update of " master control application " shared variable.If inconsistent, then point out user to select, if user selects to agree to, then the Termination ID in " main control terminal " shared variable is revised as the Termination ID in " master control application " shared variable.Simultaneously that " master control application " shared variable of server is synchronous with " master control application " shared variable in present terminal.
Further, described first server creates shared variable in shared server, specifically comprises:
Step 301, described shared server receives the establishment command information that described first server sends;
Step 302, distributes the memory space of shared variable;
Step 303, arranges shared variable, and is initialized as system default value.
Further, the described shared variable controlled according to described second in request amendment shared server, specifically comprises:
Step 401, resolves described second and controls request;
Step 402, obtains the described second server shared variable controlling to carry in request;
Step 403, is revised as described second server shared variable by the shared variable in shared server.
Further, after the described shared variable according to other servers in amended shared variable synchronized update server cluster, also comprise:
Step 501, be that terminal creates terminal variable, described terminal variable is the variable of storage terminal state information, the shared variable one_to_one corresponding of other servers in described terminal variable and server cluster;
Step 502, synchronous described terminal variable is the shared variable after upgrading.
The present invention adopts the mode arranging shared variable in shared server, achieves flexibility and the synchronism of information display, and passes through the state of real-time listening shared variable, and timely response message information, achieves the real-time that multi-terminal information is mutual.
In addition, present invention also offers the system of a kind of multiple terminals real-time, interactive, as shown in Figure 2, comprising:
Shared server 1, for depositing shared variable;
First server 21, for creating shared variable in shared server, described shared variable is the variable for Storage sharing information; Receive the second control request of carrying second server shared variable, control the shared variable in request amendment shared server according to described second;
Second server 22, for sending the second control request of carrying second server shared variable;
Other servers 23 in server cluster 2, for carrying out the synchronized update of shared variable according to shared variable amended in shared server, and transmission carries the message information of the rear shared variable of renewal at least one station terminal;
Terminal 3, sends the message information carrying and upgrade rear shared variable, carries out simultaneous display for other servers in server cluster.
Native system adopts multi output display adapter (Multi-output Video Adapter) to be connected with the server (Server) in server cluster, adopt n*n rgb matrix (RGB Matrix) as the connection bridge of display adapter and terminal again, variation terminal real-time, interactive, for the scenes such as similar conference system provide a kind of new system.The present invention by the restriction of terminal type, does not add the convenience of multiple terminals data display, improves the real-time that multiple terminals is mutual.Any terminal can be controlled terminal that other are connected to rgb matrix, improves mutual flexibility.
Further, described first server as shown in Figure 3, comprising: creation module 211, communication module 212, modified module 213;
Creation module 211, for creating shared variable in shared server; Also for creating terminal variable for terminal;
Communication module 212, for receiving the second control request of carrying second server shared variable; Communication also for realizing and in shared server and server cluster between other servers;
Modified module 213, for controlling the shared variable in request amendment shared server according to described second.
Further, described first server also comprises:
Judge module 214, judged whether there is shared variable in shared server before creating shared variable in described creation module.
By adopting the method and system of a kind of multiple terminals disclosed in this invention real-time, interactive, the carrying out of the information real-time synchronization of multiple terminals shows, achieve the flexibility of information display, and pass through the state of real-time listening shared variable, timely response message information, achieves the real-time that multi-terminal information is mutual.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (9)

1. a method for multiple terminals real-time, interactive, is characterized in that, comprises the following steps:
First server creates shared variable in shared server, and described shared variable is the variable for Storage sharing information;
Receive the second control request of carrying second server shared variable;
The shared variable in request amendment shared server is controlled according to described second;
In server cluster, the shared variable of other servers is according to shared variable synchronized update amended in shared server;
In described server cluster, the transmission of other servers carries the message information of the rear shared variable of renewal at least one station terminal;
Described at least one station terminal is resolved described message information and is carried out simultaneous display.
2. method according to claim 1, is characterized in that, described in shared server, create shared variable before, also comprise
Judge whether there is shared variable in shared server.
3. method according to claim 1, is characterized in that, described shared variable comprises: keeper, main control terminal, screen position, screen are shared and master control application.
4. method according to claim 1, is characterized in that, described first server creates shared variable in shared server, specifically comprises:
Described shared server receives the establishment command information that described first server sends;
Distribute the memory space of shared variable;
Shared variable is set, and is initialized as system default value.
5. method according to claim 1, is characterized in that, the described shared variable controlled according to described second in request amendment shared server, specifically comprises:
Resolve described second and control request;
Obtain the described second server shared variable controlling to carry in request;
Shared variable in shared server is revised as described second server shared variable.
6. method according to claim 1, is characterized in that, after the described shared variable according to other servers in amended shared variable synchronized update server cluster, also comprises:
For terminal creates terminal variable, described terminal variable is the variable of storage terminal state information, the shared variable one_to_one corresponding of other servers in described terminal variable and server cluster;
Synchronous described terminal variable is the shared variable after upgrading.
7. a system for multiple terminals real-time, interactive, is characterized in that, comprising:
Shared server, for depositing shared variable;
First server, for creating shared variable in shared server, described shared variable is the variable for Storage sharing information; Receive the second control request of carrying second server shared variable, control the shared variable in request amendment shared server according to described second;
Second server, for sending the second control request of carrying second server shared variable;
Other servers in server cluster, for carrying out the synchronized update of shared variable according to shared variable amended in shared server, and transmission carries the message information of the rear shared variable of renewal at least one station terminal;
Terminal, sends the message information carrying and upgrade rear shared variable, carries out simultaneous display for other servers in server cluster.
8. system according to claim 6, is characterized in that, described first server comprises: creation module, communication module, modified module;
Creation module, for creating shared variable in shared server; Also for creating terminal variable for terminal;
Communication module, for receiving the second control request of carrying second server shared variable; Communication also for realizing and in shared server and server cluster between other servers;
Modified module, for controlling the shared variable in request amendment shared server according to described second.
9. system according to claim 6, is characterized in that, described first server also comprises:
Judge module, judged whether there is shared variable in shared server before creating shared variable in described creation module.
CN201310744402.8A 2013-12-30 2013-12-30 A kind of method and system of multiple terminals real-time, interactive Active CN104753997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310744402.8A CN104753997B (en) 2013-12-30 2013-12-30 A kind of method and system of multiple terminals real-time, interactive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310744402.8A CN104753997B (en) 2013-12-30 2013-12-30 A kind of method and system of multiple terminals real-time, interactive

Publications (2)

Publication Number Publication Date
CN104753997A true CN104753997A (en) 2015-07-01
CN104753997B CN104753997B (en) 2018-09-25

Family

ID=53593094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310744402.8A Active CN104753997B (en) 2013-12-30 2013-12-30 A kind of method and system of multiple terminals real-time, interactive

Country Status (1)

Country Link
CN (1) CN104753997B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635259A (en) * 2015-12-25 2016-06-01 上海建坤信息技术有限责任公司 Multiscreen real-time interaction system based on Web technology
CN106254359A (en) * 2016-08-11 2016-12-21 浪潮电子信息产业股份有限公司 A kind of configurable packet parsing system and method
CN111459438A (en) * 2020-04-07 2020-07-28 苗圣全 System, method, terminal and server for synchronizing drawing content with multiple terminals
CN113628359A (en) * 2020-05-09 2021-11-09 徐州重型机械有限公司 Vehicle-mounted historical fault information query system and method, vehicle-mounted equipment and vehicle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070083597A1 (en) * 1996-03-26 2007-04-12 Pixion, Inc. Presenting images in a conference system
CN101834905A (en) * 2010-05-13 2010-09-15 中兴通讯股份有限公司 Remote document sharing method and remote document sharing server
CN102413172A (en) * 2011-10-31 2012-04-11 北京联创信安科技有限公司 Parallel data sharing method based on cluster technology and apparatus thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070083597A1 (en) * 1996-03-26 2007-04-12 Pixion, Inc. Presenting images in a conference system
CN101834905A (en) * 2010-05-13 2010-09-15 中兴通讯股份有限公司 Remote document sharing method and remote document sharing server
CN102413172A (en) * 2011-10-31 2012-04-11 北京联创信安科技有限公司 Parallel data sharing method based on cluster technology and apparatus thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635259A (en) * 2015-12-25 2016-06-01 上海建坤信息技术有限责任公司 Multiscreen real-time interaction system based on Web technology
CN105635259B (en) * 2015-12-25 2019-01-18 上海建坤信息技术有限责任公司 A kind of multi-screen real-time interaction system based on Web technology
CN106254359A (en) * 2016-08-11 2016-12-21 浪潮电子信息产业股份有限公司 A kind of configurable packet parsing system and method
CN111459438A (en) * 2020-04-07 2020-07-28 苗圣全 System, method, terminal and server for synchronizing drawing content with multiple terminals
CN113628359A (en) * 2020-05-09 2021-11-09 徐州重型机械有限公司 Vehicle-mounted historical fault information query system and method, vehicle-mounted equipment and vehicle

Also Published As

Publication number Publication date
CN104753997B (en) 2018-09-25

Similar Documents

Publication Publication Date Title
US11106421B2 (en) Display method and system for wireless intelligent multi-screen display
CN110012328B (en) Method and device for interacting with smart television
CN105262974A (en) Method for realizing wireless screen sharing of multiple users
CN105142011A (en) Web-based television terminal multi-screen interaction method and device
CN103177095A (en) Embedded browser and implement method thereof
CN104753997A (en) Multi-terminal real-time interaction method and system
CN106802762B (en) Synchronizing server-side keyboard layout with client-side layout in virtual session
CN102821150A (en) Cloud server and application managing method based on same
CN103916697A (en) Multi-application display method and relevant intelligent terminals
CN112350981A (en) Method, device and system for switching communication protocol
CN110072133B (en) On-screen display method and system
KR20160098006A (en) Display apparatus and command transmission methods thereof
CN105025366A (en) Source management method and system of smart television
US10271011B2 (en) Method and apparatus for communicating media information in multimedia communication system
CN103024457A (en) Method and device for controlling server touch screen
CN104111822A (en) Method, device and system for changing fonts for application programs
CN114217921A (en) Distributed parallel computing method, computing device and storage medium
CN103838532A (en) Multi-screen content synthesizing and displaying method, related equipment and system
CN105577617A (en) Client, terminal equipment, host machine, and file transmission system and method
CN103338391A (en) Method, device, and system for realizing connection of mobile terminal and television terminal
CN102663882B (en) Method and system for remotely controlling external screen through mobile terminal
CN105049927A (en) Method for sharing information between mobile terminal and television and system thereof
CN103336649B (en) Between a kind of multiple terminals, feed back method and the device of window Image Sharing
CN102904958A (en) Equipment and service management method and platform
KR20140050522A (en) System and providing method for multimedia virtual 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
GR01 Patent grant
GR01 Patent grant