WO2015062454A1 - Audio and video call method, device and system - Google Patents

Audio and video call method, device and system Download PDF

Info

Publication number
WO2015062454A1
WO2015062454A1 PCT/CN2014/089515 CN2014089515W WO2015062454A1 WO 2015062454 A1 WO2015062454 A1 WO 2015062454A1 CN 2014089515 W CN2014089515 W CN 2014089515W WO 2015062454 A1 WO2015062454 A1 WO 2015062454A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
access network
terminal device
address
audio
Prior art date
Application number
PCT/CN2014/089515
Other languages
French (fr)
Chinese (zh)
Inventor
段志阳
冯斌
岳东升
任斌
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015062454A1 publication Critical patent/WO2015062454A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures

Definitions

  • the present invention relates to the field of communications, and in particular, to an audio and video call method, device, and system.
  • Embodiments of the present invention provide an audio and video call method, device, and system.
  • the provided audio and video call method, device, and system can perform audio and video calls on a FTTH network using a home terminal.
  • An embodiment of the present invention provides an audio and video call method, including an access network terminal device, a first terminal, and a second terminal; the first terminal supports an audio service, and the second terminal supports an audio and video service;
  • the network terminal device is connected to the third terminal by using the IP multimedia subsystem, and the first terminal and the third terminal are in an audio call state; the method includes:
  • the access network terminal device sends a call request to the second terminal, where the call request carries an IP address of the remote media and port information;
  • the access network terminal device receives the answer message of the second terminal, and sets an IP address of the user side media in the real-time transport protocol RTP proxy to an IP address of the second terminal device;
  • the access network terminal device forwards an update media request from the second terminal to the third terminal to add a video
  • the access network terminal device proxies an audio-video call between the second terminal and the third terminal after the third terminal accepts the update media request.
  • An embodiment of the present invention provides an access network terminal device, where the access network terminal device is registered with a plurality of terminals including a first terminal and a second terminal; the first terminal supports an audio service, and the second terminal The terminal supports the audio and video service; the access network terminal device is connected to the third terminal by using the IP multimedia subsystem, and the first terminal and the third terminal are in an audio call state; the access network terminal device includes:
  • a user side interface configured to receive a handover request of the first terminal, send a call request to the second terminal, where the call request carries an IP address of the remote media and port information, and receive the second terminal Answer the message;
  • a processing unit configured to set an IP address of the user side media in the real-time transport protocol RTP proxy to an IP address of the second terminal device
  • a network side interface configured to forward an update media request from the second terminal to the third terminal to add a video
  • a proxy unit configured to proxy an audio-video call between the second terminal and the third terminal after the third terminal accepts the update media request.
  • An embodiment of the present invention provides an audio and video call system, including an access network terminal device, a first terminal, and a second terminal; the first terminal supports an audio service, and the second terminal supports an audio and video service;
  • the network access terminal device is connected to the third terminal by using an IP multimedia subsystem, where the first terminal and the third terminal are in an audio call state;
  • the access network terminal device is configured to receive a handover request of the first terminal, and send a call request to the second terminal, where the call request carries an IP address of the remote media and port information;
  • the second terminal's answer message will be the IP of the user side media in the real-time transport protocol RTP proxy.
  • An address is set to an IP address of the second terminal device; an update media request from the second terminal is forwarded to the third terminal to add a video; and the agent is after the third terminal accepts the update media request An audio-video call between the second terminal and the third terminal.
  • the audio and video call method, device and system provided by the embodiments of the present invention can be switched between multiple terminals connected to an access network terminal device, thereby implementing audio and video calls by using services supported by different terminals.
  • FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an audio and video call method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of an audio call method according to another embodiment of the present invention.
  • FIG. 4 is a flowchart of an audio call method according to another embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a structure of an access network terminal device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of another structure of an access network terminal device according to an embodiment of the present invention.
  • the network architecture involved in the embodiment of the present invention may be as shown in FIG. 1.
  • the terminal 1 and the terminal 2 may be a terminal of a home, or belong to a campus, a factory, etc.; the terminal 3 belongs to another home, a campus, or a terminal of a factory.
  • the terminal 1 and the terminal 2 can be connected to the access network terminal device 4 by wire or wirelessly.
  • the access network terminal device 4 can pass the IP Multimedia Subsystem (IP Multimedia) Subsystem, IP Multimedia Subsystem) 5 connects terminal 3.
  • IP Multimedia Subsystem IP Multimedia Subsystem
  • the terminal 1 may be a device that supports voice services, such as a POTS (Plain Old Telephone Service) terminal, and the terminal 2 may be a device that supports audio and video services, such as a smart phone, a PAD, a smart TV, a PC, and the like.
  • voice services such as a POTS (Plain Old Telephone Service) terminal
  • the terminal 2 may be a device that supports audio and video services, such as a smart phone, a PAD, a smart TV, a PC, and the like.
  • the access network terminal device 4 may be an Optical Network Terminal (ONT), a router, a home gateway, or the like.
  • ONT Optical Network Terminal
  • an embodiment of the present invention provides an audio and video call method, which provides a method for switching to the terminal 2 for audio and video calls when the terminal 1 and the terminal 3 are in an audio call state.
  • the methods provided include:
  • step 200 the terminal 1 sends a handover request to the access network terminal device 4.
  • the access network terminal device 4 allocates an internal number to each terminal of a home, and each terminal is respectively registered to the access network terminal device 4 through the internal number, and multiple terminals share a unified POTS number to implement external The call and the answering call are communicated between the terminals and between the terminal and the access network terminal device using the assigned internal number.
  • the terminal 1 when the terminal 1 performs an audio call, if the video call needs to be added, the handover request is sent to the access network terminal device 4, and the handover request carries the internal number of the terminal to be switched.
  • the terminal 2 supports the audio and video capability, and the terminal 1 wants to switch to the terminal 2, and the handover request sent by the terminal 1 to the access network terminal device 4 carries the internal number of the terminal 2.
  • the handover request may be based on a Session Initiation Protocol (SIP), such as an Invite message, and the internal number of the terminal 2 may be carried in the To header field of the Invite message.
  • SIP Session Initiation Protocol
  • step 210 the access network terminal device 4 sends a call request to the terminal 2.
  • the call request sent by the access network terminal device 4 carries the IP address and port information of the remote media.
  • the access network terminal device 4 acts as a Real-Time Transport Protocol (RTP) proxy, and the access network terminal device 4 uses the voice wide area network (WAN) of the RTP proxy on the device.
  • RTP Real-Time Transport Protocol
  • WAN voice wide area network
  • the IP address of the port and the port information of the voice WAN port are sent to the terminal 2 as the IP address and port information of the remote media.
  • the terminal 2 initiates a call or receives a call according to the IP address and port information of the remote media, and the terminal device of the access network 4 Complete the RTP proxy process.
  • Step 220 The access network terminal device 4 receives the answer message of the terminal 2, and sets the IP address of the user side media in the RTP proxy to the IP address of the terminal 2.
  • the voice RTP media stream can be sent between the access network terminal device 4 and the terminal 2.
  • Step 230 the access network terminal device 4 receives the update media request of the terminal 2, and forwards the update media request to the terminal 3 to add the video.
  • the media update request of the terminal 2 may be a SIP-based Invite message, and the From header field in the Invite message may carry the internal number of the terminal 2.
  • the access network terminal device 4 After receiving the media update request of the terminal 2, the access network terminal device 4 converts the internal number in the From header field in the media update request into a unified external number and forwards the result to the terminal 3.
  • Step 240 The access network terminal device 4 proxies the audio and video call between the terminal 2 and the terminal 3 after the terminal 3 accepts the update media request.
  • the foregoing method provided in this embodiment can perform handover between multiple terminals connected to an access network terminal device, thereby implementing audio and video calls by using services supported by different terminals.
  • the access network terminal device 4 establishes an audio call between the terminal 1 and the terminal 3. Specifically, the terminal 1 may initiate a call to the terminal 3 or the access network terminal device 4 passively receives the call of the terminal 3.
  • the process in which the terminal 1 actively initiates a call to the terminal 3 may be as shown in FIG. 3, including:
  • step 300 the terminal 1 sends a call request to the access network terminal device 4.
  • the calling account that the terminal 1 sends the call request is the internal account of the terminal 1.
  • the terminal 1 can carry the internal account in the From header field of the initiated call request, and send the call request to the access network terminal device 4.
  • Step 310 The access network terminal device 4 converts the internal number in the call request into an external number and sends it to the terminal 3.
  • the external number converted by the access network terminal device 4 is uniformly allocated by the upper layer network, such as the core network, and multiple terminals connected under the access network terminal device 4 can share the external number to communicate with the other end of the IMS network.
  • the media IP address and port information of the Session Description Protocol (SDP) in the call request sent by the access network terminal device 4 to the terminal 3 may be the IP address of the voice WAN port on the access network terminal device 4. With port information.
  • SDP Session Description Protocol
  • Step 320 After the terminal 3 answers, the access network terminal device 4 sends the IP address and port information of the RTP proxy to the terminal 1.
  • the terminal 3 After receiving the terminal 3, the terminal 3 sends an answer message 200 OK message to the access network terminal device 4, and the access network terminal device 4 adds the IP address and port information of the RTP proxy on the device to the IP address and port information of the peer media.
  • the 200 OK message is sent to the terminal 1.
  • step 330 the acknowledgment message of the terminal 1 is received, and the IP address and port information of the RTP proxy are added to the acknowledgment message and sent to the terminal 3.
  • the acknowledgment message of the terminal 1 may be an ACK message
  • the access network terminal device 4 adds the IP address and port information of the RTP proxy to the ACK message and sends the IP address and port information of the local media to the terminal 3.
  • the access network terminal device 4 After the above-mentioned steps are successfully negotiated, the access network terminal device 4 completes the association of the RTP session, and implements the proxy of the subsequent media message, thereby implementing bidirectional conversion of the RTP message and the RTCP message.
  • the implementation process may be as shown in FIG. 4, including:
  • Step 400 the access network terminal device 4 receives the call request of the terminal 3.
  • the call request of the terminal 3 may be an Invite message, and the To header field of the Invite message carries an external number uniformly allocated by the upper layer network to the access network terminal device 4.
  • step 410 the external number in the call request is replaced with the internal number of the terminal 1 and sent to the terminal 1.
  • the access network terminal device 4 as an RTP proxy, needs to carry the IP address of the RTP proxy of the device in the call request and send it to the terminal 1.
  • Step 420 Receive the answering message of the terminal 1, and carry the IP address and port information of the RTP proxy as the IP address and port information of the local media in the answering message and send it to the terminal 3.
  • Step 430 Receive the confirmation message of the terminal 3, and carry the IP address and port information of the RTP proxy as the IP address and port information of the peer media in the confirmation message and send the message to the terminal 1.
  • the access network terminal device 4 After the above-mentioned steps are successfully negotiated, the access network terminal device 4 completes the association of the RTP session, and implements the proxy of the subsequent media message, thereby implementing bidirectional conversion of the RTP message and the RTCP message.
  • an internal account is allocated to a plurality of terminals connected to an access network terminal device, and the internal account is converted into a unified external account on the access network terminal device. No. For the upper layer network, the internal account is not visible, and each existing terminal needs to be assigned a separate external account, which can save resources.
  • An embodiment of the present invention provides an access network terminal device, which may be an ONT, a router, a home gateway, or the like.
  • the provided access network terminal device can connect multiple terminals including the terminal 1, the terminal 2 through a wired or wireless connection, wherein the terminal 1 supports audio services, which can be a POTS terminal, etc., and the terminal 2 can support audio and video services, such as Smartphones, PADs, smart TVs, etc.
  • the access network terminal device can connect to the terminal 3 through the IMS, and the terminal 3 belongs to another home, campus or factory terminal.
  • the access network terminal device is capable of switching between audio calls and audio and video calls between a plurality of terminals. As shown in FIG.
  • the access network terminal device 4 includes a user side interface 50, a processing unit 52, a network side interface 54, and a proxy unit 56, and may further include a registration unit 58, a storage unit 59, and the like, wherein the processing unit 52 is respectively connected.
  • the user side interface 50 and the network side interface 54 may be connected to the user side interface 50 and the network side interface 54 through a series of buses; the proxy unit 56 is connected to the processing unit 52.
  • the user side interface 50 may be a receiving converter, such as a transceiver, for receiving a handover request of the terminal 1; sending a call request to the terminal 2, the call request carrying an IP address and port information of the remote media; and receiving Receiving message of terminal 2;
  • a receiving converter such as a transceiver
  • the processing unit 52 may be a processor, such as a CPU, for setting the IP address of the user-side media in the RTP proxy to the IP address of the terminal 2;
  • the network side interface 54 may also be a receiving converter, such as an optical module, a transceiver, etc., for forwarding an update media request from the terminal 1 to the terminal 3 to add a video;
  • the proxy unit 56 is configured to perform an audio-video call between the terminal 2 and the terminal 3 after the terminal 3 accepts the update media request.
  • the IP address and port information of the remote media carried in the call request sent by the user side interface 50 to the terminal 2 may be the IP address of the voice WAN port on the access network terminal device and the port information of the voice WAN port.
  • the access network terminal device 4 assigns each connected terminal an internal number, which may belong to a home or belong to a campus, a factory, or the like.
  • An internal account can be used between these terminals and between these terminals and the access network terminal device 4, which communicate with other home, campus or factory terminals using a unified external account.
  • the terminal 1 can initiate a call request to the terminal 3 through the access network terminal device 4.
  • the user-side interface unit 50 is used for a call request from the terminal 1, and the call request of the terminal 1 is carried.
  • the processing unit 52 is configured to replace the internal number in the call request of the terminal 1 with the external number assigned to the access network terminal device 4 by the upper layer network, and add the IP address and port information of the RTP proxy on the access network terminal device 4 to In the call request;
  • the network side interface 54 is configured to send the call information carrying the external number and the IP address of the RTP proxy and the port information to the terminal 3.
  • the access network terminal device 4 can also receive the call request of the terminal 3, in the process,
  • the network side interface 54 is configured to receive a call request from the terminal 3.
  • the processing unit 52 is configured to replace the external number in the call request with the internal number corresponding to the terminal 1, and modify the media IP address in the call request to the IP address of the RTP proxy on the access network terminal device 4, and Modifying the media port information address in the call request to the port information of the RTP proxy on the access network terminal device 4; transmitting the modified call request to the terminal 1 through the user side interface 50;
  • the user-side interface 50 is further configured to receive the answering message of the terminal 1 and send the answering message to the processing unit 52, so that the processing unit 52 replaces the IP address of the local media in the receiving message with the access network terminal device 4.
  • the IP address of the RTP proxy, and the port information of the local media in the received message are replaced with the port information of the RTP proxy on the access network terminal device 4, and the modified answer message is forwarded to the terminal 3;
  • the network side interface 54 is further configured to receive the acknowledgement message of the terminal 3, and send the acknowledgement message to the processing unit 52, so that the processing unit 52 replaces the IP address of the peer media in the acknowledgement message with the RTP on the access network terminal device 4.
  • the IP address of the proxy, and the port information of the peer media in the acknowledgment message are replaced with the port information of the RTP proxy on the access network terminal device 4, and the modified acknowledgment message is forwarded to the terminal 1 through the user side interface 50.
  • the provided access network terminal device 4 may include a registration unit 58 and a storage unit 59, as shown in FIG.
  • the registration unit 58 may be a module integrated or independent with the processor 52 for receiving a registration request of the terminal, and the registration request of the terminal carries an internal number assigned to the terminal in advance.
  • the processing unit 59 may be a memory for storing the internal number of the terminal and The upper layer unifies the external number assigned to the access network terminal 4, and the like.
  • the access network terminal device 4 provided in this embodiment can perform handover between multiple terminals, thereby implementing audio and video calls by using services supported by different terminals.
  • an internal account is allocated to a plurality of terminals connected to an access network terminal device, and the internal account is converted into a unified external account on the access network terminal device.
  • the internal account is not visible, and the existing Each terminal needs to be assigned a separate external account to save resources.

Abstract

The present invention provides an audio and video call method. In the provided method, an access network terminal device can switch among multiple terminals with different capabilities to implement an audio and video call. The method comprises: an access network terminal device receiving a switching request of a first terminal; sending a call request to a second terminal, wherein the call request carries an IP address and port information of remote media; the access network terminal device receiving an answering message of the second terminal, and setting an IP address of user-side media in a Real-Time Transport Protocol (RTP) agent to an IP address of the second terminal; forwarding a media update request from the second terminal to a third terminal so as to add a video; the access network terminal device acting as an agent of an audio and video call between the second terminal and the third terminal after the third terminal accepts the media update request.

Description

音视频通话方法、设备和系统Audio and video call method, device and system
本申请要求于2013年10月28日提交中国专利局、申请号为201310516170.0、发明名称为“音视频通话方法、设备和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201310516170.0, entitled "Audio and Video Calling Method, Apparatus and System", filed on October 28, 2013, the entire contents of which is incorporated herein by reference. in.
技术领域Technical field
本发明涉及通信领域,尤其涉及一种音视频通话方法、设备和系统。The present invention relates to the field of communications, and in particular, to an audio and video call method, device, and system.
背景技术Background technique
视频通信目前的发展不是很快,主要原因是因为移动视频通信资费高,体验一般,而运营商固定终端音视频业务目前主要以IP音视频电话为代表,由于固定终端音视频业务是基于有线终端,用户不能随意移动,使用不方便。基于以上几点原因,导致视频通信一直未得到有效的发展。The current development of video communication is not very fast. The main reason is that mobile video communication costs are high and the experience is general. However, operators' fixed terminal audio and video services are mainly represented by IP audio and video phones, because fixed terminal audio and video services are based on wired terminals. The user cannot move at will, and it is inconvenient to use. Based on the above reasons, video communication has not been effectively developed.
随着FTTH(Fiber to the Home,光纤到户)网络的飞速发展,已经能够提供优质的带宽资源,这些带宽资源能够为视频通信的发展提供带宽保证。与此同时,随着以PAD、智能手机为代表的个人移动终端的普及也为视频通信的发展提供了很好的保证。在这种情况下,如何在FTTH网络上利用普及的个人移动终端来开展音视频业务就成为现阶段急需解决的问题。With the rapid development of FTTH (Fiber to the Home) networks, high-quality bandwidth resources have been provided, which can provide bandwidth guarantee for the development of video communication. At the same time, with the popularity of personal mobile terminals represented by PAD and smart phones, it also provides a good guarantee for the development of video communication. In this case, how to use the popular personal mobile terminal to develop audio and video services on the FTTH network has become an urgent problem to be solved at this stage.
发明内容Summary of the invention
本发明实施例提供一种音视频通话方法、设备和系统,所提供的音视频通话方法、设备和系统能够在FTTH网络上利用家庭的终端开展音视频通话。Embodiments of the present invention provide an audio and video call method, device, and system. The provided audio and video call method, device, and system can perform audio and video calls on a FTTH network using a home terminal.
本发明一个实施例提供一种音视频通话方法,包括接入网终端设备、第一终端和第二终端;所述第一终端支持音频业务,所述第二终端支持音视频业务;所述接入网终端设备通过IP多媒体子系统连接第三终端,所述第一终端和所述第三终端处于音频通话状态;所述方法包括:An embodiment of the present invention provides an audio and video call method, including an access network terminal device, a first terminal, and a second terminal; the first terminal supports an audio service, and the second terminal supports an audio and video service; The network terminal device is connected to the third terminal by using the IP multimedia subsystem, and the first terminal and the third terminal are in an audio call state; the method includes:
所述接入网终端设备接收所述第一终端的切换请求; Receiving, by the access network terminal device, a handover request of the first terminal;
所述接入网终端设备向所述第二终端发送呼叫请求,所述呼叫请求携带有远端媒体的IP地址以及端口信息;The access network terminal device sends a call request to the second terminal, where the call request carries an IP address of the remote media and port information;
所述接入网终端设备接收所述第二终端的接听消息,将实时传输协议RTP代理中的用户侧媒体的IP地址设置成所述第二终端设备的IP地址;The access network terminal device receives the answer message of the second terminal, and sets an IP address of the user side media in the real-time transport protocol RTP proxy to an IP address of the second terminal device;
所述接入网终端设备将来自所述第二终端的更新媒体请求转发给所述第三终端以增加视频;The access network terminal device forwards an update media request from the second terminal to the third terminal to add a video;
所述接入网终端设备在所述第三终端接受所述更新媒体请求后代理所述第二终端和所述第三终端之间的音视频通话。The access network terminal device proxies an audio-video call between the second terminal and the third terminal after the third terminal accepts the update media request.
本发明一个实施例提供一种接入网终端设备,所述接入网终端设备上注册有包括第一终端、第二终端的多个终端;所述第一终端支持音频业务,所述第二终端支持音视频业务;所述接入网终端设备通过IP多媒体子系统连接第三终端,所述第一终端和所述第三终端处于音频通话状态;所述接入网终端设备包括:An embodiment of the present invention provides an access network terminal device, where the access network terminal device is registered with a plurality of terminals including a first terminal and a second terminal; the first terminal supports an audio service, and the second terminal The terminal supports the audio and video service; the access network terminal device is connected to the third terminal by using the IP multimedia subsystem, and the first terminal and the third terminal are in an audio call state; the access network terminal device includes:
用户侧接口,用于接收所述第一终端的切换请求;向所述第二终端发送呼叫请求,所述呼叫请求携带有远端媒体的IP地址以及端口信息;以及接收所述第二终端的接听消息;a user side interface, configured to receive a handover request of the first terminal, send a call request to the second terminal, where the call request carries an IP address of the remote media and port information, and receive the second terminal Answer the message;
处理单元,用于将实时传输协议RTP代理中的用户侧媒体的IP地址设置成所述第二终端设备的IP地址;a processing unit, configured to set an IP address of the user side media in the real-time transport protocol RTP proxy to an IP address of the second terminal device;
网络侧接口,用于将来自所述第二终端的更新媒体请求转发给所述第三终端以增加视频;a network side interface, configured to forward an update media request from the second terminal to the third terminal to add a video;
代理单元,用于在所述第三终端接受所述更新媒体请求后代理所述第二终端和所述第三终端之间的音视频通话。And a proxy unit, configured to proxy an audio-video call between the second terminal and the third terminal after the third terminal accepts the update media request.
本发明一个实施例提供一种音视频通话系统,包括接入网终端设备、第一终端和第二终端;所述第一终端支持音频业务,所述第二终端支持音视频业务;所述接入网终端设备通过IP多媒体子系统连接第三终端,所述第一终端和所述第三终端处于音频通话状态;An embodiment of the present invention provides an audio and video call system, including an access network terminal device, a first terminal, and a second terminal; the first terminal supports an audio service, and the second terminal supports an audio and video service; The network access terminal device is connected to the third terminal by using an IP multimedia subsystem, where the first terminal and the third terminal are in an audio call state;
其中,所述接入网终端设备用于接收所述第一终端的切换请求;向所述第二终端发送呼叫请求,所述呼叫请求携带有远端媒体的IP地址以及端口信息;接收所述第二终端的接听消息,将实时传输协议RTP代理中的用户侧媒体的IP 地址设置成所述第二终端设备的IP地址;将来自所述第二终端的更新媒体请求转发给所述第三终端以增加视频;以及在所述第三终端接受所述更新媒体请求后代理所述第二终端和所述第三终端之间的音视频通话。The access network terminal device is configured to receive a handover request of the first terminal, and send a call request to the second terminal, where the call request carries an IP address of the remote media and port information; The second terminal's answer message will be the IP of the user side media in the real-time transport protocol RTP proxy. An address is set to an IP address of the second terminal device; an update media request from the second terminal is forwarded to the third terminal to add a video; and the agent is after the third terminal accepts the update media request An audio-video call between the second terminal and the third terminal.
本发明实施例提供的音视频通话方法、设备和系统,可以在一个接入网终端设备上连接的多个终端之间进行切换,从而利用不同终端所支持的业务来实现音视频通话。The audio and video call method, device and system provided by the embodiments of the present invention can be switched between multiple terminals connected to an access network terminal device, thereby implementing audio and video calls by using services supported by different terminals.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本发明实施例所提供的系统架构的示意图;FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
图2为本发明一个实施例提供的音视频通话方法的流程图;2 is a flowchart of an audio and video call method according to an embodiment of the present invention;
图3为本发明另一个实施例提供的音频通话方法的流程图;FIG. 3 is a flowchart of an audio call method according to another embodiment of the present invention;
图4为本发明另一个实施例提供的音频通话方法的流程图;4 is a flowchart of an audio call method according to another embodiment of the present invention;
图5为本发明实施例提供的接入网终端设备的结构的示意图;FIG. 5 is a schematic diagram of a structure of an access network terminal device according to an embodiment of the present disclosure;
图6为本发明实施例提供的另一种接入网终端设备的结构的示意图。FIG. 6 is a schematic diagram of another structure of an access network terminal device according to an embodiment of the present invention.
具体实施例Specific embodiment
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例涉及的网络架构可以是如图1所示,终端1和终端2可以可以是一个家庭的终端、或者属于一个校园、工厂等;终端3属于另一个家庭、校园或者工厂的终端。终端1和终端2可以通过有线或者无线连接到接入网终端设备4上。接入网终端设备4可以通过IP多媒体子系统(IP Multimedia  Subsystem,IP多媒体子系统)5连接终端3。其中,终端1可以是支持语音业务的设备,比如POTS(Plain Old Telephone Service,普通老式电话业务)终端,终端2可以是支持音视频业务的设备,比如智能手机、PAD、智能电视、PC等。The network architecture involved in the embodiment of the present invention may be as shown in FIG. 1. The terminal 1 and the terminal 2 may be a terminal of a home, or belong to a campus, a factory, etc.; the terminal 3 belongs to another home, a campus, or a terminal of a factory. The terminal 1 and the terminal 2 can be connected to the access network terminal device 4 by wire or wirelessly. The access network terminal device 4 can pass the IP Multimedia Subsystem (IP Multimedia) Subsystem, IP Multimedia Subsystem) 5 connects terminal 3. The terminal 1 may be a device that supports voice services, such as a POTS (Plain Old Telephone Service) terminal, and the terminal 2 may be a device that supports audio and video services, such as a smart phone, a PAD, a smart TV, a PC, and the like.
接入网终端设备4可以是光网络单元(Optical Network Terminal,ONT)、路由器、家庭网关等。The access network terminal device 4 may be an Optical Network Terminal (ONT), a router, a home gateway, or the like.
基于上述架构,本发明一个实施例提供一种音视频通话方法,所提供的方法能够在终端1和终端3处于音频通话状态下切换到终端2上以进行音视频通话。Based on the foregoing architecture, an embodiment of the present invention provides an audio and video call method, which provides a method for switching to the terminal 2 for audio and video calls when the terminal 1 and the terminal 3 are in an audio call state.
如图2所示,所提供的方法包括:As shown in Figure 2, the methods provided include:
步骤200,终端1向接入网终端设备4发送切换请求。In step 200, the terminal 1 sends a handover request to the access network terminal device 4.
本实施例中,接入网终端设备4为一个家庭的每个终端分配一个内部号码,每个终端分别通过内部号码注册到接入网终端设备4上,多个终端共享统一的POTS号码实现对外呼叫和接听电话,终端之间以及终端与接入网终端设备之间采用分配的内部号码进行通信。In this embodiment, the access network terminal device 4 allocates an internal number to each terminal of a home, and each terminal is respectively registered to the access network terminal device 4 through the internal number, and multiple terminals share a unified POTS number to implement external The call and the answering call are communicated between the terminals and between the terminal and the access network terminal device using the assigned internal number.
本实施例中,终端1进行音频通话的过程中,如果需要增加视频通话,则向接入网终端设备4发送切换请求,切换请求中携带有欲切换的终端的内部号码。本实施例中终端2支持音视频能力,终端1欲切换到终端2上,则终端1向接入网终端设备4发送的切换请求携带有终端2的内部号码。In this embodiment, when the terminal 1 performs an audio call, if the video call needs to be added, the handover request is sent to the access network terminal device 4, and the handover request carries the internal number of the terminal to be switched. In this embodiment, the terminal 2 supports the audio and video capability, and the terminal 1 wants to switch to the terminal 2, and the handover request sent by the terminal 1 to the access network terminal device 4 carries the internal number of the terminal 2.
其中,切换请求可以是基于会话发起协议(Session Initiation Protocol,SIP),比如Invite消息等,终端2的内部号码可以携带在Invite消息的To头域中。The handover request may be based on a Session Initiation Protocol (SIP), such as an Invite message, and the internal number of the terminal 2 may be carried in the To header field of the Invite message.
步骤210,接入网终端设备4向终端2发送呼叫请求。In step 210, the access network terminal device 4 sends a call request to the terminal 2.
接入网终端设备4发送的呼叫请求中携带有远端媒体的IP地址以及端口信息。在本实施例中,接入网终端设备4作为实时传输协议(Real-Time Transport Protocol,RTP)代理,则接入网终端设备4将本设备上RTP代理的语音广域网(Wide Area Network,WAN)口的IP地址和语音WAN口的端口信息作为远端媒体的IP地址和端口信息发送给终端2,终端2按照远端媒体的IP地址和端口信息发起呼叫或者接听呼叫,由接入网终端设备4完成RTP代理过程。The call request sent by the access network terminal device 4 carries the IP address and port information of the remote media. In this embodiment, the access network terminal device 4 acts as a Real-Time Transport Protocol (RTP) proxy, and the access network terminal device 4 uses the voice wide area network (WAN) of the RTP proxy on the device. The IP address of the port and the port information of the voice WAN port are sent to the terminal 2 as the IP address and port information of the remote media. The terminal 2 initiates a call or receives a call according to the IP address and port information of the remote media, and the terminal device of the access network 4 Complete the RTP proxy process.
步骤220,接入网终端设备4接收终端2的接听消息,将RTP代理中的用户侧媒体的IP地址设置成终端2的IP地址。 Step 220: The access network terminal device 4 receives the answer message of the terminal 2, and sets the IP address of the user side media in the RTP proxy to the IP address of the terminal 2.
经过步骤210和220后,接入网终端设备4和终端2之间就可以发送语音RTP媒体流了。After steps 210 and 220, the voice RTP media stream can be sent between the access network terminal device 4 and the terminal 2.
步骤230,接入网终端设备4接收终端2的更新媒体请求,将更新媒体请求转发给终端3以增加视频。 Step 230, the access network terminal device 4 receives the update media request of the terminal 2, and forwards the update media request to the terminal 3 to add the video.
终端2的媒体更新请求可以是基于SIP的Invite消息,Invite消息中的From头域可以携带终端2的内部号码。The media update request of the terminal 2 may be a SIP-based Invite message, and the From header field in the Invite message may carry the internal number of the terminal 2.
接入网终端设备4收到终端2的媒体更新请求后,将媒体更新请求中的From头域中的内部号码转换成统一的外部号码后转发给终端3。After receiving the media update request of the terminal 2, the access network terminal device 4 converts the internal number in the From header field in the media update request into a unified external number and forwards the result to the terminal 3.
步骤240,接入网终端设备4在所述终端3接受所述更新媒体请求后代理所述终端2和终端3之间的音视频通话。Step 240: The access network terminal device 4 proxies the audio and video call between the terminal 2 and the terminal 3 after the terminal 3 accepts the update media request.
本实施例提供的上述方法可以在一个接入网终端设备上连接的多个终端之间进行切换,从而利用不同终端所支持的业务来实现音视频通话。The foregoing method provided in this embodiment can perform handover between multiple terminals connected to an access network terminal device, thereby implementing audio and video calls by using services supported by different terminals.
在本发明实施例中,接入网终端设备4在终端1和终端3之间建立音频通话具体可以是终端1主动发起对终端3的呼叫或者接入网终端设备4被动接收终端3的呼叫。In the embodiment of the present invention, the access network terminal device 4 establishes an audio call between the terminal 1 and the terminal 3. Specifically, the terminal 1 may initiate a call to the terminal 3 or the access network terminal device 4 passively receives the call of the terminal 3.
1)其中终端1主动发起对终端3的呼叫的过程可以是如图3所示,包括:1) The process in which the terminal 1 actively initiates a call to the terminal 3 may be as shown in FIG. 3, including:
步骤300,终端1向接入网终端设备4发送呼叫请求。In step 300, the terminal 1 sends a call request to the access network terminal device 4.
终端1发送呼叫请求的主叫账号为终端1的内部账号,终端1可以将内部账号携带在发起的呼叫请求的From头域中,将呼叫请求发送给接入网终端设备4。The calling account that the terminal 1 sends the call request is the internal account of the terminal 1. The terminal 1 can carry the internal account in the From header field of the initiated call request, and send the call request to the access network terminal device 4.
步骤310,接入网终端设备4将呼叫请求中的内部号码转换成外部号码后发送给终端3。Step 310: The access network terminal device 4 converts the internal number in the call request into an external number and sends it to the terminal 3.
接入网终端设备4所转换的外部号码是由上层网络,比如核心网统一分配的,接入网终端设备4下连接的多个终端可以共享该外部号码与IMS网络另一端通信。The external number converted by the access network terminal device 4 is uniformly allocated by the upper layer network, such as the core network, and multiple terminals connected under the access network terminal device 4 can share the external number to communicate with the other end of the IMS network.
进一步的,接入网终端设备4发送给终端3的呼叫请求中的会话描述协议(Session Description Protocol,SDP)的媒体IP地址与端口信息可以为接入网终端设备4上的语音WAN口的IP与端口信息。 Further, the media IP address and port information of the Session Description Protocol (SDP) in the call request sent by the access network terminal device 4 to the terminal 3 may be the IP address of the voice WAN port on the access network terminal device 4. With port information.
步骤320,在终端3接听后,接入网终端设备4将RTP代理的IP地址以及端口信息发送给终端1。Step 320: After the terminal 3 answers, the access network terminal device 4 sends the IP address and port information of the RTP proxy to the terminal 1.
终端3接听后,会向接入网终端设备4发送接听消息200OK消息,接入网终端设备4将本设备上的RTP代理的IP地址以及端口信息作为对端媒体的IP地址和端口信息添加到200OK消息中发送给终端1。After receiving the terminal 3, the terminal 3 sends an answer message 200 OK message to the access network terminal device 4, and the access network terminal device 4 adds the IP address and port information of the RTP proxy on the device to the IP address and port information of the peer media. The 200 OK message is sent to the terminal 1.
步骤330,接收终端1的确认消息,将RTP代理的IP地址和端口信息添加到确认消息中发送给终端3。In step 330, the acknowledgment message of the terminal 1 is received, and the IP address and port information of the RTP proxy are added to the acknowledgment message and sent to the terminal 3.
终端1的确认消息可以是ACK消息,接入网终端设备4将RTP代理的IP地址和端口信息添加到ACK消息中作为本端媒体的IP地址和端口信息发送给终端3。The acknowledgment message of the terminal 1 may be an ACK message, and the access network terminal device 4 adds the IP address and port information of the RTP proxy to the ACK message and sends the IP address and port information of the local media to the terminal 3.
经过上述步骤协商成功后,接入网终端设备4完成RTP会话的关联,实现后续媒体报文的代理,进而可以实现RTP报文和RTCP报文的双向转换。After the above-mentioned steps are successfully negotiated, the access network terminal device 4 completes the association of the RTP session, and implements the proxy of the subsequent media message, thereby implementing bidirectional conversion of the RTP message and the RTCP message.
2)当接入网终端设备4被动接收终端3的呼叫时,实现过程可以如图4所示,包括:2) When the access network terminal device 4 passively receives the call of the terminal 3, the implementation process may be as shown in FIG. 4, including:
步骤400,接入网终端设备4接收终端3的呼叫请求。 Step 400, the access network terminal device 4 receives the call request of the terminal 3.
终端3的呼叫请求可以是Invite消息,该Invite消息的To头域携带有上层网络给接入网终端设备4统一分配的外部号码。The call request of the terminal 3 may be an Invite message, and the To header field of the Invite message carries an external number uniformly allocated by the upper layer network to the access network terminal device 4.
步骤410,将呼叫请求中的外部号码替换成终端1的内部号码发送给终端1。In step 410, the external number in the call request is replaced with the internal number of the terminal 1 and sent to the terminal 1.
进一步的,接入网终端设备4作为RTP代理,需要将本设备的RTP代理的IP地址携带在呼叫请求中发送给终端1。Further, the access network terminal device 4, as an RTP proxy, needs to carry the IP address of the RTP proxy of the device in the call request and send it to the terminal 1.
步骤420,接收终端1的接听消息,将RTP代理的IP地址和端口信息作为本端媒体的IP地址和端口信息携带在接听消息中发送给终端3。Step 420: Receive the answering message of the terminal 1, and carry the IP address and port information of the RTP proxy as the IP address and port information of the local media in the answering message and send it to the terminal 3.
步骤430,接收终端3的确认消息,将RTP代理的IP地址和端口信息作为对端媒体的IP地址和端口信息携带在确认消息中发送给终端1。Step 430: Receive the confirmation message of the terminal 3, and carry the IP address and port information of the RTP proxy as the IP address and port information of the peer media in the confirmation message and send the message to the terminal 1.
经过上述步骤协商成功后,接入网终端设备4完成RTP会话的关联,实现后续媒体报文的代理,进而可以实现RTP报文和RTCP报文的双向转换。After the above-mentioned steps are successfully negotiated, the access network terminal device 4 completes the association of the RTP session, and implements the proxy of the subsequent media message, thereby implementing bidirectional conversion of the RTP message and the RTCP message.
本实施例的上述终端之间的呼叫方法,通过给一个接入网终端设备连接的多个终端分配内部账号,在接入网终端设备上将内部账号转换成统一的外部账 号,对于上层网络而言,内部账号不可见,与现有的每个终端都需要分配一个独立的外部账号而言,可以节省资源。In the method for calling between the terminals in the embodiment, an internal account is allocated to a plurality of terminals connected to an access network terminal device, and the internal account is converted into a unified external account on the access network terminal device. No. For the upper layer network, the internal account is not visible, and each existing terminal needs to be assigned a separate external account, which can save resources.
本发明一个实施例提供一种接入网终端设备,可以是ONT、路由器、家庭网关等。所提供的接入网终端设备可以通过有线或者无线连接包括终端1、终端2在内的多个终端,其中,终端1支持音频业务,可以是POTS终端等;终端2可以支持音视频业务,比如智能手机、PAD、智能电视等。接入网终端设备可以通过IMS连接终端3,终端3属于另一个家庭、校园或者工厂的终端。接入网终端设备能够在多个终端之间进行音频通话到音视频通话的切换。如图5所示,接入网终端设备4包括用户侧接口50、处理单元52、网络侧接口54以及代理单元56,还可以包括注册单元58,存储单元59等,其中,处理单元52分别连接用户侧接口50和网络侧接口54,可以是通过一系列总线来连接用户侧接口50和网络侧接口54等;代理单元56与处理单元52相连。An embodiment of the present invention provides an access network terminal device, which may be an ONT, a router, a home gateway, or the like. The provided access network terminal device can connect multiple terminals including the terminal 1, the terminal 2 through a wired or wireless connection, wherein the terminal 1 supports audio services, which can be a POTS terminal, etc., and the terminal 2 can support audio and video services, such as Smartphones, PADs, smart TVs, etc. The access network terminal device can connect to the terminal 3 through the IMS, and the terminal 3 belongs to another home, campus or factory terminal. The access network terminal device is capable of switching between audio calls and audio and video calls between a plurality of terminals. As shown in FIG. 5, the access network terminal device 4 includes a user side interface 50, a processing unit 52, a network side interface 54, and a proxy unit 56, and may further include a registration unit 58, a storage unit 59, and the like, wherein the processing unit 52 is respectively connected. The user side interface 50 and the network side interface 54 may be connected to the user side interface 50 and the network side interface 54 through a series of buses; the proxy unit 56 is connected to the processing unit 52.
用户侧接口50,可以是接收转换器,如收发机等,用于接收终端1的切换请求;向终端2发送呼叫请求,所述呼叫请求携带有远端媒体的IP地址以及端口信息;以及接收终端2的接听消息;The user side interface 50 may be a receiving converter, such as a transceiver, for receiving a handover request of the terminal 1; sending a call request to the terminal 2, the call request carrying an IP address and port information of the remote media; and receiving Receiving message of terminal 2;
处理单元52,可以是处理器,如CPU等,用于将RTP代理中的用户侧媒体的IP地址设置成终端2的IP地址;The processing unit 52 may be a processor, such as a CPU, for setting the IP address of the user-side media in the RTP proxy to the IP address of the terminal 2;
网络侧接口54,也可以是接收转换器,如光模块、收发机等,用于将来自终端1的更新媒体请求转发给终端3以增加视频;The network side interface 54 may also be a receiving converter, such as an optical module, a transceiver, etc., for forwarding an update media request from the terminal 1 to the terminal 3 to add a video;
代理单元56,用于在终端3接受所述更新媒体请求后代理终端2和终端3之间的音视频通话。The proxy unit 56 is configured to perform an audio-video call between the terminal 2 and the terminal 3 after the terminal 3 accepts the update media request.
具体的,用户侧接口50向终端2发送的呼叫请求中所携带的远端媒体的IP地址以及端口信息可以是接入网终端设备上的语音WAN口的IP地址和语音WAN口的端口信息。Specifically, the IP address and port information of the remote media carried in the call request sent by the user side interface 50 to the terminal 2 may be the IP address of the voice WAN port on the access network terminal device and the port information of the voice WAN port.
在本实施例中,接入网终端设备4给每个连接的终端分配一个内部号码,这些终端可以属于一个家庭,或者属于一个校园,工厂等。这些终端之间以及这些终端和接入网终端设备4之间可以采用内部账号进行通信,这些终端使用统一的外部账号与其他家庭、校园或者工厂的终端进行通信。 In the present embodiment, the access network terminal device 4 assigns each connected terminal an internal number, which may belong to a home or belong to a campus, a factory, or the like. An internal account can be used between these terminals and between these terminals and the access network terminal device 4, which communicate with other home, campus or factory terminals using a unified external account.
作为一种实施方式,终端1可以通过接入网终端设备4向终端3发起呼叫请求,在这个过程中,用户侧接口单元50用于来自终端1的呼叫请求,终端1的呼叫请求中携带有终端1的内部号码;As an implementation manner, the terminal 1 can initiate a call request to the terminal 3 through the access network terminal device 4. In this process, the user-side interface unit 50 is used for a call request from the terminal 1, and the call request of the terminal 1 is carried. The internal number of the terminal 1;
处理单元52用于用上层网络给接入网终端设备4分配的外部号码替换终端1的呼叫请求中的内部号码,以及将接入网终端设备4上的RTP代理的IP地址以及端口信息添加到所述呼叫请求中;The processing unit 52 is configured to replace the internal number in the call request of the terminal 1 with the external number assigned to the access network terminal device 4 by the upper layer network, and add the IP address and port information of the RTP proxy on the access network terminal device 4 to In the call request;
网络侧接口54,用于将携带有所述外部号码以及RTP代理的IP地址以及端口信息的呼叫信息发送给终端3。The network side interface 54 is configured to send the call information carrying the external number and the IP address of the RTP proxy and the port information to the terminal 3.
作为另一种实施方式,接入网终端设备4也可以接收终端3的呼叫请求,在这个过程中,As another implementation manner, the access network terminal device 4 can also receive the call request of the terminal 3, in the process,
网络侧接口54,用于接收来自终端3的呼叫请求。The network side interface 54 is configured to receive a call request from the terminal 3.
处理单元52,用于将所述呼叫请求中的外部号码替换成终端1对应的内部号码,将呼叫请求中的媒体IP地址修改为1接入网终端设备4上的RTP代理的IP地址,以及将呼叫请求中的媒体端口信息地址修改为接入网终端设备4上的RTP代理的端口信息;通过用户侧接口50将修改后的呼叫请求发送给终端1;The processing unit 52 is configured to replace the external number in the call request with the internal number corresponding to the terminal 1, and modify the media IP address in the call request to the IP address of the RTP proxy on the access network terminal device 4, and Modifying the media port information address in the call request to the port information of the RTP proxy on the access network terminal device 4; transmitting the modified call request to the terminal 1 through the user side interface 50;
用户侧接口50,还用于接收终端1的接听消息,将接听消息发送给处理单元52,以使得处理单元52将接听消息中的本端媒体的IP地址替换成接入网终端设备4上的RTP代理的IP地址,以及将接听消息中的本端媒体的端口信息替换成接入网终端设备4上的RTP代理的端口信息,将修改后的接听消息转发给终端3;以及The user-side interface 50 is further configured to receive the answering message of the terminal 1 and send the answering message to the processing unit 52, so that the processing unit 52 replaces the IP address of the local media in the receiving message with the access network terminal device 4. The IP address of the RTP proxy, and the port information of the local media in the received message are replaced with the port information of the RTP proxy on the access network terminal device 4, and the modified answer message is forwarded to the terminal 3;
网络侧接口54还用于接收终端3的确认消息,将确认消息发送给处理单元52,以使得处理单元52将确认消息中的对端媒体的IP地址替换成接入网终端设备4上的RTP代理的IP地址,以及将确认消息中的对端媒体的端口信息替换成接入网终端设备4上的RTP代理的端口信息,将修改后的确认消息通过用户侧接口50转发给终端1。The network side interface 54 is further configured to receive the acknowledgement message of the terminal 3, and send the acknowledgement message to the processing unit 52, so that the processing unit 52 replaces the IP address of the peer media in the acknowledgement message with the RTP on the access network terminal device 4. The IP address of the proxy, and the port information of the peer media in the acknowledgment message are replaced with the port information of the RTP proxy on the access network terminal device 4, and the modified acknowledgment message is forwarded to the terminal 1 through the user side interface 50.
在本发明另一个实施例中,所提供的接入网终端设备4可以包括注册单元58和存储单元59,如图5所示。其中注册单元58可以是集成或者独立与处理器52的一个模块,用于接收终端的注册请求,终端的注册请求携带有预先给终端分配的内部号码。处理单元59可以是存储器,用于存储终端的内部号码以及 上层网络统一给接入网终端4分配的外部号码等。In another embodiment of the present invention, the provided access network terminal device 4 may include a registration unit 58 and a storage unit 59, as shown in FIG. The registration unit 58 may be a module integrated or independent with the processor 52 for receiving a registration request of the terminal, and the registration request of the terminal carries an internal number assigned to the terminal in advance. The processing unit 59 may be a memory for storing the internal number of the terminal and The upper layer unifies the external number assigned to the access network terminal 4, and the like.
本实施例提供的接入网终端设备4可以在多个终端之间进行切换,从而利用不同终端所支持的业务来实现音视频通话。同时通过给一个接入网终端设备连接的多个终端分配内部账号,在接入网终端设备上将内部账号转换成统一的外部账号,对于上层网络而言,内部账号不可见,与现有的每个终端都需要分配一个独立的外部账号而言,可以节省资源。The access network terminal device 4 provided in this embodiment can perform handover between multiple terminals, thereby implementing audio and video calls by using services supported by different terminals. At the same time, an internal account is allocated to a plurality of terminals connected to an access network terminal device, and the internal account is converted into a unified external account on the access network terminal device. For the upper layer network, the internal account is not visible, and the existing Each terminal needs to be assigned a separate external account to save resources.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一计算机可读存储介质中,如ROM/RAM、磁碟或光盘等。A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, such as ROM/RAM, magnetic. Disc or CD.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内,因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. The scope of protection of the present invention should be construed as the scope of protection of the present invention.

Claims (11)

  1. 一种音视频通话方法,其特征在于,包括接入网终端设备、以及所述接入网终端设备通过有线或者无线连接的第一终端和第二终端;所述第一终端支持音频业务,所述第二终端支持音视频业务;所述接入网终端设备通过IP多媒体子系统连接第三终端,所述第一终端和所述第三终端处于音频通话状态;所述方法包括:An audio-video calling method, comprising: an access network terminal device, and a first terminal and a second terminal that are connected by the access network terminal device by wire or wireless; the first terminal supports an audio service, where The second terminal supports the audio and video service; the access network terminal device is connected to the third terminal by using the IP multimedia subsystem, and the first terminal and the third terminal are in an audio call state; the method includes:
    所述接入网终端设备接收所述第一终端的切换请求;Receiving, by the access network terminal device, a handover request of the first terminal;
    所述接入网终端设备向所述第二终端发送呼叫请求,所述呼叫请求携带有远端媒体的IP地址以及端口信息;The access network terminal device sends a call request to the second terminal, where the call request carries an IP address of the remote media and port information;
    所述接入网终端设备接收所述第二终端的接听消息,将实时传输协议RTP代理中的用户侧媒体的IP地址设置成所述第二终端设备的IP地址;The access network terminal device receives the answer message of the second terminal, and sets an IP address of the user side media in the real-time transport protocol RTP proxy to an IP address of the second terminal device;
    所述接入网终端设备将来自所述第二终端的更新媒体请求转发给所述第三终端以增加视频;The access network terminal device forwards an update media request from the second terminal to the third terminal to add a video;
    所述接入网终端设备在所述第三终端接受所述更新媒体请求后代理所述第二终端和所述第三终端之间的音视频通话。The access network terminal device proxies an audio-video call between the second terminal and the third terminal after the third terminal accepts the update media request.
  2. 根据权利要求1所述的方法,其特征在于,所述远端媒体的IP地址为所述接入网终端设备上的语音广域网WAN口的IP地址;所述远端媒体的端口信息为所述接入网终端设备上的语音WAN口的端口信息。The method according to claim 1, wherein the IP address of the remote media is an IP address of a voice wide area network WAN port on the access network terminal device; and the port information of the remote media is the Port information of the voice WAN port on the access network terminal device.
  3. 根据权利要求1所述的方法,其特征在于,所述接入网终端设备分别给所述第一终端和所述第二终端分配有一个内部号码;所述第一终端和所述第三终端处于音频通话状态之前还包括所述接入网终端设备在所述第一终端和所述第三终端之间建立音频通话。The method according to claim 1, wherein the access network terminal device respectively assigns an internal number to the first terminal and the second terminal; the first terminal and the third terminal The access network terminal device further includes establishing an audio call between the first terminal and the third terminal before being in an audio call state.
  4. 根据权利要求3所述的方法,其特征在于,所述接入网终端设备在所述第一终端和所述第三终端之间建立音频通话具体包括:The method of claim 3, wherein the establishing, by the access network terminal device, the audio call between the first terminal and the third terminal comprises:
    接收来自所述第一终端的呼叫请求,所述第一终端的呼叫请求中携带有所述第一终端的内部号码;Receiving a call request from the first terminal, where the call request of the first terminal carries an internal number of the first terminal;
    用上层网络给所述接入网终端设备分配的外部号码替换所述第一终端的呼叫请求中的内部号码,以及将所述接入网终端设备上的RTP代理的IP地址以及 端口信息添加到所述呼叫请求中;Replacing the internal number in the call request of the first terminal with the external number assigned to the access network terminal device by the upper layer network, and the IP address of the RTP proxy on the access network terminal device and Port information is added to the call request;
    将携带有所述外部号码以及RTP代理的IP地址以及端口信息的呼叫信息发送给所述第三终端。Sending the call information carrying the external number and the IP address of the RTP proxy and the port information to the third terminal.
    接收所述第三终端的接听消息,将RTP代理的IP地址以及端口信息携带在接听消息中发送给所述第一终端;以及Receiving the answering message of the third terminal, carrying the IP address of the RTP proxy and the port information in the answering message, and sending the message to the first terminal;
    接收所述第一终端的确认消息,将RTP代理的IP地址和端口信息添加到确认消息中发送给所述第三终端。Receiving the acknowledgement message of the first terminal, adding the IP address and port information of the RTP proxy to the acknowledgement message and sending the message to the third terminal.
  5. 根据权利要求3所述的方法,其特征在于,所述接入网终端设备在所述第一终端和所述第三终端之间建立音频通话具体包括:The method of claim 3, wherein the establishing, by the access network terminal device, the audio call between the first terminal and the third terminal comprises:
    接收来自所述第三终端的呼叫请求;Receiving a call request from the third terminal;
    将所述呼叫请求中的外部号码替换成所述第一终端对应的内部号码,将呼叫请求中的媒体IP地址修改为所述接入网终端设备上的RTP代理的IP地址,以及将呼叫请求中的媒体端口信息地址修改为所述接入网终端设备上的RTP代理的端口信息;将修改后的呼叫请求发送给所述第一终端;Replacing the external number in the call request with the internal number corresponding to the first terminal, modifying the media IP address in the call request to the IP address of the RTP proxy on the access network terminal device, and placing the call request The media port information address is modified to be the port information of the RTP proxy on the access network terminal device; the modified call request is sent to the first terminal;
    接收所述第一终端的接听消息,将接听消息中的本端媒体的IP地址替换成所述接入网终端设备上的RTP代理的IP地址,以及将接听消息中的本端媒体的端口信息替换成所述接入网终端设备上的RTP代理的端口信息,将修改后的接听消息转发给所述第三终端;Receiving the answering message of the first terminal, replacing the IP address of the local media in the receiving message with the IP address of the RTP proxy on the terminal device of the access network, and the port information of the local media in the receiving message Replacing the port information of the RTP proxy on the access network terminal device, and forwarding the modified answer message to the third terminal;
    接收所述第三终端的确认消息,将确认消息中的对端媒体的IP地址替换成所述接入网终端设备上的RTP代理的IP地址,以及将确认消息中的对端媒体的端口信息替换成所述接入网终端设备上的RTP代理的端口信息,将修改后的确认消息转发给所述第一终端。Receiving the acknowledgement message of the third terminal, replacing the IP address of the peer media in the confirmation message with the IP address of the RTP proxy on the access network terminal device, and the port information of the peer media in the confirmation message And replacing the port information of the RTP proxy on the access network terminal device, and forwarding the modified acknowledgement message to the first terminal.
  6. 根据权利要求1所述的方法,其特征在于,所述接入网终端设备分别给所述第一终端和所述第二终端分配有一个内部号码;所述第一终端的切换请求中携带有欲切换的终端的内部号码,所述接入网终端设备根据所述欲切换的终端的内部号码向对应的终端发送呼叫请求。The method according to claim 1, wherein the access network terminal device respectively assigns an internal number to the first terminal and the second terminal; and the switching request of the first terminal carries The internal number of the terminal to be switched, the access network terminal device sends a call request to the corresponding terminal according to the internal number of the terminal to be switched.
  7. 一种接入网终端设备,其特征在于,所述接入网终端设备通过有线或者无线连接有第一终端和第二终端;所述第一终端支持音频业务,所述第二终端支持音视频业务;所述接入网终端设备通过IP多媒体子系统连接第三终端,所 述第一终端和所述第三终端处于音频通话状态;所述接入网终端设备包括:An access network terminal device, wherein the access network terminal device has a first terminal and a second terminal connected by wire or wireless; the first terminal supports audio service, and the second terminal supports audio and video The access network terminal device connects to the third terminal through the IP multimedia subsystem. The first terminal and the third terminal are in an audio call state; the access network terminal device includes:
    用户侧接口,用于接收所述第一终端的切换请求;向所述第二终端发送呼叫请求,所述呼叫请求携带有远端媒体的IP地址以及端口信息;以及接收所述第二终端的接听消息;a user side interface, configured to receive a handover request of the first terminal, send a call request to the second terminal, where the call request carries an IP address of the remote media and port information, and receive the second terminal Answer the message;
    处理单元,用于将实时传输协议RTP代理中的用户侧媒体的IP地址设置成所述第二终端的IP地址;a processing unit, configured to set an IP address of the user side media in the real-time transport protocol RTP proxy to an IP address of the second terminal;
    网络侧接口,用于将来自所述第二终端的更新媒体请求转发给所述第三终端以增加视频;a network side interface, configured to forward an update media request from the second terminal to the third terminal to add a video;
    代理单元,用于在所述第三终端接受所述更新媒体请求后代理所述第二终端和所述第三终端之间的音视频通话。And a proxy unit, configured to proxy an audio-video call between the second terminal and the third terminal after the third terminal accepts the update media request.
  8. 根据权利要求7所述的接入网终端设备,其特征在于,还包括注册单元,用于接收所述第一终端的注册请求和第二终端的注册请求,所述第一终端的注册请求携带有所述第一终端预先分配的内部号码,所述第二终端的注册请求携带有所述第二终端预先分配的内部号码。The access network terminal device according to claim 7, further comprising a registration unit, configured to receive a registration request of the first terminal and a registration request of the second terminal, where the registration request of the first terminal is carried There is an internal number pre-allocated by the first terminal, and the registration request of the second terminal carries an internal number pre-allocated by the second terminal.
  9. 根据权利要求7-8任意一项所述的接入网终端设备,其特征在于,所述接入网终端设备为光网络终端ONT、路由器或者家庭网关。The access network terminal device according to any one of claims 7-8, wherein the access network terminal device is an optical network terminal ONT, a router or a home gateway.
  10. 一种音视频通话系统,其特征在于,包括接入网终端设备、第一终端和第二终端;所述接入网终端设备通过有线或者无线与所述第一终端和第二终端相连;所述第一终端支持音频业务,所述第二终端支持音视频业务;所述接入网终端设备通过IP多媒体子系统连接第三终端,所述第一终端和所述第三终端处于音频通话状态;An audio-video calling system, comprising: an access network terminal device, a first terminal, and a second terminal; the access network terminal device is connected to the first terminal and the second terminal by wire or wireless; The first terminal supports the audio service, the second terminal supports the audio and video service; the access network terminal device connects to the third terminal through the IP multimedia subsystem, and the first terminal and the third terminal are in an audio call state. ;
    其中,所述接入网终端设备用于接收所述第一终端的切换请求;向所述第二终端发送呼叫请求,所述呼叫请求携带有远端媒体的IP地址以及端口信息;接收所述第二终端的接听消息,将实时传输协议RTP代理中的用户侧媒体的IP地址设置成所述第二终端设备的IP地址;将来自所述第二终端的更新媒体请求转发给所述第三终端以增加视频;以及在所述第三终端接受所述更新媒体请求后代理所述第二终端和所述第三终端之间的音视频通话。The access network terminal device is configured to receive a handover request of the first terminal, and send a call request to the second terminal, where the call request carries an IP address of the remote media and port information; Receiving, by the second terminal, the IP address of the user-side media in the real-time transport protocol RTP proxy is set to the IP address of the second terminal device; and forwarding the update media request from the second terminal to the third The terminal increases the video; and proxies the audio and video call between the second terminal and the third terminal after the third terminal accepts the update media request.
  11. 根据权利要求10所述的系统,其特征在于,所述远端媒体的IP地址为所述接入网终端设备上的语音广域网WAN口的IP地址;所述远端媒体的端口 信息为所述接入网终端设备上的语音WAN口的端口信息。 The system according to claim 10, wherein the IP address of the remote medium is an IP address of a voice wide area network WAN port on the access network terminal device; the remote media port The information is port information of the voice WAN port on the access network terminal device.
PCT/CN2014/089515 2013-10-28 2014-10-25 Audio and video call method, device and system WO2015062454A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310516170.0 2013-10-28
CN201310516170.0A CN104580119B (en) 2013-10-28 2013-10-28 Voice and video telephone method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2015062454A1 true WO2015062454A1 (en) 2015-05-07

Family

ID=53003331

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089515 WO2015062454A1 (en) 2013-10-28 2014-10-25 Audio and video call method, device and system

Country Status (2)

Country Link
CN (1) CN104580119B (en)
WO (1) WO2015062454A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291514A (en) * 2020-10-13 2021-01-29 中移(杭州)信息技术有限公司 Remote audio and video call method and device and OTT platform
CN116566955A (en) * 2023-07-07 2023-08-08 杭州英旭智能科技有限公司 Digital voice call method, device and application based on mqtt

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869347B (en) * 2015-05-18 2018-10-30 小米科技有限责任公司 Video call method and device
CN106488167A (en) * 2015-08-26 2017-03-08 中兴通讯股份有限公司 A kind of video call method, the network equipment, terminal and system
CN105847736A (en) * 2016-04-05 2016-08-10 上海斐讯数据通信技术有限公司 Video conversation system and video conversation method
CN107733673B (en) * 2016-08-12 2021-06-29 阿里巴巴集团控股有限公司 Cross-device communication switching method, device and system
CN111405121B (en) * 2020-02-26 2021-06-18 深圳震有科技股份有限公司 User behavior operation monitoring method and system based on voice call

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964400A (en) * 2006-11-22 2007-05-16 华为技术有限公司 A method and terminal for realizing call maintenance
CN101389077A (en) * 2008-10-24 2009-03-18 华为技术有限公司 Method, apparatus and system for call switching
CN101888381A (en) * 2010-06-29 2010-11-17 北京邮电大学 Communication system and method for realizing terminal switching by crossing networks and operators

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7164762B2 (en) * 2003-10-01 2007-01-16 At&T Corp. Enhanced call feature service
CN101087241B (en) * 2006-06-06 2011-04-20 华为技术有限公司 An implementation method of third-party control service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964400A (en) * 2006-11-22 2007-05-16 华为技术有限公司 A method and terminal for realizing call maintenance
CN101389077A (en) * 2008-10-24 2009-03-18 华为技术有限公司 Method, apparatus and system for call switching
CN101888381A (en) * 2010-06-29 2010-11-17 北京邮电大学 Communication system and method for realizing terminal switching by crossing networks and operators

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291514A (en) * 2020-10-13 2021-01-29 中移(杭州)信息技术有限公司 Remote audio and video call method and device and OTT platform
CN112291514B (en) * 2020-10-13 2023-08-01 中移(杭州)信息技术有限公司 Remote audio and video call method and device and OTT platform system
CN116566955A (en) * 2023-07-07 2023-08-08 杭州英旭智能科技有限公司 Digital voice call method, device and application based on mqtt
CN116566955B (en) * 2023-07-07 2023-09-19 杭州英旭智能科技有限公司 Digital voice call method, device and application based on mqtt

Also Published As

Publication number Publication date
CN104580119B (en) 2018-04-27
CN104580119A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
WO2015062454A1 (en) Audio and video call method, device and system
CN110012366B (en) Wide-narrow band converged communication system and method used under public and private network IP interconnection
CN112087548B (en) Method for playing multimedia color vibration and color ring and application server
CN109802913B (en) Fusion conference implementation method and device, electronic equipment and readable storage medium
WO2011088656A1 (en) Method and system for implementing three-party call of videophone by mobile terminals
WO2017162012A1 (en) Multi-party conference system and method and device for realizing multi-party conference
WO2013071893A1 (en) Guaranteeing method, device and system of communication service qos in nat scenario
WO2009152699A1 (en) Sip terminal and the status reporting method, system and sip server thereof
WO2011097983A1 (en) Method and apparatus for establishing circuit switched link of wifi handheld equipment
WO2015127793A1 (en) Recording method, voice exchanging device, recording server, and recording system
US11909775B2 (en) Methods and apparatuses for enhancement to IP multimedia subsystem
KR20080050044A (en) Session transfer method for mobile multimedia communications
WO2014166366A1 (en) Method and device for performing capability negotiation in a long term evolution cluster network
WO2011054318A1 (en) Method, device and system for media session negotiation
US20220021765A1 (en) Method for playing multimedia customized ringing signal and customized alerting tone, and application server
WO2009121310A1 (en) Method, system and device for selecting a gateway
WO2017000481A1 (en) Dialing method and apparatus for voice call
KR20120058764A (en) Method and apparatus for providing voice quality in voice over internet protocol
JP5568348B2 (en) Communication control device and communication control system
CN101651585B (en) Method for expanding capacity of mobile terminal
WO2017032108A1 (en) Video communication method, network device, terminal and system
US9787942B2 (en) Apparatus and method for setting up parallel call session based on 3-Box architecture
WO2012171259A1 (en) Blind transfer method and device
WO2008154780A1 (en) Method for implementing call hold service of ip multimedia subsystem centralized service
WO2018090326A1 (en) Data communication method and device, trunking system and repeater

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

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

Country of ref document: EP

Kind code of ref document: A1