WO2016050080A1 - Multi-user video-watching real-time interaction method and system - Google Patents

Multi-user video-watching real-time interaction method and system Download PDF

Info

Publication number
WO2016050080A1
WO2016050080A1 PCT/CN2015/079403 CN2015079403W WO2016050080A1 WO 2016050080 A1 WO2016050080 A1 WO 2016050080A1 CN 2015079403 W CN2015079403 W CN 2015079403W WO 2016050080 A1 WO2016050080 A1 WO 2016050080A1
Authority
WO
WIPO (PCT)
Prior art keywords
interactive terminal
video
terminal
address information
communication address
Prior art date
Application number
PCT/CN2015/079403
Other languages
French (fr)
Chinese (zh)
Inventor
崔志伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016050080A1 publication Critical patent/WO2016050080A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home

Definitions

  • This paper relates to the field of multimedia technology, and in particular to a method and system for real-time interaction of multiple people watching video.
  • IPTV IPTV
  • OTT Internet-based video service
  • Embodiments of the present invention provide a method and system for real-time interaction of multiple people watching video, which can realize real-time communication and interaction between two or more people through video and audio when watching the same video.
  • an embodiment of the present invention provides a method for real-time interaction of a multi-person viewing video, which is applied to a terminal, and the method includes:
  • the step of obtaining the communication address information of the interactive terminal includes:
  • the communication address information of the interactive terminal is obtained according to the user name of the interactive terminal selected by the user from the buddy list.
  • the method further includes: after the step of obtaining the communication address information of the interactive terminal, the method further includes:
  • a request for establishing a communication link is sent to the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
  • the step of sending a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal includes:
  • the character string is sent to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
  • the method further includes: detecting a state of a “share” touch button, and when detecting that the “share” touch button is pressed, according to the communication address information of the interactive terminal Send the parameter information of the currently playing video to the interactive terminal.
  • the step of initiating a real-time audio and/or video contact request to the interactive terminal includes:
  • a status of a "chat” touch button is detected, and when it is detected that the "chat” touch button is pressed, a real-time audio and/or video contact request is initiated to the interactive terminal.
  • the method further includes:
  • the progress information of the currently played video is sent to the interactive terminal every preset time, so that the interactive terminal plays the current video synchronously.
  • the parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
  • the first window plays the currently playing video
  • the second window plays the video data transmitted by the interactive terminal.
  • the embodiment of the present invention further provides a system for real-time interaction of a multi-person viewing video, which is applied to a terminal, and the system includes:
  • the first sending module is configured to send the parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
  • the interaction module is configured to initiate a real-time audio and/or video contact request to the interactive terminal or to receive an audio and/or video contact request sent by the interactive terminal during the process of playing the currently playing video synchronously with the interactive terminal, and between the interactive terminal and the interactive terminal Perform audio and / or video data transmission.
  • the acquisition module includes:
  • the first unit is configured to scan the two-dimensional code including the communication address information and the verification information of the interactive terminal, save the two-dimensional code to the buddy list of the user name including the interactive terminal, and make the two-dimensional code and the user name of the interactive terminal Establish an association;
  • the second unit is configured to obtain the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
  • the system also includes:
  • the second sending module is configured to send a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
  • the second sending module includes:
  • a third unit configured to generate a character string including address information and verification information of the terminal
  • the fourth unit is configured to send the string to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
  • the system also includes:
  • the detecting module is configured to detect a state of a “share” touch button. When detecting that the “share” touch button is pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal.
  • the interactive module includes:
  • the fifth unit is configured to detect a state of a "chat” touch button, and when detecting that the "chat” touch button is pressed, initiate a real-time audio and/or video contact request to the interactive terminal.
  • the system also includes:
  • the third sending module is configured to send the progress information of the currently played video to the interactive terminal every preset time, so that the interactive terminal synchronously plays the current video.
  • the parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
  • the interactive module when the interactive module performs video data transmission with the interactive terminal, on the current screen, the current playing video is played in the first window, and the video data transmitted by the interactive terminal is played in the second window.
  • the embodiment of the present invention further provides a computer readable storage medium, where the storage medium stores a computer program, the computer program includes program instructions, when the program instruction is executed by the video terminal device, enabling the device to execute the above-mentioned multiplayer Watch how videos interact in real time.
  • multiple terminals can simultaneously and simultaneously watch the same video program and perform real-time audio and video exchange without the need for the main control server to manage and forward the service. .
  • FIG. 1 is a flow chart of steps of a method for real-time interaction of multiple people watching video according to an embodiment of the present invention
  • FIG. 2 is a sequence diagram of a method for real-time interaction of multiple people watching video according to an embodiment of the present invention
  • FIG. 3 is a flowchart of step 11 in FIG. 1 according to an embodiment of the present invention.
  • FIG. 4 is a flow chart showing the steps of sending a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a system for real-time interaction of multiple people watching video according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a system application environment for multi-person watching video real-time interaction according to an embodiment of the present invention.
  • the embodiments of the present invention are directed to the problem that a plurality of people cannot share and communicate in real time while watching a video in the prior art, and provide a method and system for real-time interaction of multiple people watching video, which can enable multiple people to pass the video while watching the same video. Communicate in real time with audio.
  • an embodiment of the present invention provides a method for real-time interaction of a multi-person viewing video, which is applied to a terminal, and the method includes:
  • Step 11 Obtain communication address information of the interactive terminal
  • Step 12 Send the parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
  • the parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
  • Step 13 In the process of playing the currently playing video synchronously with the interactive terminal, initiating a real-time audio and/or video contact request to the interactive terminal, or receiving an audio and/or video contact request sent by the interactive terminal, and performing audio communication with the interactive terminal. And / or video data transmission.
  • the terminal and the interactive terminal are interchangeable, that is, the terminal may serve as an interactive terminal, and the interactive terminal may serve as a terminal, wherein the terminal and the interactive terminal may be a set top box, a mobile phone, or Tablets, laptops, etc.
  • the terminal is a set-top box, the terminal must first be equipped with a video input module, ie a camera, an audio input module, ie a microphone pickup, and a real-time encoding module, ie audio and video decoding software and hardware.
  • the terminal after acquiring the communication address information of the interactive terminal, the terminal sends the parameter information of the video currently being played to the interactive terminal, so that the interactive terminal can obtain the code stream of the video from the media server, and synchronize with the terminal. Watch this video and watch the terminal and interactive terminal While watching the video, the terminal may initiate a real-time audio and/or video request to the interactive terminal, or the interactive terminal may initiate a real-time audio and/or video request to the terminal, so that the user of the terminal and the user of the interactive terminal can watch the same video.
  • the real-time audio and/or video request of the terminal can be retransmitted multiple times (according to the predetermined policy), avoiding the network packet loss and causing the interactive terminal not to receive the corresponding request, and mistakenly thinking that the interactive terminal is not online, the two terminals Regular keep-alive pins can be sent to refresh their respective online states.
  • the timing diagram of the above method is shown in Figure 2, and the establishment of a separate media link between the two terminals can be performed by using the RTSP protocol. Use other public media protocols or even private media protocols.
  • the method further includes:
  • a request for establishing a communication link is sent to the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
  • the terminal after obtaining the communication address of the interactive terminal, the terminal sends a request for establishing a communication connection (for example, “add as a friend”) to the interactive terminal, and the interactive terminal obtains the terminal after receiving the request.
  • a communication connection for example, “add as a friend”
  • the mailing address enables the user of the interactive terminal to actively send an audio and/or video invitation to the user of the terminal.
  • the method further includes:
  • the status of a “share” touch button is detected.
  • the “share” touch button is detected to be pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal.
  • the terminal when the user of the terminal wants to recommend a video program to the user of the interactive terminal, the terminal establishes a service link with the interactive terminal, and the user of the terminal clicks the “Share” button, and when the terminal detects “ When the touch button is pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal, so that the user of the interactive terminal can watch the video synchronously with the user of the terminal.
  • the method further includes:
  • the progress information of the currently played video is sent to the interactive terminal every preset time, so that the interactive terminal plays the current video synchronously.
  • the terminal sends a progress letter to the interactive terminal every preset time.
  • the interactive terminal keeps playing synchronously with the terminal.
  • the terminal user temporarily leaves (for example, gets up and drinks water) to pause playing, the interactive terminal is also paused.
  • the interactive terminal After the terminal resumes playing, the interactive terminal also resumes synchronously. Play.
  • step 11 includes:
  • Step 111 Scan a two-dimensional code including the communication address information and the verification information of the interactive terminal, save the two-dimensional code to the buddy list of the user name including the interactive terminal, and associate the two-dimensional code with the user name of the interactive terminal;
  • Step 112 Obtain the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
  • the interactive terminal generates a two-dimensional code including its own address information and verification information, and the terminal can obtain the communication address of the interactive terminal by scanning the two-dimensional code through the camera, and the terminal can move to the interactive terminal.
  • Sending a request to "add as a friend" after receiving the request, the interactive terminal can obtain the communication address of the terminal, so that if the terminal needs to send a message to the interactive terminal, it is only necessary to select the interactive terminal in the list of friends.
  • the username is fine.
  • the communication address of the interactive terminal can also be obtained by the following method: The first method: the interactive terminal sends an encrypted character string including its own communication address and verification information to the terminal through a conventional manner such as WeChat or the like, or the like.
  • the string can be imported into the corresponding module to obtain the communication address of the interactive terminal; the second method: the terminal and the interactive terminal can obtain the communication address of the other party by means of a unified login server.
  • the specific manner of obtaining the communication address of the interactive terminal is not limited in the embodiment of the present invention.
  • the step of sending a request for establishing a communication link to the interactive terminal includes:
  • Step 41 Generate a character string including address information and verification information of the terminal;
  • Step 42 Send the character string to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
  • the terminal sends the encrypted character string including the own address information and the verification information to the interactive terminal through a conventional manner such as an instant messaging tool such as WeChat or a mailbox, and the interactive terminal imports the character string into the corresponding module.
  • the communication address of the terminal is available.
  • step 13 includes:
  • a status of a "chat” touch button is detected, and when it is detected that the "chat” touch button is pressed, a real-time audio and/or video contact request is initiated to the interactive terminal.
  • the terminal user when the terminal user wants to communicate with the interactive terminal user, the terminal user may click the “chat” button, and when the terminal detects that the “chat” touch button is pressed, the terminal initiates to the interactive terminal.
  • Real-time audio and/or video contact requests allow end users to communicate with interactive end users.
  • step 13 in the current screen, the current play video is played in the first window, and the video data transmitted by the interactive terminal is played in the second window.
  • the second window may be a small window superimposed on the first window.
  • the user may choose to close the second window and only retain the audio communication interaction.
  • the steps when the terminal, the interactive terminal, and the media server apply the foregoing method are as follows: when the terminal user wants to recommend the currently playing video to the interactive terminal user, the local save can be opened.
  • the buddy list after selecting the interactive terminal user, sends the parameter information of the currently played video to the interactive terminal, and the interactive terminal acquires the play video from the media server through the parameter information.
  • the interactive terminal may send a chat request, and after receiving the request, the interactive terminal sends an RTSP link request to the terminal, and randomly establishes a separate RTSP media link.
  • the end user can then transmit real-time audio and video data to the interactive terminal client.
  • the terminal sends an RTSP request to the interactive terminal to establish a reverse RTSP link, so that the interactive terminal transmits the real-time audio and video data of the interactive terminal user to the terminal, so that the terminal client communicates with the interactive terminal client. Subsequently, the terminal may send a request to terminate the RTSP link to the interactive terminal, and after receiving the request, the interactive terminal closes the program sharing and the video interaction.
  • an embodiment of the present invention further provides a system 50 for real-time interaction of multiple people watching video, the system comprising a processor and a program storage device, the program storage device storing a computer A readable program, the computer readable program comprising:
  • the obtaining module 51 is adapted to obtain the communication address information of the interactive terminal
  • the first sending module 52 is adapted to play the currently playing video according to the communication address information of the interactive terminal.
  • the parameter information is sent to the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
  • the interaction module 53 is adapted to initiate a real-time audio and/or video contact request to the interactive terminal or receive an audio and/or video contact request sent by the interactive terminal during the process of playing the currently played video synchronously with the interactive terminal, and the interactive terminal Audio and/or video data transmission between.
  • the application environment deployment diagram of the above system 50 is as shown in FIG. 6.
  • the obtaining module 51 includes:
  • the first unit is adapted to scan the two-dimensional code including the communication address information and the verification information of the interactive terminal, save the two-dimensional code to the buddy list of the user name including the interactive terminal, and make the two-dimensional code and the user name of the interactive terminal Establish an association;
  • the second unit is adapted to obtain the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
  • the system also includes:
  • the second sending module is adapted to send a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
  • the second sending module includes:
  • the third unit is adapted to generate a character string including address information and verification information of the terminal;
  • the fourth unit is adapted to send the character string to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
  • the system also includes:
  • the detecting module is adapted to detect a state of a “share” touch button.
  • the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal.
  • the interaction module 53 includes:
  • the fifth unit is adapted to detect a state of a "chat” touch button, and when detecting that the "chat” touch button is pressed, initiate a real-time audio and/or video contact request to the interactive terminal.
  • the system also includes:
  • the third sending module is configured to send the progress information of the currently played video to the interactive terminal every preset time, so that the interactive terminal simultaneously plays the current video.
  • the parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
  • the interaction module 53 plays the current play video in the first window and the video data transmitted by the interactive terminal in the second window when the video data is transmitted between the interactive terminal and the interactive terminal.
  • the method for real-time interaction of multi-person watching video provided by the embodiment of the present invention can realize simultaneous real-time audio and video communication while simultaneously watching the same video program in two or two situations without the main control server managing and forwarding the service. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A multi-user video-watching real-time interaction method and system, the method comprising: acquiring communication address information of an interactive terminal; transmitting parameter information of a currently played video to the interactive terminal according to the communication address information of the interactive terminal, to enable the interactive terminal to synchronously play the currently played video according to the parameter information; in the process of synchronously playing the currently played video with the interactive terminal, initiating a real-time audio and/or video contact request to the interactive terminal, or receiving an audio and/or video contact request transmitted by the interactive terminal, and transmitting audio and/or video data to the interactive terminal, thus enabling real-time communication and interaction via video and audio when two or more people are watching the same video.

Description

一种多人观看视频实时互动的方法及系统Method and system for multi-person watching video real-time interaction 技术领域Technical field
本文涉及多媒体技术领域,尤其涉及一种多人观看视频实时互动的方法及系统。This paper relates to the field of multimedia technology, and in particular to a method and system for real-time interaction of multiple people watching video.
背景技术Background technique
随着网络技术的发展,网络电视IPTV和基于开放互联网的视频服务OTT为代表的多媒体视频业务得以广泛应用,IPTV机顶盒、OTT机顶盒、智能手机和Pad等多屏客户端设备也大量涌现。With the development of network technology, multimedia video services represented by network television IPTV and open Internet-based video service OTT have been widely used, and multi-screen client devices such as IPTV set-top boxes, OTT set-top boxes, smart phones and Pads have also emerged.
同时,网络用户之间的社交与互动也是用户最强烈的需求之一。用户已经不仅仅满足于作为单一用户独自观看视频节目,而更多地强调分享和交流。但观看视频的过程中使用文字交流不但影响观影效果,也不能及时准确地表达观影感受。而若采用广播方式推送合成后的多路视频的方式,不但在实现上投资大、实现复杂,因承担核心节点的主控服务器业务复杂、性能要求高,而且用户业务的友好性和视频图像的实时性都有较大折扣。At the same time, social interaction and interaction between web users is one of the most intense needs of users. Users have not only been satisfied with watching video programs as a single user, but more emphasis on sharing and communication. However, the use of text communication in the process of watching video not only affects the viewing effect, but also does not express the viewing experience in time. However, if the synthesized multi-channel video is broadcasted, not only the investment is large, but also the implementation is complicated. The main control server of the core node has complex business requirements, high performance requirements, and user service friendliness and video images. There is a big discount on real-time performance.
发明内容Summary of the invention
本发明实施例提供一种多人观看视频实时互动的方法及系统,可实现两人或两人以上在观看同一视频时可通过视频和音频进行实时交流互动。Embodiments of the present invention provide a method and system for real-time interaction of multiple people watching video, which can realize real-time communication and interaction between two or more people through video and audio when watching the same video.
为了解决上述问题,本发明实施例提供了一种多人观看视频实时互动的方法,应用于一终端,所述方法包括:In order to solve the above problem, an embodiment of the present invention provides a method for real-time interaction of a multi-person viewing video, which is applied to a terminal, and the method includes:
获取互动终端的通讯地址信息;Obtaining the communication address information of the interactive terminal;
根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端,使互动终端能够根据参数信息同步播放当前播放视频;Sending parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
在与互动终端同步播放当前播放视频的过程中,向互动终端发起实时音频和/或视频联系请求,或者接收互动终端发送的音频和/或视频联系请求,与互动终端之间进行音频和/或视频数据传输。 In the process of playing the currently playing video synchronously with the interactive terminal, initiating a real-time audio and/or video contact request to the interactive terminal, or receiving an audio and/or video contact request sent by the interactive terminal, and performing audio and/or interaction with the interactive terminal. Video data transmission.
其中,获取互动终端的通讯地址信息的步骤包括:The step of obtaining the communication address information of the interactive terminal includes:
扫描包括互动终端的通讯地址信息和校验信息的二维码,将二维码保存到包括互动终端的用户名的好友列表中,使二维码与互动终端的用户名建立关联;Scanning the two-dimensional code including the communication address information of the interactive terminal and the verification information, and saving the two-dimensional code to the buddy list of the user name including the interactive terminal, so that the two-dimensional code is associated with the user name of the interactive terminal;
根据用户从好友列表中选取的互动终端的用户名,获取互动终端的通讯地址信息。The communication address information of the interactive terminal is obtained according to the user name of the interactive terminal selected by the user from the buddy list.
其中,在获取互动终端的通讯地址信息的步骤之后,所述方法还包括:The method further includes: after the step of obtaining the communication address information of the interactive terminal, the method further includes:
根据互动终端的通讯地址信息,向互动终端发送建立通讯链接的请求,使互动终端获得终端的通讯地址信息。According to the communication address information of the interactive terminal, a request for establishing a communication link is sent to the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
其中,根据互动终端的通讯地址信息,向互动终端发送建立通讯链接的请求的步骤包括:The step of sending a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal includes:
生成包括终端的地址信息和校验信息的字符串;Generating a character string including address information and verification information of the terminal;
根据互动终端的通讯地址信息,通过即时通讯工具或邮箱将字符串发送至互动终端。The character string is sent to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
其中,在获取互动终端的通讯地址信息的步骤之后,所述方法还包括:检测一“分享”触动按钮的状态,当检测到“分享”触动按钮被按压操作时,根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端。After the step of obtaining the communication address information of the interactive terminal, the method further includes: detecting a state of a “share” touch button, and when detecting that the “share” touch button is pressed, according to the communication address information of the interactive terminal Send the parameter information of the currently playing video to the interactive terminal.
其中,向互动终端发起实时音频和/或视频联系请求的步骤包括:The step of initiating a real-time audio and/or video contact request to the interactive terminal includes:
检测一“聊天”触动按钮的状态,当检测到“聊天”触动按钮被按压时,向互动终端发起实时音频和/或视频联系请求。A status of a "chat" touch button is detected, and when it is detected that the "chat" touch button is pressed, a real-time audio and/or video contact request is initiated to the interactive terminal.
其中,在根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端的步骤之后,所述方法还包括:After the step of transmitting the parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, the method further includes:
每隔一预设时间向互动终端发送当前播放视频的进度信息,使互动终端同步播放当前视频。The progress information of the currently played video is sent to the interactive terminal every preset time, so that the interactive terminal plays the current video synchronously.
其中,当前播放视频的参数信息包括:当前播放视频的媒体服务器的地址、当前播放视频的ID、当前播放视频的播放进度。The parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
其中,与互动终端之间进行视频数据传输的步骤中,在当前屏幕上,以 第一窗口播放当前播放视频,以第二窗口播放互动终端传输的视频数据。Wherein, in the step of performing video data transmission with the interactive terminal, on the current screen, The first window plays the currently playing video, and the second window plays the video data transmitted by the interactive terminal.
本发明实施例还提供一种多人观看视频实时互动的系统,应用于一终端,系统包括:The embodiment of the present invention further provides a system for real-time interaction of a multi-person viewing video, which is applied to a terminal, and the system includes:
获取模块,设置为获取互动终端的通讯地址信息;Obtaining a module, configured to obtain communication address information of the interactive terminal;
第一发送模块,设置为根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端,使互动终端能够根据参数信息同步播放当前播放视频;The first sending module is configured to send the parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
互动模块,设置为在与互动终端同步播放当前播放视频的过程中,向互动终端发起实时音频和/或视频联系请求,或者接收互动终端发送的音频和/或视频联系请求,与互动终端之间进行音频和/或视频数据传输。The interaction module is configured to initiate a real-time audio and/or video contact request to the interactive terminal or to receive an audio and/or video contact request sent by the interactive terminal during the process of playing the currently playing video synchronously with the interactive terminal, and between the interactive terminal and the interactive terminal Perform audio and / or video data transmission.
其中,获取模块包括:The acquisition module includes:
第一单元,设置为扫描包括互动终端的通讯地址信息和校验信息的二维码,将二维码保存到包括互动终端的用户名的好友列表中,使二维码与互动终端的用户名建立关联;The first unit is configured to scan the two-dimensional code including the communication address information and the verification information of the interactive terminal, save the two-dimensional code to the buddy list of the user name including the interactive terminal, and make the two-dimensional code and the user name of the interactive terminal Establish an association;
第二单元,设置为根据用户从好友列表中所选取的互动终端的用户名,获取互动终端的通讯地址信息。The second unit is configured to obtain the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
其中,系统还包括:Among them, the system also includes:
第二发送模块,设置为根据互动终端的通讯地址信息,向互动终端发送建立通讯链接的请求,使互动终端获得终端的通讯地址信息。The second sending module is configured to send a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
其中,第二发送模块包括:The second sending module includes:
第三单元,设置为生成包括终端的地址信息和校验信息的字符串;a third unit, configured to generate a character string including address information and verification information of the terminal;
第四单元,设置为根据互动终端的通讯地址信息,通过即时通讯工具或邮箱将字符串发送至互动终端。The fourth unit is configured to send the string to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
其中,系统还包括:Among them, the system also includes:
检测模块,设置为检测一“分享”触动按钮的状态,当检测到“分享”触动按钮被按压操作时,根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端。 The detecting module is configured to detect a state of a “share” touch button. When detecting that the “share” touch button is pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal.
其中,互动模块包括:Among them, the interactive module includes:
第五单元,设置为检测一“聊天”触动按钮的状态,当检测到“聊天”触动按钮被按压时,向互动终端发起实时音频和/或视频联系请求。The fifth unit is configured to detect a state of a "chat" touch button, and when detecting that the "chat" touch button is pressed, initiate a real-time audio and/or video contact request to the interactive terminal.
其中,系统还包括:Among them, the system also includes:
第三发送模块,设置为每隔一预设时间向互动终端发送当前播放视频的进度信息,使互动终端同步播放当前视频。The third sending module is configured to send the progress information of the currently played video to the interactive terminal every preset time, so that the interactive terminal synchronously plays the current video.
其中,当前播放视频的参数信息包括:当前播放视频的媒体服务器的地址、当前播放视频的ID、当前播放视频的播放进度。The parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
其中,互动模块在与互动终端之间进行视频数据传输时,在当前屏幕上,以第一窗口播放当前播放视频,以第二窗口播放互动终端传输的视频数据。Wherein, when the interactive module performs video data transmission with the interactive terminal, on the current screen, the current playing video is played in the first window, and the video data transmitted by the interactive terminal is played in the second window.
本发明实施例还提供一种计算机可读存储介质,所述存储介质存储有计算机程序,该计算机程序包括程序指令,当该程序指令被视频终端设备执行时,使得该设备可执行上述的多人观看视频实时互动的方法。The embodiment of the present invention further provides a computer readable storage medium, where the storage medium stores a computer program, the computer program includes program instructions, when the program instruction is executed by the video terminal device, enabling the device to execute the above-mentioned multiplayer Watch how videos interact in real time.
本发明实施例的上述技术方案至少具有如下有益效果:The above technical solutions of the embodiments of the present invention have at least the following beneficial effects:
本发明实施例的多人观看视频实时互动的方法中,在无需主控服务器对业务进行管理和转发的情况下,多个终端可以两两实现同步观看同一个视频节目的同时进行实时音视频交流。In the method for multi-person watching video real-time interaction in the embodiment of the present invention, multiple terminals can simultaneously and simultaneously watch the same video program and perform real-time audio and video exchange without the need for the main control server to manage and forward the service. .
附图概述BRIEF abstract
图1为本发明实施例所述的多人观看视频实时互动的方法的步骤流程图;1 is a flow chart of steps of a method for real-time interaction of multiple people watching video according to an embodiment of the present invention;
图2为本发明实施例所述的多人观看视频实时互动的方法的时序图;2 is a sequence diagram of a method for real-time interaction of multiple people watching video according to an embodiment of the present invention;
图3为本发明实施例中图1中步骤11的流程图;3 is a flowchart of step 11 in FIG. 1 according to an embodiment of the present invention;
图4为本发明实施例中根据所述互动终端的通讯地址信息,向所述互动终端发送建立通讯链接的请求的步骤流程图;4 is a flow chart showing the steps of sending a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal according to an embodiment of the present invention;
图5为本发明实施例的多人观看视频实时互动的系统的结构示意图;FIG. 5 is a schematic structural diagram of a system for real-time interaction of multiple people watching video according to an embodiment of the present invention; FIG.
图6为本发明实施例的多人观看视频实时互动的系统应用环境的部署 图。FIG. 6 is a schematic diagram of a system application environment for multi-person watching video real-time interaction according to an embodiment of the present invention; Figure.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本发明实施例针对现有技术中多人在观看视频时,不能实时分享和交流的问题,提供一种多人观看视频实时互动的方法及系统,可实现多人在观看同一视频时可通过视频和音频进行实时交流互动。The embodiments of the present invention are directed to the problem that a plurality of people cannot share and communicate in real time while watching a video in the prior art, and provide a method and system for real-time interaction of multiple people watching video, which can enable multiple people to pass the video while watching the same video. Communicate in real time with audio.
如图1所示,本发明实施例提供一种多人观看视频实时互动的方法,应用于一终端,该方法包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for real-time interaction of a multi-person viewing video, which is applied to a terminal, and the method includes:
步骤11,获取互动终端的通讯地址信息;Step 11: Obtain communication address information of the interactive terminal;
步骤12,根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端,使互动终端能够根据参数信息同步播放当前播放视频;Step 12: Send the parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
可选地,当前播放视频的参数信息包括:当前播放视频的媒体服务器的地址、当前播放视频的ID、当前播放视频的播放进度。Optionally, the parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
步骤13,在与互动终端同步播放当前播放视频的过程中,向互动终端发起实时音频和/或视频联系请求,或者接收互动终端发送的音频和/或视频联系请求,与互动终端之间进行音频和/或视频数据传输。Step 13: In the process of playing the currently playing video synchronously with the interactive terminal, initiating a real-time audio and/or video contact request to the interactive terminal, or receiving an audio and/or video contact request sent by the interactive terminal, and performing audio communication with the interactive terminal. And / or video data transmission.
在本发明的具体实施例中,上述终端与互动终端是可以互换的,即上述终端可以作为互动终端,而上述互动终端可以作为终端,其中,终端和互动终端均可以是机顶盒、移动电话、平板电脑、笔记本电脑等,若终端是机顶盒,该终端需先配备视频输入模块即摄像头、音频输入模块即麦克风拾音器以及实时编码模块即音频和视频解码软件和硬件。In the specific embodiment of the present invention, the terminal and the interactive terminal are interchangeable, that is, the terminal may serve as an interactive terminal, and the interactive terminal may serve as a terminal, wherein the terminal and the interactive terminal may be a set top box, a mobile phone, or Tablets, laptops, etc. If the terminal is a set-top box, the terminal must first be equipped with a video input module, ie a camera, an audio input module, ie a microphone pickup, and a real-time encoding module, ie audio and video decoding software and hardware.
在本发明的具体实施例中,终端获取互动终端的通讯地址信息后,向互动终端发送自身当前正在播放视频的参数信息,使互动终端能向媒体服务器获取该视频的码流,与上述终端同步观看该视频,在终端与互动终端同步观 看该视频的同时,终端可以向互动终端发起实时音频和/或视频请求,或者互动终端向终端发起实时音频和/或视频请求,使终端的用户与互动终端的用户在观看同一视频的时能实时分享和交流,当然终端的实时音频和/或视频请求可(按照预定策略)多次重发,避免网络丢包导致互动终端未收到对应请求,而误认为互动终端不在线,两个终端之间可发送定期保活销子,刷新各自在线状态,其中,上述方法的时序图如图2所示,且两个终端之间单独的媒体链路的建立除可使用RTSP协议外,也可以使用其他公共媒体协议甚至私有媒体协议。In a specific embodiment of the present invention, after acquiring the communication address information of the interactive terminal, the terminal sends the parameter information of the video currently being played to the interactive terminal, so that the interactive terminal can obtain the code stream of the video from the media server, and synchronize with the terminal. Watch this video and watch the terminal and interactive terminal While watching the video, the terminal may initiate a real-time audio and/or video request to the interactive terminal, or the interactive terminal may initiate a real-time audio and/or video request to the terminal, so that the user of the terminal and the user of the interactive terminal can watch the same video. Real-time sharing and communication, of course, the real-time audio and/or video request of the terminal can be retransmitted multiple times (according to the predetermined policy), avoiding the network packet loss and causing the interactive terminal not to receive the corresponding request, and mistakenly thinking that the interactive terminal is not online, the two terminals Regular keep-alive pins can be sent to refresh their respective online states. The timing diagram of the above method is shown in Figure 2, and the establishment of a separate media link between the two terminals can be performed by using the RTSP protocol. Use other public media protocols or even private media protocols.
可选地,本发明的上述实施例中,执行步骤11后,该方法还包括:Optionally, in the foregoing embodiment of the present invention, after performing step 11, the method further includes:
根据互动终端的通讯地址信息,向互动终端发送建立通讯链接的请求,使互动终端获得终端的通讯地址信息。According to the communication address information of the interactive terminal, a request for establishing a communication link is sent to the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
在本发明的具体实施例中,终端在获取互动终端的通讯地址后,向互动终端发送建立通讯连接的请求(例如“加为好友”),互动终端在收到该请求后便得到了终端的通讯地址,使得互动终端的用户能向终端的用户主动发出音频和/或视频邀请。In a specific embodiment of the present invention, after obtaining the communication address of the interactive terminal, the terminal sends a request for establishing a communication connection (for example, “add as a friend”) to the interactive terminal, and the interactive terminal obtains the terminal after receiving the request. The mailing address enables the user of the interactive terminal to actively send an audio and/or video invitation to the user of the terminal.
可选地,本发明的上述实施例中,执行步骤11后,该方法还包括:Optionally, in the foregoing embodiment of the present invention, after performing step 11, the method further includes:
检测一“分享”触动按钮的状态,当检测到“分享”触动按钮被按压操作时,根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端。The status of a “share” touch button is detected. When the “share” touch button is detected to be pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal.
在本发明的具体实施例中,当终端的用户想向互动终端的用户推荐一个视频节目时,通过终端与互动终端建立业务链路,同时终端的用户点击“分享”按钮,当终端检测到“分享”触动按钮被按压操作时,根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端,从而使互动终端的用户能与终端的用户同步观看该视频。In a specific embodiment of the present invention, when the user of the terminal wants to recommend a video program to the user of the interactive terminal, the terminal establishes a service link with the interactive terminal, and the user of the terminal clicks the “Share” button, and when the terminal detects “ When the touch button is pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal, so that the user of the interactive terminal can watch the video synchronously with the user of the terminal.
可选地,本发明的上述实施例中,执行步骤12后,该方法还包括:Optionally, in the foregoing embodiment of the present invention, after performing step 12, the method further includes:
每隔一预设时间向互动终端发送当前播放视频的进度信息,使互动终端同步播放当前视频。The progress information of the currently played video is sent to the interactive terminal every preset time, so that the interactive terminal plays the current video synchronously.
在本发明的具体实施例中,终端每隔一预设时间向互动终端发送进度信 息,使互动终端始终与终端保持同步播放,当然如果终端用户暂时离去(例如起身去喝水)暂停播放时,此时互动终端也是暂停播放的,待终端恢复播放后,互动终端也同步恢复播放。In a specific embodiment of the present invention, the terminal sends a progress letter to the interactive terminal every preset time. The interactive terminal keeps playing synchronously with the terminal. Of course, if the terminal user temporarily leaves (for example, gets up and drinks water) to pause playing, the interactive terminal is also paused. After the terminal resumes playing, the interactive terminal also resumes synchronously. Play.
如图3所示,本发明的上述实施例中,步骤11包括:As shown in FIG. 3, in the above embodiment of the present invention, step 11 includes:
步骤111,扫描包括互动终端的通讯地址信息和校验信息的二维码,将二维码保存到包括互动终端的用户名的好友列表中,使二维码与互动终端的用户名建立关联;Step 111: Scan a two-dimensional code including the communication address information and the verification information of the interactive terminal, save the two-dimensional code to the buddy list of the user name including the interactive terminal, and associate the two-dimensional code with the user name of the interactive terminal;
步骤112,根据用户从好友列表中所选取的互动终端的用户名,获取互动终端的通讯地址信息。Step 112: Obtain the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
在本发明的具体实施例中,互动终端生成一个包含自己地址信息和校验信息的二维码,终端通过摄像头扫描该二维码即可获得互动终端的通讯地址,此时终端可向互动终端发送“加为好友”的请求,互动终端在收到该请求之后,便可获取到终端的通讯地址,从而如果终端需要向互动终端发送消息时,只需在自己的好友列表中选取互动终端的用户名就可以了。当然也可以通过如下方式获取互动终端的通讯地址:第一种方式:互动终端通过微信等即时通讯工具或邮箱等传统方式向终端发送包括自身通讯地址和校验信息的加密字符串,终端将该字符串导入对应模块中便能获取到互动终端的通讯地址;第二种方式:终端与互动终端可以借助统一的登录服务器获取对方的通讯地址。当然,可以理解的是,在本发明的实施例中并不限定获取互动终端通讯地址的具体方式。In a specific embodiment of the present invention, the interactive terminal generates a two-dimensional code including its own address information and verification information, and the terminal can obtain the communication address of the interactive terminal by scanning the two-dimensional code through the camera, and the terminal can move to the interactive terminal. Sending a request to "add as a friend", after receiving the request, the interactive terminal can obtain the communication address of the terminal, so that if the terminal needs to send a message to the interactive terminal, it is only necessary to select the interactive terminal in the list of friends. The username is fine. Of course, the communication address of the interactive terminal can also be obtained by the following method: The first method: the interactive terminal sends an encrypted character string including its own communication address and verification information to the terminal through a conventional manner such as WeChat or the like, or the like. The string can be imported into the corresponding module to obtain the communication address of the interactive terminal; the second method: the terminal and the interactive terminal can obtain the communication address of the other party by means of a unified login server. Of course, it can be understood that the specific manner of obtaining the communication address of the interactive terminal is not limited in the embodiment of the present invention.
如图4所示,根据互动终端的通讯地址信息,向互动终端发送建立通讯链接的请求的步骤包括:As shown in FIG. 4, according to the communication address information of the interactive terminal, the step of sending a request for establishing a communication link to the interactive terminal includes:
步骤41,生成包括终端的地址信息和校验信息的字符串;Step 41: Generate a character string including address information and verification information of the terminal;
步骤42,根据互动终端的通讯地址信息,通过即时通讯工具或邮箱将字符串发送至互动终端。Step 42: Send the character string to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
在本发明的具体实施例中,终端将包括自身地址信息和校验信息的加密字符串通过微信等即时通讯工具或邮箱等传统方式发送给互动终端,互动终端将该字符串导入对应模块中便可得到终端的通讯地址。 In a specific embodiment of the present invention, the terminal sends the encrypted character string including the own address information and the verification information to the interactive terminal through a conventional manner such as an instant messaging tool such as WeChat or a mailbox, and the interactive terminal imports the character string into the corresponding module. The communication address of the terminal is available.
本发明的上述实施例中,步骤13包括:In the above embodiment of the present invention, step 13 includes:
检测一“聊天”触动按钮的状态,当检测到“聊天”触动按钮被按压时,向互动终端发起实时音频和/或视频联系请求。A status of a "chat" touch button is detected, and when it is detected that the "chat" touch button is pressed, a real-time audio and/or video contact request is initiated to the interactive terminal.
在本发明的具体实施例中,当终端用户想跟互动终端用户对视频进行交流时,终端用户可以单击“聊天”按钮,当终端检测到“聊天”触动按钮被按压时,向互动终端发起实时音频和/或视频联系请求,从而使终端用户与互动终端用户进行交流。In a specific embodiment of the present invention, when the terminal user wants to communicate with the interactive terminal user, the terminal user may click the “chat” button, and when the terminal detects that the “chat” touch button is pressed, the terminal initiates to the interactive terminal. Real-time audio and/or video contact requests allow end users to communicate with interactive end users.
本发明的上述实施例中,在步骤13中,在当前屏幕中,以第一窗口播放当前播放视频,以第二窗口播放互动终端传输的视频数据。In the above embodiment of the present invention, in step 13, in the current screen, the current play video is played in the first window, and the video data transmitted by the interactive terminal is played in the second window.
在本发明的具体实施例中,第二窗口可以是叠加在第一窗口上的一个小窗口,当然用户可以选择关闭第二窗口,只保留音频通讯互动。In a specific embodiment of the present invention, the second window may be a small window superimposed on the first window. Of course, the user may choose to close the second window and only retain the audio communication interaction.
在本发明的具体实施例中,如图2所示,终端、互动终端以及媒体服务器应用上述方法时的步骤如下:当终端用户想向互动终端用户推荐当前正在播放的视频时,可打开本地保存的好友列表,选中互动终端用户后,向互动终端发送当前播放视频的参数信息,互动终端通过该参数信息向媒体服务器获取该播放视频。此时,如果终端用户想与互动终端用户进行交流的话,可以向互动终端发送聊天请求,互动终端在收到该请求后,向终端发送RTSP链接请求,随机建立一条单独的RTSP媒体链路,此时,终端用户便可以向互动终端客户传送实时音视频数据。同理,终端会向互动终端发送RTSP请求,建立反向RTSP链路,使互动终端向终端传送互动终端用户的实时音视频数据,从而终端客户与互动终端客户实现交流。随后,终端可以向互动终端发送终止RTSP链路的请求,互动终端在收到该请求后,便会关闭节目共享与视频互动。In a specific embodiment of the present invention, as shown in FIG. 2, the steps when the terminal, the interactive terminal, and the media server apply the foregoing method are as follows: when the terminal user wants to recommend the currently playing video to the interactive terminal user, the local save can be opened. The buddy list, after selecting the interactive terminal user, sends the parameter information of the currently played video to the interactive terminal, and the interactive terminal acquires the play video from the media server through the parameter information. At this time, if the terminal user wants to communicate with the interactive terminal user, the interactive terminal may send a chat request, and after receiving the request, the interactive terminal sends an RTSP link request to the terminal, and randomly establishes a separate RTSP media link. The end user can then transmit real-time audio and video data to the interactive terminal client. Similarly, the terminal sends an RTSP request to the interactive terminal to establish a reverse RTSP link, so that the interactive terminal transmits the real-time audio and video data of the interactive terminal user to the terminal, so that the terminal client communicates with the interactive terminal client. Subsequently, the terminal may send a request to terminate the RTSP link to the interactive terminal, and after receiving the request, the interactive terminal closes the program sharing and the video interaction.
为了更好的实现上述目的,如图5所示,本发明实施例还提供一种多人观看视频实时互动的系统50,所述系统包括处理器和程序存储设备,所述程序存储设备存储计算机可读程序,所述计算机可读程序包括:In order to achieve the above objective, as shown in FIG. 5, an embodiment of the present invention further provides a system 50 for real-time interaction of multiple people watching video, the system comprising a processor and a program storage device, the program storage device storing a computer A readable program, the computer readable program comprising:
获取模块51,适用于获取互动终端的通讯地址信息;The obtaining module 51 is adapted to obtain the communication address information of the interactive terminal;
第一发送模52,适用于根据互动终端的通讯地址信息,将当前播放视频 的参数信息发送至互动终端,使互动终端能够根据参数信息同步播放当前播放视频;The first sending module 52 is adapted to play the currently playing video according to the communication address information of the interactive terminal. The parameter information is sent to the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
互动模块53,适用于在与互动终端同步播放当前播放视频的过程中,向互动终端发起实时音频和/或视频联系请求,或者接收互动终端发送的音频和/或视频联系请求,与互动终端之间进行音频和/或视频数据传输。The interaction module 53 is adapted to initiate a real-time audio and/or video contact request to the interactive terminal or receive an audio and/or video contact request sent by the interactive terminal during the process of playing the currently played video synchronously with the interactive terminal, and the interactive terminal Audio and/or video data transmission between.
在本发明的具体实施例中,上述系统50的应用环境部署图如图6所示。In the specific embodiment of the present invention, the application environment deployment diagram of the above system 50 is as shown in FIG. 6.
其中,获取模块51包括:The obtaining module 51 includes:
第一单元,适用于扫描包括互动终端的通讯地址信息和校验信息的二维码,将二维码保存到包括互动终端的用户名的好友列表中,使二维码与互动终端的用户名建立关联;The first unit is adapted to scan the two-dimensional code including the communication address information and the verification information of the interactive terminal, save the two-dimensional code to the buddy list of the user name including the interactive terminal, and make the two-dimensional code and the user name of the interactive terminal Establish an association;
第二单元,适用于根据用户从好友列表中所选取的互动终端的用户名,获取互动终端的通讯地址信息。The second unit is adapted to obtain the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
其中,系统还包括:Among them, the system also includes:
第二发送模块,适用于根据互动终端的通讯地址信息,向互动终端发送建立通讯链接的请求,使互动终端获得终端的通讯地址信息。The second sending module is adapted to send a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
其中,第二发送模块包括:The second sending module includes:
第三单元,适用于生成包括终端的地址信息和校验信息的字符串;The third unit is adapted to generate a character string including address information and verification information of the terminal;
第四单元,适用于根据互动终端的通讯地址信息,通过即时通讯工具或邮箱将字符串发送至互动终端。The fourth unit is adapted to send the character string to the interactive terminal through an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
其中,系统还包括:Among them, the system also includes:
检测模块,适用于检测一“分享”触动按钮的状态,当检测到“分享”触动按钮被按压操作时,根据互动终端的通讯地址信息,将当前播放视频的参数信息发送至互动终端。The detecting module is adapted to detect a state of a “share” touch button. When detecting that the “share” touch button is pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal.
其中,互动模块53包括:The interaction module 53 includes:
第五单元,适用于检测一“聊天”触动按钮的状态,当检测到“聊天”触动按钮被按压时,向互动终端发起实时音频和/或视频联系请求。The fifth unit is adapted to detect a state of a "chat" touch button, and when detecting that the "chat" touch button is pressed, initiate a real-time audio and/or video contact request to the interactive terminal.
其中,系统还包括: Among them, the system also includes:
第三发送模块,适用于每隔一预设时间向互动终端发送当前播放视频的进度信息,使互动终端同步播放当前视频。The third sending module is configured to send the progress information of the currently played video to the interactive terminal every preset time, so that the interactive terminal simultaneously plays the current video.
其中,当前播放视频的参数信息包括:当前播放视频的媒体服务器的地址、当前播放视频的ID、当前播放视频的播放进度。The parameter information of the currently played video includes: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
其中,互动模块53在与互动终端之间进行视频数据传输时,在当前屏幕中,以第一窗口播放当前播放视频,以第二窗口播放互动终端传输的视频数据。The interaction module 53 plays the current play video in the first window and the video data transmitted by the interactive terminal in the second window when the video data is transmitted between the interactive terminal and the interactive terminal.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
当然,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明的权利要求的保护范围。The invention may, of course, be embodied in a variety of other embodiments without departing from the spirit and scope of the invention. Changes and modifications are intended to fall within the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提供的多人观看视频实时互动的方法,在无需主控服务器对业务进行管理和转发的情况下,多个终端可以两两实现同步观看同一个视频节目的同时进行实时音视频交流。 The method for real-time interaction of multi-person watching video provided by the embodiment of the present invention can realize simultaneous real-time audio and video communication while simultaneously watching the same video program in two or two situations without the main control server managing and forwarding the service. .

Claims (19)

  1. 一种多人观看视频实时互动的方法,应用于一终端,所述方法包括:A method for multi-person viewing video real-time interaction is applied to a terminal, and the method includes:
    获取互动终端的通讯地址信息;Obtaining the communication address information of the interactive terminal;
    根据所述互动终端的通讯地址信息,将当前播放视频的参数信息发送至所述互动终端,使所述互动终端能够根据所述参数信息同步播放所述当前播放视频;Sending parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
    在与所述互动终端同步播放所述当前播放视频的过程中,向所述互动终端发起实时音频和/或视频联系请求,或者接收所述互动终端发送的音频和/或视频联系请求,与所述互动终端之间进行音频和/或视频数据传输。In a process of synchronously playing the currently played video with the interactive terminal, initiating a real-time audio and/or video contact request to the interactive terminal, or receiving an audio and/or video contact request sent by the interactive terminal, and Audio and/or video data transmission between interactive terminals.
  2. 如权利要求1所述的方法,其中,所述获取互动终端的通讯地址信息的步骤包括:The method of claim 1, wherein the step of obtaining the communication address information of the interactive terminal comprises:
    扫描包括所述互动终端的通讯地址信息和校验信息的二维码,将所述二维码保存到包括所述互动终端的用户名的好友列表中,使所述二维码与所述互动终端的用户名建立关联;Scanting a two-dimensional code including the communication address information and the verification information of the interactive terminal, saving the two-dimensional code to a buddy list including a user name of the interactive terminal, and interacting the two-dimensional code with the The user name of the terminal is associated;
    根据用户从所述好友列表中选取的所述互动终端的用户名,获取所述互动终端的通讯地址信息。Obtaining the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
  3. 如权利要求1或2所述的方法,在所述获取互动终端的通讯地址信息的步骤之后,还包括:The method of claim 1 or 2, after the step of obtaining the communication address information of the interactive terminal, further comprising:
    根据所述互动终端的通讯地址信息,向所述互动终端发送建立通讯链接的请求,使所述互动终端获得所述终端的通讯地址信息。And sending, according to the communication address information of the interactive terminal, a request for establishing a communication link to the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
  4. 如权利要求3所述的方法,其中,所述根据所述互动终端的通讯地址信息,向所述互动终端发送建立通讯链接的请求的步骤包括:The method of claim 3, wherein the step of transmitting a request to establish a communication link to the interactive terminal according to the communication address information of the interactive terminal comprises:
    生成包括所述终端的地址信息和校验信息的字符串;Generating a character string including address information and verification information of the terminal;
    根据所述互动终端的通讯地址信息,通过即时通讯工具或邮箱将所述字符串发送至所述互动终端。And sending the character string to the interactive terminal by using an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
  5. 如权利要求1所述的方法,在所述获取互动终端的通讯地址信息的步骤之后,还包括:检测一“分享”触动按钮的状态,当检测到所述“分享” 触动按钮被按压操作时,根据所述互动终端的通讯地址信息,将当前播放视频的参数信息发送至所述互动终端。The method of claim 1, after the step of obtaining the communication address information of the interactive terminal, further comprising: detecting a status of a "share" touch button, when detecting the "sharing" When the touch button is pressed, the parameter information of the currently played video is sent to the interactive terminal according to the communication address information of the interactive terminal.
  6. 如权利要求1所述的方法,其中,所述向所述互动终端发起实时音频和/或视频联系请求的步骤包括:The method of claim 1 wherein said step of initiating a real-time audio and/or video contact request to said interactive terminal comprises:
    检测一“聊天”触动按钮的状态,当检测到所述“聊天”触动按钮被按压时,向所述互动终端发起实时音频和/或视频联系请求。A status of a "chat" touch button is detected, and when it is detected that the "chat" touch button is pressed, a real-time audio and/or video contact request is initiated to the interactive terminal.
  7. 如权利要求1所述的方法,在根据所述互动终端的通讯地址信息,将当前播放视频的参数信息发送至所述互动终端的步骤之后,还包括:The method of claim 1, after the step of transmitting the parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, the method further includes:
    每隔一预设时间向所述互动终端发送当前播放视频的进度信息,使所述互动终端同步播放当前视频。Sending progress information of the currently played video to the interactive terminal every predetermined time, so that the interactive terminal synchronously plays the current video.
  8. 如权利要求1所述的方法,其中,当前播放视频的参数信息包括:当前播放视频的媒体服务器的地址、当前播放视频的ID、当前播放视频的播放进度。The method of claim 1, wherein the parameter information of the currently played video comprises: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
  9. 如权利要求1所述的方法,其中,在所述与所述互动终端之间进行视频数据传输的步骤中,在当前屏幕上,以第一窗口播放当前播放视频,以第二窗口播放所述互动终端传输的视频数据。The method of claim 1, wherein in the step of performing video data transmission with the interactive terminal, on the current screen, the current play video is played in the first window, and the second window is played in the second window. Video data transmitted by the interactive terminal.
  10. 一种多人观看视频实时互动的系统,应用于一终端,所述系统包括:A system for multi-person watching video real-time interaction is applied to a terminal, the system comprising:
    获取模块,设置为获取互动终端的通讯地址信息;Obtaining a module, configured to obtain communication address information of the interactive terminal;
    第一发送模块,设置为根据所述互动终端的通讯地址信息,将当前播放视频的参数信息发送至所述互动终端,使所述互动终端能够根据所述参数信息同步播放所述当前播放视频;The first sending module is configured to send the parameter information of the currently played video to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal can synchronously play the currently played video according to the parameter information;
    互动模块,设置为在与所述互动终端同步播放所述当前播放视频的过程中,向所述互动终端发起实时音频和/或视频联系请求,或者接收所述互动终端发送的音频和/或视频联系请求,与所述互动终端之间进行音频和/或视频数据传输。An interaction module, configured to initiate a real-time audio and/or video contact request to the interactive terminal or receive audio and/or video sent by the interactive terminal in a process of playing the currently played video synchronously with the interactive terminal A contact request to perform audio and/or video data transmission with the interactive terminal.
  11. 如权利要求10所述的系统,其中,所述获取模块包括:The system of claim 10 wherein said obtaining module comprises:
    第一单元,设置为扫描包括所述互动终端的通讯地址信息和校验信息的二维码,将所述二维码保存到包括所述互动终端的用户名的好友列表中,使 所述二维码与所述互动终端的用户名建立关联;a first unit, configured to scan a two-dimensional code including the communication address information and the verification information of the interactive terminal, and save the two-dimensional code to a buddy list including a user name of the interactive terminal, so that The two-dimensional code is associated with a username of the interactive terminal;
    第二单元,设置为根据用户从所述好友列表中所选取的所述互动终端的用户名,获取所述互动终端的通讯地址信息。The second unit is configured to obtain the communication address information of the interactive terminal according to the user name of the interactive terminal selected by the user from the buddy list.
  12. 如权利要求10或11所述的系统,还包括:A system according to claim 10 or 11, further comprising:
    第二发送模块,设置为根据所述互动终端的通讯地址信息,向所述互动终端发送建立通讯链接的请求,使所述互动终端获得所述终端的通讯地址信息。The second sending module is configured to send a request for establishing a communication link to the interactive terminal according to the communication address information of the interactive terminal, so that the interactive terminal obtains the communication address information of the terminal.
  13. 如权利要求12所述的系统,其中,所述第二发送模块包括:The system of claim 12 wherein said second transmitting module comprises:
    第三单元,设置为生成包括所述终端的地址信息和校验信息的字符串;a third unit, configured to generate a character string including address information and verification information of the terminal;
    第四单元,设置为根据所述互动终端的通讯地址信息,通过即时通讯工具或邮箱将所述字符串发送至所述互动终端。The fourth unit is configured to send the character string to the interactive terminal by using an instant messaging tool or a mailbox according to the communication address information of the interactive terminal.
  14. 如权利要求10所述的系统,还包括:The system of claim 10 further comprising:
    检测模块,设置为检测一“分享”触动按钮的状态,当检测到所述“分享”触动按钮被按压操作时,根据所述互动终端的通讯地址信息,将当前播放视频的参数信息发送至所述互动终端。The detecting module is configured to detect a state of a “share” touch button, and when detecting that the “share” touch button is pressed, send the parameter information of the currently played video to the location according to the communication address information of the interactive terminal. The interactive terminal.
  15. 如权利要求10所述的系统,其中,所述互动模块包括:The system of claim 10 wherein said interaction module comprises:
    第五单元,设置为检测一“聊天”触动按钮的状态,当检测到所述“聊天”触动按钮被按压时,向所述互动终端发起实时音频和/或视频联系请求。The fifth unit is configured to detect a state of a "chat" touch button, and when detecting that the "chat" touch button is pressed, initiate a real-time audio and/or video contact request to the interactive terminal.
  16. 如权利要求10所述的系统,还包括:The system of claim 10 further comprising:
    第三发送模块,设置为每隔一预设时间向所述互动终端发送当前播放视频的进度信息,使所述互动终端同步播放当前视频。The third sending module is configured to send progress information of the currently played video to the interactive terminal every predetermined time, so that the interactive terminal plays the current video synchronously.
  17. 如权利要求10所述的系统,其中,当前播放视频的参数信息包括:当前播放视频的媒体服务器的地址、当前播放视频的ID、当前播放视频的播放进度。The system of claim 10, wherein the parameter information of the currently played video comprises: an address of a media server that currently plays the video, an ID of the currently played video, and a playback progress of the currently played video.
  18. 如权利要求10所述的系统,在所述互动模块在与所述互动终端之间进行视频数据传输时,在当前屏幕上,以第一窗口播放当前播放视频,以第二窗口播放所述互动终端传输的视频数据。 The system according to claim 10, wherein when the interactive module performs video data transmission with the interactive terminal, the current play video is played in the first window and the interaction is played in the second window on the current screen. Video data transmitted by the terminal.
  19. 一种计算机可读存储介质,所述存储介质存储有计算机程序,该计算机程序包括程序指令,当该程序指令被视频终端设备执行时,使得该设备可执行权利要求1-9任一项的方法。 A computer readable storage medium storing a computer program, the computer program comprising program instructions, when the program instructions are executed by a video terminal device, causing the device to perform the method of any one of claims 1-9 .
PCT/CN2015/079403 2014-09-29 2015-05-20 Multi-user video-watching real-time interaction method and system WO2016050080A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410514915.4 2014-09-29
CN201410514915.4A CN105530535A (en) 2014-09-29 2014-09-29 Method and system capable of realizing multi-person video watching and real-time interaction

Publications (1)

Publication Number Publication Date
WO2016050080A1 true WO2016050080A1 (en) 2016-04-07

Family

ID=55629403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/079403 WO2016050080A1 (en) 2014-09-29 2015-05-20 Multi-user video-watching real-time interaction method and system

Country Status (2)

Country Link
CN (1) CN105530535A (en)
WO (1) WO2016050080A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792696A (en) * 2017-01-11 2017-05-31 揭军平 The access management method of intelligent display device two-dimensional code scanning, apparatus and system
CN108462882A (en) * 2017-02-22 2018-08-28 杨绍辉 A kind of interactive approach of network direct broadcasting system

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979333B (en) * 2016-05-04 2020-06-02 北京华熙动博网络科技有限公司 Data synchronous display method and device
CN106060675A (en) * 2016-06-24 2016-10-26 捷开通讯(深圳)有限公司 System and method for playing audio/video simultaneously
CN106792245B (en) * 2016-11-22 2018-04-20 广州华多网络科技有限公司 Direct broadcasting room video flowing synthetic method, device and terminal device
CN106533924A (en) * 2016-12-19 2017-03-22 广州华多网络科技有限公司 Instant messaging method and device
CN107124661B (en) 2017-04-07 2020-05-19 广州市百果园网络科技有限公司 Communication method, device and system in live channel
CN107333146A (en) * 2017-07-12 2017-11-07 易视腾科技股份有限公司 video group viewing control method and system
CN108200458A (en) * 2018-02-02 2018-06-22 优酷网络技术(北京)有限公司 Video interaction method, subscription client, server and storage medium
CN108271056B (en) * 2018-02-02 2020-11-03 阿里巴巴(中国)有限公司 Video interaction method, user client, server and storage medium
IT201900001711A1 (en) 2019-02-06 2020-08-06 Savoia S R L SYSTEM AND METHOD OF DIGITAL INTERACTION BETWEEN USERS FOR THE OPTIMIZATION OF PHYSICAL MOVEMENTS
CN112104904B (en) * 2019-06-17 2023-12-22 北京我声我视科技有限公司 Method and system for synchronously watching video and realizing real-time interaction by multiple users
CN110691266A (en) * 2019-10-15 2020-01-14 季国存 On-site broadcasting system
CN110719516A (en) * 2019-10-21 2020-01-21 北京字节跳动网络技术有限公司 Video synchronization method and device, terminal and storage medium
CN112752153A (en) * 2020-04-30 2021-05-04 腾讯科技(深圳)有限公司 Video playing processing method, intelligent device and storage medium
CN113099281B (en) * 2021-02-22 2022-05-17 互影科技(北京)有限公司 Video interaction method and device, storage medium and terminal
CN115904171A (en) * 2021-09-30 2023-04-04 北京字跳网络技术有限公司 Interaction method, device, equipment, computer readable storage medium and product
CN115002553A (en) * 2022-04-29 2022-09-02 当趣网络科技(杭州)有限公司 Method and system for chatting while watching based on same movie and television video

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247540A (en) * 2007-02-15 2008-08-20 上海贝尔阿尔卡特股份有限公司 Method and device for combining interactive channel service and broadcasting channel service
US20080254888A1 (en) * 2005-03-23 2008-10-16 Konami Digital Entertainment Co., Ltd. Game program, game device, and game method
CN101986763A (en) * 2010-10-22 2011-03-16 浙江大学 Double battle mobile game method
CN102858025A (en) * 2011-06-29 2013-01-02 北京三星通信技术研究有限公司 Method and device of point-to-point interactive operation
CN103491422A (en) * 2013-09-17 2014-01-01 深圳市九洲电器有限公司 Method and system for enabling set top boxes to conduct information sharing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391451A (en) * 2013-07-09 2013-11-13 百度在线网络技术(北京)有限公司 Method, system and device for communication during video watching
CN103716709B (en) * 2013-12-23 2017-02-01 乐视致新电子科技(天津)有限公司 Method and device for same screen interaction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080254888A1 (en) * 2005-03-23 2008-10-16 Konami Digital Entertainment Co., Ltd. Game program, game device, and game method
CN101247540A (en) * 2007-02-15 2008-08-20 上海贝尔阿尔卡特股份有限公司 Method and device for combining interactive channel service and broadcasting channel service
CN101986763A (en) * 2010-10-22 2011-03-16 浙江大学 Double battle mobile game method
CN102858025A (en) * 2011-06-29 2013-01-02 北京三星通信技术研究有限公司 Method and device of point-to-point interactive operation
CN103491422A (en) * 2013-09-17 2014-01-01 深圳市九洲电器有限公司 Method and system for enabling set top boxes to conduct information sharing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792696A (en) * 2017-01-11 2017-05-31 揭军平 The access management method of intelligent display device two-dimensional code scanning, apparatus and system
CN106792696B (en) * 2017-01-11 2023-04-07 揭军平 Access management method, device and system for two-dimensional code scanning for intelligent display equipment
CN108462882A (en) * 2017-02-22 2018-08-28 杨绍辉 A kind of interactive approach of network direct broadcasting system

Also Published As

Publication number Publication date
CN105530535A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
WO2016050080A1 (en) Multi-user video-watching real-time interaction method and system
US10778656B2 (en) Sharing resources across multiple devices in online meetings
US10462081B2 (en) Subscription-based media push service
JP5992476B2 (en) Event-based social networking application
US20180063556A1 (en) Systems and methods for providing guest broadcasting on a live stream video platform
US8990317B2 (en) Shared multimedia experience
US9979690B2 (en) Method and apparatus for social network communication over a media network
WO2015096679A1 (en) Method and device for same-screen interaction
WO2019090902A1 (en) Screen sharing method and apparatus, electronic device, and storage medium
WO2016202128A1 (en) Message sharing method, client, and computer storage medium
US20140040784A1 (en) Multi-user chat
WO2015078199A1 (en) Live interaction method and device, client, server and system
US10320794B2 (en) System for sharing selectively ephemeral content
WO2017206398A1 (en) Method and device for video sharing
US11128675B2 (en) Automatic ad-hoc multimedia conference generator
CN102185924A (en) Method and equipment for sharing video screenshot
EP3262811B1 (en) Endpoint control for a communication session
TW200939775A (en) Techniques to generate a visual composition for a multimedia conference event
WO2013033259A2 (en) Systems and methods for a video sharing social network
WO2009047750A2 (en) System and method for synchronized video sharing
CN105556980B (en) For integrating the method and system of content viewing and communication in immersion social activity center session
CN103297858A (en) Smart television user state displaying system and smart television user state displaying method
WO2017016266A1 (en) Method and device for implementing synchronous playing
CN104065913B (en) A kind of instant communication client
WO2015154569A1 (en) File processing method and device

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

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

Country of ref document: EP

Kind code of ref document: A1