WO2012079449A1 - Method and system for implementing bi-directional voice intercom - Google Patents

Method and system for implementing bi-directional voice intercom Download PDF

Info

Publication number
WO2012079449A1
WO2012079449A1 PCT/CN2011/082852 CN2011082852W WO2012079449A1 WO 2012079449 A1 WO2012079449 A1 WO 2012079449A1 CN 2011082852 W CN2011082852 W CN 2011082852W WO 2012079449 A1 WO2012079449 A1 WO 2012079449A1
Authority
WO
WIPO (PCT)
Prior art keywords
monitoring
core network
network device
ims core
monitoring client
Prior art date
Application number
PCT/CN2011/082852
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 WO2012079449A1 publication Critical patent/WO2012079449A1/en

Links

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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/183Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
    • H04N7/186Video door telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0291Door telephones

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)
  • Interconnected Communication Systems, Intercoms, And Interphones (AREA)

Abstract

Disclosed are a method and system for implementing bi-directional voice intercom, which is applied to a video surveillance system. The method comprises: a first IP multimedia subsystem (IMS) core network device receiving a call request initiated by a surveillance client, wherein the first IMS core network device is located in a domain where a surveillance front end to be accessed by the surveillance client is; the first IMS core network device sending the call request to the surveillance front end; and the first IMS core network device receiving a call success response message returned by the surveillance front end, and forwarding the message to the surveillance client. According to the technical solution provided by the present invention, intercommunication among surveillance front ends or surveillance platforms of different manufacturers may be achieved, thereby effectively improving the user experience.

Description

双向语音对讲的实现方法及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种双向语音对讲的实现方法及系统。 背景技术 相关技术中, 在视频监控系统中, 当监控中心需要与监控点进行语音对话时, 例 如, 监控点发生警情或者监控中心指挥监控点处理警情时, 一般是监控中心和监控点 通过私有的协议建立语音对话的链路, 监控点和监控中心在这条链路上进行语音数据 的传输, 而各个电信运营商要求监控点和监控中心对外开放, 允许各个不同厂家的监 控前端或监控平台都可以互通。 在上述情况下, 如果还采用私有的协议, 就不能和其他厂家的视频监控系统进行 语音对话, 也就达不到电信运营商所要求的开放标准。 发明内容 针对相关技术中采用私有的协议, 不能和其他厂家的视频监控系统进行语音对话 的问题, 本发明提供了一种双向语音对讲的实现方法及系统, 以至少解决上述问题。 根据本发明的一个方面, 提供了双向语音对讲的实现方法。 根据本发明的双向语音对讲的实现方法包括: 第一 IP多媒体子系统 IMS核心网 设备接收来自于监控客户端发起的呼叫请求, 其中, 第一 IMS核心网设备位于监控客 户端需要接入的监控前端的所在域; 第一 IMS核心网设备向监控前端发送呼叫请求; 第一 IMS核心网设备接收来自于监控前端返回的呼叫成功响应消息, 并转发至监控客 户端。 在上述方法中,在第一 IMS核心网设备将监控前端返回的成功响应消息转发至监 控客户端时, 还包括: 监控客户端所在域内的第二 IMS核心网设备向应用服务器 AS 发送第一通知消息, 其中, 该第一通知消息用于指示监控客户端和监控前端准备进行 双向语音对讲; AS在监控客户端和监控前端之间转发语音数据。 在上述方法中, 在 IMS核心网设备接收来自于监控客户端发起的呼叫请求之前, 还包括: 第一 IMS核心网设备接收来自于监控前端的第一注册请求, 其中, 该第一注 册请求携带有鉴权信息; 第一 IMS核心网设备对监控前端进行认证鉴权, 并在认证鉴 权成功时, 向监控前端返回成功响应; 第一 IMS核心网设备向 AS发送注册请求, 其 中, 该注册请求用于请求将监控前端注册到 AS上; 在注册成功时, 第一 IMS核心网 设备接收来自于 AS返回的成功响应。 在上述方法中, 在 IMS核心网设备接收来自于监控客户端发起的呼叫请求之前, 还包括: 第二 IMS核心网设备接收来自于监控客户端的第一注册请求, 其中, 该第一 注册请求携带有鉴权信息; 第二 IMS核心网设备对监控客户端进行认证鉴权, 并在认 证鉴权成功时, 向监控客户端返回成功响应; 第二 IMS核心网设备向 AS发送注册请 求, 其中, 该注册请求用于请求将监控客户端注册到 AS上; 在注册成功时, 第二 IMS 核心网设备接收来自于 AS返回的成功响应。 在上述方法中,第一 IMS核心网设备接收来自于监控客户端发起的呼叫请求包括: 监控客户端确定需要接入的监控前端; 监控客户端向第二 IMS核心网设备发送呼叫请 求, 其中, 呼叫请求携带有监控前端的标识; 第二 IMS核心网设备根据监控前端的标 识, 判断监控前端是否位于第一 IMS核心网设备的所在域内; 如果是, 则直接向监控 前端发起呼叫请求; 如果否, 则向第一 IMS核心网设备发送呼叫请求。 在上述方法中,在第一 IMS核心网设备将监控前端返回的成功响应消息转发至监 控客户端之后, 还包括: 第一 IMS核心网设备接收来自于监控客户端或者监控前端发 起的挂断请求; 在监控客户端发起挂断请求时, 第一 IMS核心网设备将挂断请求发送 至监控前端, 接收来自于监控前端返回的挂断响应消息, 并转发至监控客户端; 在监 控前端发起挂断请求时, 第一 IMS核心网设备将挂断请求发送至监控客户端, 接收来 自于监控客户端返回的挂断响应消息, 并转发至监控前端。 在上述方法中,在第一 IMS核心网设备将监控前端返回的挂断响应消息转发至监 控客户端, 或者将监控客户端返回的挂断响应消息转发至监控前端时, 还包括: 第二 IMS核心网设备向应用服务器 AS发送第二通知消息, 其中, 该第二通知消息用于指 示监控客户端和监控前端之间的会话已挂断。 根据本发明的另一方面, 提供了双向语音对讲的实现系统。 根据本发明的双向语音对讲的实现系统包括: 监控客户端, 设置为发送呼叫请求; 第一 IMS核心网设备, 位于监控客户端需要接入的监控前端的所在域内, 设置为将来 自于监控客户端的呼叫请求转发至监控前端, 并将来自于监控前端的呼叫成功响应消 息转发至监控客户端; 监控前端, 设置为发送呼叫成功响应消息。 在上述系统中, 还包括: 第二 IMS核心网设备, 位于监控客户端的所在域内, 设 置为向应用服务器 AS发送第一通知消息, 其中, 该第一通知消息用于指示监控客户 端和监控前端准备进行双向语音对讲; AS, 设置为在监控客户端和监控前端之间转发 语音数据。 在上述系统中, 第一 IMS核心网设备和第二 IMS核心网设备为同一个 IMS核心 网设备。 在上述系统中, 包括: 监控前端, 还设置为注册到第一 IMS核心网设备上; 监控 客户端, 还设置为注册到第二 IMS核心网设备上。 在上述系统中, 监控客户端或监控前端, 还设置为主动发起挂断请求; 第一 IMS 核心网设备, 还设置为将来自于监控客户端的挂断请求发送至监控前端, 接收来自于 监控前端返回的挂断响应消息, 并转发至监控客户端; 或者将来自于监控前端的挂断 请求发送至监控客户端, 接收来自于监控客户端返回的挂断响应消息, 并转发至监控 前端。 通过本发明, 在视频监控系统中, 基于 IMS核心网设备, 监控客户端和监控前端 采用标准的协议进行语音对讲,实现监控客户端与监控前端之间的双向语音对讲功能, 解决了相关技术中采用私有的协议, 不能和其他厂家的视频监控系统进行语音对话的 问题, 进而可以实现各个不同厂家的监控前端或监控平台之间的互通, 有效提高用户 体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的双向语音对讲的实现系统的结构框图; 图 2是根据本发明优选实施例的双向语音对讲系统的组网示意图; 图 3是根据本发明实施例的双向语音对讲实现方法的流程图; 图 4是根据本发明实施例的监控前端注册流程图; 图 5是根据本发明优选实施例的不跨域时的双向语音对讲方法的流程图; 图 6是根据本发明优选实施例的跨域时的双向语音对讲方法的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 IMS统一接入控制、 各种多媒体业务的融合以及多媒体业务质量可靠性等技术特 点和优势正在被电信运营商认可, 电信运营商正在加紧部署 IMS核心网, 并逐步把各 种业务迁移到 IMS核心网上。 IMS中的统一接入、 统一的呼叫和媒体会话建立方式, 能够方便的实现各种应用之间的业务融合。 视频监控业务本质就是一个多媒体业务, 基于 IMS架构实现视频监控业务是视频监控业务技术发展趋势。本发明提供了一种基 于 IMS核心网设备实现双向语音对讲的系统, 以下结合图 1进行描述。 图 1是根据本发明实施例的双向语音对讲实现系统的结构框图。 如图 1所示, 该 双向语音对讲系统包括: 监控客户端 10, 设置为发送呼叫请求; 第一 IMS核心网设备 12,位于监控客户端需要接入的监控前端的所在域内,设置 为将来自于监控客户端的呼叫请求转发至监控前端, 并将来自于监控前端的呼叫成功 响应消息转发至监控客户端; 监控前端 14, 设置为发送呼叫成功响应消息。 在上述双向语音对讲实现系统中, 基于 IMS核心网设备, 监控客户端和监控前端 采用标准的协议进行语音对讲, 不同厂家的监控系统都可以进行互通, 非常方便的达 到了电信运营商提出的开放要求, 既方便了用户, 也为运营商提供了很好的方法。 其中, 监控客户端 10和监控前端 14, 在建立双向语音对讲之前, 首先需要注册 到 IMS核心网设备上。 该注册流程将在后续进行详细描述。 优选地, 如图 2所示, 上述双向语音对讲的实现系统还可以包括: 第二 IMS核心 网设备 16, 位于监控客户端的所在域内, 设置为向应用服务器(AS)发送第一通知消 息, 其中, 该第一通知消息用于指示监控客户端和监控前端准备进行双向语音对讲; AS 18,其内部的媒体服务器 MS 180可以在监控客户端和监控前端之间转发语音数据。 需要注意的是, 在监控客户端 10和监控前端 14位于同一个域时, 上述第一 IMS 核心网设备和第二 IMS核心网设备为同一个 IMS核心网设备。 在监控客户端 10和监 控前端 14位于不同域时, 上述第一 IMS核心网设备和第二 IMS核心网设备为不同的 IMS核心网设备。 优选地, 监控客户端 10或监控前端 14, 均可以主动发起挂断请求; 第一 IMS核 心网设备 12, 还设置为将来自于监控客户端 10的挂断请求发送至监控前端 14, 接收 来自于监控前端 14返回的挂断响应消息, 并转发至监控客户端 10; 或者将来自于监 控前端 14的挂断请求发送至监控客户端 10, 接收来自于监控客户端 10返回的挂断响 应消息, 并转发至监控前端 14。 在优选实施过程中, 上述监控前端, 连接摄像头 (可以内置摄像头, 也可以外接 摄像头)和语音输入设备(可以是外接麦克风, 也可以内置麦克风), 对摄像头输入的 视频数据和麦克风输入的音频数据进行编码, 发送媒体流。 监控前端支持的视频编码 方式可以是 H.264, 也可以是 MPEG4等比较常用的编码方式。 音频编码方式可以是 G.711 , 也可以是 AAC等比较常用的编码方式。 其余监控前端可以连接多个摄像头或 多个麦克风, 放置在不同的位置, 可以进行多个监控点的监控。 监控前端作为用户设 备 (UE) 统一接入到 IMS核心网, 由 IMS统一进行安全接入认证。 在具体实施过程 中, 监控客户端与 IMS核心网 (IMS Core)设备之间的接口协议可以采用 SIP/SDP协 议等。 上述 IMS核心网 (IMS Core) 设备, 可以实现信令消息的路由和传输, 实现终端 的统一接入和管理, 并能通过设置业务触发规则, 将不同的信令触发到对应的应用服 务器中进行处理。 上述监控客户端 (CU), 通过网络接收媒体流, 解码并显示出视频图像或声音。 监控客户端也作为用户设备 (UE) 统一接入到 IMS核心网, 由 IMS统一进行安全接 入认证,一般部署在监控中心。监控客户端与 IMS Core之间接口协议可以采用 SIP/SDP 协议等。 上述应用服务器 (AS): 可以作为一个具体的应用服务器存在, 负责处理一切与 视频监控相关的业务, 具体地, 该 AS包括但不限于如下一些功能实体: 业务发现功 能 (SDF)、 业务选择功能 (SSF)、 业务控制功能 (SCF), 媒体服务器 (MS)。 视频 监控应用服务器(AS )负责处理视频监控相关的各种业务和媒体服务, 它连接到 IMS 核心网 (IMS Core), 接口协议可以采用 SIP/SDP协议等。 图 3是根据本发明实施例的双向语音对讲方法的流程图, 其中, 该方法应用于视 频监控系统, 如图 3所示, 该双向语音对讲方法主要包括以下处理: 步骤 S302: 第一 IMS核心网设备接收来自于监控客户端发起的呼叫请求, 其中, IMS核心网设备位于监控客户端需要接入的监控前端的所在域; 步骤 S304: 第一 IMS核心网设备向监控前端发送呼叫请求; 步骤 S306: 第一 IMS核心网设备接收来自于监控前端返回的呼叫成功响应消息, 并转发至监控客户端。 在上述方法中,采用 IMS核心网设备实现了监控客户端与监控前端之间的双向语 音对讲功能, 客户端和监控前端采用标准的协议进行语音对讲, 不同厂家的监控系统 都可以进行互通, 非常方便的达到了电信运营商提出的开放要求, 既方便了用户, 也 为运营商提供了很好的方法。 优选地, 在执行步骤 S302之前, 监控客户端, 需要注册到该监控客户端所在域内 的第二 IMS 核心网设备上, 监控前端, 需要注册到该监控前端所在域内的第一 IMS 核心网设备上。 以下分别描述监控客户端和监控前端注册到 IMS核心网设备的流程。 其中, 监控前端注册到第一 IMS核心网设备上主要包括以下处理: The present invention relates to the field of communications, and in particular to a method and system for implementing two-way voice intercom. BACKGROUND In the related art, in a video monitoring system, when a monitoring center needs to perform a voice conversation with a monitoring point, for example, when an alarm occurs at a monitoring point or a monitoring center directs a monitoring point to handle an alarm, the monitoring center and the monitoring point generally pass The private protocol establishes a voice conversation link, and the monitoring point and the monitoring center transmit voice data on the link, and each telecommunication operator requires the monitoring point and the monitoring center to open to the outside, allowing monitoring terminals or monitoring of different manufacturers. The platforms are all interoperable. Under the above circumstances, if a proprietary protocol is also adopted, voice dialogue with other manufacturers' video surveillance systems cannot be performed, and the open standards required by the telecom operators cannot be met. SUMMARY OF THE INVENTION The present invention provides a method and system for implementing two-way voice intercom to solve at least the above problems, in view of the problem that a private protocol is used in the related art and cannot perform voice conversation with a video surveillance system of other manufacturers. According to one aspect of the invention, a method of implementing a two-way voice intercom is provided. The method for implementing the two-way voice intercom according to the present invention includes: the first IP multimedia subsystem IMS core network device receives a call request initiated by the monitoring client, where the first IMS core network device is located at the monitoring client and needs to be accessed. Monitoring the domain where the front end is located; the first IMS core network device sends a call request to the monitoring front end; the first IMS core network device receives the call success response message returned from the monitoring front end, and forwards the message to the monitoring client. In the above method, when the first IMS core network device forwards the success response message returned by the monitoring front end to the monitoring client, the method further includes: sending, by the second IMS core network device in the domain where the monitoring client is located, the first notification to the application server AS The message, where the first notification message is used to indicate that the monitoring client and the monitoring front end are ready to perform two-way voice intercom; the AS forwards the voice data between the monitoring client and the monitoring front end. In the above method, before the IMS core network device receives the call request initiated by the monitoring client, the method further includes: the first IMS core network device receiving the first registration request from the monitoring front end, where the first note is The first IMS core network device sends a registration request to the monitoring front end, and the first IMS core network device sends a registration request to the AS, where the first IMS core network device sends a registration request to the AS. The registration request is used to request registration of the monitoring front end to the AS; when the registration is successful, the first IMS core network device receives a successful response from the AS return. In the above method, before the IMS core network device receives the call request initiated by the monitoring client, the method further includes: the second IMS core network device receiving the first registration request from the monitoring client, where the first registration request carries Authenticating information; the second IMS core network device performs authentication authentication on the monitoring client, and returns a successful response to the monitoring client when the authentication authentication succeeds; the second IMS core network device sends a registration request to the AS, where The registration request is for requesting registration of the monitoring client to the AS; when the registration is successful, the second IMS core network device receives a successful response from the AS return. In the above method, the first IMS core network device receives the call request initiated by the monitoring client, including: the monitoring client determines the monitoring front end that needs to be accessed; the monitoring client sends a call request to the second IMS core network device, where The call request carries the identifier of the monitoring front end; the second IMS core network device determines, according to the identifier of the monitoring front end, whether the monitoring front end is located in the domain of the first IMS core network device; if yes, directly initiates a call request to the monitoring front end; And sending a call request to the first IMS core network device. In the above method, after the first IMS core network device forwards the success response message returned by the monitoring front end to the monitoring client, the method further includes: the first IMS core network device receiving the hang up request initiated by the monitoring client or the monitoring front end When the monitoring client initiates the hangup request, the first IMS core network device sends the hangup request to the monitoring front end, receives the hangup response message returned from the monitoring front end, and forwards the message to the monitoring client; When the request is broken, the first IMS core network device sends a hangup request to the monitoring client, receives the hangup response message returned from the monitoring client, and forwards the message to the monitoring front end. In the above method, when the first IMS core network device forwards the hangup response message returned by the monitoring front end to the monitoring client, or forwards the hangup response message returned by the monitoring client to the monitoring front end, the method further includes: The core network device sends a second notification message to the application server AS, where the second notification message is used to indicate that the session between the monitoring client and the monitoring front end has been hung up. According to another aspect of the present invention, an implementation system for two-way voice intercom is provided. The system for implementing the two-way voice intercom according to the present invention includes: a monitoring client, configured to send a call request; and a first IMS core network device, located in a domain of the monitoring front end that the monitoring client needs to access, and configured to be from the monitoring The client's call request is forwarded to the monitoring front end, and the call success response message from the monitoring front end is forwarded to the monitoring client; the monitoring front end is set to send a call success response message. In the above system, the method further includes: a second IMS core network device, located in a domain of the monitoring client, configured to send a first notification message to the application server AS, where the first notification message is used to indicate the monitoring client and the monitoring front end Prepare for two-way voice intercom; AS, set to forward voice data between the monitoring client and the monitoring front end. In the above system, the first IMS core network device and the second IMS core network device are the same IMS core network device. In the above system, the monitoring front end is further configured to be registered to the first IMS core network device; and the monitoring client is further configured to be registered to the second IMS core network device. In the above system, the monitoring client or the monitoring front end is further configured to actively initiate the hang up request; the first IMS core network device is further configured to send the hang up request from the monitoring client to the monitoring front end, and receive the monitoring front end from the monitoring front end. The returned hangup response message is forwarded to the monitoring client; or the hangup request from the monitoring front end is sent to the monitoring client, and the hangup response message returned from the monitoring client is received and forwarded to the monitoring front end. Through the invention, in the video monitoring system, based on the IMS core network device, the monitoring client and the monitoring front end use a standard protocol for voice intercom, and realize the two-way voice intercom function between the monitoring client and the monitoring front end, and solve the related The technology adopts a proprietary protocol, and cannot communicate with other manufacturers' video surveillance systems, thereby enabling interoperability between monitoring front ends or monitoring platforms of different manufacturers, thereby effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a system for implementing a two-way voice intercom according to an embodiment of the present invention; FIG. 2 is a schematic diagram of a two-way voice intercom system according to a preferred embodiment of the present invention; FIG. 4 is a flowchart of a monitoring front end registration according to an embodiment of the present invention; FIG. 5 is a two-way voice intercom method without cross-domain according to a preferred embodiment of the present invention; flow chart; 6 is a flow chart of a two-way voice intercom method in cross-domain according to a preferred embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The technical features and advantages of IMS unified access control, convergence of various multimedia services, and multimedia service quality reliability are being recognized by telecom operators. Telecom operators are stepping up deployment of IMS core networks and gradually migrating various services to IMS cores. Online. Unified access, unified call, and media session establishment in IMS can easily implement service integration between various applications. The video surveillance service is essentially a multimedia service. The video surveillance service based on the IMS architecture is the development trend of the video surveillance service technology. The present invention provides a system for implementing two-way voice intercom based on an IMS core network device, which will be described below in conjunction with FIG. 1. 1 is a structural block diagram of a two-way voice intercom implementation system according to an embodiment of the present invention. As shown in FIG. 1 , the two-way voice intercom system includes: a monitoring client 10 configured to send a call request; and a first IMS core network device 12 located in a domain of a monitoring front end that the monitoring client needs to access, and is configured to be The call request from the monitoring client is forwarded to the monitoring front end, and the call success response message from the monitoring front end is forwarded to the monitoring client; the monitoring front end 14 is set to send a call success response message. In the above two-way voice intercom implementation system, based on the IMS core network device, the monitoring client and the monitoring front end use a standard protocol for voice intercom, and the monitoring systems of different manufacturers can intercommunicate, which is very convenient for the telecom operator to propose. The open requirements are convenient for users and provide a good method for operators. The monitoring client 10 and the monitoring front end 14 need to be registered to the IMS core network device before establishing the two-way voice intercom. This registration process will be described in detail later. Preferably, as shown in FIG. 2, the implementation system of the two-way voice intercom may further include: a second IMS core network device 16, located in a domain of the monitoring client, configured to send a first notification message to an application server (AS), The first notification message is used to indicate that the monitoring client and the monitoring front end are ready to perform two-way voice intercom; and the AS 18, the internal media server MS 180 can forward the voice data between the monitoring client and the monitoring front end. It should be noted that when the monitoring client 10 and the monitoring front end 14 are located in the same domain, the first IMS core network device and the second IMS core network device are the same IMS core network device. When the monitoring client 10 and the monitoring front end 14 are located in different domains, the first IMS core network device and the second IMS core network device are different IMS core network devices. Preferably, the monitoring client 10 or the monitoring front end 14 can initiate a hangup request actively; the first IMS core network device 12 is further configured to send a hangup request from the monitoring client 10 to the monitoring front end 14, and receive the The hangup response message returned by the monitoring front end 14 is forwarded to the monitoring client 10; or the hangup request from the monitoring front end 14 is sent to the monitoring client 10, and the hangup response message returned from the monitoring client 10 is received. And forwarded to the monitoring front end 14. In the preferred implementation process, the above monitoring front end is connected to a camera (either a built-in camera or an external camera) and a voice input device (which may be an external microphone or a built-in microphone), video data input to the camera and audio data input by the microphone. Encode and send the media stream. The video encoding method supported by the monitoring front end can be H.264 or a more commonly used encoding method such as MPEG4. The audio coding method can be G.711 or a commonly used coding method such as AAC. The remaining monitoring front ends can be connected to multiple cameras or multiple microphones, placed in different locations, and can be monitored by multiple monitoring points. The monitoring front end is used as a user equipment (UE) to access the IMS core network in a unified manner, and the IMS performs unified security access authentication. In the specific implementation process, the interface protocol between the monitoring client and the IMS Core (IMS Core) device may adopt a SIP/SDP protocol or the like. The IMS core network (IMS Core) device can implement routing and transmission of signaling messages, implement unified access and management of the terminal, and set different service signaling rules to trigger corresponding signaling to the corresponding application server. deal with. The above monitoring client (CU) receives the media stream through the network, decodes and displays the video image or sound. The monitoring client is also connected to the IMS core network as a user equipment (UE). The IMS performs security access authentication and is generally deployed in the monitoring center. The interface protocol between the monitoring client and the IMS Core can adopt the SIP/SDP protocol. The above application server (AS): can exist as a specific application server, and is responsible for processing all services related to video surveillance. Specifically, the AS includes but is not limited to the following functional entities: service discovery function (SDF), service selection function (SSF), Service Control Function (SCF), Media Server (MS). The Video Surveillance Application Server (AS) is responsible for processing various services and media services related to video surveillance. It is connected to the IMS Core Network (IMS Core), and the interface protocol can use the SIP/SDP protocol. FIG. 3 is a flowchart of a two-way voice intercom method according to an embodiment of the present invention. The method is applied to a video surveillance system. As shown in FIG. 3, the two-way voice intercom method mainly includes the following processing: Step S302: First The IMS core network device receives the call request initiated by the monitoring client, where the IMS core network device is located in the domain of the monitoring front end that the monitoring client needs to access; Step S304: The first IMS core network device sends a call request to the monitoring front end. Step S306: The first IMS core network device receives the call success response message returned from the monitoring front end, and forwards the message to the monitoring client. In the above method, the IMS core network device implements a two-way voice intercom function between the monitoring client and the monitoring front end, and the client and the monitoring front end use a standard protocol for voice intercom, and the monitoring systems of different manufacturers can communicate with each other. It is very convenient to meet the open requirements put forward by telecom operators, which is convenient for users and provides a good method for operators. Preferably, before the step S302 is performed, the monitoring client needs to be registered to the second IMS core network device in the domain where the monitoring client is located, and the monitoring front end needs to be registered to the first IMS core network device in the domain where the monitoring front end is located. . The following describes the process of monitoring the client and the monitoring front end to register with the IMS core network device. The monitoring front end registration to the first IMS core network device mainly includes the following processing:
( 1 ) 第一 IMS核心网设备接收来自于监控前端的第一注册请求, 其中, 该第一 注册请求携带有鉴权信息; (1) The first IMS core network device receives the first registration request from the monitoring front end, where the first registration request carries the authentication information;
(2) 第一 IMS核心网设备对监控前端进行认证鉴权, 并在认证鉴权成功时, 向 监控前端返回成功响应; (2) The first IMS core network device performs authentication and authentication on the monitoring front end, and returns a successful response to the monitoring front end when the authentication and authentication succeeds;
(3 )第一 IMS核心网设备向 AS发送注册请求, 其中, 注册请求用于请求将监控 前端注册到 AS上; (3) The first IMS core network device sends a registration request to the AS, where the registration request is used to request to register the monitoring front end to the AS;
(4) 在注册成功时, 第一 IMS核心网设备接收来自于 AS返回的成功响应。 其中, 监控客户端注册到第二 IMS核心网设备上主要包括以下处理: ( 1 ) 第二 IMS核心网设备接收来自于监控客户端的第一注册请求, 其中, 该第 一注册请求携带有鉴权信息; (2) 第二 IMS核心网设备对监控客户端进行认证鉴权, 并在认证鉴权成功时, 向监控客户端返回成功响应; (4) Upon successful registration, the first IMS core network device receives a successful response from the AS return. The registration of the monitoring client to the second IMS core network device mainly includes the following processing: (1) The second IMS core network device receives the first registration request from the monitoring client, where the first registration request carries the authentication information; (2) The second IMS core network device performs authentication and authentication on the monitoring client, and returns a successful response to the monitoring client when the authentication and authentication succeeds;
(3 )第二 IMS核心网设备向 AS发送注册请求, 其中, 注册请求用于请求将监控 客户端注册到 AS上; (4) 在注册成功时, 第二 IMS核心网设备接收来自于 AS返回的成功响应。 在优选实施过程中, 视频监控前端 (PU) 和视频监控客户端 (CU) 使用自身保 存的用户名、 密码等, 向 IMS核心网进行注册, 注册成功后, IMS核心网向视频监控 应用服务器(AS)提交该 PU和 CU的注册请求, AS也保存该 PU和 CU的注册状态, 以便进行各种视频监控的应用, 如浏览实时视频等。 下面以图 4所示的监控前端注册流程为例进行描述。 步骤 S402、 监控前端向 IMS核心网发起注册 (Register) 请求, 在请求消息头中 携带不完整的鉴权信息, 如 Authorization: Digest username="PUID@zte. com.cn"; 步骤 S404、 IMS核心网返回 401鉴权挑战响应给 PU; 步骤 S406、 PU收到 401响应后, 重新向 IMS核心网发起 Register请求。 这次请 求消息中携带完整的鉴权信息,如 Authorization: Digest username=" PUID@zte.com.cn ": realm="zte. com.cn", nonce="57cc4d087e7537859fab6d2ec86b2fe7", uri="sip:zte. com.cn", response="08209aec3d8292d03234c365497becad",cnonce="401828850", (3) The second IMS core network device sends a registration request to the AS, where the registration request is used to request to register the monitoring client to the AS; (4) when the registration is successful, the second IMS core network device receives the return from the AS. Successful response. In the preferred implementation process, the video surveillance front end (PU) and the video surveillance client (CU) register with the IMS core network by using their saved user name, password, etc., and after successful registration, the IMS core network is directed to the video surveillance application server ( The AS) submits the registration request of the PU and the CU, and the AS also saves the registration status of the PU and the CU for various video surveillance applications, such as browsing real-time video. The following describes the monitoring front end registration process shown in Figure 4 as an example. Step S402: The monitoring front end initiates a registration request to the IMS core network, and carries incomplete authentication information, such as Authorization: Digest username="PUID@zte.com.cn"; The network returns a 401 authentication challenge response to the PU. Step S406: After receiving the 401 response, the PU re-initiates a Register request to the IMS core network. This request message carries complete authentication information, such as Authorization: Digest username=" PUID@zte.com.cn ": realm="zte. com.cn", nonce="57cc4d087e7537859fab6d2ec86b2fe7", uri="sip:zte Com.cn", response="08209aec3d8292d03234c365497becad",cnonce="401828850",
algorithm=MD5,opaque="" ; 其 中 , response 的 表 不 可 以 为 response= MD 5 (MD 5 (username: realm: pas sword): nonce : nc : cnonce : qop : MD 5 (REGI S TER: uri)); 步骤 S408、 IMS核心网进行认证鉴权, 成功之后返回 200 OK给 PU, PU注册到Algorithm=MD5,opaque="" ; where the response table cannot be response= MD 5 (MD 5 (username: realm: pas sword): nonce : nc : cnonce : qop : MD 5 (REGI S TER: uri)) Step S408, the IMS core network performs authentication and authentication, and after successful, returns 200 OK to the PU, and the PU registers to
IMS系统成功; 步骤 S410、 IMS核心网根据业务触发规则, 向 AS发起 Register请求, 请求该 PU 也注册到 AS上。 步骤 S412、 AS返回 200 OK响应给 IMS系统, 至此 PU注册流程结束。 优选地, 上述步骤 S102可以进一步包括以下处理: The IMS system succeeds; Step S410: The IMS core network initiates a Register request to the AS according to the service triggering rule, and requests the PU to also register with the AS. Step S412, the AS returns a 200 OK response to the IMS system, and the PU registration process ends. Preferably, the above step S102 may further include the following processing:
( 1 ) 监控客户端确定需要接入的监控前端; (2) 监控客户端向第二 IMS核心网设备发送呼叫请求, 其中, 呼叫请求携带有 监控前端的标识; (1) The monitoring client determines the monitoring front end that needs to be accessed; (2) The monitoring client sends a call request to the second IMS core network device, where the call request carries the identifier of the monitoring front end;
( 3 )第二 IMS核心网设备根据监控前端的标识,判断监控前端是否位于第一 IMS 核心网设备的所在域内; (4) 如果是, 则直接向监控前端发起呼叫请求; (3) The second IMS core network device determines, according to the identifier of the monitoring front end, whether the monitoring front end is located in the domain of the first IMS core network device; (4) if yes, directly initiates a call request to the monitoring front end;
( 5 ) 否则, 则向第一 IMS核心网设备发送呼叫请求。 在优选实施过程中,监控客户端可以选择一个监控前端开始拨双向语音对讲, 监 控客户端携带要对讲的前端号码向接入域的第二 IMS核心网设备发起呼叫。第二 IMS 核心网设备收到请求, 判断该号码是否在该域内, 如在该域内, 直接向前端号码发起 呼叫, 如不在该域内, 则 IMS核心网向监控前端所在域内另一个 IMS核心网设备(即 第一 IMS 核心网设备) 发起呼叫。 监控前端收到呼叫请求后, 如不跨域, 响应 IMS 核心网设备, IMS核心网设备再响应监控客户端, 如跨域, 则监控前端所在域的第一 IMS核心网先回应客户端所在域的第二 IMS核心网设备,第二 IMS核心网设备再响应 监控客户端, 本次会话建立成功, 监控客户端和监控前端之间可以进行语音通话。 优选地, 在执行步骤 S106时, 还可以包括以下处理: (5) Otherwise, a call request is sent to the first IMS core network device. In a preferred implementation process, the monitoring client can select a monitoring front end to start dialing a two-way voice intercom, and the monitoring client carries the front end number to be talked to initiate a call to the second IMS core network device in the access domain. The second IMS core network device receives the request, and determines whether the number is in the domain, for example, in the domain, directly initiates a call to the front-end number. If not in the domain, the IMS core network sends another IMS core network device in the domain where the monitoring front-end is located. (ie the first IMS core network device) initiates a call. After receiving the call request, if the monitoring front end does not cross the domain, the IMS core network device responds to the monitoring client, such as the inter-domain, and the first IMS core network of the monitoring front-end domain first responds to the client's domain. The second IMS core network device, the second IMS core network device responds to the monitoring client, and the session is successfully established, and a voice call can be performed between the monitoring client and the monitoring front end. Preferably, when performing step S106, the following processing may also be included:
( 1 )监控客户端所在域内的第二 IMS核心网设备向应用服务器 AS发送第一通知 消息,其中, 该第一通知消息用于指示监控客户端和监控前端准备进行双向语音对讲; (1) The second IMS core network device in the domain where the monitoring client is located sends a first notification message to the application server AS, where the first notification message is used to indicate that the monitoring client and the monitoring front end are ready to perform two-way voice intercom;
(2) AS在监控客户端和监控前端之间转发语音数据。 优选地, 在执行步骤 S306之后, 还可以包括以下处理: ( 1 )第一 IMS核心网设备接收来自于监控客户端或者监控前端发起的挂断请求; (2) The AS forwards voice data between the monitoring client and the monitoring front end. Preferably, after performing step S306, the following processing may be further included: (1) the first IMS core network device receives the hang up request initiated by the monitoring client or the monitoring front end;
(2) 在监控客户端发起挂断请求时, 第一 IMS核心网设备将挂断请求发送至监 控前端, 接收来自于监控前端返回的挂断响应消息, 并转发至监控客户端; (2) When the monitoring client initiates the hangup request, the first IMS core network device sends the hangup request to the monitoring front end, receives the hangup response message returned from the monitoring front end, and forwards the message to the monitoring client;
( 3 ) 在监控前端发起挂断请求时, 第一 IMS核心网设备将挂断请求发送至监控 客户端, 接收来自于监控客户端返回的挂断响应消息, 并转发至监控前端。 其中,在第一 IMS核心网设备将监控前端返回的挂断响应消息转发至监控客户端, 或者将监控客户端返回的挂断响应消息转发至监控前端时, 还可以包括以下处理: 上 述第二 IMS核心网设备 (即监控客户端所在域内的 IMS核心网设备) 向应用服务器 AS发送第二通知消息,其中,该第二通知消息用于指示监控客户端和监控前端之间的 会话已挂断。 在优选实施过程中, 监控客户端和监控前端都可以主动结束通话, 如监控客户端 需要主动结束通话, 监控客户端可以向第二 IMS核心网设备发起挂断请求, 如果不跨 域, 第二 IMS核心网设备直接向监控前端转发挂断请求, 如果跨域, 则第二 IMS核心 网向监控前端所在域内的另外一个 IMS核心网设备(即第一 IMS核心网设备)发起呼 叫请求,再转发到监控前端。监控前端收到挂断请求后,返回挂断请求响应,经过 IMS 核心网设备再转发到监控客户端, 同时将指示该监控客户端和监控前端之间会话已挂 断的消息通知给到 AS, 本次通话流程结束。 图 5和图 6是不跨域和跨域时的监控系统双向语音对讲的流程。 下面以图 5和图(3) When the monitoring front end initiates the hang up request, the first IMS core network device sends the hang up request to the monitoring client, receives the hang up response message returned from the monitoring client, and forwards the message to the monitoring front end. When the first IMS core network device forwards the hangup response message returned by the monitoring front end to the monitoring client, or forwards the hangup response message returned by the monitoring client to the monitoring front end, the following processing may also be included: IMS core network device (that is, monitoring the IMS core network device in the domain where the client is located) to the application server The AS sends a second notification message, where the second notification message is used to indicate that the session between the monitoring client and the monitoring front end has been hung up. In the preferred implementation process, both the monitoring client and the monitoring front end can actively end the call. For example, the monitoring client needs to actively end the call, and the monitoring client can initiate a hangup request to the second IMS core network device. The IMS core network device directly forwards the hangup request to the monitoring front end. If the IMS core network device crosses the domain, the second IMS core network initiates a call request to another IMS core network device (ie, the first IMS core network device) in the domain where the monitoring front end is located, and then forwards the request. Go to the monitoring front end. After receiving the hangup request, the monitoring front end returns a hangup request response, and then forwards the message to the monitoring client through the IMS core network device, and notifies the AS that the session between the monitoring client and the monitoring front end is hanged. The call process ends. Figure 5 and Figure 6 show the flow of two-way voice intercom of the monitoring system without cross-domain and cross-domain. Below is shown in Figure 5 and
6为例详细说明监控系统双向语音对讲的流程, 这里的描述以目前通用的 SIP协议为 例说明。 图 5是根据本发明实施例的跨域时的双向语音对讲方法的流程图。 如图 5所示, 该双向语音对讲方法包括以下处理: 步骤 S502、监控客户端(Customer Unit,简称为 CU)选择一个监控前端(Pre-Unit, 简称为 PU)开始和 PU进行双向语音对讲, 向该 CU所在域的 IMS核心网(IMSCore) 设备发起呼叫(INVITE)请求,其中, 该 INVITE请求中携带有 CU自身的 SDP信息, 例如, 音频编码格式、 码率、 接收 IP地址和端口等。 步骤 S504、 IMSCore设备检测到被选择的 PU在该域内, 向该 PU转发 INVITE 请求。 步骤 S506、 PU收到请求后, 解析请求, 响应 200OK消息, 其中, 该消息携带 PU 的 SDP信息, 例如, 音频编码格式、 码率、 接收 IP地址和端口等。 步骤 S508、 IMSCore设备转发 200 OK响应消息到 CU。 步骤 S510、 CU接收到 200 OK消息, 解析 PU的 SDP信息, 并回应 ACK消息到 IMSCore设备。 步骤 S512、 IMSCore设备转发 ACK消息到 PU。 步骤 S514、 IMSCore设备通过 MESSAGE消息通知 AS, CU已经和 PU建立了会 话, 其中, 该 MESSAGE消息中携带 CU和 PU的收发数据的地址和端口信息等。 步骤 S516、 AS回 200 OK消息到 IMSCore设备, 并在其内部的 MS开始转发 CU 和 PU的语音数据, CU和 PU可以正常进行语音对讲。 步骤 S518、 当需要挂断时, CU和 PU都可以主动挂断会话, 这里以 CU主动挂 断描述, CU主动向 IMSCore设备发起 BYE请求。 步骤 S520、 IMSCore设备转发 BYE请求到 PU。 步骤 S522、 PU回应 200 OK消息到 IMSCore设备。 步骤 S524、 IMSCore设备转发 200 OK消息到 CU。 步骤 S526、 IMSCore设备发送 MESSAGE消息到 AS, 通知 CU和 PU之间的会 话已挂断。 步骤 S528、 AS回应 200 OK消息到 IMSCore设备, 本次通话结束。 图 6是根据本发明实施例的跨域时的双向语音对讲方法的流程图。 如图 6所示, 该双向语音对讲方法包括以下处理: 步骤 S602、 CU选择一个 PU, 开始和 PU进行双向语音对讲, 向该 CU所在域的 IMSCore ( 1 ) 设备发起 INVITE请求, 其中, 该请求中携带有 CU自身的 SDP信息, 例如, 音频编码格式、 码率、 接收 IP地址和端口等。 步骤 S604、 IMSCore ( 1 ) 设备检测到被选择的 PU不在该域内, 向 PU所在域的 IMSCore(2) 设备转发 INVITE请求。 步骤 S606、 IMSCore (2) 设备向 PU转发 INVITE请求。 步骤 S608、 PU收到请求后, 解析请求, 响应 200OK消息, 其中, 该消息携带 PU 的 SDP信息, 例如, 音频编码格式、 码率、 接收 IP地址和端口等。 步骤 S610、 IMSCore (2) 设备转发 200 OK响应消息到 IMSCore(l) 设备。 步骤 S612、 IMSCore ( 1 ) 设备转发 200 OK响应消息到 CU。 步骤 S614、 CU接收到 200 OK消息, 解析 PU的 SDP信息, 并回应 ACK消息到 IMSCore ( 1 ) 设备。 步骤 S616、 IMSCore ( 1 ) 设备转发 ACK消息到 IMSCore (2) 设备。 步骤 S618、 IMSCore (2) 设备转发 ACK消息到 PU。 步骤 S620、 IMSCore ( 1 ) 设备通过 MESSAGE消息通知 AS, CU已经和 PU建 立了会话, 其中, 该 MESSAGE消息中携带 CU和 PU的收发数据的地址和端口信息 等。 步骤 S622、 AS回 200 OK消息到 IMSCore ( 1 ) 设备, 并在其内部的 MS开始转 发 CU和 PU的语音数据, CU和 PU可以正常进行语音对讲。 步骤 S624、 当需要挂断时, CU和 PU都可以主动挂断会话, 这里以 CU主动挂 断描述, CU主动向 IMSCore ( 1 ) 设备发起 BYE请求。 步骤 S626、 IMSCore ( 1 ) 设备转发 BYE请求到 IMSCore (2) 设备。 步骤 S628、 IMSCore (2) 设备转发 BYE请求到 PU。 步骤 S630、 PU回应 200 OK消息到 IMSCore (2) 设备。 步骤 S632、 IMSCore (2) 设备转发 200 OK消息到 IMSCore ( 1 ) 设备。 步骤 S634、 IMSCore ( 1 ) 设备转发 200 OK消息到 CU。 步骤 S636、 IMSCore ( 1 ) 设备发送 MESSAGE消息到 AS, 通知 CU和 PU之间 的会话已挂断。 步骤 S638、 AS回应 200 OK消息到 IMSCore ( 1 ) 设备, 本次通话结束。 综上所述, 借助本发明提供的上述实施例, 可以方便随时地实现双向语音对讲, 当监控点出现警情或者其他情况时, 监控中心可以方便及时和监控前端进行联系, 协 调处理监控点的情况, 同时, 监控客户端和监控前端采用标准的协议进行语音对讲, 不同厂家的监控系统都可以进行互通,非常方便的达到了电信运营商提出的开放要求, 既方便了用户, 也为运营商提供了便利。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 6 is a detailed description of the flow of the two-way voice intercom of the monitoring system. The description here uses the current common SIP protocol as an example. FIG. 5 is a flowchart of a two-way voice intercom method in cross-domain according to an embodiment of the present invention. As shown in FIG. 5, the two-way voice intercom method includes the following steps: Step S502: A customer (Customer Unit, CU for short) selects a monitoring front end (Pre-Unit, referred to as PU) to start a two-way voice pair with the PU. The INVITE request is initiated to the IMS core network (IMSCore) device in the domain where the CU is located, where the INVITE request carries the SDP information of the CU itself, for example, an audio encoding format, a code rate, a receiving IP address, and a port. Wait. Step S504: The IMSCore device detects that the selected PU is in the domain, and forwards the INVITE request to the PU. Step S506: After receiving the request, the PU parses the request and responds to the 200 OK message, where the message carries the SDP information of the PU, for example, an audio encoding format, a code rate, a receiving IP address, a port, and the like. Step S508, the IMSCore device forwards the 200 OK response message to the CU. Step S510: The CU receives the 200 OK message, parses the SDP information of the PU, and responds to the ACK message to the IMSCore device. Step S512, the IMSCore device forwards the ACK message to the PU. Step S514: The IMSCore device notifies the AS by using the MESSAGE message, and the CU has established a session with the PU, where the MESSAGE message carries the address and port information of the data of the CU and the PU. Step S516, the AS returns a 200 OK message to the IMSOCore device, and the internal MS starts to forward the voice data of the CU and the PU, and the CU and the PU can perform the voice intercom normally. Step S518: When the hangup is required, both the CU and the PU can hang up the session actively. Here, the CU actively hangs up the description, and the CU actively initiates a BYE request to the IMSCore device. Step S520: The IMSCore device forwards the BYE request to the PU. Step S522, the PU responds to the 200 OK message to the IMSCore device. Step S524, the IMSCore device forwards the 200 OK message to the CU. Step S526, the IMSCore device sends a MESSAGE message to the AS, and notifies that the session between the CU and the PU has been hung up. Step S528, the AS responds to the 200 OK message to the IMSCore device, and the call ends. 6 is a flow chart of a two-way voice intercom method in cross-domain according to an embodiment of the present invention. As shown in FIG. 6, the two-way voice intercom method includes the following steps: Step S602: The CU selects a PU, starts a two-way voice intercom with the PU, and initiates an INVITE request to the IMSCore (1) device in the domain where the CU is located, where The request carries the SDP information of the CU itself, for example, an audio encoding format, a code rate, a receiving IP address, and a port. Step S604: The IMSCore (1) device detects that the selected PU is not in the domain, and forwards the INVITE request to the IMSCore(2) device in the domain where the PU is located. Step S606: The IMSCore (2) device forwards the INVITE request to the PU. Step S608: After receiving the request, the PU parses the request and responds to the 200 OK message, where the message carries the SDP information of the PU, for example, an audio encoding format, a code rate, a receiving IP address, a port, and the like. Step S610, the IMSCore (2) device forwards the 200 OK response message to the IMSCore(1) device. Step S612, the IMSCore (1) device forwards the 200 OK response message to the CU. Step S614, the CU receives the 200 OK message, parses the SDP information of the PU, and responds to the ACK message to the IMSCore (1) device. Step S616, the IMSCore (1) device forwards the ACK message to the IMSCore (2) device. Step S618, the IMSCore (2) device forwards the ACK message to the PU. Step S620: The IMSCore (1) device notifies the AS by using the MESSAGE message, and the CU has established a session with the PU, where the MESSAGE message carries the address and port information of the data of the CU and the PU. Step S622, the AS returns a 200 OK message to the IMSCore (1) device, and the internal MS starts to forward the voice data of the CU and the PU, and the CU and the PU can perform the voice intercom normally. Step S624: When the hangup is required, both the CU and the PU can hang up the session actively. Here, the CU actively hangs up the description, and the CU actively initiates a BYE request to the IMSCore (1) device. Step S626, the IMSCore (1) device forwards the BYE request to the IMSCore (2) device. Step S628, the IMSCore (2) device forwards the BYE request to the PU. Step S630, the PU responds to the 200 OK message to the IMSCore (2) device. Step S632, the IMSCore (2) device forwards the 200 OK message to the IMSCore (1) device. Step S634, the IMSCore (1) device forwards the 200 OK message to the CU. Step S636: The IMSCore (1) device sends a MESSAGE message to the AS, notifying that the session between the CU and the PU has been hung up. Step S638, the AS responds to the 200 OK message to the IMSCore (1) device, and the call ends. In summary, with the above embodiments provided by the present invention, two-way voice intercom can be conveniently implemented at any time. When an alarm or other situation occurs at the monitoring point, the monitoring center can conveniently contact the monitoring front end in time to coordinate the processing monitoring point. At the same time, the monitoring client and the monitoring front end use standard protocols for voice intercom. The monitoring systems of different manufacturers can communicate with each other, which is very convenient to meet the opening requirements put forward by the telecom operators, which is convenient for users and also The operator has provided convenience. Obviously, those skilled in the art should understand that 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. Alternatively, they 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. Perform the steps shown or described, or separate them into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, 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.

Claims

权 利 要 求 书 Claim
1. 一种双向语音对讲的实现方法, 应用于视频监控系统, 包括: 1. A method for implementing a two-way voice intercom, applied to a video surveillance system, comprising:
第一 IP多媒体子系统 IMS核心网设备接收来自于监控客户端发起的呼叫 请求, 其中, 所述第一 IMS核心网设备位于所述监控客户端需要接入的监控前 端的所在域;  The first IMS core network device receives the call request initiated by the monitoring client, where the first IMS core network device is located in the domain of the monitoring front end that the monitoring client needs to access;
所述第一 IMS核心网设备向所述监控前端发送所述呼叫请求; 所述第一 IMS 核心网设备接收来自于所述监控前端返回的呼叫成功响应 消息, 并转发至所述监控客户端。  The first IMS core network device sends the call request to the monitoring front end; the first IMS core network device receives a call success response message returned from the monitoring front end, and forwards the message to the monitoring client.
2. 根据权利要求 1所述的方法, 其中, 在所述第一 IMS核心网设备将所述监控前 端返回的成功响应消息转发至所述监控客户端时, 还包括: The method according to claim 1, wherein, when the first IMS core network device forwards the success response message returned by the monitoring front end to the monitoring client, the method further includes:
所述监控客户端所在域内的第二 IMS核心网设备向应用服务器 AS发送第 一通知消息, 其中, 该第一通知消息用于指示所述监控客户端和所述监控前端 准备进行双向语音对讲;  The second IMS core network device in the domain where the monitoring client is located sends a first notification message to the application server AS, where the first notification message is used to indicate that the monitoring client and the monitoring front end are ready to perform two-way voice intercom ;
所述 AS在所述监控客户端和所述监控前端之间转发语音数据。  The AS forwards voice data between the monitoring client and the monitoring front end.
3. 根据权利要求 2所述的方法, 其中, 在所述 IMS核心网设备接收来自于所述监 控客户端发起的呼叫请求之前, 还包括: The method according to claim 2, wherein before the IMS core network device receives the call request initiated by the monitoring client, the method further includes:
所述第一 IMS 核心网设备接收来自于所述监控前端的第一注册请求, 其 中, 该第一注册请求携带有鉴权信息;  Receiving, by the first IMS core network device, a first registration request from the monitoring front end, where the first registration request carries authentication information;
所述第一 IMS核心网设备对所述监控前端进行认证鉴权,并在认证鉴权成 功时, 向所述监控前端返回成功响应;  The first IMS core network device performs authentication and authentication on the monitoring front end, and returns a successful response to the monitoring front end when the authentication authentication is successful;
所述第一 IMS核心网设备向所述 AS发送注册请求, 其中, 所述注册请求 用于请求将所述监控前端注册到所述 AS上;  The first IMS core network device sends a registration request to the AS, where the registration request is used to request to register the monitoring front end to the AS;
在注册成功时, 所述第一 IMS核心网设备接收来自于所述 AS返回的成功 响应。  Upon successful registration, the first IMS core network device receives a successful response from the AS return.
4. 根据权利要求 2所述的方法, 其中, 在所述 IMS核心网设备接收来自于所述监 控客户端发起的呼叫请求之前, 还包括: 所述第二 IMS核心网设备接收来自于所述监控客户端的第一注册请求,其 中, 该第一注册请求携带有鉴权信息; The method of claim 2, wherein before the IMS core network device receives the call request initiated by the monitoring client, the method further includes: The second IMS core network device receives a first registration request from the monitoring client, where the first registration request carries authentication information;
所述第二 IMS核心网设备对所述监控客户端进行认证鉴权,并在认证鉴权 成功时, 向所述监控客户端返回成功响应;  The second IMS core network device performs authentication and authentication on the monitoring client, and returns a successful response to the monitoring client when the authentication and authentication succeeds;
所述第二 IMS核心网设备向所述 AS发送注册请求, 其中, 所述注册请求 用于请求将所述监控客户端注册到所述 AS上;  The second IMS core network device sends a registration request to the AS, where the registration request is used to request to register the monitoring client to the AS;
在注册成功时, 所述第二 IMS核心网设备接收来自于所述 AS返回的成功 响应。  When the registration is successful, the second IMS core network device receives a successful response from the AS return.
5. 根据权利要求 1所述的方法, 其中, 所述第一 IMS核心网设备接收来自于所述 监控客户端发起的呼叫请求包括: The method according to claim 1, wherein the receiving, by the first IMS core network device, a call request initiated by the monitoring client comprises:
所述监控客户端确定需要接入的所述监控前端;  The monitoring client determines the monitoring front end that needs to be accessed;
所述监控客户端向所述第二 IMS核心网设备发送所述呼叫请求, 其中, 所 述呼叫请求携带有所述监控前端的标识;  The monitoring client sends the call request to the second IMS core network device, where the call request carries an identifier of the monitoring front end;
所述第二 IMS核心网设备根据所述监控前端的标识,判断所述监控前端是 否位于所述第一 IMS核心网设备的所在域内;  The second IMS core network device determines, according to the identifier of the monitoring front end, whether the monitoring front end is located in a domain of the first IMS core network device;
如果是, 则直接向所述监控前端发起所述呼叫请求;  If yes, the call request is directly sent to the monitoring front end;
如果否, 则向所述第一 IMS核心网设备发送所述呼叫请求。  If not, the call request is sent to the first IMS core network device.
6. 根据权利要求 1至 5中任一项所述的方法, 其中, 在所述第一 IMS核心网设备 将所述监控前端返回的成功响应消息转发至所述监控客户端之后, 还包括: 所述第一 IMS 核心网设备接收来自于所述监控客户端或者所述监控前端 发起的挂断请求; The method according to any one of claims 1 to 5, wherein after the first IMS core network device forwards the success response message returned by the monitoring front end to the monitoring client, the method further includes: The first IMS core network device receives a hangup request initiated by the monitoring client or the monitoring front end;
在所述监控客户端发起挂断请求时,所述第一 IMS核心网设备将所述挂断 请求发送至所述监控前端, 接收来自于所述监控前端返回的挂断响应消息, 并 转发至所述监控客户端;  When the monitoring client initiates the hangup request, the first IMS core network device sends the hangup request to the monitoring front end, receives a hangup response message returned from the monitoring front end, and forwards the message to the The monitoring client;
在所述监控前端发起挂断请求时,所述第一 IMS核心网设备将所述挂断请 求发送至所述监控客户端, 接收来自于所述监控客户端返回的挂断响应消息, 并转发至所述监控前端。 When the monitoring front end initiates the hang up request, the first IMS core network device sends the hang up request to the monitoring client, receives the hang up response message returned by the monitoring client, and forwards the message. To the monitoring front end.
7. 根据权利要求 6所述的方法, 其中, 在所述第一 IMS核心网设备将所述监控前 端返回的挂断响应消息转发至所述监控客户端, 或者将所述监控客户端返回的 挂断响应消息转发至所述监控前端时, 还包括: The method according to claim 6, wherein the first IMS core network device forwards the hangup response message returned by the monitoring front end to the monitoring client, or returns the monitoring client When the hangup response message is forwarded to the monitoring front end, the method further includes:
所述第二 IMS核心网设备向应用服务器 AS发送第二通知消息, 其中, 该 第二通知消息用于指示所述监控客户端和所述监控前端之间的会话已挂断。  The second IMS core network device sends a second notification message to the application server AS, where the second notification message is used to indicate that the session between the monitoring client and the monitoring front end has been hung up.
8. 一种双向语音对讲的实现系统, 应用于视频监控系统, 包括: 8. A two-way voice intercom implementation system for use in a video surveillance system, comprising:
监控客户端, 设置为发送呼叫请求;  Monitoring client, set to send a call request;
所述第一 IMS核心网设备,位于所述监控客户端需要接入的监控前端的所 在域内,设置为将来自于所述监控客户端的所述呼叫请求转发至所述监控前端, 并将来自于所述监控前端的呼叫成功响应消息转发至所述监控客户端;  The first IMS core network device is located in a domain of the monitoring front end that the monitoring client needs to access, and is configured to forward the call request from the monitoring client to the monitoring front end, and The call success response message of the monitoring front end is forwarded to the monitoring client;
所述监控前端, 设置为发送所述呼叫成功响应消息。  The monitoring front end is configured to send the call success response message.
9. 根据权利要求 8所述的系统, 其中, 还包括: 9. The system according to claim 8, further comprising:
第二 IMS核心网设备, 位于所述监控客户端的所在域内, 设置为向应用服 务器 AS发送第一通知消息, 其中, 该第一通知消息用于指示所述监控客户端 和所述监控前端准备进行双向语音对讲;  The second IMS core network device is located in the domain of the monitoring client, and is configured to send a first notification message to the application server AS, where the first notification message is used to indicate that the monitoring client and the monitoring front end are ready to perform Two-way voice intercom;
所述 AS, 设置为在所述监控客户端和所述监控前端之间转发语音数据。  The AS is configured to forward voice data between the monitoring client and the monitoring front end.
10. 根据权利要求 9所述的系统, 其中, 所述第一 IMS核心网设备和所述第二 IMS 核心网设备为同一个 IMS核心网设备。 10. The system according to claim 9, wherein the first IMS core network device and the second IMS core network device are the same IMS core network device.
11. 根据权利要求 8至 10中任一项所述的系统, 其中, 包括: The system according to any one of claims 8 to 10, comprising:
所述监控前端, 还设置为注册到所述第一 IMS核心网设备上; 所述监控客户端, 还设置为注册到所述第二 IMS核心网设备上。  The monitoring front end is further configured to be registered to the first IMS core network device; the monitoring client is further configured to register with the second IMS core network device.
12. 根据权利要求 8至 10中任一项所述的系统, 其中, The system according to any one of claims 8 to 10, wherein
所述监控客户端或所述监控前端, 还设置为主动发起挂断请求; 所述第一 IMS核心网设备,还设置为将来自于所述监控客户端的所述挂断 请求发送至所述监控前端, 接收来自于所述监控前端返回的挂断响应消息, 并 转发至所述监控客户端; 或者将来自于所述监控前端的所述挂断请求发送至所 述监控客户端, 接收来自于所述监控客户端返回的挂断响应消息, 并转发至所 述监控前端。  The monitoring client or the monitoring front end is further configured to initiate an hang up request; the first IMS core network device is further configured to send the hang up request from the monitoring client to the monitoring The front end receives the hangup response message returned from the monitoring front end and forwards the message to the monitoring client, or sends the hangup request from the monitoring front end to the monitoring client, and receives the hangup request from the monitoring front end. The hangup response message returned by the monitoring client is forwarded to the monitoring front end.
PCT/CN2011/082852 2010-12-15 2011-11-24 Method and system for implementing bi-directional voice intercom WO2012079449A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105889269A CN102035840A (en) 2010-12-15 2010-12-15 Method and system for realizing two-way voice talkback
CN201010588926.9 2010-12-15

Publications (1)

Publication Number Publication Date
WO2012079449A1 true WO2012079449A1 (en) 2012-06-21

Family

ID=43888163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082852 WO2012079449A1 (en) 2010-12-15 2011-11-24 Method and system for implementing bi-directional voice intercom

Country Status (2)

Country Link
CN (1) CN102035840A (en)
WO (1) WO2012079449A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222504A (en) * 2017-07-11 2017-09-29 深圳市斑点猫信息技术有限公司 A kind of P2P communication means and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377760B (en) * 2010-08-20 2016-01-13 中兴通讯股份有限公司 Realize the method and system of voice intercom in video monitoring
CN102035840A (en) * 2010-12-15 2011-04-27 中兴通讯股份有限公司 Method and system for realizing two-way voice talkback
CN104010159A (en) * 2013-02-22 2014-08-27 中兴通讯股份有限公司 Communication and communication processing methods and devices of visual gate control system
CN103269329B (en) * 2013-04-14 2015-12-09 江苏省广电有线信息网络股份有限公司 A kind of domestic video monitoring system based on digital TV set-top box and IMS system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217648A (en) * 2008-01-08 2008-07-09 华为技术有限公司 Video monitoring information transferring method, device and system
CN101453477A (en) * 2007-12-07 2009-06-10 华为技术有限公司 Method and apparatus for media content uploading in real-time
CN101895569A (en) * 2010-06-21 2010-11-24 中兴通讯股份有限公司 Implementation method of video browsing, IMS video monitoring system and front monitoring front-end
CN102035840A (en) * 2010-12-15 2011-04-27 中兴通讯股份有限公司 Method and system for realizing two-way voice talkback

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100527823C (en) * 2006-12-13 2009-08-12 华为技术有限公司 Video monitoring method and apparatus for on-demand application
CN101883099B (en) * 2010-06-17 2016-03-30 中兴通讯股份有限公司 Based on method, server and system that IMS candid photograph picture query is downloaded

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453477A (en) * 2007-12-07 2009-06-10 华为技术有限公司 Method and apparatus for media content uploading in real-time
CN101217648A (en) * 2008-01-08 2008-07-09 华为技术有限公司 Video monitoring information transferring method, device and system
CN101895569A (en) * 2010-06-21 2010-11-24 中兴通讯股份有限公司 Implementation method of video browsing, IMS video monitoring system and front monitoring front-end
CN102035840A (en) * 2010-12-15 2011-04-27 中兴通讯股份有限公司 Method and system for realizing two-way voice talkback

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222504A (en) * 2017-07-11 2017-09-29 深圳市斑点猫信息技术有限公司 A kind of P2P communication means and system
CN107222504B (en) * 2017-07-11 2020-06-12 深圳市斑点猫信息技术有限公司 P2P communication method and system

Also Published As

Publication number Publication date
CN102035840A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
KR100561633B1 (en) Intelligent system and method of visitor confirming and communication service using mobile terminal
JP5220010B2 (en) Switching multimedia sessions from mobile terminals
WO2008116408A1 (en) System, equipment and method for implementing special calling services
JP5450444B2 (en) Method and apparatus for handling multimedia calls
WO2009074070A1 (en) A method and equipment for uploading the real-time media content
WO2006010312A1 (en) A method of informing the capability change of the terminal to the network
JP2006135954A (en) Method for establishing ip video-conference using telephone network for voice transmission
EP2584760B1 (en) Method for realizing video browsing, ip multimedia subsystem (ims) video monitoring system, and monitoring front end
WO2012037790A1 (en) Method,apparatus and system for digital tv terminals to perform instant messaging
WO2009152699A1 (en) Sip terminal and the status reporting method, system and sip server thereof
US20180020098A1 (en) Web Real-Time Client Communication Over a Stimulus Based Network
WO2012079449A1 (en) Method and system for implementing bi-directional voice intercom
WO2014063511A1 (en) Monitoring method and internet protocol television set top box
WO2007068201A1 (en) A method, a control terminal and a system for realizing click calling service
WO2012126382A1 (en) Method for implementing main exchange service and gateway apparatus
US8891751B2 (en) Method and apparatus for providing call parking
WO2012174904A1 (en) Ims conference access method, device and system
WO2010091588A1 (en) Method and apparatus for distinguishing several user equipments sharing a same public user identity
JP2008153782A (en) Call managing method, call management system, and message processing server system
WO2011032426A1 (en) Method, device and system for implementing emergency call override service
WO2009052750A1 (en) Method, device and system for initiating two party call
WO2007093116A1 (en) A method and system for realizing the simulating service and the access signaling adaptive entity
WO2013082894A1 (en) Operator call forwarding method and switchboard service application server
JP5679287B2 (en) Communication device
EP2200254B1 (en) Mobile network system and guidance message providing method

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

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

Country of ref document: EP

Kind code of ref document: A1