WO2017185482A1 - 多媒体会话方法及装置 - Google Patents

多媒体会话方法及装置 Download PDF

Info

Publication number
WO2017185482A1
WO2017185482A1 PCT/CN2016/084862 CN2016084862W WO2017185482A1 WO 2017185482 A1 WO2017185482 A1 WO 2017185482A1 CN 2016084862 W CN2016084862 W CN 2016084862W WO 2017185482 A1 WO2017185482 A1 WO 2017185482A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
multimedia session
identifier information
session
smart
Prior art date
Application number
PCT/CN2016/084862
Other languages
English (en)
French (fr)
Inventor
汪斯涛
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017185482A1 publication Critical patent/WO2017185482A1/zh

Links

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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • 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/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1093In-session procedures by adding participants; by removing participants
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a multimedia session method and apparatus.
  • multimedia sessions can be conducted between terminals such as smart TVs, smart phones, and PADs.
  • terminals such as smart TVs, smart phones, and PADs.
  • smart TVs and smart phones are installed with social applications such as QQ and WeChat, smart TVs and smart phones.
  • the mobile phone can establish a video session connection between the smart TV and the smart phone by logging in to the corresponding application account to implement a video session. Since the user needs to input the corresponding user name, password, and the like when logging in the application account, the operation of establishing a multimedia session between the terminals is not simple, and the efficiency of establishing the multimedia session is low.
  • the main object of the present invention is to provide a multimedia session method and apparatus, which aims to solve the technical problem of low efficiency of establishing a multimedia session in the prior art.
  • the present invention provides a multimedia session method, and the multimedia session method includes the following steps:
  • the server Obtaining, by the server, the first identifier information corresponding to the first terminal and the second identifier information corresponding to the second terminal in the multimedia session command, where the multimedia session command is sent by the second terminal, where the multimedia session is The command is generated by the second terminal according to the first identifier information corresponding to the first terminal;
  • the first terminal and the second terminal are associated with each other according to the first identifier information and the second identifier information, and the first identifier information and the second identifier information are associated and saved.
  • the method further includes:
  • the method further includes:
  • the step of establishing a multimedia session connection between the first terminal and the second terminal includes:
  • the step of establishing a multimedia session connection between the first terminal and the second terminal when the multimedia session confirmation information is received includes:
  • the present invention also provides a multimedia session method, where the multimedia session method includes the following steps:
  • the method before the step of associating the first terminal with the second terminal according to the first identifier information and the second identifier information, the method further includes:
  • step of associating the first terminal with the second terminal is performed when the first identifier information and the second identifier information that are saved in association are not queried.
  • the method further includes:
  • the step of establishing a multimedia session connection between the first terminal and the second terminal includes:
  • the step of establishing a multimedia session connection between the first terminal and the second terminal when the multimedia session confirmation information is received includes:
  • the present invention further provides a multimedia session device, where the multimedia session device includes:
  • an acquiring module configured to: when receiving the multimedia session command sent by the second terminal, acquire first identifier information corresponding to the first terminal in the multimedia session command, and second identifier information corresponding to the second terminal;
  • An association module configured to associate the first terminal with the second terminal according to the first identifier information and the second identifier information
  • a processing module configured to establish a multimedia session connection between the first terminal and the second terminal, and transmit multimedia session data between the first terminal and the second terminal.
  • the multimedia session device further includes:
  • a querying module configured to query whether the first identifier information and the second identifier information are associated with each other in the correspondence relationship of the pre-stored identifier information
  • the association module is configured to associate the first terminal and the second terminal when the first identifier information and the second identifier information that are saved in association are not queried.
  • the processing module is further configured to:
  • the first terminal and the second terminal are established according to the first identifier information and the second identifier information saved in association Multimedia session connection between terminals.
  • the processing module comprises:
  • a sending unit configured to send a multimedia session invitation to the first terminal, where the first terminal feeds back the multimedia session confirmation information when receiving the multimedia session invitation;
  • a processing unit configured to establish a multimedia session connection between the first terminal and the second terminal when receiving the multimedia session confirmation information.
  • the processing unit comprises:
  • Obtaining a subunit configured to acquire a session type corresponding to the multimedia session confirmation information when receiving the multimedia session confirmation information
  • a session subunit configured to establish, according to the obtained session type, a multimedia session connection corresponding to the session type between the first terminal and the second terminal.
  • the multimedia session method and apparatus of the present invention when the second terminal is to perform a multimedia session with the first terminal, the second terminal generates a multimedia session command according to the first identification information corresponding to the first terminal, and sends the multimedia session command to the server.
  • the server receives the multimedia session command, the first identifier information corresponding to the first terminal and the second identifier information corresponding to the second terminal included in the multimedia session command are obtained, and the first identifier information and the second identifier information are obtained according to the first identifier information and the second identifier information.
  • FIG. 1 is a flow diagram of a first embodiment of a multimedia session method according to the present invention.
  • FIG. 2 is a schematic flowchart of a second embodiment of a multimedia session method according to the present invention.
  • FIG. 3 is a schematic diagram of a refinement process for establishing a multimedia session connection between the first terminal and the second terminal in a third embodiment of the multimedia session method of the present invention
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a multimedia session device according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a second embodiment of a multimedia session apparatus according to the present invention.
  • FIG. 6 is a schematic diagram of a refinement function module of a processing module in a third embodiment of a multimedia session device according to the present invention.
  • the terminal in the present invention includes, but is not limited to, a device having a multimedia session function such as a smart TV, a smart phone, or a PAD (Tablet).
  • a device having a multimedia session function such as a smart TV, a smart phone, or a PAD (Tablet).
  • Each of the terminals is configured with a unique corresponding identifier information, and the identifier information may be a two-dimensional code, a MAC address information, or the like, which is not limited herein.
  • each terminal is provided with a video data collecting device such as a camera and a microphone, and an audio data collecting device, or the video data collecting device and the audio data collecting device are externally connected to the terminal.
  • each terminal is connected to a corresponding server of the multimedia session through a network.
  • the embodiments of the present invention are described in detail below by taking the scenario where the first terminal is a smart TV and the second terminal is a smart phone. It can be understood by those skilled in the art that the embodiments of the present invention can also be applied to other scenarios.
  • the first terminal may be a desktop computer
  • the second terminal may be a PAD, which is not limited in the present invention.
  • FIG. 1 is a schematic flowchart of a first embodiment of a multimedia session method according to the present invention.
  • the multimedia session method includes the following steps:
  • step S10 the server obtains the first identifier information corresponding to the first terminal and the second identifier information corresponding to the second terminal in the multimedia session command, when receiving the multimedia session command sent by the second terminal;
  • the smart phone stores in advance the first identification information corresponding to the smart TV. For example, when the smart TV transmits the corresponding two-dimensional code to the smart phone through the multimedia message, and the smart phone receives the two-dimensional code corresponding to the smart television, the smart phone scans the two-dimensional code to obtain the first identification information corresponding to the smart television. And saving the first identification information corresponding to the smart TV.
  • the smart phone When the user of the smart phone wants to perform a video session with the user of the smart TV, the smart phone generates a multimedia session command according to the first identification information corresponding to the smart TV, and transmits the multimedia session command to the server.
  • the multimedia session command includes first identification information corresponding to the smart TV and second identification information corresponding to the smart phone.
  • the server When the server receives the multimedia session command sent by the smart phone, the server acquires the first identification information corresponding to the smart TV included in the multimedia session command, and the second identification information corresponding to the smart phone.
  • Step S20 associating the first terminal with the second terminal according to the first identifier information and the second identifier information
  • the server When the server obtains the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone, the smart TV and the smart phone are associated according to the first identification information and the second identification information, that is, the smart TV and the smart phone are established. The match between the two.
  • the server may save the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone, and generate a matching relationship between the smart television and the smart phone.
  • Step S30 Establish a multimedia session connection between the first terminal and the second terminal, and transmit multimedia session data between the first terminal and the second terminal.
  • the server After the smart TV and the smart phone are associated, the server starts the two-way first thread processing task and the second thread processing task, and establishes a multimedia session connection between the smart TV and the smart phone. For example, the server allocates a corresponding multimedia session room number to the smart TV and the smart phone; or, the server queries, from the pre-stored unique multimedia session room number of each pair of terminals, whether there is a multimedia conversation room uniquely corresponding to the smart TV and the smart phone. number. When the server assigns a corresponding multimedia session room number to the smart TV and the smart phone, or when the server queries the unique multimedia session room number of the smart TV and the smart phone, the server sends the multimedia session room number to the smart TV. With a smartphone, establish a multimedia session connection between a smart TV and a smartphone.
  • the server transmits the multimedia session data to the smart phone; when the smart phone sends the multimedia session data to the server, the server The multimedia session data is transmitted to the smart TV to perform a multimedia session between the smart TV and the smart phone.
  • the server transmits the video data sent by the smart phone to the smart TV, and after receiving the video data, the smart TV displays the video on the display screen of the smart TV. The video picture corresponding to the data.
  • the smart TV displays its own video picture, and sends the video data corresponding to its own video picture to the server, and transmits it to the smart phone through the server.
  • the smart phone when the smart phone is to perform a multimedia session with the smart TV, the smart phone generates a multimedia session command according to the first identification information corresponding to the smart television, and sends the multimedia session command to the server, and the server receives the multimedia session. And acquiring the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone, and associating the smart phone with the smart TV according to the first identification information and the second identification information, and establishing the smart
  • the multimedia session connection between the TV and the smart phone establishes a multimedia session, thereby eliminating the operation of the user to log in to the application account such as QQ and WeChat, and improving the efficiency of establishing the multimedia session.
  • the method further includes:
  • Step S40 Query whether the first identifier information and the second identifier information are associated with each other in the correspondence relationship of the pre-stored identifier information;
  • step S50 when the first identification information and the second identification information saved in association are not queried, the step S20 is performed.
  • the correspondence between the identification information corresponding to each terminal is pre-stored in the server.
  • the server pre-stores the identification information correspondence table, and the identification information corresponding to the pair of terminals is stored in the association information correspondence table.
  • the identification information correspondence table further stores an ID number, a transmission address, a terminal user name, and the like of each pair of terminals.
  • the server associates the smart TV with the smart phone to establish a smart TV and smart The matching relationship between mobile phones.
  • the server associates the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone, and generates a matching relationship between the smart TV and the smart phone.
  • the method further includes:
  • Step a when the first identification information and the second identification information saved in association are queried, the step S30 is performed.
  • the server When the server queries the first identification information corresponding to the associated smart TV and the second identification information corresponding to the smart phone, the server generates the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone. The matching relationship between smart TV and smart phone. After that, the server establishes a multimedia session connection between the smart TV and the smart phone, and performs a multimedia session between the smart TV and the smart phone.
  • the server when the server queries the first identification information corresponding to the smart TV that is associated and saved, and the second identifier information corresponding to the smart phone in the pre-stored identification information correspondence relationship, the server may directly save the information according to the association.
  • the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone establish a multimedia session between the smart TV and the smart phone, thereby further improving the efficiency of establishing the multimedia session.
  • the step S30 includes:
  • Step S31 sending a multimedia session invitation to the first terminal, for the first terminal to feed back the multimedia session confirmation information when receiving the multimedia session invitation;
  • Step S32 Establish a multimedia session connection between the first terminal and the second terminal when receiving the multimedia session confirmation information.
  • the server after the server associates the smart TV with the smart phone to generate a matching relationship between the smart TV and the smart phone, the server sends the multimedia session invitation to the smart TV.
  • the smart TV When the smart TV receives the multimedia session invitation sent by the server, the smart TV invites a response operation, and feeds back the corresponding multimedia session confirmation information to the server. For example, the smart TV sends a response message confirming acceptance of the multimedia session invitation to the server.
  • the step S32 includes:
  • Step b when receiving the multimedia session confirmation information, acquiring a session type corresponding to the multimedia session confirmation information;
  • Step c Establish a multimedia session connection corresponding to the session type between the first terminal and the second terminal according to the obtained session type.
  • the smart TV When the smart TV receives the multimedia session invitation sent by the server, the preset multimedia session selection interface is displayed.
  • the multimedia session selection interface is provided with a plurality of selection controls, for example, including a video session selection control, an audio session selection control, a rejection session control, and the like.
  • the user can click on one of the controls as needed, such as when the user clicks to reject the session control, then terminates the multimedia session connection.
  • the smart TV detects that the session type selection instruction triggered based on the multimedia session selection interface is detected.
  • the smart TV detects a session type selection instruction triggered based on the multimedia session selection interface, the multimedia session confirmation message is sent to the server.
  • the server When the server receives the multimedia session confirmation information sent by the smart TV, the server acquires the session type corresponding to the multimedia session confirmation information. For example, when the user clicks on the video session selection control, the server obtains the session type corresponding to the multimedia session confirmation information as a video session; when the user clicks on the audio session selection control, the server acquires the corresponding multimedia session confirmation information.
  • the session type is an audio session.
  • the server After the server obtains the session type, the server starts the first thread processing task, and sends the ID number of the smart TV, the user name corresponding to the smart TV, the transmission address corresponding to the smart TV, and the session type to the smart phone.
  • the server starts the second thread processing task, and sends the ID number of the smart phone, the user name corresponding to the smart phone, the transmission address corresponding to the smart phone, and the session type to the smart TV, and establishes a relationship between the smart TV and the smart phone.
  • the multimedia session connection corresponding to the session type.
  • the smart phone transmits the first multimedia session data collected by the audio and video data collecting device such as a camera and a microphone to the server, and when the server receives the first multimedia session data, the first multimedia is received by the server.
  • the body session data is transmitted to the smart TV.
  • the smart television sends the second multimedia session data collected by the audio and video data collection device, such as a camera and a microphone, to the server, and the second multimedia session is received by the server when receiving the second multimedia session data. Data is transferred to the smartphone.
  • the server when the server receives the control command or request sent by the smart TV or the smart phone, the server performs a corresponding operation according to the control command or the request, and sends a corresponding control instruction to the smart TV and/or the smart phone. For example, when the user corresponding to the smart TV wants to exit the multimedia session, the user clicks the end multimedia session control on the display interface of the smart TV, triggers the termination of the multimedia session request, and sends the terminating multimedia session request to the server. Upon receiving the termination multimedia session request, the server terminates the multimedia session connection between the smart TV and the smart phone, and sends a corresponding termination multimedia session command to the smart TV and the smart phone. The smart TV and the smart phone exit the current multimedia session upon receiving the termination multimedia session command.
  • the server when receiving the multimedia session confirmation information fed back by the smart TV, acquires the session type corresponding to the multimedia session confirmation information, and then establishes between the smart TV and the smart phone according to the acquired session type.
  • the multimedia session connection corresponding to the session type performs a multimedia session between the smart TV and the smart phone. Therefore, while ensuring the rapid establishment of the multimedia session, different types of multimedia sessions can be implemented according to the user requirements, thereby improving the user experience.
  • FIG. 4 is a schematic diagram of functional modules of a first embodiment of a multimedia session device according to the present invention.
  • the multimedia session device includes:
  • the obtaining module 10 is configured to: when receiving the multimedia session command sent by the second terminal, acquire first identifier information corresponding to the first terminal in the multimedia session command, and second identifier information corresponding to the second terminal;
  • the smart phone stores in advance the first identification information corresponding to the smart TV. For example, when the smart TV transmits the corresponding two-dimensional code to the smart phone through the multimedia message, and the smart phone receives the two-dimensional code corresponding to the smart television, the smart phone scans the two-dimensional code to obtain the first identification information corresponding to the smart television. And saving the first identification information corresponding to the smart TV.
  • the smart phone When the user of the smart phone wants to perform a video session with the user of the smart TV, the smart phone generates a multimedia session command according to the first identification information corresponding to the smart TV, and transmits the multimedia session command to the server.
  • the multimedia session command includes first identification information corresponding to the smart TV and second identification information corresponding to the smart phone.
  • the obtaining module 10 acquires the first identification information corresponding to the smart TV included in the multimedia session command, and the second identification information corresponding to the smart phone.
  • the association module 20 is configured to associate the first terminal and the second terminal according to the first identifier information and the second identifier information;
  • the association module 20 associates the smart TV with the smart phone according to the first identification information and the second identification information, that is, establishes The matching relationship between smart TV and smart phone.
  • the association module 20 may associate the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone to generate a matching relationship between the smart television and the smart phone.
  • the processing module 30 is configured to establish a multimedia session connection between the first terminal and the second terminal, and transmit multimedia session data between the first terminal and the second terminal.
  • the processing module 30 After the association module 20 associates the smart TV with the smart phone, the processing module 30 starts the two-way first thread processing task and the second thread processing task, and establishes a multimedia session connection between the smart TV and the smart phone. For example, the processing module 30 allocates a corresponding multimedia session room number to the smart TV and the smart phone; or, the processing module 30 queries whether the smart TV and the smart phone uniquely exist from the multimedia session room number uniquely corresponding to each pair of terminals stored in advance. Multimedia session room number. When the processing module 30 successfully assigns a corresponding multimedia session room number to the smart TV and the smart phone, or when the processing module 30 queries the multimedia session room number uniquely corresponding to the smart TV and the smart phone, the processing module 30 processes the multimedia session. The room number is sent to the smart TV and the smart phone to establish a multimedia session connection between the smart TV and the smart phone.
  • the processing module 30 transmits the multimedia session data to the smart phone; when the smart phone sends the multimedia session data to the server.
  • the processing module 30 transmits the multimedia session data to the smart TV to perform a multimedia session between the smart TV and the smart phone. For example, after a video session connection is established between the smart TV and the smart phone, the processing module 30 transmits the video data sent by the smart phone to the smart TV, and after receiving the video data, the smart TV displays on the display screen of the smart television. The video screen corresponding to the video data is displayed. At the same time, the smart TV displays its own video picture and sends the video data corresponding to its own video picture to the server, and the processing module 30 transmits the video data to the smart phone, and the smart phone displays the video picture corresponding to the video data.
  • the solution provided by the embodiment when the smart phone is to perform a multimedia session with the smart TV, the smart phone generates a multimedia session command according to the first identification information corresponding to the smart TV, and sends the multimedia session command to the server.
  • the server receives the multimedia session command
  • the acquiring module 10 acquires the first identification information corresponding to the smart TV included in the multimedia session command and the second identification information corresponding to the smart phone
  • the association module 20 is configured according to the first identification information and the first The second identification information is associated with the smart phone and the smart TV.
  • the processing module 30 establishes a multimedia session connection between the smart TV and the smart phone, and establishes a multimedia session between the smart TV and the smart phone, thereby eliminating user login QQ, WeChat, etc.
  • the operation of the application account improves the efficiency of establishing a multimedia session.
  • the multimedia session device further includes:
  • the querying module 40 is configured to query whether the first identifier information and the second identifier information are associated with each other in the pre-stored identifier information correspondence relationship;
  • the association module 20 is configured to associate the first terminal and the second terminal when the first identifier information and the second identifier information that are saved in association are not queried.
  • the correspondence between the identification information corresponding to each terminal is pre-stored in the server.
  • the server pre-stores the identification information correspondence table, and the identification information corresponding to the pair of terminals is stored in the association information correspondence table.
  • the identification information correspondence table further stores an ID number, a transmission address, a terminal user name, and the like of each pair of terminals.
  • the association module 20 associates the smart TV with the smart phone. Establish a match between smart TV and smartphone.
  • the association module 20 associates the first identification information corresponding to the smart TV and the second identification information corresponding to the smart phone, and generates a matching relationship between the smart television and the smart phone.
  • processing module 30 is further configured to:
  • the first terminal and the second terminal are established according to the first identifier information and the second identifier information saved in association Multimedia session connection between terminals.
  • the processing module 30 When the query module 40 queries the first identification information corresponding to the associated smart TV and the second identification information corresponding to the smart phone, the processing module 30 directly directly stores the first identification information corresponding to the smart TV and the corresponding corresponding to the smart phone. The second identification information generates a matching relationship between the smart TV and the smart phone. Thereafter, the processing module 30 establishes a multimedia session connection between the smart TV and the smart phone, and performs a multimedia session between the smart TV and the smart phone.
  • the processing module 30 can directly The first identification information corresponding to the saved smart TV and the second identification information corresponding to the smart phone are used to establish a multimedia session between the smart TV and the smart phone, thereby further improving the efficiency of establishing the multimedia session.
  • the processing module 30 includes:
  • the sending unit 31 is configured to send a multimedia session invitation to the first terminal, where the first terminal feeds back the multimedia session confirmation information when receiving the multimedia session invitation;
  • the processing unit 32 is configured to establish a multimedia session connection between the first terminal and the second terminal when receiving the multimedia session confirmation information.
  • the sending unit 31 sends a multimedia session invitation to the smart TV.
  • the smart TV When the smart TV receives the multimedia session invitation sent by the server, the smart TV invites a response operation, and feeds back the corresponding multimedia session confirmation information to the server. For example, the smart TV sends a response message confirming acceptance of the multimedia session invitation to the server.
  • the processing unit 32 When the server receives the multimedia session confirmation message sent by the smart TV, the processing unit 32 establishes a multimedia session connection between the smart TV and the smartphone. Specifically, in this embodiment, the processing unit 32 includes:
  • Obtaining a subunit configured to acquire a session type corresponding to the multimedia session confirmation information when receiving the multimedia session confirmation information
  • a session subunit configured to establish, according to the obtained session type, a multimedia session connection corresponding to the session type between the first terminal and the second terminal.
  • the smart TV When the smart TV receives the multimedia session invitation sent by the server, the preset multimedia session selection interface is displayed.
  • the multimedia session selection interface is provided with a plurality of selection controls, for example, including a video session selection control, an audio session selection control, a rejection session control, and the like.
  • the user can click on one of the controls as needed, such as when the user clicks to reject the session control, then terminates the multimedia session connection.
  • the smart TV detects that the session type selection instruction triggered based on the multimedia session selection interface is detected.
  • the smart TV detects a session type selection instruction triggered based on the multimedia session selection interface, the multimedia session confirmation message is sent to the server.
  • the acquiring subunit acquires the session type corresponding to the multimedia session confirmation information. For example, when the user clicks on the video session selection control, the acquisition sub-unit obtains the session type corresponding to the multimedia session confirmation information as a video session; when the user clicks on the audio session selection control, the acquisition sub-unit acquires the multimedia session.
  • the session type corresponding to the confirmation message is an audio session.
  • the session sub-unit After the obtaining sub-unit obtains the session type, the session sub-unit starts the first thread processing task, and sends the ID number of the smart TV, the user name corresponding to the smart TV, the transmission address corresponding to the smart TV, and the session type to the smart phone. At the same time, the session sub-unit starts the second thread processing task, and sends the ID number of the smart phone, the user name corresponding to the smart phone, the transmission address corresponding to the smart phone, and the session type to the smart TV, and establishes a relationship between the smart TV and the smart phone. A multimedia session connection corresponding to the session type.
  • the smart phone transmits the first multimedia session data collected by the audio and video data collecting device such as a camera or a microphone to the server, and the session subunit transmits the first multimedia session data to the smart TV.
  • the smart television transmits the second multimedia session data collected by the audio and video data collecting device such as a camera and a microphone to the server, and the session subunit transmits the second multimedia session data to the smart phone.
  • the server when the server receives the multimedia session confirmation information fed back by the smart TV, the acquiring sub-unit obtains the session type corresponding to the multimedia session confirmation information, and then the session sub-unit establishes the smart TV and the smart according to the acquired session type.
  • the multimedia session connection between the mobile phone and the session type is performed, and the multimedia session between the smart TV and the smart phone is performed. Therefore, while ensuring the rapid establishment of the multimedia session, different types of multimedia sessions can be realized according to the user requirements, thereby improving The user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

一种多媒体会话方法和装置,所述多媒体会话方法包括以下步骤:服务器在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息;根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端;建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据,提高了建立多媒体会话的效率。

Description

多媒体会话方法及装置
技术领域
本发明涉及通信技术领域,尤其涉及一种多媒体会话方法及装置。
背景技术
随着科技的发展,智能电视、智能手机、PAD(平板电脑)等终端之间可以进行多媒体会话,例如,当智能电视与智能手机都安装有QQ、微信等社交类应用时,智能电视与智能手机可以通过登录相应的应用账号,建立智能电视与智能手机之间的视频会话连接,实现视频会话。由于在登录应用账号时,用户需要输入相应的用户名、密码等信息,使得终端之间建立多媒体会话的操作不简捷,建立多媒体会话的效率低。
发明内容
本发明的主要目的在于提出一种多媒体会话方法及装置,旨在解决现有技术中建立多媒体会话的效率低的技术问题。
为实现上述目的,本发明提供一种多媒体会话方法,所述多媒体会话方法包括以下步骤:
服务器在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息,其中,所述多媒体会话命令由所述第二终端根据所述第一终端对应的第一标识信息所生成;
根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端,将所述第一标识信息和所述第二标识信息关联保存,生成所述第一终端与所述第二终端之间的匹配关系;
建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
优选地,所述根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端,将所述第一标识信息和所述第二标识信息关联保存,生成所述第一终端与所述第二终端之间的匹配关系的步骤之前,还包括:
查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述关联所述第一终端与所述第二终端,将所述第一标识信息和所述第二标识信息关联保存,生成所述第一终端与所述第二终端之间的匹配关系的步骤。
优选地,所述查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息的步骤之后,还包括:
在查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤。
优选地,所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤包括:
发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
优选地,所述在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接的步骤包括:
在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
此外,为实现上述目的,本发明还提出一种多媒体会话方法,所述多媒体会话方法包括以下步骤:
服务器在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息;
根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端;
建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
优选地,所述根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端的步骤之前,还包括:
查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述关联所述第一终端与所述第二终端的步骤。
优选地,所述查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息的步骤之后,还包括:
在查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤。
优选地,所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤包括:
发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
优选地,所述在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接的步骤包括:
在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
此外,为实现上述目的,本发明还提出一种多媒体会话装置,所述多媒体会话装置包括:
获取模块,用于在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息;
关联模块,用于根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端;
处理模块,用于建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
优选地,所述多媒体会话装置还包括:
查询模块,用于查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
所述关联模块,用于在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,关联所述第一终端以及所述第二终端。
优选地,所述处理模块还用于:
在查询到关联保存的所述第一标识信息以及所述第二标识信息时,根据关联保存的所述第一标识信息以及所述第二标识信息,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
优选地,所述处理模块包括:
发送单元,用于发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
处理单元,用于在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
优选地,所述处理单元包括:
获取子单元,用于在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
会话子单元,用于根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
本发明提出的多媒体会话方法和装置,当第二终端要与第一终端进行多媒体会话时,第二终端根据第一终端对应的第一标识信息生成多媒体会话命令,并发送该多媒体会话命令至服务器,当服务器接收到该多媒体会话命令时,获取该多媒体会话命令中包含的第一终端对应的第一标识信息以及第二终端对应的第二标识信息,并根据第一标识信息以及第二标识信息关联第一终端和第二终端,建立第一终端以及第二终端之间的多媒体会话连接,建立多媒体会话,因此,省去了用户登录QQ、微信等应用账号的操作,从而提高了建立多媒体会话的效率。
附图说明
图1为本发明多媒体会话方法第一实施例的流示意图;
图2为本发明多媒体会话方法第二实施例的流程示意图;
图3为本发明多媒体会话方法第三实施例中建立所述第一终端与所述第二终端之间的多媒体会话连接的细化流程示意图;
图4为本发明多媒体会话装置第一实施例的功能模块示意图;
图5为本发明多媒体会话装置第二实施例的功能模块示意图;
图6为本发明多媒体会话装置第三实施例中处理模块的细化功能模块示意图。
本发明目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明中的终端包括但不限于智能电视、智能手机、PAD(平板电脑)等具有多媒体会话功能的设备。每个终端均预先设置有唯一对应的标识信息,该标识信息可以为二维码、MAC地址信息等,在此不作限制。同时,每个终端上均设置有摄像头、麦克风等视频数据采集装置和音频数据采集装置,或者将视频数据采集装置和音频数据采集装置外接于终端上。并且,每个终端均通过网络连接至多媒体会话的相应服务器。下面以第一终端为智能电视,第二终端为智能手机的情景为例对本发明各实施例进行详细说明。本领域技术人员可以理解的是,本发明各实施例还可以应用在其他情景,例如,第一终端可以为台式计算机,第二终端可以为PAD,在本发明中不作限制。
本发明提供一种多媒体会话方法,参照图1,图1为本发明多媒体会话方法第一实施例的流程示意图。
在该实施例中,所述多媒体会话方法包括以下步骤:
步骤S10,服务器在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息;
本实施例中,智能手机预先存储有智能电视对应的第一标识信息。例如,当智能电视将对应的二维码通过彩信方式发送至智能手机,智能手机接收到智能电视对应的二维码时,智能手机扫描该二维码,获取智能电视对应的第一标识信息,并保存智能电视对应的第一标识信息。
当智能手机的用户要与智能电视的用户进行视频会话时,智能手机根据智能电视对应的第一标识信息生成多媒体会话命令,并传输该多媒体会话命令至服务器。其中,该多媒体会话命令包括智能电视对应的第一标识信息以及智能手机对应的第二标识信息。
当服务器接收到智能手机发送的多媒体会话命令时,服务器获取该多媒体会话命令中包含的智能电视对应的第一标识信息,以及智能手机对应的第二标识信息。
步骤S20,根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端;
当服务器获取到智能电视对应的第一标识信息,以及智能手机对应的第二标识信息时,根据第一标识信息和第二标识信息,关联智能电视与智能手机,也即建立智能电视与智能手机之间的匹配关系。优选地,服务器可将智能电视对应的第一标识信息,以及智能手机对应的第二标识信息关联保存,生成智能电视与智能手机之间的匹配关系。
步骤S30,建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
在关联智能电视与智能手机后,服务器开启双向的第一线程处理任务和第二线程处理任务,建立智能电视与智能手机之间的多媒体会话连接。例如,服务器为智能电视与智能手机分配对应的一个多媒体会话房间号;或者,服务器从预先保存的各对终端唯一对应的多媒体会话房间号中查询是否存在智能电视与智能手机唯一对应的多媒体会话房间号。当服务器为智能电视与智能手机分配对应的一个多媒体会话房间号成功时,或者,当服务器查询到智能电视与智能手机唯一对应的多媒体会话房间号时,服务器将该多媒体会话房间号发送至智能电视与智能手机,建立智能电视与智能手机之间的多媒体会话连接。
智能电视与智能手机之间建立了多媒体会话连接后,当智能电视将多媒体会话数据发送至服务器时,服务器将该多媒体会话数据传输至智能手机;当智能手机将多媒体会话数据发送至服务器后,服务器将该多媒体会话数据传输至智能电视,从而进行智能电视与智能手机之间的多媒体会话。例如,当智能电视与智能手机之间建立了视频会话连接后,服务器将智能手机发送的视频数据传输至智能电视,智能电视在接收到该视频数据后,在智能电视的显示屏上显示该视频数据对应的视频画面。同时,智能电视显示自身的视频画面,并将自身的视频画面对应的视频数据发送至服务器,经服务器传输至智能手机显示。
本实施例提供的方案,当智能手机要与智能电视进行多媒体会话时,智能手机根据智能电视对应的第一标识信息生成多媒体会话命令,并发送该多媒体会话命令至服务器,服务器在接收到该多媒体会话命令时,获取该多媒体会话命令中包含的智能电视对应的第一标识信息以及智能手机对应的第二标识信息,并根据第一标识信息以及第二标识信息关联智能手机与智能电视,建立智能电视与智能手机之间的多媒体会话连接,建立多媒体会话,从而省去了用户登录QQ、微信等应用账号的操作,提高了建立多媒体会话的效率。
进一步地,如图2所示,基于第一实施例提出本发明多媒体会话方法第二实施例,在本实施例中,所述步骤S20之前,还包括:
步骤S40,查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
步骤S50,在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述步骤S20。
在本实施例中,服务器中预存了各个终端对应的标识信息之间的对应关系,例如,服务器预存有标识信息对应表,该标识信息对应表中关联保存了各对终端对应的标识信息。优选地,该标识信息对应表中还关联保存了各对终端的ID号、传输地址、终端用户名称等。当服务器获取到智能电视对应的第一标识信息,以及智能手机对应的第二标识信息时,查询预存的标识信息对应关系中是否关联保存了智能电视对应的第一标识信息以及智能手机对应的第二标识信息。
当未查询到关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息时,也即智能电视与智能手机未关联时,服务器关联智能电视与智能手机,建立智能电视与智能手机之间的匹配关系。优选地,服务器将智能电视对应的第一标识信息,以及智能手机对应的第二标识信息关联保存,生成智能电视与智能手机之间的匹配关系。
进一步地,在本实施例中,所述步骤S30之后,还包括:
步骤a,在查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述步骤S30。
当服务器查询到关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息时,服务器根据关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息,生成智能电视与智能手机之间的匹配关系。之后,服务器建立智能电视与智能手机之间的多媒体会话连接,进行智能电视与智能手机之间的多媒体会话。
本实施例提供的方案,当服务器在预存的标识信息对应关系中查询到关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息时,则服务器可直接根据关联保存的的智能电视对应的第一标识信息以及智能手机对应的第二标识信息,建立智能电视与智能手机之间的多媒体会话,从而进一步提高了建立多媒体会话的效率。
进一步地,如图3所示,基于第一实施例提出本发明多媒体会话方法第三实施例,在本实施例中,所述步骤S30包括:
步骤S31,发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
步骤S32,在接收到所述多媒体会话确认信息时,建立所述第一终端与所述第二终端之间的多媒体会话连接。
在本实施例中,当服务器关联了智能电视与智能手机,生成智能电视与智能手机之间的匹配关系后,服务器发送多媒体会话邀请至智能电视。
当智能电视接收到服务器发送的多媒体会话邀请时,对该多媒体会话邀请进行响应操作,反馈相应的多媒体会话确认信息至服务器。例如,智能电视发送确认接受多媒体会话邀请的响应消息至服务器。
当服务器接收到智能电视发送的多媒体会话确认信息时,建立智能电视与智能手机之间的多媒体会话连接。具体地,本实施例中,所述步骤S32包括:
步骤b,在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
步骤c,根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
当智能电视接收到服务器发送的多媒体会话邀请时,显示预设的多媒体会话选择界面。该多媒体会话选择界面上设置有多个选择控件,例如,包括视频会话选择控件、音频会话选择控件、拒绝会话控件等。用户可根据需要点击其中的某一个控件,比如当用户点击拒绝会话控件时,则终止多媒体会话连接。当用户点击视频会话选择控件或音频会话选择控件,视为智能电视侦测到基于多媒体会话选择界面触发的会话类型选择指令。当智能电视侦测到基于多媒体会话选择界面触发的会话类型选择指令时,发送多媒体会话确认信息至服务器。
当服务器接收到智能电视发送的多媒体会话确认信息时,服务器获取该多媒体会话确认信息对应的会话类型。例如,当用户点击了视频会话选择控件时,则服务器获取到该多媒体会话确认信息对应的会话类型为视频会话;当用户点击了音频会话选择控件时,则服务器获取到该多媒体会话确认信息对应的会话类型为音频会话。
当服务器获取到会话类型后,服务器开启第一线程处理任务,将智能电视的ID号、智能电视对应的用户名称、智能电视对应的传输地址以及会话类型发送至智能手机。同时,服务器开启第二线程处理任务,将智能手机的ID号、智能手机对应的用户名称、智能手机对应的传输地址以及会话类型发送至智能电视,建立起智能电视与智能手机之间的与该会话类型对应的多媒体会话连接。
之后,智能手机将通过摄像头、麦克风等音频和视频数据采集装置采集到的第一多媒体会话数据发送至服务器,服务器在接收到该第一多媒体会话数据时,将该第一多媒体会话数据传输至智能电视。智能电视将通过摄像头、麦克风等音频和视频数据采集装置采集到的第二多媒体会话数据发送至服务器,服务器在接收到该第二多媒体会话数据时,将该第二多媒体会话数据传输至智能手机。
进一步地,当服务器接收到智能电视或智能手机发送的控制命令或请求时,服务器根据该控制命令或请求执行相应操作,发送相应的控制指令至智能电视和/或智能手机。例如,当智能电视对应的用户要退出多媒体会话时,用户点击智能电视的显示界面上的结束多媒体会话控件,触发终止多媒体会话请求,并将该终止多媒体会话请求发送至服务器。服务器在接收到该终止多媒体会话请求时,终止智能电视与智能手机之间的多媒体会话连接,并发送相应的终止多媒体会话指令至智能电视和智能手机。智能电视和智能手机在接收到该终止多媒体会话指令时,退出当前的多媒体会话。
本实施例提供的方案,服务器在接收到智能电视反馈的多媒体会话确认信息时,获取该多媒体会话确认信息对应的会话类型,然后根据获取的会话类型,建立智能电视以及智能手机之间的与该会话类型对应的多媒体会话连接,进行智能电视与智能手机之间的多媒体会话,因此,在保证快速建立多媒体会话的同时,还可根据用户需求实现不同类型的多媒体会话,提高了用户体验。
本发明提供一种多媒体会话装置,参照图4,图4为本发明多媒体会话装置第一实施例的功能模块示意图。
在该实施例中,所述多媒体会话装置包括:
获取模块10,用于在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息;
本实施例中,智能手机预先存储有智能电视对应的第一标识信息。例如,当智能电视将对应的二维码通过彩信方式发送至智能手机,智能手机接收到智能电视对应的二维码时,智能手机扫描该二维码,获取智能电视对应的第一标识信息,并保存智能电视对应的第一标识信息。
当智能手机的用户要与智能电视的用户进行视频会话时,智能手机根据智能电视对应的第一标识信息生成多媒体会话命令,并传输该多媒体会话命令至服务器。其中,该多媒体会话命令包括智能电视对应的第一标识信息以及智能手机对应的第二标识信息。
当服务器接收到智能手机发送的多媒体会话命令时,获取模块10获取该多媒体会话命令中包含的智能电视对应的第一标识信息,以及智能手机对应的第二标识信息。
关联模块20,用于根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端;
当获取模块10获取到智能电视对应的第一标识信息,以及智能手机对应的第二标识信息时,关联模块20根据第一标识信息和第二标识信息,关联智能电视与智能手机,也即建立智能电视与智能手机之间的匹配关系。优选地,关联模块20可将智能电视对应的第一标识信息,以及智能手机对应的第二标识信息关联保存,生成智能电视与智能手机之间的匹配关系。
处理模块30,用于建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
在关联模块20关联智能电视与智能手机后,处理模块30开启双向的第一线程处理任务和第二线程处理任务,建立智能电视与智能手机之间的多媒体会话连接。例如,处理模块30为智能电视与智能手机分配对应的一个多媒体会话房间号;或者,处理模块30从预先保存的各对终端唯一对应的多媒体会话房间号中查询是否存在智能电视与智能手机唯一对应的多媒体会话房间号。当处理模块30为智能电视与智能手机分配对应的一个多媒体会话房间号成功时,或者,当处理模块30查询到智能电视与智能手机唯一对应的多媒体会话房间号时,处理模块30将该多媒体会话房间号发送至智能电视与智能手机,建立智能电视与智能手机之间的多媒体会话连接。
智能电视与智能手机之间建立了多媒体会话连接后,当智能电视将多媒体会话数据发送至服务器时,处理模块30将该多媒体会话数据传输至智能手机;当智能手机将多媒体会话数据发送至服务器后,处理模块30将该多媒体会话数据传输至智能电视,从而进行智能电视与智能手机之间的多媒体会话。例如,当智能电视与智能手机之间建立了视频会话连接后,处理模块30器将智能手机发送的视频数据传输至智能电视,智能电视在接收到该视频数据后,在智能电视的显示屏上显示该视频数据对应的视频画面。同时,智能电视显示自身的视频画面,并将自身的视频画面对应的视频数据发送至服务器,处理模块30将该视频数据传输至智能手机,智能手机显示该视频数据对应的视频画面。
本实施例提供的方案,本实施例提供的方案,当智能手机要与智能电视进行多媒体会话时,智能手机根据智能电视对应的第一标识信息生成多媒体会话命令,并发送该多媒体会话命令至服务器,服务器在接收到该多媒体会话命令时,获取模块10获取该多媒体会话命令中包含的智能电视对应的第一标识信息以及智能手机对应的第二标识信息,关联模块20根据第一标识信息以及第二标识信息关联智能手机与智能电视,之后,处理模块30建立智能电视与智能手机之间的多媒体会话连接,建立智能电视与智能手机之间的多媒体会话,从而省去了用户登录QQ、微信等应用账号的操作,提高了建立多媒体会话的效率。
进一步地,如图5所示,基于第一实施例提出本发明多媒体会话装置第二实施例,在本实施例中,所述多媒体会话装置还包括:
查询模块40,用于查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
所述关联模块20,用于在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,关联所述第一终端以及所述第二终端。
在本实施例中,服务器中预存了各个终端对应的标识信息之间的对应关系,例如,服务器预存有标识信息对应表,该标识信息对应表中关联保存了各对终端对应的标识信息。优选地,该标识信息对应表中还关联保存了各对终端的ID号、传输地址、终端用户名称等。当获取模块10获取到智能电视对应的第一标识信息,以及智能手机对应的第二标识信息时,查询模块40查询预存的标识信息对应关系中是否关联保存了智能电视对应的第一标识信息以及智能手机对应的第二标识信息。
当查询模块40未查询到关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息时,也即智能电视与智能手机未关联时,关联模块20关联智能电视与智能手机,建立智能电视与智能手机之间的匹配关系。优选地,关联模块20将智能电视对应的第一标识信息,以及智能手机对应的第二标识信息关联保存,生成智能电视与智能手机之间的匹配关系。
进一步地,在本实施例中,所述处理模块30还用于:
在查询到关联保存的所述第一标识信息以及所述第二标识信息时,根据关联保存的所述第一标识信息以及所述第二标识信息,建立所述第一终端与所述第二终端之间的多媒体会话连接。
当查询模块40查询到关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息时,处理模块30直接根据关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息,生成智能电视与智能手机之间的匹配关系。之后,处理模块30建立智能电视与智能手机之间的多媒体会话连接,进行智能电视与智能手机之间的多媒体会话。
本实施例提供的方案,当查询模块40在预存的标识信息对应关系中查询到关联保存的智能电视对应的第一标识信息以及智能手机对应的第二标识信息时,则处理模块30可直接根据关联保存的的智能电视对应的第一标识信息以及智能手机对应的第二标识信息,建立智能电视与智能手机之间的多媒体会话,从而进一步提高了建立多媒体会话的效率。
进一步地,如图6所示,基于第一实施例提出本发明多媒体会话装置第三实施例,在本实施例中,所述处理模块30包括:
发送单元31,用于发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
处理单元32,用于在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
本实施例中,在关联模块20关联了智能电视与智能手机,生成智能电视与智能手机之间的匹配关系后,发送单元31发送多媒体会话邀请至智能电视。
当智能电视接收到服务器发送的多媒体会话邀请时,对该多媒体会话邀请进行响应操作,反馈相应的多媒体会话确认信息至服务器。例如,智能电视发送确认接受多媒体会话邀请的响应消息至服务器。
当服务器接收到智能电视发送的多媒体会话确认信息时,处理单元32建立智能电视与智能手机之间的多媒体会话连接。具体地,本实施例中,所述处理单元32包括:
获取子单元,用于在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
会话子单元,用于根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
当智能电视接收到服务器发送的多媒体会话邀请时,显示预设的多媒体会话选择界面。该多媒体会话选择界面上设置有多个选择控件,例如,包括视频会话选择控件、音频会话选择控件、拒绝会话控件等。用户可根据需要点击其中的某一个控件,比如当用户点击拒绝会话控件时,则终止多媒体会话连接。当用户点击视频会话选择控件或音频会话选择控件,视为智能电视侦测到基于多媒体会话选择界面触发的会话类型选择指令。当智能电视侦测到基于多媒体会话选择界面触发的会话类型选择指令时,发送多媒体会话确认信息至服务器。
当服务器接收到智能电视发送的多媒体会话确认信息时,获取子单元获取该多媒体会话确认信息对应的会话类型。例如,当用户点击了视频会话选择控件时,则获取子单元获取到该多媒体会话确认信息对应的会话类型为视频会话;当用户点击了音频会话选择控件时,则获取子单元获取到该多媒体会话确认信息对应的会话类型为音频会话。
当获取子单元获取到会话类型后,会话子单元开启第一线程处理任务,将智能电视的ID号、智能电视对应的用户名称、智能电视对应的传输地址以及会话类型发送至智能手机。同时,会话子单元开启第二线程处理任务,将智能手机的ID号、智能手机对应的用户名称、智能手机对应的传输地址以及会话类型发送至智能电视,建立起智能电视与智能手机之间的与该会话类型对应的多媒体会话连接。
之后,智能手机将通过摄像头、麦克风等音频和视频数据采集装置采集到的第一多媒体会话数据发送至服务器,会话子单元将该第一多媒体会话数据传输至智能电视。智能电视将通过摄像头、麦克风等音频和视频数据采集装置采集到的第二多媒体会话数据发送至服务器,会话子单元将该第二多媒体会话数据传输至智能手机。
本实施例提供的方案,服务器在接收到智能电视反馈的多媒体会话确认信息时,获取子单元获取该多媒体会话确认信息对应的会话类型,然后会话子单元根据获取的会话类型,建立智能电视以及智能手机之间的与该会话类型对应的多媒体会话连接,进行智能电视与智能手机之间的多媒体会话,因此,在保证快速建立多媒体会话的同时,还可根据用户需求实现不同类型的多媒体会话,提高了用户体验。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (15)

  1. 一种多媒体会话方法,其特征在于,所述多媒体会话方法包括步骤:
    服务器在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息,其中,所述多媒体会话命令由所述第二终端根据所述第一终端对应的第一标识信息所生成;
    根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端,将所述第一标识信息和所述第二标识信息关联保存,生成所述第一终端与所述第二终端之间的匹配关系;
    建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
  2. 如权利要求1所述的多媒体会话方法,其特征在于,所述根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端,将所述第一标识信息和所述第二标识信息关联保存,生成所述第一终端与所述第二终端之间的匹配关系的步骤之前,还包括:
    查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
    在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述关联所述第一终端与所述第二终端,将所述第一标识信息和所述第二标识信息关联保存,生成所述第一终端与所述第二终端之间的匹配关系的步骤。
  3. 如权利要求2所述的多媒体会话方法,其特征在于,所述查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息的步骤之后,还包括:
    在查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤。
  4. 如权利要求1所述的多媒体会话方法,其特征在于,所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤包括:
    发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
    在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
  5. 如权利要求4所述的多媒体会话方法,其特征在于,所述在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接的步骤包括:
    在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
    根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
  6. 一种多媒体会话方法,其特征在于,所述多媒体会话方法包括步骤:
    服务器在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息;
    根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端;
    建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
  7. 如权利要求6所述的多媒体会话方法,其特征在于,所述根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端的步骤之前,还包括:
    查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
    在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述关联所述第一终端与所述第二终端的步骤。
  8. 如权利要求7所述的多媒体会话方法,其特征在于,所述查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息的步骤之后,还包括:
    在查询到关联保存的所述第一标识信息以及所述第二标识信息时,执行所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤。
  9. 如权利要求6所述的多媒体会话方法,其特征在于,所述建立所述第一终端与所述第二终端之间的多媒体会话连接的步骤包括:
    发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
    在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
  10. 如权利要求9所述的多媒体会话方法,其特征在于,所述在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接的步骤包括:
    在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
    根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
  11. 一种多媒体会话装置,其特征在于,所述多媒体会话装置包括:
    获取模块,用于在接收到第二终端发送的多媒体会话命令时,获取所述多媒体会话命令中的第一终端对应的第一标识信息以及所述第二终端对应的第二标识信息;
    关联模块,用于根据所述第一标识信息和所述第二标识信息,关联所述第一终端与所述第二终端;
    处理模块,用于建立所述第一终端与所述第二终端之间的多媒体会话连接,并传输所述第一终端与所述第二终端之间的多媒体会话数据。
  12. 如权利要求11所述的多媒体会话装置,其特征在于,所述多媒体会话装置还包括:
    查询模块,用于查询预存的标识信息对应关系中是否关联保存所述第一标识信息以及所述第二标识信息;
    所述关联模块,用于在未查询到关联保存的所述第一标识信息以及所述第二标识信息时,关联所述第一终端以及所述第二终端。
  13. 如权利要求12所述的多媒体会话装置,其特征在于,所述处理模块还用于:
    在查询到关联保存的所述第一标识信息以及所述第二标识信息时,根据关联保存的所述第一标识信息以及所述第二标识信息,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
  14. 如权利要求11所述的多媒体会话装置,其特征在于,所述处理模块包括:
    发送单元,用于发送多媒体会话邀请至所述第一终端,以供所述第一终端在接收到所述多媒体会话邀请时,反馈多媒体会话确认信息;
    处理单元,用于在接收到所述多媒体会话确认信息时,建立所述第一终端以及所述第二终端之间的多媒体会话连接。
  15. 如权利要求14所述的多媒体会话装置,其特征在于,所述处理单元包括:
    获取子单元,用于在接收到所述多媒体会话确认信息时,获取所述多媒体会话确认信息对应的会话类型;
    会话子单元,用于根据获取的所述会话类型,建立所述第一终端以及所述第二终端之间的与所述会话类型对应的多媒体会话连接。
PCT/CN2016/084862 2016-04-29 2016-06-04 多媒体会话方法及装置 WO2017185482A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610281592.8A CN105871871A (zh) 2016-04-29 2016-04-29 多媒体会话方法及装置
CN201610281592.8 2016-04-29

Publications (1)

Publication Number Publication Date
WO2017185482A1 true WO2017185482A1 (zh) 2017-11-02

Family

ID=56628953

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084862 WO2017185482A1 (zh) 2016-04-29 2016-06-04 多媒体会话方法及装置

Country Status (2)

Country Link
CN (1) CN105871871A (zh)
WO (1) WO2017185482A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107846348A (zh) * 2016-09-20 2018-03-27 天脉聚源(北京)科技有限公司 一种在pc应用软件实现微信用户鉴权登录的方法和系统
CN108781217B (zh) * 2017-01-16 2020-11-27 华为技术有限公司 多媒体数据传输的方法、服务器和终端
CN111770193A (zh) * 2020-07-09 2020-10-13 深圳市富士智能系统有限公司 云对讲控制方法、服务器以及对讲终端

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090199255A1 (en) * 2008-01-31 2009-08-06 At&T Knowledge Ventures, Lp Device and Methods for Customization of Communication Notification In A Converged Network
CN103347306A (zh) * 2013-06-24 2013-10-09 腾讯科技(深圳)有限公司 一种多个终端建立关联的方法、系统及装置
CN103763327A (zh) * 2014-01-28 2014-04-30 宇龙计算机通信科技(深圳)有限公司 一种账号登录方法及系统
CN103929667A (zh) * 2014-04-30 2014-07-16 北京融合视讯科技有限公司 一种多屏互动方法、服务器及多屏互动系统
CN104954506A (zh) * 2015-06-19 2015-09-30 腾讯科技(北京)有限公司 一种账号管理方法、终端设备及系统
CN105187511A (zh) * 2015-08-13 2015-12-23 网易传媒科技(北京)有限公司 一种应用在多个终端上登录的方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453790B (zh) * 2007-12-04 2012-07-25 联想(北京)有限公司 一种用户终端通信方法和装置
CN102215240B (zh) * 2010-04-02 2013-11-20 中国移动通信集团公司 流媒体信令发送方法及设备、以及点对点流媒体系统
CN103024590B (zh) * 2012-12-11 2016-05-11 四川长虹电器股份有限公司 一种智能终端与智能电视视频通话的方法及系统
CN104301199B (zh) * 2013-07-17 2019-03-15 腾讯科技(深圳)有限公司 一种信息处理方法、装置及系统
US20150058048A1 (en) * 2013-08-20 2015-02-26 Shmuel Epshtein System and method for identifying passengers and chauffeurs
CN103973545B (zh) * 2014-04-22 2015-09-23 腾讯科技(深圳)有限公司 即时消息的处理方法、装置及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090199255A1 (en) * 2008-01-31 2009-08-06 At&T Knowledge Ventures, Lp Device and Methods for Customization of Communication Notification In A Converged Network
CN103347306A (zh) * 2013-06-24 2013-10-09 腾讯科技(深圳)有限公司 一种多个终端建立关联的方法、系统及装置
CN103763327A (zh) * 2014-01-28 2014-04-30 宇龙计算机通信科技(深圳)有限公司 一种账号登录方法及系统
CN103929667A (zh) * 2014-04-30 2014-07-16 北京融合视讯科技有限公司 一种多屏互动方法、服务器及多屏互动系统
CN104954506A (zh) * 2015-06-19 2015-09-30 腾讯科技(北京)有限公司 一种账号管理方法、终端设备及系统
CN105187511A (zh) * 2015-08-13 2015-12-23 网易传媒科技(北京)有限公司 一种应用在多个终端上登录的方法和装置

Also Published As

Publication number Publication date
CN105871871A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2016029594A1 (zh) 终端连接显示设备的方法及系统
WO2014187158A1 (zh) 终端数据云分享的控制方法、服务器及终端
WO2018006489A1 (zh) 终端的语音交互方法及装置
WO2019128174A1 (zh) 音频播放方法、智能电视及计算机可读存储介质
WO2019051902A1 (zh) 终端控制方法、空调器及计算机可读存储介质
WO2018023926A1 (zh) 电视与移动终端的互动方法及系统
WO2019061613A1 (zh) 贷款资质筛选方法、装置及计算机可读存储介质
WO2016173259A1 (zh) 蓝牙配对方法和蓝牙配对设备
WO2019161597A1 (zh) 基于即时通讯的信息发送方法、装置、设备和存储介质
WO2016101698A1 (zh) 基于dlna技术实现屏幕推送的方法及系统
WO2016058258A1 (zh) 终端远程控制方法和系统
WO2017206377A1 (zh) 同步播放节目的方法和装置
WO2017121066A1 (zh) 应用程序显示方法和系统
WO2017185480A1 (zh) 多屏互动连接方法、装置及系统
WO2019210574A1 (zh) 消息处理方法、装置、设备及可读存储介质
WO2018233221A1 (zh) 多窗口声音输出方法、电视机以及计算机可读存储介质
WO2017185482A1 (zh) 多媒体会话方法及装置
WO2019062112A1 (zh) 空调器控制方法、装置、空调器及计算机可读存储介质
WO2019051901A1 (zh) 终端控制方法、装置及计算机可读存储介质
WO2017071223A1 (zh) 电视应用的控制方法及装置
WO2017190451A1 (zh) 图片推送方法和装置
WO2018006581A1 (zh) 智能电视的播放方法及装置
WO2016095256A1 (zh) 智能电视的全局按键处理方法及其系统
WO2019218440A1 (zh) 信息交互方法、装置、设备及可读存储介质
WO2017045444A1 (zh) 遥控器按键分配方法和装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16899992

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 25/03/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16899992

Country of ref document: EP

Kind code of ref document: A1