CN104093077B - Method, Apparatus and system that multiple terminals is interconnected - Google Patents

Method, Apparatus and system that multiple terminals is interconnected Download PDF

Info

Publication number
CN104093077B
CN104093077B CN201310522446.6A CN201310522446A CN104093077B CN 104093077 B CN104093077 B CN 104093077B CN 201310522446 A CN201310522446 A CN 201310522446A CN 104093077 B CN104093077 B CN 104093077B
Authority
CN
China
Prior art keywords
interface
client
functional parameter
page
multiple terminals
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.)
Active
Application number
CN201310522446.6A
Other languages
Chinese (zh)
Other versions
CN104093077A (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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of interconnected method in multiple terminals, Apparatus and system, relate to Internet technical field, for the multiple terminals interconnect scheme terminal transparency problem poor, that application scalability is not enough solving based on Apple Macintosh operating system is invented. Method of the present invention comprises: login by main control terminal user after social application account, social applications client is according to the HTML5 page generating run interface of prestrain; Receive the operational order that user triggers in described operation interface; Transfer the primary functional parameter of corresponding described control instruction by 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. The present invention is mainly used in main control terminal controlled terminal is carried out in the process of control operation.

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, install and beSystem.
Background technology
At present the user terminal (UserEquipment is called for short UE) such as mobile phone, computer can be based on specificallyApplication software is carried out interconnected, realizes the operation control of cross-terminal, for example, play by mobile phone control intelligent televisionVideo, or the manipulation etc. of playing on desktop computer by panel computer. This multiple terminals mutual contact modeFeature be to use home control network communication protocol to connect each terminal, in conjunction with the Long-distance Control of special exploitationApplication program realizes the transmission of control instruction between terminal, then realizes the centralized team control between principal and subordinate's terminalSystem or point-to-point control.
A kind of typical multiple terminals interconnect scheme is released by the exploitation of apple (Apple) company, this scheme profitWith being arranged on the channel radios such as iTunes client in apple terminal and bluetooth (bluetooth), WI-FINews agreement is carried out remote control. User uses iTunes client to trigger and generate and controls and refers in main control terminalOrder, then sends to controlled terminal by bluetooth or WI-FI by control instruction, and controlled terminal is passing through equallyAfter the iTunes client control instruction of installing, carry out such as playing, opening according to the instruction of control instructionThe functions such as moving screen.
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, the interconnect scheme based on Apple Macintosh operating system is only applicable to appleTerminal, cannot compatible other operating system terminals, particularly have and are widely used basic Android (Android)Operating system terminal. Meanwhile, because apple application all designs based on non-increasing income property program, therefore iTunesThe closure of client cannot be carried out based on other clients third-party design personnel to multiple terminals interconnection techniqueThe 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 based onThe problem that multiple terminals interconnect scheme terminal transparency is poor, application scalability is not enough of 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,Comprise:
Login by main control terminal user after social application account, social applications client is according to prestrainHTML 5(HTML5) page generating run interface;
Receive the operational order that user triggers in described operation interface;
By transferring correspondence based on object and event driven client script language (Javascript) interfaceThe primary functional parameter of described control instruction;
By the HTML5 page, the primary functional parameter of the described operational order of correspondence is sent to client-server,So that 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 hypertext mark of prestrainNote language 5(HTML5) page generating run interface;
Imput output circuit, the described operation interface generating in described interface processing module for receiving userThe operational order triggering;
Processor, for passing through based on object and event driven client script language (Javascript)Interface is transferred the corresponding primary functional parameter of described operational order receiving with described imput output circuit;
Described imput output circuit is the corresponding institute for described processor being transferred by the described HTML5 page alsoThe primary functional parameter of stating operational order sends to client-server, so that described client-server basisDescribed primary functional parameter is 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 again: main control terminal,Client-server and controlled terminal, wherein, comprise multiple terminals as above mutual in described main control terminalThe device of connection;
Described main control terminal, for logining by main control terminal user after social application account, according to adding in advanceThe HTML 5(HTML5 carrying) page generating run interface, receive user at described operation interfaceThe operational order of middle triggering, then passes through based on object and event driven client script language(Javascript) interface is transferred the primary functional parameter of corresponding described control instruction, described in finally passing throughThe primary functional parameter of the described operational order of correspondence is sent to client-server by the HTML5 page;
Described client-server, the described primary functional parameter sending for receiving described main control terminal, rootGenerate control instruction according to described primary functional parameter, and described control instruction is sent to described controlled terminal;
Described controlled terminal, the described control instruction sending for receiving described client-server, according to instituteState control instruction executable operations.
Interconnected method, the Apparatus and system in multiple terminals that the embodiment of the present invention provides, can be user by mainAfter the social application of control terminal login account, by social applications client according to the HTML 5 of prestrain(HyperTextMarkupLanguage5 is called for short HTML5) page generating run interface, and receive useThe operational order that trigger in operation interface at family. Then pass through based on object and event driven client scriptLanguage (Javascript) interface is transferred the primary functional parameter of corresponding control instruction, finally passes through HTML5The primary functional parameter of respective operations instruction is sent to client-server by the page, so that client-serverAccording to this primary functional parameter to controlled terminal sending controling instruction. With in prior art by iTunes clientEnd realizes that multiple terminals is interconnected to be compared, and can the social applications client based on being arranged in terminal realize multiple terminalsInterconnected, without the specific interconnecting application of user installation, be easy to use quick. And, owing to having usedJavascript interface carries out primary funcall, therefore can be compatible taking the script such as ObjectC, Java asThe operating system of foundational development, thus realize based on Apple Macintosh operating system (iphoneOperationSystem,Be called for short IOS), between the operating system terminal such as Android, Microsoft (Windows), Saipan (Symbian)Interconnected. In addition, in the embodiment of the present invention by the HTML5 page with WWW (WorldWideWeb,Be called for short WWW or Web) form realizes the transmission of primary functional parameter, with in prior art by bluetooth or WI-FIEtc. mode send control parameter compare, the 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, thus canTo reduce design cost and the complexity of terminal mainboard. Meanwhile, with the only support Android generally adopting at presentThe Flash page of operating system is compared, and the Web transmission form based on the HTML5 page can be applicable to moreDifferent operating system, thus reach better compatible result.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to implementingIn example or description of the Prior Art, the accompanying drawing of required use is briefly described, and apparently, the following describesIn accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not payingGo out 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 interacted system in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the present embodiment, the technical scheme in the present embodiment is carried out clear, completeGround is described, and obviously, described embodiment is only the present invention's part embodiment, instead of whole realitiesExecute example. Based on the embodiment in the present invention, those of ordinary skill in the art are not making before creative workPut obtained every other embodiment, all belong to the scope of protection of the invention.
For ease of subsequent embodiment is described, first to the primary function in terminal and based on primary meritThe operation control of energy briefly introduces.
So-called primary function (or being called native applications) is the terminal applies for network application, netNetwork application is traditional mobile phone application, and user can download network apply and install from internetIn terminal, move. Native applications is to be developed by equipment manufacturers, peace before terminal is dispatched from the factoryBe contained in terminal, user cannot modify or delete native applications. In addition, with another of network applicationLarge difference is, native applications is mainly used in the hardware of terminal inner to drive, comprise drive loudspeaker,Touch Screen, acceleration transducer etc., thereby the realization of guarantee terminal basic function.
In the interconnection technique of multiple terminals, most application scenarios are all that the primary function based on main control terminal is able to realityExisting. For example, user carries out game operation on the Touch Screen of main control terminal, and main control terminal is according to touch-controlThe operation signal producing on screen is controlled the game application moving in controlled terminal; Again for example, userMicrophone input voice control signal by main control terminal, main control terminal according to speech recognition technology to voiceControl signal is analyzed, and then controls controlled terminal and automatically writes short message content. The embodiment of the present invention is carriedRealize the interconnected scheme of multiple terminals for a kind of primary function based on main control terminal, below in the present inventionEmbodiment describes.
For realizing interconnected based between different operating system terminal, the present embodiment provides a kind of multiple terminals mutualThe method of connection, as shown in Figure 1, comprising:
101, login by main control terminal user after social application account, social applications client is according to adding in advanceThe HTML5 page generating run interface of carrying.
The present embodiment is realized multiple terminals interconnection technique based on social applications client, conventionally in user terminal, all pacifiesVarious social applications client is housed, for example " everybody ", " QQ ", " microblogging ", " micro-letter " etc.Terminal is carried out interconnected based on existing social applications client and other-end, without install separately specialty mutuallyConnection application.
Conventionally higher (for example trip of the requirement of real-time of the large multipair manipulation of application scenarios of multiple terminals interconnection technique,Play manipulation), therefore in the present embodiment, preferably realize multiple terminals by the client of instant messaging application such as " QQ "Interconnected, to ensure that the time delay of remote control can meet in related specifications service quality (QualityofService, be called for short QoS) requirement.
The interconnected scene relating in the present embodiment comprises multiple terminals, is communicated with between two interconnected two between terminalIndividual terminal can be controlled mutually, for example mobile phone as shown in Figure 2 (a), intelligent television, computer three itBetween interconnecting relation. For ease of explanation and understanding, the present embodiment is simplified the scene shown in Fig. 2 (a),Obtain the scene as shown in Fig. 2 (b), this scene comprises mobile phone and intelligent television two station terminals, wherein handMachine is as main control terminal, and intelligent television is as controlled terminal. The present embodiment is follow-up will be according to shown in Fig. 2 (b)Scene describe, for comprising the scene of more than three terminal, those skilled in the art can comply withImplementation according to Fig. 2 (b) is equal to realization under the prerequisite of not paying creative work, and the present embodiment no longerDescribe in detail 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 firstNumber, 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 adopts in Web agreementThe typical HTML5 page carries out scheme realization, and compared with the Flash page, the HTML5 page is except going forOutside java script, can also be applicable to other scripts such as ObjectC.
In the HTML5 page, include the page such as graph text information, the multimedia messages money that user interface relates toSource, such as page vision resource, code script resource etc., social applications client is raw according to the HTML5 pageBecome the operation interface for man-machine interaction.
In the present embodiment, the HTML5 page is pre-loaded in social applications client, when needs generating run circleWhen face, social applications client is transferred the HTML5 page and is carried out the generation of operation interface. Due to JavascriptInterface is suitable for the scripts such as ObjectC, Java, therefore can compatible IOS, Android etc. operate systemThe terminal of 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 screenShow, and receive the operational order that user triggers in operation interface, the navigation for example receiving left, to the right refers toOrder or rock 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 manipulating the operational order of controlled terminal, also comprise useFamily by Touch Screen trigger, by operational order that in main control terminal, other primary functions are sent. For example, behaviourMake to be provided with in interface " rocking mobile phone " button, user is triggering by Touch Screen after this button, social activityApplications client is called Javascript interface and is started gravity sensing function, and then user is by rocking master control eventuallyEnd sends operational order.
103, social applications client is transferred the primary function of respective operations instruction by Javascript interfaceParameter.
The primary functional parameter that social applications client is transferred by Javascript interface comprises gravity sensing ginsengNumber, speech parameter etc., user is by which kind of primary function trigger action instruction, and social applications client is just adjustedGet the parameter of corresponding which kind of primary function. For example, for the operational order that rocks mobile phone, social application clientEnd obtains corresponding gravity sensing function parameter and sends to client-server.
The operational order kind relating in the present embodiment includes but not limited to one, correspondingly, and social answeringThe primary functional parameter kind of obtaining by client is also not limited to one. For example,, when user is by rocking mobile phoneTrigger two operational orders with two kinds of modes of phonetic entry simultaneously, or user by rock mobile phone and long byWhen the mode of Touch Screen triggers an operational order, social applications client is obtained respectively gravity sensing functionParameter and phonetic function parameter.
104, social applications client sends the primary functional parameter of respective operations instruction by the HTML5 pageGive client-server.
Get after the primary functional parameter of respective operations instruction, social applications client is passed through the HTML5 page,Based on HTTP (HyperTextTransferProtocol is called for short HTTP) agreement, withThe primary functional parameter of form of Web sends to client-server.
In prior art, main control terminal is by the communications protocol transmission control instruction of bluetooth or WI-FI, therewithCompare the not wireless communication module to terminal inner of the transmission means based on Web form in the present embodimentCarry out requirement, can reduce cost and the complexity of motherboard design, and for main quilt control terminal and Yan HaikeTo reduce the kwh loss of transfer of data.
Client-server receives after primary functional parameter, according to primary functional parameter and in conjunction with controlled terminalThe concrete applications/functions of middle operation generates corresponding control instruction, sends to controlled terminal. For example,, when controlledWhen in terminal, running game is applied, the Touch Screen operating parameter that client-server reports according to main control terminalGenerate concrete control instructions such as " on ", D score, " left side ", the right side ", should to game in controlled terminal to realizeWith manipulation.
Controlled terminal receiving client-server send control instruction after, according to this control instruction to phaseThe applications/functions of answering is called, for example, control the movement of personage in game, or starts loudspeaker audio playsDeng, complete thus multiple terminals based on Web form interconnected. In the present embodiment, need equally controlled terminalThe social applications client that middle installation is identical with main control terminal, and by same user respectively in main control terminal andThe social activity application account of login simultaneously oneself on controlled terminal, just can make the social activity on controlled terminal answer thusControl instruction with client from client-server.
The interconnected method in multiple terminals that the present embodiment provides, can obtain for life by Javascript interfaceBecome the primary functional parameter of control instruction, because Javascript interface can compatible ObjectC, JavaDeng script, therefore can realize interconnected between the operating system such as IOS, Android terminal. In addition,In the time of transmission control instruction, with the HTML5 page of Web form, primary functional parameter is transmitted, due toThe HTML5 page is not only applicable to Android operating system, is applicable to other behaviour such as IOS, Microsoft, Saipan yetMake system, therefore can be applied to the terminal that each type operating system is installed, thereby realize between each Terminal TypeInterconnected and manipulation. Simultaneously due to the transmission means having adopted based on internet form, with wireless by bluetooth etc.The mode that agreement is transmitted is compared, and can also reduce design cost and the complexity of terminal mainboard.
As the detailed description to method shown in Fig. 1 and further expand, it is a kind of many that the present embodiment also providesThe method that terminal is interconnected, 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 should by the social activity in main control terminal and controlled terminalLogin respectively the social activity application account of oneself by client, after account login, the social activity application of main control terminalClient order is 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, works as needs, the page resource that social applications client is transferred the HTML5 page carries out interface generation when at generating run the interface.
Concrete, the page resource of the HTML5 page can be bundled in the installation file of social applications client in advanceIn, social applications client reads the page resource of the HTML5 page of binding in advance in installation file, thenThe page resource of the HTML5 page is cached in local storage. In the time of generating run interface, due to canDirectly from local storage, read page resource, therefore can greatly shorten the load time of operation interface,Reduce user's stand-by period.
Optionally, in the time that client-server side is upgraded the HTML5 page (for example, to operation interfacePattern, function key etc. are upgraded), client-server can pass through Web form or common 2G/3G/4GPage resource corresponding to the HTML5 page after upgrading sent to social applications client by communication form, by societyHand over applications client to upgrade the page resource in memory.
As another substitute mode of this step, for saving the EMS memory occupation of main control terminal, be bundled in advanceIn social applications client installation file can be also the URL (Uniform of the HTML5 pageResourceLocator, is called for short URL), social applications client, in the time of generating run interface, is passed through HTML5The URL of the page, to the page resource of the client-server request HTML5 page, then carries out operation interfaceGenerate.
303, social applications client receives the operational order that user triggers in operation interface.
Behind generating run interface, in the time that user need to control controlled terminal by main control terminal, societyHand over applications client in main control terminal, to show this operation interface. Example, this operation interface can shape asShown in Fig. 4 (a), comprising " video frequency remote-control device ", " game paddle " and " brightness regulation " three meritsCan key.
When using after Trigger Function key " video frequency remote-control device ", social applications client shows as shown in Figure 4 (b)Sub-interface, this interface comprises the various function keys in traditional remote controller, user can pass through main control terminalControlled terminal is carried out to remote control. When with after Trigger Function key " game paddle ", for gravity sensing game,Social applications client shows prompting frame as shown in Figure 4 (c), the gravity sensing of prompting user main control terminalFunction starts, and user can be by using main control terminal to manipulate the game moving in controlled terminal.When using after 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 started according to main control terminal weekThe ambient brightness enclosing regulates the screen intensity of controlled terminal automatically.
304, social applications client is transferred the primary function of corresponding control instruction by Javascript interfaceParameter.
For different primary functions/primary functional parameter, the Javascript that social applications client is calledInterface comprises: power interface, touch-control Touch Screen input interface, physical keyboard input interface, audio frequency are playInterface, gravity sensing interface, light sensation induction interface, compass/compass interface, vibration induction interface, MikeWind input interface and camera control interface.
Example, for 4(b) shown in operating function, social applications client is transferred touch-control touch screenThe relevant parameter of curtain input function, for example " adjusting volume ", " zapping " etc.; For 4(c) shown in behaviourMake function, social applications client is transferred the relevant parameter of gravity sensing function, and for example main control terminal is in a certain appearanceThree shaft angle degree component values when state; For 4(d) shown in operating function, social applications client is transferred lightThe relevant parameter of sense inducing function, for example light intensity value of main control terminal surrounding environment.
Further, in the time transferring primary functional parameter, for different operating system, social application clientEnd can be transferred the primary functional parameter of different form of scripts. Concrete:
1), for IOS operating system, social applications client is transferred with Object by Javascript interfaceThe primary functional parameter of C form encapsulation.
2), for IOS operating system, social applications client is transferred with Java by Javascript interfaceThe primary functional parameter of form encapsulation.
Because Javascript interface can compatible ObjectC and the script of Java form, therefore for notThe social applications client of same operating system can be transferred the primary functional parameter of different form of scripts, therefore realThe now compatibility to different operating system terminal.
305, social applications client sends the primary functional parameter of respective operations instruction by the HTML5 pageGive client-server.
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 passing through step 305 by primary functional parameterSend to client-server to send to after client-server, social application terminal also needs to pass through HTML5The page receives the reverse control instruction that client-server sends, and this reverse control instruction is client-serverThe control instruction response of control instruction being produced according to controlled terminal. Receiving after reverse control instruction,Social applications client is called primary function according to this reverse control instruction and Javascript interface.
Example, when user swims in controlled terminal by the social applications client in main control terminalWhen play manipulation, in controlled terminal, can produce audio, vibration equivalent fruit according to game environment, figure action etc.In the time producing these effects, controlled terminal (belongs to primary by social applications client by efficacy parameter equallyFunctional parameter) send to client-server, generated oppositely according to these efficacy parameter by client-serverControl instruction, and send to main control terminal. The social applications client of main control terminal receives reverse control and refers toAfter order, such as, according to corresponding Javascript interface (audio frequency play interface, vibration induction interface etc.) rightThe primary functions such as corresponding loudspeaker, actuator are called, and play out corresponding audio or vibrating effect.
In another example, when user is by the social applications client control controlled terminal in main control terminalWhen displaying video, controlled terminal can be sent oppositely and control and refer to main control terminal by client-server equallyOrder, 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,Object is only to be convenient to explanation and understands. In practical application, the method shown in Fig. 1 or Fig. 3 can wait equallyWith being applied in the scene shown in Fig. 2 (a), or being equal to and being applied in the scene that has multiple terminals more, itsImplementation 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 life by Javascript interfaceBecome the primary functional parameter of control instruction, because Javascript interface can compatible ObjectC, JavaDeng script, therefore can realize interconnected between the operating system such as IOS, Android terminal. In addition,In the time of transmission control instruction, with the HTML5 page of Web form, primary functional parameter is transmitted, due toThe HTML5 page is not only applicable to Android operating system, is applicable to other behaviour such as IOS, Microsoft, Saipan yetMake system, therefore can be applied to the terminal that each type operating system is installed, thereby realize between each Terminal TypeInterconnected and manipulation. Simultaneously due to the transmission means having adopted based on internet form, with wireless by bluetooth etc.The mode that agreement is transmitted is compared, and can also reduce design cost and the complexity of terminal mainboard.
Based on the realization of method shown in Fig. 1 or Fig. 3, provide adaptable several of the present embodiment below,Scape:
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, and mobile phone passes through client-serverControl media renderer plays and specify 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 behaviourControl instruction sends to intelligent television, and intelligent television is according to the direction of racing car in game manipulation instruction control game.
3) user starts the light-sensing function of mobile phone, in the time that mobile phone detects ambient light lower than certain light intensity value(for example, under environment at night), by client-server control 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, passes through clientServer sync is adjusted the brightness of computer screen.
5) power key that user triggers mobile phone is started shooting or power-off operation, mobile phone by client-server withStep is controlled the startup of intelligent television and is closed.
6) user starts the compass function of mobile phone in the time of trip, and mobile phone is in real time by user's side in the process of walkingPass through visitor to parameter and global positioning system (GlobalPositioningSystem is called for short GPS) parameterFamily end server sends to another mobile phone, this mobile phone according to user's directioin parameter and GPS parameter at thisPosition and the direct of travel of consumer positioning in ground map. This technology can be applied to minor's monitoring, crimeIn the scenes such as suspect/vehicle monitoring.
7) user manipulates the FTG in intelligent television by mobile phone screen, when game is subject toWhile impacting, intelligent television sends reverse control instruction by client-server to mobile phone, mobile phone is produced and shakeMoving effect.
8) the microphone input of user by mobile phone for example " close ", the instruction such as " startup ", " selection ", handMachine is determined order parameter corresponding to voice messaging by speech recognition and instruction coupling, sends to client serviceDevice. Connecting computer receive client-server send control instruction after, close accordingly ", " startup ",Operations such as " selections ". Or, the voice messaging of inputting by microphone as user when recording content information,Mobile phone is converted into text message by speech recognition technology by voice messaging, sends to by client-serverComputer. Connecting computer receives that text message to be added after text message to the text of " notepad ", " note " defeatedEnter in frame.
9) user be in by computer control go on a journey another user mobile phone outside camera start, and receiveThe 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 dressPut. 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 Fig. 5Shown in, 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 of prestrainPage generating run interface;
Imput output circuit 52, triggers for receiving the operation interface that user generates in interface processing module 51Operational order;
Processor 53, for transferring the operation receiving with imput output circuit 52 by Javascript interfaceThe primary functional parameter that instruction is corresponding;
Imput output circuit 52 is the respective operations instruction for processor 53 being transferred by the HTML5 page alsoPrimary functional parameter send to client-server so that client-server according to primary functional parameter toControlled terminal sending controling instruction.
Further, as shown in Figure 6, this device also comprises: memory 61;
Processor 53 in interface processing module 51 according to the HTML5 page generating run interface of prestrainBefore, read 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 reading the page money of the HTML5 page from memory 61Source, and according to the page resource generating run interface of the HTML5 page.
Further, processor 53 is for being transferred with ObjectC form and encapsulated by Javascript interfacePrimary functional parameter.
Further, processor 53 is for transferring encapsulate with Java form former by Javascript interfaceRaw functional parameter.
Further, imput output circuit 52 is for primary by respective operations instruction by the HTML5 pageAfter functional parameter sends to client-server, send by HTML5 page reception client-serverOppositely control instruction, oppositely control instruction is client-server response to control instruction according to controlled terminalThe control instruction producing;
Processor 53 connects for the reverse control instruction and the Javascript that receive according to imput output circuit 52Mouth calls primary function.
The interconnected device in multiple terminals that the embodiment of the present invention provides, can login society by main control terminal userHand over application account after, by social applications client according to the HTML5 page generating run interface of prestrain, andReceive the operational order that user triggers in operation interface. Then transfer corresponding control by Javascript interfaceThe primary functional parameter of instruction processed, finally passes through the HTML5 page by the primary functional parameter of respective operations instructionSend to client-server, so that client-server sends to controlled terminal according to this primary functional parameterControl instruction. With in prior art by iTunes client realize multiple terminals interconnected compared with, can be based on peaceBeing contained in 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, thereforeCan the compatible operating system taking the script such as ObjectC, Java as foundational development, thus realize based on IOS,Interconnected between the operating system terminals such as Android, Microsoft, Saipan. In addition, the embodiment of the present invention providesThe device that multiple terminals is interconnected, can also realize by the HTML5 page biography of primary functional parameter with Web formPass, and send and control compared with parameter, to the indigo plant in terminal by the mode such as bluetooth or WI-FI in prior artTooth module or WI-FI module do not have mandatory requirement, and the terminal that bluetooth module and WI-FI module are not set is sameInterconnected with other-end can be realized, cost and the complexity of terminal mainboard design can be reduced thus. WithTime, compared with the Flash page of only supporting Android operating system generally adopting at present, based on HTML5The Web transmission form of the page can be applicable to how different operating system, thereby reaches better compatible effectReally.
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 as Fig. 5 or Fig. 6 in main control terminal 71Shown device.
Main control terminal 71, for after user is by the social application of main control terminal 71 login account, according to adding in advanceThe HTML 5(HTML5 carrying) page generating run interface, receive user and touch in operation interfaceThe operational order of sending out, then passes through based on object and event driven client script language (Javascript)Interface is transferred the primary functional parameter of corresponding control instruction, finally passes through the HTML5 page by respective operations instructionPrimary functional parameter send to client-server 72;
Client-server 72, the primary functional parameter sending for receiving main control terminal 71, according to primary meritCan parameter generate control instruction, and control instruction is sent to controlled terminal 73;
Controlled terminal 73, the control instruction sending for receiving client-server 72, holds according to control instructionLine operate.
The interconnected system in multiple terminals that the embodiment of the present invention provides, can login society by main control terminal userHand over application account after, by social applications client according to the HTML5 page generating run interface of prestrain, andReceive the operational order that user triggers in operation interface. Then transfer corresponding control by Javascript interfaceThe primary functional parameter of instruction processed, finally passes through the HTML5 page by the primary functional parameter of respective operations instructionSend to client-server, so that client-server sends to controlled terminal according to this primary functional parameterControl instruction. With in prior art by iTunes client realize multiple terminals interconnected compared with, can be based on peaceBeing contained in 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, thereforeCan the compatible operating system taking the script such as ObjectC, Java as foundational development, thus realize based on IOS,Interconnected between the operating system terminals such as Android, Windows, Saipan. In addition, the embodiment of the present invention is carriedThe interconnected system in multiple terminals of confession, can also realize primary functional parameter with Web form by the HTML5 pageTransmission, and send and control compared with parameter, in terminal by the mode such as bluetooth or WI-FI in prior artBluetooth module or WI-FI module there is no mandatory requirement, the terminal of bluetooth module and WI-FI module is not setInterconnected with other-end can be realized equally, cost and the complexity of terminal mainboard design can be reduced thus.Meanwhile, compared with the Flash page of only supporting Android operating system generally adopting at present, based on HTML5The Web transmission form of the page can be applicable to how different operating system, thereby reaches better compatible effectReally.
Through the above description of the embodiments, those skilled in the art can be well understood to thisThe bright mode that can add essential common hardware by software realizes, and can certainly pass through hardware, but a lotIn situation, the former is better embodiment. Based on such understanding, technical scheme of the present invention in essence orPerson says that the part that prior art is contributed can embody with the form of software product, and this computer is softPart product is stored in the storage medium can read, and as the floppy disk of computer, hard disk or CD etc., if compriseDry instruction in order to make a computer equipment (can be personal computer, server, or the network equipmentDeng) carry out the method described in the present invention each embodiment.
The above be only the specific embodiment of the present invention, but protection scope of the present invention is not limited toThis, any be familiar with those skilled in the art the present invention disclose technical scope in, can expect easilyChange or replace, within all should being encompassed in protection scope of the present invention. Therefore, protection scope of the present invention shouldThe described protection domain with claim is as the criterion.

Claims (14)

1. the interconnected method in multiple terminals, is characterized in that, comprising:
Login by main control terminal user after social application account, social applications client is according to prestrainHTML 5 (HTML5) page generating run interface;
Receive the operational order that user triggers in described operation interface;
By transferring the primary of corresponding described operational order based on object and event driven Javascript interfaceFunctional parameter;
By the described HTML5 page, the primary functional parameter of the described operational order of correspondence is sent to client clothesBusiness device so that 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, pre-in described basisBefore the step at the HTML5 page generating run interface loading, 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 basis adds in advanceThe step at the HTML5 page generating run interface of carrying, 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, described in pass throughJavascript interface is transferred the step of the primary functional parameter of corresponding described control instruction, comprising:
Transfer the primary functional parameter with the encapsulation of ObjectC form by Javascript interface.
5. the interconnected method in multiple terminals according to claim 1, is characterized in that, described in pass throughJavascript interface is transferred the step of the primary functional parameter of corresponding described control instruction, comprising:
Transfer the primary functional parameter with the encapsulation of Java form by Javascript interface.
6. the interconnected method in multiple terminals according to claim 1, is characterized in that, in the described institute that passes throughState the step that the HTML5 page sends to the primary functional parameter of the described operational order of correspondence client-serverAfterwards, described method further comprises:
Receive by the described HTML5 page the reverse control instruction that described client-server sends, described anti-According to described controlled terminal, the response of described control instruction is produced by described client-server to control instructionRaw control instruction;
According to described reverse control instruction 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:
Transfer corresponding primary functional parameter by following at least one primary functional interface: power interface, tactileControl Touch Screen input interface, physical keyboard input interface, audio frequency play interface, gravity sensing interface, lightSense induction interface, compass/compass interface, vibration induction interface, microphone input interface and camera controlInterface processed.
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 hypertext mark of prestrainNote language 5 (HTML5) page generating run interface;
Imput output circuit, the described operation interface generating in described interface processing module for receiving userThe operational order triggering;
Processor, for by transferring and described input based on object and event driven Javascript interfaceThe corresponding primary functional parameter of described operational order that output circuit receives;
Described imput output circuit is the corresponding institute for described processor being transferred by the described HTML5 page alsoThe primary functional parameter of stating operational order sends to client-server, so that described client-server basisDescribed primary functional parameter is to controlled terminal sending controling instruction.
9. the interconnected device in multiple terminals according to claim 8, is characterized in that, described device also wrapsDraw together: memory;
Described processor is used in described interface processing module according to HTML5 page generating run circle of prestrainBefore face, read the page resource of the HTML5 page of binding in advance in installation file;
Described memory, delays for the page resource of the described HTML5 page that described processor is readDeposit.
10. the interconnected device in multiple terminals according to claim 9, is characterized in that, described interfaceReason module is for read the page resource of the described HTML5 page from described memory, according to described HTML5The page resource generating run interface of the page.
The 11. interconnected devices in multiple terminals according to claim 8, is characterized in that described processorFor transfer the primary functional parameter with the encapsulation of ObjectC form by Javascript interface.
The 12. interconnected devices in multiple terminals according to claim 8, is characterized in that described processorFor transfer the primary functional parameter with the encapsulation of Java form by Javascript interface.
The 13. interconnected devices in multiple terminals according to claim 8, is characterized in that, described input is defeatedGo out circuit for the primary functional parameter of the described operational order of correspondence being sent to by the described HTML5 pageAfter client-server, receive by the described HTML5 page the reverse control that described client-server sendsInstruction processed, described reverse control instruction be described client-server according to described controlled terminal to described controlThe control instruction that the response of instruction produces;
Described processor for the described reverse control instruction that receives according to described imput output circuit and described inJavascript interface calls primary function.
14. 1 kinds of systems that multiple terminals is interconnected, is characterized in that, described system comprises: main control terminal, visitorFamily end server and controlled terminal, wherein, in described main control terminal, comprise as claim 8 to right wantAsk the interconnected device in the multiple terminals described in any one in 13;
Described main control terminal, for logining by main control terminal user after social application account, according to adding in advanceHTML 5 (HTML5) page generating run interface of carrying, receives user at described operation interfaceThe operational order of middle triggering, then by transferring correspondence based on object and event driven Javascript interfaceThe primary functional parameter of described control instruction, finally by the described HTML5 page by described correspondence operational orderPrimary functional parameter send to client-server;
Described client-server, the described primary functional parameter sending for receiving described main control terminal, rootGenerate control instruction according to described primary functional parameter, and described control instruction is sent to described controlled terminal;Described controlled terminal, the described control instruction sending for receiving described client-server, according to described controlInstruction executable operations processed.
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 CN104093077A (en) 2014-10-08
CN104093077B true 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)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615916B (en) * 2014-12-12 2018-06-19 腾讯科技(深圳)有限公司 Account management method and device, account authority control method and device
CN104618440B (en) 2014-12-31 2018-03-23 腾讯科技(深圳)有限公司 Smart machine control method and device
CN104572114B (en) * 2015-01-23 2017-11-28 盟游(北京)科技有限公司 A kind of binding device, using updating device and method
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
US10725797B2 (en) * 2016-09-05 2020-07-28 Microsoft Technology Licensing, Llc Service-driven dynamic user interface technology
CN108089928B (en) 2016-11-22 2022-01-14 华为技术有限公司 Terminal control method and device
CN107040609B (en) * 2017-05-25 2020-09-04 腾讯科技(深圳)有限公司 Network request processing method and device
CN107220371B (en) * 2017-06-14 2021-06-25 北京小米移动软件有限公司 Page display method and device and storage medium
CN107528830B (en) * 2017-08-03 2020-04-10 携程旅游信息技术(上海)有限公司 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
CN109948546B (en) * 2019-03-20 2022-04-15 四川长虹电器股份有限公司 Media playing interaction control system and method
CN112346754A (en) * 2019-08-07 2021-02-09 海信视像科技股份有限公司 Control method and device for dual-system application upgrading interface display
CN112346695A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Method for controlling equipment through voice and electronic equipment
CN111131870B (en) * 2019-11-25 2021-06-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
CN111901695B (en) * 2020-07-09 2022-09-02 腾讯科技(深圳)有限公司 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

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

Also Published As

Publication number Publication date
CN104093077A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN104093077B (en) Method, Apparatus and system that multiple terminals is interconnected
JP6818144B2 (en) Live room video stream push control method and corresponding servers and mobile terminals
JP6012049B2 (en) Remote control of telephone
CN103248683B (en) IOT cloud music speaker and audio data play method thereof
CN103024503A (en) System and method for achieving remote control through mobile communication equipment terminal
CN104268739A (en) Method and system for quickly converting enterprise information system into mobile application
CN109510754B (en) Online document generation method, device and system and electronic equipment
CN104053071B (en) Distribute control system, dissemination system and distribution control method
CN104053070B (en) Distribute control system, dissemination system and distribution control method
CN103079176A (en) Method and system for remotely controlling electronic equipment, mobile terminal and electronic equipment
US9723337B2 (en) Distribution control system and distribution system
US9578079B2 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
CN104823180A (en) Distributed cross-platform user interface and application projection
EP2793475A1 (en) Distribution control system, distribution control method, and computer-readable storage medium
CN101473675A (en) Virtualization of mobile device user experience
US20140282039A1 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
JP6453345B2 (en) Method, system and medium for remote rendering of web content on a television device
US9345061B1 (en) Remote access to mobile communication devices
CN106254468A (en) A kind of control system for intelligent back vision mirror and method
KR101749891B1 (en) METHOD OF CONTROLLING FRAME RATE BASED ON Resource Status AND APPARATUS FOR CLOUD STREAMING SERVICE
CN104967637A (en) Operation processing methods, operation processing devices and operation processing terminals
KR101459929B1 (en) Setting data sharing method for vehicle control
JP2015056046A (en) Distribution management system, distribution system, distribution management method, and program
CN111752190A (en) Equipment control method, device and system, storage medium and electronic equipment
CN106210867A (en) A kind of method and apparatus of data sharing

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