Method, device and the server of multi-screen interactive
Technical field
The present invention relates to internet arena, in particular to a kind of method of multi-screen interactive, device and server.
Background technology
With continuing to develop for science and technology, individual may possess the electronic products such as mobile phone, computer, TV and pad simultaneously.
Based on the purpose shared, the content shown by the display screen of mobile phone can be thrown screen and arrive TV or computer screen by prior art
On curtain.Throw screen, as its name suggests, be exactly the terminal actively shared display screen display what, receive the terminal shared
Screen on what just shows, its essence or the operation of terminal shared to active receive the screen of terminal shared
Upper shown content is only a mapping of the screen for the terminal actively shared.In other words, the end shared is received
The display device of terminal that the screen at end is only shared as active, receiving the terminal shared can not be to the boundary of display
Face is operated.For example, the video that browser on mobile phone is played throws screen to TV, mobile phone operation video is broadcast
Put or suspend, and broadcasting or the halted state of video are only able to display on TV, and the broadcasting of uncontrollable video or
Person suspends.
For it is above-mentioned the problem of, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind of method of multi-screen interactive, device and server, shared with least solving receiving
The technical problem that be operated of the content that the terminal shared of active can not be shared of terminal.
One side according to embodiments of the present invention there is provided a kind of method of multi-screen interactive, including:First client
The first data of the second client are obtained, wherein, the first data are used to indicate that the second client executing first is operated;The
The first operation indicated by one the first data of client executing.
Another aspect according to embodiments of the present invention, additionally provides a kind of method of multi-screen interactive, including:Obtain second
First data of client;First data forwarding is given the first client by the server, so that first visitor
Family end performs the first operation indicated by first data.
Another aspect according to embodiments of the present invention, additionally provides a kind of device of multi-screen interactive, including:Acquiring unit,
The first data of first client are sent to for obtaining the second client, wherein, first data are used to refer to
Show that second client executing first is operated;Execution unit, for performing described indicated by first data
One operation.
Another aspect according to embodiments of the present invention, additionally provides a kind of server, including:Data capture unit, is used
In the first data for obtaining the second client;Retransmission unit, for giving the first client by first data forwarding,
So that the first operation described in first client executing indicated by the first data.
In embodiments of the present invention, the first client obtains the first data of the second client, wherein, first number
According to for indicating that second client executing first is operated;Indicated by first data described in first client executing
First operation, each client is subordinated to the terminal where it, is receiving what another client was shared
It while content, can also be controlled by the terminal where the client, substantially be the difference of two clients
Control, solving the terminal for receiving to share can not ask the technology that the content that the terminal that active is shared is shared is operated
Topic, has reached the technique effect that the terminal for receiving to share can be operated to the content that the terminal that active is shared is shared.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In accompanying drawing
In:
Fig. 1 is the structure chart of hardware environment according to embodiments of the present invention;
Fig. 2 is the flow chart of the method for according to embodiments of the present invention 1 multi-screen interactive;
Fig. 3 is the flow chart of the method for according to embodiments of the present invention 2 multi-screen interactive;
Fig. 4 is the schematic diagram of the bi-directional chaining of client and server according to embodiments of the present invention;
Fig. 5 is that the link of same account according to embodiments of the present invention is stored in the same link pond schematic diagram of server;
Fig. 6 is that the link of different accounts according to embodiments of the present invention is stored in the same link pond schematic diagram of server;
Fig. 7 is the schematic diagram of the device of multi-screen interactive according to embodiments of the present invention;
Fig. 8 is the schematic diagram of server according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment
The only embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ability
The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, should all belong to
The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this
The data that sample is used can be exchanged in the appropriate case, so as to embodiments of the invention described herein can with except
Here the order beyond those for illustrating or describing is implemented.In addition, term " comprising " and " having " and they
Any deformation, it is intended that covering is non-exclusive to be included, for example, containing process, the side of series of steps or unit
Method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include unclear
It is that ground is listed or for the intrinsic other steps of these processes, method, product or equipment or unit.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for multi-screen interactive is additionally provided, it is necessary to illustrate,
The step of flow of accompanying drawing is illustrated can perform in the computer system of such as one group computer executable instructions, and
And, although logical order is shown in flow charts, but in some cases, can be with different from order herein
Perform shown or described step.
Alternatively, in the present embodiment, the method for above-mentioned multi-screen interactive can apply to terminal (bag as shown in Figure 1
Include terminal 1022, terminal 1024 and terminal 1026) and the hardware environment that is constituted of server 104 in.Such as Fig. 1 institutes
Show, terminal is attached by network with server 104, be provided with client in terminal, above-mentioned network is included but not
It is limited to:Mobile communications network, wide area network, Metropolitan Area Network (MAN) or LAN, terminal can be mobile phone terminal or PC
Terminal, notebook terminal, tablet personal computer terminal or television terminal.Above-mentioned server 104 includes storing multiple terminals
On client communication linkage link pond.
The main operational principle of the hardware environment system shown in Fig. 1 is:Terminal 1022 (mobile phone), (electricity of terminal 1024
Brain) and terminal 1026 (TV) respective communication linkage be stored in the same link pond of server 104, when upper
When any one terminal to server 104 for stating three terminals sends data, server can turn the data received
Issue other two terminal.For example, terminal 1022 performs the first operation, and the first number is have sent to server 104
According to server 104 receives the first data forwarding to terminal 1024 and terminal 1026, terminal 1024 and terminal 1026
The first operation is also performed after to the first data, similarly, the of the second operation generation that terminal 1024 can also be performed
Two data are sent to server 104, server 104 by the second data forwarding to terminal 1022 and terminal 1026 after,
Perform second to operate, so that three terminals can also control other terminals in the case where realizing the action of itself
Perform identical action.
It should be noted that the action that the terminal said is performed can be understood as performed by the client that is set in terminal herein
Action, the client set in multiple terminals is identical client.Above-mentioned server 104 can also be set
Device in terminal, can realize the function of server.
Under above-mentioned hardware environment, this application provides the method for multi-screen interactive as shown in Figure 2, this method can be
Performed in client in some terminal.Fig. 2 is the flow chart of the method for according to embodiments of the present invention 1 multi-screen interactive.
As illustrated, the method for the multi-screen interactive comprises the following steps:
Step S202, the first client obtains the first data of the second client, wherein, the first data are used to indicate the
Two client executings first are operated.
Step S204, the first operation indicated by first the first data of client executing.
First client can be the client set in any one terminal in the hardware environment shown in Fig. 1, first
Client and the second client are in different terminals, belong to identical client.First client and the second client
End can perform identical function, for example, the browser on mobile phone, computer and TV.
First data can be the data corresponding to the action of the second client executing, for example, opening the action institute of webpage
Corresponding data, data corresponding to the action of search content etc. are inputted in search column.First data are by the first client
Receive, the first operation indicated by first the first data of client executing, so that the first client and the second client
End performs identical action, realizes and identical content is shown in different clients, performs identical action.
Alternatively, the first data can be transmitted to the first client with being serviced device.The server can be provided in certain
Device in individual terminal, can store and forward data.
By above-described embodiment, with the throwing screen of prior art (projection of another terminal is shown in a terminal,
The content of projection can not be controlled) to compare, the client in two terminals performs identical action to realize respectively
The content shown in two terminals is identical, and each client is subordinated to the terminal where it, is receiving another visitor
It while the content that family end is shared, can also be controlled by the terminal where the client, substantially be two visitors
The control respectively at family end, solving the terminal for receiving to share can not grasp to the content that the terminal that active is shared is shared
The technical problem of work, has reached that the terminal for receiving to share can be operated to the content that the terminal that active is shared is shared
Technique effect.
Simultaneously as client can individually be controlled independent of other clients, then, each client can be with
The characteristic of terminal according to residing for it is controlled, and improves the convenience controlled client.
For example, when playing video with the video player of TV version, having mobile phone or pad at one's side, being broadcast on mobile phone/pad
It is the thing for being easy to operation to put video, one video playback of input video name and selection.By TV remote controller come
Operate the video player of TV version extremely difficult.However, the method provided using the present embodiment, can be in mobile phone
Or video is searched on pad, the broadcasting of video is controlled, video is played on TV, or utilizes TV remote controller control
The pause of video is played on TV or continues to play.
For example, computer browsing pages are used, but the operation of handset sliding more facilitates, at this time, mobile phone is equivalent to
One touch-screen of computer.When needing search, keyword is inputted using computer.The result of search, can be by sliding
Mobile phone is browsed.Because the slip on mobile phone is acted also on computer, the result searched on computer is also with mobile phone
On slip and move, thus search result can also be browsed from computer.Can be the large-size screen monitors of computer using multi-screen interactive
Curtain and the ease for use of the same mobile phone of convenience of input/pad operations are gathered, and improve the convenience of operation.
For example, the first client is the video player on TV, the second client is the video player on mobile phone,
The communication linkage of the video player on video player and mobile phone on TV is stored in the same link pond of server
In.Video player on mobile phone is performed after the action (the i.e. first operation) of " playing A videos ", plays video.
The action of " playing A videos " is generated as the first data by the video player on mobile phone, and the first instruction is sent
To server.The first data forwarding that server receives the communication link of the video player on mobile phone is to same
Other communication links in pond are linked, one of communication link is the communication link of the video player on TV, from
And the video player on TV can receive the first data.Video player on TV obtains the first data correspondence
" play A videos " action, then the video of the video player on TV is played out.
Alternatively, the first client executing the first operation indicated by the first data include:First client is from first
Execution code is parsed in data and object is performed, wherein, it is the to performing the operation that object is carried out using code is performed
One operation;First client is operated using code is performed to execution object.
Perform code be each client can recognize, unified execution code, it is each to perform code correspondence one
Action, it can perform the object that the action corresponding to code is acted on to perform object, when execution code is to performing object
The first operation is just obtained when being operated, that is to say, that the first operation includes performing the corresponding action of code and execution
Object corresponding to object.So, client call performs code and performs operation to performing object, is achieved that first
Operation.
For example, in the above example, the first client is the video player on TV, the second client is on mobile phone
Video player.Video player on mobile phone is according to " playing A videos " the first data of generation.Regarding on TV
Frequency player is obtained after the first data, and it is " broadcasting " therefrom to parse execution code, and it is " A videos " to perform object,
Then the video player on TV performs the operation played to A videos.
Wherein, the first data that the first client can be sent according to the second client perform corresponding first operation, the
The instruction that one client can also be received according to it from terminal performs corresponding action.For example, the video on TV
Player receives " pause " signal of remote control and suspends broadcasting A videos.
That is, the first data that the first client can be sent according to the second client carry out identical operation, also
The control of its own can be individually performed, without being controlled by the second client, in the first client and the second client
While showing identical content, moreover it is possible to individually controlled, so as to improve the control of the first client and the second client
The flexibility of system.
Alternatively, before the first data that the first client obtains the second client, method also includes:First client
End judges whether to receive the first instruction and the second instruction, wherein, first instruct for indicate to allow the first client to
Second client sends the second data, and second instructs for indicating not allowing the first client to send the to the second client
Two data, the second data are used to indicate the operation of the first client executing second;If the first client is judged to receive
First instruction, then monitor the second operation of the first data and the first client executing, wherein, monitoring the second operation
In the case of, generate the second data and send the second data to the second client, so that the second client executing second is grasped
Make;If the first client is judged to receive the second instruction, the first data of the second client transmission are monitored.
First instruction and the second instruction can be the One functions in the first client, for example, the first instruction is common for screen
Enjoy, the second instruction is tracking-browsing.When the first instruction of the first client is triggered, the first client not only can be with
The first data for receiving the second client perform the first operation, and the second operation that can also be performed is sent to the second visitor
Family end, so as to control the second client executing second to operate;When the second instruction of the first client is triggered, first
Client only can be responded to perform the first operation to the first data that the second client is sent, even if the first client
End performs the second operation also will not send the second data to the second client, will not control the second client executing second
Operation.
For example, it is necessary to be browsed using browser or news application (the first client) during the cars such as winter
News, still, is not desired to control the first client with hand because weather is too cold.Now, user can open the first client
The tracking-browsing function at end, follows good friend to browse.That is, the second client of good friend shows any content, and what is performed
Action, just shows corresponding content in the first client, performs corresponding action.During the good friend is the first client
Good friend, to the second client request tracking-browsing, in the case where the second client is agreed to, receive the second client
The first data.
During tracking-browsing, the first client is only the first data for receiving the second client, performs first
Corresponding first operation of data.It should be noted that either tracking-browsing or Screen sharing, the first client is only
Only from the first operation is received, the implementing result performed after the first operation can't be obtained from the second client, equivalent to,
Each client is to independently execute the logic of oneself, and indicating the instruction received is obtained from another client,
Rather than the terminal acquisition where it.For example, when the first operation is opens www.aaaa.com, the first client
The content that www.aaaa.com is asked to www.aaaa.com server is held, rather than is obtained from the second client
Www.aaaa.com content.
, can be with because the first client can perform the first operation corresponding to the first data of the second client transmission
Perform the second operation of terminal control first client executing where the first client, then, when monitoring second
During operation, the second data are generated, and the second data are sent to the second client, the second client is also performed the second behaviour
Make.Because the action of the first client executing can be in the second client executing, the action of the second client executing also can be
First client executing, realizes the synchronization of the first client and the second client, on this basis, the first client
Perform action and the first visitor that the action, second the first client executing of client executing that the second client executing crosses are crossed
The action that family end and the second client are each performed is solved all without the confusion for causing the display content in two clients
Receive the technical problem that terminal can not be operated to the content that the terminal that active is shared is shared shared, simultaneously and also
It can guarantee that two clients normally display and operation.
Alternatively, in the case where monitoring the second operation, the second data is generated and the second number are sent to the second client
According to including:First client obtains the execution code of the second operation and performs object;First client will perform code and
Execution object encapsulation is the second data, wherein, performing code can be by the second client executing, and performing object can be by second
Client is operated by performing code.
For example, the video player (i.e. the first client) on mobile phone performs " playing A videos " action (i.e. second
Operation) after, the action of " broadcasting " is converted to execution code (such as 0001) by the video player on mobile phone, by " A
Video " is converted to execution object (such as title of A videos), and the action of " broadcasting " and " A videos " are sealed together
Fill as the second data, and be sent to the second client.
The process that second client generates the second data is similar with the process that above-mentioned first client generates the first data, and
And first client and the second client code performed using identical acted with corresponding.Second client receives
After two data, the process that the second operation is obtained from the second data is also obtained with above-mentioned first client from the first data
The process of first operation is similar.
Alternatively, the first operation indicated by first the first data of client executing includes:First client executing first
Include following at least one operations indicated by data:Open window, open the page, scroll through pages, input word,
Change focus, play and suspend.
Second operation of the first client executing can also be any one or more in above-mentioned first operation.Open window
Mouthful, open webpage, scroll through pages etc. and can be used in browser (the first client or the second client), play and
Pause can be applied in video player, and the action of correspondence other applications can also be as the first operation corresponding
Application program in perform, will not enumerate herein.
If the first operation is more complicated, not only needs to change focus, also to input word, also to perform selection, that
, the first operation splits into the combinations of multiple actions, multiple actions performed successively, so as to complete by the first client
The first whole operation.
In a specific example, the method for above-mentioned multi-screen interactive can be also used for advertisement.For example, second
Client executing opens advertisement A action (the i.e. first operation), then, server opens advertisement A action by performing
The first client is sent to, the first client also performs the action for opening advertisement A, it is achieved thereby that the push of advertisement.
By above-described embodiment, because two clients in two terminals can perform the action that other side performed,
The control of the terminal where client can also be received, therefore, solving the terminal for receiving to share can not share to active
The technical problem that is operated of the content shared of terminal, obtained receiving sharing terminal can be shared to active
The technique effect that the content that terminal is shared is operated.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to one it is
The combination of actions of row, but those skilled in the art should know, the present invention is not limited by described sequence of movement
System, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, art technology
Personnel should also know that embodiment described in this description belongs to preferred embodiment, involved action and module
Not necessarily necessary to the present invention.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but
The former is more preferably embodiment in many cases.Based on it is such understand, technical scheme substantially or
Say that the part contributed to prior art can be embodied in the form of software product, the computer software product is deposited
Storage is in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal
Equipment (can be mobile phone, computer, server, or network equipment etc.) is performed described in each embodiment of the invention
Method.
Embodiment 2
According to embodiments of the present invention, a kind of method of multi-screen interactive is additionally provided.The method of the multi-screen interactive is in server
It is upper to perform, as shown in figure 3, this method includes:
Step S302, obtains the first data of the second client.
Step S304, gives the first client, so that indicated by first the first data of client executing by the first data forwarding
First operation, wherein, the first data be used for indicate the second client executing first operate.First client can be
At the client set in any one terminal in hardware environment shown in Fig. 1, the first client and the second client
In in different terminals, belong to identical client.First client and the second client can perform identical function,
For example, the browser on mobile phone, computer and TV.Alternatively, the first data by server from the second client
End is transmitted to the first client.
As shown in figure 4, each client (computer, mobile phone, flat board and TV) sets up bi-directional chaining with server
(linking A, link B, link C and link D), i.e., each client can send data to server,
Each client in the data that can be sent with the reception server, Fig. 4 can serve as the first client or the second visitor
Family end.Server receives the first data in the link of any one client, is transmitted to the corresponding visitor of other links
Family end.
First data can be the data corresponding to the action of the second client executing, for example, opening the action institute of webpage
Corresponding data, data corresponding to the action of search content etc. are inputted in search column.Pass through the forwarding of server,
One data are received by the first client, the first operation indicated by first the first data of client executing, so that the
One client and the action of the second client executing identical, realize and identical content are shown in different clients,
Perform identical action.
By above-described embodiment, with the throwing screen of prior art (projection of another terminal is shown in a terminal,
The content of projection can not be controlled) to compare, the client in two terminals performs identical action to realize respectively
The content shown in two terminals is identical, and each client is subordinated to the terminal where it, is receiving another visitor
It while the content that family end is shared, can also be controlled by the terminal where the client, substantially be two visitors
The control respectively at family end, solving the terminal for receiving to share can not grasp to the content that the terminal that active is shared is shared
The technical problem of work, has reached that the terminal for receiving to share can be operated to the content that the terminal that active is shared is shared
Technique effect.
Alternatively, server includes the first data forwarding to the first client:Server is by the first of the first client
Communication linkage and the second communication linkage of at least one the second client are stored in same link pond;Server will be logical
Cross data forwarding that second communication linkage receives into the first communication linkage and at least one second client other
The second client the second communication linkage in, wherein, data include the first data.
As shown in figure 5, four shown in Fig. 4 are linked and (link A, link B, link C and link D) by server
It is stored in same link pond, computer is performed to browser (i.e. the first client) after operation (the i.e. first operation),
First operation of execution is translated as performing code and object (generating the first data) is performed by the first communication linkage
(linking A) is sent to server, server by the first data received by three the second communication linkages (i.e.
Link B, link C and link D) be sent respectively to the browser on mobile phone, it is clear on browser and TV on flat board
Look at device (i.e. the second client and other second clients), obtain the browsers of the first data by the first data translation to hold
Line code and parameter, to perform the first operation.The link being placed in same link pond can be all be subordinated to it is same
Logon account user1.
Server forward the first data when, other data can also be carried, for example, be pushed to the browser on mobile phone,
The advertisement of the browser on browser and TV on flat board, the browser and electricity on browser, flat board on mobile phone
While the first operation being performed depending on upper browser, the advertisement that load server is pushed.
Alternatively, server communicates the second of the first communication linkage of the first client and at least one the second client
Same link pond is stored in link to be included:Server judges whether to receive the prompt message of the first client transmission,
Prompt message is used to point out the first client to receive the first instruction or the second instruction, and first instructs for indicating to allow
First client sends the second data at least one second client, and second instructs for indicating not allowing the first client
Hold at least one second client and send the second data, the second data are used to indicate the behaviour of the first client executing second
Make;Server is judged to receive after prompt message, by the first communication linkage of the first client and at least one second
Second communication linkage of client is stored in same link pond.
First instruction and the second instruction can be the One functions in the first client, for example, the first instruction is common for screen
Enjoy, the second instruction is tracking-browsing.When the first instruction of the first client is triggered, the first client not only can be with
The first data for receiving the second client perform the first operation, and the second operation that can also be performed is sent to the second visitor
Family end, so as to control the second client executing second to operate;When the second instruction of the first client is triggered, first
Client only can be responded to perform the first operation to the first data that the second client is sent, even if the first client
End performs the second operation also will not send the second data to the second client, will not control the second client executing second
Operation.
For example, it is necessary to be browsed using browser or news application (the first client) during the cars such as winter
News, still, is not desired to control the first client with hand because weather is too cold.Now, user can open the first client
The tracking-browsing function at end, follows good friend to browse.That is, the second client of good friend shows any content, and what is performed
Action, just shows corresponding content in the first client, performs corresponding action.During the good friend is the first client
Good friend, to the second client request tracking-browsing, in the case where the second client is agreed to, receive the second client
The first data.
During tracking-browsing, the first client is only the first data for receiving the second client, performs first
Corresponding first operation of data.It should be noted that either tracking-browsing or Screen sharing, the first client is only
Only from the first operation is received, the implementing result performed after the first operation can't be obtained from the second client, equivalent to,
Each client is to independently execute the logic of oneself, and indicating the instruction received is obtained from another client,
Rather than the terminal acquisition where it.For example, when the first operation is opens www.aaaa.com, the first client
The content that www.aaaa.com is asked to www.aaaa.com server is held, rather than is obtained from the second client
Www.aaaa.com content.
, can be with because the first client can perform the first operation corresponding to the first data of the second client transmission
Perform the second operation of terminal control first client executing where the first client, then, when monitoring second
During operation, the second data are generated, and the second data are sent to the second client, the second client is also performed the second behaviour
Make.Because the action of the first client executing can be in the second client executing, the action of the second client executing also can be
First client executing, realizes the synchronization of the first client and the second client, on this basis, the first client
Perform action and the first visitor that the action, second the first client executing of client executing that the second client executing crosses are crossed
The action that family end and the second client are each performed is solved all without the confusion for causing the display content in two clients
Receive the technical problem that terminal can not be operated to the content that the terminal that active is shared is shared shared, simultaneously and also
It can guarantee that two clients normally display and operation.
Alternatively, the first client corresponding to communication linkage and the second client being stored in same link pond from
Belong to identical or different account.
In the example as shown in fig. 5, the client corresponding to the link in same link pond belongs to identical account
Family, that is to say, that the client of a user over multiple terminals uses identical Account Logon, then multiple clients
Same link in pond will be stored in linking for server foundation by holding.
In the example shown in Fig. 6, the client request tracking-browsing of logon account 1 (i.e. user1) another step on
The content shown in the client of record account 2 (i.e. user2), logs in the user1 of browser to browser on computers
First operation is translated as performing code and performs object (i.e. by the browser performed on operation (the i.e. first operation), computer
First data), then it is sent to server by linking A.
The link pond of server not only stores link A, and also storage belongs to the chain of the client of logon account 2 (user2)
E, link F and link G are met, wherein, link E correspondences user2 computer browser, link F correspondences user2
Mobile phone browser, link G correspondence user2 TV browser.The link institute being in same link pond is right
The client answered belongs to different accounts, that is to say, that set up using the client of different Account Logons with server
Link, being serviced device is stored in same link pond.Can be friend relation between different accounts, specifically,
When the content shown in the client of another logon account 2 of the client request tracking-browsing of logon account 1,
Account 2 can be the good friend of account 1 on the client, after the client of logon account 1 sends and follows request,
Server is by client and the server foundation of linking of setting up of client and the server of recording account 1 and logon account 2
Link be stored in same link pond.Based on this, the client of logon account 2, which can also be realized, allows logon account
The action that the client executing of 1 client executing logon account 2 is crossed.
By above-described embodiment, because two clients in two terminals can perform the action that other side performed,
The control of the terminal where client can also be received, therefore, solving the terminal for receiving to share can not share to active
The technical problem that is operated of the content shared of terminal, obtained receiving sharing terminal can be shared to active
The technique effect that the content that terminal is shared is operated.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to one it is
The combination of actions of row, but those skilled in the art should know, the present invention is not limited by described sequence of movement
System, because according to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, art technology
Personnel should also know that embodiment described in this description belongs to preferred embodiment, involved action and module
Not necessarily necessary to the present invention.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but
The former is more preferably embodiment in many cases.Based on it is such understand, technical scheme substantially or
Say that the part contributed to prior art can be embodied in the form of software product, the computer software product is deposited
Storage is in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal
Equipment (can be mobile phone, computer, server, or network equipment etc.) is performed described in each embodiment of the invention
Method.
Embodiment 3
According to embodiments of the present invention, a kind of embodiment of the device of multi-screen interactive is additionally provided, the device can perform reality
The method for applying the multi-screen interactive of example 1.As shown in fig. 7, the device of multi-screen interactive is provided with the first client, the device
Including:Acquiring unit 70 and execution unit 72.
Acquiring unit, the first data of the first client are sent to for obtaining the second client, wherein, the first data
For indicating the operation of the second client executing first.
Execution unit, for obtaining the first operation indicated by the first data, and performs the first operation of acquisition, wherein,
First data are transmitted to the first client by server from the second client, and the first client and the second client are setting
Same client on different device ends.
First client can be the client set in any one terminal in the hardware environment shown in Fig. 1, first
Client and the second client are in different terminals, belong to identical client.First client and the second client
End can perform identical function, for example, the browser on mobile phone, computer and TV.
First data can be the data corresponding to the action of the second client executing, for example, opening the action institute of webpage
Corresponding data, data corresponding to the action of search content etc. are inputted in search column.Pass through the forwarding of server,
One data are received by the first client, and the first client obtains the first operation indicated by the first data, and perform this
One operation, so that the first client and the action of the second client executing identical, are realized in different clients
Upper display identical content, performs identical action.
By above-described embodiment, with the throwing screen of prior art (projection of another terminal is shown in a terminal,
The content of projection can not be controlled) to compare, the client in two terminals performs identical action to realize respectively
The content shown in two terminals is identical, and each client is subordinated to the terminal where it, is receiving another visitor
It while the content that family end is shared, can also be controlled by the terminal where the client, substantially be two visitors
The control respectively at family end, solving the terminal for receiving to share can not grasp to the content that the terminal that active is shared is shared
The technical problem of work, has reached that the terminal for receiving to share can be operated to the content that the terminal that active is shared is shared
Technique effect.
Simultaneously as client can individually be controlled independent of other clients, then, each client can be with
The characteristic of terminal according to residing for it is controlled, and improves the convenience controlled client.
For example, when playing video with the video player of TV version, having mobile phone or pad at one's side, being broadcast on mobile phone/pad
It is the thing for being easy to operation to put video, one video playback of input video name and selection.By TV remote controller come
Operate the video player of TV version extremely difficult.However, the device provided using the present embodiment, can be in mobile phone
Or video is searched on pad, the broadcasting of video is controlled, video is played on TV, or utilizes TV remote controller control
The pause of video is played on TV or continues to play.
For example, computer browsing pages are used, but the operation of handset sliding more facilitates, at this time, mobile phone is equivalent to
One touch-screen of computer.When needing search, keyword is inputted using computer.The result of search, can be by sliding
Mobile phone is browsed.Because the slip on mobile phone is acted also on computer, the result searched on computer is also with mobile phone
On slip and move, thus search result can also be browsed from computer.Can be the large-size screen monitors of computer using multi-screen interactive
Curtain and the ease for use of the same mobile phone of convenience of input/pad operations are gathered, and improve the convenience of operation.
For example, the first client is the video player on TV, the second client is the video player on mobile phone,
The communication linkage of the video player on video player and mobile phone on TV is stored in the same link pond of server
In.Video player on mobile phone is performed after the action (the i.e. first operation) of " playing A videos ", plays video.
The action of " playing A videos " is generated as the first data by the video player on mobile phone, and the first instruction is sent
To server.The first data forwarding that server receives the communication link of the video player on mobile phone is to same
Other communication links in pond are linked, one of communication link is the communication link of the video player on TV, from
And the video player on TV can receive the first data.Video player on TV obtains the first data correspondence
" play A videos " action, then the video of the video player on TV is played out.
Alternatively, execution unit includes:Parsing module, code and execution pair are performed for being parsed from the first data
As, wherein, it is the first operation to performing the operation that object is carried out using code is performed;Operation module, holds for utilizing
Line code is operated to performing object.
Perform code be each client can recognize, unified execution code, it is each to perform code correspondence one
Action, it can perform the object that the action corresponding to code is acted on to perform object, when execution code is to performing object
The first operation is just obtained when being operated, that is to say, that the first operation includes performing the corresponding action of code and execution
Object corresponding to object.So, client call performs code and performs operation to performing object, is achieved that first
Operation.
For example, in the above example, the first client is the video player on TV, the second client is on mobile phone
Video player.Video player on mobile phone is according to " playing A videos " the first data of generation.Regarding on TV
Frequency player is obtained after the first data, and it is " broadcasting " therefrom to parse execution code, and it is " A videos " to perform object,
Then the video player on TV performs the operation played to A videos.
Wherein, the first data that the first client can be sent according to the second client perform corresponding first operation, the
The instruction that one client can also be received according to it from terminal performs corresponding action.For example, the video on TV
Player receives " pause " signal of remote control and suspends broadcasting A videos.
That is, the first data that the first client can be sent according to the second client carry out identical operation, also
The control of its own can be individually performed, without being controlled by the second client, in the first client and the second client
While showing identical content, moreover it is possible to individually controlled, so as to improve the control of the first client and the second client
The flexibility of system.
Embodiment 4
According to embodiments of the present invention, a kind of embodiment of server is additionally provided, the server can perform embodiment 2
Multi-screen interactive method.As shown in figure 8, the device of multi-screen interactive is provided with the first client, the device includes:
Data capture unit 80 and retransmission unit 82.
Data capture unit 80 is used for the first data for obtaining the second client.
Retransmission unit 82 is used for the first data forwarding to the first client, so that the first client obtains the first data institute
The first operation indicated, and the first operation of acquisition is performed, wherein, the first data are used to indicate the second client executing
First the first data of operation are transmitted to the first client, first client and the second visitor by server from the second client
Family end is the same client being arranged on different device ends.
First client can be the client set in any one terminal in the hardware environment shown in Fig. 1, first
Client and the second client are in different terminals, belong to identical client.First client and the second client
End can perform identical function, for example, the browser on mobile phone, computer and TV.
As shown in figure 4, each client (computer, mobile phone, flat board and TV) sets up bi-directional chaining with server
(linking A, link B, link C and link D), i.e., each client can send data to server,
Each client in the data that can be sent with the reception server, Fig. 4 can serve as the first client or the second visitor
Family end.Server receives the first data in the link of any one client, is transmitted to the corresponding visitor of other links
Family end.
First data can be the data corresponding to the action of the second client executing, for example, opening the action institute of webpage
Corresponding data, data corresponding to the action of search content etc. are inputted in search column.Pass through the forwarding of server,
One data are received by the first client, and the first client obtains the first operation indicated by the first data, and perform this
One operation, so that the first client and the action of the second client executing identical, are realized in different clients
Upper display identical content, performs identical action.
By above-described embodiment, with the throwing screen of prior art (projection of another terminal is shown in a terminal,
The content of projection can not be controlled) to compare, the client in two terminals performs identical action to realize respectively
The content shown in two terminals is identical, and each client is subordinated to the terminal where it, is receiving another visitor
It while the content that family end is shared, can also be controlled by the terminal where the client, substantially be two visitors
The control respectively at family end, solving the terminal for receiving to share can not grasp to the content that the terminal that active is shared is shared
The technical problem of work, has reached that the terminal for receiving to share can be operated to the content that the terminal that active is shared is shared
Technique effect.
Alternatively, retransmission unit includes:Storage module, for by the first communication linkage of the first client and at least one
Second communication linkage of individual second client is stored in same link pond;Forwarding module, for one will to be passed through
The data forwarding that two communication linkages are received visitor of others second into the first communication linkage and at least one second client
In second communication linkage at family end, wherein, the data received include the first data.
As shown in figure 5, four shown in Fig. 4 are linked and (link A, link B, link C and link D) by server
It is stored in same link pond, computer is performed to browser (i.e. the first client) after operation (the i.e. first operation),
First operation of execution is translated as performing code and object (generating the first data) is performed by the first communication linkage
(linking A) is sent to server, server by the first data received by three the second communication linkages (i.e.
Link B, link C and link D) be sent respectively to the browser on mobile phone, it is clear on browser and TV on flat board
Look at device (i.e. the second client and other second clients), obtain the browsers of the first data by the first data translation to hold
Line code and parameter, to perform the first operation.
Server forward the first data when, other data can also be carried, for example, be pushed to the browser on mobile phone,
The advertisement of the browser on browser and TV on flat board, the browser and electricity on browser, flat board on mobile phone
While the first operation being performed depending on upper browser, the advertisement that load server is pushed.
Alternatively, storage module includes:Judging submodule, for judging whether to receive carrying for the first client transmission
Show information, prompt message is used to pointing out the first client to receive the first instruction or the second instruction, first instructs and be used for
Indicate to allow the first client to send the second data at least one second client, second instructs for indicating not allow
First client sends the second data at least one second client, and the second data are used to indicate the first client executing
Second operation;Submodule is deposited, for after judging to receive prompt message, the first of the first client to be led to
Second communication linkage of letter link and at least one the second client is stored in same link pond.
First instruction and the second instruction can be the One functions in the first client, for example, the first instruction is common for screen
Enjoy, the second instruction is tracking-browsing.When the first instruction of the first client is triggered, the first client not only can be with
The first data for receiving the second client perform the first operation, and the second operation that can also be performed is sent to the second visitor
Family end, so as to control the second client executing second to operate;When the second instruction of the first client is triggered, first
Client only can be responded to perform the first operation to the first data that the second client is sent, even if the first client
End performs the second operation also will not send the second data to the second client, will not control the second client executing second
Operation.
For example, it is necessary to be browsed using browser or news application (the first client) during the cars such as winter
News, still, is not desired to control the first client with hand because weather is too cold.Now, user can open the first client
The tracking-browsing function at end, follows good friend to browse.That is, the second client of good friend shows any content, and what is performed
Action, just shows corresponding content in the first client, performs corresponding action.During the good friend is the first client
Good friend, to the second client request tracking-browsing, in the case where the second client is agreed to, receive the second client
The first data.
During tracking-browsing, the first client is only the first data for receiving the second client, performs first
Corresponding first operation of data.It should be noted that either tracking-browsing or Screen sharing, the first client is only
Only from the first operation is received, the implementing result performed after the first operation can't be obtained from the second client, equivalent to,
Each client is to independently execute the logic of oneself, and indicating the instruction received is obtained from another client,
Rather than the terminal acquisition where it.For example, when the first operation is opens www.aaaa.com, the first client
The content that www.aaaa.com is asked to www.aaaa.com server is held, rather than is obtained from the second client
Www.aaaa.com content.
, can be with because the first client can perform the first operation corresponding to the first data of the second client transmission
Perform the second operation of terminal control first client executing where the first client, then, when monitoring second
During operation, the second data are generated, and the second data are sent to the second client, the second client is also performed the second behaviour
Make.Because the action of the first client executing can be in the second client executing, the action of the second client executing also can be
First client executing, realizes the synchronization of the first client and the second client, on this basis, the first client
Perform action and the first visitor that the action, second the first client executing of client executing that the second client executing crosses are crossed
The action that family end and the second client are each performed is solved all without the confusion for causing the display content in two clients
Receive the technical problem that terminal can not be operated to the content that the terminal that active is shared is shared shared, simultaneously and also
It can guarantee that two clients normally display and operation.
Alternatively, the first client corresponding to communication linkage and the second client being stored in same link pond from
Belong to identical or different account.
In the example as shown in fig. 5, the client corresponding to the link in same link pond belongs to identical account
Family, that is to say, that the client of a user over multiple terminals uses identical Account Logon, then multiple clients
Same link in pond will be stored in linking for server foundation by holding.
In the example shown in Fig. 6, the client request tracking-browsing of logon account 1 (i.e. user1) another step on
The content shown in the client of record account 2 (i.e. user2), logs in the user1 of browser to browser on computers
First operation is translated as performing code and performs object (i.e. by the browser performed on operation (the i.e. first operation), computer
First data), then it is sent to server by linking A.
The link pond of server not only stores link A, and also storage belongs to the chain of the client of logon account 2 (user2)
E, link F and link G are met, wherein, link E correspondences user2 computer browser, link F correspondences user2
Mobile phone browser, link G correspondence user2 TV browser.The link institute being in same link pond is right
The client answered belongs to different accounts, that is to say, that set up using the client of different Account Logons with server
Link, being serviced device is stored in same link pond.Can be friend relation between different accounts, specifically,
When the content shown in the client of another logon account 2 of the client request tracking-browsing of logon account 1,
Account 2 can be the good friend of account 1 on the client, after the client of logon account 1 sends and follows request,
Server is by client and the server foundation of linking of setting up of client and the server of recording account 1 and logon account 2
Link be stored in same link pond.Based on this, the client of logon account 2, which can also be realized, allows logon account
The action that the client executing of 1 client executing logon account 2 is crossed.
By above-described embodiment, because two clients in two terminals can perform the action that other side performed,
The control of the terminal where client can also be received, therefore, solving the terminal for receiving to share can not share to active
The technical problem that is operated of the content shared of terminal, obtained receiving sharing terminal can be shared to active
The technique effect that the content that terminal is shared is operated.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment
The part of detailed description, may refer to the associated description of other embodiment.
, can be by other in several embodiments provided herein, it should be understood that disclosed technology contents
Mode realize.Wherein, device embodiment described above is only schematical, such as division of described unit,
It is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, institute
Display or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, unit or mould
The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to
On multiple NEs.Some or all of unit therein can be selected to realize the present embodiment according to the actual needs
The purpose of scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit realized using in the form of SFU software functional unit and as independent production marketing or in use,
It can be stored in a computer read/write memory medium.Understood based on such, technical scheme essence
On all or part of the part that is contributed in other words to prior art or the technical scheme can be with software product
Form is embodied, and the computer software product is stored in a storage medium, including some instructions are to cause one
Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the invention
State all or part of step of method.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improve and moistened
Decorations also should be regarded as protection scope of the present invention.