WO2017166520A1 - 一种基于同一视频进行聊天的方法、系统及服务器 - Google Patents

一种基于同一视频进行聊天的方法、系统及服务器 Download PDF

Info

Publication number
WO2017166520A1
WO2017166520A1 PCT/CN2016/089348 CN2016089348W WO2017166520A1 WO 2017166520 A1 WO2017166520 A1 WO 2017166520A1 CN 2016089348 W CN2016089348 W CN 2016089348W WO 2017166520 A1 WO2017166520 A1 WO 2017166520A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
video
chat
terminal
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/089348
Other languages
English (en)
French (fr)
Inventor
张仕奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017166520A1 publication Critical patent/WO2017166520A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • 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/41Structure of client; Structure of client peripherals
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, system, and server for performing chat based on the same video.
  • online video sites have more and more video content.
  • the online video website supports the video on demand function, and the viewer can select the video for on-demand according to their respective needs without passively receiving the video. Therefore, the online video website is more and more popular with the audience.
  • the technical problem to be solved by the present invention is to provide a method, a system and a server for performing chat based on the same video, which can realize video socializing.
  • a technical solution adopted by the present invention is to provide a method for performing chat based on the same video, including: establishing a connection with a plurality of terminal devices, and receiving, when the plurality of terminal devices are playing video, receiving And a chat request message sent by the first terminal device of the plurality of terminal devices, where the chat request message carries a device identifier of the first terminal device; and according to the chat request message, obtain each of the foregoing a video information of a video currently being played by the terminal device, where the video information carries a video identifier of a video currently being played by the terminal device; and searching, according to the video information, the first terminal in the plurality of terminal devices Device broadcast a second terminal device that puts the same video; if the second terminal device is found, the second terminal device is allocated as a chat object to the first terminal device, and the first terminal device and the second terminal are caused A chat link is established between the devices, so that the first terminal device and the second terminal device perform chat communication through the chat link
  • the video information further includes a playback progress of the video currently being played by the terminal device, and the second terminal that searches for the same video with the first terminal device in the multiple terminal devices according to the video information.
  • the step of the device includes: searching, according to the video information, a second terminal device that plays the same video with the first terminal device and plays a progress greater than or equal to the first terminal device in the multiple terminal devices.
  • the method further includes: receiving an exit message sent by the first terminal device or the second terminal device when exiting the currently playing video; and releasing the first terminal device according to the exit message A chat link with the second terminal device.
  • the method further includes: if the second terminal device is not found, sending a chat object matching failure message to the first terminal device.
  • the step of acquiring the video information of the video currently being played by each of the terminal devices includes: sending a video query message to each of the terminal devices; and receiving, by the respective terminal device, the current return according to the query message Video information of the played video.
  • a server including: a first receiving module, configured to establish a connection with a plurality of terminal devices, and when the plurality of terminal devices are playing video Receiving a chat request message sent by the first terminal device of the plurality of terminal devices, where the chat request message carries a device identifier of the first terminal device, and an obtaining module is configured to use the chat request according to the chat request a message, where the video information of the video currently being played by each of the terminal devices is obtained, where the video information carries a video identifier of a video currently being played by the terminal device; and a searching module is configured to: according to the video information, Searching, by the plurality of terminal devices, a second terminal device that plays the same video as the first terminal device; and an allocation establishing module, configured to: when the searching module finds the second terminal device, use the second terminal device Assigning a chat object to the first terminal device, and establishing a chat link between the first terminal device and
  • the video information also carries the playing progress of the video currently being played by the terminal device; the searching module is specifically configured to search, in the multiple terminal devices, the same as the first terminal device according to the video information.
  • the video and the playback progress are greater than or equal to the second terminal device of the first terminal device.
  • the server further includes: a second receiving module, configured to receive an exit message sent by the first terminal device or the second terminal device when exiting the currently playing video; The message is exited, and the chat link between the first terminal device and the second terminal device is released.
  • the server further includes a first sending module, where the first sending module is configured to send a chat object matching failure message to the first terminal device when the searching module does not find the second terminal device.
  • another technical solution adopted by the present invention is to provide a system for performing chat based on the same video, including a server and a plurality of terminal devices; the server is configured to establish a connection with a plurality of terminal devices, and When the plurality of terminal devices are playing a video, receiving a chat request message sent by the first terminal device from the plurality of terminal devices, where the chat request message carries the device identifier of the first terminal device, Acquiring, according to the chat request message, video information of a video currently being played by each of the terminal devices, where the video information carries a video identifier of a video currently being played by the terminal device, according to the video information, in the Searching, by the plurality of terminal devices, a second terminal device that plays the same video as the first terminal device, and if the second terminal device is found, assigning the second terminal device to the first terminal device as a chat object And establishing a chat link between the first terminal device and the second terminal device, so that the first A second terminal device and
  • the present invention is in multiple terminal devices While the video is being played, and the first terminal device of the plurality of terminal devices sends the chat request message to the server, the server searches for the second terminal device that plays the same video with the first terminal device among the plurality of terminal devices, and The second terminal device is allocated as a chat object to the first terminal device, so that a chat link is established between the first terminal device and the second terminal device, so that the first terminal device and the second terminal device perform chat communication through the chat link, thereby realizing Video social.
  • FIG. 1 is a schematic diagram of an embodiment of a system for performing chat based on the same video according to the present invention
  • FIG. 2 is a schematic diagram of an embodiment of a server of the present invention.
  • FIG. 3 is a schematic diagram of another embodiment of a server of the present invention.
  • FIG. 4 is a flow chart of a first embodiment of a method for chatting based on the same video according to the present invention
  • FIG. 5 is a flowchart of acquiring video information of a video currently being played by each terminal device in an embodiment of a method for performing chat based on the same video according to the present invention
  • FIG. 6 is a flow chart of a second embodiment of a method for chatting based on the same video according to the present invention.
  • a system 20 for chatting based on the same video includes a server 21 and a plurality of terminal devices 22.
  • the terminal device 22 has a function of playing video.
  • the terminal device 22 can be a smart phone, a computer, a PDA, a tablet, or the like.
  • the server 21 establishes a connection with the terminal device 22.
  • the connection between the server 21 and the terminal device 22 is preferably a TCP connection, and the connection between the server 21 and the terminal device 22 can be detected by the heartbeat packet between the server 21 and the terminal device 22.
  • the connection established between the server 21 and the terminal device 22 can be initiated by the terminal device 22, and the connection between the establishment terminal device 22 and the server 21 can be registered as a service program, and the service program is at the terminal device 20. Registered, when the terminal device 22 is started, the service program is self-registered. The line starts in the background and establishes a connection with the server 21.
  • the terminal device 22 may also be registered as a member of the server 21 before establishing a connection with the server 21.
  • the registration information may be encrypted and then sent to ensure the security of the registration information.
  • the MAC address of the terminal device 22 and the IMEI serial number are used as registration information, and the registration information is base64 encrypted, and the encrypted information is encrypted.
  • the registration information is sent to the server 21 for registration, and the server 21 assigns the device number to the terminal device 22.
  • the first terminal device of the plurality of terminal devices 22 triggers the chat instruction, and the first terminal device sends a chat request message to the server 21 to request the server 21 to be the first terminal device.
  • the chat object is allocated, wherein the chat request message carries the device identifier of the first terminal device.
  • the manner in which the first terminal device triggers the chat command may be various. For example, when the first terminal device plays the video, the chat button is generated around the video screen. When the chat button is pressed, the first terminal device triggers the chat command. Or, when the first terminal device receives the start chat voice command, the first terminal device triggers the chat command.
  • the server 21 When receiving the chat request message, the server 21 obtains the video information of the video currently being played by each terminal device according to the chat request message, where the video information carries the video identifier.
  • the video is identified as the only tag for the video.
  • the server 21 searches for a second terminal device that plays the same video with the first terminal device among the plurality of terminal devices 22 based on the video information. Since each terminal device corresponds to a video identifier, when searching for a second terminal device that plays the same video with the first terminal device in the plurality of terminal devices 22, the video identifier may be used for searching, for example:
  • the video identifier corresponding to the terminal device is the same as the video identifier corresponding to the first terminal device, and the terminal device serves as the second terminal device.
  • the second terminal device is allocated as a chat object to the first terminal device, and a chat link is established between the first terminal device and the second terminal device, so that the first terminal device And the second terminal device performs chat communication through the chat link.
  • Establishing a chat link between the first terminal device and the second terminal device may directly establish a chat link for the first terminal device and the second terminal device, or the first terminal device and the second terminal device respectively Do not establish a chat channel with the server 21, and the chat channel is configured as a chat link.
  • the viewers of the first terminal device and the second terminal device all watch the same video, so that the viewer can chat for the same video, the topic is the same, and the user is easy to be excited. Both chat fun and realize video socializing.
  • the playback progress of the two played video videos may be different.
  • the combination may also be combined.
  • the terminal device searches for a second terminal device that plays the same video as the first terminal device and plays a progress greater than or equal to the first terminal device.
  • the chat link between the first terminal device and the second terminal device is released, and specifically, the server 21 receives the first terminal device or the second terminal device.
  • the server 21 cancels the chat link between the first terminal device and the second terminal device according to the exit message when exiting the video playback or replacing the exit message sent when the currently playing video is replaced.
  • the server 21 When the chat link is released, if the chat link is directly established between the first terminal device and the second terminal device, the server 21 sends a release message to the first terminal device and the second terminal device, respectively, so that the first The terminal device and the second terminal device are automatically released; if the chat link is formed by a chat channel established between the first terminal device and the second terminal device and the server 21, the server 21 can directly release the chat channel.
  • the server 21 can be a video pusher or an independent third party.
  • the server 21 can record the video currently being pushed to the terminal device, thereby acquiring video information of the video currently being played by each terminal device.
  • the server 21 may also request the terminal device to return the video information, and the server 21 obtains the video information of the video currently being played by each terminal device, specifically: the server 21 sends the video to each terminal device. Query the message and receive each terminal device according to the query The video information of the currently playing video returned by the text.
  • the server searches for the first terminal device among the plurality of terminal devices. Playing a second terminal device of the same video, and assigning the second terminal device as a chat object to the first terminal device, so that a chat link is established between the first terminal device and the second terminal device, and the first terminal device and the second device are implemented.
  • the terminal device performs chat communication through the chat link, thereby implementing video social interaction.
  • the invention further provides a server implementation.
  • the server 30 includes a first receiving module 301, an obtaining module 302, a lookup module 303, and an allocation establishing module 304.
  • the first receiving module 301 is configured to: when establishing a connection with a plurality of terminal devices, and when the plurality of terminal devices are playing a video, receive a chat request message sent by the first terminal device from the plurality of terminal devices, where the chat request message is sent
  • the file carries the device identifier of the first terminal device. Device IDs are unique, and device IDs of different terminal devices are different.
  • the first terminal device is one of a plurality of terminal devices.
  • the obtaining module 302 is configured to obtain, according to the chat request message, the video information of the video currently being played by each terminal device, where the video information carries the video identifier of the video currently being played by the terminal device.
  • the video logo is also unique.
  • the searching module 303 is configured to search, in the plurality of terminal devices, the second terminal device that plays the same video as the first terminal device according to the video information.
  • the distribution establishing module 304 is configured to allocate the second terminal device as a chat object to the first terminal device when the searching module 303 finds the second terminal device, and establish a chat link between the first terminal device and the second terminal device. So that the first terminal device and the second terminal device perform chat communication through the chat link.
  • the chat link established between the first terminal device and the second terminal device may be directly established between the first terminal device and the second terminal device, or the first terminal device and the second terminal device respectively establish a chat channel with the server 30. After that, it consists of a chat channel.
  • the terminal device may be selected in conjunction with the play progress, and the video information also carries the play progress of the video currently being played by the terminal device, and the search module 303 is specifically configured to be used. According to video information, in multiple terminal devices Finding a second terminal device that plays the same video as the first terminal device and plays a progress greater than or equal to the first terminal device.
  • the chat link between the first terminal device and the second terminal device may also be released, and the server 30 further includes: a second receiving module 305 and releasing Module 306.
  • the second receiving module 305 is configured to receive an exit message sent by the first terminal device when exiting the video playing or replacing the currently playing video.
  • the releasing module 306 is configured to cancel the chat link between the first terminal device and the second terminal device according to the exit message.
  • the Server 30 also includes a transmitting module 307.
  • the sending module is configured to send a chat object matching failure message to the first terminal device when the searching module 303 does not find the second terminal device.
  • the first terminal device learns that the chat object matching fails.
  • the server 30 may perform a query by using a packet when the video information of the video currently being played by the terminal device is obtained.
  • the server 30 further includes a second sending unit (not shown) and a third receiving unit (not shown).
  • the second sending module is configured to send a video query message to each terminal device
  • the third receiving module is configured to receive video information of the currently playing video returned by each terminal device according to the query message.
  • the first receiving module 301 receives a chat request message sent by the first terminal device of the plurality of terminal devices, and the searching module 303 searches for the plurality of terminal devices.
  • a second terminal device that plays the same video with the first terminal device, and the distribution establishing module 304 allocates the second terminal device as a chat object to the first terminal device, so that a chat link is established between the first terminal device and the second terminal device.
  • the first terminal device and the second terminal device are implemented to perform chat communication through the chat link, thereby implementing video social interaction.
  • FIG. 3 is a schematic diagram of another embodiment of the server of the present invention.
  • the server 4 includes a processor 41, a memory 42, and a bus system 43.
  • the processor 41 and the memory 42 are connected by a bus system 43 for storing instructions, and the processor 41 is configured to execute instructions stored in the memory 42 for establishing a connection with a plurality of terminal devices, and Terminal setting
  • the video is being played, receiving a chat request message sent by the first terminal device from the plurality of terminal devices, where the chat request message carries the device identifier of the first terminal device; and according to the chat request message, obtaining the current terminal device
  • the video information of the video being played wherein the video information carries the video identifier of the video currently being played by the terminal device; and the second terminal device that plays the same video with the first terminal device in the plurality of terminal devices according to the video information; Finding the second terminal device, assigning the second terminal device as the chat object to the first terminal device, and establishing a chat link between the first terminal device and the second
  • the memory 42 can be a non-transitory computer readable storage medium for storing computer executable instructions that, when executed by one or more processors, can cause the processor 41 to perform the steps of the method embodiments below, for example, Steps S401 and S404 as described in FIG. 4, or steps S401 to S407 as described in FIG. 5; may also cause the processor 41 to perform the functions of the modules of the above apparatus embodiment, for example, the functions of the modules 301 to 307 as shown in FIG.
  • the computer executable instructions may also be stored and/or transferred in any non-transitory computer readable storage medium for use by or in connection with an instruction execution system, apparatus or device, where the instructions
  • An execution system, apparatus, or device such as a computer-based system, a system containing a processor, or other system that can obtain instructions from, and execute instructions from, an instruction execution system, apparatus, or device.
  • a "non-transitory computer readable storage medium" can be any medium that tangibly contains or stores computer-executable instructions, which can be used by an instruction execution system, device, or system Or use in conjunction with an instruction execution system, device, or device.
  • Non-volatile computer readable storage media may include, but are not limited to, magnetic, optical, and/or semiconductor storage devices. Examples of such storage devices include magnetic disks, CD-ROM based on CD, DVD or Blu-ray technology, and persistent solid-state memories (such as flash memory, solid state drives, etc.).
  • the processor 41 may be a central processing unit ("CPU").
  • the processor 41 can also be other general purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays. (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the bus system 43 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as the bus system 43 in the figure.
  • the server 4 is not limited to the components and configurations of FIG. 3, and may include other or additional components in various configurations.
  • each step of the above method or each module of the device may be completed by an integrated logic circuit of hardware in the processor 41 or an instruction in the form of software.
  • the elements of the steps or apparatus of the method disclosed in connection with the embodiments of the present application may be directly embodied as hardware processor execution completion. Or complete with a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 42, and the processor 41 reads the information in the memory 42 and performs the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the second terminal device allocates the second terminal device to the first terminal device as a chat object, so that a chat link is established between the first terminal device and the second terminal device, and the first terminal device and the second terminal device are configured to chat.
  • the link performs chat communication to achieve video socialization.
  • the present invention also provides an embodiment of a method for chatting based on the same video.
  • the method includes:
  • Step S401 When a connection is established with a plurality of terminal devices, and a plurality of terminal devices are playing a video, receiving a chat request message sent by the first terminal device from the plurality of terminal devices, where The chat request message carries the device identifier of the first terminal device;
  • the first terminal device is any one of a plurality of terminal devices.
  • the terminal device first establishes with the server when starting, and when the terminal device plays the video, it sends a video playback message to the server to inform the server that the video is currently playing.
  • Step S402 Acquire, according to the chat request message, the video information of the video currently being played by each terminal device, where the video information carries the video identifier of the video currently being played by the terminal device;
  • step S402 further includes:
  • Step S4021 Send a video query message to each terminal device.
  • Step S4022 Receive video information of a currently playing video returned by each terminal device according to the query message
  • the video query message is used to request the terminal device to query the video information of the currently playing video. After the terminal device queries the video information, it directly returns the video information.
  • Step S403 searching for a second terminal device that plays the same video with the first terminal device in the plurality of terminal devices according to the video information, and if the second terminal device is found, proceeding to step S404;
  • the second terminal device Since the video played by the first terminal device and the second terminal device are the same, the second terminal device is matched as the first terminal device as the chat object, so that the viewers of the terminal device and the second terminal device both watch the same video, so that the viewer can Chatting on the same video has the same topic, and it is easy to stimulate the fun of both chats and realize video socialization.
  • the terminal device may be selected in conjunction with the play progress, and the video information also carries the play progress of the video currently being played by the terminal device, and step S403 may be specifically And searching, according to the video information, a second terminal device that plays the same video as the first terminal device and plays a progress greater than or equal to the first terminal device among the plurality of terminal devices.
  • Step S404 Assign the second terminal device as a chat object to the first terminal device, and establish a chat link between the first terminal device and the second terminal device, so that the first terminal device and the second terminal device pass the chat chain.
  • a chat link is established between the first terminal device and the second terminal device, and when the first terminal device receives the input first chat information, the first chat information is sent to the second terminal device, and the second terminal device receives the second When chatting information, the second chat is sent to the first terminal device to implement social functions.
  • step S403 if the second terminal device is not found in step S403, the process proceeds to step S405.
  • Step S405 Send a chat object matching failure message to the first terminal device.
  • the terminal device that has played the same video that is currently being played by the first terminal device may be searched in the plurality of terminal devices according to the video history data, and the terminal device is found as the second terminal device.
  • the video history data records the playback record of the terminal device.
  • the chat link between the first terminal device and the second terminal device may also be removed, and the method further includes:
  • Step 406 Receive an exit message sent by the first terminal device or the second terminal device when exiting the currently playing video.
  • the first terminal device or the second terminal device When the first terminal device or the second terminal device exits the currently playing video, the first terminal device or the second terminal device exits the video play page, or the first terminal device or the second terminal device switches the video.
  • Step S407 The chat link between the first terminal device and the second terminal device is released according to the exit message
  • the server searches for the first terminal device among the plurality of terminal devices. Playing a second terminal device of the same video, and assigning the second terminal device as a chat object to the first terminal device, so that a chat link is established between the first terminal device and the second terminal device, and the first terminal device and the second device are implemented.
  • the terminal device performs chat communication through the chat link, thereby implementing video social interaction.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种基于同一视频进行聊天的方法、系统及服务器,方法包括:在与多个终端设备建立连接,并且多个终端设备正在播放视频时,接收来自多个终端设备中第一终端设备发送的聊天请求报文;根据聊天请求报文,获取各个终端设备当前正在播放的视频的视频信息,其中,视频信息携带终端设备当前正在播放的视频的视频标识;根据视频信息,在多个终端设备中查找与第一终端设备播放相同视频的第二终端设备;若找到第二终端设备,则将第二终端设备作为聊天对象分配至第一终端设备,并且使第一终端设备与第二终端设备之间建立聊天链路,以使第一终端设备和第二终端设备通过聊天链路进行聊天通信。通过上述方式,本发明能够视频社交。

Description

一种基于同一视频进行聊天的方法、系统及服务器 【技术领域】
本发明涉及通信技术领域,特别是涉及一种基于同一视频进行聊天的方法、系统及服务器。
【背景技术】
随着在线视频网站的发展,在线视频网站所拥有的视频内容越来越丰富。另外,在线视频网站又支持视频点播功能,观众可以根据各自的需要选择视频进行点播,而不被动接收视频,因此,在线视频网站越来越受观众欢迎。
观众观看在线视频主要通过智能手机、平板电脑或者台式电脑进行的。智能手机和平板电脑均是小型化便携式的终端设备,方便观众可以随时随地连接在线视频网站,观看视频。但是,现有技术在线视频点播中,只能允许观众点播在线视频,功能过于单一。
【发明内容】
本发明主要解决的技术问题是提供一种基于同一视频进行聊天的方法、系统及服务器,能够实现视频社交。
为解决上述技术问题,本发明采用的一个技术方案是:提供一种基于同一视频进行聊天的方法,包括:在与多个终端设备建立连接,并且所述多个终端设备正在播放视频时,接收来自所述多个终端设备中第一终端设备发送的聊天请求报文,其中,所述聊天请求报文携带所述第一终端设备的设备标识;根据所述聊天请求报文,获取各个所述终端设备当前正在播放的视频的视频信息,其中,所述视频信息携带终端设备当前正在播放的视频的视频标识;根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播 放相同视频的第二终端设备;若找到所述第二终端设备,则将所述第二终端设备作为聊天对象分配至所述第一终端设备,并且使所述第一终端设备与第二终端设备之间建立聊天链路,以使所述第一终端设备和第二终端设备通过聊天链路进行聊天通信。
其中,所述视频信息还携带终端设备当前正在播放的视频的播放进度;所述根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备的步骤包括:根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频并且播放进度大于或等于所述第一终端设备的第二终端设备。
其中,所述方法还包括:接收来自所述第一终端设备或者第二终端设备在退出当前正在播放的视频时所发送的退出报文;根据所述退出报文,解除所述第一终端设备与第二终端设备之间的聊天链路。
其中,所述方法还包括:若没有找到所述第二终端设备,则向所述第一终端设备发送聊天对象匹配失败报文。
其中,所述获取各个所述终端设备当前正在播放的视频的视频信息的步骤包括:向各个所述终端设备发送视频查询报文;接收各个所述终端设备根据所述查询报文返回的当前正在播放的视频的视频信息。
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种服务器,包括:第一接收模块,用于在与多个终端设备建立连接,并且所述多个终端设备正在播放视频时,接收来自所述多个终端设备中第一终端设备发送的聊天请求报文,其中,所述聊天请求报文携带所述第一终端设备的设备标识;获取模块,用于根据所述聊天请求报文,获取各个所述终端设备当前正在播放的视频的视频信息,其中,所述视频信息携带终端设备当前正在播放的视频的视频标识;查找模块,用于根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备;分配建立模块,用于在所述查找模块找到所述第二终端设备时,将所述第二终端设备作 为聊天对象分配至所述第一终端设备,并且使所述第一终端设备与第二终端设备之间建立聊天链路,以使所述第一终端设备和第二终端设备通过聊天链路进行聊天通信。
其中,所述视频信息还携带终端设备当前正在播放的视频的播放进度;所述查找模块具体用于根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频并且播放进度大于或等于所述第一终端设备的第二终端设备。
其中,所述服务器还包括:第二接收模块,用于接收来自所述第一终端设备或者第二终端设备在退出当前正在播放的视频时发送的退出报文;解除模块,用于根据所述退出报文,解除所述第一终端设备与第二终端设备之间的聊天链路。
其中,所述服务器还包括第一发送模块;所述第一发送模块,用于在所述查找模块没有找到所述第二终端设备时向所述第一终端设备发送聊天对象匹配失败报文。
为解决上述技术问题,本发明采用的又一个技术方案是:提供一种基于同一视频进行聊天的系统,包括服务器和多个终端设备;所述服务器用于在与多个终端设备建立连接,并且所述多个终端设备正在播放视频时,接收来自所述多个终端设备中第一终端设备发送的聊天请求报文,其中,所述聊天请求报文携带所述第一终端设备的设备标识,根据所述聊天请求报文,获取各个所述终端设备当前正在播放的视频的视频信息,其中,所述视频信息携带终端设备当前正在播放的视频的视频标识,根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备,若找到所述第二终端设备,则将所述第二终端设备作为聊天对象分配至所述第一终端设备,并且使所述第一终端设备与第二终端设备之间建立聊天链路,以使所述第一终端设备和第二终端设备通过聊天链路进行聊天通信。
本发明的有益效果是:区别于现有技术的情况,本发明在多个终端设备 正在播放视频,并且多个终端设备中第一终端设备向服务器发送的聊天请求报文时,服务器在多个终端设备中查找出与第一终端设备播放相同视频的第二终端设备,并且将第二终端设备作为聊天对象分配至第一终端设备,使第一终端设备与第二终端设备之间建立聊天链路,实现第一终端设备和第二终端设备通过聊天链路进行聊天通信,从而实现视频社交。
【附图说明】
图1是本发明基于同一视频进行聊天的系统实施方式的示意图;
图2是本发明服务器实施方式的示意图;
图3是本发明服务器另一实施方式的示意图;
图4是本发明基于同一视频进行聊天的方法第一实施方式的流程图;
图5是本发明基于同一视频进行聊天的方法实施方式中获取各个终端设备当前正在播放的视频的视频信息的流程图;
图6是本发明基于同一视频进行聊天的方法第二实施方式的流程图。
【具体实施方式】
下面结合附图和实施方式进行详细说明。
请参阅图1,基于同一视频进行聊天的系统20包括服务器21和多个终端设备22。终端设备22均具有播放视频的功能,在本实施方式中,终端设备22可以为智能手机、计算机、PDA、平板电脑等等。
服务器21与终端设备22建立连接。其中,服务器21与终端设备22之间的连接方式优选为TCP连接,并且服务器21与终端设备22之间可以通过心跳包来检测服务器21与终端设备22之间的连接是否正常。值得说明的是:服务器21与终端设备22之间建立的连接可以由终端设备22发起,而且建立终端设备22与服务器21之间的连接可以注册成服务程序,并且将该服务程序在终端设备20上注册,当终端设备22启动时,该服务程序自 行在后台启动,并且建立与服务器21之间的连接。当然,终端设备22在建立与服务器21的连接之前,也可以先注册成为服务器21的会员,只有成为服务器21的会员,才允许终端设备22建立与服务器21之间的连接。而客户端在注册时,注册信息可以先加密再发送,以保证注册信息的安全,例如:将终端设备22的MAC地址和IMEI序列号作为注册信息,注册信息进行base64加密,并将加密后的注册信息发送给服务器21进行注册,服务器21为给该终端设备22分配设备编号。
当多个终端设备22正在播放视频时,多个终端设备22之中的第一终端设备触发聊天指令,则第一终端设备向服务器21发送聊天请求报文,以请求服务器21为第一终端设备分配聊天对象,其中,聊天请求报文携带第一终端设备的设备标识。而第一终端设备触发聊天指令的方式可以有多种,例如:第一终端设备在播放视频时,在视频画面周边生成聊天按钮,当聊天按钮被下按时,则第一终端设备触发聊天指令,又或者,第一终端设备接收到启动聊天语音指令时,第一终端设备触发聊天指令。
服务器21在接收到聊天请求报文时,根据聊天请求报文,获取各个终端设备当前正在播放的视频的视频信息,其中,视频信息携带视频标识。视频标识为视频的唯一标记。服务器21根据视频信息,在多个终端设备22中查找与第一终端设备播放相同视频的第二终端设备。由于每一终端设备均与一视频标识相对应,因此,在多个终端设备22中查找与第一终端设备播放相同视频的第二终端设备时,可以通过视频标识进行查找,例如:若某一终端设备对应的视频标识与第一终端设备对应的视频标识相同,则该终端设备作为第二终端设备。进一步的,若找到第二终端设备,则将第二终端设备作为聊天对象分配至第一终端设备,并且使第一终端设备与第二终端设备之间建立聊天链路,以使第一终端设备和第二终端设备通过聊天链路进行聊天通信。第一终端设备与第二终端设备之间建立聊天链路可以为第一终端设备和第二终端设备直接建立聊天链路,或者,第一终端设备和第二终端设备分 别与服务器21建立聊天信道,聊天信道构成为聊天链路。
由于第一终端设备和第二终端设备播放的视频相同,因此,第一终端设备和第二终端设备的观众均观看到相同的视频,使得观众可以针对同一视频进行聊天,其话题相同,容易激发两者聊天乐趣,实现视频社交。
进一步的,虽然第一终端设备与第二终端设备均播放相同的视频,但是两者播放视频的播放进度可能不相同,为了给发起聊天的第一终端设备匹配更好的聊天对象,还可以结合播放进度选择终端设备,则服务器21根据视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备的步骤包括:服务器21根据视频信息,在多个终端设备中查找与第一终端设备播放相同视频并且播放进度大于或等于第一终端设备的第二终端设备。
当第一终端设备或者第二终端设备退出当前正在播放的视频时,解除第一终端设备和第二终端设备之间聊天链路,具体的,服务器21接收来自第一终端设备或者第二终端设备在退出视频播放或者更换当前正在播放的视频时所发送的退出报文,服务器21根据退出报文,解除第一终端设备与第二终端设备之间的聊天链路。在解除聊天链路时,若聊天链路是第一终端设备和第二终端设备之间直接建立的,则服务器21分别向第一终端设备和第二终端设备发送解除报文,以使第一终端设备和第二终端设备自行解除;若聊天链路是由第一终端设备和第二终端设备分别与服务器21之间建立的聊天信道构成的,则服务器21直接解除聊天信道即可。
服务器21可以为视频推送方,也可以为独立的第三方。当服务器21为视频推送方时,服务器21可以记录当前向终端设备推送的视频,从而获取各个终端设备当前正在播放的视频的视频信息。当服务器21为独立的第三方或者视频推送方时,服务器21也可以请求终端设备返回视频信息,服务器21获取各个终端设备当前正在播放的视频的视频信息具体为:服务器21向各个终端设备发送视频查询报文,并且接收各个终端设备根据查询报 文返回的当前正在播放的视频的视频信息。
在本发明实施方式中,在多个终端设备正在播放视频,并且多个终端设备中第一终端设备向服务器发送的聊天请求报文时,服务器在多个终端设备中查找出与第一终端设备播放相同视频的第二终端设备,并且将第二终端设备作为聊天对象分配至第一终端设备,使第一终端设备与第二终端设备之间建立聊天链路,实现第一终端设备和第二终端设备通过聊天链路进行聊天通信,从而实现视频社交。
本发明又提供服务器实施方式。请参阅图2,服务器30包括第一接收模块301、获取模块302、查找模块303和分配建立模块304。
第一接收模块301,用于在与多个终端设备建立连接,并且多个终端设备正在播放视频时,接收来自多个终端设备中第一终端设备发送的聊天请求报文,其中,聊天请求报文携带第一终端设备的设备标识。设备标识具有唯一性的,不同终端设备的设备标识均不相同的。第一终端设备是多个终端设备中的一个。获取模块302,用于根据聊天请求报文,获取各个终端设备当前正在播放的视频的视频信息,其中,视频信息携带终端设备当前正在播放的视频的视频标识。视频标识也具有唯一性。查找模块303,用于根据视频信息,在多个终端设备中查找与第一终端设备播放相同视频的第二终端设备。分配建立模块304,用于在查找模块303找到第二终端设备时,将第二终端设备作为聊天对象分配至第一终端设备,并且使第一终端设备与第二终端设备之间建立聊天链路,以使第一终端设备和第二终端设备通过聊天链路进行聊天通信。第一终端设备与第二终端设备建立的聊天链路可以是第一终端设备与第二终端设备之间直接建立的,也可以是第一终端设备和第二终端设备分别与服务器30建立聊天信道后,由聊天信道所组成的。
进一步的,为了给发起聊天的第一终端设备匹配更好的聊天对象,还可以结合播放进度选择终端设备,则视频信息还携带终端设备当前正在播放的视频的播放进度,查找模块303具体用于根据视频信息,在多个终端设备中 查找与第一终端设备播放相同视频并且播放进度大于或等于第一终端设备的第二终端设备。
当然,第一终端设备或者第二终端设备退出当前正在播放的视频时,第一终端设备和第二终端设备之间聊天链路也可以解除,则服务器30还包括:第二接收模块305和解除模块306。第二接收模块305,用于接收来自第一终端设备在退出视频播放或者更换当前正在播放的视频时发送的退出报文。解除模块306,用于根据退出报文,解除第一终端设备与第二终端设备之间的聊天链路。
服务器30还包括发送模块307。发送模块用于在查找模块303没有找到第二终端设备时向第一终端设备发送聊天对象匹配失败报文。第一终端设备在接收到聊天对象匹配失败报文时,获知聊天对象匹配失败。
服务器30在获取各个终端设备当前正在播放的视频的视频信息时可以通过报文进行查询,则服务器30还包括第二发送单元(图未示)和第三接收单元(图未示)。第二发送模块用于向各个终端设备发送视频查询报文,第三接收模块用于接收各个所述终端设备根据所述查询报文返回的当前正在播放的视频的视频信息。
在本发明实施方式中,在多个终端设备正在播放视频时,第一接收模块301接收多个终端设备中第一终端设备发送的聊天请求报文,查找模块303在多个终端设备中查找出与第一终端设备播放相同视频的第二终端设备,分配建立模块304将第二终端设备作为聊天对象分配至第一终端设备,使第一终端设备与第二终端设备之间建立聊天链路,实现第一终端设备和第二终端设备通过聊天链路进行聊天通信,从而实现视频社交。
请参阅图3,图3是本发明服务器另一实施方式的示意图。服务器4包括处理器41、存储器42、总线系统43。其中,处理器41和存储器42通过总线系统43相连,该存储器42用于存储指令,该处理器41用于执行该存储器42存储的指令,用于:在与多个终端设备建立连接,并且多个终端设 备正在播放视频时,接收来自多个终端设备中第一终端设备发送的聊天请求报文,其中,聊天请求报文携带第一终端设备的设备标识;根据聊天请求报文,获取各个终端设备当前正在播放的视频的视频信息,其中,视频信息携带终端设备当前正在播放的视频的视频标识;根据视频信息,在多个终端设备中查找与第一终端设备播放相同视频的第二终端设备;若找到第二终端设备,则将第二终端设备作为聊天对象分配至第一终端设备,并且使第一终端设备与第二终端设备之间建立聊天链路,以使第一终端设备和第二终端设备通过聊天链路进行聊天通信。
存储器42可以是非易失性计算机可读存储介质,以用于存储计算机可执行指令,当该指令由一个或多个处理器执行时,可以使得处理器41执行以下方法实施方式的步骤,比如,如图4描述的步骤S401和S404,或者如图5描述的步骤S401至S407;也可以使得处理41器执行以上装置实施方式各模块的功能,比如,如图2所示模块301至307的功能,计算机可执行指令也可以在任何非易失性计算机可读存储介质内存储和/或传输,以便由指令执行系统、装置或设备使用,或者结合指令执行系统、装置或设备使用,其中该指令执行系统、装置或设备诸如基于计算机的系统、包含处理器的系统或可以从指令执行系统、装置或设备获取指令并执行该指令的其他系统。出于本文档的目的,“非易失性计算机可读存储介质”可以是有形地包含或存储计算机可执行指令的任何介质,该计算机可执行指令可以用于由指令执行系统、设备或系统使用或者结合指令执行系统、装置或设备使用。非易失性计算机可读存着介质可以包括但不限于磁的、光的和/或半导体存储装置。这些存储装置的示例包括磁盘、基于CD、DVD或蓝光技术的光盘以及持久性固态存储器(诸如,闪存、固态驱动器等)。
应当理解,在本申请实施方式中,该处理器41可以是中央处理单元(Central Processing Unit,简称为“CPU”)。该处理器41还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列 (FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该总线系统43除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统43。
在本发明实施方式中,服务器4不限于图3的部件和配置,还可以包括以多种配置形式的其他或附加部件。
在实现过程中,上述方法的各步骤或装置的各模块可以通过处理器41中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施方式所公开的方法的步骤或装置的各单元可以直接体现为硬件处理器执行完成。或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器42,处理器41读取存储器42中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
在本发明实施方式中,在多个终端设备正在播放视频时,接收多个终端设备中第一终端设备发送的聊天请求报文,在多个终端设备中查找出与第一终端设备播放相同视频的第二终端设备,将第二终端设备作为聊天对象分配至第一终端设备,使第一终端设备与第二终端设备之间建立聊天链路,实现第一终端设备和第二终端设备通过聊天链路进行聊天通信,从而实现视频社交。
本发明还提供基于同一视频进行聊天的方法实施方式。请参阅图4,方法包括:
步骤S401:在与多个终端设备建立连接,并且多个终端设备正在播放视频时,接收来自多个终端设备中第一终端设备发送的聊天请求报文,其中, 聊天请求报文携带第一终端设备的设备标识;
第一终端设备是多个终端设备中任意的一个。终端设备在启动时先与服务器建立,在终端设备在播放视频时,会向服务器发送视频播放报文,以告知服务器其当前正在播放视频。
步骤S402:根据聊天请求报文,获取各个终端设备当前正在播放的视频的视频信息,其中,视频信息携带终端设备当前正在播放的视频的视频标识;
聊天请求报文用于请求匹配聊天对象。服务器获取终端设备正在播放的视频信息的方式有多种,其中一种方式为请求终端设备自已上传视频信息,则如图5所示,步骤S402又包括:
步骤S4021:向各个终端设备发送视频查询报文;
步骤S4022:接收各个终端设备根据查询报文返回的当前正在播放的视频的视频信息;
视频查询报文用于请求终端设备查询当前正在播放的视频的视频信息。终端设备在查询到视频信息后,直接返回视频信息。
步骤S403:根据视频信息,在多个终端设备中查找与第一终端设备播放相同视频的第二终端设备,若找到第二终端设备,则进入步骤S404;
由于第一终端设备和第二终端设备播放的视频相同,将第二终端设备作为聊天对象匹配为第一终端设备,使得终端设备和第二终端设备的观众均观看到相同的视频,使得观众可以针对同一视频进行聊天,其话题相同,容易激发两者聊天乐趣,实现视频社交。
进一步的,为了给发起聊天的第一终端设备匹配更好的聊天对象,还可以结合播放进度选择终端设备,则视频信息还携带终端设备当前正在播放的视频的播放进度,步骤S403又可具体为:根据视频信息,在多个终端设备中查找与第一终端设备播放相同视频并且播放进度大于或等于第一终端设备的第二终端设备。
步骤S404:将第二终端设备作为聊天对象分配至第一终端设备,并且使第一终端设备与第二终端设备之间建立聊天链路,以使第一终端设备和第二终端设备通过聊天链路进行聊天通信;
第一终端设备与第二终端设备之间建立聊天链路,第一终端设备接收输入的第一聊天信息时,会将第一聊天信息发送至第二终端设备,第二终端设备接收到第二聊天信息时,会将第二聊天发送至第一终端设备,实现社交功能。
进一步的,请参阅图6,若在步骤S403中没有找到第二终端设备,则进入步骤S405,
步骤S405:向第一终端设备发送聊天对象匹配失败报文;
当然,在没有找到第二终端设备,也可以根据视频历史数据在多个终端设备中查找曾经播放过与第一终端设备当前正在播放的视频相同的终端设备,将找到终端设备作为第二终端设备。视频历史数据记录着终端设备的播放记录。
再次参阅图5,在第一终端设备或者第二终端设备退出当前正在播放的视频时,第一终端设备和第二终端设备之间聊天链路也可以解除,则方法还包括:
步骤:406:接收来自第一终端设备或者第二终端设备在退出当前正在播放的视频时所发送的退出报文;
第一终端设备或者第二终端设备退出当前正在播放的视频是指:第一终端设备或者第二终端设备退出视频播放页,或者,第一终端设备或者第二终端设备切换视频。
步骤S407:根据退出报文,解除第一终端设备与第二终端设备之间的聊天链路;
由于第一终端设备和第二终端设备播放的内容不相同,因此,需要解除第一终端设备和第二终端设备之间的视频社交。
在本发明实施方式中,在多个终端设备正在播放视频,并且多个终端设备中第一终端设备向服务器发送的聊天请求报文时,服务器在多个终端设备中查找出与第一终端设备播放相同视频的第二终端设备,并且将第二终端设备作为聊天对象分配至第一终端设备,使第一终端设备与第二终端设备之间建立聊天链路,实现第一终端设备和第二终端设备通过聊天链路进行聊天通信,从而实现视频社交。
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (10)

  1. 一种基于同一视频进行聊天的方法,其特征在于,包括:
    在与多个终端设备建立连接,并且所述多个终端设备正在播放视频时,接收来自所述多个终端设备中第一终端设备发送的聊天请求报文,其中,所述聊天请求报文携带所述第一终端设备的设备标识;
    根据所述聊天请求报文,获取各个所述终端设备当前正在播放的视频的视频信息,其中,所述视频信息携带终端设备当前正在播放的视频的视频标识;
    根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备;
    若找到所述第二终端设备,则将所述第二终端设备作为聊天对象分配至所述第一终端设备,并且使所述第一终端设备与第二终端设备之间建立聊天链路,以使所述第一终端设备和第二终端设备通过聊天链路进行聊天通信。
  2. 根据权利要求1所述的方法,其特征在于,
    所述视频信息还携带终端设备当前正在播放的视频的播放进度;
    所述根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备的步骤包括:
    根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频并且播放进度大于或等于所述第一终端设备的第二终端设备。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    接收来自所述第一终端设备或者第二终端设备在退出当前正在播放的视频时所发送的退出报文;
    根据所述退出报文,解除所述第一终端设备与第二终端设备之间的聊天链路。
  4. 根据权利要求1或者2所述的方法,其特征在于,所述方法还包括:
    若没有找到所述第二终端设备,则向所述第一终端设备发送聊天对象匹配失败报文。
  5. 根据权利要求1所述的方法,其特征在于,所述获取各个所述终端设备当前正在播放的视频的视频信息的步骤包括:
    向各个所述终端设备发送视频查询报文;
    接收各个所述终端设备根据所述查询报文返回的当前正在播放的视频的视频信息。
  6. 一种服务器,其特征在于,包括:
    第一接收模块,用于在与多个终端设备建立连接,并且所述多个终端设备正在播放视频时,接收来自所述多个终端设备中第一终端设备发送的聊天请求报文,其中,所述聊天请求报文携带所述第一终端设备的设备标识;
    获取模块,用于根据所述聊天请求报文,获取各个所述终端设备当前正在播放的视频的视频信息,其中,所述视频信息携带终端设备当前正在播放的视频的视频标识;
    查找模块,用于根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备;
    分配建立模块,用于在所述查找模块找到所述第二终端设备时,将所述第二终端设备作为聊天对象分配至所述第一终端设备,并且使所述第一终端设备与第二终端设备之间建立聊天链路,以使所述第一终端设备和第二终端设备通过聊天链路进行聊天通信。
  7. 根据权利要求6所述的服务器,其特征在于,
    所述视频信息还携带终端设备当前正在播放的视频的播放进度;
    所述查找模块具体用于根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频并且播放进度大于或等于所述第一终端设备的第二终端设备。
  8. 根据权利要求6或者7所述的服务器,其特征在于,所述服务器还包 括:
    第二接收模块,用于接收来自所述第一终端设备或者第二终端设备在退出当前正在播放的视频时发送的退出报文;
    解除模块,用于根据所述退出报文,解除所述第一终端设备与第二终端设备之间的聊天链路。
  9. 根据权利要求6或者7所述的服务器,其特征在于,所述服务器还包括发送模块;
    所述发送模块,用于在所述查找模块没有找到所述第二终端设备时向所述第一终端设备发送聊天对象匹配失败报文。
  10. 一种基于同一视频进行聊天的系统,其特征在于,包括服务器和多个终端设备;
    所述服务器用于在与多个终端设备建立连接,并且所述多个终端设备正在播放视频时,接收来自所述多个终端设备中第一终端设备发送的聊天请求报文,其中,所述聊天请求报文携带所述第一终端设备的设备标识,根据所述聊天请求报文,获取各个所述终端设备当前正在播放的视频的视频信息,其中,所述视频信息携带终端设备当前正在播放的视频的视频标识,根据所述视频信息,在所述多个终端设备中查找与所述第一终端设备播放相同视频的第二终端设备,若找到所述第二终端设备,则将所述第二终端设备作为聊天对象分配至所述第一终端设备,并且使所述第一终端设备与第二终端设备之间建立聊天链路,以使所述第一终端设备和第二终端设备通过聊天链路进行聊天通信。
PCT/CN2016/089348 2016-03-30 2016-07-08 一种基于同一视频进行聊天的方法、系统及服务器 Ceased WO2017166520A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610192991.7A CN105872443A (zh) 2016-03-30 2016-03-30 一种基于同一视频进行聊天的方法、系统及服务器
CN201610192991.7 2016-03-30

Publications (1)

Publication Number Publication Date
WO2017166520A1 true WO2017166520A1 (zh) 2017-10-05

Family

ID=56627686

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089348 Ceased WO2017166520A1 (zh) 2016-03-30 2016-07-08 一种基于同一视频进行聊天的方法、系统及服务器

Country Status (2)

Country Link
CN (1) CN105872443A (zh)
WO (1) WO2017166520A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658213B (zh) * 2016-10-19 2019-12-31 上海幻电信息科技有限公司 一种播放进度互通的通信处理方法
CN109603162A (zh) * 2018-11-20 2019-04-12 咪咕互动娱乐有限公司 一种信息处理方法、装置及存储介质
CN110011902A (zh) * 2019-03-29 2019-07-12 上海掌门科技有限公司 社交方法及设备
CN111314205B (zh) * 2020-01-16 2023-06-27 广州酷狗计算机科技有限公司 即时通信匹配的方法、装置、系统、设备以及存储介质
CN115599273B (zh) * 2022-11-09 2024-10-18 北京字跳网络技术有限公司 媒体内容处理方法、装置、设备、可读存储介质及产品
CN119690355B (zh) * 2024-12-29 2026-04-21 苏州元脑智能科技有限公司 数据读写方法、装置、电子设备及非易失性存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345729A (ja) * 2002-05-24 2003-12-05 Matsushita Electric Ind Co Ltd テレビチャットシステム、テレビチャット端末装置、テレビチャットサーバ、テレビチャットサービス提供方法、およびプログラム
CN101075891A (zh) * 2006-12-15 2007-11-21 腾讯科技(深圳)有限公司 基于网络电视的即时通信方法及网络电视系统
CN101394537A (zh) * 2008-10-29 2009-03-25 中兴通讯股份有限公司 一种实现互动聊天的手机电视终端及其实现方法
CN103561288A (zh) * 2013-10-17 2014-02-05 深圳市同洲电子股份有限公司 一种通过视频关联用户的方法、设备及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW447221B (en) * 1998-08-26 2001-07-21 United Video Properties Inc Television message system
US20070244968A1 (en) * 2006-04-18 2007-10-18 Sony Ericsson Mobile Communications Ab Method and arrangement in a communications network
KR100923984B1 (ko) * 2006-08-25 2009-10-28 주식회사 케이티 이동통신 시스템과 휴대 이동 방송망을 이용한 멀티미디어컨텐츠 커뮤니케이션 서비스 시스템 및 방법
CN101500125B (zh) * 2008-02-03 2011-03-09 突触计算机系统(上海)有限公司 用户终端上用于在视频显示时提供用户交互的方法及装置
CN104093081A (zh) * 2014-07-10 2014-10-08 东莞中山大学研究院 一种基于数字电视的在线即时聊天系统及实现方法
CN104168178B (zh) * 2014-07-17 2017-12-12 小米科技有限责任公司 电视播放中实时通信的方法、装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345729A (ja) * 2002-05-24 2003-12-05 Matsushita Electric Ind Co Ltd テレビチャットシステム、テレビチャット端末装置、テレビチャットサーバ、テレビチャットサービス提供方法、およびプログラム
CN101075891A (zh) * 2006-12-15 2007-11-21 腾讯科技(深圳)有限公司 基于网络电视的即时通信方法及网络电视系统
CN101394537A (zh) * 2008-10-29 2009-03-25 中兴通讯股份有限公司 一种实现互动聊天的手机电视终端及其实现方法
CN103561288A (zh) * 2013-10-17 2014-02-05 深圳市同洲电子股份有限公司 一种通过视频关联用户的方法、设备及系统

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2017166520A1 (zh) 一种基于同一视频进行聊天的方法、系统及服务器
EP3621269B1 (en) Live broadcast method, system and related device
CN107911437B (zh) 屏幕共享的方法、装置、电子设备及存储介质
US20140233559A1 (en) Method, apparatus, and system for establishing voice communication
WO2017107542A1 (zh) 视频节目获取方法、设备及系统
CN109586929B (zh) 会议内容的传输方法及装置、电子设备、存储介质
US20100138650A1 (en) Secure communication system, gateway apparatus and its operating method
US9525848B2 (en) Domain trusted video network
CN110650202A (zh) 通信交互方法、装置及电子设备
WO2017161769A1 (zh) 一种弹幕的传输方法及装置
CN105743958A (zh) 一种终端之间的通信方法和装置
WO2017162043A1 (zh) 用于设备间服务的访问方法、配置方法及装置
CN105391979B (zh) 一种业务处理的方法和装置
US20170171585A1 (en) Method and Electronic Device for Recording Live Streaming Media
CN104394127A (zh) 一种多媒体分享方法、设备和系统
WO2023241331A1 (zh) 物联网系统及其认证与通信方法、相关设备
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
CN106105158A (zh) 用于在搜索者装置与目标装置之间建立连接的方法和系统
WO2014154009A1 (zh) 一种群组通信的方法、装置、接收端、发送端和设备
US20160359946A1 (en) Techniques for promoting and viewing social content written by nearby people
CN103986697A (zh) 一种音频数据传输的方法和装置
CN109936539B (zh) 帐号信息的传输方法
WO2017101417A1 (zh) 直播流媒体记录方法及系统
CN108900579A (zh) 通信系统与通信方法、装置及设备、介质
CN103746821A (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: 16896292

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896292

Country of ref document: EP

Kind code of ref document: A1