CN107465723A - Multi-screen interactive connection method, system, mobile terminal and readable storage medium storing program for executing - Google Patents

Multi-screen interactive connection method, system, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107465723A
CN107465723A CN201710558894.XA CN201710558894A CN107465723A CN 107465723 A CN107465723 A CN 107465723A CN 201710558894 A CN201710558894 A CN 201710558894A CN 107465723 A CN107465723 A CN 107465723A
Authority
CN
China
Prior art keywords
mobile terminal
screen interactive
television
connection
network information
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
CN201710558894.XA
Other languages
Chinese (zh)
Other versions
CN107465723B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201710558894.XA priority Critical patent/CN107465723B/en
Publication of CN107465723A publication Critical patent/CN107465723A/en
Application granted granted Critical
Publication of CN107465723B publication Critical patent/CN107465723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a kind of multi-screen interactive connection method, including:Mobile terminal logs in signal server, signal server is read the first network information of mobile terminal;Mobile terminal receive signal server return login successfully information after, multi-screen interactive request is sent to keeps, so that keeps send multi-screen interactive request to corresponding television, television is when receiving multi-screen interactive request, log in signal server, signal server reads second network information of television, and exchanges first network information and second network information;When receiving second network information of signal server return, mobile terminal is according to the point-to-point connection between second network information foundation received and television.The invention also discloses system, mobile terminal and the readable storage medium storing program for executing of a kind of multi-screen interactive connection.The present invention realize the beneficial effect of the terminal multi-screen interactive in wide area network by establishing the point-to-point connection passage of terminal.

Description

Multi-screen interactive connection method, system, mobile terminal and readable storage medium storing program for executing
Technical field
The present invention relates to terminal multi-screen interactive field, more particularly to a kind of multi-screen interactive connection method, system, mobile terminal And readable storage medium storing program for executing.
Background technology
With IPTV (hereinafter referred to as:Becoming increasingly popular IPTV), one is opened for the access of mobile device Individual new entrance, user can have three kinds of modes to enjoy IPTV service at home:(1) computer;(2) network machine top box+common electricity Depending on machine;(3) mobile terminal (such as mobile phone, tablet personal computer etc.).It can be well adapted for the trend of current network rapid development, fill Divide and effectively utilize Internet resources.This mobile terminal is interacted be usually said " multi-screen interactive " technology of people with TV's.
However, from the point of view of with regard to the realization rate of current multi-screen interactive technology, mobile terminal is mostly in LAN (LAN) with TV Connected by certain public or proprietary protocol, reach the purpose of control TV and resource-sharing.If can be by the company of multi-screen interactive Connect mode (WAN) from LAN Extending to wide area network, then under current powerful internet environment, region and environment are to multi-screen Interactive limitation will greatly reduce.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of multi-screen interactive connection method, it is intended to solve the terminal in non-local net The technical problem of multi-screen interactive.
To achieve the above object, the present invention provides a kind of multi-screen interactive connection method, including:
When receiving multi-screen interactive request, mobile terminal logs in signal server, so that the signal server is read The first network information of the mobile terminal simultaneously preserves;
After the mobile terminal logins successfully information receive that the signal server returns, sent out to keeps Multi-screen interactive is sent to ask, so that the keeps send multi-screen interactive request to corresponding television, wherein, institute Television is stated when receiving multi-screen interactive request, logs in the signal server, the signal server reads the TV Second network information at end, and exchange the first network information and second network information;
When receiving second network information that the signal server returns, the mobile terminal is according to the received The point-to-point connection that two network informations are established between television, wherein, the television set is believed according to the first network received Breath is established with the television set and connected.
Preferably, it is described when receiving second network information that the signal server returns, the mobile terminal root After the step of point-to-point connection between television being established according to second network information received, in addition to:
The mobile terminal sends communication command based on the point-to-point connection established with television, to the television, its In, the communication command includes the arrange parameter of multi-screen interactive, and the television carries out multi-screen interactive according to the arrange parameter Setting.
Preferably, the point-to-point company that the mobile terminal is established between television according to second network information received After the step of connecing, in addition to:
When receiving exit instruction, the mobile terminal sends to the television and disconnects order, so that described Television disconnects order according to what is received, exits current multi-screen interactive operation, and return and exit to the mobile terminal Operational order;
After the mobile terminal exits operational order receive that the television returns, point-to-point connection is disconnected.
Preferably, the point-to-point company that the mobile terminal is established between television according to second network information received Before the step of connecing, in addition to:
The mobile terminal receives the agreement connection that the keeps return and invited;Wherein, the agreement connection is invited Please be that the keeps confirm to extract from the use that the user account information in multi-screen interactive request is applied with the television The prompt message that family account unanimously returns afterwards, it is described to agree to that connection invitation is also sent to the television.
Preferably, after the mobile terminal logins successfully information receive that the signal server returns, to account After server sends the step of multi-screen interactive request, in addition to:
The mobile terminal connects when receiving the refusal connection request that the keeps return according to the refusal Connect the refusal content of request, adjustment with it is described refuse the corresponding parameter setting of content backward the keeps resend it is more Shield interactive connection request;
Wherein, the refusal connection request is that the keeps confirm to extract from user's account in multi-screen interactive request The prompt message returned after the user account of number information and television application is inconsistent.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory, Processor and the multi-screen interactive linker that can be run on the memory and on the processor is stored in, the multi-screen is mutual The step of multi-screen interactive connection method as described above being realized when dynamic linker is by the computing device.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, it is characterised in that institute State and multi-screen interactive linker is stored with computer-readable recording medium, the multi-screen interactive connection establishes program by processor The step of multi-screen interactive connection method as described above is realized during execution.
In addition, the embodiment of the present invention also proposes a kind of multi-screen interactive connection system, the system includes mobile terminal, TV End, signal server and keeps, wherein:
The mobile terminal, for when receiving multi-screen interactive request, logging in signal server, and receiving State signal server return login successfully information after, send multi-screen interactive request to keeps, it is described and when connecing breath The point-to-point connection that mobile terminal is established between television according to second network information received;
The signal server, for when detecting that mobile terminal logs in, reading the first network of the mobile terminal Information simultaneously preserves, and when detecting that the television logs in, reads second network information of the television, and clearing house State first network information and second network information;
The keeps, for when receiving the multi-screen interactive request of mobile terminal transmission, the account to be taken Multi-screen interactive request is forwarded to corresponding television by business device;
The television, for when receiving multi-screen interactive request, logging in the signal server, and according to the letter Make the first network information of server feedback establish with the mobile terminal to connect.
Preferably, the mobile terminal, it is additionally operable to receive the agreement connection invitation that the keeps return;
The keeps, it is additionally operable to confirming to extract from the user account information during multi-screen interactive is asked and the electricity After consistent depending on the user account of end application, returned to the television and mobile terminal and agree to that connection is invited.
Preferably, the mobile terminal, it is additionally operable to when receiving the refusal connection request that the keeps return, According to the refusal content of the refusal connection request, the account takes adjustment parameter setting corresponding with the refusal content backward Business device resends multi-screen interactive connection request;
The keeps, it is additionally operable to confirming to extract from the user account information during multi-screen interactive is asked and the electricity During depending on holding the user account of application inconsistent, refusal connection request is returned to the mobile terminal.
For the present invention when receiving multi-screen interactive request, mobile terminal logs in signal server, so that the signalling service Device reads the first network information of the mobile terminal and preserved;The mobile terminal is receiving the signal server return Login successfully information after, to keeps send multi-screen interactive request so that the keeps are mutual by the multi-screen Dynamic request is sent to corresponding television, wherein, the television logs in the signaling clothes when receiving multi-screen interactive request Business device, the signal server read second network information of the television, and exchange the first network information and institute State second network information;When receiving second network information that the signal server returns, the mobile terminal is according to connecing The point-to-point connection that second network information that receives is established between television, wherein, the television set is according to the received One network information is established with the television set and connected.After the network information of the connection terminal provided by signal server exchanges, Point-to-point interface channel connection is carried out, to realize the beneficial effect of the operation of the terminal multi-screen interactive in wide area network.
Brief description of the drawings
Fig. 1 be the hardware running environment that multi-screen interactive connection method embodiment scheme of the present invention is related to terminal device knot Structure schematic diagram;
Fig. 2 is the schematic flow sheet of the first embodiment of multi-screen interactive connection method of the present invention;
Fig. 3 is the schematic flow sheet of the second embodiment of multi-screen interactive connection method of the present invention;
Fig. 4 is the terminal interaction schematic diagram that multi-screen interactive of the present invention connects system.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:When receiving multi-screen interactive request, mobile terminal logs in signaling Server, so that the signal server reads the first network information of the mobile terminal and preserved;The mobile terminal exists After receive that the signal server returns logins successfully information, multi-screen interactive request is sent to keeps, so that institute Keeps are stated to send multi-screen interactive request to corresponding television, wherein, the television is receiving multi-screen During interaction request, the signal server is logged in, the signal server reads second network information of the television, and hands over Change the first network information and second network information;Receiving the second network letter of the signal server return During breath, point-to-point connection that the mobile terminal is established between television according to second network information that receives, wherein, institute State television set and connection is established according to the first network information received and the television set.
The terminal multi-screen interactive operation in LAN can only be realized due to prior art, in the case of without LAN, is had During the demand of multi-screen interactive operation, region and environment are higher to the restriction ratio of multi-screen interactive.
The present invention provides a solution, terminal is established by the functions that burrow of the NAT under IEC frameworks between terminal Multi-screen interactive interface channel, realize the multi-screen interactive of the terminal in wide area network.
As shown in figure 1, Fig. 1 is the end for the hardware running environment that multi-screen interactive connection method embodiment scheme of the present invention is related to End structure schematic diagram.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, portable Computer etc. has the packaged type terminal device of display function.
As shown in figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components. User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standard Mouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, it can lead to as in a kind of memory 1005 of computer-readable storage medium including operating system, network Believe module, Subscriber Interface Module SIM and multi-screen interactive linker.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background server Data communicate;User interface 1003 is mainly used in connecting client (user terminal), enters row data communication with client;And processor 1001 can be used for calling the multi-screen interactive linker stored in memory 1005, and perform following operate:
When receiving multi-screen interactive request, mobile terminal logs in signal server, so that the signal server is read The first network information of the mobile terminal simultaneously preserves;
After the mobile terminal logins successfully information receive that the signal server returns, sent out to keeps Multi-screen interactive is sent to ask, so that the keeps send multi-screen interactive request to corresponding television, wherein, institute Television is stated when receiving multi-screen interactive request, logs in the signal server, the signal server reads the TV Second network information at end, and exchange the first network information and second network information;
When receiving second network information that the signal server returns, the mobile terminal is according to the received The point-to-point connection that two network informations are established between television, wherein, the television set is believed according to the first network received Breath is established with the television set and connected.
Further, processor 1001 can call the multi-screen interactive linker stored in memory 1005, also perform Operate below:
The mobile terminal sends communication command based on the point-to-point connection established with television, to the television, its In, the communication command includes the arrange parameter of multi-screen interactive, and the television carries out multi-screen interactive according to the arrange parameter Setting.
Further, processor 1001 can call the multi-screen interactive linker stored in memory 1005, also perform Operate below:
When receiving exit instruction, the mobile terminal sends to the television and disconnects order, so that described Television disconnects order according to what is received, exits current multi-screen interactive operation, and return and exit to the mobile terminal Operational order;
After the mobile terminal exits operational order receive that the television returns, point-to-point connection is disconnected.
Further, processor 1001 can call the multi-screen interactive linker stored in memory 1005, also perform Operate below:
The mobile terminal receives the agreement connection that the keeps return and invited;Wherein, the agreement connection is invited Please be that the keeps confirm to extract from the use that the user account information in multi-screen interactive request is applied with the television The prompt message that family account unanimously returns afterwards, it is described to agree to that connection invitation is also sent to the television.
Further, processor 1001 can call the multi-screen interactive linker stored in memory 1005, also perform Operate below:
The mobile terminal connects when receiving the refusal connection request that the keeps return according to the refusal Connect the refusal content of request, adjustment with it is described refuse the corresponding parameter setting of content backward the keeps resend it is more Shield interactive connection request;
Wherein, the refusal connection request is that the keeps confirm to extract from user's account in multi-screen interactive request The prompt message returned after the user account of number information and television application is inconsistent.
Reference picture 2, Fig. 2 are the schematic flow sheet of the first embodiment of multi-screen interactive connection method of the present invention, including following Step:
Step S10, when receiving multi-screen interactive request, mobile terminal logs in signal server, so that the signaling takes Business device reads the first network information of the mobile terminal and preserved;
Multi-screen interactive demand based on present terminal, multi-screen interactive request is sent to current mobile terminal.In the shifting When dynamic terminal receives the multi-screen interactive request, login protocol is sent to corresponding signal server, to log in the signaling Server.After the mobile terminal logs on to the signal server, the signal server reads the mobile terminal The network information, first network information is defined as, and the mark based on the mobile terminal preserves the first network information.To institute State mobile terminal and return to the instruction logined successfully.The signal server, it is defined as the server that identification terminal hides IP address. Its specific implementation, step is realized for the signal server of prior art, not described here any more.
Step S20, after the mobile terminal logins successfully information receive that the signal server returns, to account Server sends multi-screen interactive request, so that the keeps send multi-screen interactive request to corresponding TV End, wherein, the television logs in the signal server when receiving multi-screen interactive request, and the signal server is read Second network information of the television is taken, and exchanges the first network information and second network information;
The mobile terminal receive that the signal server returns login successfully instruction after, to corresponding account service Device sends multi-screen interactive request.The keeps, it is defined as the list of user account application terminal.The keeps exist After receiving the multi-screen interactive request, based on the analysis result of multi-screen interactive request, the multi-screen interactive is asked to send out Deliver to corresponding television.The keeps parse the content of the multi-screen interactive request, and television corresponding to extraction is believed Breath, and sent multi-screen interactive request to the television based on the TV client information.Received in the television After the multi-screen interactive request, login protocol is sent to the signal server, so that the signal server reads the electricity Depending on the network information at end.The signal server based on the television for sending login protocol, believe by the network for reading the television Breath, is defined as second network information.And second network information is sent to shifting corresponding to the first network information stored Dynamic terminal, the first network information stored is sent to the television, to realize the mobile terminal and the television The network information exchange.
In addition, after the mobile terminal logins successfully information receive that the signal server returns, taken to account After business device sends the step of multi-screen interactive request, in addition to:
The mobile terminal connects when receiving the refusal connection request that the keeps return according to the refusal Connect the refusal content of request, adjustment with it is described refuse the corresponding parameter setting of content backward the keeps resend it is more Shield interactive connection request;Wherein, the refusal connection request is that the keeps confirm to extract from multi-screen interactive request The application of user account information and the television user account it is inconsistent after the prompt message that returns.
When receiving the refusal connection request that the keeps return, its source asked is the mobile terminal Keeps, the keeps, should in the corresponding user account that stored using the user account information as screening conditions TV client information with lookup in terminal list using the user account, if described stored the list of user account application terminal In, in addition to the mobile terminal, there is not the television using the user account.Then return and refuse to the mobile terminal The prompting that multi-screen interactive connection is invited.The mobile terminal connects the suggestion content invited according to the multi-screen interactive, corresponding to adjust Parameter setting corresponding to the whole mobile terminal is so that the set content of the mobile terminal meets the multi-screen interactive connection and invited Condition please.For example, the suggestion content that the refusal multi-screen interactive connection is invited is that the mobile terminal has turned on fire wall screen The connection of terminal is covered, then the mobile terminal closes fire wall function of shielding in fire wall setting.
Further, also need to confirm whether television allows multi-screen interactive to connect, i.e., described mobile terminal is receiving State signal server return login successfully instruction after, to keeps send multi-screen interactive request so that the account take Business device sends the multi-screen interactive request the step of corresponding television before, in addition to:
Confirm whether the television agrees to that multi-screen interactive connects;
If the television agrees to multi-screen interactive connection, perform and send multi-screen interactive request to corresponding television The step of;
If the television disagrees multi-screen interactive connection, the connection that unlatching multi-screen interactive is sent to the television please Ask.
Step S30, when receiving second network information that the signal server returns, the mobile terminal is according to connecing The multi-screen interactive that second network information that receives is established between television connects, wherein, the television set is according to receiving First network information is established with the television set and connected.
It is after the mobile terminal and the television exchange termination intercourse own net information, i.e., described mobile whole End and the television have possessed on the premise of multi-screen interactive be connected, pass through corresponding WebRTC objects integration ICE frameworks, progress NAT is burrowed operation, and the mobile terminal and the television are established into point-to-point interface channel.Built based on the interface channel After vertical, the target terminal is connected terminal with the target and realize that multi-screen interactive operates.Wherein, the WebRTC objects are integrated ICE frameworks, carry out NAT and burrow operation, be prior art for the ICE framework correlation functions of the WebRTC objects of prior art, This is seldom repeated.
Wherein, the point-to-point connection that the mobile terminal is established between television according to second network information received The step of before, in addition to:
The mobile terminal receives the agreement connection that the keeps return and invited;Wherein, the agreement connection is invited Please be that the keeps confirm to extract from the use that the user account information in multi-screen interactive request is applied with the television The prompt message that family account unanimously returns afterwards, it is described to agree to that connection invitation is also sent to the television.
The mobile terminal receives the agreement multi-screen interactive connection that the keeps return and invited, and its source is in institute When stating keeps and receiving multi-screen interactive request, asked based on the multi-screen interactive, extraction wherein mobile terminal User account information, and using the user account information as screening conditions, the list of user account application terminal has been stored corresponding The middle TV client information for searching the application user account.Search whether that television is applied as the mobile terminal User account;The user account, for the account information of mobile terminal corresponding A PK applications.Realize mobile terminal and electricity Multi-screen interactive depending on end operates, and premise is that the mobile terminal applies same user account with the television.With the use Family account information is screening conditions, and the application user account is searched in the list of user account application terminal has correspondingly been stored TV client information, if described stored in the list of user account application terminal, in addition to the mobile terminal, also using described The television of user account, then confirm the corresponding multi-screen interaction terminal that the television is the mobile terminal, i.e., described account Server sends multi-screen interactive request to the television using the user account found, so that the television After the prompting agreed to connection and invited is received, signal server is logged in.Wherein described agreement multi-screen interactive connection is invited Also send in the lump to the mobile terminal, and the mobile terminal waits signaling clothes after receiving the agreement connection and inviting Second network information of the television that business device is read after being logged in based on the television is simultaneously back to the mobile terminal. After the mobile terminal receives second network information, the ICE frameworks of default WebRTC objects integration are called, are carried out NAT burrows, and establishes the multi-screen interactive interface channel with the television.
Wherein, it is after the mobile terminal enters multi-screen interactive operating procedure, i.e., described to receive the signaling clothes During second network information that business device returns, the mobile terminal is established between television according to second network information received Point-to-point connection the step of after, in addition to:
The mobile terminal sends communication command based on the point-to-point connection established with television, to the television, its In, the communication command includes the arrange parameter of multi-screen interactive, and the television carries out multi-screen interactive according to the arrange parameter Setting.
After the mobile terminal and the television establish point-to-point interface channel, the mobile terminal is based on described Interface channel sends communication command to the television, makes realization of the mobile terminal based on the multi-screen interactive interface channel Mode performs the communication command, and because including the parameter setting of multi-screen interactive operation in the communication command, the television exists After receiving the communication command, the content of the multi-screen interactive arrange parameter of the communication command is parsed, it is current more to confirm Shield in interactive operator scheme, based on interactive terminal set content.After the television is parsed the communication command, return Receipt row successful information is to the mobile terminal, after the mobile terminal is received the information that runs succeeded, into multi-screen interactive Operator scheme.
In the present embodiment, when receiving multi-screen interactive request, mobile terminal logs in signal server, makes the signaling Server reads the network information of the mobile terminal, and receive signal server return login successfully information after, to Keeps send multi-screen interactive request, so that multi-screen interactive request is forwarded to corresponding electricity by the keeps Depending on end, and the television is logged in after signal server with the mobile terminal exchange network information, exchanged in the network information After success, the mobile terminal and the point-to-point connection passage of television are established, to realize that the multi-screen interactive in wide area network connects Channel.The terminal multi-screen interactive realized by this method, because multi-screen interactive operation is the connection of realization of being burrowed based on NAT Passage, the connected mode of the multi-screen interactive is expanded in wide area network from LAN, in the situation that LAN can not connect Under realize terminal multi-screen interactive operation.
Further, reference picture 3, Fig. 3 are the schematic flow sheet of the second embodiment of multi-screen interactive connection method of the present invention, Based on the multi-screen interactive connection method second embodiment of the present invention shown in above-mentioned Fig. 2, the mobile terminal is according to the net received Network information was established after the step of point-to-point connection between television, in addition to:
Step S40, when receiving exit instruction, the mobile terminal sends to the television and disconnects order, So that the television disconnects order according to what is received, current multi-screen interactive operation is exited, and to the mobile terminal Operational order is exited in return;
Step S50, after the mobile terminal exits operational order receive that the television returns, disconnect point-to-point Connection.
After current multi-screen interactive operator scheme is exited in reception, the mobile terminal is based on the currently attached electricity Depending on end, open command is sent to the television.Because multi-screen interactive instruction is that the mobile terminal is based on the TV What the agreement connection at end was established after inviting, when exiting the multi-screen interactive pattern, open command need to be sent to the television. Television under the multi-screen interactive connection status receives described when disconnecting order, and the multi-screen interactive is exited in control Operator scheme, that is, disconnect the point-to-point connection passage with the mobile terminal.After the point-to-point connection passage is disconnected, to institute State mobile terminal and return to the information for having dropped out current multi-screen interactive operation.The mobile terminal is set to receive the letter having dropped out After breath, the point-to-point connection is disconnected at mobile terminal correlation setting.And the SOT state of termination before connection is back to, to wait Connect next time.
In the present embodiment, the mobile terminal disconnects request by sending, and treats that corresponding television disconnects point-to-point connection Current point-to-point connection passage is just disconnected after passage, by the mode, is provided for the operation of current multi-screen interactive good Consumer's Experience.
In addition, the embodiment of the present invention also provides a kind of multi-screen interactive connection system, Fig. 4 is can refer to, Fig. 4 is multi-screen of the present invention The terminal interaction schematic diagram of interactive connection system, the system include:Mobile terminal, television, signal server and account clothes Business device, wherein:
The mobile terminal, for when receiving multi-screen interactive request, logging in signal server, and receiving State signal server return login successfully information after, send multi-screen interactive request to keeps, and described receiving During second network information that signal server returns, the mobile terminal is established according to second network information received and TV Point-to-point connection between end;
The signal server, for when detecting that mobile terminal logs in, reading the first network of the mobile terminal Information simultaneously preserves, and when detecting that the television logs in, reads second network information of the television, and clearing house State first network information and second network information;
The keeps, for when receiving the multi-screen interactive request of mobile terminal transmission, the account to be taken Multi-screen interactive request is forwarded to corresponding television by business device;
The television, for when receiving multi-screen interactive request, logging in the signal server, and according to the letter Make the first network information of server feedback establish with the mobile terminal to connect.In the present embodiment, multi-screen of the present invention is passed through The system interaction mode of interactive connection system, mobile terminal to keeps by sending multi-screen interactive operation requests so that account Number server search connection television corresponding with the mobile terminal, and by log in signal server read mobile terminal and The network information of television, and by after the network information exchange of the two, establish the mobile terminal and the television is point-to-point Annexation.By such a mode, terminal is set to establish point-to-point connection passage, and then it is mutual to realize terminal multi-screen in wide area network The beneficial effect of dynamic operation.
Further, the mobile terminal, it is additionally operable to receive the agreement connection invitation that the keeps return;It is described Keeps, the user account information and the use of television application being additionally operable in confirming to extract from multi-screen interactive request After family account is consistent, is returned to the television and mobile terminal and agree to that connection is invited.
Further, the mobile terminal, it is additionally operable to receiving the refusal connection request of the keeps return When, according to the refusal content of the refusal connection request, adjust parameter setting corresponding with the refusal content account backward Number server resends multi-screen interactive connection request;The keeps, it is additionally operable to confirming that extracting from multi-screen interactive asks When the user account of user account information and television application in asking is inconsistent, returns to refusal to the mobile terminal and connect Connect request.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with multi-screen interactive linker, following operation is realized when the multi-screen interactive linker is executed by processor:
When receiving multi-screen interactive request, mobile terminal logs in signal server, so that the signal server is read The first network information of the mobile terminal simultaneously preserves;
After the mobile terminal logins successfully information receive that the signal server returns, sent out to keeps Multi-screen interactive is sent to ask, so that the keeps send multi-screen interactive request to corresponding television, wherein, institute Television is stated when receiving multi-screen interactive request, logs in the signal server, the signal server reads the TV Second network information at end, and exchange the first network information and second network information;
When receiving second network information that the signal server returns, the mobile terminal is according to the received The point-to-point connection that two network informations are established between television, wherein, the television set is believed according to the first network received Breath is established with the television set and connected.
Further, following operation is also realized when the multi-screen interactive linker is executed by processor:
The mobile terminal sends communication command based on the point-to-point connection established with television, to the television, its In, the communication command includes the arrange parameter of multi-screen interactive, and the television carries out multi-screen interactive according to the arrange parameter Setting.
Further, following operation is also realized when the multi-screen interactive linker is executed by processor:
When receiving exit instruction, the mobile terminal sends to the television and disconnects order, so that described Television disconnects order according to what is received, exits current multi-screen interactive operation, and return and exit to the mobile terminal Operational order;
After the mobile terminal exits operational order receive that the television returns, point-to-point connection is disconnected.
Further, following operation is also realized when the multi-screen interactive linker is executed by processor:
The mobile terminal receives the agreement connection that the keeps return and invited;Wherein, the agreement connection is invited Please be that the keeps confirm to extract from the use that the user account information in multi-screen interactive request is applied with the television The prompt message that family account unanimously returns afterwards, it is described to agree to that connection invitation is also sent to the television.
Further, following operation is also realized when the multi-screen interactive linker is executed by processor:
The mobile terminal connects when receiving the refusal connection request that the keeps return according to the refusal Connect the refusal content of request, adjustment with it is described refuse the corresponding parameter setting of content backward the keeps resend it is more Shield interactive connection request;
Wherein, the refusal connection request is that the keeps confirm to extract from user's account in multi-screen interactive request The prompt message returned after the user account of number information and television application is inconsistent.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of multi-screen interactive connection method, it is characterised in that the multi-screen interactive connection method comprises the following steps:
When receiving multi-screen interactive request, mobile terminal logs in signal server, so that described in signal server reading The first network information of mobile terminal simultaneously preserves;
After the mobile terminal logins successfully information receive that the signal server returns, sent to keeps more The interactive request of screen, so that the keeps send multi-screen interactive request to corresponding television, wherein, the electricity Depending on end when receiving multi-screen interactive request, the signal server is logged in, the signal server reads the television Second network information, and exchange the first network information and second network information;
When receiving second network information that the signal server returns, the mobile terminal is according to the second net received The point-to-point connection that network information is established between television, wherein, the television according to the first network information that receives and The mobile terminal establishes connection.
2. multi-screen interactive connection method as claimed in claim 1, it is characterised in that described to receive the signal server During second network information returned, the mobile terminal is according to the point between second network information foundation received and television To connection the step of after, in addition to:
The mobile terminal sends communication command based on the point-to-point connection established with television, to the television, wherein, institute The arrange parameter that communication command includes multi-screen interactive is stated, the television carries out setting for multi-screen interactive according to the arrange parameter Put.
3. the multi-screen interactive connection method as described in any one of claim 1 to 2, it is characterised in that the mobile terminal according to Second network information received was established after the step of point-to-point connection between television, in addition to:
When receiving exit instruction, the mobile terminal sends to the television and disconnects order, so that the TV End disconnects order according to what is received, exits current multi-screen interactive operation, and returned to the mobile terminal and exit operation Instruction;
After the mobile terminal exits operational order receive that the television returns, point-to-point connection is disconnected.
4. multi-screen interactive connection method as claimed in claim 1, it is characterised in that the mobile terminal is according to received Two network informations were established before the step of point-to-point connection between television, in addition to:
The mobile terminal receives the agreement connection that the keeps return and invited;Wherein, it is described to agree to that connection invitation is The keeps confirm to extract from user account information and user's account of television application in multi-screen interactive request The prompt message returned after number consistent, it is described to agree to that connection invitation is also sent to the television.
5. multi-screen interactive connection method as claimed in claim 1, it is characterised in that the mobile terminal is receiving the letter Make server return login successfully information after, to keeps send multi-screen interactive request the step of after, in addition to:
The mobile terminal, please according to the refusal connection when receiving the refusal connection request that the keeps return The refusal content asked, adjustment refuse the corresponding parameter setting of content to resend multi-screen mutual for the keeps backward with described Dynamic connection request;
Wherein, the refusal connection request is that the user account that the keeps confirm to extract from multi-screen interactive request is believed Breath and the inconsistent rear prompt message returned of user account of television application.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the multi-screen interactive linker that can run on the processor, the multi-screen interactive linker is by the processor The step of multi-screen interactive connection method as any one of claim 1 to 5 is realized during execution.
7. a kind of computer-readable recording medium, it is characterised in that it is mutual to be stored with multi-screen on the computer-readable recording medium Dynamic linker, the multi-screen interactive connection is established to be realized such as any one of claim 1 to 5 institute when program is executed by processor The step of multi-screen interactive connection method stated.
8. a kind of multi-screen interactive connects system, it is characterised in that the system include mobile terminal, television, signal server, And keeps, wherein:
The mobile terminal, for when receiving multi-screen interactive request, logging in signal server, and receiving the letter After make that server returns logins successfully information, multi-screen interactive request is sent to keeps, and is receiving the signaling During second network information that server returns, the mobile terminal established according to second network information that receives and television it Between point-to-point connection;
The signal server, for when detecting that mobile terminal logs in, reading the first network information of the mobile terminal And preserve, and when detecting that the television logs in, second network information of the television is read, and exchange described the One network information and second network information;
The keeps, for receive mobile terminal transmission multi-screen interactive request when, by the keeps Multi-screen interactive request is forwarded to corresponding television;
The television, for when receiving multi-screen interactive request, logging in the signal server, and take according to the signaling The first network information for device feedback of being engaged in is established with the mobile terminal to be connected.
9. multi-screen interactive as claimed in claim 8 connects system, it is characterised in that
The mobile terminal, it is additionally operable to receive the agreement connection invitation that the keeps return;
The keeps, it is additionally operable to confirming to extract from the user account information during multi-screen interactive is asked and the television After the user account of application is consistent, is returned to the television and mobile terminal and agree to that connection is invited.
10. multi-screen interactive as claimed in claim 8 connects system, it is characterised in that
The mobile terminal, it is additionally operable to, when receiving the refusal connection request that the keeps return, be refused according to described The refusal content of exhausted connection request, adjustment parameter setting corresponding with the refusal content backward send out again by the keeps Send multi-screen interactive connection request;
The keeps, it is additionally operable to confirming to extract from the user account information during multi-screen interactive is asked and the television When the user account of application is inconsistent, refusal connection request is returned to the mobile terminal.
CN201710558894.XA 2017-07-10 2017-07-10 Multi-screen interactive connection method and system, mobile terminal and readable storage medium Active CN107465723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710558894.XA CN107465723B (en) 2017-07-10 2017-07-10 Multi-screen interactive connection method and system, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710558894.XA CN107465723B (en) 2017-07-10 2017-07-10 Multi-screen interactive connection method and system, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN107465723A true CN107465723A (en) 2017-12-12
CN107465723B CN107465723B (en) 2021-06-15

Family

ID=60543906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710558894.XA Active CN107465723B (en) 2017-07-10 2017-07-10 Multi-screen interactive connection method and system, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN107465723B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167827A (en) * 2018-08-21 2019-01-08 奇酷互联网络科技(深圳)有限公司 Method, computer equipment and the storage medium of mobile terminal synchronization application
CN111586042A (en) * 2020-05-07 2020-08-25 深圳康佳电子科技有限公司 Multi-screen interaction method, terminal and storage medium
CN111787078A (en) * 2020-06-19 2020-10-16 揭阳市聆讯软件有限公司 Signaling control system and communication method based on elevator Internet of things

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802048A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Multi-screen interaction system and method
CN102833632A (en) * 2012-08-24 2012-12-19 Tcl集团股份有限公司 Multi-screen interactive master-slave control equipment management method, intelligent television and control equipment
CN102891886A (en) * 2012-09-14 2013-01-23 吉视传媒股份有限公司 Multi-screen interacting method and system based on cloud computing
CN103491179A (en) * 2013-09-27 2014-01-01 百视通网络电视技术发展有限责任公司 Multi-screen interaction method and system based on Web
CN103581740A (en) * 2013-10-25 2014-02-12 中兴通讯股份有限公司 Distributed IPTV multi-screen gateway and IPTV multi-screen interaction method
CN103702175A (en) * 2013-12-28 2014-04-02 珠海全志科技股份有限公司 Multi-screen interactive method and multi-screen interactive device
US20150074730A1 (en) * 2012-05-17 2015-03-12 Huawei Technologies Co., Ltd. Multi-Screen Interaction Method and System
CN105187387A (en) * 2015-08-07 2015-12-23 海信集团有限公司 Service discovery method and terminal
WO2017020790A1 (en) * 2015-07-31 2017-02-09 中兴通讯股份有限公司 Multi-screen control method and device
CN106572382A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Multi-screen interaction method and system and extensible messaging and presence protocol (XMPP) system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150074730A1 (en) * 2012-05-17 2015-03-12 Huawei Technologies Co., Ltd. Multi-Screen Interaction Method and System
CN102802048A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Multi-screen interaction system and method
CN102833632A (en) * 2012-08-24 2012-12-19 Tcl集团股份有限公司 Multi-screen interactive master-slave control equipment management method, intelligent television and control equipment
CN102891886A (en) * 2012-09-14 2013-01-23 吉视传媒股份有限公司 Multi-screen interacting method and system based on cloud computing
CN103491179A (en) * 2013-09-27 2014-01-01 百视通网络电视技术发展有限责任公司 Multi-screen interaction method and system based on Web
CN103581740A (en) * 2013-10-25 2014-02-12 中兴通讯股份有限公司 Distributed IPTV multi-screen gateway and IPTV multi-screen interaction method
CN103702175A (en) * 2013-12-28 2014-04-02 珠海全志科技股份有限公司 Multi-screen interactive method and multi-screen interactive device
WO2017020790A1 (en) * 2015-07-31 2017-02-09 中兴通讯股份有限公司 Multi-screen control method and device
CN105187387A (en) * 2015-08-07 2015-12-23 海信集团有限公司 Service discovery method and terminal
CN106572382A (en) * 2015-10-12 2017-04-19 中兴通讯股份有限公司 Multi-screen interaction method and system and extensible messaging and presence protocol (XMPP) system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JACK_孟: "《NAT路由器打洞原理》", 《HTTPS://WWW.CNBLOGS.COM/MQ0036/P/4644776.HTML》 *
JAVA MINER: "《NAT穿透解决方案介绍》", 《HTTPS://WWW.CNBLOGS.COM/JAVAMINER/P/3575282.HTML》 *
XL: "《投屏神器连接不上电视?投屏神器连接失败原因[图]》", 《HTTPS://WWW.YQDOWN.COM/SHOUJISOFT/SHOUJIZIXUN/131577.HTM》 *
微笑 一路向前: "《《多屏互动》常见问题及解决办法!》", 《HTTPS://WWW.ZNDS.COM/FORUM.PHP?MOD=VIEWTHREAD&ORDERTYPE=1&TID=413306》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167827A (en) * 2018-08-21 2019-01-08 奇酷互联网络科技(深圳)有限公司 Method, computer equipment and the storage medium of mobile terminal synchronization application
CN111586042A (en) * 2020-05-07 2020-08-25 深圳康佳电子科技有限公司 Multi-screen interaction method, terminal and storage medium
CN111787078A (en) * 2020-06-19 2020-10-16 揭阳市聆讯软件有限公司 Signaling control system and communication method based on elevator Internet of things
CN111787078B (en) * 2020-06-19 2023-05-05 揭阳市聆讯软件有限公司 Signaling control system and communication method based on elevator Internet of things

Also Published As

Publication number Publication date
CN107465723B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN108513154A (en) Intelligent home furnishing control method, smart television based on smart television and storage medium
CN104320680B (en) A kind of net cast management method, open method, relevant device and system
WO2015032277A1 (en) Transmission method and device for media stream in video conference
CN108156488A (en) Interactive approach and electronic equipment based on gateway server
CN1998183A (en) A method for a message exchange service between a residential device and a mobile terminal
CN107566429A (en) Base station, the response method of access request, apparatus and system
CN102332983A (en) Utilize broadband gateway that the method and system of energy management is provided in home network
US20170171496A1 (en) Method and Electronic Device for Screen Projection
CN111629452A (en) Data transmission control method and device, storage medium and electronic equipment
CN107124341A (en) Intelligent home device match somebody with somebody network method and intelligent domestic system
CN102185856B (en) Team organizing video method, device and system used in team organizing game
CN107465723A (en) Multi-screen interactive connection method, system, mobile terminal and readable storage medium storing program for executing
CN103220429A (en) Low-power-consumption intelligent mobile terminal based on cloud computing and supporting system of low-power-consumption intelligent mobile terminal
CN111629024A (en) Data transmission control method and device, storage medium and electronic equipment
CN107622771A (en) Home appliance and its control method, system and computer-readable recording medium
CN108712737A (en) A kind of method and system of information exchange
CN110430280A (en) Account automatic logging method and system, storage medium and cloud desktop server
CN102118397B (en) Teleconference communication method and system based on mobile phones
CN109688364A (en) Video-meeting method, device, server and storage medium
CN113473395B (en) Message processing method, device, medium and electronic equipment
CN104301400B (en) Multi-screen collaboration and resource share method based on Samba agreements
CN106487755A (en) A kind of method and device setting up session
CN113037616B (en) Interactive method and device for cooperatively controlling multiple robots
CN203504758U (en) Low-power intelligent mobile terminal based on cloud calculation
CN111182074A (en) Intelligent device terminal with edge computing capability and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant