WO2016165584A1 - Procédé et dispositif de communication entre terminaux - Google Patents

Procédé et dispositif de communication entre terminaux Download PDF

Info

Publication number
WO2016165584A1
WO2016165584A1 PCT/CN2016/078803 CN2016078803W WO2016165584A1 WO 2016165584 A1 WO2016165584 A1 WO 2016165584A1 CN 2016078803 W CN2016078803 W CN 2016078803W WO 2016165584 A1 WO2016165584 A1 WO 2016165584A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
application
identifier
processing object
target
Prior art date
Application number
PCT/CN2016/078803
Other languages
English (en)
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 WO2016165584A1 publication Critical patent/WO2016165584A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a communication method between terminals and a communication device between terminals.
  • a user can download a video that is desired to be viewed to a mobile phone (mobile terminal) in a scene with Wi-Fi (Wireless Fidelity), and then watch the video in a scene without Wi-Fi.
  • Wi-Fi Wireless Fidelity
  • the operation of the user on the terminal is cumbersome and may even damage the terminal.
  • the user may go to do housework such as cleaning and cooking. If the user still wants to continue watching the video on the mobile phone, he needs to carry the mobile phone anytime and anywhere, which is very inconvenient and may be The phone is broken.
  • embodiments of the present application have been made in order to provide a communication method between terminals and a corresponding communication device between terminals, which overcomes the above problems or at least partially solves the above problems.
  • the embodiment of the present application discloses a communication method between terminals, including:
  • the application call request includes a target terminal identifier selected from the one or more terminal identifiers, and a target selected from one or more application identifiers associated with the target terminal identifier Application identification, and message content;
  • the embodiment of the present application further discloses a communication device between terminals, including:
  • the querying module is configured to: when receiving the terminal query request sent by the first terminal, return one or more terminal identifiers and one or more application identifiers associated with each terminal identifier to the first terminal according to the terminal query request ;
  • the application call request receiving module is configured to receive an application call request sent by the first terminal, where the application call request includes a target terminal identifier selected from the one or more terminal identifiers, and an association associated with the target terminal identifier Target application identifier selected from multiple application identifiers, and message content;
  • the application call request sending module is configured to send the application call request to the second terminal corresponding to the target terminal identifier, to drive the second terminal to invoke the application corresponding to the target application identifier to process the message content.
  • the embodiment of the present application also discloses a computer readable recording medium recorded with a program for executing the above method.
  • the application of the first terminal calls the corresponding application in the second terminal to perform corresponding processing based on the application call request of the first terminal, and implements the inheritance of the processing content to adapt to different processing requirements, thereby greatly improving the simplicity of the operation.
  • the interaction between the first terminal and the second terminal is implemented by the intermediary, and the interaction between the first terminal and the second terminal is not limited to a specific protocol, and is not limited to specific content, and has strong scalability and various forms.
  • the embodiments of the present application process the registration, establish a long connection, and distribute messages through a unified interface, which greatly reduces the development cost of the application and improves the service efficiency.
  • Embodiment 1 is a flow chart showing the steps of Embodiment 1 of a method for communication between terminals according to the present application;
  • Embodiment 2 is a flow chart showing the steps of Embodiment 2 of a method for communication between terminals according to the present application;
  • FIG. 3 is a structural block diagram of an embodiment of a communication device between terminals of the present application.
  • FIG. 1 a flow chart of the steps of the first embodiment of the communication method between the terminals of the present application is shown, which may specifically include the following steps:
  • Step 101 When receiving the terminal query request sent by the first terminal, returning one or more terminal identifiers and one or more application identifiers associated with each terminal identifier to the first terminal according to the terminal query request;
  • Step 102 Receive an application call request sent by the first terminal, where the application call request includes a target terminal identifier selected from the one or more terminal identifiers, and one or more application identifiers associated with the target terminal identifier.
  • Step 103 Send the application call request to the second terminal corresponding to the target terminal identifier, to drive the second terminal to invoke the application corresponding to the target application identifier to process the message content.
  • the embodiment of the present application invokes the application in the second terminal to perform corresponding processing, and implements inheritance of the processing content to adapt to different processing requirements, thereby greatly improving the simplicity of the operation.
  • the interaction between the first terminal and the second terminal is implemented by the intermediary, and the interaction between the first terminal and the second terminal is not limited to a specific protocol, and is not limited to specific content, and has strong scalability and various forms.
  • FIG. 2 a flow chart of the steps of the second embodiment of the communication method between the terminals of the present application is shown, which may specifically include the following steps:
  • Step 201 Receive a registration request.
  • the embodiment of the present application can be applied to a service platform, and the essence of the service platform Can be a standalone server, or a server cluster.
  • the service platform can be connected to a plurality of terminals, such as a first terminal and a second terminal.
  • the terminal can include a mobile phone, a tablet computer, a television, a personal computer, a smart watch, and the like.
  • the service platform may provide a server registration interface, such as an HTTP (HyperText Transfer Protocol) interface, and the service platform is sent by the server registration interface receiving terminal (such as the first terminal and the second terminal). Registration request.
  • HTTP HyperText Transfer Protocol
  • a unified interface can be encapsulated by the SDK (Application Development Kit) and provided to the application, and the SDK completes the registration by defining a corresponding protocol with the service platform.
  • SDK Application Development Kit
  • the first terminal has a unified interface, and the unified interface sends a registration request to the service platform, that is, the first terminal can register through the unified interface.
  • the second terminal has a unified interface, and the unified interface sends a registration request to the service platform, that is, the second terminal can register through the unified interface.
  • Step 202 When the registration request includes the user identifier and the terminal identifier, establish an association relationship between the user identifier and the terminal identifier.
  • the service platform may register the terminal, indicating that the terminal can accept the pushed service message (such as an application call request).
  • the service platform may establish an association relationship between the user identifier and the terminal identifier, and complete the registration, and the service platform may store the registration information to bind different terminals under the same user, and construct a terminal ecosystem belonging to the user.
  • service extension can be supported. For example, if the user has his own sharing circle and friend circle, the user identifier corresponding to the known friend can be sent to send a message.
  • the user identifier may be information capable of representing a uniquely determined user, for example, a user ID (IDentity), a User_ID;
  • the terminal identifier may be information capable of representing a uniquely determined terminal, for example, a terminal ID, Device_ID.
  • Step 203 When the registration request includes the terminal identifier and the application identifier, establish an association relationship between the terminal identifier and the application identifier.
  • the service platform may register the application, indicating that the application can accept the pushed service message (such as an application call request).
  • the service platform may establish an association relationship between the terminal identifier and the identifier, and complete the registration, and the service platform stores the registration information to bind different applications under the same terminal.
  • the application identifier may be information capable of representing a uniquely determined application, for example, an application ID, APP_ID.
  • the application may be an application of the terminal system, or may be a third-party application (Application, APP), which is not limited in this embodiment of the present application.
  • Application Application, APP
  • the terminal (such as the first terminal and the second terminal) can also send an unbinding request (ie, anti-registration) to the service platform through the unified interface provided by the SDK, and the service platform can release the user according to the unbinding request.
  • an unbinding request ie, anti-registration
  • Step 204 Establish a first long connection with the first terminal.
  • Step 205 Establish a second long connection with the second terminal.
  • a long connection (such as a first long connection and a second long connection) may mean that multiple data packets may be continuously transmitted on one connection. During the connection hold period, if no data packet is sent, both parties need to send a link detection packet.
  • TCP Transmission Control Protocol
  • the unified interface can be encapsulated by the SDK and provided to the application, and the SDK completes the connection by defining a corresponding protocol with the service platform.
  • the first terminal has a unified interface, and the first terminal can establish a first long connection with the service platform by using the unified interface, where the first long connection can be used by the service platform to communicate with the first terminal.
  • the second terminal has a unified interface, and the second terminal can establish a second long connection with the service platform through the unified interface, where the second long connection can be used for the service platform to communicate with the second terminal.
  • the service platform may use the terminal identifier to calculate a long connection with the terminal (such as the first terminal and the second terminal) according to a preset allocation manner.
  • a long connection such as the first terminal and the second terminal
  • the service platform may use the terminal identifier to calculate a long connection with the terminal (such as the first terminal and the second terminal) according to a preset allocation manner.
  • the terminal such as the first terminal and the second terminal
  • the service platform may use the terminal identifier to calculate a long connection with the terminal (such as the first terminal and the second terminal) according to a preset allocation manner.
  • a preset allocation manner such as the first long connection, the second long connection server.
  • the service platform may send the information of the server, such as an IP (Internet Protocol, protocol) address, port, and the like, to the terminal (such as the first terminal and the second terminal) for buffering.
  • IP Internet Protocol, protocol
  • the terminal eg, the first terminal, the second terminal
  • the terminal may request information of the server from the service platform at a specific time (such as when booting).
  • the terminal (such as the first terminal and the second terminal) initiates a connection request to the corresponding server in the service platform according to the information of the server, and the server in the service platform detects the terminal (such as the first terminal,
  • the registration information of the second terminal (such as the terminal identifier registered at the time of registration) is established, a legal long connection (such as a first long connection and a second long connection) is established.
  • some service requirements are multi-screen interaction, and the technical feature is a long connection.
  • the use of long-connection communication can ensure high real-time communication and power consumption between terminals (such as the first terminal and the second terminal). Less, less traffic.
  • Step 206 When receiving the terminal query request sent by the first terminal, returning one or more terminal identifiers and one or more application identifiers associated with each terminal identifier to the first terminal according to the terminal query request;
  • the communication between the service platform and the first terminal may include a communication terminal query request, that is, the first terminal may send a terminal query request through the first long connection, and the service platform may receive the terminal query request through the first long connection.
  • the terminal query request may refer to an instruction sent by the first terminal to query other terminals.
  • the terminal can be triggered by clicking a certain control to find other terminals, and continue watching the video in other terminals.
  • the terminal can automatically trigger the terminal to query the other terminal to find the other terminal and prompt the short message in the other terminal.
  • the communication between the service platform and the first terminal may include a communication terminal identifier and an application identifier, that is, the service platform may return one or more terminal identifiers to the first terminal through the first long connection, and one or more application identifiers associated with each terminal identifier.
  • the first terminal may receive one or more terminal identifiers and one or more application identifiers associated with the respective terminal identifiers by using the first long connection.
  • step 206 can include the following sub-steps:
  • Sub-step S11 extracting a user identifier from the terminal query request
  • Sub-step S12 searching for one or more terminal identifiers associated with the user identifier, and one or more application identifiers associated with each terminal identifier;
  • Sub-step S13 returning the one or more terminal identifiers and one or more application identifiers associated with the respective terminal identifiers to the first terminal.
  • the service platform may search for the terminal bound to the same user according to the registration information, and the application that is bound to the terminal, that is, the terminal identifier associated with the same user identifier and the application identifier associated with the terminal identifier.
  • the method for searching for the terminal identifier is only used as an example.
  • the search mode of other terminal identifiers may be set according to the actual situation, which is not limited in this embodiment of the present application.
  • the terminal query request may include the address information of the first terminal, such as an IP address, a MAC (Media Access Control Address) address, and the like, and the service platform may query the information by establishing a long connection through the terminal.
  • the terminal identifier of the terminal that matches the address information of the first terminal such as the terminal identifier of other terminals located in the same local area network. If the local area network may be a home local area network, the other terminals may be other terminals in the home.
  • the returned one or more terminal identifiers may be terminal identifiers of the online terminals.
  • online as used in the embodiment of the present application may refer to that the terminal establishes a long connection with the service platform, and can directly communicate.
  • the service platform can query the online information or offline information to know whether the terminal is online or offline.
  • Step 207 Receive an application call request sent by the first terminal.
  • the application call request may include a target terminal identifier selected from the one or more terminal identifiers, a target application identifier selected from one or more application identifiers associated with the target terminal identifier, and message content.
  • the communication between the service platform and the first terminal may include an application call request.
  • the communication that is, the first terminal can send an application call request through the first long connection, and the service platform can receive the application call request through the first long connection.
  • the first terminal may display the UI (User Interface), and the user may The target terminal identifier is selected from the plurality of terminal identifiers, and the target application identifier is selected from one or more application identifiers associated with the target terminal identifier.
  • UI User Interface
  • the first terminal may also select the target terminal identifier and the target application identifier in other manners, which is not limited in this embodiment.
  • the adaptation relationship between the terminal and the application may be preset to indicate which applications of which terminals can process the same content, that is, an application of a certain terminal can support the content of other applications of other terminals, and an example thereof is as follows: Shown as follows:
  • Terminal identification Application identifier Terminal identification Application identifier Mobile phone Video application A TV Video player B
  • the above table may indicate that the video application A in the mobile phone and the video player B in the television can process the same content, that is, the video player B in the television can support playing the video in the video application A in the mobile phone.
  • the first terminal may search for the terminal identifier and the application identifier that are matched with the terminal identifier of the first terminal and the application identifier of the current application in the adaptation relationship, as the target terminal identifier and the target application identifier.
  • the message content can be generated based on the processing object of the application in the first terminal, ie the first terminal and the second terminal can process the same processing object synchronously.
  • the processing object may include at least one or more of the following:
  • the processing object may be directly used as a message content
  • the processing object identifier of the processing object may be used as the message content, and the second terminal may obtain the corresponding processing according to the processing object identifier.
  • the processing object identifier may be information capable of representing a uniquely determined terminal, for example, a processing object ID, a processing object name, and the like.
  • the processing state can be identified to indicate the state in which the application in the first terminal processes the processing object.
  • the processing status may include playing time information
  • the processing status may include the current number of pages.
  • the content of the message and the manner of generating the foregoing are only examples.
  • other message content and a generating manner may be set according to actual conditions, for example, directly processing a processing object with a large data stream as a message content, and the like.
  • This embodiment of the present application does not limit this.
  • the content of the message and the manner of generating the message may be used by those skilled in the art in addition to the content of the message and the manner of the foregoing, and the embodiment of the present application does not limit this.
  • target terminal identifier the target terminal identifier
  • target application identifier the target application identifier
  • message content other information may be written in the application call request for other purposes, which is not limited in this embodiment of the present application.
  • the terminal identifier of the first terminal and the application identifier of the currently processed application may be written in the application call request for counting the frequency at which the terminal and the application initiate the call.
  • Step 208 Send the application call request to the second terminal corresponding to the target terminal identifier, to drive the second terminal to invoke the application corresponding to the target application identifier to process the message content.
  • the communication between the service platform and the second terminal may include the communication of the application call request, that is, the service platform may send the application call request through the second long connection, and the second terminal may receive the application call request through the second long connection.
  • the service platform may directly transmit the request to the second terminal without performing any processing on the application call request.
  • the unified interface of the SDK may be encapsulated and provided to the application, and the SDK defines a corresponding protocol by the service platform to complete the application processing message content corresponding to the target application identifier.
  • the SDK may parse the target application identifier in the application call request, and if the application corresponding to the target application identifier is identified, the SDK may distribute the application call request to the application. Processing, the application can parse the message content for corresponding processing.
  • step 208 can include the following sub-steps:
  • Sub-step S21 in the first server, query whether the local second communication has a second long connection corresponding to the target terminal identifier; if yes, perform sub-step S22, and if not, perform sub-step S23;
  • Sub-step S22 sending the application call request to the second terminal by using the second long connection
  • Sub-step S23 writing the application call request to a preset message queue
  • Sub-step S24 forwarding, in the second server, the application call request in the message queue to a third server having the second long connection;
  • Sub-step S25 the application call request is sent to the second terminal by the second long connection in the third server.
  • the service platform has a message routing service, and the message routing service may be provided by an independent server or a server cluster.
  • the message routing service can be used for routing messages between devices across a network, and is generally not directly directed to users and terminals.
  • the message routing service performs message production by establishing a long-connected server, and then is consumed by the message routing service.
  • the message is distributed to the long-connected server where the target terminal is located, and is delivered to the target terminal through the available long connection.
  • each server can manage long connections of millions of terminals. Different terminals of the same user may be assigned due to different network types and the like. Different servers establish long connections.
  • the application call request may be first sent to the first server through the first long connection, and the first server finds that the second long connection of the second terminal is not local.
  • Application calls can be written to the message queue during maintenance.
  • the second server providing the message routing service is responsible for listening to the message queue.
  • the second server consumes the message (ie, the application call request) and parses the message ( That is, the application call request finds a third server having a second long connection, and the second server transmits a message (ie, an application call request) to the third server through a connection established with the third server.
  • the third server sends an application call request to the second terminal through the second long connection.
  • the message queue can be a public queue, that is, the server in the service platform can access, write a message (ie, an application call request) to the queue, and the server that provides the message routing service can consume the message in the message queue (ie, the application)
  • the request may be), which may be a storage space (such as a memory) of any server, which is not limited in this embodiment of the present application.
  • the second server that provides the second long connection with the second terminal is calculated by using the terminal identifier according to the preset allocation manner, and the second server that provides the message routing service may adopt the message (ie, the application call request)
  • the terminal identifier in the system calculates the server (ie, the third server) that establishes the second long connection according to the allocation manner.
  • the second terminal may process the message content in the following manner:
  • Sub-step S31 when the message content includes a processing object, calling an application corresponding to the target application identifier to process the processing object;
  • the processing object if the processing object is included in the message content, the corresponding application may be directly invoked to process the processing object.
  • the processing object is a short message (text)
  • the second terminal can call a text editor (application) to display the short message.
  • Sub-step S32 when the message content includes the processing object identifier, requesting, by the specified content server, the processing object corresponding to the processing object identifier;
  • Sub-step S33 the application corresponding to the target application identifier is invoked to process the processing object
  • the corresponding processing object may be requested by the content server, and the corresponding application is invoked to process the processing object.
  • processing object may be pre-stored in a content server, which is not necessarily a server in the service platform.
  • the processing object may be uploaded by the current user, or may be uploaded by another user, or may be stored by the content server itself, which is not limited in this embodiment of the present application.
  • the processing object is an image, which is uploaded by the current user to the content server, and the second terminal can call the image display (application) to display the image after requesting the image from the content server.
  • Sub-step S34 when the message content includes the processing object identifier and the processing state, requesting, by the preset content server, the processing object corresponding to the processing object identifier and in the processing state;
  • Sub-step S35 invoking an application corresponding to the target application identifier to process a processing object in the processing state.
  • the processing object includes the processing state, that is, the processing state
  • the processing object that is in the processing state may be requested from the content server, and the corresponding application is invoked to process the processing object.
  • the processing object is a video
  • the content server itself stores the video
  • the application of the first terminal plays the video to the time X (processing state)
  • the second terminal may request the video server after the video of the time X to call the video.
  • the player (app) plays the video at time X.
  • the second terminal may automatically request the content of the next episode to be played by the content server according to the processing object identifier of the current video.
  • the foregoing processing manner is only an example.
  • other processing manners may be set according to actual conditions.
  • the second terminal directly establishes a connection request corresponding to the first terminal, and then invokes the corresponding application.
  • the processing, and the like the embodiment of the present application does not limit this.
  • other processing methods may be used by those skilled in the art according to actual needs, and the embodiments of the present application do not limit this.
  • the SDK is used to encapsulate a unified interface, so that all applications that need to receive and push messages on the same terminal can share the service of the push platform, and the SDK implements registration, establishes a long connection, sends a message, and deregisters the application.
  • Interface, application integration SDK you can use these functions, the specific implementation is done by the SDK, the application itself does not need to care about the specific implementation, so that all implementations are defined by the SDK and the service platform to define the protocol, for the terminal
  • the application is transparent.
  • the traditional way is that each application needs to implement these functions by using these services.
  • the SDK is convenient to reduce the development cost of the services using the push platform, ensuring that all applications use a unified interface to ensure a long connection channel. This channel can be used for all application communications, greatly improving service efficiency.
  • the user can trigger the terminal to query the request by clicking on the control specified on the video application.
  • the service platform When the service platform detects the terminal query request, it can search for the terminal, such as the home TV, tablet, personal computer, other mobile phone, and its bound application.
  • the terminal such as the home TV, tablet, personal computer, other mobile phone, and its bound application.
  • the user can select the TV (target terminal identifier) and its video player (target application identifier) from the terminal and the application.
  • the mobile phone may generate an application call request according to the user's selection, and then send an application call request to the service platform, where the application call request includes the video name and its set number (processing object identifier) and play time (processing status).
  • the service platform can forward the application call request to the television (second terminal) through a message routing service.
  • the television requests the video website (content server) to be the video corresponding to the video name and its set number at the playing time, and calls the video player to play.
  • the response range of the TV is wider than that of the mobile phone, the user can continue to watch the video while doing housework, greatly improving the flexibility of the video playing, improving the user experience, and reducing the video viewing on the mobile phone while doing housework. Potential damage to the phone.
  • the video player calling the television continues to play the video.
  • the mobile phone can automatically trigger the terminal to query the request.
  • the service platform When the service platform detects the terminal query request, it can search for the terminal, such as the home TV, tablet, personal computer, other mobile phone, and its bound application.
  • the terminal such as the home TV, tablet, personal computer, other mobile phone, and its bound application.
  • the mobile phone can select a television (target terminal identifier) and its text editor from the terminal and the application. (target application identifier), and generate an application call request, and then send an application call request to the service platform, where the application call request includes a short message (processing object).
  • the service platform can forward the application call request to the television (second terminal) through a message routing service.
  • the television displays the text message according to the call text editor, which further improves the synchronization operation between the mobile phone and the television.
  • FIG. 3 a structural block diagram of an embodiment of a communication device between terminals of the present application is shown, which may specifically include the following modules:
  • the querying module 301 is configured to: when receiving the terminal query request sent by the first terminal, return one or more terminal identifiers and one or more applications associated with each terminal identifier to the first terminal according to the terminal query request Identification
  • the application call request receiving module 302 is configured to receive an application call request sent by the first terminal; the application call request includes a target terminal identifier selected from the one or more terminal identifiers, and one associated with the target terminal identifier Or target application identifier selected in multiple application identifiers, and message content;
  • the application call request sending module 303 is configured to send the application call request to the second terminal corresponding to the target terminal identifier, to drive the second terminal to invoke the application corresponding to the target application identifier to process the message content.
  • the apparatus may further include the following modules:
  • a registration request receiving module configured to receive a registration request
  • a terminal registration module configured to establish an association relationship between the user identifier and the terminal identifier when the registration request includes a user identifier and a terminal identifier;
  • the application registration module is configured to establish an association relationship between the terminal identifier and the application identifier when the registration request includes the terminal identifier and the application identifier.
  • the apparatus may further include the following modules:
  • a first long connection establishing module configured to establish a first long connection with the first terminal
  • a second long connection establishing module configured to establish a second long connection with the second terminal
  • the first long connection is used for communicating with the first terminal, including receiving a terminal query request, an application call request, returning one or more terminal identifiers, and one or more application identifiers associated with each terminal identifier;
  • the second long connection is for communicating with the second terminal, including sending an application call request.
  • the query module 301 can include the following modules:
  • An extraction module configured to extract a user identifier from the terminal query request
  • a search module configured to search for one or more terminal identifiers associated with the user identifier, and one or more application identifiers associated with each terminal identifier;
  • the returning module is configured to return the one or more terminal identifiers and one or more application identifiers associated with the respective terminal identifiers to the first terminal.
  • the application call request sending module 303 may include the following modules:
  • the long connection query module is configured to query, in the first server, whether the local second connection has communication with the second terminal corresponding to the target terminal identifier; if yes, the first sending module is invoked; if not, the call is written Queue module
  • a first sending module configured to send the application call request to the second terminal by using the second long connection
  • a write queue module configured to write the application call request to a preset message queue
  • a routing module configured to forward the application call request in the message queue to a third server having the second long connection in a second server;
  • the second sending module is configured to send the application call request to the second terminal by using the second long connection in the third server.
  • the message content may be generated based on a processing object of an application in the first terminal;
  • the second terminal may process the message content by calling the following module:
  • a first processing module configured to: when the message content includes a processing object, invoke an application corresponding to the target application identifier to process the processing object;
  • the first requesting module is configured to: when the message content includes the processing object identifier, request the processing object corresponding to the processing object identifier from the specified content server;
  • a second processing module configured to invoke an application corresponding to the target application identifier to process the processing object
  • a second requesting module configured to: when the content of the message includes a processing object identifier and a processing status, request, by the preset content server, a processing object that is in the processing state corresponding to the processing object identifier;
  • the third processing module is configured to invoke a processing object corresponding to the target application identifier to process the processing object in the processing state.
  • the processing object may include one or more of the following:
  • the processing state may include playing time information.
  • the first terminal may have a unified interface, and the first terminal registers by using the unified interface to establish a first long connection.
  • the second terminal has a unified interface, and the second terminal can register by using the unified interface, establish a second long connection, and invoke an application corresponding to the target application identifier to process the message content.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the present application also provides a computer readable recording medium on which a program for executing the above method is recorded.
  • the computer readable recording medium includes a form readable by a computer (eg, a computer) Any mechanism for storing or transmitting information.
  • a machine-readable medium includes read only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash storage media, electrical, optical, acoustic, or other forms of propagation signals (eg, carrier waves) , infrared signals, digital signals, etc.).
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

La présente invention concerne un procédé et un dispositif de communication entre des terminaux. Le procédé consiste à : lors de la réception d'une demande d'interrogation de terminal envoyée par un premier terminal, renvoyer, conformément à la demande d'interrogation de terminal, au premier terminal, un ou plusieurs identifiants de terminal et un ou plusieurs identifiants d'application associés à chacun des identifiants de terminal ; recevoir une demande d'appel d'application envoyée par le premier terminal, la demande d'appel d'application comprenant un identifiant de terminal cible sélectionné parmi le ou les identifiants de terminal, un identifiant d'application cible sélectionné parmi le ou les identifiants d'application associés audit identifiant de terminal cible, et un contenu de message ; envoyer la demande d'appel d'application à un second terminal correspondant à l'identifiant de terminal cible, de sorte à amener le second terminal à appeler une application correspondant à l'identifiant d'application cible pour traiter le contenu du message. Les modes de réalisation de la présente invention mettent en œuvre un héritage de contenu à traiter en vue d'une adaptation à différents besoins de traitement, ce qui améliore considérablement la simplicité de fonctionnement.
PCT/CN2016/078803 2015-04-13 2016-04-08 Procédé et dispositif de communication entre terminaux WO2016165584A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510174136.9A CN105743958A (zh) 2015-04-13 2015-04-13 一种终端之间的通信方法和装置
CN201510174136.9 2015-04-13

Publications (1)

Publication Number Publication Date
WO2016165584A1 true WO2016165584A1 (fr) 2016-10-20

Family

ID=56295899

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/078803 WO2016165584A1 (fr) 2015-04-13 2016-04-08 Procédé et dispositif de communication entre terminaux

Country Status (2)

Country Link
CN (1) CN105743958A (fr)
WO (1) WO2016165584A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111786963A (zh) * 2020-06-12 2020-10-16 青岛海尔科技有限公司 通信过程的实现方法和装置、存储介质及电子装置

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2017325928C1 (en) * 2016-09-15 2022-04-28 Nuts Holdings, Llc Encrypted userdata transit and storage
CN107395686B (zh) * 2017-06-28 2018-06-05 甘棠软件系统(上海)有限公司 切换长连接的方法、设备和系统
CN107172211A (zh) * 2017-07-07 2017-09-15 北京奇艺世纪科技有限公司 通信连接请求建立方法及服务器
CN108391242B (zh) * 2018-02-26 2021-10-19 青岛海信移动通信技术股份有限公司 一种远程控制方法和远程控制装置
CN108933838B (zh) * 2018-08-08 2022-07-29 网易(杭州)网络有限公司 应用数据处理方法及装置
CN109672738A (zh) * 2018-12-24 2019-04-23 成都四方伟业软件股份有限公司 一种基于多屏互动跨终端服务的方法与系统
CN111740887B (zh) * 2020-06-22 2022-09-23 广州三星通信技术研究有限公司 分发电子终端的未完任务的方法及设备
CN113590248A (zh) * 2021-07-22 2021-11-02 上汽通用五菱汽车股份有限公司 车载终端的投屏方法、装置和可读存储介质
CN114501449B (zh) * 2022-01-28 2024-02-09 Oppo广东移动通信有限公司 信息查询的方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050034159A1 (en) * 2002-12-20 2005-02-10 Texas Instruments Incorporated Implementing a hybrid wireless and coaxial cable network
CN101594594A (zh) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 一种实现对等设备间切换流媒体的局域网络系统及其实现方法
CN101668182A (zh) * 2009-10-20 2010-03-10 中国电信股份有限公司 在多类型终端间实现视频节目的位移方法及系统
CN104468494A (zh) * 2013-09-25 2015-03-25 华为终端有限公司 一种切换媒体播放设备的方法及设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437050A (zh) * 2008-11-27 2009-05-20 四川长虹电器股份有限公司 播放机远程控制系统及播放机远程控制方法
CN101729553B (zh) * 2009-11-19 2013-03-27 中兴通讯股份有限公司 实现终端远程控制的方法及终端服务器、控制和受控终端
CN104424244B (zh) * 2013-08-27 2019-09-27 卓易畅想(北京)科技有限公司 一种获取搜索结果的方法、装置与设备
CN103491179B (zh) * 2013-09-27 2017-01-18 百视通网络电视技术发展有限责任公司 基于Web的多屏互动方法及系统
CN103617285A (zh) * 2013-12-11 2014-03-05 百度在线网络技术(北京)有限公司 在移动终端中展现搜索结果的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050034159A1 (en) * 2002-12-20 2005-02-10 Texas Instruments Incorporated Implementing a hybrid wireless and coaxial cable network
CN101594594A (zh) * 2009-06-30 2009-12-02 中兴通讯股份有限公司 一种实现对等设备间切换流媒体的局域网络系统及其实现方法
CN101668182A (zh) * 2009-10-20 2010-03-10 中国电信股份有限公司 在多类型终端间实现视频节目的位移方法及系统
CN104468494A (zh) * 2013-09-25 2015-03-25 华为终端有限公司 一种切换媒体播放设备的方法及设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111786963A (zh) * 2020-06-12 2020-10-16 青岛海尔科技有限公司 通信过程的实现方法和装置、存储介质及电子装置

Also Published As

Publication number Publication date
CN105743958A (zh) 2016-07-06

Similar Documents

Publication Publication Date Title
WO2016165584A1 (fr) Procédé et dispositif de communication entre terminaux
EP2640099B1 (fr) Procédé, système et dispositif de fourniture d'un service de contenu multimédia
CN105335112B (zh) 多屏显示的信息处理和主控端内容发送方法、装置
WO2019090902A1 (fr) Appareil et procédé de partage d'écran, dispositif électronique, et support d'informations
CN104253814B (zh) 一种流媒体处理方法、服务器及浏览器
US9065666B2 (en) System and method of multi-media conferencing between universal plug and play (UPnP) enabled telephony devices and wireless area network (WAN) devices
WO2019128682A1 (fr) Système de messagerie convergente et procédé de traitement de message
WO2016050080A1 (fr) Procédé et système d'interaction en temps réel de visualisation de vidéos multi-utilisateurs
WO2018090978A1 (fr) Procédé de lecture et de commande auto-adaptatives, boîtier décodeur, et serveur de programme électronique
WO2013177734A1 (fr) Procédé, dispositif et système de traitement pour une liste de lecture de ressources multimédias dans un réseau local
US10412123B2 (en) Session initiation for multimedia services
CN109586929B (zh) 会议内容的传输方法及装置、电子设备、存储介质
US20200053419A1 (en) Enabling a Media Orchestration
US8908853B2 (en) Method and device for displaying information
EP2974159B1 (fr) Procédé, dispositif et système permettant une communication vocale
WO2016197955A1 (fr) Procédé et dispositif de multidiffusion de flux multimédia
US10708330B2 (en) Multimedia resource management method, cloud server and electronic apparatus
WO2015077983A1 (fr) Dispositif et procédé pour lire un élément multimédia dans un réseau domestique
CN109413120B (zh) 一种通信方法及装置、电子设备及服务器
JP5552171B2 (ja) ライブメディアストリームの時間シフト
US20190098351A1 (en) Method for managing the access right to an item of digital content
CN113918108A (zh) 投屏方法和相应电子设备及系统
KR20140034129A (ko) 다중 ip-허용 사용자 기기에서 ip 기반 원격통신의 멀티미디어 스트림을 처리하는 시스템 및 방법
KR20140117977A (ko) 엔스크린 서비스의 에이에스엠디를 지원하는 시스템 및 그 방법
WO2017096789A1 (fr) Procédé et dispositif de partage d'informations

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: 16779559

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: 16779559

Country of ref document: EP

Kind code of ref document: A1