WO2018072650A1 - Method, apparatus, and platform for accomplishing interaction between mobile terminal and iptv - Google Patents

Method, apparatus, and platform for accomplishing interaction between mobile terminal and iptv Download PDF

Info

Publication number
WO2018072650A1
WO2018072650A1 PCT/CN2017/106070 CN2017106070W WO2018072650A1 WO 2018072650 A1 WO2018072650 A1 WO 2018072650A1 CN 2017106070 W CN2017106070 W CN 2017106070W WO 2018072650 A1 WO2018072650 A1 WO 2018072650A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
top box
iptv
set top
iptv set
Prior art date
Application number
PCT/CN2017/106070
Other languages
French (fr)
Chinese (zh)
Inventor
郭鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018072650A1 publication Critical patent/WO2018072650A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0884Network architectures or network communication protocols for network security for authentication of entities by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/633Control signals issued by server directed to the network components or client
    • H04N21/6332Control signals issued by server directed to the network components or client directed to client
    • H04N21/6334Control signals issued by server directed to the network components or client directed to client for authorisation, e.g. by transmitting a key

Definitions

  • the present application relates to the field of network television IPTV technology, for example, to a method, an apparatus, and a platform for implementing interaction between a mobile terminal and an IPTV.
  • IPTV Internet Protocol TV or Interactive Personal TV (IPTV) system uses TV TV, computer PC and mobile terminal as display terminals to connect network set-top boxes, computers or mobile devices to the Internet through the Internet, especially broadband.
  • the network provides various real-time or non-real-time multimedia services to various users such as TV, PC, and mobile terminals.
  • the present disclosure provides a method, device, and platform for implementing interaction between a mobile terminal and an IPTV, and implements sharing of multimedia content between the mobile terminal and the IPTV, and the application scenario is diversified.
  • a method for implementing interaction between a mobile terminal and a network television IPTV wherein the mobile terminal logs in to the IPTV system, and the process performed on the mobile terminal side includes: logging in to the login server, so that the login server is the mobile terminal Allocating a proxy server, and IPTV set top box corresponding to the mobile terminal is logged in to the login server; acquiring information of the IPTV set top box from the login server; and sending a link creation request to the proxy server based on information of the IPTV set top box So that the proxy server creates a link channel with the local mobile terminal and the IPTV set top box respectively; and performs message interaction with the IPTV set top box through the link channel.
  • the login to the login server may include: sending a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and the identity legality verification of the mobile terminal is successful.
  • the obtaining the information of the IPTV set top box from the login server may include: sending the set top box request information to the login server, so that the login server acquires the information of the IPTV set top box from the IPTV system; and receiving the login server The information of the IPTV set top box sent.
  • the method may include: simulating the IPTV set-top box to send a response message to the mobile terminal; correspondingly, the The message interaction of the IPTV set-top box may include: performing message interaction by using the UPnP protocol.
  • the present disclosure also provides a method for implementing interaction between a mobile terminal and a network television IPTV, wherein the IPTV set-top box is logged into the IPTV system, and the process performed on the IPTV set-top box side includes: logging in to the login server at the mobile terminal, so that And the login server establishes a link channel with the proxy server; and performs message interaction with the mobile terminal by using the link channel.
  • the logging in to the login server may include: sending a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box; and verifying the identity legality of the IPTV set top box is successful. Under the condition, log in to the login server; keep the login status of the login server.
  • the establishing a link channel with the proxy server may include: receiving a link establishment notification sent by the login server, and sending a link establishment request to the proxy server; establishing a link channel with the proxy server.
  • the present disclosure also provides a method for implementing interaction between a mobile terminal and a network television IPTV, wherein the process performed on the login server side includes: assigning a proxy to the mobile terminal under the condition that the mobile terminal logs in to the login server. a server, and allowing the IPTV set top box corresponding to the mobile terminal to log in to the local login server; receiving the set top box query request sent by the mobile terminal, and returning information of the IPTV set top box to the mobile terminal, for the mobile terminal Sending a link creation request to the proxy server, so that the proxy server creates a link channel with the mobile terminal and the IPTV set-top box, respectively, so that the mobile terminal and the IPTV set-top box perform message delivery through the link channel. mutual.
  • the allowing the IPTV set-top box to log in to the local login server may include: performing identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; and verifying the identity legality of the IPTV set-top box If successful, the IPTV is allowed to log in to the login server.
  • the present disclosure also provides a method for implementing interaction between a mobile terminal and a network television IPTV, wherein the process performed on the proxy server side includes: receiving a link creation request sent by the mobile terminal, respectively, and the mobile terminal and the corresponding office
  • the IPTV set top box of the mobile terminal creates a link channel, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal and the IPTV set top box perform message interaction through the link channel.
  • the link channel includes a first link channel and a second link channel, and after receiving the link creation request sent by the mobile terminal, respectively creating a link channel with the mobile terminal and an IPTV set top box corresponding to the mobile terminal,
  • the method includes: establishing, according to the link creation request, a first link channel with the mobile terminal; sending a set top box connection request to the login server, so that the login server notifies the IPTV set top box to send a link request to the proxy server Establishing a second link channel with the IPTV set top box; maintaining a mapping relationship between the first link channel and the second link channel.
  • the present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the apparatus is disposed on the mobile terminal, and the apparatus includes: a first login module configured to log in to the login server to enable the login The server allocates a proxy server to the mobile terminal, and the IPTV set top box corresponding to the mobile terminal is logged in to the login server; the obtaining module is configured to acquire information of the IPTV set top box from the login server; the sending module is configured Sending a link creation request to the proxy server based on the information of the IPTV set top box, so that the proxy server creates a link channel with the local mobile terminal and the IPTV set top box respectively; the first message interaction module is configured to pass The link channel performs message interaction with the IPTV set top box.
  • the first login module may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and verify identity legality of the mobile terminal. Log in to the login server under successful conditions.
  • the acquiring module may be configured to: send the set top box request information to the login server, so that the login server acquires information of the IPTV set top box from the IPTV system; and receive the IPTV sent by the login server Set-top box information.
  • the device may further include: a discovery device configured to: simulate the IPTV set-top box to send a response message to the mobile terminal; correspondingly, the first message interaction module may be configured to: use a UPnP protocol to perform a message. Interaction.
  • the present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the apparatus is disposed in an IPTV set top box, and the apparatus includes: a second login module configured to log in to the login server at the mobile terminal, so that The login server is configured to log in to the login server for the mobile terminal; the link channel establishing module is configured to establish a link channel with the mobile server and the proxy server respectively; the second message interaction module, It is configured to perform message interaction with the mobile terminal through the link channel.
  • the second login module may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box; and the identity legality verification of the IPTV set top box is successful. Under the condition, log in to the login server; keep the login status of the login server.
  • the link channel establishing module may be configured to: after receiving the link establishment notification sent by the login server, send a link establishment request to the proxy server; establish a link channel with the proxy server.
  • the present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the device is configured to be located in a login server, and the device includes: a management module configured to be in a condition that the mobile terminal logs in to the login server, Allocating a proxy server to the mobile terminal, and allowing an IPTV set top box corresponding to the mobile terminal to log in to the local login server; the transceiver module configured to receive the set top box query request sent by the mobile terminal and return to the IPTV set top box And the information is sent to the mobile terminal, where the mobile terminal sends a link creation request to the proxy server, so that the proxy server creates a link channel with the mobile terminal and the IPTV set-top box, respectively, to implement the mobile terminal and The IPTV set top box performs message interaction through the link channel.
  • a management module configured to be in a condition that the mobile terminal logs in to the login server, Allocating a proxy server to the mobile terminal, and allowing an IPTV set top box corresponding to the mobile
  • the management module may: perform identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; if the identity legality verification of the IPTV set-top box is successful, permit the IPTV login The login server.
  • the present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the device is disposed in a proxy server, and the device includes: a creating module configured to receive the mobile terminal Creating a link channel with the mobile terminal and the IPTV set top box corresponding to the mobile terminal respectively after the link creation request, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal and the IPTV set top box pass The link channel performs message interaction.
  • the link channel may include a first link channel and a second link channel
  • the creating module is configured to: establish a first link channel with the mobile terminal based on the link creation request; and send a set top box
  • the chain requests to the login server to cause the login server to notify the IPTV set top box to send a link request to the proxy server; establish a second link channel with the IPTV set top box; maintain the first link channel and the first The mapping relationship of the two link channels.
  • the present disclosure also provides a platform comprising an implementation device according to the above.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • An embodiment of the present disclosure further provides an electronic device, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the user can push the multimedia content played on the mobile terminal, such as video, music, pictures, etc., to the IPTV TV not in the same local area network to continue playing or displaying.
  • the user can also push the video, music, picture and the like of the IPTV broadcast to the corresponding mobile terminal for playing or displaying through the IPTV remote controller, thereby realizing the resource sharing between the mobile terminal and the IPTV set-top box, and enhancing the user experience.
  • FIG. 1 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to the first embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a second embodiment of the present disclosure
  • FIG. 3 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a third embodiment of the present disclosure
  • FIG. 4 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a fourth embodiment of the present disclosure
  • FIG. 5 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a fifth embodiment of the present disclosure
  • FIG. 6 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a sixth embodiment of the present disclosure
  • FIG. 7 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a seventh embodiment of the present disclosure
  • FIG. 8 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to an eighth embodiment of the present disclosure
  • FIG. 9 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to a ninth embodiment of the present disclosure.
  • FIG. 10 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to a tenth embodiment of the present disclosure
  • FIG. 11 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to an eleventh embodiment of the present disclosure
  • FIG. 12 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to a twelfth embodiment of the present disclosure
  • FIG. 13 is a schematic diagram of an embodiment of an implementation method of a first embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the method for implementing interaction between the mobile terminal and the network television IPTV proposed by the present disclosure realizes that the mobile phone terminal not in the same network interacts with the IPTV set-top box to realize the sharing of multimedia content, for example, if there is an elderly living in the home, based on the IPTV system
  • the outgoing user can control the IPTV located in the home through the mobile terminal, and can also push the video being played by the mobile terminal to the corresponding IPTV for playing and sharing with the family.
  • the implementation method of the mobile terminal of the present disclosure interacting with the network television IPTV and its various steps will be described in detail below.
  • the implementation method of the mobile terminal interacting with the network television IPTV in this embodiment is performed on the premise that the mobile terminal and the IPTV set top box respectively log in to the IPTV system, and the IPTV system stores a correspondence list between the account of the mobile terminal and the account of the IPTV set top box, and The IPTV system provides playback of video, audio, and the like.
  • the process performed on the mobile terminal side includes: Step S10: Log in to the login server, so that the login server allocates a proxy to the mobile terminal.
  • the server and the IPTV set top box corresponding to the mobile terminal log in to the login server.
  • the mobile terminal and the IPTV set top box respectively log in to the proxy server.
  • Step S20 Acquire information of the IPTV set top box from the login server. This step implements the information that the mobile terminal acquires the IPTV set top box.
  • Step S30 Send a link creation request to the proxy server based on the information of the IPTV set top box, so that the proxy server creates a link channel with the mobile terminal and the IPTV set top box respectively, thereby completing the establishment of the link channel between the mobile terminal and the IPTV set top box.
  • Step S40 The mobile terminal performs message interaction with the IPTV set top box through the above link channel.
  • the interactive message for message interaction can carry multimedia content information such as video, audio, picture, etc., and rely on the multimedia service provided by the IPTV system to realize sharing of multimedia content such as video, audio and pictures between the mobile terminal and the IPTV set top box.
  • the interactive message can also carry control information to achieve Interactive control between the mobile terminal and the IPTV set-top box.
  • the proxy server in this embodiment may be a sessions traversal across firewall securely (SOCKS) 5 proxy server, and the login server and the SOCKS5 proxy server support multiple network planes, that is, the login server and the SOCKS5 proxy server provide Interfaces connecting different network planes, so the mobile terminal and the IPTV set-top box are located on different network planes, and can also communicate and interact.
  • SOCKS5 proxy server reports the number of its own TCP links to the login server through the heartbeat message, and keeps alive with the login server through the heartbeat message, and the login server maintains the status and TCP of each SOCKS5 proxy server. Link number information.
  • the hardware configuration and message processing capability of each SOCKS5 proxy server are similar. Therefore, the load balancing mode of the least connection number algorithm is used to distribute the user's interactive messages to each SOCKS5 proxy server in a balanced manner. Interact with the scenario of the volume message.
  • step S10: logging in to the login server may include: sending a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and the identity legality verification of the mobile terminal succeeds. Under the conditions, log in to the above login server.
  • the login server When the mobile terminal requests the login from the login server, the login server sends a user identity validity check request to the IPTV system, and the user identity validity check request carries the account, password, and the like of the mobile terminal. After the verification is passed, the login server returns a login success message to the mobile terminal, and the message carries the IP address, port and other information of the SOCKS5 proxy server allocated to the mobile terminal, and the SOCKS5 proxy server is selected by the login server based on the minimum connection number algorithm. Then, the mobile terminal and the login server maintain the online state through the heartbeat message.
  • the present embodiment obtains the information of the IPTV set-top box from the login server in step S20, which may include: step S200: sending the set-top box request information to the login server, so that the login server is The IPTV system acquires information of the IPTV set top box.
  • step S201 Receive information of the IPTV set top box sent by the login server.
  • the mobile terminal obtains the information of the IPTV set top box corresponding thereto
  • step S30 the information of the IPTV set top box corresponding to the mobile terminal is written in the link creation request and sent to the proxy server, and the corresponding information is found by the proxy server. IPTV set-top box.
  • the mobile terminal sends an HTTP message request to the login server, and queries the set top box information that is bound to the account of the mobile terminal and is in an online state.
  • the login server queries the IPTV system through the IPTV system interface to query the information of the IPTV set-top box that has a binding relationship with the mobile terminal, including the name of the set-top box, the account of the set-top box, the ID of the set-top box, the online status of the set-top box, and the IP of the set-top box.
  • the login server feeds back the information of the obtained IPTV set-top box to the mobile terminal, and the user selects the target IPTV set-top box to connect on the mobile terminal, and the mobile terminal initiates a TCP link creation request to the SOCKS5 proxy server, and the TCP link creates the request message.
  • the IP of the target IPTV set-top box, the ID of the target IPTV set-top box, and the mobile terminal ID are carried in the body.
  • the SOCKS5 proxy server randomly generates a pair of 32-bit strings as the user token for the mobile terminal to interact with the IPTV set-top box, which is recorded as (UserToken1, UserToken2) and returned by the TCP response message.
  • the mobile terminal is sent to the IPTV set top box, and the mobile terminal and the IPTV set top box respectively store the user token.
  • the mobile terminal After the mobile terminal establishes a TCP link with the SOCKS5 proxy server, the link is maintained.
  • the link establishment at this time is based on the SOCKS Protocol Version 5 protocol.
  • the above user token is used for security verification before the message interaction, and the security of the message interaction is enhanced, which will be elaborated in the following embodiments.
  • the SOCKS5 proxy server After receiving the TCP link creation request of the mobile terminal, the SOCKS5 proxy server randomly generates a pair of 32-bit strings as the user token for the mobile terminal to interact with the IPTV set-top box, which is recorded as (UserToken1, UserToken2) and returned by the TCP response message.
  • the mobile terminal is sent to the IPTV set top box, and the mobile terminal and the IPTV set top box respectively store the user token.
  • the mobile terminal establishes a TCP link with the SOCKS5 proxy server, the link is maintained.
  • the link establishment at this time is based on the SOCKS Protocol Version 5 protocol.
  • the foregoing user token performs security check before the message interaction, and enhances the security of the message interaction.
  • the message header of the interactive message may be extended to the sender's user.
  • Token UserToken field the receiver verifies that the UserToken field is correct according to the stored user token; if the UserToken field is correct, the mobile terminal and the IPTV set-top box are allowed to perform message interaction, thereby implementing an interaction message between the mobile terminal and the IPTV set-top box.
  • Security It effectively avoids the security problems such as theft and illegal connection caused by the port publicity of the UPnP protocol.
  • Step S500 Simulating the IPTV set-top box to send a response message to the mobile terminal
  • Step S40 Performing message interaction with the IPTV set top box through the link channel
  • the method may include: Step S400: Perform message interaction by using the UPnP protocol.
  • Step S40 uses the UPnP protocol to perform message interaction. Since the standard UPnP protocol is applied to the LAN scenario, the mobile phone terminal and the IPTV set-top box respectively logged into the IPTV system may be in different network planes, in order to realize communication interaction across the network plane, and interaction. Messages are forwarded through the SOCKS5 proxy server.
  • the present embodiment improves the UPnP protocol, and sends a response message to the mobile terminal by simulating the IPTV set-top box in the mobile terminal by modifying the UPnP protocol stack of the mobile terminal before the message interaction, thereby preventing the HTTP multicast message from being directly transmitted on different network planes.
  • the network problem caused by simplifying the interaction process between the mobile terminal and the set-top box, and avoiding the extra interaction of the message interaction on the network.
  • the IPTV set-top box of the embodiment is logged in to the IPTV system.
  • the method for implementing the interaction between the mobile terminal and the network television IPTV in this embodiment includes: Step S60: Logging in at the mobile terminal To the login server, so that the login server allocates the proxy server to the mobile terminal, the IPTV set top box logs in to the login server; step S70: establish a link channel with the mobile terminal and the proxy server respectively; step S80: perform the link channel with the mobile terminal through the link channel Message interaction.
  • Step S60 Logging in to the login server, the manner of logging in to the login server with the mobile terminal may be the same, including: sending a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box; and the identity of the IPTV set top box If the validity check is successful, log in to the login server; keep the login status of the login server.
  • step S70: establishing a link channel with the proxy server may include: receiving a link establishment notification sent by the login server, sending a link establishment request to the proxy server, and establishing a link channel with the proxy server.
  • the proxy server notifies the login server that the IPTV set-top box needs to be notified to establish a link channel, and after the login server sends a link notification to the IPTV set-top box, the IPTV set-top box sends a link-up request to A proxy server to enable the proxy server to establish a link channel with the IPTV set-top box.
  • the process executed on the login server side includes: Step S90: Logging in to the login server at the mobile terminal Under the condition, the mobile terminal is assigned a proxy server, and the IPTV set top box corresponding to the mobile terminal is allowed to log in to the login server. Thereby, the mobile terminal and the IPTV set top box respectively log in to the login server.
  • the mobile terminal and the IPTV set top box perform message interaction through the link channel.
  • Allowing the IPTV set-top box to log in to the login server may include: performing identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; if the identity legality verification of the IPTV set-top box is successful, allowing the IPTV to log in to the login server.
  • the identity legality verification of the IPTV set-top box can be verified according to the identity legality of the mobile terminal by the login server.
  • the flow executed on the proxy server side includes: Step S110: receiving the link creation request sent by the mobile terminal, respectively, and the mobile terminal and The IPTV set top box corresponding to the mobile terminal creates a link channel, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal and the IPTV set top box perform message interaction through the link channel.
  • the link channel in this embodiment includes a first link channel and a second link channel
  • step S110: receiving a link creation request sent by the mobile terminal, respectively Creating a link channel with the mobile terminal and the IPTV set top box of the corresponding mobile terminal may include: Step S111: Establish a first link channel with the mobile terminal based on the link creation request.
  • Step S113 Establish a second link channel with the IPTV set top box.
  • the SOCKS5 proxy server After receiving the link creation request, the SOCKS5 proxy server initiates a connection request with the set top box to the login server. After receiving the connection request from the SOCKS5 proxy server and the set top box connection request, the login server sends a UDP message to the set top box to notify the The set-top box actively sends a TCP link request to the SOCKS5 proxy server that has successfully established a chain with the mobile terminal.
  • the device for implementing interaction between the mobile terminal and the network television IPTV in the embodiment is disposed on the mobile terminal, and the device includes: a first login module 10 configured to log in to the login server to enable the login server Assigning a proxy server to the mobile terminal, and the IPTV set-top box corresponding to the mobile terminal is logged in to the login server; the obtaining module 20 is configured to acquire information of the IPTV set-top box from the login server; and the sending module 30 is configured to send the information based on the IPTV set-top box
  • the link creation request is sent to the proxy server to enable the proxy server to create a link channel with the mobile terminal and the IPTV set top box respectively;
  • the first message interaction module 40 is configured to perform message interaction with the IPTV set top box through the link channel.
  • the first login module 10 may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and if the identity verification of the mobile terminal is successful, log in to the location Log in to the server.
  • the obtaining module 20 may be configured to: send the set top box request information to the login server, so that the login server acquires the information of the IPTV set top box from the IPTV system; and receives the information of the IPTV set top box sent by the login server.
  • the implementation apparatus of this embodiment further includes a discovery apparatus 50 configured to: simulate an IPTV set-top box to send a response message to the mobile terminal; correspondingly, the first message interaction module 10 may be configured to: adopt The UPnP protocol performs message interaction.
  • the IPTV set-top box is simulated in the mobile terminal by modifying the UPnP protocol stack of the mobile terminal.
  • the response message of the discovery message is sent by itself, thereby continuing the subsequent UPnP protocol flow, thereby simplifying the protocol flow and avoiding the extra load generated by the HTTP multicast message on the network.
  • the device for implementing the interaction between the mobile terminal and the network television IPTV in the embodiment is disposed in the IPTV set-top box, and the implementation device includes: a second login module 60 configured to log in to the login server at the mobile terminal, To enable the login server to allocate a proxy server to the mobile terminal, log in to the login server; the link channel establishing module 70 is configured to establish a link channel with the mobile terminal and the proxy server respectively; the second message interaction module 80 is configured to pass Link channel and mobile terminal Perform message interaction.
  • the second login module 60 may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the IPTV set-top box; and if the identity legality verification of the IPTV set-top box is successful, log in to the Log in to the server; keep logging in to the login state of the login server.
  • the link channel establishing module 70 may be configured to: after receiving the link establishment notification sent by the login server, send a link establishment request to the proxy server; establish a link channel with the proxy server.
  • the device for implementing the interaction between the mobile terminal and the network television IPTV in the embodiment is set in the login server, and the implementation device includes: a management module 90 configured to log in to the login server by the mobile terminal.
  • the mobile terminal is assigned a proxy server, and the IPTV set-top box corresponding to the mobile terminal is allowed to log in to the local login server.
  • the transceiver module 100 is configured to receive the information of the IPTV set-top box and return the information to the mobile terminal after receiving the set-top box query request sent by the mobile terminal.
  • the mobile terminal sends a link creation request to the proxy server, so that the proxy server creates a link channel with the mobile terminal and the IPTV set-top box respectively, so that the mobile terminal and the IPTV set-top box perform message interaction through the link channel.
  • the management module 90 can be configured to: perform identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; if the identity legality verification of the IPTV set-top box is successful, the IPTV is allowed to log in to the login server.
  • the device for implementing the interaction between the mobile terminal and the network television IPTV in the embodiment is disposed in the proxy server.
  • the implementation device of the embodiment includes: a creating module 110 configured to receive the link sent by the mobile terminal. After the request is created, a link channel is created respectively with the IPTV set top box of the mobile terminal and the corresponding mobile terminal, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal interacts with the IPTV set top box through the link channel.
  • the link channel may include a first link channel and a second link channel
  • the creating module 110 is configured to: establish a first link channel with the mobile terminal based on the link creation request; send the set top box connection request to the login server, to The login server is notified to the IPTV set-top box to send a link request to the proxy server; a second link channel is established with the IPTV set-top box; and the mapping relationship between the first link channel and the second link channel is maintained.
  • the present disclosure also provides a platform comprising an implementation device according to the above.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
  • the embodiment of the present disclosure further provides a schematic structural diagram of an electronic device.
  • the electronic device includes:
  • At least one processor 140 which is exemplified by a processor 140 in FIG. 14; and a memory 141, may further include a communication interface 142 and a bus 143.
  • the processor 140, the communication interface 142, and the memory 141 can complete communication with each other through the bus 143.
  • Communication interface 142 can be used for information transfer.
  • Processor 140 may invoke logic instructions in memory 141 to perform the methods of the above-described embodiments.
  • logic instructions in the memory 141 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 141 is a computer readable storage medium, and can be used to store a software program, a computer executable program, a program instruction/module corresponding to the method in the embodiment of the present disclosure.
  • the processor 140 executes the function application and the data processing by executing the software program, the instruction and the module stored in the memory 141, that is, the implementation method of the mobile terminal interacting with the IPTV in the foregoing method embodiment.
  • the memory 141 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 141 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like.
  • the method, device and platform for implementing interaction between the mobile terminal and the IPTV proposed by the present application realize the sharing of multimedia content between the mobile terminal and the IPTV, and the application scenarios are diversified.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present application provides a method, apparatus, and platform for accomplishing interaction between a mobile terminal and an IPTV. In the method for accomplishing interaction between a mobile terminal and an IPTV, the mobile terminal logs in to an IPTV system, and the process executed on the mobile-terminal side comprises: logging in to a login server so that the login server assigns a proxy server to the mobile terminal, and an IPTV set-top box corresponding to the present mobile terminal logs in to the login server; information of the IPTV set-top box is obtained from the login server; on the basis of the information of the IPTV set-top box, a link creation request is sent to the proxy server, so that the proxy server creates link channels with both the present mobile terminal and the IPTV set-top box; by means of the link channels, performing message interaction with the IPTV set-top box. The invention achieves sharing of multimedia content between a mobile terminal and an IPTV and has diverse scenarios for application.

Description

移动终端与IPTV进行交互的实现方法、装置及平台Method, device and platform for implementing interaction between mobile terminal and IPTV 技术领域Technical field
本申请涉及网络电视IPTV技术领域,例如涉及一种移动终端与IPTV进行交互的实现方法、装置及平台。The present application relates to the field of network television IPTV technology, for example, to a method, an apparatus, and a platform for implementing interaction between a mobile terminal and an IPTV.
背景技术Background technique
网络电视IPTV(Internet Protocol TV or Interactive Personal TV)***,是以电视机TV、电脑PC及手机终端为显示终端,将网络机顶盒、计算机或者手机设备接入到互联网络,通过互联网络,特别是宽带网络,向TV、PC、移动终端等多种用户提供各种实时或者非实时的多媒体业务。Internet Protocol TV or Interactive Personal TV (IPTV) system uses TV TV, computer PC and mobile terminal as display terminals to connect network set-top boxes, computers or mobile devices to the Internet through the Internet, especially broadband. The network provides various real-time or non-real-time multimedia services to various users such as TV, PC, and mobile terminals.
在三网融合、万物互联的大背景下,涌现出许多通过手机、PAD等移动终端与IPTV电视交互的应用场景和技术。目前的交互技术,多侧重通过移动终端对电视进行遥控控制,这种遥控控制只是控制交互,却没有内容分享功能,同时应用场景单一,只能局限于同一个局域网环境下。因此,需要一种移动终端与IPTV进行交互的实现方法、装置及平台,以解决上述技术问题。Under the background of triple play and Internet of Everything, many application scenarios and technologies for interacting with IPTV TVs such as mobile phones and PADs have emerged. The current interactive technology focuses on remote control of the TV through the mobile terminal. This remote control only controls the interaction, but has no content sharing function. At the same time, the application scenario is single and can only be limited to the same LAN environment. Therefore, a method, a device and a platform for implementing interaction between a mobile terminal and an IPTV are needed to solve the above technical problem.
发明内容Summary of the invention
本公开提供一种移动终端与IPTV进行交互的实现方法、装置及平台,实现了移动终端与IPTV之间多媒体内容的分享,并且应用场景多元化。The present disclosure provides a method, device, and platform for implementing interaction between a mobile terminal and an IPTV, and implements sharing of multimedia content between the mobile terminal and the IPTV, and the application scenario is diversified.
本公开采用的技术方案是:The technical solution adopted by the present disclosure is:
一种移动终端与网络电视IPTV进行交互的实现方法,其中,移动终端登录至IPTV***,在所述移动终端侧执行的流程,包括:登录至登录服务器,以使所述登录服务器为本移动终端分配代理服务器,并且对应所述本移动终端的IPTV机顶盒登陆至所述登陆服务器;从所述登录服务器获取所述IPTV机顶盒的信息;基于所述IPTV机顶盒的信息发送链接创建请求至所述代理服务器,以使所述代理服务器分别与所述本移动终端和所述IPTV机顶盒创建链接通道;通过所述链接通道与所述IPTV机顶盒进行消息交互。 A method for implementing interaction between a mobile terminal and a network television IPTV, wherein the mobile terminal logs in to the IPTV system, and the process performed on the mobile terminal side includes: logging in to the login server, so that the login server is the mobile terminal Allocating a proxy server, and IPTV set top box corresponding to the mobile terminal is logged in to the login server; acquiring information of the IPTV set top box from the login server; and sending a link creation request to the proxy server based on information of the IPTV set top box So that the proxy server creates a link channel with the local mobile terminal and the IPTV set top box respectively; and performs message interaction with the IPTV set top box through the link channel.
所述登录至登录服务器,可以包括:发送登录请求至登录服务器,以使所述登录服务器对所述本移动终端进行身份合法性校验;在所述本移动终端的身份合法性校验成功的条件下,登录所述登录服务器。The login to the login server may include: sending a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and the identity legality verification of the mobile terminal is successful. Log in to the login server under the conditions.
所述从所述登录服务器获取IPTV机顶盒的信息,可以包括:发送机顶盒请求信息至所述登录服务器,以使所述登录服务器从所述IPTV***获取所述IPTV机顶盒的信息;接收所述登录服务器发来的所述IPTV机顶盒的信息。The obtaining the information of the IPTV set top box from the login server may include: sending the set top box request information to the login server, so that the login server acquires the information of the IPTV set top box from the IPTV system; and receiving the login server The information of the IPTV set top box sent.
所述通过所述链接通道与所述IPTV机顶盒进行消息交互之前,所述方法,可以包括:模拟所述IPTV机顶盒向所述本移动终端发送响应消息;相应地,所述通过所述链接通道与所述IPTV机顶盒进行消息交互,可以包括:采用UPnP协议进行消息交互。Before the message is exchanged with the IPTV set-top box, the method may include: simulating the IPTV set-top box to send a response message to the mobile terminal; correspondingly, the The message interaction of the IPTV set-top box may include: performing message interaction by using the UPnP protocol.
本公开还提供了一种移动终端与网络电视IPTV进行交互的实现方法,其中,IPTV机顶盒登陆至IPTV***,在所述IPTV机顶盒侧执行的流程,包括:在移动终端登陆至登陆服务器,以使所述登陆服务器为移动终端分配代理服务器的条件下,登陆至所述登陆服务器;与所述移动终端分别和所述代理服务器建立链接通道;通过所述链接通道与所述移动终端进行消息交互。The present disclosure also provides a method for implementing interaction between a mobile terminal and a network television IPTV, wherein the IPTV set-top box is logged into the IPTV system, and the process performed on the IPTV set-top box side includes: logging in to the login server at the mobile terminal, so that And the login server establishes a link channel with the proxy server; and performs message interaction with the mobile terminal by using the link channel.
所述登陆至所述登陆服务器,可以包括:发送登录请求至登录服务器,以使所述登录服务器对所述IPTV机顶盒进行身份合法性校验;在所述IPTV机顶盒的身份合法性校验成功的条件下,登录所述登录服务器;保持登陆所述登陆服务器的登陆状态。The logging in to the login server may include: sending a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box; and verifying the identity legality of the IPTV set top box is successful. Under the condition, log in to the login server; keep the login status of the login server.
所述与所述代理服务器建立链接通道,可以包括:接收所述登陆服务器发来的建立链接通知后发送建立链接请求至所述代理服务器;与所述代理服务器建立链接通道。The establishing a link channel with the proxy server may include: receiving a link establishment notification sent by the login server, and sending a link establishment request to the proxy server; establishing a link channel with the proxy server.
本公开还提供了一种移动终端与网络电视IPTV进行交互的实现方法,其中,在登录服务器侧执行的流程,包括:在移动终端登陆至本登陆服务器的条件下,为所述移动终端分配代理服务器,并且允许对应所述移动终端的IPTV机顶盒登陆至所述本登陆服务器;接收所述移动终端发来的机顶盒查询请求后返回所述IPTV机顶盒的信息至所述移动终端,供所述移动终端向所述代理服务器发送链接创建请求,以使所述代理服务器分别与所述移动终端和所述IPTV机顶盒创建链接通道,实现所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交 互。The present disclosure also provides a method for implementing interaction between a mobile terminal and a network television IPTV, wherein the process performed on the login server side includes: assigning a proxy to the mobile terminal under the condition that the mobile terminal logs in to the login server. a server, and allowing the IPTV set top box corresponding to the mobile terminal to log in to the local login server; receiving the set top box query request sent by the mobile terminal, and returning information of the IPTV set top box to the mobile terminal, for the mobile terminal Sending a link creation request to the proxy server, so that the proxy server creates a link channel with the mobile terminal and the IPTV set-top box, respectively, so that the mobile terminal and the IPTV set-top box perform message delivery through the link channel. mutual.
所述允许IPTV机顶盒登陆至所述本登陆服务器,可以包括:接收所述IPTV机顶盒发来的登陆请求后对所述IPTV机顶盒进行身份合法性校验;若所述IPTV机顶盒的身份合法性校验成功,则允许所述IPTV登陆所述本登陆服务器。The allowing the IPTV set-top box to log in to the local login server may include: performing identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; and verifying the identity legality of the IPTV set-top box If successful, the IPTV is allowed to log in to the login server.
本公开还提供了一种移动终端与网络电视IPTV进行交互的实现方法,其中,在代理服务器侧执行的流程,包括:接收移动终端发来的链接创建请求后分别与所述移动终端和对应所述移动终端的IPTV机顶盒创建链接通道,其中所述链接创建请求包括所述IPTV机顶盒的信息,以使所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交互。The present disclosure also provides a method for implementing interaction between a mobile terminal and a network television IPTV, wherein the process performed on the proxy server side includes: receiving a link creation request sent by the mobile terminal, respectively, and the mobile terminal and the corresponding office The IPTV set top box of the mobile terminal creates a link channel, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal and the IPTV set top box perform message interaction through the link channel.
所述链路通道包括第一链路通道和第二链路通道,所述接收移动终端发来的链接创建请求后分别与所述移动终端和对应所述移动终端的IPTV机顶盒创建链接通道,可以包括:基于所述链接创建请求,与所述移动终端建立第一链路通道;发送机顶盒建链请求至登陆服务器,以使所述登陆服务器通知所述IPTV机顶盒向本代理服务器发来建立链接请求;与所述IPTV机顶盒建立第二链接通道;维护所述第一链路通道和所述第二链路通道的映射关系。The link channel includes a first link channel and a second link channel, and after receiving the link creation request sent by the mobile terminal, respectively creating a link channel with the mobile terminal and an IPTV set top box corresponding to the mobile terminal, The method includes: establishing, according to the link creation request, a first link channel with the mobile terminal; sending a set top box connection request to the login server, so that the login server notifies the IPTV set top box to send a link request to the proxy server Establishing a second link channel with the IPTV set top box; maintaining a mapping relationship between the first link channel and the second link channel.
本公开还提供了一种移动终端与网络电视IPTV进行交互的实现装置,其中,设置于移动终端,所述装置,包括:第一登陆模块,被配置为登录至登录服务器,以使所述登录服务器为本移动终端分配代理服务器,并且对应所述本移动终端的IPTV机顶盒登陆至所述登陆服务器;获取模块,被配置为从所述登录服务器获取所述IPTV机顶盒的信息;发送模块,被配置为基于所述IPTV机顶盒的信息发送链接创建请求至所述代理服务器,以使所述代理服务器分别与所述本移动终端和所述IPTV机顶盒创建链接通道;第一消息交互模块,被配置为通过所述链接通道与所述IPTV机顶盒进行消息交互。The present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the apparatus is disposed on the mobile terminal, and the apparatus includes: a first login module configured to log in to the login server to enable the login The server allocates a proxy server to the mobile terminal, and the IPTV set top box corresponding to the mobile terminal is logged in to the login server; the obtaining module is configured to acquire information of the IPTV set top box from the login server; the sending module is configured Sending a link creation request to the proxy server based on the information of the IPTV set top box, so that the proxy server creates a link channel with the local mobile terminal and the IPTV set top box respectively; the first message interaction module is configured to pass The link channel performs message interaction with the IPTV set top box.
所述第一登录模块,可以被配置为:发送登录请求至登录服务器,以使所述登录服务器对所述本移动终端进行身份合法性校验;在所述本移动终端的身份合法性校验成功的条件下,登录所述登录服务器。The first login module may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and verify identity legality of the mobile terminal. Log in to the login server under successful conditions.
所述获取模块,可以被配置为:发送机顶盒请求信息至所述登录服务器,以使所述登录服务器从所述IPTV***获取所述IPTV机顶盒的信息;接收所述登录服务器发来的所述IPTV机顶盒的信息。 The acquiring module may be configured to: send the set top box request information to the login server, so that the login server acquires information of the IPTV set top box from the IPTV system; and receive the IPTV sent by the login server Set-top box information.
所述装置,还可以包括发现装置,被配置为:模拟所述IPTV机顶盒向所述本移动终端发送响应消息;相应地,所述第一消息交互模块,可以被配置为:采用UPnP协议进行消息交互。The device may further include: a discovery device configured to: simulate the IPTV set-top box to send a response message to the mobile terminal; correspondingly, the first message interaction module may be configured to: use a UPnP protocol to perform a message. Interaction.
本公开还提供了一种移动终端与网络电视IPTV进行交互的实现装置,其中,设置于IPTV机顶盒,所述装置,包括:第二登陆模块,被配置为在移动终端登陆至登陆服务器,以使所述登陆服务器为移动终端分配代理服务器的条件下,登陆至所述登陆服务器;链接通道建立模块,被配置为与所述移动终端分别和所述代理服务器建立链接通道;第二消息交互模块,被配置为通过所述链接通道与所述移动终端进行消息交互。The present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the apparatus is disposed in an IPTV set top box, and the apparatus includes: a second login module configured to log in to the login server at the mobile terminal, so that The login server is configured to log in to the login server for the mobile terminal; the link channel establishing module is configured to establish a link channel with the mobile server and the proxy server respectively; the second message interaction module, It is configured to perform message interaction with the mobile terminal through the link channel.
所述第二登陆模块,可以被配置为:发送登录请求至登录服务器,以使所述登录服务器对所述IPTV机顶盒进行身份合法性校验;在所述IPTV机顶盒的身份合法性校验成功的条件下,登录所述登录服务器;保持登陆所述登陆服务器的登陆状态。The second login module may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box; and the identity legality verification of the IPTV set top box is successful. Under the condition, log in to the login server; keep the login status of the login server.
所述链接通道建立模块,可以被配置为:接收所述登陆服务器发来的建立链接通知后发送建立链接请求至所述代理服务器;与所述代理服务器建立链接通道。The link channel establishing module may be configured to: after receiving the link establishment notification sent by the login server, send a link establishment request to the proxy server; establish a link channel with the proxy server.
本公开还提供了一种移动终端与网络电视IPTV进行交互的实现装置,其中,设置于登录服务器,所述装置,包括:管理模块,被配置为在移动终端登陆至本登陆服务器的条件下,为所述移动终端分配代理服务器,并且允许对应所述移动终端的IPTV机顶盒登陆至所述本登陆服务器;收发模块,被配置为接收所述移动终端发来的机顶盒查询请求后返回所述IPTV机顶盒的信息至所述移动终端,供所述移动终端向所述代理服务器发送链接创建请求,以使所述代理服务器分别与所述移动终端和所述IPTV机顶盒创建链接通道,实现所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交互。The present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the device is configured to be located in a login server, and the device includes: a management module configured to be in a condition that the mobile terminal logs in to the login server, Allocating a proxy server to the mobile terminal, and allowing an IPTV set top box corresponding to the mobile terminal to log in to the local login server; the transceiver module configured to receive the set top box query request sent by the mobile terminal and return to the IPTV set top box And the information is sent to the mobile terminal, where the mobile terminal sends a link creation request to the proxy server, so that the proxy server creates a link channel with the mobile terminal and the IPTV set-top box, respectively, to implement the mobile terminal and The IPTV set top box performs message interaction through the link channel.
所述管理模块,可以于:接收所述IPTV机顶盒发来的登陆请求后对所述IPTV机顶盒进行身份合法性校验;若所述IPTV机顶盒的身份合法性校验成功,则允许所述IPTV登陆所述本登陆服务器。The management module may: perform identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; if the identity legality verification of the IPTV set-top box is successful, permit the IPTV login The login server.
本公开还提供了一种移动终端与网络电视IPTV进行交互的实现装置,其中,设置于代理服务器,所述装置,包括:创建模块,被配置为接收移动终端发来 的链接创建请求后分别与所述移动终端和对应所述移动终端的IPTV机顶盒创建链接通道,其中所述链接创建请求包括所述IPTV机顶盒的信息,以使所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交互。The present disclosure also provides an apparatus for implementing interaction between a mobile terminal and a network television IPTV, wherein the device is disposed in a proxy server, and the device includes: a creating module configured to receive the mobile terminal Creating a link channel with the mobile terminal and the IPTV set top box corresponding to the mobile terminal respectively after the link creation request, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal and the IPTV set top box pass The link channel performs message interaction.
所述链路通道可以包括第一链路通道和第二链路通道,所述创建模块,被配置为:基于所述链接创建请求,与所述移动终端建立第一链路通道;发送机顶盒建链请求至登陆服务器,以使所述登陆服务器通知所述IPTV机顶盒向本代理服务器发来建立链接请求;与所述IPTV机顶盒建立第二链接通道;维护所述第一链路通道和所述第二链路通道的映射关系。The link channel may include a first link channel and a second link channel, and the creating module is configured to: establish a first link channel with the mobile terminal based on the link creation request; and send a set top box The chain requests to the login server to cause the login server to notify the IPTV set top box to send a link request to the proxy server; establish a second link channel with the IPTV set top box; maintain the first link channel and the first The mapping relationship of the two link channels.
本公开还提供了一种平台,其包括根据上文所述的实现装置。The present disclosure also provides a platform comprising an implementation device according to the above.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions arranged to perform the above method.
本公开实施例还提供了一种电子设备,包括:An embodiment of the present disclosure further provides an electronic device, including:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
通过本申请,用户可以将手机终端上播放的多媒体内容例如视频、音乐、图片等推送到不在同一个局域网中的IPTV电视上继续进行播放或者展示。相应地,用户还可以通过IPTV遥控器,将IPTV播放的视频、音乐、图片等推送到对应的手机终端进行播放或展示,实现了手机终端与IPTV机顶盒的资源共享,增强用户的使用体验。Through the application, the user can push the multimedia content played on the mobile terminal, such as video, music, pictures, etc., to the IPTV TV not in the same local area network to continue playing or displaying. Correspondingly, the user can also push the video, music, picture and the like of the IPTV broadcast to the corresponding mobile terminal for playing or displaying through the IPTV remote controller, thereby realizing the resource sharing between the mobile terminal and the IPTV set-top box, and enhancing the user experience.
附图概述BRIEF abstract
图示仅是提供参考与说明之用,并非用来对本公开加以限制。The illustrations are for illustrative purposes only and are not intended to limit the disclosure.
图1为本公开第一实施例的移动终端与网络电视IPTV进行交互的实现方法的流程图; 1 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to the first embodiment of the present disclosure;
图2为本公开第二实施例的移动终端与网络电视IPTV进行交互的实现方法的流程图;2 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a second embodiment of the present disclosure;
图3为本公开第三实施例的移动终端与网络电视IPTV进行交互的实现方法的流程图;3 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a third embodiment of the present disclosure;
图4为本公开第四实施例的移动终端与网络电视IPTV进行交互的实现方法的流程图;4 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a fourth embodiment of the present disclosure;
图5为本公开第五实施例的移动终端与网络电视IPTV进行交互的实现方法的流程图;FIG. 5 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a fifth embodiment of the present disclosure;
图6为本公开第六实施例的移动终端与网络电视IPTV进行交互的实现方法的流程图;6 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a sixth embodiment of the present disclosure;
图7为本公开第七实施例的移动终端与网络电视IPTV进行交互的实现方法的流程图;FIG. 7 is a flowchart of a method for implementing interaction between a mobile terminal and a network television IPTV according to a seventh embodiment of the present disclosure;
图8为本公开第八实施例的移动终端与网络电视IPTV进行交互的实现装置的方框图;8 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to an eighth embodiment of the present disclosure;
图9为本公开第九实施例的移动终端与网络电视IPTV进行交互的实现装置的方框图;9 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to a ninth embodiment of the present disclosure;
图10为本公开第十实施例的移动终端与网络电视IPTV进行交互的实现装置的方框图;10 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to a tenth embodiment of the present disclosure;
图11为本公开第十一实施例的移动终端与网络电视IPTV进行交互的实现装置的方框图;11 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to an eleventh embodiment of the present disclosure;
图12为本公开第十二实施例的移动终端与网络电视IPTV进行交互的实现装置的方框图; 12 is a block diagram of an apparatus for implementing interaction between a mobile terminal and a network television IPTV according to a twelfth embodiment of the present disclosure;
图13为本公开第一实施例的实现方法的一个实施例的示意图;以及FIG. 13 is a schematic diagram of an embodiment of an implementation method of a first embodiment of the present disclosure;
图14为本公开实施例的电子设备的结构示意图。FIG. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
以下结合附图及实施例,对本公开进行详细说明如后。The disclosure will be described in detail below with reference to the accompanying drawings and embodiments.
本公开提出的移动终端与网络电视IPTV进行交互的实现方法,在IPTV***的基础上,实现了不在同一网络中的手机终端与IPTV机顶盒进行交互,实现多媒体内容的共享,例如如果家中居住有老人,外出的用户可以通过手机终端控制位于家里面的IPTV,还可以将手机终端正在播放的视频,推送到相应的IPTV上进行播放,与家人进行分享。下面将详细地描述本公开的移动终端与网络电视IPTV进行交互的实现方法及其各个步骤。The method for implementing interaction between the mobile terminal and the network television IPTV proposed by the present disclosure realizes that the mobile phone terminal not in the same network interacts with the IPTV set-top box to realize the sharing of multimedia content, for example, if there is an elderly living in the home, based on the IPTV system The outgoing user can control the IPTV located in the home through the mobile terminal, and can also push the video being played by the mobile terminal to the corresponding IPTV for playing and sharing with the family. The implementation method of the mobile terminal of the present disclosure interacting with the network television IPTV and its various steps will be described in detail below.
第一实施例First embodiment
本实施例的移动终端与网络电视IPTV进行交互的实现方法执行的前提是移动终端和IPTV机顶盒分别登录至IPTV***,IPTV***存储移动终端的账号与IPTV机顶盒的账号之间的对应关系列表,并且IPTV***提供视频、音频等播放以及图片等的展示。The implementation method of the mobile terminal interacting with the network television IPTV in this embodiment is performed on the premise that the mobile terminal and the IPTV set top box respectively log in to the IPTV system, and the IPTV system stores a correspondence list between the account of the mobile terminal and the account of the IPTV set top box, and The IPTV system provides playback of video, audio, and the like.
如图1所示,本实施例的移动终端与IPTV进行交互的试试先方法,在移动终端侧执行的流程,包括:步骤S10:登录至登录服务器,以使登录服务器为本移动终端分配代理服务器,并且对应本移动终端的IPTV机顶盒登陆至登陆服务器。由此移动终端和IPTV机顶盒分别登陆至代理服务器。步骤S20:从登录服务器获取IPTV机顶盒的信息,该步骤实现移动终端获取到IPTV机顶盒的信息。步骤S30:基于IPTV机顶盒的信息发送链接创建请求至代理服务器,以使代理服务器分别与本移动终端和上述IPTV机顶盒创建链接通道,由此移动终端与IPTV机顶盒之间完成链接通道的建立。步骤S40:通过上述链接通道,本移动终端与IPTV机顶盒进行消息交互。As shown in FIG. 1 , the method for performing the interaction between the mobile terminal and the IPTV in this embodiment, the process performed on the mobile terminal side includes: Step S10: Log in to the login server, so that the login server allocates a proxy to the mobile terminal. The server and the IPTV set top box corresponding to the mobile terminal log in to the login server. Thereby, the mobile terminal and the IPTV set top box respectively log in to the proxy server. Step S20: Acquire information of the IPTV set top box from the login server. This step implements the information that the mobile terminal acquires the IPTV set top box. Step S30: Send a link creation request to the proxy server based on the information of the IPTV set top box, so that the proxy server creates a link channel with the mobile terminal and the IPTV set top box respectively, thereby completing the establishment of the link channel between the mobile terminal and the IPTV set top box. Step S40: The mobile terminal performs message interaction with the IPTV set top box through the above link channel.
进行消息交互的交互消息可以携带视频、音频、图片等多媒体内容信息,依托于IPTV***提供的多媒体服务,实现视频、音频和图片等多媒体内容在手机终端与IPTV机顶盒之间的分享。此外,交互消息也可以携带控制信息,实现 手机终端与IPTV机顶盒之间的交互控制。The interactive message for message interaction can carry multimedia content information such as video, audio, picture, etc., and rely on the multimedia service provided by the IPTV system to realize sharing of multimedia content such as video, audio and pictures between the mobile terminal and the IPTV set top box. In addition, the interactive message can also carry control information to achieve Interactive control between the mobile terminal and the IPTV set-top box.
此外,本实施例中的代理服务器可以是防火墙安全会话转换(sessions traversal across firewall securely,SOCKS)5代理服务器,并且登录服务器和SOCKS5代理服务器均支持多个网络平面,即登陆服务器和SOCKS5代理服务器提供连接不同网络平面的接口,因此手机终端和IPTV机顶盒位于不同的网络平面,也能够进行通信交互。其中,登录服务器下属多个SOCKS5代理服务器,SOCKS5代理服务器通过心跳消息向所述登陆服务器上报自身的TCP链接数,并通过心跳消息与登录服务器保活,登陆服务器维护各个SOCKS5代理服务器的状态和TCP链接数信息。在网络实际部署时,由于各个SOCKS5代理服务器的硬件配置和消息处理能力近似,故采用最少连接数算法的负载均衡方式,将用户的交互消息均衡地分配到各个SOCKS5代理服务器上,实现在大并发量消息的场景下进行交互。In addition, the proxy server in this embodiment may be a sessions traversal across firewall securely (SOCKS) 5 proxy server, and the login server and the SOCKS5 proxy server support multiple network planes, that is, the login server and the SOCKS5 proxy server provide Interfaces connecting different network planes, so the mobile terminal and the IPTV set-top box are located on different network planes, and can also communicate and interact. The SOCKS5 proxy server reports the number of its own TCP links to the login server through the heartbeat message, and keeps alive with the login server through the heartbeat message, and the login server maintains the status and TCP of each SOCKS5 proxy server. Link number information. In the actual deployment of the network, the hardware configuration and message processing capability of each SOCKS5 proxy server are similar. Therefore, the load balancing mode of the least connection number algorithm is used to distribute the user's interactive messages to each SOCKS5 proxy server in a balanced manner. Interact with the scenario of the volume message.
如图13所示,步骤S10:登录至上述登录服务器,可以包括:发送登录请求至登录服务器,以使登录服务器对本移动终端进行身份合法性校验;在本移动终端的身份合法性校验成功的条件下,登录到上述登录服务器。As shown in FIG. 13, step S10: logging in to the login server may include: sending a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and the identity legality verification of the mobile terminal succeeds. Under the conditions, log in to the above login server.
手机终端向登录服务器请求登录时,登录服务器向IPTV***发送用户身份合法性校验请求,该用户身份合法性校验请求携带移动终端的账户、密码等信息。若校验通过后,登录服务器会向手机终端返回登录成功消息,消息中携带为移动终端分配的SOCKS5代理服务器的IP地址、端口等信息,SOCKS5代理服务器是登陆服务器基于最小连接数算法进行选取的,随后手机终端与登录服务器之间通过心跳消息保持着在线状态。When the mobile terminal requests the login from the login server, the login server sends a user identity validity check request to the IPTV system, and the user identity validity check request carries the account, password, and the like of the mobile terminal. After the verification is passed, the login server returns a login success message to the mobile terminal, and the message carries the IP address, port and other information of the SOCKS5 proxy server allocated to the mobile terminal, and the SOCKS5 proxy server is selected by the login server based on the minimum connection number algorithm. Then, the mobile terminal and the login server maintain the online state through the heartbeat message.
第二实施例Second embodiment
如图2所示,在第一实施例的基础上,本实施例在步骤S20:从登录服务器获取IPTV机顶盒的信息,可以包括:步骤S200:发送机顶盒请求信息至登录服务器,以使登录服务器从IPTV***获取IPTV机顶盒的信息。步骤S201:接收登录服务器发来的IPTV机顶盒的信息。由此移动终端获得与其对应的IPTV机顶盒的信息,以在步骤S30中将与本移动终端对应的IPTV机顶盒的信息写在携带于链接创建请求中并且发送至代理服务器,由代理服务器查找到该对应的IPTV机顶盒。 As shown in FIG. 2, on the basis of the first embodiment, the present embodiment obtains the information of the IPTV set-top box from the login server in step S20, which may include: step S200: sending the set-top box request information to the login server, so that the login server is The IPTV system acquires information of the IPTV set top box. Step S201: Receive information of the IPTV set top box sent by the login server. Thereby, the mobile terminal obtains the information of the IPTV set top box corresponding thereto, in step S30, the information of the IPTV set top box corresponding to the mobile terminal is written in the link creation request and sent to the proxy server, and the corresponding information is found by the proxy server. IPTV set-top box.
手机终端发送HTTP消息请求到登录服务器,查询与手机终端的账号有绑定关系并处于在线状态的机顶盒信息。登录服务器收到请求后,通过IPTV***接口到IPTV***查询与手机终端有绑定关系的IPTV机顶盒的信息,包括机顶盒名称、机顶盒的账号、机顶盒的ID、机顶盒的在线状态、机顶盒IP等信息。登录服务器将得到的IPTV机顶盒的信息反馈至手机终端,用户在手机终端上选择目标IPTV机顶盒进行连接,此时手机终端会向SOCKS5代理服务器发起TCP链路创建请求,该TCP链路创建请求的消息体中携带目标IPTV机顶盒的IP、目标IPTV机顶盒的ID、手机终端ID等信息。SOCKS5代理服务器收到手机终端的TCP链路创建请求后,会随机生成一对32位的字符串作为手机终端与IPTV机顶盒交互的用户令牌,记作(UserToken1,UserToken2),通过TCP响应消息返回给手机终端,并且发送至IPTV机顶盒,手机终端和IPTV机顶盒分别存储该用户令牌。手机终端与SOCKS5代理服务器建立TCP链接成功后,进行链路保持,此时的建链是基于SOCKS Protocol Version 5协议的。上述用户令牌是在进行消息交互之前进行安全性校验,增强消息交互的安全性,在后面的实施例中将要详细阐述。The mobile terminal sends an HTTP message request to the login server, and queries the set top box information that is bound to the account of the mobile terminal and is in an online state. After receiving the request, the login server queries the IPTV system through the IPTV system interface to query the information of the IPTV set-top box that has a binding relationship with the mobile terminal, including the name of the set-top box, the account of the set-top box, the ID of the set-top box, the online status of the set-top box, and the IP of the set-top box. The login server feeds back the information of the obtained IPTV set-top box to the mobile terminal, and the user selects the target IPTV set-top box to connect on the mobile terminal, and the mobile terminal initiates a TCP link creation request to the SOCKS5 proxy server, and the TCP link creates the request message. The IP of the target IPTV set-top box, the ID of the target IPTV set-top box, and the mobile terminal ID are carried in the body. After receiving the TCP link creation request of the mobile terminal, the SOCKS5 proxy server randomly generates a pair of 32-bit strings as the user token for the mobile terminal to interact with the IPTV set-top box, which is recorded as (UserToken1, UserToken2) and returned by the TCP response message. The mobile terminal is sent to the IPTV set top box, and the mobile terminal and the IPTV set top box respectively store the user token. After the mobile terminal establishes a TCP link with the SOCKS5 proxy server, the link is maintained. The link establishment at this time is based on the SOCKS Protocol Version 5 protocol. The above user token is used for security verification before the message interaction, and the security of the message interaction is enhanced, which will be elaborated in the following embodiments.
SOCKS5代理服务器收到手机终端的TCP链路创建请求后,会随机生成一对32位的字符串作为手机终端与IPTV机顶盒交互的用户令牌,记作(UserToken1,UserToken2),通过TCP响应消息返回给手机终端,并且发送至IPTV机顶盒,手机终端和IPTV机顶盒分别存储该用户令牌。手机终端与SOCKS5代理服务器建立TCP链接成功后,进行链路保持,此时的建链是基于SOCKS Protocol Version 5协议的。上述用户令牌是在进行消息交互之前进行安全性校验,增强消息交互的安全性,相应地,在移动终端和IPTV机顶盒进行消息交互之前,可以将交互消息的消息头扩展为发送方的用户令牌UserToken字段;接收方依据存有的用户令牌校验UserToken字段是否正确;若UserToken字段是正确的,则允许移动终端和IPTV机顶盒进行消息交互,从而实现手机终端与IPTV机顶盒之间交互消息的安全性。有效地避免了UPnP协议因端口公开带来的盗链,非法连接等安全性问题。After receiving the TCP link creation request of the mobile terminal, the SOCKS5 proxy server randomly generates a pair of 32-bit strings as the user token for the mobile terminal to interact with the IPTV set-top box, which is recorded as (UserToken1, UserToken2) and returned by the TCP response message. The mobile terminal is sent to the IPTV set top box, and the mobile terminal and the IPTV set top box respectively store the user token. After the mobile terminal establishes a TCP link with the SOCKS5 proxy server, the link is maintained. The link establishment at this time is based on the SOCKS Protocol Version 5 protocol. The foregoing user token performs security check before the message interaction, and enhances the security of the message interaction. Accordingly, before the mobile terminal and the IPTV set-top box perform message interaction, the message header of the interactive message may be extended to the sender's user. Token UserToken field; the receiver verifies that the UserToken field is correct according to the stored user token; if the UserToken field is correct, the mobile terminal and the IPTV set-top box are allowed to perform message interaction, thereby implementing an interaction message between the mobile terminal and the IPTV set-top box. Security. It effectively avoids the security problems such as theft and illegal connection caused by the port publicity of the UPnP protocol.
第三实施例Third embodiment
如图3所示,在步骤S40:通过链接通道与IPTV机顶盒进行消息交互之前,方法,包括:步骤S500:模拟IPTV机顶盒向本移动终端发送响应消息;相应 地,步骤S40:通过链接通道与IPTV机顶盒进行消息交互,可以包括:步骤S400:采用UPnP协议进行消息交互。As shown in FIG. 3, before the message interaction with the IPTV set-top box is performed through the link channel, the method includes: Step S500: Simulating the IPTV set-top box to send a response message to the mobile terminal; Step S40: Performing message interaction with the IPTV set top box through the link channel, the method may include: Step S400: Perform message interaction by using the UPnP protocol.
步骤S40采用UPnP协议进行消息交互,由于标准的UPnP协议应用于局域网场景下,而分别登陆至IPTV***的手机终端与IPTV机顶盒可能分处于不同的网络平面,为了实现跨网络平面的通信交互,交互消息通过SOCKS5代理服务器进行转发。本实施例对UPnP协议进行改进,在进行消息交互之前通过修改手机终端的UPnP协议栈在手机终端内部模拟IPTV机顶盒向本移动终端发送响应消息,从而避免了HTTP多播消息在不同网络平面直接传输引发的网络问题,简化手机终端与机顶盒的交互流程,避免消息交互对网络产生额外负载。Step S40 uses the UPnP protocol to perform message interaction. Since the standard UPnP protocol is applied to the LAN scenario, the mobile phone terminal and the IPTV set-top box respectively logged into the IPTV system may be in different network planes, in order to realize communication interaction across the network plane, and interaction. Messages are forwarded through the SOCKS5 proxy server. The present embodiment improves the UPnP protocol, and sends a response message to the mobile terminal by simulating the IPTV set-top box in the mobile terminal by modifying the UPnP protocol stack of the mobile terminal before the message interaction, thereby preventing the HTTP multicast message from being directly transmitted on different network planes. The network problem caused by simplifying the interaction process between the mobile terminal and the set-top box, and avoiding the extra interaction of the message interaction on the network.
第四实施例Fourth embodiment
本实施例的IPTV机顶盒登陆至IPTV***,如图4所示,本实施例的移动终端与网络电视IPTV进行交互的实现方法,在IPTV机顶盒侧执行的流程,包括:步骤S60:在移动终端登陆至登陆服务器,以使登陆服务器为移动终端分配代理服务器的条件下,本IPTV机顶盒登陆至登陆服务器;步骤S70:与移动终端分别和代理服务器建立链接通道;步骤S80:通过链接通道与移动终端进行消息交互。The IPTV set-top box of the embodiment is logged in to the IPTV system. As shown in FIG. 4, the method for implementing the interaction between the mobile terminal and the network television IPTV in this embodiment, the process performed on the IPTV set-top box side, includes: Step S60: Logging in at the mobile terminal To the login server, so that the login server allocates the proxy server to the mobile terminal, the IPTV set top box logs in to the login server; step S70: establish a link channel with the mobile terminal and the proxy server respectively; step S80: perform the link channel with the mobile terminal through the link channel Message interaction.
步骤S60:登陆至登陆服务器,与移动终端登陆至登陆服务器的方式可以是相同的,包括:发送登录请求至登录服务器,以使登录服务器对IPTV机顶盒进行身份合法性校验;在IPTV机顶盒的身份合法性校验成功的条件下,登录至所述登录服务器;保持登陆所述登陆服务器的登陆状态。Step S60: Logging in to the login server, the manner of logging in to the login server with the mobile terminal may be the same, including: sending a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box; and the identity of the IPTV set top box If the validity check is successful, log in to the login server; keep the login status of the login server.
如图13所示,步骤S70:与代理服务器建立链接通道,可以包括:接收登陆服务器发来的建立链接通知后发送建立链接请求至代理服务器;与代理服务器建立链接通道。如图所示,在移动终端与代理服务器建立链接通道后,由代理服务器告知登陆服务器需要通知IPTV机顶盒建立链接通道,由此登陆服务器发送建立链接通知至IPTV机顶盒后,IPTV机顶盒发送建立链接请求至代理服务器,以使代理服务器与IPTV机顶盒建立链接通道。As shown in FIG. 13, step S70: establishing a link channel with the proxy server may include: receiving a link establishment notification sent by the login server, sending a link establishment request to the proxy server, and establishing a link channel with the proxy server. As shown in the figure, after the mobile terminal establishes a link channel with the proxy server, the proxy server notifies the login server that the IPTV set-top box needs to be notified to establish a link channel, and after the login server sends a link notification to the IPTV set-top box, the IPTV set-top box sends a link-up request to A proxy server to enable the proxy server to establish a link channel with the IPTV set-top box.
第五实施例Fifth embodiment
如图5所示,本实施例的移动终端与网络电视IPTV进行交互的实现方法,在登录服务器侧执行的流程,包括:步骤S90:在移动终端登陆至本登陆服务器 的条件下,为移动终端分配代理服务器,并且允许对应移动终端的IPTV机顶盒登陆至本登陆服务器。由此,移动终端和IPTV机顶盒分别登陆至所述登陆服务器。步骤S100:接收移动终端发来的机顶盒查询请求后返回所述IPTV机顶盒的信息至移动终端,供移动终端向代理服务器发送链接创建请求,以使代理服务器分别与移动终端和IPTV机顶盒创建链接通道,实现移动终端与IPTV机顶盒通过链接通道进行消息交互。As shown in FIG. 5, the method for implementing the interaction between the mobile terminal and the network television IPTV in this embodiment, the process executed on the login server side includes: Step S90: Logging in to the login server at the mobile terminal Under the condition, the mobile terminal is assigned a proxy server, and the IPTV set top box corresponding to the mobile terminal is allowed to log in to the login server. Thereby, the mobile terminal and the IPTV set top box respectively log in to the login server. Step S100: After receiving the set-top box query request sent by the mobile terminal, returning the information of the IPTV set-top box to the mobile terminal, where the mobile terminal sends a link creation request to the proxy server, so that the proxy server creates a link channel with the mobile terminal and the IPTV set-top box respectively. The mobile terminal and the IPTV set top box perform message interaction through the link channel.
允许IPTV机顶盒登陆至本登陆服务器,可以包括:接收IPTV机顶盒发来的登陆请求后对IPTV机顶盒进行身份合法性校验;若IPTV机顶盒的身份合法性校验成功,则允许IPTV登陆本登陆服务器。IPTV机顶盒的身份合法性校验可以依据登陆服务器对移动终端的身份合法性校验。Allowing the IPTV set-top box to log in to the login server may include: performing identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; if the identity legality verification of the IPTV set-top box is successful, allowing the IPTV to log in to the login server. The identity legality verification of the IPTV set-top box can be verified according to the identity legality of the mobile terminal by the login server.
第六实施例Sixth embodiment
如图6所示,本实施例的移动终端与网络电视IPTV进行交互的实现方法,在代理服务器侧执行的流程,包括:步骤S110:接收移动终端发来的链接创建请求后分别与移动终端和对应移动终端的IPTV机顶盒创建链接通道,其中链接创建请求包括IPTV机顶盒的信息,以使移动终端与IPTV机顶盒通过链接通道进行消息交互。As shown in FIG. 6, the method for implementing the interaction between the mobile terminal and the network television IPTV in the embodiment, the flow executed on the proxy server side includes: Step S110: receiving the link creation request sent by the mobile terminal, respectively, and the mobile terminal and The IPTV set top box corresponding to the mobile terminal creates a link channel, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal and the IPTV set top box perform message interaction through the link channel.
第七实施例Seventh embodiment
如图7所示,在第六实施例的基础上,本实施例中的链路通道包括第一链路通道和第二链路通道,步骤S110:接收移动终端发来的链接创建请求后分别与移动终端和对应移动终端的IPTV机顶盒创建链接通道,可以包括:步骤S111:基于链接创建请求,与移动终端建立第一链路通道。步骤S112:发送机顶盒建链请求至登陆服务器,以使登陆服务器通知IPTV机顶盒向本代理服务器发来建立链接请求。步骤S113:与IPTV机顶盒建立第二链接通道。步骤S114:维护第一链路通道和第二链路通道的映射关系。As shown in FIG. 7, on the basis of the sixth embodiment, the link channel in this embodiment includes a first link channel and a second link channel, and step S110: receiving a link creation request sent by the mobile terminal, respectively Creating a link channel with the mobile terminal and the IPTV set top box of the corresponding mobile terminal may include: Step S111: Establish a first link channel with the mobile terminal based on the link creation request. Step S112: Send the set top box connection request to the login server, so that the login server notifies the IPTV set top box to send a link request to the proxy server. Step S113: Establish a second link channel with the IPTV set top box. Step S114: Maintain a mapping relationship between the first link channel and the second link channel.
SOCKS5代理服务器接收到上述链接创建请求后向登录服务器发起与上述机顶盒建链请求,登录服务器收到上述SOCKS5代理服务器发来的与上述机顶盒建链请求后,给上述机顶盒发送一个UDP消息,通知该机顶盒主动向已经与手机终端成功建链的SOCKS5代理服务器发送建立TCP链接请求。After receiving the link creation request, the SOCKS5 proxy server initiates a connection request with the set top box to the login server. After receiving the connection request from the SOCKS5 proxy server and the set top box connection request, the login server sends a UDP message to the set top box to notify the The set-top box actively sends a TCP link request to the SOCKS5 proxy server that has successfully established a chain with the mobile terminal.
第八实施例 Eighth embodiment
如图8所示,本实施例的移动终端与网络电视IPTV进行交互的实现装置,设置于移动终端,该装置,包括:第一登陆模块10,被配置为登录至登录服务器,以使登录服务器为本移动终端分配代理服务器,并且对应本移动终端的IPTV机顶盒登陆至登陆服务器;获取模块20,被配置为从登录服务器获取IPTV机顶盒的信息;发送模块30,被配置为基于IPTV机顶盒的信息发送链接创建请求至代理服务器,以使代理服务器分别与本移动终端和IPTV机顶盒创建链接通道;第一消息交互模块40,被配置为通过链接通道与IPTV机顶盒进行消息交互。As shown in FIG. 8, the device for implementing interaction between the mobile terminal and the network television IPTV in the embodiment is disposed on the mobile terminal, and the device includes: a first login module 10 configured to log in to the login server to enable the login server Assigning a proxy server to the mobile terminal, and the IPTV set-top box corresponding to the mobile terminal is logged in to the login server; the obtaining module 20 is configured to acquire information of the IPTV set-top box from the login server; and the sending module 30 is configured to send the information based on the IPTV set-top box The link creation request is sent to the proxy server to enable the proxy server to create a link channel with the mobile terminal and the IPTV set top box respectively; the first message interaction module 40 is configured to perform message interaction with the IPTV set top box through the link channel.
第一登录模块10,可以被配置为:发送登录请求至登录服务器,以使登录服务器对本移动终端进行身份合法性校验;在本移动终端的身份合法性校验成功的条件下,登录至所述登录服务器。The first login module 10 may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the mobile terminal; and if the identity verification of the mobile terminal is successful, log in to the location Log in to the server.
获取模块20,可以被配置为:发送机顶盒请求信息至登录服务器,以使登录服务器从IPTV***获取IPTV机顶盒的信息;接收登录服务器发来的IPTV机顶盒的信息。The obtaining module 20 may be configured to: send the set top box request information to the login server, so that the login server acquires the information of the IPTV set top box from the IPTV system; and receives the information of the IPTV set top box sent by the login server.
第九实施例Ninth embodiment
如图9所示,本实施例的实现装置,还包括发现装置50,被配置为:模拟IPTV机顶盒向本移动终端发送响应消息;相应地,第一消息交互模块10,可以被配置为:采用UPnP协议进行消息交互。As shown in FIG. 9, the implementation apparatus of this embodiment further includes a discovery apparatus 50 configured to: simulate an IPTV set-top box to send a response message to the mobile terminal; correspondingly, the first message interaction module 10 may be configured to: adopt The UPnP protocol performs message interaction.
采用UPnP协议进行消息交互时,在UPnP设备发现阶段,为了避免HTTP多播消息在不同网络平面直接传输引发的网络问题,通过修改手机终端的UPnP协议栈,在手机终端内部模拟IPTV机顶盒给手机终端自己发送发现消息的响应消息,从而继续后续的UPnP协议流程,由此简化了协议流程,同时避免了HTTP多播消息对网络产生的额外负载。When the UPnP protocol is used for message interaction, in the UPnP device discovery phase, in order to avoid the network problem caused by the direct transmission of HTTP multicast messages in different network planes, the IPTV set-top box is simulated in the mobile terminal by modifying the UPnP protocol stack of the mobile terminal. The response message of the discovery message is sent by itself, thereby continuing the subsequent UPnP protocol flow, thereby simplifying the protocol flow and avoiding the extra load generated by the HTTP multicast message on the network.
第十实施例Tenth embodiment
如图10所示,本实施例的移动终端与网络电视IPTV进行交互的实现装置,设置于IPTV机顶盒,该实现装置,包括:第二登陆模块60,被配置为在移动终端登陆至登陆服务器,以使登陆服务器为移动终端分配代理服务器的条件下,登陆至登陆服务器;链接通道建立模块70,被配置为与移动终端分别和代理服务器建立链接通道;第二消息交互模块80,被配置为通过链接通道与移动终端 进行消息交互。As shown in FIG. 10, the device for implementing the interaction between the mobile terminal and the network television IPTV in the embodiment is disposed in the IPTV set-top box, and the implementation device includes: a second login module 60 configured to log in to the login server at the mobile terminal, To enable the login server to allocate a proxy server to the mobile terminal, log in to the login server; the link channel establishing module 70 is configured to establish a link channel with the mobile terminal and the proxy server respectively; the second message interaction module 80 is configured to pass Link channel and mobile terminal Perform message interaction.
第二登陆模块60,可以被配置为:发送登录请求至登录服务器,以使登录服务器对IPTV机顶盒进行身份合法性校验;在IPTV机顶盒的身份合法性校验成功的条件下,登录至所述登录服务器;保持登陆至登陆服务器的登陆状态。The second login module 60 may be configured to: send a login request to the login server, so that the login server performs identity legality verification on the IPTV set-top box; and if the identity legality verification of the IPTV set-top box is successful, log in to the Log in to the server; keep logging in to the login state of the login server.
链接通道建立模块70,可以被配置为:接收登陆服务器发来的建立链接通知后发送建立链接请求至代理服务器;与代理服务器建立链接通道。The link channel establishing module 70 may be configured to: after receiving the link establishment notification sent by the login server, send a link establishment request to the proxy server; establish a link channel with the proxy server.
第十一实施例Eleventh embodiment
如图11所示,本实施例的移动终端与网络电视IPTV进行交互的实现装置,设置于登录服务器,该实现装置,包括:管理模块90,被配置为在移动终端登陆至本登陆服务器的条件下,为移动终端分配代理服务器,并且允许对应移动终端的IPTV机顶盒登陆至本登陆服务器;收发模块100,被配置为接收移动终端发来的机顶盒查询请求后返回该IPTV机顶盒的信息至移动终端,供移动终端向代理服务器发送链接创建请求,以使代理服务器分别与移动终端和IPTV机顶盒创建链接通道,实现移动终端与IPTV机顶盒通过链接通道进行消息交互。As shown in FIG. 11, the device for implementing the interaction between the mobile terminal and the network television IPTV in the embodiment is set in the login server, and the implementation device includes: a management module 90 configured to log in to the login server by the mobile terminal. The mobile terminal is assigned a proxy server, and the IPTV set-top box corresponding to the mobile terminal is allowed to log in to the local login server. The transceiver module 100 is configured to receive the information of the IPTV set-top box and return the information to the mobile terminal after receiving the set-top box query request sent by the mobile terminal. The mobile terminal sends a link creation request to the proxy server, so that the proxy server creates a link channel with the mobile terminal and the IPTV set-top box respectively, so that the mobile terminal and the IPTV set-top box perform message interaction through the link channel.
管理模块90,可以被配置为:接收IPTV机顶盒发来的登陆请求后对IPTV机顶盒进行身份合法性校验;若IPTV机顶盒的身份合法性校验成功,则允许IPTV登陆本登陆服务器。The management module 90 can be configured to: perform identity verification on the IPTV set-top box after receiving the login request sent by the IPTV set-top box; if the identity legality verification of the IPTV set-top box is successful, the IPTV is allowed to log in to the login server.
第十二实施例Twelfth embodiment
如图12所示,本实施例的移动终端与网络电视IPTV进行交互的实现装置,设置于代理服务器,本实施例的实现装置,包括:创建模块110,被配置为接收移动终端发来的链接创建请求后分别与移动终端和对应移动终端的IPTV机顶盒创建链接通道,其中链接创建请求包括IPTV机顶盒的信息,以使移动终端与IPTV机顶盒通过链接通道进行消息交互。As shown in FIG. 12, the device for implementing the interaction between the mobile terminal and the network television IPTV in the embodiment is disposed in the proxy server. The implementation device of the embodiment includes: a creating module 110 configured to receive the link sent by the mobile terminal. After the request is created, a link channel is created respectively with the IPTV set top box of the mobile terminal and the corresponding mobile terminal, wherein the link creation request includes information of the IPTV set top box, so that the mobile terminal interacts with the IPTV set top box through the link channel.
链路通道可以包括第一链路通道和第二链路通道,创建模块110,被配置为:基于链接创建请求,与移动终端建立第一链路通道;发送机顶盒建链请求至登陆服务器,以使登陆服务器通知IPTV机顶盒向本代理服务器发来建立链接请求;与IPTV机顶盒建立第二链接通道;维护第一链路通道和第二链路通道的映射关系。 The link channel may include a first link channel and a second link channel, and the creating module 110 is configured to: establish a first link channel with the mobile terminal based on the link creation request; send the set top box connection request to the login server, to The login server is notified to the IPTV set-top box to send a link request to the proxy server; a second link channel is established with the IPTV set-top box; and the mapping relationship between the first link channel and the second link channel is maintained.
第十三实施例Thirteenth embodiment
本公开还提供了一种平台,其包括根据上文所述的实现装置。The present disclosure also provides a platform comprising an implementation device according to the above.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
所述计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The computer readable storage medium may be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
本公开实施例还提供了一种电子设备的结构示意图。参见图14,该电子设备包括:The embodiment of the present disclosure further provides a schematic structural diagram of an electronic device. Referring to FIG. 14, the electronic device includes:
至少一个处理器(processor)140,图14中以一个处理器140为例;和存储器(memory)141,还可以包括通信接口(Communications Interface)142和总线143。其中,处理器140、通信接口142、存储器141可以通过总线143完成相互间的通信。通信接口142可以用于信息传输。处理器140可以调用存储器141中的逻辑指令,以执行上述实施例的方法。At least one processor 140, which is exemplified by a processor 140 in FIG. 14; and a memory 141, may further include a communication interface 142 and a bus 143. The processor 140, the communication interface 142, and the memory 141 can complete communication with each other through the bus 143. Communication interface 142 can be used for information transfer. Processor 140 may invoke logic instructions in memory 141 to perform the methods of the above-described embodiments.
此外,上述的存储器141中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 141 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
存储器141作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器140通过运行存储在存储器141中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的移动终端与IPTV进行交互的实现方法。The memory 141 is a computer readable storage medium, and can be used to store a software program, a computer executable program, a program instruction/module corresponding to the method in the embodiment of the present disclosure. The processor 140 executes the function application and the data processing by executing the software program, the instruction and the module stored in the memory 141, that is, the implementation method of the mobile terminal interacting with the IPTV in the foregoing method embodiment.
存储器141可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器141可以包括高速随机存取存储器,还可以包括非易失性存储器。 The memory 141 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 141 may include a high speed random access memory, and may also include a nonvolatile memory.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. A medium that can store program code, or a transitory storage medium.
工业实用性Industrial applicability
本申请提出的移动终端与IPTV进行交互的实现方法、装置及平台,实现了移动终端与IPTV之间多媒体内容的分享,并且应用场景多元化。 The method, device and platform for implementing interaction between the mobile terminal and the IPTV proposed by the present application realize the sharing of multimedia content between the mobile terminal and the IPTV, and the application scenarios are diversified.

Claims (24)

  1. 一种移动终端与网络电视IPTV进行交互的实现方法,适用于移动终端登录至IPTV***,并在所述移动终端侧执行的流程,包括:A method for implementing interaction between a mobile terminal and a network television IPTV is applicable to a process in which the mobile terminal logs in to the IPTV system, and the process performed on the mobile terminal side includes:
    登录至登录服务器,以使所述登录服务器为本移动终端分配代理服务器,并且对应所述本移动终端的IPTV机顶盒登陆至所述登陆服务器;Logging in to the login server, so that the login server allocates a proxy server to the mobile terminal, and the IPTV set-top box corresponding to the mobile terminal logs in to the login server;
    从所述登录服务器获取所述IPTV机顶盒的信息;Obtaining information of the IPTV set top box from the login server;
    基于所述IPTV机顶盒的信息发送链接创建请求至所述代理服务器,以使所述代理服务器分别与所述本移动终端和所述IPTV机顶盒创建链接通道;Sending a link creation request to the proxy server based on the information of the IPTV set top box, so that the proxy server creates a link channel with the local mobile terminal and the IPTV set top box respectively;
    通过所述链接通道与所述IPTV机顶盒进行消息交互。Message interaction with the IPTV set top box is performed through the link channel.
  2. 根据权利要求1所述的实现方法,其中,所述登录至登录服务器,包括:The implementation method of claim 1, wherein the logging in to the login server comprises:
    发送登录请求至登录服务器,以使所述登录服务器对所述本移动终端进行身份合法性校验;Sending a login request to the login server, so that the login server performs identity legality verification on the mobile terminal;
    在所述本移动终端的身份合法性校验成功的条件下,登录所述登录服务器。And logging in to the login server under the condition that the identity legality verification of the mobile terminal is successful.
  3. 根据权利要求1或2所述的实现方法,其中,所述从所述登录服务器获取IPTV机顶盒的信息,包括:The implementation method of claim 1 or 2, wherein the obtaining information of the IPTV set top box from the login server comprises:
    发送机顶盒请求信息至所述登录服务器,以使所述登录服务器从所述IPTV***获取所述IPTV机顶盒的信息;Sending the set top box request information to the login server, so that the login server acquires information of the IPTV set top box from the IPTV system;
    接收所述登录服务器发来的所述IPTV机顶盒的信息。Receiving information of the IPTV set top box sent by the login server.
  4. 根据权利要求1所述的实现方法,其中,所述通过所述链接通道与所述IPTV机顶盒进行消息交互之前,所述方法还包括:The method of claim 1, wherein the method further comprises: before the message interaction with the IPTV set top box through the link channel, the method further comprises:
    模拟所述IPTV机顶盒向所述本移动终端发送响应消息;Simulating the IPTV set top box to send a response message to the local mobile terminal;
    相应地,所述通过所述链接通道与所述IPTV机顶盒进行消息交互,包括: Correspondingly, the message interaction with the IPTV set top box through the link channel includes:
    采用UPnP协议进行消息交互。The UPnP protocol is used for message interaction.
  5. 一种移动终端与IPTV进行交互的实现方法,适用于IPTV机顶盒登陆至IPTV***,并在所述IPTV机顶盒侧执行的流程,包括:A method for implementing interaction between a mobile terminal and an IPTV is applicable to an IPTV set-top box landing to an IPTV system, and executing the process on the IPTV set-top box side includes:
    在移动终端登陆至登陆服务器,以使所述登陆服务器为移动终端分配代理服务器的条件下,登陆至所述登陆服务器;Logging in to the login server under the condition that the mobile terminal logs in to the login server to enable the login server to allocate a proxy server to the mobile terminal;
    与所述移动终端分别和所述代理服务器建立链接通道;Establishing a link channel with the proxy server and the proxy server;
    通过所述链接通道与所述移动终端进行消息交互。Message interaction with the mobile terminal through the link channel.
  6. 根据权利要求5所述的实现方法,其中,所述登陆至所述登陆服务器,包括:The implementation method of claim 5, wherein the logging in to the login server comprises:
    发送登录请求至登录服务器,以使所述登录服务器对所述IPTV机顶盒进行身份合法性校验;Sending a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box;
    在所述IPTV机顶盒的身份合法性校验成功的条件下,登录所述登录服务器;After the identity legality verification of the IPTV set top box is successful, logging in to the login server;
    保持登陆所述登陆服务器的登陆状态。Keep logging in to the login server.
  7. 根据权利要求5或6所述的实现方法,其中,所述与所述代理服务器建立链接通道,包括:The implementation method according to claim 5 or 6, wherein the establishing a link channel with the proxy server comprises:
    接收所述登陆服务器发来的建立链接通知后发送建立链接请求至所述代理服务器;Receiving a link establishment notification sent by the login server, and sending a link establishment request to the proxy server;
    与所述代理服务器建立链接通道。Establish a link channel with the proxy server.
  8. 一种移动终端与IPTV进行交互的实现方法,适用于在登录服务器侧执行的流程,包括:A method for implementing interaction between a mobile terminal and an IPTV is applicable to a process performed on a login server side, including:
    在移动终端登陆至本登陆服务器的条件下,为所述移动终端分配代理服务器,并且允许对应所述移动终端的IPTV机顶盒登陆至所述本登陆服务器; Assigning a proxy server to the mobile terminal under the condition that the mobile terminal logs in to the login server, and allowing the IPTV set top box corresponding to the mobile terminal to log in to the local login server;
    接收所述移动终端发来的机顶盒查询请求后返回所述IPTV机顶盒的信息至所述移动终端,供所述移动终端向所述代理服务器发送链接创建请求,以使所述代理服务器分别与所述移动终端和所述IPTV机顶盒创建链接通道,实现所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交互。Receiving, after receiving the set top box query request sent by the mobile terminal, information of the IPTV set top box to the mobile terminal, where the mobile terminal sends a link creation request to the proxy server, so that the proxy server respectively The mobile terminal and the IPTV set top box create a link channel, so that the mobile terminal and the IPTV set top box perform message interaction through the link channel.
  9. 根据权利要求8所述的实现方法,其中,所述允许IPTV机顶盒登陆至所述本登陆服务器,包括:The implementation method of claim 8, wherein the allowing the IPTV set top box to log in to the local login server comprises:
    接收所述IPTV机顶盒发来的登陆请求后对所述IPTV机顶盒进行身份合法性校验;Receiving a login request sent by the IPTV set-top box, and performing identity legality verification on the IPTV set-top box;
    若所述IPTV机顶盒的身份合法性校验成功,则允许所述IPTV登陆所述本登陆服务器。If the identity legality verification of the IPTV set top box is successful, the IPTV is allowed to log in to the local login server.
  10. 一种移动终端与IPTV进行交互的实现方法,适用于在代理服务器侧执行的流程,包括:A method for implementing interaction between a mobile terminal and an IPTV is applicable to a process performed on a proxy server side, including:
    接收移动终端发来的链接创建请求后分别与所述移动终端和对应所述移动终端的IPTV机顶盒创建链接通道,其中所述链接创建请求包括所述IPTV机顶盒的信息,以使所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交互。After receiving the link creation request sent by the mobile terminal, respectively creating a link channel with the mobile terminal and the IPTV set top box corresponding to the mobile terminal, where the link creation request includes information of the IPTV set top box, so that the mobile terminal and the mobile terminal The IPTV set top box performs message interaction through the link channel.
  11. 根据权利要求10所述的实现方法,其中,所述链路通道包括第一链路通道和第二链路通道,所述接收移动终端发来的链接创建请求后分别与所述移动终端和对应所述移动终端的IPTV机顶盒创建链接通道,包括:The implementation method of claim 10, wherein the link channel comprises a first link channel and a second link channel, and the receiving mobile terminal sends a link creation request to correspond to the mobile terminal and respectively The IPTV set top box of the mobile terminal creates a link channel, including:
    基于所述链接创建请求,与所述移动终端建立第一链路通道;Establishing a first link channel with the mobile terminal based on the link creation request;
    发送机顶盒建链请求至登陆服务器,以使所述登陆服务器通知所述IPTV机顶盒向本代理服务器发来建立链接请求; Sending a set top box connection request to the login server, so that the login server notifies the IPTV set top box to send a link request to the proxy server;
    与所述IPTV机顶盒建立第二链接通道;Establishing a second link channel with the IPTV set top box;
    维护所述第一链路通道和所述第二链路通道的映射关系。Maintaining a mapping relationship between the first link channel and the second link channel.
  12. 一种移动终端与IPTV进行交互的实现装置,设置于移动终端,包括:An apparatus for implementing interaction between a mobile terminal and an IPTV, configured on the mobile terminal, includes:
    第一登陆模块,被配置为登录至登录服务器,以使所述登录服务器为本移动终端分配代理服务器,并且对应所述本移动终端的IPTV机顶盒登陆至所述登陆服务器;The first login module is configured to log in to the login server, so that the login server allocates a proxy server to the mobile terminal, and the IPTV set-top box corresponding to the mobile terminal logs in to the login server;
    获取模块,被配置为从所述登录服务器获取所述IPTV机顶盒的信息;An obtaining module configured to acquire information of the IPTV set top box from the login server;
    发送模块,被配置为基于所述IPTV机顶盒的信息发送链接创建请求至所述代理服务器,以使所述代理服务器分别与所述本移动终端和所述IPTV机顶盒创建链接通道;a sending module, configured to send a link creation request to the proxy server based on the information of the IPTV set top box, so that the proxy server creates a link channel with the local mobile terminal and the IPTV set top box respectively;
    第一消息交互模块,被配置为通过所述链接通道与所述IPTV机顶盒进行消息交互。The first message interaction module is configured to perform message interaction with the IPTV set top box through the link channel.
  13. 根据权利要求12所述的实现装置,其中,所述第一登录模块,被配置为:The implementation device of claim 12, wherein the first login module is configured to:
    发送登录请求至登录服务器,以使所述登录服务器对所述本移动终端进行身份合法性校验;Sending a login request to the login server, so that the login server performs identity legality verification on the mobile terminal;
    在所述本移动终端的身份合法性校验成功的条件下,登录所述登录服务器。And logging in to the login server under the condition that the identity legality verification of the mobile terminal is successful.
  14. 根据权利要求12或13所述的实现方法,其中,所述获取模块,被配置为:The implementation method according to claim 12 or 13, wherein the obtaining module is configured to:
    发送机顶盒请求信息至所述登录服务器,以使所述登录服务器从所述IPTV***获取所述IPTV机顶盒的信息;Sending the set top box request information to the login server, so that the login server acquires information of the IPTV set top box from the IPTV system;
    接收所述登录服务器发来的所述IPTV机顶盒的信息。 Receiving information of the IPTV set top box sent by the login server.
  15. 根据权利要求12所述的实现装置,还包括发现装置,被配置为:The implementation device of claim 12, further comprising a discovery device configured to:
    模拟所述IPTV机顶盒向所述本移动终端发送响应消息;Simulating the IPTV set top box to send a response message to the local mobile terminal;
    相应地,所述第一消息交互模块,被配置为:Correspondingly, the first message interaction module is configured to:
    采用UPnP协议进行消息交互。The UPnP protocol is used for message interaction.
  16. 一种移动终端与IPTV进行交互的实现装置,设置于IPTV机顶盒,包括:An apparatus for implementing interaction between a mobile terminal and an IPTV is set in an IPTV set top box, and includes:
    第二登陆模块,被配置为在移动终端登陆至登陆服务器,以使所述登陆服务器为移动终端分配代理服务器的条件下,登陆至所述登陆服务器;a second login module configured to log in to the login server when the mobile terminal logs in to the login server to enable the login server to allocate a proxy server to the mobile terminal;
    链接通道建立模块,被配置为与所述移动终端分别和所述代理服务器建立链接通道;a link channel establishing module configured to establish a link channel with the mobile terminal and the proxy server respectively;
    第二消息交互模块,被配置为通过所述链接通道与所述移动终端进行消息交互。The second message interaction module is configured to perform message interaction with the mobile terminal through the link channel.
  17. 根据权利要求16所述的实现装置,其中,所述第二登陆模块,被配置为:The implementation device of claim 16, wherein the second login module is configured to:
    发送登录请求至登录服务器,以使所述登录服务器对所述IPTV机顶盒进行身份合法性校验;Sending a login request to the login server, so that the login server performs identity legality verification on the IPTV set top box;
    在所述IPTV机顶盒的身份合法性校验成功的条件下,登录所述登录服务器;After the identity legality verification of the IPTV set top box is successful, logging in to the login server;
    保持登陆所述登陆服务器的登陆状态。Keep logging in to the login server.
  18. 根据权利要求16或17所述的实现装置,其中,所述链接通道建立模块,被配置为:The implementation device according to claim 16 or 17, wherein the link channel establishing module is configured to:
    接收所述登陆服务器发来的建立链接通知后发送建立链接请求至所述代理服务器; Receiving a link establishment notification sent by the login server, and sending a link establishment request to the proxy server;
    与所述代理服务器建立链接通道。Establish a link channel with the proxy server.
  19. 一种移动终端与IPTV进行交互的实现装置,设置于登录服务器,包括:An apparatus for implementing interaction between a mobile terminal and an IPTV, configured on the login server, includes:
    管理模块,被配置为在移动终端登陆至本登陆服务器的条件下,为所述移动终端分配代理服务器,并且允许对应所述移动终端的IPTV机顶盒登陆至所述本登陆服务器;a management module, configured to allocate a proxy server to the mobile terminal under the condition that the mobile terminal logs in to the login server, and allow the IPTV set top box corresponding to the mobile terminal to log in to the local login server;
    收发模块,被配置为接收所述移动终端发来的机顶盒查询请求后返回所述IPTV机顶盒的信息至所述移动终端,供所述移动终端向所述代理服务器发送链接创建请求,以使所述代理服务器分别与所述移动终端和所述IPTV机顶盒创建链接通道,实现所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交互。a transceiver module configured to receive information of the IPTV set top box after receiving the set top box query request sent by the mobile terminal to the mobile terminal, where the mobile terminal sends a link creation request to the proxy server, so that the The proxy server creates a link channel with the mobile terminal and the IPTV set-top box, respectively, so that the mobile terminal and the IPTV set-top box perform message interaction through the link channel.
  20. 根据权利要求19所述的管理装置,其中,所述管理模块,被配置为:The management device according to claim 19, wherein the management module is configured to:
    接收所述IPTV机顶盒发来的登陆请求后对所述IPTV机顶盒进行身份合法性校验;Receiving a login request sent by the IPTV set-top box, and performing identity legality verification on the IPTV set-top box;
    若所述IPTV机顶盒的身份合法性校验成功,则允许所述IPTV登陆所述本登陆服务器。If the identity legality verification of the IPTV set top box is successful, the IPTV is allowed to log in to the local login server.
  21. 一种移动终端与IPTV进行交互的实现装置,设置于代理服务器,包括:An apparatus for implementing interaction between a mobile terminal and an IPTV, configured on the proxy server, includes:
    创建模块,被配置为接收移动终端发来的链接创建请求后分别与所述移动终端和对应所述移动终端的IPTV机顶盒创建链接通道,其中所述链接创建请求包括所述IPTV机顶盒的信息,以使所述移动终端与所述IPTV机顶盒通过所述链接通道进行消息交互。a creating module, configured to: after receiving a link creation request sent by the mobile terminal, respectively create a link channel with the mobile terminal and an IPTV set top box corresponding to the mobile terminal, where the link creation request includes information of the IPTV set top box, And causing the mobile terminal to perform message interaction with the IPTV set top box through the link channel.
  22. 根据权利要求21所述的实现装置,其中,所述链路通道包括第一链路通道和第二链路通道,所述创建模块,被配置为: The implementation device of claim 21, wherein the link channel comprises a first link channel and a second link channel, and the creating module is configured to:
    基于所述链接创建请求,与所述移动终端建立第一链路通道;Establishing a first link channel with the mobile terminal based on the link creation request;
    发送机顶盒建链请求至登陆服务器,以使所述登陆服务器通知所述IPTV机顶盒向本代理服务器发来建立链接请求;Sending a set top box connection request to the login server, so that the login server notifies the IPTV set top box to send a link request to the proxy server;
    与所述IPTV机顶盒建立第二链接通道;Establishing a second link channel with the IPTV set top box;
    维护所述第一链路通道和所述第二链路通道的映射关系。Maintaining a mapping relationship between the first link channel and the second link channel.
  23. 一种平台,包括根据权利要求12-15或16-18或19-20或21-22中任一项所述的实现装置。A platform comprising an implementation device according to any of claims 12-15 or 16-18 or 19-20 or 21-22.
  24. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-4或5-7或8-9或10-11中任一项的方法。 A computer readable storage medium storing computer executable instructions arranged to perform the method of any one of claims 1-4 or 5-7 or 8-9 or 10-11.
PCT/CN2017/106070 2016-10-18 2017-10-13 Method, apparatus, and platform for accomplishing interaction between mobile terminal and iptv WO2018072650A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610906777.3A CN107959664A (en) 2016-10-18 2016-10-18 Implementation method, device and the platform that mobile terminal is interacted with IPTV
CN201610906777.3 2016-10-18

Publications (1)

Publication Number Publication Date
WO2018072650A1 true WO2018072650A1 (en) 2018-04-26

Family

ID=61954435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106070 WO2018072650A1 (en) 2016-10-18 2017-10-13 Method, apparatus, and platform for accomplishing interaction between mobile terminal and iptv

Country Status (2)

Country Link
CN (1) CN107959664A (en)
WO (1) WO2018072650A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760511A (en) * 2022-04-21 2022-07-15 广东悦伍纪网络技术有限公司 Box terminal, system and method capable of realizing same-screen interaction of cloud mobile phone

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833434B (en) * 2018-07-02 2020-09-08 山东云缦智能科技有限公司 Method for realizing cross-network video call system based on IP bidirectional network set top box
CN108881844B (en) * 2018-07-06 2021-06-22 杭州涂鸦信息技术有限公司 Local area network video transmission method
CN109302634A (en) * 2018-11-27 2019-02-01 玲珑视界科技(北京)有限公司 A kind of public network Intranet interaction mechanism adaptive approach and system
CN112118458B (en) * 2020-08-21 2022-08-12 烽火通信科技股份有限公司 Video distribution method and system based on fusion terminal
CN113490017A (en) * 2020-08-24 2021-10-08 青岛海信电子产业控股股份有限公司 Method and device for accessing video playing equipment across network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120030701A1 (en) * 2010-07-27 2012-02-02 Sony Corporation Control of iptv using second device
CN103458012A (en) * 2013-08-20 2013-12-18 小米科技有限责任公司 Method and device for wireless control over network television terminal
CN103491424A (en) * 2013-10-21 2014-01-01 天津网络广播电视台有限公司 Server system for IPTV multi-screen interaction and multi-screen interaction achieving method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282459B (en) * 2007-04-05 2010-10-13 孙刚 IPTV increased value service system facing to handhold mobile terminal
CN101808108A (en) * 2009-02-12 2010-08-18 深圳市彪骐数码科技有限公司 Set-top box content push method and system based on mobile terminal
US9100707B2 (en) * 2010-06-11 2015-08-04 At&T Intellectual Property I, L.P. Integrating video share and text messaging with set-top box and access point
CN103026681B (en) * 2011-08-01 2015-06-17 华为技术有限公司 Video-based method, server and system for realizing value-added service
CN102377823B (en) * 2011-10-18 2013-12-25 北京优朋普乐科技有限公司 Method and system for realizing interactive sharing among multiple screens and multiple users by sliding screens
CN102571964A (en) * 2012-01-16 2012-07-11 深圳创维-Rgb电子有限公司 Multi-screen interaction method and multi-screen interaction system
CN103581740B (en) * 2013-10-25 2018-09-25 南京中兴软件有限责任公司 A kind of distributed IPTV multi-screens gateway and IPTV multi-screen interaction methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120030701A1 (en) * 2010-07-27 2012-02-02 Sony Corporation Control of iptv using second device
CN103458012A (en) * 2013-08-20 2013-12-18 小米科技有限责任公司 Method and device for wireless control over network television terminal
CN103491424A (en) * 2013-10-21 2014-01-01 天津网络广播电视台有限公司 Server system for IPTV multi-screen interaction and multi-screen interaction achieving method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760511A (en) * 2022-04-21 2022-07-15 广东悦伍纪网络技术有限公司 Box terminal, system and method capable of realizing same-screen interaction of cloud mobile phone

Also Published As

Publication number Publication date
CN107959664A (en) 2018-04-24

Similar Documents

Publication Publication Date Title
WO2018072650A1 (en) Method, apparatus, and platform for accomplishing interaction between mobile terminal and iptv
US11108570B2 (en) Method and apparatus for multimedia communication, and storage medium
US9848024B1 (en) Multiple media device infrastructure
CN107534672B (en) Method, equipment and system for promoting network client to provide network service
CN104796396B (en) The method and medium of network agent layer for the application proxy based on strategy are provided
KR101313519B1 (en) Systems and methods for establishing connections between devices communicating over a network
US9596501B2 (en) Remote control processing method, device and system
US9300733B2 (en) System and/or method for client-driven server load distribution
US9948686B2 (en) Method and apparatus for sharing DLNA device
KR102148046B1 (en) Calling an unready terminal
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
KR20150003192A (en) Enabling web clients to provide web services
EP3996355B1 (en) Method for transferring media stream and user equipment
WO2017020790A1 (en) Multi-screen control method and device
JP2003179642A (en) Data transmission system, information processor, information processing method, repeater, relaying method, recording medium and program
US20170171496A1 (en) Method and Electronic Device for Screen Projection
CN110266736A (en) A kind of optimization method and device for the portal certification based on https agreement
US10701118B2 (en) Method for the processing of a multimedia stream, corresponding device and computer program
Emmanuel et al. A peer-to-peer architecture for real-time communication using Webrtc
CN115604862B (en) Video streaming transmission method and system
KR20140092630A (en) User's device, communication server and control method thereof
CN106303413A (en) The method mutual based on IPC monitoring system information and IPC monitor system
KR101480140B1 (en) Multi injection server and method thereof
CN116708381B (en) Cross-network data transmission method and device, storage medium and electronic equipment
US20170324988A1 (en) Method and device for transmitting content

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17861382

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17861382

Country of ref document: EP

Kind code of ref document: A1