WO2012113303A1 - 视频交互方法及系统 - Google Patents

视频交互方法及系统 Download PDF

Info

Publication number
WO2012113303A1
WO2012113303A1 PCT/CN2012/071189 CN2012071189W WO2012113303A1 WO 2012113303 A1 WO2012113303 A1 WO 2012113303A1 CN 2012071189 W CN2012071189 W CN 2012071189W WO 2012113303 A1 WO2012113303 A1 WO 2012113303A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
video
video call
server
status
Prior art date
Application number
PCT/CN2012/071189
Other languages
English (en)
French (fr)
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 WO2012113303A1 publication Critical patent/WO2012113303A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • 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, and in particular to a video interaction method and system.
  • BACKGROUND With the advent of the 3G era, the traditional use of mobile terminals for audio interaction has been unable to meet the existing interaction needs. More and more people hope to realize video interaction with the caller through the mobile terminal. In order to meet this demand, more and more mobile terminals can support the video call function. As a major application in the 3G era, video calling plays an important role in people's daily lives.
  • the current video call is implemented by a mobile terminal that supports video calls, and provides real-time video images of the other party for the two parties during the call.
  • the basic working process is: during the video call, the video image collected by the camera of the mobile terminal is encoded according to a prescribed video coding standard to obtain a coded stream, and the coded stream is sent to the receiver through a 3G wireless communication protocol.
  • the mobile terminal of the recipient user decodes the received encoded code stream, restores it to a video image, and displays it.
  • This video call interaction can only be a peer-to-peer interaction, that is, only the interaction between a video call originator and a video call called party. It is not possible to simultaneously perform video interaction with multiple mobile terminals of multiple people. For the problem of video interaction between multiple mobile terminals in the related art, an effective solution has not been proposed yet.
  • a video interaction method including: a relay server acquiring a video communication status of a mobile terminal, where the mobile terminal includes a video call originator mobile terminal and a plurality of video call receiver mobile terminals, and the video
  • the communication status includes: an access status, a lost connection status, a communication status, and a hold communication status.
  • the access status is set to instruct the mobile terminal to access the relay server and perform an initialization process, and the lost connection status is set to indicate that the mobile terminal fails to initialize or transit.
  • the connection of the server is interrupted, and the communication status is set to indicate that the video call originator is connected to the transit server normally, and the communication status is set to the indication.
  • the video call receiver mobile terminal and the relay server are connected normally; whether the connection between the mobile terminal and the relay server is normal according to the video communication status; when the video call originator mobile terminal and the relay server are connected normally, the current video of the video call originator mobile terminal is obtained.
  • the information is sent to the mobile terminal of the plurality of video call recipients and connected to the transit server in the mobile terminal.
  • the method further includes: when the video call originator mobile terminal and the relay server are connected normally, acquiring current video information of the mobile terminal that is connected to the transit server in the plurality of video call recipient mobile terminals, and sending the video information to the video call Initiator mobile terminal.
  • the method further includes: acquiring current video information of the mobile terminal that is connected to the transit server in the mobile terminal of the plurality of video call recipients, and transmitting the current video information to the mobile terminal other than the mobile terminal to which the current video information belongs Connect to a normal video call recipient mobile terminal.
  • the step of the relay server acquiring the video communication status of the mobile terminal comprises: sending, by the relay server, a query command to each mobile terminal at a set time to query a video communication status of each mobile terminal.
  • the query command is a query command of the Session Initiation Protocol SIP.
  • the method further includes: transmitting the acquired video communication status of each mobile terminal to other mobile terminals other than the mobile terminal and connected to the transit server.
  • a video interaction system including a relay server, the transit server includes: an acquisition module, configured to acquire a video communication status of the mobile terminal, where the mobile terminal includes a video call originator mobile The terminal and the plurality of video call receiver mobile terminals, the video communication status includes: an access status, a lost connection status, a communication status, and a hold communication status, and the access status is set to instruct the mobile terminal to access the relay server and perform an initialization process, and is lost.
  • connection status is set to indicate that the mobile terminal initialization fails or the connection with the relay server is interrupted, the communication status is set to indicate that the video call originator mobile terminal and the transit server are connected normally, and the communication status is set to indicate that the video call recipient mobile terminal is connected to the relay server.
  • the judging module is configured to judge whether the connection between the mobile terminal and the transit server is normal according to the video communication status; the interaction module is set to be when the video call originator mobile terminal and the transit server are connected normally, Obtaining current video information of the mobile terminal of the video call originating party, and sending the mobile terminal information to the mobile terminal of the plurality of video call receiving parties that is normally connected to the transit server.
  • the interaction module is further configured to: when the video call originator mobile terminal and the relay server are connected normally, acquire current video information of the mobile terminal that is connected to the transit server in the plurality of video call recipient mobile terminals, and send the video information to the video The call originator mobile terminal.
  • the interaction module is further configured to acquire current video information of the mobile terminal that is connected to the transit server in the mobile terminal of the plurality of video call recipients, and send the video information to the mobile terminal to which the current video information belongs, other and transit The server is connected to a normal video call recipient mobile terminal.
  • the obtaining module sends a query command to each mobile terminal at a set time to query and obtain a video communication state of each mobile terminal, and the query command is a query command of the session initiation protocol SIP.
  • the relay server is used to query the video communication status of the plurality of mobile terminals participating in the video call through the relay server, and the video call is initiated by the plurality of video call receivers connected to the relay server according to the video communication status.
  • the current video of the mobile terminal solves the problem that the mobile terminal that supports the video call cannot simultaneously perform the video call at the same time in the prior art, and thus the mobile terminal supporting multiple video calls simultaneously performs the video call and expands the function of the mobile terminal. The effect of the business.
  • FIG. 1 is a flow chart of steps of a video interaction method according to a first embodiment of the present invention
  • FIG. 2 is a flow chart of steps of a video interaction method according to a second embodiment of the present invention
  • FIG. 4 is a state transition diagram of the video call receiver mobile terminal in the relay server of the embodiment shown in FIG. 2;
  • FIG. 1 is a flow chart of steps of a video interaction method according to a first embodiment of the present invention
  • FIG. 2 is a flow chart of steps of a video interaction method according to a second embodiment of the present invention
  • FIG. 4 is a state transition diagram of the video call receiver mobile terminal in the relay server of the embodiment shown in FIG. 2
  • FIG. 1 is a flow chart of steps of a video interaction method according to a first embodiment of the present invention
  • FIG. 2 is a flow chart of steps of
  • FIG. 6 is a structural block diagram of a relay server in the video interaction system shown in FIG. BEST MODE FOR CARRYING OUT THE INVENTION
  • a flowchart of a step of a video interaction method includes the following steps S102 to S106: Step S102: The relay server acquires a video communication state of the mobile terminal; A video call originator mobile terminal and a plurality of video call receiver mobile terminals are included.
  • the above video communication status includes: access status, lost connection status, communication status, and communication status.
  • the access status is set to indicate that the mobile terminal accesses the relay server and performs an initialization process; the lost connection state is set to indicate that the mobile terminal initialization fails or the connection with the transit server is interrupted; the communication status is set to indicate the video call originator mobile terminal and the relay The server connection is normal; the communication status is set to indicate that the video call recipient mobile terminal is properly connected to the transit server.
  • the transit server may query the video communication status of each mobile terminal by sending a video communication status query command to each mobile terminal.
  • Step S104 The relay server determines whether the connection between the mobile terminal and the transit server is normal according to the video communication status.
  • the transit server determines whether the connection between each mobile terminal and the transit server is normal according to the obtained video communication status of each mobile terminal.
  • Step S106 The transit server acquires the current video information of the video call originator mobile terminal when the video call originator mobile terminal and the transit server are connected normally, and sends the mobile video information to the mobile terminal of the plurality of video call recipients to connect with the transit server. terminal.
  • the relay server determines that the video call originator mobile terminal and the transit server are connected normally, acquires the current video information, and sends the current video information to the receiving mobile terminal that is connected to the transit server.
  • the connection with the transit server is normal.
  • the receiving mobile terminal may have multiple or only one. It is possible that the receiving mobile terminal is in the state of maintaining communication, and some of the receiving mobile terminals may still be in the access state.
  • the relay server For the part of the receiving mobile terminal in the access state, after it is normally connected with the transit server, that is, after it is in the state of maintaining communication, The relay server then sends the video information of the originating mobile terminal to it.
  • the relay server stops sending the video information of the originating mobile terminal to it until it is connected again.
  • the setting transit server is adopted,
  • the relay server queries the video communication status of the plurality of mobile terminals participating in the video call, and sends the current video of the video call originator mobile terminal to the plurality of video call receiver mobile terminals that are normally connected to the relay server according to the video communication status, and solves the current video.
  • the technology cannot realize the problem that multiple mobile terminals supporting video calls simultaneously perform video calls, thereby achieving the effect that multiple mobile terminals supporting video calls simultaneously perform video calls and expand the functional services of the mobile terminals.
  • the relay server obtains the current video information of the mobile terminal that is connected to the transit server in the mobile terminal of the plurality of video call recipients, and sends the video information to the video call initiator. Mobile terminal.
  • the two-way interaction between the initiator and the receiver is achieved by transmitting the video information of the recipient mobile terminal to the originating mobile terminal.
  • the relay server further acquires current video information of the mobile terminal that is connected to the transit server in the mobile terminal of the plurality of video call recipients, and sends the video information to the mobile terminal to which the current video information belongs, and the other connection with the transit server is normal.
  • Video call receiver mobile terminal is a mobile terminal that is connected to the transit server in the mobile terminal of the plurality of video call recipients.
  • the relay server when the relay server obtains the video information of the mobile terminal of the receiving party, it may be that the video call originator mobile terminal and the transit server are connected normally, and it is also possible that the originating mobile terminal has disconnected from the transit server, in the latter In this case, as long as there are still a plurality of recipient mobile terminals that are normally connected to the relay server, video interaction can still be performed between the recipient mobile terminals.
  • the mutual interaction between the plurality of recipient mobile terminals is realized by transmitting the video information of the receiving mobile terminal to other receiving mobile terminals other than the terminal.
  • the relay server also sends the acquired video communication status of each mobile terminal to other mobile terminals other than the mobile terminal and connected to the transit server.
  • the relay server when the relay server sends the video communication status information of the mobile terminal, the video call originator mobile terminal and the transit server may be connected normally, and the originating mobile terminal may be disconnected from the transit server, in the former In the latter case, the relay server may send the video communication status of each mobile terminal to other than the mobile terminal, and other sender mobile terminals and/or receiver mobile terminals that are normally connected to the transit server, in the latter case, There are also a plurality of receiver mobile terminals that are normally connected to the relay server, and the transmission of video communication status information is not affected.
  • the relay server sends a query command to each mobile terminal every set time, and obtains the video communication status of each mobile terminal by querying.
  • the query command is a query command of a SIP (Session Initiation Protocol).
  • SIP Session Initiation Protocol
  • Embodiment 2 Referring to FIG. 2, a flow chart of steps of a video interaction method according to Embodiment 2 of the present invention is shown, which includes the following steps S202 to S206: Step S202: Initialization phase. A plurality of mobile terminals that need to make a video call are connected to the relay server. Through this step, each mobile terminal (including a video call originator terminal and a plurality of video call receiver terminals) accesses the relay server.
  • Step S204 The relay server queries to determine the video communication status of each accessed mobile terminal, and performs corresponding operations according to the video communication status of the mobile terminal.
  • the transit server sends query commands to each mobile terminal at intervals to query the status of each mobile terminal.
  • the query command may be appropriately selected by a person skilled in the art according to actual conditions, or may be implemented by extending an existing message command.
  • a SIP query command may be selected.
  • the video communication status of the mobile terminal has the following types: access status, lost connection status, communication status, and communication status.
  • the access state refers to the mobile terminal accessing the relay server, and performing an initialization process
  • the lost connection state refers to a process in which the mobile terminal is connected to the transit server, the initialization fails, or the sudden connection is interrupted
  • the communication status refers to, the mobile terminal and the mobile terminal
  • the relay server communicates normally, and the current mobile terminal is the initiator of the video call; maintaining the communication state means that the mobile terminal and the relay server communicate normally, and the current mobile terminal is the answering party of the video call.
  • maintaining the communication state means that the mobile terminal and the relay server communicate normally, and the current mobile terminal is the answering party of the video call.
  • at most one terminal of each mobile terminal is in a communication state, and the rest is to maintain a call state or an access state or lose a connection state.
  • the relay server detects the video communication status of the mobile terminal, the status of the mobile terminal is distributed to each mobile terminal.
  • the relay server distributes the current video communication status of the mobile terminal and the video information acquired by the current mobile terminal to other mobile terminals, and the relay server periodically updates.
  • the video information and video communication status of the mobile terminal if the current video communication status of the mobile terminal to be transmitted data is the communication status, the relay server distributes the current video communication status, video information, and voice information of the mobile terminal to other mobiles.
  • FIG. 3 is a state transition diagram of a video call originator mobile terminal in the relay server
  • FIG. 4 is a state transition diagram of the video call receiver mobile terminal in the transit server.
  • the video call originator mobile terminal starts to access the transit server and enters the access state. If the connection is successful, the mobile terminal is switched to the communication state if the connection is unsuccessful, that is, the initialization fails, then Into the lost connection state. In addition, in the process after the connection is successful, there may be a situation in which the connection between the mobile terminal and the transit server is interrupted.
  • the originating mobile terminal transits from the communication state to the lost connection state.
  • the originating mobile terminal may try to connect with the transit server again, that is, enter the access state again, and start to connect to the transit server again.
  • the connection state is lost for a certain period of time, the flow ends.
  • the video call receiver mobile terminal when it starts to access the relay server, enters the access state, and if the connection is successful, the mobile terminal of the receiver moves to maintain the communication state, if the connection is unsuccessful, If the initialization fails, it will go into the lost connection state.
  • the connection between the mobile terminal and the relay server is interrupted.
  • Step S206 The video interaction ends. When all the mobile terminals are in a state of losing connection, the video interactive communication ends. Through the embodiment, a mobile terminal that can support multiple video calls and a video call at the same time is provided, thereby expanding the functional service of the mobile terminal.
  • Embodiment 3 Referring to FIG. 5, a schematic structural diagram of a video interaction system according to Embodiment 3 of the present invention is shown.
  • the video interaction system of this embodiment includes a video call originating end 502 (ie, a video call originator mobile terminal), a relay server 504, and a plurality of video call receiving ends 506 (ie, video call recipient mobile terminals).
  • the video call originating end 502 and the plurality of video call receiving ends 506 are both connected to the relay server 504.
  • the server 504 implements video interaction between the terminals according to the video communication status of each terminal.
  • the structure of the relay server 504 is as shown in FIG. 6, and includes: an obtaining module 5042, configured to acquire video communication status of each mobile terminal (including a video call originating end 502 and a plurality of video call receiving ends 506), where the video communication is performed.
  • the status includes: an access status, a lost connection status, a communication status, and a hold communication status
  • the access status is set to instruct the mobile terminal (including the video call originating end 502 and the plurality of video call receiving ends 506) to access the relay server 504 and perform The initialization process
  • the lost connection state is set to indicate that the mobile terminal (including the video call originating end 502 and the plurality of video call receiving ends 506) fails to initialize or the connection with the relay server 504 is interrupted
  • the communication status is set to indicate the video call originating end 502 and the relay.
  • the server 504 is connected to the normal state
  • the communication state is set to indicate that the video call receiving end 506 is connected to the relay server 504.
  • the determining module 5044 is coupled to the obtaining module 5042 and configured to determine that each mobile terminal is connected to the transit server 504 according to the acquired video communication status. Whether it is normal;
  • the module 5046 is coupled to the determining module 5044, and configured to acquire the current video information of the video call originating end 502 when the video call originating end 502 and the relay server 504 are connected to each other, and send the video information to the plurality of video call receiving ends 506 and the transit server. 504 connects those mobile terminals that are normal.
  • the interaction module 5046 is further configured to acquire the current video information of the mobile terminal connected to the relay server 504 in the plurality of video call receiving ends 506 when the video call originating end 502 is connected to the relay server 504, and send the current video information to the mobile terminal 504.
  • the interaction module 5046 is further configured to acquire current video information of the mobile terminal that is connected to the relay server 504 in the plurality of video call receiving ends 506, and send the video information to the mobile terminal to which the current video information belongs, other The relay server 504 is connected to the normal video call receiving end 506.
  • the interaction module 5046 is further configured to send the obtained video communication status of each mobile terminal to other mobile terminals than the mobile terminal, and the normal connection with the relay server 504.
  • the obtaining module 5042 sends a query command to each mobile terminal every set time to query and acquire the video communication status of each mobile terminal.
  • the query command is preferably a SIP query command.
  • the invention solves the problem that the mobile terminal that supports the video call cannot simultaneously perform the video call at the same time, and achieves the effect that the mobile terminal supporting the video call simultaneously performs the video call and expands the functional service of the mobile terminal.
  • the technical solution of the present invention is preferably implemented in a PS (Packet Switched) network.
  • PS Packet Switched
  • the present invention is not limited thereto, and the technical solution of the present invention can be applied to any suitable communication network according to various embodiments of the present invention.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Abstract

本发明公开了一种视频交互方法及系统,其中,视频交互方法包括:中转服务器获取移动终端的视频通讯状态;根据视频通讯状态判断移动终端与中转服务器连接是否正常;在视频通话发起方移动终端与中转服务器连接正常时,获取视频通话发起方移动终端的当前视频信息,并发送给多个视频通话接收方移动终端中与中转服务器连接正常的移动终端。通过本发明,达到了多个支持视频通话的移动终端同时进行视频通话,扩展移动终端的功能业务的效果。

Description

视频交互方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种视频交互方法及系统。 背景技术 随着 3G时代的到来, 传统的使用移动终端进行音频交互已经不能满足现有的交 互需要。 越来越多的人希望通过移动终端实现与通话方的视频交互, 为了满足这一需 求, 越来越多的移动终端能够支持视频通话功能。 视频通话作为 3G时代的一大应用, 在人们日常的生活中扮演着重要的角色。 目前的视频通话是由支持视频通话的移动终端, 在通话过程中, 为通话的双方提 供对方的实时视频图像实现的。 其基本工作过程是: 在进行视频通话过程中, 将移动 终端摄像头采集到的视频图像, 按照规定的视频编码标准进行编码, 得到编码流, 将 该编码码流通过 3G无线通信协议发送到接收方用户的移动终端上, 接收方用户的移 动终端对接收到的编码码流进行解码, 还原成视频图像并显示。 但是, 当前的视频通话存在一定的局限性, 这种视频通话交互只能是点对点之间 的交互, 也即只能是一个视频通话主叫方和一个视频通话被叫方之间的交互, 而并不 能实现多人多个移动终端同时进行视频交互。 针对相关技术中多个移动终端进行视频交互的问题, 目前尚未提出有效的解决方 案。 发明内容 本发明提供了一种视频交互方法及系统, 以至少解决上述现有技术无法实现多个 支持视频通话的移动终端同时进行视频通话的问题。 根据本发明的一个方面, 提供了一种视频交互方法, 包括: 中转服务器获取移动 终端的视频通讯状态, 其中, 移动终端包括一个视频通话发起方移动终端和多个视频 通话接收方移动终端, 视频通讯状态包括: 接入状态、 失去连接状态、 通讯状态、 和 保持通讯状态, 接入状态设置为指示移动终端接入中转服务器并进行初始化过程, 失 去连接状态设置为指示移动终端初始化失败或与中转服务器的连接中断, 通讯状态设 置为指示视频通话发起方移动终端与中转服务器连接正常, 保持通讯状态设置为指示 视频通话接收方移动终端与中转服务器连接正常; 根据视频通讯状态判断移动终端与 中转服务器连接是否正常; 在视频通话发起方移动终端与中转服务器连接正常时, 获 取视频通话发起方移动终端的当前视频信息, 并发送给多个视频通话接收方移动终端 中与中转服务器连接正常的移动终端。 优选地, 上述方法还包括: 在视频通话发起方移动终端与中转服务器连接正常时, 获取多个视频通话接收方移动终端中与中转服务器连接正常的移动终端的当前视频信 息, 并发送给视频通话发起方移动终端。 优选地, 上述方法还包括: 获取多个视频通话接收方移动终端中与中转服务器连 接正常的移动终端的当前视频信息,并发送给除该当前视频信息所属的移动终端外的, 其它与中转服务器连接正常的视频通话接收方移动终端。 优选地, 中转服务器获取移动终端的视频通讯状态的步骤包括: 中转服务器每隔 设定时间向各个移动终端发送查询命令, 查询各个移动终端的视频通讯状态。 优选地, 查询命令为会话初始协议 SIP的查询命令。 优选地, 上述方法还包括: 将获取的各个移动终端的视频通讯状态发送给除本移 动终端外的, 其它与中转服务器连接正常的移动终端。 根据本发明的另一方面, 还提供了一种视频交互系统, 包括中转服务器, 该中转 服务器包括: 获取模块, 设置为获取移动终端的视频通讯状态, 其中, 移动终端包括 一个视频通话发起方移动终端和多个视频通话接收方移动终端, 视频通讯状态包括: 接入状态、 失去连接状态、 通讯状态、 和保持通讯状态, 接入状态设置为指示移动终 端接入中转服务器并进行初始化过程, 失去连接状态设置为指示移动终端初始化失败 或与中转服务器的连接中断, 通讯状态设置为指示视频通话发起方移动终端与中转服 务器连接正常, 保持通讯状态设置为指示视频通话接收方移动终端与中转服务器连接 正常; 判断模块, 设置为根据视频通讯状态判断移动终端与中转服务器连接是否正常; 交互模块, 设置为在视频通话发起方移动终端与中转服务器连接正常时, 获取视频通 话发起方移动终端的当前视频信息, 并发送给多个视频通话接收方移动终端中与中转 服务器连接正常的移动终端。 优选地, 交互模块, 还设置为在视频通话发起方移动终端与中转服务器连接正常 时, 获取多个视频通话接收方移动终端中与中转服务器连接正常的移动终端的当前视 频信息, 并发送给视频通话发起方移动终端。 优选地, 交互模块, 还设置为获取多个视频通话接收方移动终端中与中转服务器 连接正常的移动终端的当前视频信息, 并发送给除该当前视频信息所属的移动终端外 的, 其它与中转服务器连接正常的视频通话接收方移动终端。 优选地, 获取模块通过每隔设定时间向各个移动终端发送查询命令, 查询获取各 个移动终端的视频通讯状态, 查询命令为会话初始协议 SIP的查询命令。 通过本发明, 采用设置中转服务器, 通过中转服务器查询参与视频通话的多个移 动终端的视频通讯状态, 根据该视频通讯状态向与中转服务器连接正常的多个视频通 话接收方移动终端发送视频通话发起方移动终端的当前视频, 解决了现有技术无法实 现多个支持视频通话的移动终端同时进行视频通话的问题, 进而达到了多个支持视频 通话的移动终端同时进行视频通话, 扩展移动终端的功能业务的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例一的一种视频交互方法的步骤流程图; 图 2是根据本发明实施例二的一种视频交互方法的步骤流程图; 图 3是图 2所示实施例的中转服务器中的视频通话发起方移动终端的状态转化图; 图 4是图 2所示实施例的中转服务器中的视频通话接收方移动终端的状态转化图; 图 5是根据本发明实施例三的一种视频交互系统的结构示意图; 以及 图 6是图 5所示视频交互系统中的中转服务器的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 实施例一 参照图 1, 示出了根据本发明实施例一的一种视频交互方法的步骤流程图, 包括 以下步骤 S102至步骤 S106: 步骤 S102: 中转服务器获取移动终端的视频通讯状态; 其中, 上述移动终端包括一个视频通话发起方移动终端和多个视频通话接收方移 动终端。 上述视频通讯状态包括: 接入状态、 失去连接状态、 通讯状态、 和保持通讯状态。 其中, 接入状态设置为指示移动终端接入中转服务器并进行初始化过程; 失去连接状 态设置为指示移动终端初始化失败或与中转服务器的连接中断; 通讯状态设置为指示 视频通话发起方移动终端与中转服务器连接正常; 保持通讯状态设置为指示视频通话 接收方移动终端与中转服务器连接正常。 本步骤中, 中转服务器可以通过向各个移动终端发送视频通讯状态查询命令, 查 询各个移动终端的视频通讯状态。 步骤 S104: 中转服务器根据视频通讯状态判断移动终端与中转服务器连接是否正 常; 本步骤中, 中转服务器根据获取的各个移动终端的视频通讯状态, 判断各个移动 终端与中转服务器的连接是否正常。 步骤 S106: 中转服务器在视频通话发起方移动终端与中转服务器连接正常时, 获 取视频通话发起方移动终端的当前视频信息, 并发送给多个视频通话接收方移动终端 中与中转服务器连接正常的移动终端。 本步骤中,当中转服务器判断视频通话发起方移动终端与中转服务器连接正常时, 获取其当前视频信息, 并发送给与中转服务器连接正常的接收方移动终端, 此时, 与 中转服务器连接正常的接收方移动终端可以有多个, 也可能仅有一个。 可能接收方移 动终端均处于保持通讯状态, 也可能有部分仍处于接入状态, 对于接入状态的这部分 接收方移动终端, 当其与中转服务器连接正常后, 即其处于保持通讯状态后, 中转服 务器再向其发送发起方移动终端的视频信息。 而当连接正常的接收方移动终端在连接 过程中与中转服务器连接中断时, 对于这部分接收方移动终端, 则中转服务器停止向 其发送发起方移动终端的视频信息, 直到其再次连接正常。 相关技术中, 只能进行两个移动终端之间的点对点视频通话, 无法实现多个支持 视频通话的移动终端同时进行视频通话。 通过本实施例, 采用设置中转服务器, 通过 中转服务器查询参与视频通话的多个移动终端的视频通讯状态, 根据该视频通讯状态 向与中转服务器连接正常的多个视频通话接收方移动终端发送视频通话发起方移动终 端的当前视频, 解决了现有技术无法实现多个支持视频通话的移动终端同时进行视频 通话的问题, 进而达到了多个支持视频通话的移动终端同时进行视频通话, 扩展移动 终端的功能业务的效果。 优选的, 中转服务器还在视频通话发起方移动终端与中转服务器连接正常时, 获 取多个视频通话接收方移动终端中与中转服务器连接正常的移动终端的当前视频信 息, 并发送给视频通话发起方移动终端。 通过将接收方移动终端的视频信息发送给发 起方移动终端, 实现了发起方和接收方之间的双向交互。 优选的, 中转服务器还获取多个视频通话接收方移动终端中与中转服务器连接正 常的移动终端的当前视频信息, 并发送给除该当前视频信息所属的移动终端外的, 其 它与中转服务器连接正常的视频通话接收方移动终端。 该优选方案中, 中转服务器在 获取接收方移动终端的视频信息时, 有可能视频通话发起方移动终端与中转服务器连 接正常, 也有可能发起方移动终端已经与中转服务器断开连接, 在后一种情况下, 只 要还存在多个与中转服务器连接正常的接收方移动终端, 则这些接收方移动终端之间 仍可进行视频交互。 通过将接收方移动终端的视频信息发送给除本终端外的其它接收 方移动终端, 实现了多个接收方移动终端之间的相互交互。 优选的, 中转服务器还将获取的各个移动终端的视频通讯状态发送给除本移动终 端外的, 其它与中转服务器连接正常的移动终端。 该优选方案中, 中转服务器在发送 移动终端的视频通讯状态信息时, 有可能视频通话发起方移动终端与中转服务器连接 正常, 也有可能发起方移动终端已经与中转服务器断开连接, 在前一种情况下, 中转 服务器可以将各个移动终端的视频通讯状态发送给除本移动终端外的, 其它与中转服 务器连接正常的发送方移动终端和 /或接收方移动终端, 在后一种情况下, 只要还存在 多个与中转服务器连接正常的接收方移动终端, 就不影响视频通讯状态信息的发送。 通过将移动终端的视频通讯状态发送给除本终端外的其它移动终端, 实现了各个移动 终端对其它移动终端状态的获知, 可以进一步根据获知的其它移动终端的状态进行相 应的处理。 优选的, 中转服务器每隔设定时间向各个移动终端发送查询命令, 通过查询获取 各个移动终端的视频通讯状态。优选的,该查询命令为 SIP ( Session Initiation Protocol, 会话初始协议) 的查询命令。 通过查询命令获知移动终端的视频通讯状态, 提高了中 转服务器的状态处理能力, 进而提高了系统的视频交互效率。 而将 SIP的查询命令应 用于中转服务器查询移动终端的状态的过程中,充分利用了 SIP查询命令的结构特点, 减小了系统实现难度, 节约了系统实现成本。 实施例二 参照图 2, 示出了根据本发明实施例二的一种视频交互方法的步骤流程图, 包括 以下步骤 S202至步骤 S206: 步骤 S202: 初始化阶段。 需要进行视频通话的多个移动终端连接中转服务器, 通过本步骤, 各个移动终端 (包括一个视频通话发起方终端和多个视频通话接收方终端) 接入中转服务器。 步骤 S204: 中转服务器查询判断各个接入的移动终端的视频通讯状态, 并且根据 移动终端的视频通讯状态进行相应的操作。 中转服务器会隔一段时间向各个移动终端发送查询命令, 查询各个移动终端的状 态。该查询命令可以由本领域技术人员根据实际情况适当选用适合的现有的消息命令, 或通过对现有的消息命令进行扩展实现, 优选的, 可以选用 SIP的查询命令。 移动终端的视频通讯状态有以下几种: 接入状态、 失去连接状态、 通讯状态、 保 持通讯状态。 其中, 接入状态是指移动终端接入中转服务器, 并且进行初始化过程; 失去连接状态是指移动终端连上中转服务器后, 初始化失败, 或者突然连接中断的过 程; 通讯状态是指, 移动终端与中转服务器通讯正常, 并且当前移动终端为视频通话 的发起方; 保持通讯状态是指, 移动终端和中转服务器通讯正常, 并且当前移动终端 为视频通话的接听方。 在单位时间内, 各个移动终端中, 最多只有一个终端处于通讯 状态, 其余是保持通话状态或接入状态或者失去连接状态。 当中转服务器检测到移动终端的视频通讯状态后, 会将移动终端的状态分发到各 个移动终端。 如果待发送数据的移动终端的当前视频通讯状态为保持通讯, 则中转服 务器会将该移动终端的当前的视频通讯状态和当前移动终端获取的视频信息分发到其 他移动终端, 并且中转服务器会定时更新该移动终端的视频信息和视频通讯状态; 如 果待发送数据的移动终端的当前视频通讯状态为通讯状态, 则中转服务器会将该移动 终端的当前视频通讯状态和视频信息以及语音信息分发到其他移动终端, 并且定时更 新该移动终端的视频通讯状态和视频信息以及语音信息; 如果移动终端的视频通讯状 态为接入状态或失去连接状态, 中转服务器会将该移动终端的当前视频通讯状态分发 到其他移动终端中, 并且定时更新。 中转服务器中的视频通话发起方移动终端和视频通话接收方移动终端的视频通讯 状态转化如图 3和图 4所示。 其中, 图 3是中转服务器中的视频通话发起方移动终端 的状态转化图, 图 4是中转服务器中的视频通话接收方移动终端的状态转化图。 如图 3所示, 视频通话发起方移动终端开始接入中转服务器, 进入接入状态, 若 连接成功, 则对于发起方移动终端, 转为通讯状态, 若连接不成功, 即初始化失败, 则转入失去连接状态。 此外, 在连接成功之后的过程中, 有可能出现移动终端与中转 服务器连接中断的情况, 此时, 发起方移动终端由通讯状态转入失去连接状态。 在发 起方移动终端处于失去连接状态时, 其有可能会尝试再次与中转服务器进行连接, 即 再次进入接入状态, 开始再次连接中转服务器。 而当失去连接状态持续一定时间后, 则流程结束。 对于视频通话接收方移动终端, 如图 4所示, 当其开始接入中转服务器, 进入接 入状态, 若连接成功, 则对于接收方移动终端, 转为保持通讯状态, 若连接不成功, 即初始化失败, 则转入失去连接状态。 此外, 在连接成功之后的过程中, 有可能出现 移动终端与中转服务器连接中断的情况, 此时, 接收方移动终端由保持通讯状态转入 失去连接状态。 在接收方移动终端处于失去连接状态时, 其有可能会尝试再次与中转 服务器进行连接, 即再次进入接入状态, 开始再次连接中转服务器。 而当失去连接状 态持续一定时间后, 则流程结束。 步骤 S206: 视频交互结束。 当所有的移动终端都处于失去连接状态一段时间后, 本次视频交互通讯结束。 通过本实施例, 提供了一个能使多个支持视频通话的移动终端, 同时进行视频通 话的方案, 从而扩展了移动终端的功能业务。 实施例三 参照图 5, 示出了根据本发明实施例三的一种视频交互系统的结构示意图。 本实施例的视频交互系统包括视频通话发起端 502 (即视频通话发起方移动终 端)、 中转服务器 504、 以及多个视频通话接收端 506 (即视频通话接收方移动终端)。 视频通话发起端 502及多个视频通话接收端 506均与中转服务器 504连接, 服务器 504根据各个终端的视频通讯状态, 实现各个终端之间的视频交互。 其中, 中转服务器 504的结构如图 6所示, 包括: 获取模块 5042, 设置为获取各 个移动终端(包括视频通话发起端 502和多个视频通话接收端 506 ) 的视频通讯状态, 其中, 视频通讯状态包括: 接入状态、 失去连接状态、 通讯状态、 和保持通讯状态, 接入状态设置为指示移动终端(包括视频通话发起端 502和多个视频通话接收端 506 ) 接入中转服务器 504并进行初始化过程, 失去连接状态设置为指示移动终端 (包括视 频通话发起端 502和多个视频通话接收端 506) 初始化失败或与中转服务器 504的连 接中断, 通讯状态设置为指示视频通话发起端 502与中转服务器 504连接正常, 保持 通讯状态设置为指示视频通话接收端 506与中转服务器 504连接正常;判断模块 5044, 与获取模块 5042耦合,设置为根据获取的视频通讯状态判断各个移动终端与中转服务 器 504连接是否正常; 交互模块 5046, 与判断模块 5044耦合, 设置为在视频通话发 起端 502与中转服务器 504连接正常时, 获取视频通话发起端 502的当前视频信息, 并发送给多个视频通话接收端 506中与中转服务器 504连接正常的那些移动终端。 优选的, 交互模块 5046, 还设置为在视频通话发起端 502与中转服务器 504连接 正常时, 获取多个视频通话接收端 506中与中转服务器 504连接正常的移动终端的当 前视频信息, 并发送给视频通话发起端 502。 优选的, 交互模块 5046, 还设置为获取多个视频通话接收端 506中与中转服务器 504 连接正常的移动终端的当前视频信息, 并发送给除该当前视频信息所属的移动终 端外的, 其它与中转服务器 504连接正常的视频通话接收端 506。 优选的, 交互模块 5046, 还设置为将获取的各个移动终端的视频通讯状态发送给 除本移动终端外的, 其它与中转服务器 504连接正常的移动终端。 优选的, 获取模块 5042通过每隔设定时间向各个移动终端发送查询命令, 查询获 取各个移动终端的视频通讯状态。 该查询命令优选的为 SIP的查询命令。 通过本实施例, 有效实现了支持视频通话的多个视频通话移动终端之间的视频交 互。 从以上的描述中, 可以看出, 本发明通过设置中转服务器, 由中转服务器查询判 断参与视频通话的多个移动终端的视频通讯状态, 根据该视频通讯状态进行多个移动 终端之间的视频交互, 解决了现有技术无法实现多个支持视频通话的移动终端同时进 行视频通话的问题, 达到了多个支持视频通话的移动终端同时进行视频通话, 扩展移 动终端的功能业务的效果。 本发明的技术方案优选的, 在 PS (Packet Switched, 分组 交换) 网中实现。 但不限于此, 本领域技术人员可以根据本发明的多个实施例, 将本 发明的技术方案应用于任意适当的通讯网络, 本发明对此不作限制。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种视频交互方法, 包括:
中转服务器获取移动终端的视频通讯状态, 其中, 所述移动终端包括一个 视频通话发起方移动终端和多个视频通话接收方移动终端, 所述视频通讯状态 包括: 接入状态、 失去连接状态、 通讯状态、 和保持通讯状态, 所述接入状态 设置为指示所述移动终端接入所述中转服务器并进行初始化过程, 所述失去连 接状态设置为指示所述移动终端初始化失败或与所述中转服务器的连接中断, 所述通讯状态设置为指示所述视频通话发起方移动终端与所述中转服务器连接 正常, 所述保持通讯状态设置为指示所述视频通话接收方移动终端与所述中转 服务器连接正常;
根据所述视频通讯状态判断所述移动终端与所述中转服务器连接是否正 常;
在所述视频通话发起方移动终端与所述中转服务器连接正常时, 获取所述 视频通话发起方移动终端的当前视频信息, 并发送给所述多个视频通话接收方 移动终端中与所述中转服务器连接正常的移动终端。
2. 根据权利要求 1所述的方法, 其中, 还包括:
在所述视频通话发起方移动终端与所述中转服务器连接正常时, 获取所述 多个视频通话接收方移动终端中与所述中转服务器连接正常的移动终端的当前 视频信息, 并发送给所述视频通话发起方移动终端。
3. 根据权利要求 1或 2所述的方法, 其中, 还包括: 获取所述多个视频通话接收方移动终端中与所述中转服务器连接正常的移 动终端的当前视频信息, 并发送给除该当前视频信息所属的移动终端外的, 其 它与所述中转服务器连接正常的视频通话接收方移动终端。
4. 根据权利要求 1所述的方法, 其中, 所述中转服务器获取移动终端的视频通讯 状态的步骤包括:
所述中转服务器每隔设定时间向各个所述移动终端发送查询命令, 查询所 述各个移动终端的视频通讯状态。
5. 根据权利要求 4所述的方法, 其中, 所述查询命令为会话初始协议 SIP的查询 命令。
6. 根据权利要求 1、 4或 5所述的方法, 其中, 还包括:
将获取的各个移动终端的所述视频通讯状态发送给除本移动终端外的, 其 它与所述中转服务器连接正常的移动终端。
7. 一种视频交互系统, 包括中转服务器, 所述中转服务器包括:
获取模块, 设置为获取移动终端的视频通讯状态, 其中, 所述移动终端包 括一个视频通话发起方移动终端和多个视频通话接收方移动终端, 所述视频通 讯状态包括: 接入状态、 失去连接状态、 通讯状态、 和保持通讯状态, 所述接 入状态设置为指示所述移动终端接入所述中转服务器并进行初始化过程, 所述 失去连接状态设置为指示所述移动终端初始化失败或与所述中转服务器的连接 中断, 所述通讯状态设置为指示所述视频通话发起方移动终端与所述中转服务 器连接正常, 所述保持通讯状态设置为指示所述视频通话接收方移动终端与所 述中转服务器连接正常;
判断模块, 设置为根据所述视频通讯状态判断所述移动终端与所述中转服 务器连接是否正常;
交互模块, 设置为在所述视频通话发起方移动终端与所述中转服务器连接 正常时, 获取所述视频通话发起方移动终端的当前视频信息, 并发送给所述多 个视频通话接收方移动终端中与所述中转服务器连接正常的移动终端。
8. 根据权利要求 7所述的视频交互系统, 其中, 所述交互模块, 还设置为在所述视频通话发起方移动终端与所述中转服务 器连接正常时, 获取所述多个视频通话接收方移动终端中与所述中转服务器连 接正常的移动终端的当前视频信息, 并发送给所述视频通话发起方移动终端。
9. 根据权利要求 7或 8所述的视频交互系统, 其中, 所述交互模块, 还设置为获取所述多个视频通话接收方移动终端中与所述 中转服务器连接正常的移动终端的当前视频信息, 并发送给除该当前视频信息 所属的移动终端外的, 其它与所述中转服务器连接正常的视频通话接收方移动 终端。
0. 根据权利要求 7所述的视频交互系统, 其中, 所述获取模块通过每隔设定时间 向各个所述移动终端发送查询命令, 查询获取所述各个移动终端的视频通讯状 态, 所述查询命令为会话初始协议 SIP的查询命令。
PCT/CN2012/071189 2011-02-22 2012-02-16 视频交互方法及系统 WO2012113303A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110041977.4 2011-02-22
CN2011100419774A CN102647576A (zh) 2011-02-22 2011-02-22 视频交互方法及系统

Publications (1)

Publication Number Publication Date
WO2012113303A1 true WO2012113303A1 (zh) 2012-08-30

Family

ID=46660127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071189 WO2012113303A1 (zh) 2011-02-22 2012-02-16 视频交互方法及系统

Country Status (2)

Country Link
CN (1) CN102647576A (zh)
WO (1) WO2012113303A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104883262A (zh) * 2014-02-28 2015-09-02 中兴通讯股份有限公司 一种多终端通信方法和装置
CN105792015B (zh) * 2016-03-04 2019-06-21 深圳Tcl数字技术有限公司 基于智能电视的远端网络连接方法和系统
CN105933375B (zh) * 2016-03-30 2019-12-24 广州华多网络科技有限公司 一种连麦会话的监测方法、装置和服务器

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345842A (zh) * 2007-07-09 2009-01-14 田新雪 一种视频电话系统及其运作方式
CN101420390A (zh) * 2008-12-18 2009-04-29 深圳市迅雷网络技术有限公司 互联网即时通讯数据的传输方法、装置及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1552373A4 (en) * 2002-06-17 2007-01-17 Porto Ranelli S A METHOD FOR FACILITATING COMMUNICATION BETWEEN CHILD USERS ON THE SAME WEB PAGE
CN100555972C (zh) * 2007-03-30 2009-10-28 腾讯科技(深圳)有限公司 在网络聊天室中多成员聚集交流的方法、服务器
CN101594242A (zh) * 2009-06-23 2009-12-02 腾讯科技(深圳)有限公司 一种传输视频数据的方法、系统和装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345842A (zh) * 2007-07-09 2009-01-14 田新雪 一种视频电话系统及其运作方式
CN101420390A (zh) * 2008-12-18 2009-04-29 深圳市迅雷网络技术有限公司 互联网即时通讯数据的传输方法、装置及系统

Also Published As

Publication number Publication date
CN102647576A (zh) 2012-08-22

Similar Documents

Publication Publication Date Title
CN110012366B (zh) 一种用于公专网ip互联下的宽窄带融合通信系统及方法
JP2009163734A (ja) H.324および関連する通信プロトコルを用いた装置間でセッションを高速に確立する方法、システム、およびh.324類似端末
WO2011109978A1 (zh) 镜头控制方法及终端
US8077853B2 (en) VoIP adapter, IP network device and method for performing advanced VoIP functions
WO2015131608A1 (zh) 通讯处理器及实现VoLTE的方法、移动终端及数据卡
WO2009152699A1 (zh) Sip终端及其上报状态的方法、系统以及sip服务器
US7809839B2 (en) Method and system for call set-up between mobile communication terminals
JP2009510809A (ja) 発呼端末と着呼端末との間で呼を確立する方法
US9083847B2 (en) Video communication method and terminal
KR20050035049A (ko) 셀룰러 이동통신 시스템에서 푸쉬 투 토크 서비스를 위한호 설정 방법
CN104580983A (zh) 一种实现视频通讯ptt功能的方法
WO2012113303A1 (zh) 视频交互方法及系统
CN102355713B (zh) 语音通信中的呼叫方法及移动终端
KR100568020B1 (ko) 통화 모드별 통화로 설정 방법 및 장치
CN107770175B (zh) 一种软交换呼叫方法及系统
WO2008067722A1 (fr) Procédé, système de téléphone et terminal de téléphone pour une session d'appel
EP2425619B1 (en) Method and device for establishing simultaneous incoming circuit switched calls
WO2014154039A2 (zh) 一种实现代理通话的方法、系统及计算机存储介质
JP2001223746A (ja) ネットワークシステムの呼設定方法
CN101778182B (zh) 一种voip传真共享方法、电话机及系统
WO2012155400A1 (zh) 用户信息发送方法、保存方法、终端和系统
KR20050093425A (ko) 아이피 통신망과 피에스티앤을 이용한 영상전화시스템 및그 방법
CN112468468B (zh) 基于ip的语音传输方法、装置、电子设备及存储介质
WO2011110115A2 (zh) 集群通信中的话权信息共享方法、相关设备及系统
US8630254B2 (en) Telephone line switching apparatus, telephone line switching system, telephone relay system, telephone relay method, telephone relay program

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

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

Country of ref document: EP

Kind code of ref document: A1