CN106790329A - Multiple terminals exchange method, device and server based on same web application - Google Patents
Multiple terminals exchange method, device and server based on same web application Download PDFInfo
- Publication number
- CN106790329A CN106790329A CN201510818987.2A CN201510818987A CN106790329A CN 106790329 A CN106790329 A CN 106790329A CN 201510818987 A CN201510818987 A CN 201510818987A CN 106790329 A CN106790329 A CN 106790329A
- Authority
- CN
- China
- Prior art keywords
- terminal
- web application
- data
- page server
- web page
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
The embodiment of the invention discloses a kind of multiple terminals exchange method based on same web application, device and server, for providing the user a kind of mode of multi-screen interactive.Method includes:Communication connection is set up with the first terminal and the second terminal respectively, the communication connection causes that the first terminal and the second terminal can perform the same web application, and the web application is the application of operation in the web page server;Receive the first data command that the first terminal sends;Process the service data that first data command obtains the web application;The service data is fed back to the first terminal and the second terminal so that the first terminal and the second terminal show the operation information of the web application according to the service data respectively respectively;The display information of the web application is generated according to the service data, and the display information of the web application is transmitted to the corresponding display device of the web page server.
Description
Technical field
The present invention relates to network field, more particularly to a kind of multiple terminals interaction side based on same web application
Method, device and server.
Background technology
Mobile Internet is developed into today, has been increasingly becoming indispensable one in netizen's daily life
Point, the custom of numerous netizens is had become using browser of mobile terminal and MSN.In netizen
During by mobile Internet and acquisition information, the communication of plain text and picture is not only needed,
More rich communication way is equally also required to, it is various to be carried out with user by various animations and action application
The interaction of form has become a kind of trend, whether based on using native applications program, (foreign language is abridged:
App;Foreign language full name:Application) or the HyperText Markup Language based on browser (foreign language contract
Write:HTML;Foreign language full name:Hyper Text Markup Language) 5 applications, these interactivity are very
Strong interaction mode all greatly enriches the communicative mode between numerous netizens, therefore various mobile interchanges
Net interactive mode arises at the historic moment.
In current mobile Internet application, this interactive form of multi-screen interactive is probably already existed under line, typically
For, substantially operate the Quick Response Code on mobile terminal A sweep equipment B screens to load one by user
HTML5 is applied, and user operates mobile terminal A according to prompting after the completion of application loading, in user behaviour
Different contents can be represented according to user's operation on the screen of B while making A, by this instant friendship
Mutual user can obtain preferably experience.
The shortcoming of above-mentioned technical proposal is that this interactive mode is man-to-man, a mobile device correspondence one
Individual screen.Even if multiple devices scan screen Quick Response Code simultaneously, the interaction that every equipment and screen are produced according to
It is so independent, does not have the exchange of information between many station terminals.It is so more in some participation numbers,
The occasion of many people's interactions, this scheme is needed just to be unable to reach effect.
The content of the invention
The embodiment of the invention provides a kind of multiple terminals exchange method based on same web application, device and
Server, for providing the user a kind of mode of multi-screen interactive.
Multiple terminals exchange method based on same web application provided in an embodiment of the present invention, including:
Communication connection is set up with the first terminal and the second terminal respectively, the communication connection makes
Obtain the first terminal and the second terminal can perform the same web application, the web application is
The application run in the web page server;
Receive the first data command that the first terminal sends;
Process the service data that first data command obtains the web application;
The service data is fed back to the first terminal and the second terminal so that described the respectively
One terminal and the second terminal show the operation letter of the web application according to the service data respectively
Breath;
The display information of the web application is generated according to the service data, and to the web page server
Corresponding display device transmits the display information of the web application.
Multiple terminals interactive device based on same web application provided in an embodiment of the present invention, including:
Communication connection unit, for setting up communication link with the first terminal and the second terminal respectively
Connect, the communication connection causes that the first terminal and the second terminal can perform the same webpage and answer
With the web application is the application of operation in the web page server;
Receiving unit, for receiving the first data command that the first terminal sends;
Data updating unit, the operation number of the web application is obtained for processing first data command
According to;
Transmitting element, for feeding back the operation number to the first terminal and the second terminal respectively
According to so that the first terminal and the second terminal show the net according to the service data respectively
The operation information of page application;
Display unit, the display information for generating the web application according to the service data, and to
The display information of the web page server corresponding display device transmission web application..
Multiple terminals interactive server based on same web application provided in an embodiment of the present invention, including:
Data output device, data input device, and processor;
The processor be used for by the data output device and the data input device respectively with it is described
First terminal and the second terminal set up communication connection, and the communication connection causes the first terminal
The same web application is can perform with the second terminal, the web application is the web page server
The application of middle operation;The display information of the web application is generated according to the service data, and by institute
State the data output device and transmit the web application to the corresponding display device of the web page server
Display information;
The data input device is used to receive the first data command that the first terminal sends;
The data output device is used for described to the first terminal and second terminal feedback respectively
Service data so that the first terminal and the second terminal show according to the service data respectively
The operation information of the web application.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In embodiments of the present invention, web page server can be set up based on same with first terminal and second terminal
The communication connection of one web application, after the data command that any terminal sends is received, web page server
The service data of the web application can be updated according to the data command, and it is whole to described first respectively
End and second terminal feedback update after service data so that the first terminal and described the
Two terminals show the operation information of the web application according to the service data after the renewal respectively;Also,
Web page server can also be according to the service data after the renewal in the corresponding display dress of the web page server
Put the operation information of the middle display web application so that the web application can be in first terminal, second eventually
End and the corresponding display device of web page server realize multi-screen interactive.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to reality
The accompanying drawing to be used needed for example is applied to be briefly described, it should be apparent that, drawings in the following description are only
Only it is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness
On the premise of work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a computer configuation schematic diagram of the shared interactive system in multiple terminals in the embodiment of the present invention;
Fig. 2 is a flow of the multiple terminals exchange method based on same web application in the embodiment of the present invention
Schematic diagram;
Fig. 3 is a signaling of the multiple terminals exchange method based on same web application in the embodiment of the present invention
Schematic flow sheet;
Fig. 4 is a logical construction schematic diagram of web page server in the embodiment of the present invention;
Fig. 5 is a logical construction schematic diagram of the shared interactive system in multiple terminals in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are without work
Go out the every other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
It is described in detail individually below.
Term " first ", " second ", " in description and claims of this specification and above-mentioned accompanying drawing
Three " (if present) such as " 4th " is for distinguishing similar object, without specific suitable for describing
Sequence or precedence.It should be appreciated that the data for so using can be exchanged in the appropriate case, so as to here
The embodiments of the invention of description can be with the order reality in addition to those for illustrating herein or describing
Apply.Additionally, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive
Comprising for example, containing process, method, system, product or the equipment of series of steps or unit not
Be necessarily limited to those steps or the unit clearly listed, but may include not list clearly or for
These processes, method, product or other intrinsic steps of equipment or unit.
Fig. 1 is that the multiple terminals of the multiple terminals exchange method based on same web application in the embodiment of the present invention is total to
Enjoy an embodiment schematic diagram of interactive system.Wherein, the shared interactive system in the multiple terminals includes:Webpage
Server, display device, first terminal and second terminal.
Web page server in the embodiment of the present invention can include:
Data transceiving unit 11, includes the memory of one or more computer-readable recording mediums
22 and include the part such as or the processor 13 of more than one processing core.
Data transceiving unit 11 is used to that network packet to be received or sent by the network port.
Memory 12 can be used to store software program and module, and processor 13 is being deposited by running storage
The software program and module of reservoir 12, so as to perform various function application and data processing.
Processor 13 is the control centre of web page server, using various interfaces and the whole webpage of connection
The various pieces of server, by running or performing software program and/or mould of the storage in memory 12
Block, and data of the storage in memory 12 are called, the various functions and processing data of terminal are performed,
So as to carry out integral monitoring to web page server.Optionally, processor 13 may include that one or more are processed
Core.
Although not shown, web page server can also include other unit modules, will not be repeated here.Tool
In the present embodiment, web page server includes memory, and one or more than one program to body,
One of them or more than one program storage in memory, and be configured to by one or one with
Upper computing device one or more than one program bag are containing the instruction for carrying out following operation:
The communication connection based on same web application is set up with first terminal and second terminal respectively, it is described
Web application is the application of operation in the web page server;After the communication connection is set up, indicate
Data transceiving unit 11 receives the first data command that the first terminal sends;Receiving described first
After data command, the service data of the web application is updated according to first data command;
After service data after to renewal, data transceiving unit 11 is indicated respectively to the first terminal and institute
State the service data after second terminal feedback updates so that the first terminal and the second terminal point
The operation information of the web application is not shown according to the service data after the renewal;Also, according to institute
State the service data after updating and show the web application in the corresponding display device of the web page server
Operation information.In embodiments of the present invention, the display device can be with liquid crystal display, plasma
Display device, or the display device with touch controllable function.
First terminal and second terminal in the embodiment of the present invention can be mobile terminal, including:
RF (Radio Frequency, radio frequency) unit 21, including one or more computers can
Read memory 22, display unit 23, WiFi (wireless fidelity, Wireless Fidelity) unit of storage medium
24 and include the part such as or the processor 25 of more than one processing core.Art technology
Personnel are appreciated that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can include than figure
Show more or less part, or combine some parts, or different part arrangements.Wherein:
RF units 21 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially,
After the downlink information of base station is received, transfer to one or more than one processor 25 is processed;In addition, will
It is related to up data is activation to base station.Generally, RF circuits 21 include but is not limited to antenna, at least one
Amplifier, tuner, one or more oscillators, subscriber identity module (SIM) card, transceiver,
Coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, RF
Circuit 1 can also be communicated by radio communication with network and other equipment.The radio communication can be used appoints
One communication standard or agreement, including but not limited to
GSM (Global System ofMobile communication, global system for mobile communications),
GPRS (General Packet Radio Service, general packet radio service),
CDMA (Code Division Multiple Access, CDMA),
WCDMA (Wideband Code Division Multiple Access, WCDMA),
LTE (Long Term Evolution, Long Term Evolution), Email,
SMS (Short Messaging Service, Short Message Service) etc..
Memory 22 can be used to store software program and module, and processor 25 is by running storage in storage
The software program and module of device 22, so as to perform various function application and data processing.Memory 22
Storing program area and storage data field can mainly be included, wherein, storing program area can storage program area,
Application program (such as sound-playing function, image player function etc.) needed at least one function etc.;
Storage data field can be stored and use created data (such as voice data, phone directory etc.) according to terminal
Deng.Additionally, memory 22 can include high-speed random access memory, non-volatile depositing can also be included
Reservoir, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Display unit 23 can be used for display by the information of user input or be supplied to the information and terminal of user
Various graphical user interface, these graphical user interface can by figure, text, icon, video and
It is combined to constitute.Display unit 23 may include display panel, optionally, can use
LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode,
Organic Light Emitting Diode) etc. form configure display panel.Further, Touch sensitive surface can cover display surface
Plate, when Touch sensitive surface is detected thereon or after neighbouring touch operation, sends processor 25 to determine
The type of touch event, provides accordingly on a display panel with preprocessor 25 according to the type of touch event
Visual output.
WiFi belongs to short range wireless transmission technology, and terminal can help user to receive and dispatch by WiFi units 24
Email, browse webpage and access streaming video etc., it has provided the user wireless broadband internet
Access.
Processor 25 is the control centre of terminal, using various interfaces and the whole mobile terminal of connection
Various pieces, by running or performing software program and/or module of the storage in memory 12, and adjust
With data of the storage in memory 12, the various functions and processing data of terminal are performed, so as to movement
Terminal carries out integral monitoring.Optionally, processor 25 may include one or more processing cores;Preferably,
Processor 25 can integrated application processor and modem processor, wherein, application processor is mainly processed
Operating system, user interface and application program etc., modem processor mainly processes radio communication.Can
To understand, above-mentioned modem processor can not also be integrated into processor 25.Although not shown,
Terminal can also including input block, bluetooth unit, sensing unit etc. module, will not be repeated here.Tool
In the present embodiment, the display unit of terminal is touch-screen display to body, and terminal also includes memory,
And one or more than one program, one of them or more than one program storage in memory,
And be configured to by one or more than one computing device one or more than one program bag are containing being used for
Carry out the instruction of following operation:
The access address of web page server is obtained, the access address is operation in the web page server
The corresponding entry address of web application;RF units 21 or WiFi units 24 is indicated to access ground according to described
Location logs in the web application so that the first terminal is set up with the web page server and communicated to connect,
Corresponding first data command of the web application is sent to the web page server;Receive web page server
Service data after feedback renewal;And direction display unit 23 shows according to the service data after the renewal
The operation information of the web application.
In embodiments of the present invention, the description of terminal is only schematical, the wherein division of unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units
Or component can be combined or be desirably integrated into another system, or some features can be ignored, or not hold
OK.Another, shown or discussed coupling or direct-coupling or communication connection each other can be
By some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be it is electrical, machinery or its
Its form.If the integrated unit is to realize in the form of SFU software functional unit and as independent product
When product are sold or used, can store in a computer read/write memory medium.
Below by detailed embodiment to the embodiment of the present invention in the multiple terminals based on same web application
Exchange method, refers to Fig. 2, the multiple terminals exchange method based on same web application in the embodiment of the present invention
One embodiment include:
201st, web page server sets up communication connection with first terminal and second terminal respectively;
Web page server sets up communication connection with the first terminal and the second terminal respectively, described
Communication connection causes that the first terminal and the second terminal can perform the same web application, described
Web application is the application of operation in the web page server.
Specifically, the web application can be applied for HTML5.HTML5 provides many data and answers
With open interface is accessed, applications are allow directly to be joined directly together with the data inside browser.More have
The connection operating efficiency of effect so that the live chat based on the page, faster web application value, makes
Obtaining online exchange becomes more smooth.HTML5 possesses more effective server push technology, Server-Sent
Event and Web Sockets are exactly two characteristics therein, and the two characteristics can realize server by data
The function of " push " to client.
Exemplary, first terminal or second terminal can access the address of service of the web page server,
And logging request is sent to the web page server, the logging request is used to ask to access web application
Runnable interface, web page server first terminal or second terminal can be carried out according to demand authentication or
Login authentication, it is to be verified by rear, then can set up communication with web page server and be connected.
Optionally, the first terminal and second terminal can be mobile terminal;Web page server can be with
Communication connection is set up with the terminal outside the first terminal and second terminal, is specifically not construed as limiting herein.
202nd, web page server receives the first data command that the first terminal sends;
Web page server receives the first data command that the first terminal sends, first data command
It is the corresponding data command of the web application, is specifically as follows the operation information or shape of the web application
State configured information.
Exemplary, the operation information of the web application can be the behaviour of the control web application computing
Instruct;Such as, the web application is action application, and the action feedback op of the action application is in institute
State and carry out in web page server, therefore, first terminal can send operational order to web page server, with more
The running status of the new action application.
The status indication information of the web application can be the corresponding account role of the first terminal in institute
State the status information or integration information in web application;Such as, the web application is action application, described
The action feedback op for acting application is carried out in the first terminal, therefore, first terminal completes computing
Afterwards, the current status indication information of the account role is obtained, first terminal can be sent out to web page server
The status indication information is given, to update the running status of the action application.
203rd, web page server processes the service data that first data command obtains the web application;
Web page server treatment first data command obtains the service data of the web application;Specifically
, the service data is the data message of the running status for embodying the web application.
Exemplary, if first data command is operation information;Then the web page server is according to institute
State the service data that the first data command updates the web application, Ke Yiwei:
The web page server enters line number according to the operative algorithm of the operation information and the web application
According to computing, the service data of the web application is obtained;
If first data command is status indication information;Then the web page server is according to described first
Data command updates the service data of the web application, Ke Yiwei:
It is corresponding that the web page server searches presently described web application according to the status indication information
Service data.
204th, web page server is respectively to the first terminal and the described operation of second terminal feedback
Data;
Web page server feeds back the service data to the first terminal and the second terminal respectively,
So that the first terminal and the second terminal show that the webpage should according to the service data respectively
Operation information.
205th, web page server generates the display information of the web application according to the service data, and to
The display information of the web page server corresponding display device transmission web application.
Web page server generates the display information of the web application according to the service data, and to described
The corresponding display device of web page server transmits the display information of the web application;So that display device is aobvious
Show the operation information of the web application.
It is understood that in actual applications, although the service data that display is based on is identical,
But display device can be with difference with the display picture of the web application shown by first terminal or second terminal.
In embodiments of the present invention, web page server can be set up based on same with first terminal and second terminal
The communication connection of one web application, after the data command that any terminal sends is received, web page server
The service data of the web application can be updated according to the data command, and it is whole to described first respectively
End and second terminal feedback update after service data so that the first terminal and described the
Two terminals show the operation information of the web application according to the service data after the renewal respectively;Also,
Web page server can also be according to the service data after the renewal in the corresponding display dress of the web page server
Put the operation information of the middle display web application so that the web application can be in first terminal, second eventually
End and the corresponding display device of web page server realize multi-screen interactive.
In below in the way of terminal is interacted with web page server to the embodiment of the present invention based on same webpage
The multiple terminals exchange method of application is illustrated, and refers to Fig. 3, and same webpage is based in the embodiment of the present invention
One embodiment of the multiple terminals exchange method of application includes:
301st, terminal obtains the access address of web page server;
First terminal and second terminal obtain the access address of web page server respectively, and the access address is
The corresponding entry address of web application run in the web page server.
Optionally, web page server can provide Quick Response Code for terminal;Terminal is by scanning the Quick Response Code
Obtain the access address of web page server.
302nd, terminal logs in the web application according to the access address;
First terminal and second terminal log in the web application according to the access address respectively so that institute
State first terminal and second terminal and set up communication connection with the web page server respectively.
Specifically, terminal can send logging request according to the access address to the web page server,
The corresponding authentication information of the terminal (e.g., account and password) can be carried in the logging request.
303rd, web page server is set up with terminal communicate to connect respectively;
Web page server sets up the communication based on same web application with first terminal and second terminal respectively
Connection, the web application is the application of operation in the web page server.
Exemplary, web page server receives the logging request that the first terminal sends, and the login please
Ask to log in the access request of the web application;The web page server is according to the logging request to right
The first terminal carries out authentication, if the authentication passes through, the web page server and institute
State first terminal and set up communication connection.
304th, the data command that web page server receiving terminal sends;
Web page server receives the first data command that the first terminal sends, and described second respectively
The second data command that terminal sends.
First data command and the second data command are the corresponding data command of the web application, tool
Body can be the operation information or status indication information of the web application.
Exemplary, the operation information of the web application can be the behaviour of the control web application computing
Instruct;Such as, the web application is action application, and the action feedback op of the action application is in institute
State and carry out in web page server, therefore, first terminal can send operational order to web page server, with more
The running status of the new action application.
The status indication information of the web application can be the corresponding account role of the first terminal in institute
State the status information or integration information in web application;Such as, the web application is action application, described
The action feedback op for acting application is carried out in the first terminal, therefore, first terminal completes computing
Afterwards, the current status indication information of the account role is obtained, first terminal can be sent out to web page server
The status indication information is given, to update the running status of the action application.
305th, web page server processing data instruction obtains the service data of the web application;
Web page server processes first data command and second data command obtains the webpage
The service data of application.
It is exemplary, if the service application is applied for action, the corresponding account role of first terminal and
The corresponding account role of second terminal may send data command to web page server simultaneously, mutual based on multi-screen
Dynamic demand, it is necessary to update service data to each participating user of the web application in real time, therefore
Need to update the web application according to first data command and second data command simultaneously
Service data.
306th, web page server is respectively to the first terminal and the second terminal back-to-back running data;
Web page server is respectively to the first terminal and the second terminal back-to-back running data so that
The first terminal and the second terminal show the web application according to the service data respectively
Operation information.
307th, terminal shows the operation information of web application;
First terminal and second terminal show the operation letter of the web application according to the service data respectively
Breath.
308th, web page server generates the display information of the web application according to the service data, and to
The display information of the web page server corresponding display device transmission web application.
Web page server generates the display information of the web application according to the service data, and to described
The corresponding display device of web page server transmits the display information of the web application;So that display device is aobvious
Show the operation information of the web application.
In embodiments of the present invention, it is mutual that first terminal, second terminal and the display device carry out multi-screen
It is dynamic, the simultaneous display of the web application can be realized in the ideal situation;It is understood that in reality
In the application of border, due to network delay and data performance difference, it is difficult to accomplish Complete Synchronization, can allow
There is certain synchronous error.
Below with the embodiment of a practical application to the embodiment of the present invention in based on many of same web application
Terminal interaction method is illustrated:
1) when action application starts, the information such as corresponding large screen display Quick Response Code of web page server is used
Family mobile scanning terminal Quick Response Code can enter the wait interface of action application, in this process giant-screen
The information such as meeting simultaneous display user number.
2) mobile scanning terminal Quick Response Code, after the server of access action application, user is at the movement end
The START button of the action application is clicked on end, starts the action application, giant-screen is switched to action
Application process interface, mobile terminal is switched to action application operating interface.Now with mobile terminal family dynamic
Action message in applying is (such as:Obtain fraction) web page server, and real-time synchronization can be sent to
To giant-screen;Giant-screen can carry out interaction according to the data for gathering all users (such as:Ranking etc.);
3) action application terminates (by countdown or other modes, controlled by web page server),
Mobile terminal shows that final individual play applies result;The all user's final rankings of large screen display.
Below to perform the embodiment of the present invention the multiple terminals exchange method based on same web application device
Illustrate, refer to Fig. 4, including:
Communication connection unit 401, communicates for being set up with the first terminal and the second terminal respectively
Connection, the communication connection causes that the first terminal and the second terminal can perform the same webpage
Using the web application is the application of operation in the web page server;
Receiving unit 402, for receiving the first data command that the first terminal sends;
Data updating unit 403, the operation of the web application is obtained for processing first data command
Data;
Transmitting element 404, for feeding back the operation to the first terminal and the second terminal respectively
Data so that the first terminal and the second terminal are respectively according to the service data shows
The operation information of web application;
Display unit 405, the display information for generating the web application according to the service data, and
The display information of the web application is transmitted to the corresponding display device of the web page server.
Further, the receiving unit 402 is additionally operable to:Receive the second number that the second terminal sends
According to instruction;
The data updating unit 403 is additionally operable to:According to first data command and second number
The service data of the web application is updated according to instruction.
Further, the communication connection unit 401 is additionally operable to:
The logging request that the first terminal or the second terminal send is received, the logging request is to step on
Record the access request of the web application;
Authentication is carried out to the first terminal or the second terminal, if the authentication passes through,
Then the web page server sets up communication connection with the first terminal or the second terminal.
Specifically, first data command includes:Operation information, or status indication information;
If first data command be operation information, the data updating unit 403 specifically for:
Operative algorithm according to the operation information and the web application carries out data operation, obtains institute
State the service data of web application;
If first data command is status indication information;Then the data updating unit specifically for:
The corresponding service data of presently described web application is searched according to the status indication information.
Specifically, the web application is applied for HTML HTML5.
Below to perform the embodiment of the present invention the multiple terminals exchange method based on same web application webpage
Server is illustrated, and refers to Fig. 5, including:
Data output device 502, data input device 503, and processor 501;
The processor 501 be used for by the data output device and the data input device respectively with
The first terminal and the second terminal set up communication connection, and the communication connection causes described first
Terminal and the second terminal can perform the same web application, and the web application takes for the webpage
The application run in business device;The display information of the web application is generated according to the service data, and is led to
Crossing the data output device should to the web page server corresponding display device transmission webpage
Display information;
The data input device 503 is used to receive the first data command that the first terminal sends;
The data output device 502 is used to be fed back to the first terminal and the second terminal respectively
The service data so that the first terminal and the second terminal are respectively according to the service data
Show the operation information of the web application.
The concrete operations flow of above-mentioned unit may be referred to above method embodiment, and here is omitted.
In several embodiments provided herein, it should be understood that disclosed apparatus and method can
To realize by another way.For example, device embodiment described above is only schematical,
For example, the division of the unit, only a kind of division of logic function, can have in addition when actually realizing
Dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or
Some features can be ignored, or not perform.It is another, shown or discussed coupling each other or
Direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, mechanical or other forms.
It is described as separating component illustrate unit can be or may not be it is physically separate, make
For the part that unit shows can be or may not be physical location, you can with positioned at a place,
Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or
Person whole units realize the purpose of this embodiment scheme.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to which two or more units are integrated in a list
In unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ software function list
The form of unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing
Or when using, can store in a computer read/write memory medium.Based on such understanding, this
Part that the technical scheme of invention substantially contributes to prior art in other words or the technical scheme
Can completely or partially be embodied in the form of software product, the computer software product is stored at one
In storage medium, including some instructions are used to so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform all or part of step of each embodiment methods described of the invention
Suddenly.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
The above, specific embodiment only of the invention, but protection scope of the present invention do not limit to
In this, any one skilled in the art the invention discloses technical scope in, can be easily
Expect change or replacement, should all be included within the scope of the present invention.Therefore, protection of the invention
Scope described should be defined by scope of the claims.
Claims (11)
1. a kind of multiple terminals exchange method based on same web application, is applied to web page server, described
Multiple terminals comprises at least first terminal and second terminal, it is characterised in that methods described includes:
Communication connection is set up with the first terminal and the second terminal respectively, the communication connection makes
Obtain the first terminal and the second terminal can perform the same web application, the web application is
The application run in the web page server;
Receive the first data command that the first terminal sends;
Process the service data that first data command obtains the web application;
The service data is fed back to the first terminal and the second terminal so that described the respectively
One terminal and the second terminal show the operation letter of the web application according to the service data respectively
Breath;
The display information of the web application is generated according to the service data, and to the web page server
Corresponding display device transmits the display information of the web application.
2. method according to claim 1, it is characterised in that
Process before first data command obtains the service data of the web application, including;
Receive the second data command that the second terminal sends;
The service data that first data command obtains the web application is processed, including;
The operation of the web application is updated according to first data command and second data command
Data.
3. method according to claim 1, it is characterised in that it is described respectively with the first terminal
And the second terminal sets up communication connection, including:
The logging request that the first terminal or the second terminal send is received, the logging request is to step on
Record the access request of the web application;
Authentication is carried out to the first terminal or the second terminal, if the authentication passes through,
Then the web page server sets up communication connection with the first terminal or the second terminal.
4. method according to claim 1, it is characterised in that
First data command includes:Operation information, or status indication information;
If first data command is operation information;Then treatment first data command obtains institute
The service data of web application is stated, including:
Operative algorithm according to the operation information and the web application carries out data operation, obtains institute
State the service data of web application;
If first data command is status indication information;Then treatment first data command is obtained
To the service data of the web application, including:
The corresponding service data of presently described web application is searched according to the status indication information.
5. method according to claim 1, it is characterised in that the web application is hypertext mark
The HTML5 applications of note language.
6. a kind of multiple terminals interactive device based on same web application it is characterised in that it includes:
Communication connection unit, it is described for setting up communication connection with first terminal and second terminal respectively
Communication connection causes that the first terminal and the second terminal can perform same web application, the webpage
Using the application for being operation in the web page server;
Receiving unit, for receiving the first data command that the first terminal sends;
Data updating unit, the operation number of the web application is obtained for processing first data command
According to;
Transmitting element, for feeding back the operation number to the first terminal and the second terminal respectively
According to so that the first terminal and the second terminal show the net according to the service data respectively
The operation information of page application;
Display unit, the display information for generating the web application according to the service data, and to
The display information of the web page server corresponding display device transmission web application.
7. web page server according to claim 6, it is characterised in that
The receiving unit is additionally operable to:Receive the second data command that the second terminal sends;
The data updating unit is additionally operable to:Referred to according to first data command and second data
Order updates the service data of the web application.
8. web page server according to claim 6, it is characterised in that the communication connection unit
It is additionally operable to:
The logging request that the first terminal hair or the second terminal are sent is received, the logging request is to step on
Record the access request of the web application;
Authentication is carried out to the first terminal or the second terminal, if the authentication passes through,
Then the web page server sets up communication connection with the first terminal or the second terminal.
9. web page server according to claim 6, it is characterised in that
First data command includes:Operation information, or status indication information;
If first data command be operation information, the data updating unit specifically for:
Operative algorithm according to the operation information and the web application carries out data operation, obtains institute
State the service data of web application;
If first data command is status indication information;Then the data updating unit specifically for:
The corresponding service data of presently described web application is searched according to the status indication information.
10. web page server according to claim 6, it is characterised in that the web application is
HTML HTML5 is applied.
A kind of 11. web page servers, it is characterised in that including:
Data output device, data input device, and processor;
The processor be used for by the data output device and the data input device respectively with it is described
First terminal and the second terminal set up communication connection, and the communication connection causes the first terminal
The same web application is can perform with the second terminal, the web application is the web page server
The application of middle operation;The display information of the web application is generated according to the service data, and by institute
State the display that data output device transmits the web application to the corresponding display device of the web page server
Information;
The data input device is used to receive the first data command that the first terminal sends;
The data output device is used for described to the first terminal and second terminal feedback respectively
Service data so that the first terminal and the second terminal show according to the service data respectively
The operation information of the web application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510818987.2A CN106790329B (en) | 2015-11-23 | 2015-11-23 | Multi-terminal interaction method, device and server based on same webpage application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510818987.2A CN106790329B (en) | 2015-11-23 | 2015-11-23 | Multi-terminal interaction method, device and server based on same webpage application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106790329A true CN106790329A (en) | 2017-05-31 |
CN106790329B CN106790329B (en) | 2020-03-03 |
Family
ID=58962978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510818987.2A Active CN106790329B (en) | 2015-11-23 | 2015-11-23 | Multi-terminal interaction method, device and server based on same webpage application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106790329B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229760A (en) * | 2017-07-27 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Storage medium, electronic installation, the display methods of web page contents and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0736832A2 (en) * | 1995-04-07 | 1996-10-09 | AT&T IPM Corp. | Communications server for a multiuser interactive virtual environment and method of use thereof |
US20080249782A1 (en) * | 2007-04-04 | 2008-10-09 | Soonthorn Ativanichayaphong | Web Service Support For A Multimodal Client Processing A Multimodal Application |
CN103618701A (en) * | 2013-11-14 | 2014-03-05 | 北京奇虎科技有限公司 | Method and browser for performing webgame interaction |
CN104038835A (en) * | 2014-05-30 | 2014-09-10 | 四川长虹电器股份有限公司 | Intelligent-device-based multi-screen collaborative foundation platform and implementation method thereof |
CN104243517A (en) * | 2013-06-14 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Content sharing method and device used between different terminals |
CN104468679A (en) * | 2013-09-24 | 2015-03-25 | 腾讯科技(深圳)有限公司 | Geographic position sharing method and system and terminals |
CN104519135A (en) * | 2014-12-24 | 2015-04-15 | 广州美渠信息科技有限公司 | Service platform interaction system of mobile terminal |
-
2015
- 2015-11-23 CN CN201510818987.2A patent/CN106790329B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0736832A2 (en) * | 1995-04-07 | 1996-10-09 | AT&T IPM Corp. | Communications server for a multiuser interactive virtual environment and method of use thereof |
US20080249782A1 (en) * | 2007-04-04 | 2008-10-09 | Soonthorn Ativanichayaphong | Web Service Support For A Multimodal Client Processing A Multimodal Application |
CN104243517A (en) * | 2013-06-14 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Content sharing method and device used between different terminals |
CN104468679A (en) * | 2013-09-24 | 2015-03-25 | 腾讯科技(深圳)有限公司 | Geographic position sharing method and system and terminals |
CN103618701A (en) * | 2013-11-14 | 2014-03-05 | 北京奇虎科技有限公司 | Method and browser for performing webgame interaction |
CN104038835A (en) * | 2014-05-30 | 2014-09-10 | 四川长虹电器股份有限公司 | Intelligent-device-based multi-screen collaborative foundation platform and implementation method thereof |
CN104519135A (en) * | 2014-12-24 | 2015-04-15 | 广州美渠信息科技有限公司 | Service platform interaction system of mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229760A (en) * | 2017-07-27 | 2017-10-03 | 腾讯科技(深圳)有限公司 | Storage medium, electronic installation, the display methods of web page contents and device |
CN107229760B (en) * | 2017-07-27 | 2018-06-08 | 腾讯科技(深圳)有限公司 | Storage medium, electronic device, the display methods of web page contents and device |
Also Published As
Publication number | Publication date |
---|---|
CN106790329B (en) | 2020-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102710534B (en) | A kind of network communication method across application and equipment | |
CN102638797B (en) | Access the method for wireless network, terminal, access network node and authentication server | |
CN101346949B (en) | Instant messaging device/server protocol | |
CN104618440A (en) | Intelligent equipment control method and device | |
CN104426583B (en) | Data transmission method, device and near-field communication equipment based on near-field communication | |
US9258380B2 (en) | Cross-platform multimedia interaction system with multiple displays and dynamically-configured hierarchical servers and related method, electronic device and computer program product | |
CN102594799A (en) | Method for inviting users to game through chatting in mobile platform | |
CN101217517A (en) | A method and system to realize one-to-many chatting in the instant communication | |
CN107135146B (en) | The display methods and device of information | |
CN104702665A (en) | Information sharing method and information sharing device | |
CN105096157A (en) | Virtual article receiving method, sending method, interaction method and device | |
CN101827123A (en) | Method and system for realizing mobile widget engine with SNS function | |
CN104092596B (en) | A kind of management method, Apparatus and system of music groups of users | |
CN113810732B (en) | Live content display method, device, terminal, storage medium and program product | |
CN102130853A (en) | Group message interaction realization method and system | |
CN105744646A (en) | Mobile terminal and communication method | |
CN108718342A (en) | The foundation and management method of application platform customer relationship, server and storage medium | |
CN104932859B (en) | A kind of system and method synchronously issued with LED display for mobile phone microfiber web | |
CN108022126A (en) | Definite method, apparatus, server and the storage medium of prize drawing qualification | |
CN110582998A (en) | Group communication method and device, computer storage medium and computer equipment | |
CN105100238B (en) | It registers method and device | |
CN102185701A (en) | Method and system for realizing group information interaction | |
CN103116687A (en) | Role off-line control method based on online game | |
CN105426190A (en) | Data transmission method and device | |
CN101426183B (en) | Group communication system and method triggered by mobile telephone on the basis of network group |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |