CN104093077A - Multi terminal interconnection method, device and system - Google Patents

Multi terminal interconnection method, device and system Download PDF

Info

Publication number
CN104093077A
CN104093077A CN201310522446.6A CN201310522446A CN104093077A CN 104093077 A CN104093077 A CN 104093077A CN 201310522446 A CN201310522446 A CN 201310522446A CN 104093077 A CN104093077 A CN 104093077A
Authority
CN
China
Prior art keywords
interface
client
functional parameter
page
primary functional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310522446.6A
Other languages
Chinese (zh)
Other versions
CN104093077B (en
Inventor
王冲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310522446.6A priority Critical patent/CN104093077B/en
Publication of CN104093077A publication Critical patent/CN104093077A/en
Application granted granted Critical
Publication of CN104093077B publication Critical patent/CN104093077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a multi terminal interconnection method, device and system, and relates to the technical field of internet. The problems of poor terminal compatibility and insufficient application scalability of a multi terminal interconnection scheme of an Apple's operating system are solved. The method provided by the invention comprises the steps that after a user logs in a social application account through a main control terminal, a social application client generates an operation interface according to a pre-loaded HTML5 page; an operation instruction triggered by the user in the operation interface is received; native function parameters corresponding to the control instruction are retrieved through a Javascript interface; and through the HTML5 page, the native function parameters corresponding to the operation instruction are sent to a client server, so that the client server sends the control instruction to a controlled terminal according to the native function parameters. The multi terminal interconnection method, device and system, which are provided by the invention, are mainly applied to the process of a control operation carried out by the main control terminal on the controlled terminal.

Description

Method, Apparatus and system that multiple terminals is interconnected
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of interconnected method in multiple terminals, Apparatus and system.
Background technology
User terminal (the User Equipment such as current mobile phone, computer, be called for short UE) can carry out interconnected based on specific application software, realize the operation of cross-terminal and control, for example, by mobile phone, control intelligent television displaying video, or by panel computer, on desktop computer, play and control etc.The feature of this multiple terminals mutual contact mode is to use home control network communication protocol to connect each terminal, in conjunction with the remote control application program of special exploitation, realize the transmission of control command between terminal, the central cluster then realizing between principal and subordinate's terminal is controlled or point-to-point control.
A kind of typical multiple terminals interconnect scheme is released by apple (Apple) company exploitation, and this scheme utilization is arranged on the home control network communication protocols such as iTunes client in apple terminal and bluetooth (bluetooth), WI-FI and carries out remote control.User uses iTunes client to trigger and generate control command in main control terminal, then by bluetooth or WI-FI, control command is sent to controlled terminal, controlled terminal, after the iTunes client control command by same installation, is carried out functions such as broadcasting, startup screen according to the indication of control command.
In the interconnected scheme in above-mentioned multiple terminals, inventor finds that in prior art, at least there are the following problems: for reasons such as technology realization, business strategies, interconnect scheme based on Apple Macintosh operating system is only applicable to apple terminal, cannot compatible other operating system terminals, particularly have and be widely used basic Android (Android) operating system terminal.Simultaneously, because apple application all designs based on non-increasing income property program, therefore the closure of iTunes client makes third-party design personnel based on other clients, to multiple terminals interconnection technique, carry out the exploitation of application, causes the autgmentability of multiple terminals interconnection technique limited serious.
Summary of the invention
The embodiment of the present invention provides a kind of interconnected method in multiple terminals, Apparatus and system, can solve the problem that multiple terminals interconnect scheme terminal transparency is poor, application scalability is not enough based on Apple Macintosh operating system.
For addressing the above problem, on the one hand, the embodiment of the present invention provides a kind of multiple terminals interconnected method, comprising:
User, by main control terminal, login after social application account, social applications client is according to the HTML 5(HTML5 of prestrain) page generating run interface;
Receive the operational order that user triggers in described operation interface;
By transfer the primary functional parameter of corresponding described control command based on object and event driven client script language (Javascript) interface;
By the HTML5 page, the primary functional parameter of the described operational order of correspondence is sent to client-server, so as described client-server according to described primary functional parameter to controlled terminal sending controling instruction.
On the other hand, the embodiment of the present invention provides a kind of multiple terminals interconnected device, comprising:
Interface processing module, for logining user after social application account, according to the HTML 5(HTML5 of prestrain) page generating run interface;
Imput output circuit, the operational order triggering for receiving described operation interface that user generates in described interface processing module;
Processor, for by transferring the corresponding primary functional parameter of described operational order receiving with described imput output circuit based on object and event driven client script language (Javascript) interface;
Described imput output circuit also sends to client-server for the primary functional parameter of the described operational order of correspondence described processor transferred by the described HTML5 page, so as described client-server according to described primary functional parameter to controlled terminal sending controling instruction.
On the one hand, the embodiment of the present invention provides a kind of multiple terminals interconnected system, comprising: main control terminal, client-server and controlled terminal, wherein, comprise the interconnected device in multiple terminals as above in described main control terminal again;
Described main control terminal, for logining by main control terminal user after social application account, according to the HTML 5(HTML5 of prestrain) page generating run interface, receive the operational order that user triggers in described operation interface, then by transfer the primary functional parameter of corresponding described control command based on object and event driven client script language (Javascript) interface, finally by the described HTML5 page, the primary functional parameter of the described operational order of correspondence is sent to client-server;
Described client-server, the described primary functional parameter sending for receiving described main control terminal, generates control command according to described primary functional parameter, and described control command is sent to described controlled terminal;
Described controlled terminal, the described control command sending for receiving described client-server, according to described control command executable operations.
Interconnected method, the Apparatus and system in multiple terminals that the embodiment of the present invention provides, can by main control terminal, login user after social application account, by social applications client according to the HTML 5(HyperText Markup Language5 of prestrain, be called for short HTML5) page generating run interface, and receive the operational order that user triggers in operation interface.Then by transfer the primary functional parameter of corresponding control command based on object and event driven client script language (Javascript) interface, finally by the HTML5 page, the primary functional parameter of respective operations instruction is sent to client-server, so as client-server according to this primary functional parameter to controlled terminal sending controling instruction.With in prior art, by iTunes client, realize that multiple terminals is interconnected to be compared, can based on being arranged on social applications client in terminal, to realize multiple terminals interconnected, without the specific interconnecting application of user installation, be easy to use quick.And, owing to having used Javascript interface to carry out primary funcall, therefore the operating system that the scripts such as Object C, Java of can compatible take are foundational development, thereby realize interconnected based between the operating system terminals such as Apple Macintosh operating system (iphone Operation System is called for short IOS), Android, Microsoft (Windows), Saipan (Symbian).In addition, in the embodiment of the present invention, pass through the HTML5 page with World Wide Web (WWW) (World Wide Web, being called for short WWW or Web) form realizes the transmission of primary functional parameter, with in prior art, by modes such as bluetooth or WI-FI, send and control parameter and compare, bluetooth module in terminal or WI-FI module are not had to mandatory requirement, the terminal that bluetooth module and WI-FI module be not set can realize interconnected with other-end equally, can reduce thus design cost and the complexity of terminal mainboard., compare with the Flash page of only supporting Android operating system generally adopting at present, the Web transmission form based on the HTML5 page can be applicable to how different operating system, thereby reaches better compatible result meanwhile.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the interconnected method flow diagram in multiple terminals in the embodiment of the present invention;
Fig. 2 (a) and Fig. 2 (b) are the schematic diagram of two interconnected scenes in multiple terminals in the embodiment of the present invention;
Fig. 3 is the interconnected method flow diagram in another multiple terminals in the embodiment of the present invention;
Fig. 4 (a) to Fig. 4 (d) be the schematic diagram of four operation interfaces in the embodiment of the present invention;
Fig. 5 is the structural representation of multiple terminals interconnect device in the embodiment of the present invention;
Fig. 6 is the structural representation of another multiple terminals interconnect device in the embodiment of the present invention;
Fig. 7 is the schematic diagram of multiple terminals interconnected systems in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the present embodiment, the technical scheme in the present embodiment is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For ease of subsequent embodiment is described, first the primary function in terminal and the control of the operation based on primary function are briefly introduced.
So-called primary function (or being called native applications) is the terminal applies for network application, and network application is traditional mobile phone application, user can be from the Internet download network apply and be arranged on terminal and move.And native applications Ze Shiyou equipment manufacturers develop, before dispatching from the factory, terminal is arranged in terminal, and user cannot modify or delete native applications.In addition, be with another large difference of network application, native applications is mainly used in the hardware of terminal inner to drive, and comprise and drive loud speaker, Touch Screen, acceleration transducer etc., thus the realization of assurance terminal basic function.
In the interconnection technique of multiple terminals, most application scenarioss are all that the primary function based on main control terminal is achieved.For example, user carries out game operation on the Touch Screen of main control terminal, and main control terminal is controlled the game application moving in controlled terminal according to the operation signal producing on Touch Screen; Again for example, user is by the microphone input voice control signal of main control terminal, and main control terminal is analyzed voice control signal according to speech recognition technology, then controls controlled terminal and automatically writes short message content.The embodiment of the present invention provides a kind of primary function based on main control terminal to realize the interconnected scheme of multiple terminals, below the embodiment in the present invention is described.
For realizing interconnected based between different operating system terminal, the present embodiment provides a kind of multiple terminals interconnected method, as shown in Figure 1, comprising:
101, user, by main control terminal, login after social application account, social applications client is according to the HTML5 page generating run interface of prestrain.
The present embodiment is realized multiple terminals interconnection technique based on social applications client, conventionally in user terminal, various social applications client is all installed, such as " everybody ", " QQ ", " microblogging ", " micro-letter " etc.Terminal is carried out interconnected based on existing social applications client and other-end, without professional interconnecting application is installed separately.
Conventionally, the large multipair requirement of real-time of controlling of application scenarios higher (for example game is controlled) of multiple terminals interconnection technique, therefore it is interconnected that the client of preferably applying by instant messagings such as " QQ " in the present embodiment realizes multiple terminals, to guarantee that the time delay of remote control can meet in related specifications the service quality requirement of (Quality of Service is called for short QoS).
The interconnected scene relating in the present embodiment comprises a plurality of terminals, between terminal, is communicated with between two, and two interconnected terminals can be controlled mutually, for example the interconnecting relation between mobile phone as shown in Figure 2 (a), intelligent television, computer three.For ease of explanation and understanding, the present embodiment is simplified the scene shown in Fig. 2 (a), obtains the scene as shown in Fig. 2 (b), and this scene comprises mobile phone and intelligent television two station terminals, and wherein mobile phone is as main control terminal, and intelligent television is as controlled terminal.The present embodiment is follow-up will be described according to the scene shown in Fig. 2 (b), for the scene that comprises three above terminals, those skilled in the art can be equal to realization according to the implementation of Fig. 2 (b) under the prerequisite of not paying creative work, and the present embodiment describes in detail no longer one by one.
For the scene shown in Fig. 2 (b), user is the social activity application account of login oneself in main control terminal first, and then social applications client is according to the HTML5 page generating run interface of prestrain.In the present embodiment, social applications client sends primary functional parameter with Web form to client, therefore adopt the typical HTML5 page in Web agreement to carry out scheme realization, compare with the Flash page, the HTML5 page, except going for java script, can also be applicable to other scripts such as Object C.
In the HTML5 page, include the page resources such as graph text information that user interface relates to, multimedia messages, such as page vision resource, code script resource etc., social applications client generates the operation interface for man-machine interaction according to the HTML5 page.
In the present embodiment, the HTML5 page is pre-loaded in social applications client, and when needs generating run interface, social applications client is transferred the generation that the HTML5 page carries out operation interface.Due to scripts such as Javascript interface applicable Object C, Java, therefore can compatible IOS, Android etc. the terminal of operating system.
102, social applications client receives the operational order that user triggers in operation interface.
Behind social applications client generating run interface, main control terminal shows operation interface on screen, and receives the operational order that user triggers in operation interface, such as receiving navigation instruction, to the right left or rocking the instruction etc. of main control terminal.
It should be noted that, so-called in the present embodiment " receiving the operational order that user triggers in operation interface " not only refer to that user triggers on Touch Screen, for controlling the operational order of controlled terminal, also comprise that user is by the operational order that Touch Screen triggers, other primary functions are sent in main control terminal.For example, be provided with " rocking mobile phone " button in operation interface, user is triggering by Touch Screen after this button, and social applications client is called Javascript interface and started gravity sensing function, and then user sends operational order by rocking main control terminal.
103, social applications client is transferred the primary functional parameter of respective operations instruction by Javascript interface.
The primary functional parameter that social applications client is transferred by Javascript interface comprises gravity sensing parameter, speech parameter etc., and user is by which kind of primary function trigger action instruction, and social applications client is just transferred the parameter of corresponding which kind of primary function.For example, for the operational order that rocks mobile phone, social applications client is obtained corresponding gravity sensing function parameter and is sent to client-server.
The operational order kind relating in the present embodiment includes but not limited to a kind of, and correspondingly, the primary functional parameter kind that social applications client is obtained is also not limited to a kind of.For example, when user triggers two operational orders by rocking two kinds of modes of mobile phone and phonetic entry simultaneously, or when user triggers an operational order by rocking mobile phone and length by the mode of Touch Screen, social applications client is obtained respectively gravity sensing function parameter and phonetic function parameter.
104, social applications client sends to client-server by the HTML5 page by the primary functional parameter of respective operations instruction.
Get after the primary functional parameter of respective operations instruction, social applications client is by the HTML5 page, based on HTML (Hypertext Markup Language) (HyperText Transfer Protocol, be called for short HTTP) agreement, with the primary functional parameter of form of Web, send to client-server.
In prior art, main control terminal is by the communications protocol transmission control command of bluetooth or WI-FI, in contrast to this, transmission means based on Web form in the present embodiment can not carried out requirement to the wireless communication module of terminal inner, can reduce cost and the complexity of motherboard design, and for main quilt control terminal, can also reduce the kwh loss of transfer of data.
Client-server receives after primary functional parameter, according to primary functional parameter and in conjunction with the concrete applications/functions of moving in controlled terminal, generates corresponding control command, sends to controlled terminal.For example, when in controlled terminal, running game is applied, Touch Screen operating parameter that client-server reports according to main control terminal generates concrete control commands such as " on ", D score, " left side ", the right side ", to realize controlling game application in controlled terminal.
Controlled terminal is after receiving the control command of client-server transmission, according to this control command, corresponding applications/functions is called, for example control the movement of personage in game, or start loud speaker audio plays etc., the multiple terminals completing thus based on Web form is interconnected.In the present embodiment, need equally the installation social applications client identical with main control terminal in controlled terminal, and by same user, on main control terminal and controlled terminal, login respectively the social activity application account of oneself simultaneously, just can make thus the social applications client on controlled terminal receive the control command from client-server.
The interconnected method in multiple terminals that the present embodiment provides, can obtain for generating the primary functional parameter of control command by Javascript interface, due to Javascript interface can compatible Object C, Java etc. script, therefore can realize interconnected between the operating system terminals such as IOS, Android.In addition, when transmission control command, the HTML5 page with Web form transmits primary functional parameter, because the HTML5 page is not only applicable to Android operating system, also be applicable to other operating systems such as IOS, Microsoft, Saipan, therefore can be applied to install the terminal of each type operating system, thereby realize interconnected between each Terminal Type and control.Due to the transmission means having adopted based on the Internet form, compare with the mode of transmitting by wireless protocols such as bluetooths simultaneously, can also reduce design cost and the complexity of terminal mainboard.
As to the detailed description of method shown in Fig. 1 and further expand, the present embodiment also provides a kind of multiple terminals interconnected method, as shown in Figure 3, comprising:
301, social applications client receives the social activity application account login instruction that user triggers.
Carrying out multiple terminals when interconnected, first user needs to login respectively by the social applications client in main control terminal and controlled terminal the social activity application account of oneself, and after account login, the social applications client of main control terminal is sequentially carried out subsequent step.
302, social applications client is according to the HTML5 page generating run interface of prestrain.
In the present embodiment, the page resource of the HTML5 page is pre-loaded in social applications client, and when needs generating run interface, the page resource that social applications client is transferred the HTML5 page carries out interface generation.
Concrete, the page resource of the HTML5 page can be bundled in the installation file of social applications client in advance, social applications client reads the page resource of the HTML5 page of binding in advance in installation file, then the page resource of the HTML5 page is cached in local storage.When generating run interface, owing to can directly read page resource from local storage, therefore can greatly shorten the load time of operation interface, reduce user's stand-by period.
Optionally, when client-server side is upgraded the HTML5 page (such as the pattern of operation interface, function key etc. are upgraded), client-server can send to social applications client by page resource corresponding to the HTML5 page after upgrading by Web form or common 2G/3G/4G communication form, by social applications client, the page resource in memory is upgraded.
Another substitute mode as this step, for saving the EMS memory occupation of main control terminal, be bundled in advance in social applications client installation file can be also URL(uniform resource locator) (the Uniform Resource Locator of the HTML5 page, be called for short URL), social applications client is when generating run interface, URL by the HTML5 page, to the page resource of the client-server request HTML5 page, then generates operation interface.
303, social applications client receives the operational order that user triggers in operation interface.
Behind generating run interface, when user need to control controlled terminal by main control terminal, social applications client shows this operation interface in main control terminal.Example, this operation interface can shape as shown in Figure 4 (a), comprising " video frequency remote-control device ", " game paddle " and " brightness regulation " three function keys.
After using Trigger Function key " video frequency remote-control device ", social applications client shows sub-interface as shown in Figure 4 (b), and this interface comprises the various function keys in traditional remote controller, and user can carry out remote control to controlled terminal by main control terminal.After using Trigger Function key " game paddle ", for gravity sensing, play, social applications client shows prompting frame as shown in Figure 4 (c), the gravity sensing function of prompting user main control terminal starts, and user can be by using main control terminal to control the game moving in controlled terminal.After using Trigger Function key " automatically ", social applications client shows the prompting frame as shown in Fig. 4 (d), sensitization function in prompting user main control terminal starts, and social applications client starts automatically to regulate according to main control terminal ambient brightness around the screen intensity of controlled terminal.
304, social applications client is transferred the primary functional parameter of corresponding control command by Javascript interface.
For different primary functions/primary functional parameter, the Javascript interface that social applications client is called comprises: power interface, touch-control Touch Screen input interface, physical keyboard input interface, audio frequency play interface, gravity sensing interface, light sensation induction interface, compass/compass interface, vibration induction interface, microphone input interface and camera control interface.
Example, for 4(b) shown in operating function, social applications client is transferred the relevant parameter of touch-control Touch Screen input function, such as " adjusting volume ", " zapping " etc.; For 4(c) shown in operating function, social applications client is transferred the relevant parameter of gravity sensing function, for example the three shaft angle degree component values of main control terminal when a certain attitude; For 4(d) shown in operating function, social applications client is transferred the relevant parameter of light sensation inducing function, for example the light intensity value of main control terminal surrounding environment.
Further, when transferring primary functional parameter, for different operating system, social applications client can be transferred the primary functional parameter of different form of scripts.Concrete:
1), for IOS operating system, social applications client is transferred the primary functional parameter with the encapsulation of Object C form by Javascript interface.
2), for IOS operating system, social applications client is transferred the primary functional parameter with the encapsulation of Java form by Javascript interface.
Because Javascript interface can compatible Object C and the script of Java form, therefore for the social applications client of different operating system, can transfer the primary functional parameter of different form of scripts, therefore realize the compatibility to different operating system terminal.
305, social applications client sends to client-server by the HTML5 page by the primary functional parameter of respective operations instruction.
The implementation of this step is identical with the implementation of step 104 in Fig. 1, repeats no more herein.
Optionally, in the application scenes of the present embodiment, when sending to client-server to send to after client-server primary functional parameter by step 305, social application terminal also needs to receive by the HTML5 page the reverse control command that client-server sends, and this reverse control command is the control command that client-server produces the response of control command according to controlled terminal.After receiving reverse control command, social applications client is called primary function according to this reverse control command and Javascript interface.
Example, when user plays while controlling by the social applications client in main control terminal in controlled terminal, in controlled terminal, can produce audio, vibration equivalent fruit according to game environment, figure action etc.When producing these effects, controlled terminal sends to client-server by social applications client by effect parameter (belonging to equally primary functional parameter), by client-server, according to these effect parameter, generate reverse control command, and send to main control terminal.The social applications client of main control terminal receives after reverse control command, according to corresponding Javascript interface (such as audio frequency play interface, vibration induction interface etc.), the primary functions such as corresponding loud speaker, actuator are called, played out corresponding audio or vibrating effect.
In another example, when user controls controlled terminal displaying video by the social applications client in main control terminal, controlled terminal can send reverse control command to main control terminal by client-server equally, control main control terminal to same video content synchronously play, the operation such as time-out, F.F..
The interconnected method in multiple terminals that the present embodiment provides is the explanation that the scene based on shown in Fig. 2 (b) is carried out, and object is only to be convenient to explanation and understands.In practical application, the method shown in Fig. 1 or Fig. 3 can be equal to equally and is applied in the scene shown in Fig. 2 (a), or is equal to and is applied in the scene that has multiple terminals more, and its implementation is identical with the implementation essence of method shown in Fig. 1 or Fig. 3.
The interconnected method in multiple terminals that the present embodiment provides, can obtain for generating the primary functional parameter of control command by Javascript interface, due to Javascript interface can compatible Object C, Java etc. script, therefore can realize interconnected between the operating system terminals such as IOS, Android.In addition, when transmission control command, the HTML5 page with Web form transmits primary functional parameter, because the HTML5 page is not only applicable to Android operating system, also be applicable to other operating systems such as IOS, Microsoft, Saipan, therefore can be applied to install the terminal of each type operating system, thereby realize interconnected between each Terminal Type and control.Due to the transmission means having adopted based on the Internet form, compare with the mode of transmitting by wireless protocols such as bluetooths simultaneously, can also reduce design cost and the complexity of terminal mainboard.
Below, the realization based on method shown in Fig. 1 or Fig. 3, provides the adaptable several scenes of the present embodiment:
1) user obtains the music playlist that media player is uploaded from client-server by mobile phone, then on mobile phone, selecting needs the music of playing and triggers music key, mobile phone is controlled media renderer plays by client-server and is specified music, open simultaneously can suspend music, the control such as switching.
2) user rocks mobile phone, by client-server, gravity sensing parameter is converted into game and controls instruction and send to intelligent television, and intelligent television controls according to game the direction that racing car in game is controlled in instruction.
3) user starts the light-sensing function of mobile phone, when mobile phone detects ambient light lower than certain light intensity value (for example, under environment at night), by client-server, controls computer auto sleep or shutdown.
4) user starts the light-sensing function of mobile phone, when mobile phone changes according to the brightness of screen, synchronously adjusts the brightness of computer screen by client-server.
5) power key that user triggers mobile phone is started shooting or power-off operation, the startup of mobile phone by client-server Synchronization Control intelligent television and closing.
6) user starts the compass function of mobile phone when trip, mobile phone is in real time by user's directioin parameter and global positioning system (Global Positioning System in the process of walking, abbreviation GPS) parameter sends to another mobile phone by client-server, position and the direct of travel of this mobile phone consumer positioning in local map according to user's directioin parameter and GPS parameter.This technology can be applied in the scenes such as minor's monitoring, suspect/vehicle monitoring.
7) user controls the FTG in intelligent television by mobile phone screen, and when game character is subject to impacting, intelligent television sends reverse control command by client-server to mobile phone, makes mobile phone produce vibrating effect.
8) user is by the instructions such as " closing ", " startup ", " selection " of microphone input of mobile phone, and mobile phone is determined order parameter corresponding to voice messaging by speech recognition and instruction coupling, sends to client-server.Connecting computer is received after the control command that client-server sends, is closed accordingly ", the operation such as " startup ", " selection ".Or the voice messaging of inputting by microphone as user is when recording content information, mobile phone is converted into text message by speech recognition technology by voice messaging, by client-server, sends to computer.Connecting computer adds text message in the text input frame of " notepad ", " note " after receiving text message.
9) user's camera of controlling another user mobile phone outside of trip by computer of being in starts, and receives the multi-medium datas such as streetscape picture/video that this mobile phone returns by client-server.
With reference to the realization of method shown in figure 1 or Fig. 3, the present embodiment also provides a kind of multiple terminals interconnected device.This device can be positioned at main control terminal inside, in order to realize the method as shown in Fig. 1 or Fig. 3.As shown in Figure 5, described device comprises: interface processing module 51, imput output circuit 52 and processor 53, wherein,
Interface processing module 51, for logining user after social application account, according to the HTML5 page generating run interface of prestrain;
Imput output circuit 52, the operational order triggering for receiving operation interface that user generates in interface processing module 51;
Processor 53, for transferring the corresponding primary functional parameter of operational order receiving with imput output circuit 52 by Javascript interface;
Imput output circuit 52 also sends to client-server for the primary functional parameter of the respective operations instruction processor 53 transferred by the HTML5 page, so as client-server according to primary functional parameter to controlled terminal sending controling instruction.
Further, as shown in Figure 6, this device also comprises: memory 61;
Processor 53, for before interface processing module 51 is according to the HTML5 page generating run interface of prestrain, reads the page resource of the HTML5 page of binding in advance in installation file;
Memory 61, carries out buffer memory for the page resource of the HTML5 page that processor 53 is read.
Further, interface processing module 51 is for read the page resource of the HTML5 page from memory 61, and according to the page resource generating run interface of the HTML5 page.
Further, processor 53 is for transferring the primary functional parameter with the encapsulation of Object C form by Javascript interface.
Further, processor 53 is for transferring the primary functional parameter with the encapsulation of Java form by Javascript interface.
Further, imput output circuit 52 is for after sending to client-server by the HTML5 page by the primary functional parameter of respective operations instruction, by the HTML5 page, receive the reverse control command that client-server sends, oppositely control command is the control command that client-server produces the response of control command according to controlled terminal;
Processor 53 calls primary function for reverse control command and the Javascript interface receiving according to imput output circuit 52.
The interconnected device in multiple terminals that the embodiment of the present invention provides, can by main control terminal, login user after social application account, by social applications client, according to the HTML5 page generating run interface of prestrain, and receive the operational order that user triggers in operation interface.Then by Javascript interface, transfer the primary functional parameter of corresponding control command, finally by the HTML5 page, the primary functional parameter of respective operations instruction is sent to client-server, so as client-server according to this primary functional parameter to controlled terminal sending controling instruction.With in prior art, by iTunes client, realize that multiple terminals is interconnected to be compared, can based on being arranged on social applications client in terminal, to realize multiple terminals interconnected, without the specific interconnecting application of user installation, be easy to use quick.And owing to having used Javascript interface to carry out primary funcall, therefore the operating system that the scripts such as Object C, Java of can compatible take are foundational development, thus realize interconnected based between the operating system terminals such as IOS, Android, Microsoft, Saipan.In addition, the interconnected device in multiple terminals that the embodiment of the present invention provides, can also with Web form, realize by the HTML5 page transmission of primary functional parameter, with in prior art, by modes such as bluetooth or WI-FI, send and control parameter and compare, bluetooth module in terminal or WI-FI module are not had to mandatory requirement, the terminal that bluetooth module and WI-FI module be not set can realize interconnected with other-end equally, can reduce thus cost and the complexity of terminal mainboard design., compare with the Flash page of only supporting Android operating system generally adopting at present, the Web transmission form based on the HTML5 page can be applicable to how different operating system, thereby reaches better compatible result meanwhile.
With reference to the device shown in figure 5 or Fig. 6, the present embodiment also provides a kind of multiple terminals interconnected system, in order to realize the method as shown in Fig. 1 or Fig. 3.As shown in Figure 7, described system comprises: main control terminal 71, client-server 72 and controlled terminal 73, wherein, include device as shown in Figure 5 or Figure 6 in main control terminal 71.
Main control terminal 71, for after user is by the social application of main control terminal 71 login account, according to the HTML 5(HTML5 of prestrain) page generating run interface, receive the operational order that user triggers in operation interface, then by transfer the primary functional parameter of corresponding control command based on object and event driven client script language (Javascript) interface, finally by the HTML5 page, the primary functional parameter of respective operations instruction is sent to client-server 72;
Client-server 72, the primary functional parameter sending for receiving main control terminal 71, generates control command according to primary functional parameter, and control command is sent to controlled terminal 73;
Controlled terminal 73, the control command sending for receiving client-server 72, according to control command executable operations.
The interconnected system in multiple terminals that the embodiment of the present invention provides, can by main control terminal, login user after social application account, by social applications client, according to the HTML5 page generating run interface of prestrain, and receive the operational order that user triggers in operation interface.Then by Javascript interface, transfer the primary functional parameter of corresponding control command, finally by the HTML5 page, the primary functional parameter of respective operations instruction is sent to client-server, so as client-server according to this primary functional parameter to controlled terminal sending controling instruction.With in prior art, by iTunes client, realize that multiple terminals is interconnected to be compared, can based on being arranged on social applications client in terminal, to realize multiple terminals interconnected, without the specific interconnecting application of user installation, be easy to use quick.And owing to having used Javascript interface to carry out primary funcall, therefore the operating system that the scripts such as Object C, Java of can compatible take are foundational development, thus realize interconnected based between the operating system terminals such as IOS, Android, Windows, Saipan.In addition, the interconnected system in multiple terminals that the embodiment of the present invention provides, can also with Web form, realize by the HTML5 page transmission of primary functional parameter, with in prior art, by modes such as bluetooth or WI-FI, send and control parameter and compare, bluetooth module in terminal or WI-FI module are not had to mandatory requirement, the terminal that bluetooth module and WI-FI module be not set can realize interconnected with other-end equally, can reduce thus cost and the complexity of terminal mainboard design., compare with the Flash page of only supporting Android operating system generally adopting at present, the Web transmission form based on the HTML5 page can be applicable to how different operating system, thereby reaches better compatible result meanwhile.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection range with claim.

Claims (14)

1. the interconnected method in multiple terminals, is characterized in that, comprising:
User, by main control terminal, login after social application account, social applications client is according to the HTML 5(HTML5 of prestrain) page generating run interface;
Receive the operational order that user triggers in described operation interface;
By transfer the primary functional parameter of corresponding described control command based on object and event driven client script language (Javascript) interface;
By the described HTML5 page, the primary functional parameter of the described operational order of correspondence is sent to client-server, so as described client-server according to described primary functional parameter to controlled terminal sending controling instruction.
2. the interconnected method in multiple terminals according to claim 1, is characterized in that, described according to the step at the HTML5 page generating run interface of prestrain before, described method further comprises:
Read the page resource of the HTML5 page of binding in advance in installation file;
The page resource of the described HTML5 page is cached to local storage.
3. the interconnected method in multiple terminals according to claim 2, is characterized in that, described according to the step at the HTML5 page generating run interface of prestrain, comprising:
From described local storage, read the page resource of the described HTML5 page;
According to the page resource generating run interface of the described HTML5 page reading.
4. the interconnected method in multiple terminals according to claim 1, is characterized in that, the described step of transferring the primary functional parameter of corresponding described control command by Javascript interface, comprising:
By Javascript interface, transfer the primary functional parameter with the encapsulation of Object C form.
5. the interconnected method in multiple terminals according to claim 1, is characterized in that, the described step of transferring the primary functional parameter of corresponding described control command by Javascript interface, comprising:
By Javascript interface, transfer the primary functional parameter with the encapsulation of Java form.
6. the interconnected method in multiple terminals according to claim 1, is characterized in that, described by the described HTML5 page, the primary functional parameter of the described operational order of correspondence is sent to the step of client-server after, described method further comprises:
By the described HTML5 page, receive the reverse control command that described client-server sends, described reverse control command is the control command that described client-server produces the response of described control command according to described controlled terminal;
According to described reverse control command and described Javascript interface, primary function is called.
7. according to the interconnected method in the multiple terminals described in any one in claim 1 to 6, it is characterized in that, the described step of transferring the primary functional parameter of corresponding described operational order by Javascript interface, comprising:
By following at least one primary functional interface, transfer corresponding primary functional parameter: power interface, touch-control Touch Screen input interface, physical keyboard input interface, audio frequency play interface, gravity sensing interface, light sensation induction interface, compass/compass interface, vibration induction interface, microphone input interface and camera control interface.
8. the interconnected device in multiple terminals, is characterized in that, comprising:
Interface processing module, for logining user after social application account, according to the HTML 5(HTML5 of prestrain) page generating run interface;
Imput output circuit, the operational order triggering for receiving described operation interface that user generates in described interface processing module;
Processor, for by transferring the corresponding primary functional parameter of described operational order receiving with described imput output circuit based on object and event driven client script language (Javascript) interface;
Described imput output circuit also sends to client-server for the primary functional parameter of the described operational order of correspondence described processor transferred by the described HTML5 page, so as described client-server according to described primary functional parameter to controlled terminal sending controling instruction.
9. the interconnected device in multiple terminals according to claim 8, is characterized in that, described device also comprises: memory;
Described processor, for before described interface processing module is according to the HTML5 page generating run interface of prestrain, reads the page resource of the HTML5 page of binding in advance in installation file;
Described memory, carries out buffer memory for the page resource of the described HTML5 page that described processor is read.
10. the interconnected device in multiple terminals according to claim 9, is characterized in that, described interface processing module is for read the page resource of the described HTML5 page from described memory, according to the page resource generating run interface of the described HTML5 page.
The 11. interconnected devices in multiple terminals according to claim 8, is characterized in that, described processor is for transferring the primary functional parameter with the encapsulation of Object C form by Javascript interface.
The 12. interconnected devices in multiple terminals according to claim 8, is characterized in that, described processor is for transferring the primary functional parameter with the encapsulation of Java form by Javascript interface.
The 13. interconnected devices in multiple terminals according to claim 8, it is characterized in that, described imput output circuit is for after sending to client-server by the described HTML5 page by the primary functional parameter of the described operational order of correspondence, by the described HTML5 page, receive the reverse control command that described client-server sends, described reverse control command is the control command that described client-server produces the response of described control command according to described controlled terminal;
Described processor calls primary function for described reverse control command and the described Javascript interface receiving according to described imput output circuit.
14. 1 kinds of systems that multiple terminals is interconnected, it is characterized in that, described system comprises: main control terminal, client-server and controlled terminal, wherein, comprise in described main control terminal if claim 8 is to the interconnected device in multiple terminals as described in any one in claim 13;
Described main control terminal, for logining by main control terminal user after social application account, according to the HTML 5(HTML5 of prestrain) page generating run interface, receive the operational order that user triggers in described operation interface, then by transfer the primary functional parameter of corresponding described control command based on object and event driven client script language (Javascript) interface, finally by the described HTML5 page, the primary functional parameter of the described operational order of correspondence is sent to client-server;
Described client-server, the described primary functional parameter sending for receiving described main control terminal, generates control command according to described primary functional parameter, and described control command is sent to described controlled terminal;
Described controlled terminal, the described control command sending for receiving described client-server, according to described control command executable operations.
CN201310522446.6A 2013-10-29 2013-10-29 Method, Apparatus and system that multiple terminals is interconnected Active CN104093077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310522446.6A CN104093077B (en) 2013-10-29 2013-10-29 Method, Apparatus and system that multiple terminals is interconnected

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310522446.6A CN104093077B (en) 2013-10-29 2013-10-29 Method, Apparatus and system that multiple terminals is interconnected

Publications (2)

Publication Number Publication Date
CN104093077A true CN104093077A (en) 2014-10-08
CN104093077B CN104093077B (en) 2016-05-04

Family

ID=51640750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310522446.6A Active CN104093077B (en) 2013-10-29 2013-10-29 Method, Apparatus and system that multiple terminals is interconnected

Country Status (1)

Country Link
CN (1) CN104093077B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572114A (en) * 2015-01-23 2015-04-29 盟游(北京)科技有限公司 Binding device, application updating device and method and application
CN104615916A (en) * 2014-12-12 2015-05-13 腾讯科技(深圳)有限公司 Account management method and device and account permission control method and device
CN104811760A (en) * 2015-04-08 2015-07-29 深圳市鱼丸互动科技有限公司 Multi-screen interaction method and system
WO2016107501A1 (en) * 2014-12-31 2016-07-07 腾讯科技(深圳)有限公司 Intelligent device control method and device
CN105933788A (en) * 2016-04-15 2016-09-07 成都趣梦网络科技有限公司 HTML5 game control method, device and terminal
CN106126420A (en) * 2016-06-21 2016-11-16 北京小米移动软件有限公司 Application program adjustment method and device
CN106293372A (en) * 2015-05-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of information interacting method for terminal, device and terminal
CN106331305A (en) * 2015-07-02 2017-01-11 天脉聚源(北京)科技有限公司 Method and system for customizing shake function of WeChat
CN106412220A (en) * 2015-08-03 2017-02-15 天脉聚源(北京)科技有限公司 Method of realizing shaking function under mobile Internet environment and system thereof
CN107040609A (en) * 2017-05-25 2017-08-11 腾讯科技(深圳)有限公司 A kind of network request treating method and apparatus
CN107220371A (en) * 2017-06-14 2017-09-29 北京小米移动软件有限公司 Page display method, device and storage medium
CN107528830A (en) * 2017-08-03 2017-12-29 携程旅游信息技术(上海)有限公司 account login method, system and storage medium
US20180067754A1 (en) * 2016-09-05 2018-03-08 Microsoft Technology Licensing, Llc Service-driven dynamic user interface technology
CN107784120A (en) * 2017-11-17 2018-03-09 深圳泉眼体育运营管理有限公司 The method and device of issue operation active web pages
WO2018094996A1 (en) * 2016-11-22 2018-05-31 华为技术有限公司 Terminal control method and apparatus
CN108513161A (en) * 2018-04-02 2018-09-07 深圳Tcl新技术有限公司 A kind of methods of exhibiting, television equipment and the storage medium of television equipment operation interface
CN109948546A (en) * 2019-03-20 2019-06-28 四川长虹电器股份有限公司 Media play intersection control routine and method
CN111131870A (en) * 2019-11-25 2020-05-08 腾讯科技(深圳)有限公司 Multi-terminal interaction method and device, storage medium and computer equipment
CN111672111A (en) * 2020-05-28 2020-09-18 腾讯科技(深圳)有限公司 Interface display method, device, equipment and storage medium
CN111901695A (en) * 2020-07-09 2020-11-06 腾讯科技(深圳)有限公司 Video content interception method, device and equipment and computer storage medium
WO2021027476A1 (en) * 2019-08-09 2021-02-18 华为技术有限公司 Method for voice controlling apparatus, and electronic apparatus
CN115883524A (en) * 2023-01-29 2023-03-31 北京金茂教育科技有限公司 Multi-terminal data synchronization method and system in multimedia teaching

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764767A (en) * 2008-12-23 2010-06-30 华为技术有限公司 Network interconnection method, gateway facility and system
CN202677802U (en) * 2012-04-16 2013-01-16 成都彩程软件设计有限公司 Remote control system of big screen display apparatus
CN103246501A (en) * 2012-02-08 2013-08-14 北京磊友信息科技有限公司 Method and client-side for sharing application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764767A (en) * 2008-12-23 2010-06-30 华为技术有限公司 Network interconnection method, gateway facility and system
CN103246501A (en) * 2012-02-08 2013-08-14 北京磊友信息科技有限公司 Method and client-side for sharing application
CN202677802U (en) * 2012-04-16 2013-01-16 成都彩程软件设计有限公司 Remote control system of big screen display apparatus

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615916A (en) * 2014-12-12 2015-05-13 腾讯科技(深圳)有限公司 Account management method and device and account permission control method and device
CN104615916B (en) * 2014-12-12 2018-06-19 腾讯科技(深圳)有限公司 Account management method and device, account authority control method and device
WO2016107501A1 (en) * 2014-12-31 2016-07-07 腾讯科技(深圳)有限公司 Intelligent device control method and device
US10834237B2 (en) 2014-12-31 2020-11-10 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US10326861B2 (en) 2014-12-31 2019-06-18 Tencent Technology (Shenzhen) Company Limited Method for controlling cooperation of multiple intelligent devices and apparatus thereof
CN104572114B (en) * 2015-01-23 2017-11-28 盟游(北京)科技有限公司 A kind of binding device, using updating device and method
CN104572114A (en) * 2015-01-23 2015-04-29 盟游(北京)科技有限公司 Binding device, application updating device and method and application
CN104811760A (en) * 2015-04-08 2015-07-29 深圳市鱼丸互动科技有限公司 Multi-screen interaction method and system
CN106293372A (en) * 2015-05-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of information interacting method for terminal, device and terminal
CN106331305A (en) * 2015-07-02 2017-01-11 天脉聚源(北京)科技有限公司 Method and system for customizing shake function of WeChat
CN106412220A (en) * 2015-08-03 2017-02-15 天脉聚源(北京)科技有限公司 Method of realizing shaking function under mobile Internet environment and system thereof
CN105933788A (en) * 2016-04-15 2016-09-07 成都趣梦网络科技有限公司 HTML5 game control method, device and terminal
CN106126420B (en) * 2016-06-21 2018-12-18 北京小米移动软件有限公司 Application program adjustment method and device
CN106126420A (en) * 2016-06-21 2016-11-16 北京小米移动软件有限公司 Application program adjustment method and device
US10725797B2 (en) * 2016-09-05 2020-07-28 Microsoft Technology Licensing, Llc Service-driven dynamic user interface technology
US20180067754A1 (en) * 2016-09-05 2018-03-08 Microsoft Technology Licensing, Llc Service-driven dynamic user interface technology
US11468183B2 (en) 2016-11-22 2022-10-11 Huawei Technologies Co., Ltd. Differentiated management and control of terminals with multiple operating systems
WO2018094996A1 (en) * 2016-11-22 2018-05-31 华为技术有限公司 Terminal control method and apparatus
CN107040609A (en) * 2017-05-25 2017-08-11 腾讯科技(深圳)有限公司 A kind of network request treating method and apparatus
CN107040609B (en) * 2017-05-25 2020-09-04 腾讯科技(深圳)有限公司 Network request processing method and device
US11210449B2 (en) 2017-06-14 2021-12-28 Beijing Xiaomi Mobile Software Co., Ltd. Page display method and device and storage medium
CN107220371B (en) * 2017-06-14 2021-06-25 北京小米移动软件有限公司 Page display method and device and storage medium
CN107220371A (en) * 2017-06-14 2017-09-29 北京小米移动软件有限公司 Page display method, device and storage medium
CN107528830B (en) * 2017-08-03 2020-04-10 携程旅游信息技术(上海)有限公司 Account login method, system and storage medium
CN107528830A (en) * 2017-08-03 2017-12-29 携程旅游信息技术(上海)有限公司 account login method, system and storage medium
CN107784120A (en) * 2017-11-17 2018-03-09 深圳泉眼体育运营管理有限公司 The method and device of issue operation active web pages
CN108513161A (en) * 2018-04-02 2018-09-07 深圳Tcl新技术有限公司 A kind of methods of exhibiting, television equipment and the storage medium of television equipment operation interface
CN109948546A (en) * 2019-03-20 2019-06-28 四川长虹电器股份有限公司 Media play intersection control routine and method
WO2021027476A1 (en) * 2019-08-09 2021-02-18 华为技术有限公司 Method for voice controlling apparatus, and electronic apparatus
CN111131870A (en) * 2019-11-25 2020-05-08 腾讯科技(深圳)有限公司 Multi-terminal interaction method and device, storage medium and computer equipment
CN111672111A (en) * 2020-05-28 2020-09-18 腾讯科技(深圳)有限公司 Interface display method, device, equipment and storage medium
CN111901695A (en) * 2020-07-09 2020-11-06 腾讯科技(深圳)有限公司 Video content interception method, device and equipment and computer storage medium
CN115883524A (en) * 2023-01-29 2023-03-31 北京金茂教育科技有限公司 Multi-terminal data synchronization method and system in multimedia teaching

Also Published As

Publication number Publication date
CN104093077B (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN104093077B (en) Method, Apparatus and system that multiple terminals is interconnected
CN106713485B (en) Cloud computing mobile terminal
JP6243380B2 (en) Remote control of telephone
KR20150032554A (en) Energy-efficient transmission of content over a wireless connection
CN104052797B (en) Distribute control system, dissemination system and distribution control method
EP2779571B1 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
US9723337B2 (en) Distribution control system and distribution system
US10013231B2 (en) Remote access to mobile communication devices
EP2779661A1 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
EP2793475A1 (en) Distribution control system, distribution control method, and computer-readable storage medium
CN104038527A (en) Remote operation method and system
US9578079B2 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
EP2779674A1 (en) Distribution control system and distribution system
CN103079176A (en) Method and system for remotely controlling electronic equipment, mobile terminal and electronic equipment
CN101473675A (en) Virtualization of mobile device user experience
EP2779570A1 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
EP2778981A1 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
CN102724185A (en) Residential gateway, residential gateway based game implementation method and mobile terminal
KR101749891B1 (en) METHOD OF CONTROLLING FRAME RATE BASED ON Resource Status AND APPARATUS FOR CLOUD STREAMING SERVICE
KR101459929B1 (en) Setting data sharing method for vehicle control
CN106303643A (en) Remote control thereof and device
CN111787117A (en) Data transmission method and display device
KR102175785B1 (en) Messenger service system, messenger service method and apparatus for providing chatting environment reflecting presence information in the system
KR101892952B1 (en) System for cloud streaming service, method of controlling frame rate based on events and apparatus for the same
CN115145508A (en) Screen transmission processing method, storage medium and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant