[go: up one dir, main page]

CN100531074C - Method and system for legally monitoring IP multimedia subsystem network - Google Patents

Method and system for legally monitoring IP multimedia subsystem network Download PDF

Info

Publication number
CN100531074C
CN100531074C CNB2007101451272A CN200710145127A CN100531074C CN 100531074 C CN100531074 C CN 100531074C CN B2007101451272 A CNB2007101451272 A CN B2007101451272A CN 200710145127 A CN200710145127 A CN 200710145127A CN 100531074 C CN100531074 C CN 100531074C
Authority
CN
China
Prior art keywords
monitoring
application server
port
calling
called
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2007101451272A
Other languages
Chinese (zh)
Other versions
CN101110719A (en
Inventor
熊钢
宋金东
孟昱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2007101451272A priority Critical patent/CN100531074C/en
Publication of CN101110719A publication Critical patent/CN101110719A/en
Application granted granted Critical
Publication of CN100531074C publication Critical patent/CN100531074C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明提供了一种IP多媒体子系统网络合法监听方法及系统,所述方法包含如下步骤:(a)呼叫会话控制功能CSCF收到会话发起协议SIP消息,如果需要监听,则将所述SIP消息转发给监听网关应用服务器;(b)监听网关应用服务器收到所述SIP消息后,为本次呼叫在所述监听网关应用服务器上分配主叫代理端口和被叫代理端口,修改本次呼叫中的SIP消息,将主叫端口信息修改为主叫代理端口信息发送给被叫,将被叫端口信息修改为被叫代理端口信息发送给主叫;(c)主叫和被叫之间通信的媒体流分别发送到所述监听网关应用服务器的被叫代理端口或主叫代理端口,所述监听网关应用服务器复制所述媒体流,发送给法律强制监控设备LEMF。

Figure 200710145127

The present invention provides a method and system for IP multimedia subsystem network lawful interception. The method includes the following steps: (a) the call session control function (CSCF) receives a Session Initiation Protocol SIP message, and if it needs to be monitored, the SIP message is sent Forward to the monitoring gateway application server; (b) after receiving the SIP message, the monitoring gateway application server distributes the calling proxy port and the called proxy port on the monitoring gateway application server for this call, and revises the SIP message, modify the calling port information to the calling agent port information and send it to the called party, and modify the called port information to the called agent port information and send it to the calling party; (c) communication between the calling party and the called party The media streams are respectively sent to the called proxy port or the calling proxy port of the monitoring gateway application server, and the monitoring gateway application server copies the media streams and sends them to the legal enforcement monitoring device LEMF.

Figure 200710145127

Description

一种IP多媒体子系统网络合法监听的方法和系统 Method and system for IP multimedia subsystem network lawful interception

技术领域 technical field

本发明涉及IP多媒体子系统(IMS)通讯领域,特别涉及一种IP多媒体子系统网络合法监听的方法和系统。The invention relates to the field of IP Multimedia Subsystem (IMS) communication, in particular to a method and system for IP Multimedia Subsystem network lawful monitoring.

背景技术 Background technique

IMS通信技术是今后通信的发展方向,对IMS合法监听的研究也是监听研究领域比较热门的一个研究课题。在IMS通信架构中,控制层设备与承载层设备完全分离。而现有的标准协议中建议对被控用户的监听触发在控制层设备上实现,对媒体流的监听控制在媒体层设备(即承载层设备)上实现;但是目前部分控制层设备无法直接输出被控目标的通信内容。这是IMS域通信监听面临的一个实现难题。IMS communication technology is the development direction of communication in the future, and the research on IMS lawful interception is also a relatively popular research topic in the field of interception research. In the IMS communication architecture, the control layer equipment is completely separated from the bearer layer equipment. However, in the existing standard protocol, it is suggested that the monitoring and triggering of the controlled user should be realized on the control layer device, and the monitoring and control of the media stream should be realized on the media layer device (i.e., the bearer layer device); however, some control layer devices cannot directly output The content of the alleged target's communications. This is an implementation problem faced by IMS domain communication interception.

目前3GPP(第三代合作伙伴计划)中定义的IMS网络架构图见图1,其中IMS的框架结构主要包括CSCF(Call Session Control Function,呼叫会话控制功能)、MGCF(Media Gateway Control Function,媒体网关控制功能)、IMS-MGW(IMS-Media GateWay,IMS媒体网关)、MRFC(MultimediaResource Function Controller,多媒体资源功能控制器)、MRFP(MultimediaResource Function Processor,多媒体资源功能处理器)、BGCF(BreakoutGateway Control Function,出口网关控制功能)等功能实体。其中CSCF是整个网络的核心,支持SIP(会话发起协议)协议处理SIP会话。P-CSCF(代理CSCF)是UE(用户设备)接入IMS系统的入口,实现了在SIP协议中的Proxy(代理)和UserAgent(用户代理)功能;MGCF和IMS-MGW是与CS(电路域)域和PSTN(公共交换电话网络)互通的功能实体,分别负责控制信令和媒体流的互通;MRFC和MRFP是实现多方会议的功能实体,控制层面的MRFC通过H.248控制MRFP;BGCF是IMS域与外部网络的分界点,它选择在哪里跟CS域或PSTN互联。The current IMS network architecture diagram defined in 3GPP (Third Generation Partnership Project) is shown in Figure 1. The framework structure of IMS mainly includes CSCF (Call Session Control Function, call session control function), MGCF (Media Gateway Control Function, media gateway) Control Function), IMS-MGW (IMS-Media GateWay, IMS Media Gateway), MRFC (MultimediaResource Function Controller, Multimedia Resource Function Controller), MRFP (MultimediaResource Function Processor, Multimedia Resource Function Processor), BGCF (BreakoutGateway Control Function, egress gateway control function) and other functional entities. The CSCF is the core of the entire network, and supports the SIP (Session Initiation Protocol) protocol to process SIP sessions. P-CSCF (proxy CSCF) is the entrance of UE (user equipment) to access the IMS system, and realizes the functions of Proxy (proxy) and UserAgent (user agent) in the SIP protocol; MGCF and IMS-MGW are connected with CS (circuit domain ) domain and PSTN (Public Switched Telephone Network) intercommunication functional entity, respectively responsible for the intercommunication of control signaling and media flow; MRFC and MRFP are functional entities for realizing multi-party conference, MRFC at the control plane controls MRFP through H.248; BGCF is The demarcation point between the IMS domain and the external network, where it chooses to interconnect with the CS domain or PSTN.

目前监听标准有很多种类,但是都基于3个标准接口方式,HI1接口实现设控及管理;HI2接口上报被控目标通信的监听相关信息(IRI);HI3接口输出被控目标的通信内容(CC)。而HI2接口消息一般由控制层设备输出,HI3接口通信内容由承载层设备完成。At present, there are many types of monitoring standards, but they are all based on three standard interface methods. The HI1 interface realizes setting control and management; the HI2 interface reports the monitoring-related information (IRI) of the communication of the controlled target; the HI3 interface outputs the communication content of the controlled target (CC ). The HI2 interface message is generally output by the control layer device, and the HI3 interface communication content is completed by the bearer layer device.

图1中所示网元可以分为控制层网元和承载层网元,要求他们都提供监听功能,在开发和工程实施角度来看是比较困难的;特别是很多承载层网元,并不具备媒体的复制功能,这些都给目前IMS领域实施监听带来困难。The network elements shown in Figure 1 can be divided into control layer network elements and bearer layer network elements. It is difficult to require them to provide monitoring functions from the perspective of development and engineering implementation; especially many bearer layer network elements do not It has the function of copying the media, which brings difficulties to the implementation of monitoring in the current IMS field.

发明内容 Contents of the invention

本发明要解决的技术问题是提供一种对IMS域通信进行合法监听的方法和系统。The technical problem to be solved by the present invention is to provide a method and system for legally intercepting IMS domain communication.

为了解决上述技术问题,本发明提供了一种IP多媒体子系统网络合法监听方法,包含如下步骤:In order to solve the above-mentioned technical problems, the invention provides a kind of IP multimedia subsystem network lawful monitoring method, comprises the following steps:

(a)呼叫会话控制功能CSCF收到会话发起协议SIP消息,如果需要监听,则将所述SIP消息转发给监听网关应用服务器;(a) The call session control function CSCF receives the session initiation protocol SIP message, and if monitoring is required, the SIP message is forwarded to the monitoring gateway application server;

(b)监听网关应用服务器收到所述SIP消息后,为本次呼叫在所述监听网关应用服务器上分配主叫代理端口和被叫代理端口,修改本次呼叫中的SIP消息,将主叫端口信息修改为主叫代理端口信息发送给被叫,将被叫端口信息修改为被叫代理端口信息发送给主叫;(b) After receiving the SIP message, the monitoring gateway application server distributes the calling proxy port and the called proxy port on the monitoring gateway application server for this call, revises the SIP message in this calling, and calls the The port information is changed to the calling agent port information and sent to the called party, and the called port information is changed to the called agent port information and sent to the calling party;

(c)主叫和被叫之间通信的媒体流分别发送到所述监听网关应用服务器的被叫代理端口或主叫代理端口,所述监听网关应用服务器复制所述媒体流,发送给法律强制监控设备LEMF。(c) The media streams communicated between the calling party and the called party are respectively sent to the called proxy port or the calling proxy port of the monitoring gateway application server, and the monitoring gateway application server copies the media streams and sends them to the legally enforced Monitoring equipment LEMF.

进一步地,上述方法还可具有以下特点,所述步骤(a)中,所述CSCF收到所述SIP消息后,通过查询初始过滤准则判断是否需要监听,查询初始过滤准则后,如果满足监听触发条件,则触发监听。Further, the above method may also have the following characteristics. In the step (a), after the CSCF receives the SIP message, it judges whether monitoring is required by querying the initial filtering criteria, and after querying the initial filtering criteria, if the monitoring trigger conditions, the monitoring is triggered.

进一步地,上述方法还可具有以下特点,所述步骤(a)中,所述CSCF收到所述SIP消息后,通过查询初始过滤准则判断是否需要监听,查询初始过滤准则后,如果满足监听触发条件,再进一步判断所述SIP消息路由中是否已经穿越过所述监听网关应用服务器,如果没有,则触发监听。Further, the above method may also have the following characteristics. In the step (a), after the CSCF receives the SIP message, it judges whether monitoring is required by querying the initial filtering criteria, and after querying the initial filtering criteria, if the monitoring trigger conditions, and further determine whether the SIP message route has passed through the monitoring gateway application server, and if not, trigger monitoring.

进一步地,上述方法还可具有以下特点,所述步骤(b)中,如果所述监听网关应用服务器分配主叫和/或被叫代理端口失败或建立到LEMF的HI3通道失败,所述监听网关应用服务器根据用户的监听设置条件进行处理,如果用户的监听设置条件为必须监听,则所述监听网关应用服务器给所述CSCF返回失败指示,本次呼叫失败。Further, the above method can also have the following features, in the step (b), if the monitoring gateway application server fails to allocate the calling and/or called agent ports or fails to establish the HI3 channel to LEMF, the monitoring gateway The application server performs processing according to the monitoring setting conditions of the user. If the monitoring setting conditions of the user are mandatory monitoring, the monitoring gateway application server returns a failure indication to the CSCF, and the call fails.

进一步地,上述方法还可具有以下特点,所述步骤(c)中,所述LEMF为一个或多个,所述监听网关应用服务器将所述媒体流组装成所述LEMF所需的媒体包格式,通过HI3接口发送给所述LEMF。Further, the above method can also have the following characteristics, in the step (c), the LEMF is one or more, and the listening gateway application server assembles the media stream into the media packet format required by the LEMF , sent to the LEMF through the HI3 interface.

进一步地,上述方法还可具有以下特点,所述步骤(b)中,所述监听网关应用服务器修改所述SIP消息后,发送给所述CSCF,再由所述CSCF发送给所述主叫或被叫。Further, the above method may also have the following features, in the step (b), after the monitoring gateway application server modifies the SIP message, it sends it to the CSCF, and then the CSCF sends it to the calling party or called.

进一步地,上述方法还可具有以下特点,所述步骤(b)中,所述监听网关应用服务器在所述SIP消息的消息头中增加所述监听网关应用服务器的路由信息,将修改后的SIP消息发送给所述CSCF。Further, the above method can also have the following characteristics, in the step (b), the monitoring gateway application server adds the routing information of the monitoring gateway application server in the message header of the SIP message, and the modified SIP The message is sent to the CSCF.

进一步地,上述方法还可具有以下特点,所述CSCF收到所述监听网关应用服务器返回的SIP消息后,生成监听相关信息X2报告,发送给所述监听网关应用服务器,所述监听网关应用服务器将其转换成HI2接口消息传送给所述LEMF。Further, the above method may also have the following features: After receiving the SIP message returned by the monitoring gateway application server, the CSCF generates a monitoring related information X2 report and sends it to the monitoring gateway application server, and the monitoring gateway application server It is converted into a HI2 interface message and sent to the LEMF.

进一步地,上述方法还可具有以下特点,所述步骤(b)中,所述监听网关应用服务器分配主叫代理端口和被叫代理端口后,在本地建立本次呼叫的端口地址映射表,包含主叫端口和主叫代理端口信息,被叫端口和被叫代理端口信息,在本次呼叫过程中,当主叫或被叫端口改变时,更新所述端口地址映射表。Further, the above method can also have the following features, in the step (b), after the monitoring gateway application server allocates the calling proxy port and the called proxy port, it locally establishes a port address mapping table for this call, including Calling port and calling proxy port information, called port and called proxy port information, during this call, when the calling or called port changes, update the port address mapping table.

一种IP多媒体子系统网络合法监听系统,包含CSCF,LEMF,还包括监听网关应用服务器,其中,An IP multimedia subsystem network lawful interception system, including CSCF, LEMF, and an interception gateway application server, wherein,

所述CSCF接收会话发起协议SIP消息,判断是否需要监听,如果需要监听,则将所述SIP消息转发给监听网关应用服务器;The CSCF receives the Session Initiation Protocol SIP message, judges whether monitoring is required, and if monitoring is required, forwards the SIP message to the monitoring gateway application server;

所述监听网关应用服务器,用于接收CSCF发送的SIP消息,为呼叫在所述监听网关应用服务器上分配主叫代理端口和被叫代理端口,修改呼叫中的SIP消息,将主叫端口信息修改为主叫代理端口信息发送给被叫,将被叫端口信息修改为被叫代理端口信息发送给主叫,接收主叫和被叫发送到所述监听网关应用服务器的被叫代理端口或主叫代理端口的媒体流,并复制所述媒体流,发送给法律强制监控设备LEMF;The monitoring gateway application server is used to receive the SIP message sent by the CSCF, allocate a calling agent port and a called agent port on the monitoring gateway application server for the call, modify the SIP message in the call, and modify the calling port information Send the calling agent port information to the called party, modify the called port information to the called agent port information and send it to the calling party, receive the calling party and the called party and send it to the called party port or calling party of the monitoring gateway application server. Proxy the media stream of the port, and copy the media stream, and send it to the legally enforced monitoring device LEMF;

所述LEMF接收所述监听网关应用服务器发送的媒体流。The LEMF receives the media stream sent by the listening gateway application server.

本发明通过引入监听应用服务器来实现监听的功能,这样最大限度地减少了由于监听功能的引入而带来的各个控制网元业务流程的变化。在实施本方法的IMS监听后,可以避开IMS域复杂的网元结构,对大部分网元不做任何监听技术方面的改进要求,监听触发可以仅在CSCF网元设备上进行实现,即可方便地实现对IMS域通信的监听,从而大大降低了IMS域监听实现的复杂度。The present invention realizes the function of monitoring by introducing the monitoring application server, thus minimizing the change of the service flow of each control network element brought about by the introduction of the monitoring function. After implementing the IMS monitoring of this method, the complex network element structure of the IMS domain can be avoided, and most network elements are not required to improve any monitoring technology, and the monitoring trigger can only be implemented on the CSCF network element device, that is, The monitoring of IMS domain communication is conveniently implemented, thereby greatly reducing the complexity of implementing IMS domain monitoring.

附图说明 Description of drawings

图1是3GPP中定义的IMS网络架构图;Figure 1 is a diagram of the IMS network architecture defined in 3GPP;

图2是本发明IMS合法监听实现框架图;Fig. 2 is a frame diagram of realizing IMS lawful interception of the present invention;

图3是本发明INVITE(邀请)触发的业务的流程图;Fig. 3 is the flow chart of the business that INVITE (invitation) of the present invention triggers;

图4是本发明LIG AS(Lawful interception gateway application server,合法监听网关应用服务器)监听功能处理流程图。Fig. 4 is a flow chart of LIG AS (Lawful interception gateway application server, lawful interception gateway application server) monitoring function processing in the present invention.

具体实施方式 Detailed ways

本发明提供了一种实现对IMS系统合法监听的系统,如图2所示,主要包含LIG AS、S-CSCF、LEMF(法律强制监控设备),其中,The present invention provides a kind of system that realizes the lawful interception of IMS system, as shown in Figure 2, mainly comprises LIG AS, S-CSCF, LEMF (legal mandatory monitoring equipment), wherein,

所述S-CSCF,与LIG AS相连,提供触发监听到LIG AS服务器上的功能和提供X2监听接口功能。The S-CSCF is connected to the LIG AS, provides the function of triggering monitoring to the LIG AS server and provides the X2 monitoring interface function.

为了确保实现特定的监听业务处理,S-CSCF应该决定是否需要LIG AS服务器来接收与入向SIP会话请求有关的信息,也即S-CSCF根据信息情况把监听业务分给一个独立外置的LIG AS服务器去处理。In order to ensure specific monitoring service processing, the S-CSCF should decide whether the LIG AS server is required to receive information related to incoming SIP session requests, that is, the S-CSCF assigns the monitoring service to an independent external LIG according to the information situation. AS server to process.

S-CSCF的决定可以基于从HSS(归属用户服务器)接收到的监听信息(该信息可能有部分被过滤)。该过滤信息按照每个监听用户信息进行存储和传送。The S-CSCF's decision may be based on interception information received from the HSS (Home Subscriber Server) (this information may be partially filtered). The filtering information is stored and transmitted according to each monitoring user information.

LIG AS服务器的地址信息来自HSS。或者可以通过ADMF(Administration Function,管理功能)设控和配置LIG AS服务器的地址信息来达到设置过滤条件的目的。The address information of the LIG AS server comes from HSS. Alternatively, ADMF (Administration Function) can be used to control and configure the address information of the LIG AS server to achieve the purpose of setting filter conditions.

在S-CSCF处理呼叫过程中,从S-CSCF的角度看,S-CSCF与LIG AS和“SIP Application server(SIP应用服务器)”,“OSA service capability server(开放业务平台业务能力服务器)”及“IM-SSF(IP多媒体服务转换功能)”的接口是一致的。在处理逻辑上,将把LIG AS服务器和其他SIP应用服务器一样操作处理。S-CSCF通过SIP会话请求通知LIG AS或者IM SSF,OSASCS以及其他SIP应用服务器,这些服务器应该保证能够通过发送消息给S-CSCF,让S-CSCF知晓所有动作的结果。When S-CSCF handles calls, from the perspective of S-CSCF, S-CSCF and LIG AS and "SIP Application server (SIP application server)", "OSA service capability server (open service platform service capability server)" and The interface of "IM-SSF (IP Multimedia Service Switching Function)" is identical. In terms of processing logic, the LIG AS server will be handled in the same way as other SIP application servers. S-CSCF notifies LIG AS or IM SSF, OSASCS and other SIP application servers through SIP session request, and these servers should ensure that they can send messages to S-CSCF to let S-CSCF know the results of all actions.

S-CSCF在呼叫过程中随着呼叫状态的迁移而将相应的X2信息传递给LIG AS。其中X2信息也可以由P-CSCF提供给LIG AS。During the call process, the S-CSCF transmits the corresponding X2 information to the LIG AS as the call state transitions. The X2 information can also be provided by the P-CSCF to the LIG AS.

SIP呼叫穿越LIG AS服务器主要通过ISC(IP多媒体子系统业务控制)接口来实现。ISC是S-CSCF(服务CSCF)和应用服务器(AS)间的接口。S-CSCF和LIG AS间的接口是为了使用LIG AS提供的监听功能服务。SIP应用服务器可以在主机运行服务。SIP应用服务器在服务的资源上可能影响SIP会话,甚至发生冲突,所以SIP应用服务器通过ISC接口和S-CSCF通讯。The SIP call traverses the LIG AS server mainly through the ISC (IP Multimedia Subsystem Service Control) interface. ISC is the interface between S-CSCF (Serving CSCF) and Application Server (AS). The interface between S-CSCF and LIG AS is to use the monitoring function service provided by LIG AS. The SIP application server can run the service on the mainframe. The SIP application server may affect the SIP session on the service resources, or even conflict, so the SIP application server communicates with the S-CSCF through the ISC interface.

所述LIG AS是本发明引入的,LIG AS是一个SIP应用服务器,同时兼监听网关LIG的功能。它具有控制层和媒体层的转换和控制功能,用于实现SIP信令和媒体的穿越。The LIG AS is introduced by the present invention, and the LIG AS is a SIP application server, which also has the function of monitoring the gateway LIG. It has the conversion and control functions of the control layer and the media layer, and is used to realize the traversal of SIP signaling and media.

LIG AS服务器的控制层对所经过的SIP消息进行端口修改以达到控制媒体流路由的目的;当通过对穿越的SIP信令消息进行修改后,LIG AS将作为媒体流的中间设备,提供和SIP会话相关的媒体的穿越,并复制所经过的IP媒体内容并转换成监听中心设备LEMF所需要的标准监听信息内容供监听中心分析处理。The control layer of the LIG AS server modifies the port of the passing SIP message to achieve the purpose of controlling the routing of the media flow; after modifying the traversing SIP signaling message, the LIG AS will serve as an intermediate device for the media flow, providing a communication with the SIP Traversal of session-related media, and copy the passed IP media content and convert it into the standard monitoring information content required by the monitoring center equipment LEMF for analysis and processing by the monitoring center.

X接口主要用于监听网关LIG和被监控网元之间传递监听信息的内部接口;在本发明中,在LIG AS和其他被控网元之间只有X2接口事件消息,而X3接口不存在。LIG AS收到X2信息后,转换为标准的HI2接口消息,传递给监听中心设备LEMF;对所需监听的X3媒体流,通过LIG AS应用服务器进行媒体流的路由控制的功能,使得需监听的媒体流穿越该设备,在穿越时,LIG AS同时进行媒体流的复制功能。从而使得IMS系统中的控制层设备只需按照正常的电信业务呼叫控制进行流程处理,为监听功能只需要提供监听所需的X2接口消息,而对本单元的流程处理几乎没有影响;对于媒体层设备,可以忽略监听功能的存在,媒体层的监听功能的处理由LIG AS进行处理,对其他媒体层设备是透明操作。The X interface is mainly used to monitor the internal interface of the gateway LIG and the monitored network element to transmit monitoring information; in the present invention, there is only the X2 interface event message between the LIG AS and other controlled network elements, and the X3 interface does not exist. After the LIG AS receives the X2 information, it converts it into a standard HI2 interface message and sends it to the monitoring center equipment LEMF; for the X3 media stream to be monitored, the routing control function of the media stream is performed through the LIG AS application server, so that the monitoring The media stream passes through the device, and when passing through, LIG AS performs the copy function of the media stream at the same time. Therefore, the control layer equipment in the IMS system only needs to process the process according to the normal telecommunication service call control, and only needs to provide the X2 interface messages required for monitoring for the monitoring function, and has almost no impact on the process processing of the unit; for the media layer equipment , the existence of the monitoring function can be ignored, and the processing of the monitoring function of the media layer is handled by LIG AS, which is a transparent operation for other media layer devices.

在现有协议中,提供额外的多媒体业务或者其他业务的应用服务器可以驻留在用户的home network(注册网络)或者驻留在第三方中。这个第三方可以是一个网络,也可以是一个单独的AS。LIG AS作为应用服务器AS的一种,建议驻留在用户的home network的核心网中。In the existing agreement, the application server providing additional multimedia services or other services can reside in the user's home network (registered network) or in a third party. This third party can be a network or a separate AS. As a kind of application server AS, LIG AS is recommended to reside in the core network of the user's home network.

所述LEMF,作为监听中心设备存在,接收来自LIG AS服务器的HI2报告消息和HI3通信内容;HI2接口主要用于上报与呼叫相关或者无关的事件;HI3接口用于传递所监听的通讯内容。The LEMF exists as a monitoring center device, and receives the HI2 report message and HI3 communication content from the LIG AS server; the HI2 interface is mainly used to report events related or irrelevant to the call; the HI3 interface is used to transmit the monitored communication content.

S-CSCF通过ISC接口触发监听的业务流程参见图3,在图3中过滤准则LI定义为通过判断SIP消息中的主被叫用户是否为被控目标而确定是否触发监听,图中所示流程描述如下:Refer to Figure 3 for the business process of S-CSCF triggering monitoring through the ISC interface. In Figure 3, the filtering criterion LI is defined as determining whether to trigger monitoring by judging whether the calling and called users in the SIP message are controlled targets. The process shown in the figure Described as follows:

步骤1,用户通过向其S-CSCF发送一个SIP初始请求,启动一个SIP会话;Step 1, the user initiates a SIP session by sending a SIP initial request to its S-CSCF;

步骤2,当收到这个SIP初始请求后,S-CSCF从这个请求中推导出触发服务点(SPT),然后检查SPT是否与过滤准则LI匹配,如果匹配,则将触发监听,S-CSCF转发该SIP初始请求到LIG AS;Step 2, after receiving the SIP initial request, the S-CSCF deduces the triggering service point (SPT) from the request, and then checks whether the SPT matches the filtering criterion LI, if it matches, the monitoring will be triggered, and the S-CSCF forwards The SIP initial request to LIG AS;

所述触发服务点,通常包含呼叫请求的URI;SIP方法(请求的类型,如INVITE或者MESSAGE);SIP消息头(包含与该请求相关的信息);会话情形(起始,终止,终止未注册);会话描述(会话描述协议字段内容的服务点触发器)。The trigger service point usually includes the URI of the call request; SIP method (type of request, such as INVITE or MESSAGE); SIP message header (comprising information relevant to the request); session situation (initiation, termination, termination unregistered ); session description (the service point trigger of the content of the session description protocol field).

步骤3,LIG AS执行特定的业务逻辑,进行媒体端口的分配和SIP消息中地址信息的替换,执行完成后,将该SIP请求再回送给S-CSCF,并可能会修改业务相关信息;Step 3. LIG AS executes specific business logic, allocates media ports and replaces address information in SIP messages. After the execution is completed, the SIP request is sent back to the S-CSCF, and business-related information may be modified;

步骤4a,收到从LIG AS返回的SIP请求后,S-CSCF再次从这个请求中推导出SPT,然后检查SPT是否与其他过滤准则匹配,如果匹配,则S-CSCF转发该请求到AS1中,转到步骤5a,否则,转到步骤4b;Step 4a, after receiving the SIP request returned from the LIG AS, the S-CSCF derives the SPT from the request again, and then checks whether the SPT matches other filtering criteria, and if it matches, the S-CSCF forwards the request to AS1, Go to step 5a, otherwise, go to step 4b;

其中,AS1是系统中另外一个AS应用服务器。Among them, AS1 is another AS application server in the system.

步骤4b,如果该请求与任何后续的过滤准则都不匹配,则S-CSCF按照正常的SIP路由机制寻找下一跳网元然后进行转发(SIP路由机制采用RFC3261的松散路由Loose Routing),结束;Step 4b, if the request does not match any subsequent filtering criteria, the S-CSCF searches for the next-hop network element according to the normal SIP routing mechanism and forwards it (the SIP routing mechanism adopts the loose routing of RFC3261 Loose Routing), and ends;

步骤5a,AS1按照ServiceKey(业务键)执行特定的业务逻辑,执行完成后,将该SIP请求再回送给S-CSCF,并可能会修改业务相关信息;Step 5a, AS1 executes specific business logic according to the ServiceKey (service key), and after the execution is completed, sends the SIP request back to the S-CSCF, and may modify service-related information;

步骤6a,S-CSCF检查AS1发送的SIP请求,发现与任何过滤准则都不匹配,于是S-CSCF按照正常的SIP路由机制寻找下一跳然后进行转发;Step 6a, S-CSCF checks the SIP request sent by AS1 and finds that it does not match any filter criteria, so S-CSCF searches for the next hop according to the normal SIP routing mechanism and forwards it;

上述4a,4b,5a,6a阐述呼叫经过监听LIG AS后的两种呼叫流程,用于说明LIG AS和AS1从呼叫流程形式上是类似的,即LIG AS与S-CSCF的交互与其他AS和S-CSCF的交互是类似的。The above 4a, 4b, 5a, and 6a describe the two call flows after the call is monitored by the LIG AS, which is used to illustrate that the call flow of the LIG AS and AS1 is similar in form, that is, the interaction between the LIG AS and the S-CSCF is different from that of other ASs and AS1. The interaction of S-CSCF is similar.

IMS系统中,监听业务的触发在S-CSCF中完成,业务数据在注册阶段下载到S-CSCF中,包括Filter Criteria(过滤准则)。在用户注册时,或收到未注册用户的一个终止的初始请求时,触发监听的初始过滤规则被下载到S-CSCF。在从HSS下载用户配置后,S-CSCF进行监听过滤器准则的评估:In the IMS system, the triggering of monitoring services is completed in the S-CSCF, and the service data is downloaded to the S-CSCF during the registration phase, including Filter Criteria (filtering criteria). When a user registers, or receives a terminated initial request from an unregistered user, the initial filtering rules that trigger monitoring are downloaded to the S-CSCF. After downloading the user configuration from the HSS, the S-CSCF performs an evaluation of the listening filter criteria:

步骤1,CSCF收到SIP请求,检查公共用户身份是否被禁止,如果不是,则继续;Step 1, CSCF receives the SIP request, checks whether the public user identity is prohibited, if not, continues;

公共用户身份是IMS中的用户身份,用于和其他用户通信时所用的身份;可以被公布在电话本或者名片上的一种标识;本步骤主要识别该用户是否有权限发起呼叫;The public user identity is the user identity in the IMS, which is used to communicate with other users; it can be published in the phone book or a kind of identification on the business card; this step mainly identifies whether the user has the right to initiate a call;

步骤2,检查该请求是一个起始请求还是一个终止请求;Step 2, check whether the request is an initial request or a termination request;

步骤3,为会话情形选择初始过滤规则(初始Originating、结束Terminating、或未注册用户结束Terminating_Unregistered),缺省将监听触发规则置为最高优先级的过滤规则。Step 3: Select an initial filtering rule (Originating, Terminating, or Terminating_Unregistered by an unregistered user) for the session situation, and set the monitoring trigger rule as the highest priority filtering rule by default.

此处的监听触发通过会话情形触发。The listening trigger here is triggered by the session situation.

步骤4,通过将该呼叫请求的公共用户身份与服务配置相比较,检查该请求是否与该用户的最高优先级的初始过滤规则,也即监听触发过滤规则相匹配。Step 4. By comparing the public user identity of the call request with the service configuration, it is checked whether the request matches the highest priority initial filter rule of the user, ie, the interception trigger filter rule.

1)如果该请求与该过滤规则匹配,则S-CSCF将请求转发给LIG AS。接下来,S-CSCF还会检查请求是否与较低优先级的下一个过滤规则相匹配,如果匹配,则在SIP消息从LIG AS处返回时,将该过滤规则应用于该SIP方法。1) If the request matches the filter rule, the S-CSCF forwards the request to the LIG AS. Next, the S-CSCF also checks whether the request matches the next filtering rule with lower priority, and if so, applies the filtering rule to the SIP method when the SIP message is returned from the LIG AS.

2)若该请求不能与最高优先级的监听触发过滤规则相匹配,则检查它是否与下一个优先级的过滤规则匹配,直至匹配上一个为止。2) If the request cannot be matched with the monitoring trigger filter rule with the highest priority, check whether it matches the filter rule with the next priority until it matches the previous one.

3)若不再有初始过滤规则适用,则S-CSCF基于路由决策对该请求进行转发。3) If no initial filtering rule is applicable, the S-CSCF forwards the request based on the routing decision.

如果所联系的LIG AS没有响应,则S-CSCF遵从与该初始过滤规则相关的缺省处理过程,即基于过滤规则中的信息,或者终止会话,或者让会话继续。一般缺省为让会话继续;如果初始过滤规则没有包含在联系LIG AS失败后S-CSCF应如何操作的指示,S-CSCF的缺省行为是让呼叫继续。If the contacted LIG AS does not respond, the S-CSCF follows the default procedure associated with the initial filtering rule, ie either terminates the session or allows the session to continue based on the information in the filtering rule. The general default is to allow the session to continue; if the initial filter rules do not contain an indication of what the S-CSCF should do after failure to contact the LIG AS, the default behavior of the S-CSCF is to allow the call to continue.

S-CSCF网元触发监听后,将SIP呼叫请求转发给LIG AS;当该请求消息到达LIG AS时,LIG AS设备在本设备内申请资源来设定本次呼叫的主被叫的代理端口。在资源端口申请成功后,将修改SIP消息,将位于LIG AS上的主叫代理端口(IP+UDP Port,网际协议+用户数据报协议端口)发送给被叫用户,并将位于LIG AS上的被叫代理端口(IP+UDP Port)发送给主叫用户。After the S-CSCF network element triggers the monitoring, it forwards the SIP call request to the LIG AS; when the request message reaches the LIG AS, the LIG AS device applies for resources in the device to set the calling and called proxy ports of this call. After the resource port application is successful, the SIP message will be modified, and the calling agent port (IP+UDP Port, Internet Protocol + User Datagram Protocol port) located on the LIG AS will be sent to the called user, and the The called proxy port (IP+UDP Port) is sent to the calling user.

这样,在LIG AS的控制下,主叫上行媒体流发送到LIG AS上的被叫代理端口,被叫上行媒体流发送到主叫代理端口。在LIG AS内部,发送到主被叫代理端口的媒体进行交换,并重新转发到主被叫用户。这样,媒体流在LIG AS设备内部实现穿越,这个过程对于主被叫用户来说是透明的。In this way, under the control of the LIG AS, the uplink media stream of the calling party is sent to the called proxy port on the LIG AS, and the uplink media stream of the called party is sent to the calling proxy port. Inside the LIG AS, the media sent to the calling and called agent ports are exchanged and re-forwarded to the calling and called users. In this way, the media stream traverses inside the LIG AS device, and this process is transparent to the calling and called users.

在媒体穿越的同时,LIG AS还负责对于穿越的媒体进行复制,并以标准的HI3消息封装发送给监听中心设备LEMF,从而实现对IMS域通信的监听。While the media is traversing, LIG AS is also responsible for duplicating the traversing media, and encapsulating and sending them to the monitoring center device LEMF in a standard HI3 message, so as to monitor the communication in the IMS domain.

通过以上的步骤完成了HI3消息的封装和传递;HI2消息将由P-CSCF/S-CSCF提供X2接口消息,然后在LIG AS完成HI2消息接口的转换,将内部接口X2消息转换为标准的HI2接口消息。Through the above steps, the encapsulation and delivery of the HI3 message is completed; the HI2 message will be provided by the P-CSCF/S-CSCF with the X2 interface message, and then the conversion of the HI2 message interface will be completed in the LIG AS, and the internal interface X2 message will be converted into a standard HI2 interface information.

下面通过本发明的一实施例进一步详细说明本发明,具体步骤如下,Below, the present invention is further described in detail through an embodiment of the present invention, and the specific steps are as follows,

步骤301,CSCF收到某次会话的SIP消息后,根据消息中源SIP URI(统一资源标识符)、目的SIP URI对应的用户属性进行判断,通过查询初始过滤规则iFC条件,判断是否符合触发监听的条件;当满足触发监听的条件时,再判断该SIP消息路由中是否已经穿越过LIG AS;如果该消息还未经过LIG AS,则触发监听操作。Step 301, after the CSCF receives the SIP message of a certain session, it judges according to the user attributes corresponding to the source SIP URI (Uniform Resource Identifier) and the destination SIP URI in the message, and judges whether it meets the trigger monitoring by querying the iFC condition of the initial filtering rule conditions; when the conditions for triggering the monitoring are met, it is judged whether the SIP message route has passed through the LIG AS; if the message has not passed through the LIG AS, the monitoring operation is triggered.

步骤302,如果触发监听,查询到iFC条件对应的LIG AS后,CSCF将本次呼叫消息转发给LIG AS。Step 302, if monitoring is triggered, after the LIG AS corresponding to the iFC condition is found, the CSCF forwards the call message to the LIG AS.

步骤303,LIG AS为本次呼叫分配主被叫代理端口。In step 303, the LIG AS allocates the calling and called agent ports for this call.

LIG AS收到呼叫请求消息后,在本地申请主被叫代理端口,同时建立本次呼叫的端口地址映射表。如果申请失败,即申请主叫和/或被叫代理端口失败,LIG将根据该用户的监听设置条件进行处理,如果该用户的监听属性设置为必须进行监听设置,则给CSCF返回失败指示,导致本次呼叫失败;否则,本次监听被忽略,LIG AS将收到的呼叫消息转发回CSCF,CSCF按照正常处理完成本次呼叫控制。After receiving the call request message, the LIG AS applies for the calling and called agent ports locally, and at the same time establishes the port address mapping table for this call. If the application fails, that is, the application for the calling and/or called agent port fails, LIG will process it according to the monitoring setting conditions of the user. If the monitoring attribute of the user is set as the monitoring setting must be performed, a failure indication will be returned to CSCF, resulting in This call fails; otherwise, this monitoring is ignored, LIG AS forwards the received call message back to CSCF, and CSCF completes this call control according to normal processing.

步骤304,LIG AS建立到LEMF的HI3通道。Step 304, LIG AS establishes HI3 channel to LEMF.

LIG AS申请代理端口成功后,建立到LEMF的HI3通道。如果HI3通道建立失败,LIG AS将根据该用户的监听设置条件进行处理。如果用户的监听属性设置为在HI3通道建立失败的情况下,不允许继续通信操作,则给CSCF返回失败指示,导致本次呼叫失败;否则,本次监听被忽略,LIG AS将收到的呼叫消息转发回CSCF;CSCF按照正常处理完成本次呼叫控制;After LIG AS successfully applies for the proxy port, it establishes the HI3 channel to LEMF. If the HI3 channel fails to be established, LIG AS will handle it according to the monitoring setting conditions of the user. If the monitoring attribute of the user is set to disallow continuing communication operations when the HI3 channel fails to be established, a failure indication will be returned to the CSCF, causing the call to fail; otherwise, the monitoring will be ignored and the call received by the LIG AS will be ignored. The message is forwarded back to CSCF; CSCF completes the call control according to normal processing;

步骤305,LIG AS对SIP消息中端口进行更改来替换主叫地址,将主叫代理端口SDP(会话描述协议)信息替换主叫SDP信息。然后向CSCF转发回修改后的SIP消息,在该消息头的路由信息字段Via中还添加了本LIGAS的路由信息,以防止其他S-CSCF再次触发监听呼叫到LIG AS上;Step 305, the LIG AS changes the port in the SIP message to replace the calling address, and replaces the SDP (Session Description Protocol) information of the calling proxy port with the calling SDP information. Then forward the modified SIP message back to the CSCF, and add the routing information of this LIGAS in the routing information field Via of the message header, so as to prevent other S-CSCFs from triggering the monitoring call to the LIG AS again;

步骤306,CSCF向下一跳网元发送INVITE消息,其中的主叫SDP信息中的端口已经被替换为主叫代理端口;Step 306, the CSCF sends an INVITE message to the next-hop network element, in which the port in the calling SDP information has been replaced with the calling proxy port;

步骤307,CSCF收到来自被叫用户的200OK(即被叫用户的应答消息)消息时,将该消息传递给LIG AS,LIG AS修改该200OK消息的被叫SDP信息,将被叫代理端口SDP信息替换被叫SDP信息,同时更新端口地址映射表;然后向CSCF转发修改后的200OK消息,CSCF将向主叫用户方转发该200OK消息,其中的原被叫用户SDP的端口信息部分已经被替换为被叫代理端口。Step 307, when the CSCF receives the 200OK message from the called user (that is, the response message of the called user), it passes the message to the LIG AS, and the LIG AS modifies the called SDP information of the 200 OK message, and transfers the called proxy port SDP Information replaces the called SDP information, and updates the port address mapping table at the same time; then forwards the modified 200OK message to the CSCF, and the CSCF will forward the 200OK message to the calling party, in which the port information part of the original called user SDP has been replaced It is the called proxy port.

步骤308,主被叫通信后,主被叫媒体将发送到LIG AS上的代理端口,在LIG AS上实现穿越;Step 308, after the communication between the calling party and the called party, the media of the calling party and the called party will be sent to the proxy port on the LIG AS, and the traversal will be realized on the LIG AS;

步骤309,媒体流在LIG AS上完成复制,并发送给LEMF。In step 309, the media stream is copied on the LIG AS and sent to the LEMF.

LIG AS设备需要完成对LEMF的分发操作及HI3接口适配;LIG AS查询用户的设控数据,对于多个监听中心同时对一个用户进行设控的情况,每个监听中心的设控方式和HI3接口要求可能不同。LIG AS根据设控监听中心的设控参数,向多个设控的监听中心复制媒体,按照设控参数组装成LEMF所需的媒体包格式,然后分发给各个LEMF,完成分发操作。LIG AS equipment needs to complete the distribution operation of LEMF and HI3 interface adaptation; LIG AS queries the user's setting and control data. For the situation where multiple monitoring centers control a user at the same time, the setting and control mode of each monitoring center is the same as that of HI3 Interface requirements may vary. According to the setting and control parameters of the monitoring center, LIG AS copies the media to multiple monitoring centers, assembles it into the media package format required by LEMF according to the setting and control parameters, and then distributes it to each LEMF to complete the distribution operation.

各个LEMF对HI3接口要求不同的处理如下。用户媒体的RTP包到达LIG AS,LIG AS根据监听中心对HI3的接口要求进行封装后发送给LEMF。如果LEMF要求以E1中继进行承载(参见ts 101 671),则LIG AS需要将IP媒体包首先转换为TDM(时分复用)方式,并建立到LEMF的ISUP(综合业务数字网用户部分)呼叫。该方式只能完成对语音、传真业务的监听。如果监听中心要求HI3接口按照TS 102232或者TS 133108方式实现,LIG AS将收到的RTP(实时传送协议)包作为数据内容,按照TS 102232或者TS 133108定义的格式进行封装,然后发送给LEMF设备。Each LEMF requires different processing for the HI3 interface as follows. The RTP packet of the user media arrives at the LIG AS, and the LIG AS encapsulates the HI3 interface requirements according to the monitoring center and sends it to the LEMF. If LEMF requires E1 trunk for bearer (refer to ts 101 671), then LIG AS needs to convert the IP media packet into TDM (Time Division Multiplexing) mode first, and establish an ISUP (Integrated Services Digital Network User Part) call to LEMF . This method can only monitor voice and fax services. If the monitoring center requires the HI3 interface to be implemented in accordance with TS 102232 or TS 133108, LIG AS will take the received RTP (Real-time Transport Protocol) packet as the data content, encapsulate it according to the format defined by TS 102232 or TS 133108, and then send it to the LEMF device.

步骤310,在随后的呼叫过程中,对于每次穿越LIG AS的SIP消息,将进行相应的主被叫SDP信息的端口地址和LIG AS修改后的主被叫代理端口地址的转换。Step 310, in the subsequent call process, for each SIP message passing through the LIG AS, the port address of the corresponding calling and called SDP information and the port address of the calling and called agent modified by the LIG AS will be converted.

步骤311,在通信过程中,当SDP发生改变时,如果媒体类型发生变化,只进行消息地址转换后的传递;如果媒体端口地址发生变化时,将更新LIGAS保存的端口地址映射表,并更新随后的SIP呼叫消息的地址信息;Step 311, in the communication process, when the SDP changes, if the media type changes, only the transfer after the message address translation is performed; if the media port address changes, the port address mapping table saved by LIGAS will be updated, and the subsequent The address information of the SIP call message;

对于增加媒体流的情况,LIG AS侧需要增加一组代理端口,同时将新增的媒体流复制发送给LEMF。增加媒体流可以通过在SDP描述中增加“m=”来表示。For the case of adding media streams, the LIG AS side needs to add a group of proxy ports, and at the same time copy and send the newly added media streams to LEMF. Adding a media stream can be indicated by adding "m=" in the SDP description.

对于删除媒体流的情况,每条媒体流对应一组代理端口,因为SDP协议中可以获得媒体流的数目,并且每个媒体流在SDP中的描述顺序是不变的,所以可以将每组代理端口与各条媒体流一一对应。删除媒体流时,LIGAS侧需要将相应的代理端口删除,同时也通过SIP信令消息通知LEMF停止接收媒体。For the case of deleting media streams, each media stream corresponds to a group of proxy ports, because the number of media streams can be obtained in the SDP protocol, and the description order of each media stream in SDP is unchanged, so each group of proxy ports can be There is a one-to-one correspondence between ports and each media stream. When deleting a media stream, the LIGAS side needs to delete the corresponding proxy port, and at the same time notify the LEMF to stop receiving the media through a SIP signaling message.

步骤312,呼叫结束,释放媒体通道,同时释放HI3接口连接,并删除LIG AS中的本次呼叫端口地址映射表。Step 312, the call ends, the media channel is released, and the HI3 interface connection is released at the same time, and the current call port address mapping table in the LIG AS is deleted.

在以上处理中,LIG AS服务器将一次呼叫分为主被叫两个平面来处理,在发往主叫用户消息的SDP中,填写被叫代理端口;在发往被叫用户消息SDP中,填写主叫代理端口。通过这样的方式,控制主被叫用户的媒体流发送到LIG AS的代理端口。In the above processing, the LIG AS server divides a call into two planes for calling and calling. In the SDP sent to the calling user, fill in the called agent port; in the SDP sent to the called user, fill in The calling agent port. In this way, the media stream of the calling and called users is controlled to be sent to the proxy port of LIG AS.

LIG AS对每次呼叫分配代理端口,通过代理端口与主被叫的真实端口来进行媒体通信,并实现媒体的穿越,同时通过HI3接口复制发送到LEMF设备。端口代理和媒体穿越,对于用户和CSCF以外的网元是透明的。LIG AS allocates a proxy port for each call, and uses the proxy port to communicate with the real port of the calling party and the called party to perform media communication, realize media traversal, and copy and send it to the LEMF device through the HI3 interface. Port proxy and media traversal are transparent to users and network elements other than CSCF.

图4是IMS环境下的本发明具体实施的具体消息流程图,下面结合流程图,进一步说明CSCF和LIG AS设备上的对一次监听呼叫的具体处理方法,在图中,LIG AS和LEMF之间通过HI接口进行通信;LIG AS和S-CSCF之间存在X2接口;X2和HI2接口分别有四种消息:BEGIN,CONTINUE,END和REPORT,分别指示呼叫的开始,呼叫中事件,结束和其他报告事件。Fig. 4 is the specific message flow chart of the present invention concrete implementation under the IMS environment, below in conjunction with flow chart, further illustrate the specific processing method to a monitor call on CSCF and LIG AS equipment, in the figure, between LIG AS and LEMF Communication is performed through the HI interface; there is an X2 interface between the LIG AS and the S-CSCF; there are four messages on the X2 and HI2 interfaces: BEGIN, CONTINUE, END, and REPORT, indicating the start of the call, events in call, end, and other reports event.

步骤401:主叫用户发INVITE请求到S-CSCF;Step 401: the calling user sends an INVITE request to the S-CSCF;

步骤402:CSCF设备通过INVITE消息携带的主叫用户的SDP信息,判断是否触发监听的过滤准则;Step 402: The CSCF device judges whether to trigger the monitoring filter criterion through the SDP information of the calling user carried in the INVITE message;

步骤403:当主叫用户的SDP(会话描述协议)信息满足监听触发条件时,S-CSCF将该INVITE请求发送给LIG AS;为了确保LIG AS完成操作后还能再次收到该INVITE请求,还通过在路由有关的消息头中增加部分信息以确保随后的请求消息路由能再次经过自己;Step 403: When the SDP (Session Description Protocol) information of the calling user satisfies the monitoring trigger condition, the S-CSCF sends the INVITE request to the LIG AS; in order to ensure that the LIG AS can receive the INVITE request again after completing the operation, it also By adding some information in the route-related message header to ensure that the subsequent request message route can pass through itself again;

上述部分信息指在该消息头的路由信息字段Via中还添加了本LIG AS的路由信息。The above part of the information means that the routing information of this LIG AS is also added in the routing information field Via of the message header.

步骤404:LIG AS在收到该呼叫请求后,分配本地主被叫代理端口,并建立端口地址映射表,将主被叫SDP和本地主被叫代理端口填入该表格,建立映射关系;Step 404: After receiving the call request, the LIG AS allocates the local calling and called agent ports, and establishes a port address mapping table, fills the calling and called SDP and the local calling and called agent ports into the form, and establishes a mapping relationship;

步骤405,406:LIG AS建立到LEMF的HI3通道,以使得在呼叫中穿越本设备的媒体流在复制完成后能发送到LEMF(CC)中。当CC通道建立完成后,LEMF(CC)将回复ACK给LIG AS以响应请求消息。Steps 405, 406: LIG AS establishes the HI3 channel to LEMF, so that the media stream passing through the device during the call can be sent to LEMF (CC) after copying is completed. When the CC channel is established, LEMF (CC) will reply ACK to LIG AS in response to the request message.

步骤407:LIG AS修改来自S-CSCF的呼叫请求消息,将主叫代理端口地址替换原消息中的主叫SDP信息,然后发送回S-CSCF;Step 407: The LIG AS modifies the call request message from the S-CSCF, replaces the caller SDP information in the original message with the calling agent port address, and then sends it back to the S-CSCF;

步骤408:S-CSCF收到更改后的呼叫请求消息后,按照正常路由传递给目标用户;Step 408: After receiving the changed call request message, the S-CSCF transmits it to the target user according to the normal route;

步骤409,410:S-CSCF按照正常路由转发出呼叫请求后,根据INVITE消息中的相关信息生成X2报告传递给LIG AS,报告类型为BEGIN;LIG AS收到该报告后,将进行接口转换,将该报告转换为标准的HI2接口消息IRI-BEGIN传递给LEMF(IRI);Steps 409 and 410: After the S-CSCF forwards the call request according to the normal route, it generates an X2 report according to the relevant information in the INVITE message and sends it to the LIG AS, and the report type is BEGIN; after the LIG AS receives the report, it will perform interface conversion, Convert the report into a standard HI2 interface message IRI-BEGIN and pass it to LEMF(IRI);

步骤411~415:被叫终端收到INVITE请求后,提示用户并振铃,发送180(Ringing)响应给S-CSCF,S-CSCF将该响应消息转发给LIG AS;LIG AS收到该消息后,按照端口地址映射表来修改地址信息,即将被叫代理端口SDP信息替换被叫SDP信息,然后将修改后的振铃消息发送回S-CSCF;S-CSCF按照正常路由发送回主叫终端;Steps 411-415: After receiving the INVITE request, the called terminal prompts the user and rings, and sends a 180 (Ringing) response to the S-CSCF, and the S-CSCF forwards the response message to the LIG AS; after the LIG AS receives the message , modify the address information according to the port address mapping table, that is, replace the called SDP information with the called proxy port SDP information, and then send the modified ringing message back to the S-CSCF; the S-CSCF sends it back to the calling terminal according to the normal route;

注:如果180振铃消息中带有被叫SDP的更改信息,则需要修改端口地址映射表中的原被叫地址信息;Note: If the 180 ringing message contains the change information of the called SDP, you need to modify the original called address information in the port address mapping table;

步骤416~420:被叫终端应答后,发送200OK响应给S-CSCF,S-CSCF将该响应消息转发给LIG AS;LIG AS收到该消息后,按照端口地址映射表来修改地址信息,即将被叫代理端口SDP信息替换被叫SDP信息,然后将修改后的振铃消息发送回S-CSCF;S-CSCF按照正常路由发送回主叫终端;Steps 416-420: After the called terminal responds, it sends a 200 OK response to the S-CSCF, and the S-CSCF forwards the response message to the LIG AS; after receiving the message, the LIG AS modifies the address information according to the port address mapping table. The SDP information of the called proxy port replaces the called SDP information, and then sends the modified ringing message back to the S-CSCF; the S-CSCF sends it back to the calling terminal according to the normal route;

注:如果200OK消息中带有被叫SDP的更改信息,则需要修改端口地址映射表中的原被叫地址信息;Note: If the 200OK message contains the change information of the called SDP, the original called address information in the port address mapping table needs to be modified;

步骤421,422:S-CSCF在收到200OK应答消息后,将根据200OK消息中的相关信息生成X2报告传递给LIG AS,报告类型为CONTINUE;LIG AS收到该报告后,将进行接口转换,将该报告转换为标准的HI2接口消息IRI-CONTINUE传递给LEMF(IRI);Steps 421, 422: After receiving the 200OK response message, the S-CSCF will generate an X2 report based on the relevant information in the 200OK message and send it to LIG AS, the report type is CONTINUE; after receiving the report, the LIG AS will perform interface conversion, Convert the report into a standard HI2 interface message IRI-CONTINUE and pass it to LEMF(IRI);

步骤423~427:主叫用户收到200OK响应后,回应ACK消息予以证实;ACK消息经由S-CSCF,LIG AS后传递给被叫终端;Steps 423-427: After receiving the 200OK response, the calling user responds with an ACK message for confirmation; the ACK message is passed to the called terminal via the S-CSCF and LIG AS;

步骤428:LIG AS对于从内部关联端口收到的媒体流,通过代理端口将其转发至网元侧对应呼叫用户端口。这样,媒体在LIG AS实现的迂回和穿越,被发送到对端用户。在媒体穿越的同时,LIG将呼叫分支的上下行媒体流分别进行复制,进行HI3接口的标准封装后,转发到监听中心。Step 428: For the media stream received from the internal associated port, the LIG AS forwards it to the corresponding calling user port on the network element side through the proxy port. In this way, the detour and traversal of the media in the LIG AS are sent to the peer user. At the same time of media traversal, LIG copies the uplink and downlink media streams of the call branch respectively, performs standard encapsulation on the HI3 interface, and forwards them to the monitoring center.

步骤429~433:被叫想终止会话,通过S-CSCF向对方发送BYE请求;BYE消息经由S-CSCF,LIG AS后传递给主叫终端;Steps 429-433: The called party wants to terminate the session, and sends a BYE request to the other party through the S-CSCF; the BYE message is passed to the calling terminal through the S-CSCF and LIG AS;

步骤434~438:主叫用户收到BYE请求后,回应200OK消息予以证实;200OK消息经由S-CSCF,LIG AS后传递给被叫终端;Steps 434-438: After receiving the BYE request, the calling user responds with a 200OK message for confirmation; the 200OK message is passed to the called terminal via the S-CSCF and LIG AS;

步骤439,440:LIG AS收到释放证实消息后,将发起到LEMF的HI3通道的释放操作,同时删除该呼叫所对应的端口地址映射表。Steps 439 and 440: After receiving the release confirmation message, the LIG AS will initiate the release operation of the HI3 channel to the LEMF, and delete the port address mapping table corresponding to the call.

步骤441,442:S-CSCF在收到200OK消息后,将根据200OK消息中的相关信息生成X2报告传递给LIG AS,报告类型为END;LIG AS收到该报告后,将进行接口转换,将该报告转换为标准的HI2接口消息IRI-END传递给LEMF(IRI)。Steps 441, 442: After receiving the 200OK message, the S-CSCF will generate an X2 report based on the relevant information in the 200OK message and send it to LIG AS, and the report type is END; The report is converted into a standard HI2 interface message IRI-END and passed to LEMF (IRI).

本发明提出了一种针对IMS通信网络的合法监听方法,基于LIG AS设备提供监听网关和监听应用服务器的功能,接收来自网元的X2信息,并转换为标准的HI2信息;同时控制被控用户媒体通过LIG AS设备代理端口进行迂回,在LIG AS设备上完成复制输出,从而实现对IMS通信进行合法监听功能。本领域的一般技术人员应该理解可以在不超出本发明范围的情况下,实施各种改变、变型和部件的同体替换,以上变换及在其它的各种等同变换均应在本发明的保护范围之内。The present invention proposes a legal monitoring method for IMS communication network. Based on LIG AS equipment, it provides functions of monitoring gateway and monitoring application server, receives X2 information from network elements, and converts it into standard HI2 information; simultaneously controls the controlled user The media detours through the proxy port of the LIG AS device, and completes the copy output on the LIG AS device, so as to realize the legal monitoring function of the IMS communication. Those skilled in the art should understand that without exceeding the scope of the present invention, various changes, modifications and homogeneous replacement of parts can be implemented, and the above transformations and other equivalent transformations should be within the protection scope of the present invention Inside.

Claims (10)

1、一种IP多媒体子系统网络合法监听方法,包含如下步骤:1. A method for legally monitoring an IP multimedia subsystem network, comprising the steps of: (a)呼叫会话控制功能CSCF收到会话发起协议SIP消息,如果需要监听,则将所述SIP消息转发给监听网关应用服务器;(a) The call session control function CSCF receives the session initiation protocol SIP message, and if monitoring is required, the SIP message is forwarded to the monitoring gateway application server; (b)监听网关应用服务器收到所述SIP消息后,为本次呼叫在所述监听网关应用服务器上分配主叫代理端口和被叫代理端口,修改本次呼叫中的SIP消息,将主叫端口信息修改为主叫代理端口信息发送给被叫,将被叫端口信息修改为被叫代理端口信息发送给主叫;(b) After receiving the SIP message, the monitoring gateway application server distributes the calling proxy port and the called proxy port on the monitoring gateway application server for this call, revises the SIP message in this calling, and calls the The port information is changed to the calling agent port information and sent to the called party, and the called port information is changed to the called agent port information and sent to the calling party; (c)主叫和被叫之间通信的媒体流分别发送到所述监听网关应用服务器的被叫代理端口或主叫代理端口,所述监听网关应用服务器复制所述媒体流,发送给法律强制监控设备LEMF。(c) The media streams communicated between the calling party and the called party are respectively sent to the called proxy port or the calling proxy port of the monitoring gateway application server, and the monitoring gateway application server copies the media streams and sends them to the legally enforced Monitoring equipment LEMF. 2、如权利要求1所述的方法,其特征在于,所述步骤(a)中,所述CSCF收到所述SIP消息后,通过查询初始过滤准则判断是否需要监听,查询初始过滤准则后,如果满足监听触发条件,则触发监听。2. The method according to claim 1, wherein in the step (a), after the CSCF receives the SIP message, it judges whether monitoring is required by querying the initial filtering criteria, and after querying the initial filtering criteria, If the monitoring trigger condition is met, the monitoring is triggered. 3、如权利要求1所述的方法,其特征在于,所述步骤(a)中,所述CSCF收到所述SIP消息后,通过查询初始过滤准则判断是否需要监听,查询初始过滤准则后,如果满足监听触发条件,再进一步判断所述SIP消息路由中是否已经穿越过所述监听网关应用服务器,如果没有,则触发监听。3. The method according to claim 1, wherein in the step (a), after the CSCF receives the SIP message, it judges whether monitoring is required by querying the initial filtering criteria, and after querying the initial filtering criteria, If the monitoring trigger condition is satisfied, it is further determined whether the SIP message route has passed through the monitoring gateway application server, and if not, monitoring is triggered. 4、如权利要求1所述的方法,其特征在于,所述步骤(b)中,如果所述监听网关应用服务器分配主叫和/或被叫代理端口失败或建立到LEMF的HI3通道失败,所述监听网关应用服务器根据用户的监听设置条件进行处理,如果用户的监听设置条件为必须监听,则所述监听网关应用服务器给所述CSCF返回失败指示,本次呼叫失败。4. The method according to claim 1, wherein in the step (b), if the listening gateway application server fails to allocate the calling and/or called agent ports or fails to establish the HI3 channel to LEMF, The monitoring gateway application server performs processing according to the user's monitoring setting condition. If the user's monitoring setting condition is necessary to monitor, the monitoring gateway application server returns a failure indication to the CSCF, and the call fails. 5、如权利要求1所述的方法,其特征在于,所述步骤(c)中,所述LEMF为一个或多个,所述监听网关应用服务器将所述媒体流组装成所述LEMF所需的媒体包格式,通过HI3接口发送给所述LEMF。5. The method according to claim 1, characterized in that, in the step (c), there are one or more LEMFs, and the monitoring gateway application server assembles the media stream into the required LEMF The format of the media packet is sent to the LEMF through the HI3 interface. 6、如权利要求1所述的方法,其特征在于,所述步骤(b)中,所述监听网关应用服务器修改所述SIP消息后,发送给所述CSCF,再由所述CSCF发送给所述主叫或被叫。6. The method according to claim 1, characterized in that, in the step (b), after the monitoring gateway application server modifies the SIP message, it sends it to the CSCF, and then the CSCF sends it to the Describe the calling or called. 7、如权利要求1所述的方法,其特征在于,所述步骤(b)中,所述监听网关应用服务器在所述SIP消息的消息头中增加所述监听网关应用服务器的路由信息,将修改后的SIP消息发送给所述CSCF。7. The method according to claim 1, wherein in the step (b), the monitoring gateway application server adds the routing information of the monitoring gateway application server in the message header of the SIP message, and the The modified SIP message is sent to the CSCF. 8、如权利要求6所述的方法,其特征在于,所述CSCF收到所述监听网关应用服务器返回的SIP消息后,生成监听相关信息X2报告,发送给所述监听网关应用服务器,所述监听网关应用服务器将其转换成HI2接口消息传送给所述LEMF。8. The method according to claim 6, characterized in that, after receiving the SIP message returned by the monitoring gateway application server, the CSCF generates a monitoring related information X2 report and sends it to the monitoring gateway application server, the The listening gateway application server converts it into a HI2 interface message and sends it to the LEMF. 9、如权利要求1所述的方法,其特征在于,所述步骤(b)中,所述监听网关应用服务器分配主叫代理端口和被叫代理端口后,在本地建立本次呼叫的端口地址映射表,包含主叫端口和主叫代理端口信息,被叫端口和被叫代理端口信息,在本次呼叫过程中,当主叫或被叫端口改变时,更新所述端口地址映射表。9. The method according to claim 1, characterized in that in the step (b), after the monitoring gateway application server allocates the calling proxy port and the called proxy port, the port address of this call is established locally The mapping table includes the information of the calling port and the calling agent port, and the information of the called port and the called agent port. During this call, when the calling or called port changes, the port address mapping table is updated. 10、一种IP多媒体子系统网络合法监听系统,包含CSCF,LEMF,其特征在于,还包括监听网关应用服务器,其中,10. An IP multimedia subsystem network lawful interception system, comprising CSCF and LEMF, characterized in that it also includes an interception gateway application server, wherein, 所述CSCF接收会话发起协议SIP消息,判断是否需要监听,如果需要监听,则将所述SIP消息转发给监听网关应用服务器;The CSCF receives the Session Initiation Protocol SIP message, judges whether monitoring is required, and if monitoring is required, forwards the SIP message to the monitoring gateway application server; 所述监听网关应用服务器,用于接收CSCF发送的SIP消息,为呼叫在所述监听网关应用服务器上分配主叫代理端口和被叫代理端口,修改呼叫中的SIP消息,将主叫端口信息修改为主叫代理端口信息发送给被叫,将被叫端口信息修改为被叫代理端口信息发送给主叫,接收主叫和被叫发送到所述监听网关应用服务器的被叫代理端口或主叫代理端口的媒体流,并复制所述媒体流,发送给法律强制监控设备LEMF;The monitoring gateway application server is used to receive the SIP message sent by the CSCF, allocate a calling agent port and a called agent port on the monitoring gateway application server for the call, modify the SIP message in the call, and modify the calling port information Send the calling agent port information to the called party, modify the called port information to the called agent port information and send it to the calling party, receive the calling party and the called party and send it to the called party port or calling party of the monitoring gateway application server. Proxy the media stream of the port, and copy the media stream, and send it to the legally enforced monitoring device LEMF; 所述LEMF接收所述监听网关应用服务器发送的媒体流。The LEMF receives the media stream sent by the listening gateway application server.
CNB2007101451272A 2007-08-24 2007-08-24 Method and system for legally monitoring IP multimedia subsystem network Expired - Fee Related CN100531074C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101451272A CN100531074C (en) 2007-08-24 2007-08-24 Method and system for legally monitoring IP multimedia subsystem network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101451272A CN100531074C (en) 2007-08-24 2007-08-24 Method and system for legally monitoring IP multimedia subsystem network

Publications (2)

Publication Number Publication Date
CN101110719A CN101110719A (en) 2008-01-23
CN100531074C true CN100531074C (en) 2009-08-19

Family

ID=39042622

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101451272A Expired - Fee Related CN100531074C (en) 2007-08-24 2007-08-24 Method and system for legally monitoring IP multimedia subsystem network

Country Status (1)

Country Link
CN (1) CN100531074C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222539B (en) * 2008-01-30 2012-02-29 中兴通讯股份有限公司 IP multimedia subsystem and its supplementary service monitoring method
EP2283628B1 (en) 2008-06-06 2016-08-10 Telefonaktiebolaget LM Ericsson (publ) Ims performance monitoring
US8320363B2 (en) 2008-12-01 2012-11-27 Huawei Technologies Co., Ltd. Implementation method, system and device of IMS interception
CN101557603B (en) * 2009-05-15 2011-04-20 华为技术有限公司 Method, device and system for lawful monitoring
CN102045297A (en) * 2009-10-22 2011-05-04 阿尔卡特朗讯公司 Method and equipment for performing strategic management on application server in network
CN101980481B (en) * 2010-11-05 2012-12-05 杭州思福迪信息技术有限公司 Method for realizing session replication and tracking during security terminal emulation protocol monitoring
CN102123367A (en) * 2011-01-19 2011-07-13 华为技术有限公司 Method for monitoring terminal and communication system
CN103384247B (en) * 2013-07-05 2016-03-30 福建星网锐捷通讯股份有限公司 A kind of Video Multicast implementation method based on SIP supervisory control system
CN105681255A (en) * 2014-11-18 2016-06-15 中兴通讯股份有限公司 Method and device for sending and receiving media stream data between network elements
US10491641B2 (en) * 2015-02-20 2019-11-26 T-Mobile Usa, Inc. Inter-IMS service support in telecommunication systems
CN106161357B (en) * 2015-04-02 2019-12-13 中兴通讯股份有限公司 Method, device and application server for realizing lawful interception in IMS network
CN107770128A (en) * 2016-08-17 2018-03-06 中国移动通信有限公司研究院 A kind of business performs method and performs device
CN111163068B (en) * 2019-12-18 2021-12-28 福建星网智慧科技有限公司 LINUX kernel PX gateway based voice compatibility method and system
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
CN101110719A (en) 2008-01-23

Similar Documents

Publication Publication Date Title
CN100531074C (en) Method and system for legally monitoring IP multimedia subsystem network
CN101617302B (en) Application service invocation
EP2112798B1 (en) Service controlling in a service provisioning system
US9692710B2 (en) Media stream management
KR101224254B1 (en) Next generation integration between different domains, such as, enterprise and service provider using sequencing applications and ims peering
WO2006026901A1 (en) The process system for the packet domain service signal and the method using the same
CN110650260B (en) A system and method for intercommunication of network terminal audio with internal and external networks
WO2008021315A2 (en) Methods, systems, and computer program products for associating independent legs of a call in a telecommunications network
EP2649765A1 (en) Traffic routing across and between networks
CN101043691B (en) Legal monitor method for IMS network
US11895160B2 (en) Methods, systems, and computer readable media for routing of packets for lawful interception
CN101030964B (en) Session controller and controlling method
CN102075939B (en) Method, equipment and system for preventing service embezzlement
CN100450024C (en) Service Monitoring Method of Multimedia Subsystem Domain
CN100525309C (en) IP multimedia subsystem domain user access controlling method and its system
Bates et al. Converged multimedia networks
Pranoto et al. Retransmission issue of SIP session over UDP transport protocol in IP Multimedia Subsystem-IMS
CN101346969B (en) Method and device for the configuration of new and modified services in a switching unit of an IP multimedia subsystem
CN101800948B (en) Method, device and system for implementing call deflection service
KR100706339B1 (en) Interworking method and system in SIP based wireless packet switching network system
Kamarali et al. Indicators of IP Multimedia Subsystem (IMS)
Gupta MSF Release 4 Physical Architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090819

Termination date: 20190824