[go: up one dir, main page]

CN1266885C - Method for realizing monitoring based on soft switch - Google Patents

Method for realizing monitoring based on soft switch Download PDF

Info

Publication number
CN1266885C
CN1266885C CN 200410062444 CN200410062444A CN1266885C CN 1266885 C CN1266885 C CN 1266885C CN 200410062444 CN200410062444 CN 200410062444 CN 200410062444 A CN200410062444 A CN 200410062444A CN 1266885 C CN1266885 C CN 1266885C
Authority
CN
China
Prior art keywords
call
monitoring system
mgc
target user
message
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 - Lifetime
Application number
CN 200410062444
Other languages
Chinese (zh)
Other versions
CN1642117A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200410062444 priority Critical patent/CN1266885C/en
Publication of CN1642117A publication Critical patent/CN1642117A/en
Application granted granted Critical
Publication of CN1266885C publication Critical patent/CN1266885C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种基于软交换实现监听的方法,该方法包含:目标用户建立呼叫,MGC与监听系统通过SIP协议格式消息的交互建立呼叫;MG向监听系统上报目标用户的通信内容。根据本发明提出的方法,采用标准的SIP协议作为监听系统与MGC之间进行通信的标准,并且本发明中还定义了基于SIP协议的简化流程;本发明中还明确了MG向监听系统传送目标用户通信内容的承载方式,通过利用成熟规范的协议,使基于软交换实现的合法监听具有良好的标准性和扩展性,使监听接口具有通用性,无需对交换设备进行修改,非常利于后续固定通信网络交换设备与移动通信网络交换设备的融合。

Figure 200410062444

The invention discloses a method for realizing monitoring based on softswitch. The method includes: a target user establishes a call, and an MGC and a monitoring system establish a call through the interaction of SIP protocol format messages; MG reports the communication content of the target user to the monitoring system. According to the method proposed in the present invention, the standard SIP protocol is adopted as the communication standard between the monitoring system and the MGC, and the simplified process based on the SIP protocol is also defined in the present invention; the MG is also specified in the present invention to transmit the target to the monitoring system The bearer mode of user communication content, through the use of mature and standardized protocols, makes the legal interception based on softswitches have good standardization and scalability, makes the interception interface universal, and does not need to modify the switching equipment, which is very conducive to subsequent fixed communications The integration of network switching equipment and mobile communication network switching equipment.

Figure 200410062444

Description

一种基于软交换实现监听的方法A Method of Monitoring Based on Softswitch

技术领域technical field

本发明涉及监听技术,特别是指一种基于软交换实现监听的方法。The invention relates to monitoring technology, in particular to a method for realizing monitoring based on softswitch.

背景技术Background technique

随着通信技术的发展,传统的交换设备逐步演变为承载、控制相分离的框架,语音业务也由传统的时分复用(TDM)的电路型语音逐步演变为可承载在网际协议(IP)网络的分组语音,通信内容采用实时传输协议(RTP,Real-Time Transport Protocol)流的方式在IP网络上进行传输,通信内容可为语音、多媒体业务等。这样,就出现了软交换(Softswitch)技术。With the development of communication technology, traditional switching equipment has gradually evolved into a framework that separates bearer and control, and voice services have gradually evolved from traditional time-division multiplexing (TDM) circuit-based voice to bearer on Internet Protocol (IP) networks. The packet voice, the communication content is transmitted on the IP network in the form of Real-Time Transport Protocol (RTP, Real-Time Transport Protocol) flow, and the communication content can be voice, multimedia services, etc. In this way, Softswitch (Softswitch) technology appeared.

软交换技术是实现新一代语音通信及多媒体和数据交互的核心技术。软交换技术体现了控制/业务与承载相分离的思想,作为控制实体的软交换机,完成呼叫接续、业务控制和用户管理等功能,而业务媒体流的传送由IP网络完成。Softswitch technology is the core technology to realize the new generation of voice communication and multimedia and data interaction. Softswitch technology embodies the idea of separation of control/service and bearer. As a control entity, the softswitch completes functions such as call connection, service control, and user management, while the transmission of service media streams is completed by the IP network.

媒体网关控制器(MGC,Media Gateway Controller)是软交换技术中的核心设备,它位于下一代网络的控制层面,主要完成呼叫控制、认证与授权、计费、业务提供、互联互通等功能,任何业务都需要媒体网关(MG,MediaGateway)在MGC的控制下实现。MG能够将一种网络中的媒体格式转换成另一种网络所要求的媒体格式,MGC根据收到的信令控制MG连接的建立和释放。Media Gateway Controller (MGC, Media Gateway Controller) is the core device in the softswitch technology. It is located at the control layer of the next-generation network and mainly completes functions such as call control, authentication and authorization, billing, service provision, and interconnection. All services require a media gateway (MG, MediaGateway) to be implemented under the control of the MGC. The MG can convert the media format in one network into the media format required by another network, and the MGC controls the establishment and release of the MG connection according to the received signaling.

随着越来越多的恐怖事件和恶性犯罪事件的发生,国家安全性问题日益显现出其重要性。目前,电信合法监听作为国家安全措施的一个重要组成部分在国际社会日益受到重视,许多国家以立法的形式提出了要求,例如:日本于2000年8月15日开始实施《通信监听法》,根据该法律,国家机构可以对指定的目标用户,如犯罪嫌疑人的电话、传真和电子邮件进行监听和拦截,同时,也要求服务提供商必须向执行机构提供监测其数据及语音线路的手段。With the occurrence of more and more terrorist incidents and vicious crimes, the issue of national security has become more and more important. At present, as an important part of national security measures, legal interception of telecommunications has been increasingly valued by the international community, and many countries have put forward requirements in the form of legislation. According to this law, state agencies can monitor and intercept the phone calls, faxes and e-mails of designated target users, such as criminal suspects. At the same time, service providers are also required to provide enforcement agencies with the means to monitor their data and voice lines.

由于承载独立的核心分组网络技术成熟的时间不长,软交换技术还未实行大规模的商用,因此,相关协议只是对基于软交换实现的监听作了大致的描述,根本没有给出实现方法及具体的实现流程。对于基于软交换实现的合法监听,尤其是进行合法监听时,交换设备与监听系统之间采用的通信方式,目前仍没有具体、通用的解决方案存在,各公司主要通过私有协议作为临时的解决方案,来实现交换设备与监听系统之间的通信。Since the independent core packet network technology has not matured for a long time, and the softswitch technology has not yet been commercialized on a large scale, the relevant agreement only gives a general description of the monitoring based on the softswitch, and does not give the implementation method and specific implementation process. For the legal interception based on softswitch, especially the communication mode adopted between the switching device and the interception system, there is still no specific and general solution, and each company mainly uses a private protocol as a temporary solution. , to realize the communication between the switching device and the monitoring system.

这样,在现有的基于软交换实现的监听中,呼叫控制部分只能采用私有协议,例如,自定义隧道机制,通过自定义的隧道传送目标用户的通信内容,将限制后续监听功能的扩展,导致监听接口的差异很大,不具有统一的标准,使得监听系统与交换设备之间的监听接口的适应性和继承性都非常差,同时为了使交换设备能够向监听系统提供监听功能,需要对交换设备进行大量的非标准化的更改,使得基于软交换实现的监听不具有标准性。In this way, in the existing monitoring based on the softswitch, the call control part can only use a private protocol, for example, a custom tunnel mechanism, and the communication content of the target user is transmitted through a custom tunnel, which will limit the expansion of the subsequent monitoring function. As a result, the monitoring interface varies greatly and does not have a unified standard, which makes the adaptability and inheritance of the monitoring interface between the monitoring system and the switching device very poor. At the same time, in order for the switching device to provide the monitoring function to the monitoring system, it is necessary to A large number of non-standardized changes are made to the switching equipment, so that the monitoring based on the softswitch is not standardized.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种基于软交换实现监听的方法,使基于软交换实现的合法监听具有良好的标准性和扩展性。In view of this, the object of the present invention is to provide a method for realizing interception based on softswitch, so that the lawful interception realized based on softswitch has good standardization and expansibility.

为了达到上述目的,本发明提供了一种基于软交换实现监听的方法,预先设定被监听的目标用户,该方法包含以下步骤:In order to achieve the above-mentioned purpose, the present invention provides a kind of method that realizes monitoring based on softswitch, presets the target user that is monitored, and this method comprises the following steps:

A、所述被监听的目标用户建立呼叫时,MGC与监听系统通过SIP协议格式消息的交互建立呼叫;A. When the monitored target user establishes a call, the MGC and the monitoring system establish the call through the interaction of messages in the SIP protocol format;

B、MG向监听系统上报目标用户的通信内容。B. The MG reports the communication content of the target user to the monitoring system.

步骤A中所述MGC与监听系统通过SIP协议格式消息的交互建立呼叫,包括以下步骤:The MGC described in the step A and the monitoring system establish a call through the interaction of the SIP protocol format message, including the following steps:

A1、MGC向监听系统发送SIP协议格式的邀请加入呼叫消息;A1. The MGC sends an invitation to join the call message in the SIP protocol format to the monitoring system;

A2、监听系统收到邀请加入呼叫消息后,向MGC返回呼叫建立响应;A2. After receiving the invitation to join the call message, the monitoring system returns a call establishment response to the MGC;

A3、MGC收到呼叫建立响应后,向监听系统返回响应消息。A3. After receiving the call establishment response, the MGC returns a response message to the monitoring system.

步骤A1中所述的邀请加入呼叫消息中携带有MG的SDP描述;The SDP description of the MG is carried in the invitation to join the call message described in step A1;

步骤A2中所述的呼叫建立响应中携带有SDP的协商结果。The call establishment response mentioned in step A2 carries the SDP negotiation result.

步骤A1中所述的邀请加入呼叫消息中携带有用于关联目标用户的通信内容和活动事件的呼叫关联标识。The call invitation message in step A1 carries a call association identifier for associating the target user's communication content with the activity event.

通过步骤A1中所述的邀请加入呼叫消息的扩展头部携带所述呼叫关联标识。The call association identifier is carried in the extension header of the invitation to join call message mentioned in step A1.

步骤A1中所述的邀请加入呼叫消息中携带有MGC标识,或监听系统标识,或主叫号码,或被叫号码,或以上所述一个以上的组合。The invitation to join the call message in step A1 carries the MGC ID, or the monitoring system ID, or the calling number, or the called number, or a combination of one or more of the above.

所述步骤B为:MG通过标准格式的RTP流向监听系统上报目标用户的通信内容。The step B is: the MG reports the communication content of the target user to the monitoring system through the standard RTP stream.

所述RTP流承载在IP网络上。The RTP stream is carried over an IP network.

所述RTP流中携带有目标用户通信内容的传送方向。The RTP stream carries the transmission direction of the communication content of the target user.

该方法进一步包括:The method further includes:

C1、MGC与监听系统通过SIP协议格式消息的交互修改已经建立的呼叫。C1. The MGC and the monitoring system modify the established call through the interaction of messages in the SIP protocol format.

所述步骤C1包括以下步骤:Said step C1 comprises the following steps:

C11、MGC向监听系统发送SIP协议格式的修改呼叫消息,该修改呼叫消息中携带有呼叫属性;C11. The MGC sends a call modification message in the SIP protocol format to the monitoring system, and the call attribute is carried in the call modification message;

C12、监听系统收到邀请加入呼叫消息后,根据呼叫属性修改已经建立的呼叫,然后向MGC返回呼叫建立响应;C12. After receiving the invitation to join the call message, the monitoring system modifies the established call according to the call attribute, and then returns a call establishment response to the MGC;

C13、MGC收到呼叫建立响应后,向监听系统返回响应消息。C13. After receiving the call establishment response, the MGC returns a response message to the monitoring system.

该方法进一步包括:The method further includes:

C2、MGC与监听系统通过SIP协议格式消息的交互释放呼叫。C2, the MGC and the monitoring system release the call through the interaction of messages in the SIP protocol format.

所述步骤C2包括以下步骤:Described step C2 comprises the following steps:

C21、目标用户释放呼叫,MGC向监听系统发送SIP协议格式的终止呼叫消息;C21. The target user releases the call, and the MGC sends a call termination message in the SIP protocol format to the monitoring system;

C22、监听系统收到终止呼叫消息后,向MGC返回呼叫建立响应,然后释放已经建立的呼叫。C22. After receiving the call termination message, the monitoring system returns a call establishment response to the MGC, and then releases the established call.

该方法进一步包括:取消对被监听的目标用户的设定。The method further includes: canceling setting of the monitored target user.

根据本发明提出的方法,采用标准的SIP协议作为监听系统与MGC之间进行通信的标准,并且本发明中还定义了基于SIP协议的简化流程;本发明中还明确了MG向监听系统传送目标用户通信内容的承载方式,通过利用成熟规范的协议,使基于软交换实现的合法监听具有良好的标准性和扩展性,使监听接口具有通用性,无需对交换设备进行修改,非常利于后续固定通信网络交换设备与移动通信网络交换设备的融合。According to the method proposed in the present invention, the standard SIP protocol is adopted as the communication standard between the monitoring system and the MGC, and the simplified process based on the SIP protocol is also defined in the present invention; the MG is also specified in the present invention to transmit the target to the monitoring system The bearer mode of user communication content, through the use of mature and standardized protocols, makes the legal interception based on softswitches have good standardization and scalability, makes the interception interface universal, and does not need to modify the switching equipment, which is very conducive to subsequent fixed communications The integration of network switching equipment and mobile communication network switching equipment.

附图说明Description of drawings

图1为本发明实现方案示意图;Fig. 1 is the schematic diagram of the realization scheme of the present invention;

图2为设定目标用户流程图;Figure 2 is a flow chart of setting target users;

图3为MGC与监听系统建立呼叫流程图;Figure 3 is a flow chart of establishing a call between the MGC and the monitoring system;

图4为MGC与监听系统修改呼叫流程图;Fig. 4 is the flow chart of calling for modifying the MGC and monitoring system;

图5为MG向监听系统传送目标用户通信内容示意图;FIG. 5 is a schematic diagram of the communication content of the target user transmitted by the MG to the monitoring system;

图6为MGC与监听系统释放呼叫流程图;Fig. 6 is the flow chart of MGC and monitoring system release call;

图7为查询目标用户流程图;Fig. 7 is a flow chart of querying target users;

图8为取消目标用户流程图。Fig. 8 is a flow chart of canceling a target user.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

图1为本发明实现方案示意图,如图1所示,本发明中,设定被监听的目标用户后,在目标用户建立呼叫时,利用标准的会话发起协议(SIP,SessionInitiated Protocol)建立MGC与监听系统之间的呼叫,建立呼叫后,由MG根据MGC的控制,以RTP流的格式向监听系统传送目标用户的通信内容,并且本发明定义了基于SIP的简化流程,使基于软交换实现的合法监听具有良好的标准性和扩展性。Fig. 1 is the schematic diagram of the realization scheme of the present invention, as shown in Fig. 1, in the present invention, after setting the monitored target user, when the target user sets up a call, utilize standard session initiation protocol (SIP, SessionInitiated Protocol) to set up MGC and After the call between the monitoring systems is established, the MG transmits the communication content of the target user to the monitoring system in the format of RTP flow according to the control of the MGC after the call is established, and the invention defines a simplified process based on SIP, so that the softswitch-based Lawful interception has good standardization and scalability.

图2为设定目标用户流程图,如图2所示,设定目标用户的实现过程包括以下步骤:Figure 2 is a flow chart of setting target users. As shown in Figure 2, the implementation process of setting target users includes the following steps:

步骤201:监听系统向MGC发送目标用户设定请求,要求MGC设定目标用户。目标用户设定请求中可携带一个用户标识,也可携带多个用户标识;另外,目标用户设定请求中还可携带对应于目标用户的监听属性,要求MGC设定目标用户的同时,还需设定与该目标用户相对应的监听属性,如监听系统要求MGC只监听目标用户的视频会议。Step 201: the monitoring system sends a target user setting request to the MGC, requesting the MGC to set a target user. The target user setting request can carry one user ID, and can also carry multiple user IDs; in addition, the target user setting request can also carry the monitoring attribute corresponding to the target user, requiring the MGC to set the target user, and at the same time Set monitoring attributes corresponding to the target user, for example, the monitoring system requires the MGC to only monitor the video conference of the target user.

步骤202:MGC收到目标用户设定请求后,设定相应用户为被监听的目标用户,将相应用户加入目标用户列表,然后向监听系统返回目标用户设定响应,通知监听系统已将相应用户设定为被监听的目标用户。Step 202: After receiving the target user setting request, the MGC sets the corresponding user as the monitored target user, adds the corresponding user to the target user list, and then returns a target user setting response to the monitoring system, notifying the monitoring system that the corresponding user has been Set as the target user to be monitored.

MGC设定目标用户后,当有用户通过建立呼叫时,MGC判断该用户是否属于目标用户列表,如果是,则MGC在为目标用户建立呼叫的同时,与监听系统建立呼叫;否则,MGC仅为用户建立呼叫。After the MGC sets the target user, when a user establishes a call, the MGC judges whether the user belongs to the target user list. If so, the MGC establishes a call with the monitoring system while establishing a call for the target user; The user establishes a call.

图3为MGC与监听系统建立呼叫流程图,如图3所示,在目标用户建立呼叫时,MGC将与监听系统建立呼叫,MGC与监听系统建立呼叫的实现过程包括以下步骤:Figure 3 is a flow chart of establishing a call between the MGC and the monitoring system. As shown in Figure 3, when the target user sets up a call, the MGC will establish a call with the monitoring system, and the implementation process of establishing a call between the MGC and the monitoring system includes the following steps:

步骤301:MGC向监听系统发送邀请加入呼叫消息(INVITE),该INVITE中携带有监听所需的参数,如MGC标识、监听系统标识、主叫号码、被叫号码、认证参数、MG的会话描述协议(SDP,Session DescriptionProtocol)的描述等。同时在邀请加入呼叫消息中增加一个扩展头部,用于传递呼叫关联标识(CCC_ID),CCC_ID用于关联目标用户的通信内容和活动事件。该扩展头部的语法可为如下格式:Step 301: The MGC sends an invitation to join the call message (INVITE) to the monitoring system. The INVITE carries parameters required for monitoring, such as MGC ID, monitoring system ID, calling number, called number, authentication parameters, and MG session description Description of the protocol (SDP, Session Description Protocol), etc. At the same time, an extended header is added to the invitation to join the call message, which is used to transfer the call association identifier (CCC_ID), and the CCC_ID is used to associate the communication content and activity events of the target user. The syntax of the extension header can be in the following format:

X-LIC-CCCID=“X-LIC-CCCID”HCOLON 1*DIGIT。X-LIC-CCCID="X-LIC-CCCID" HCOLON 1*DIGIT.

步骤302:监听系统收到INVITE后,向MGC返回200OK响应消息,该200OK中携带有SDP的协商结果。Step 302: After receiving the INVITE, the monitoring system returns a 200 OK response message to the MGC, and the 200 OK carries the SDP negotiation result.

步骤303:MGC收到200OK后,向监听系统返回ACK响应消息,通知监听系统已经收到其对INVITE的响应,这样,MGC建立与监听系统的呼叫。Step 303: After receiving the 200 OK, the MGC returns an ACK response message to the monitoring system, notifying the monitoring system that it has received its response to the INVITE. In this way, the MGC establishes a call with the monitoring system.

MGC也可根据监听系统设定的目标用户的监听属性,在目标用户建立与监听属性相关的呼叫时,建立与监听系统的呼叫。The MGC may also establish a call with the monitoring system when the target user establishes a call related to the monitoring property according to the monitoring attribute of the target user set by the monitoring system.

图4为MGC与监听系统修改呼叫流程图,如图4所示,在目标用户修改呼叫时,MGC将与监听系统修改呼叫,MGC与监听系统修改呼叫的实现过程包括以下步骤:Fig. 4 is the flow diagram of modifying the call between the MGC and the monitoring system. As shown in Fig. 4, when the target user modifies the calling, the MGC will modify the calling with the monitoring system, and the implementation process of modifying the calling between the MGC and the monitoring system includes the following steps:

步骤401:MGC修改建立的呼叫,然后向监听系统发送修改呼叫消息(re-INVITE),该re-INVITE中携带有呼叫属性。Step 401: The MGC modifies the established call, and then sends a modify call message (re-INVITE) to the monitoring system, and the re-INVITE carries call attributes.

步骤402:监听系统收到re-INVITE后,根据呼叫属性修改建立的呼叫,然后向MGC返回200OK,通知MGC已成功修改呼叫。Step 402: After receiving the re-INVITE, the monitoring system modifies the established call according to the call attribute, and then returns 200 OK to the MGC, notifying the MGC that the call has been successfully modified.

步骤403:MGC收到200OK后,向监听系统返回ACK,通知监听系统已经收到其对re-INVITE的响应,这样,MGC与监听系统成功修改之间的呼叫。Step 403: After receiving the 200 OK, the MGC returns an ACK to the monitoring system, notifying the monitoring system that it has received its response to the re-INVITE. In this way, the call between the MGC and the monitoring system is successfully modified.

图5为MG向监听系统传送目标用户通信内容示意图,如图5所示,MG通过标准格式的RTP流向监听系统传送目标用户的通信内容,MG向监听系统传送的RTP流携带有目标用户通信内容的传送方向。RTP流承载在IP网络上,不需要进行额外的扩展,即无需通过私有协议去实现,采用标准协议就完全可实现。另外,为确保目标用户通信内容的安全性,可以采用IP网络链路层的安全机制,如IPSec,增加目标用户通信内容传送过程的安全性。Figure 5 is a schematic diagram of the communication content of the target user transmitted by the MG to the monitoring system. As shown in Figure 5, the MG transmits the communication content of the target user to the monitoring system through the standard RTP stream, and the RTP stream transmitted by the MG to the monitoring system carries the communication content of the target user direction of transmission. The RTP stream is carried on the IP network without additional expansion, that is, it does not need to be realized through a private protocol, and it can be completely realized by using a standard protocol. In addition, in order to ensure the security of the target user's communication content, the security mechanism of the IP network link layer, such as IPSec, can be used to increase the security of the target user's communication content transmission process.

图6为MGC与监听系统释放呼叫流程图,如图6所示,在目标用户释放呼叫时,MGC将与监听系统释放呼叫,MGC与监听系统释放呼叫的实现过程包括以下步骤:Figure 6 is a flow chart of releasing a call between the MGC and the monitoring system. As shown in Figure 6, when the target user releases the call, the MGC will release the call with the monitoring system, and the implementation process of releasing the call between the MGC and the monitoring system includes the following steps:

步骤601:MGC向监听系统发送终止呼叫消息(BYE),通知监听系统释放呼叫。Step 601: The MGC sends a call termination message (BYE) to the monitoring system to notify the monitoring system to release the call.

步骤602:监听系统收到BYE后,向MGC返回200OK,通知MGC已收到BYE,然后释放与MGC的呼叫。MGC收到200OK后,释放与监听系统的呼叫。Step 602: After receiving the BYE, the monitoring system returns 200 OK to the MGC, notifying the MGC that the BYE has been received, and then releases the call with the MGC. After receiving the 200OK, the MGC releases the call with the monitoring system.

图7为查询目标用户流程图,如图7所示,查询目标用户的实现过程包括以下步骤:Figure 7 is a flow chart of querying target users. As shown in Figure 7, the implementation process of querying target users includes the following steps:

步骤701:监听系统向MGC发送目标用户查询请求,要求MGC提供目标用户的相关信息。目标用户查询请求中可携带相应查询参数,如目标用户列表查询、某个目标用户等等,也可设定缺省查询参数为目标用户列表查询。Step 701: The monitoring system sends a target user query request to the MGC, requesting the MGC to provide relevant information of the target user. The target user query request can carry corresponding query parameters, such as target user list query, a target user, etc., and the default query parameter can also be set as target user list query.

步骤702:MGC收到目标用户查询请求后,向监听系统返回目标用户查询响应,该目标用户查询响应中携带有相应查询信息,如根据目标用户查询请求中携带的相应查询参数,向监听系统返回目标用户列表,或某个用户的监听属性等等。Step 702: After receiving the target user query request, the MGC returns a target user query response to the monitoring system. The target user query response carries corresponding query information, for example, returns to the monitoring system according to the corresponding query parameters carried in the target user query request. A list of target users, or a user's listening attributes, etc.

图8为取消目标用户流程图,如图8所示,取消目标用户的实现过程包括以下步骤:Figure 8 is a flow chart of canceling a target user. As shown in Figure 8, the implementation process of canceling a target user includes the following steps:

步骤801:监听系统向MGC发送目标用户取消请求,要求MGC取消对目标用户的设定。目标用户设定请求中可携带一个目标用户,也可携带多个目标用户。Step 801: The monitoring system sends a target user cancellation request to the MGC, requesting the MGC to cancel the setting of the target user. The target user setting request may carry one target user or multiple target users.

步骤802:MGC收到目标用户取消请求后,取消对相应目标用户的设定,将相应目标用户从目标用户列表中删除,然后向监听系统返回目标用户取消响应,通知监听系统已取消相应目标用户的设定。Step 802: After receiving the target user cancellation request, the MGC cancels the setting of the corresponding target user, deletes the corresponding target user from the target user list, and then returns a target user cancellation response to the monitoring system, notifying the monitoring system that the corresponding target user has been canceled settings.

MGC中存储有目标用户列表,当监听系统设定新的被监听目标用户时,MGC就在目标用户列表中增加相应的目标用户,当监听系统取消目标用户时,MGC就在目标用户列表中删除相应的目标用户。The target user list is stored in the MGC. When the monitoring system sets a new target user to be monitored, the MGC will add the corresponding target user to the target user list. When the monitoring system cancels the target user, the MGC will delete it from the target user list. corresponding target users.

另外,监听系统可通知MGC删除目标用户列表,取消对所有目标用户的设定,例如,监听系统通过向MGC发送不携带任何参数的目标用户取消请求,用以通知MGC删除整个目标用户列表。In addition, the monitoring system can notify the MGC to delete the target user list and cancel the setting of all target users. For example, the monitoring system can notify the MGC to delete the entire target user list by sending a target user cancellation request without any parameters to the MGC.

以上所述的MGC可为移动交换中心服务器(MSC Server)、网关移动交换中心服务器(GMSC Server)等分组交换设备。The MGC mentioned above can be a packet switching device such as a mobile switching center server (MSC Server), a gateway mobile switching center server (GMSC Server).

总之,以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。In a word, the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (14)

1、一种基于软交换实现监听的方法,其特征在于,预先设定被监听的目标用户,该方法包含以下步骤:1, a kind of method that realizes monitoring based on soft switch, it is characterized in that, preset the target user that is monitored, this method comprises the following steps: A、所述被监听的目标用户建立呼叫时,MGC与监听系统通过SIP协议格式消息的交互建立呼叫;A. When the monitored target user establishes a call, the MGC and the monitoring system establish the call through the interaction of messages in the SIP protocol format; B、MG向监听系统上报目标用户的通信内容。B. The MG reports the communication content of the target user to the monitoring system. 2、根据权利要求1所述的方法,其特征在于,步骤A中所述MGC与监听系统通过SIP协议格式消息的交互建立呼叫,包括以下步骤:2. The method according to claim 1, characterized in that, in step A, the MGC and the monitoring system establish a call through the interaction of SIP protocol format messages, including the following steps: A1、MGC向监听系统发送SIP协议格式的邀请加入呼叫消息;A1. The MGC sends an invitation to join the call message in the SIP protocol format to the monitoring system; A2、监听系统收到邀请加入呼叫消息后,向MGC返回呼叫建立响应;A2. After receiving the invitation to join the call message, the monitoring system returns a call setup response to the MGC; A3、MGC收到呼叫建立响应后,向监听系统返回响应消息。A3. After receiving the call establishment response, the MGC returns a response message to the monitoring system. 3、根据权利要求2所述的方法,其特征在于,3. The method of claim 2, wherein: 步骤A1中所述的邀请加入呼叫消息中携带有MG的SDP描述;The SDP description of the MG is carried in the invitation to join the call message described in step A1; 步骤A2中所述的呼叫建立响应中携带有SDP的协商结果。The call establishment response mentioned in step A2 carries the SDP negotiation result. 4、根据权利要求2所述的方法,其特征在于,步骤A1中所述的邀请加入呼叫消息中携带有用于关联目标用户的通信内容和活动事件的呼叫关联标识。4. The method according to claim 2, wherein the call invitation message in step A1 carries a call association identifier for associating the target user's communication content with the activity event. 5、根据权利要求4所述的方法,其特征在于,通过步骤A1中所述的邀请加入呼叫消息的扩展头部携带所述呼叫关联标识。5. The method according to claim 4, characterized in that the call association identifier is carried in the extension header of the invitation to join the call message in step A1. 6、根据权利要求2、3或4所述的方法,其特征在于,步骤A1中所述的邀请加入呼叫消息中携带有MGC标识,或监听系统标识,或主叫号码,或被叫号码,或以上所述一个以上的组合。6. The method according to claim 2, 3 or 4, characterized in that the message of inviting to join the call in step A1 carries the MGC ID, or monitoring system ID, or calling number, or called number, Or a combination of one or more of the above. 7、根据权利要求1所述的方法,其特征在于,所述步骤B为:MG通过标准格式的RTP流向监听系统上报目标用户的通信内容。7. The method according to claim 1, wherein the step B is: the MG reports the communication content of the target user to the monitoring system through the RTP stream in a standard format. 8、根据权利要求7所述的方法,其特征在于,所述RTP流承载在IP网络上。8. The method according to claim 7, wherein the RTP stream is carried on an IP network. 9、根据权利要求7所述的方法,其特征在于,所述RTP流中携带有目标用户通信内容的传送方向。9. The method according to claim 7, wherein the RTP stream carries the transmission direction of the communication content of the target user. 10、根据权利要求1所述的方法,其特征在于,该方法进一步包括:10. The method according to claim 1, further comprising: C1、MGC与监听系统通过SIP协议格式消息的交互修改已经建立的呼叫。C1. The MGC and the monitoring system modify the established call through the interaction of messages in the SIP protocol format. 11、根据权利要求10所述的方法,其特征在于,所述步骤C1包括以下步骤:11. The method according to claim 10, characterized in that said step C1 comprises the following steps: C11、MGC向监听系统发送SIP协议格式的修改呼叫消息,该修改呼叫消息中携带有呼叫属性;C11. The MGC sends a call modification message in the SIP protocol format to the monitoring system, and the call attribute is carried in the call modification message; C12、监听系统收到邀请加入呼叫消息后,根据呼叫属性修改已经建立的呼叫,然后向MGC返回呼叫建立响应;C12. After receiving the invitation to join the call message, the monitoring system modifies the established call according to the call attribute, and then returns a call establishment response to the MGC; C13、MGC收到呼叫建立响应后,向监听系统返回响应消息。C13. After receiving the call establishment response, the MGC returns a response message to the monitoring system. 12、根据权利要求1所述的方法,其特征在于,该方法进一步包括:12. The method according to claim 1, further comprising: C2、MGC与监听系统通过SIP协议格式消息的交互释放呼叫。C2, the MGC and the monitoring system release the call through the interaction of messages in the SIP protocol format. 13、根据权利要求12所述的方法,其特征在于,所述步骤C2包括以下步骤:13. The method according to claim 12, wherein said step C2 comprises the following steps: C21、目标用户释放呼叫,MGC向监听系统发送SIP协议格式的终止呼叫消息;C21. The target user releases the call, and the MGC sends a call termination message in the SIP protocol format to the monitoring system; C22、监听系统收到终止呼叫消息后,向MGC返回呼叫建立响应,然后释放已经建立的呼叫。C22. After receiving the call termination message, the monitoring system returns a call establishment response to the MGC, and then releases the established call. 14、根据权利要求1所述的方法,其特征在于,该方法进一步包括:取消对被监听的目标用户的设定。14. The method according to claim 1, further comprising: canceling the setting of the intercepted target user.
CN 200410062444 2004-07-07 2004-07-07 Method for realizing monitoring based on soft switch Expired - Lifetime CN1266885C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410062444 CN1266885C (en) 2004-07-07 2004-07-07 Method for realizing monitoring based on soft switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410062444 CN1266885C (en) 2004-07-07 2004-07-07 Method for realizing monitoring based on soft switch

Publications (2)

Publication Number Publication Date
CN1642117A CN1642117A (en) 2005-07-20
CN1266885C true CN1266885C (en) 2006-07-26

Family

ID=34868842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410062444 Expired - Lifetime CN1266885C (en) 2004-07-07 2004-07-07 Method for realizing monitoring based on soft switch

Country Status (1)

Country Link
CN (1) CN1266885C (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602005006579D1 (en) * 2005-10-25 2008-06-19 Siemens Ag Methods and Network Elements for Content Duplication in Packet Networks
CN100414895C (en) * 2005-10-26 2008-08-27 华为技术有限公司 A system and method for realizing lawful interception
CN101163136B (en) * 2006-10-09 2010-07-14 中兴通讯股份有限公司 A method of playing operator number by using session initiation protocol soft terminal
WO2008086639A1 (en) * 2006-12-30 2008-07-24 Huawei Technologies Co., Ltd. System for voice interception of video phone services in a multi-media network
CN101212719B (en) * 2006-12-31 2011-12-28 华为技术有限公司 Method and system for implementing converged message service in radio communication network
CN101043691B (en) * 2007-04-28 2012-01-11 中兴通讯股份有限公司 Legal monitor method for IMS network
CN101150455B (en) * 2007-10-11 2010-04-21 华为技术有限公司 Service status monitoring method, device and system based on initial session protocol
CN101237486B (en) * 2008-02-26 2011-04-20 中兴通讯股份有限公司 Device for converting TDM media into IP media and method for using this device
CN101237359B (en) * 2008-02-27 2011-08-24 中兴通讯股份有限公司 Monitoring system and method
CN101488954A (en) * 2009-01-09 2009-07-22 中兴通讯股份有限公司 Speech monitoring method and access gateway
WO2015032441A1 (en) * 2013-09-09 2015-03-12 Nokia Solutions And Networks Oy Apparatus and method for lawful interception
CN108650425B (en) * 2018-05-15 2021-03-19 中国联合网络通信集团有限公司 Monitoring method and monitoring system
CN113286380B (en) * 2021-07-20 2021-09-28 四川优家库信息技术有限公司 Communication establishing method, communication method and system based on middleware and Freeswitch

Also Published As

Publication number Publication date
CN1642117A (en) 2005-07-20

Similar Documents

Publication Publication Date Title
CN100531074C (en) Method and system for legally monitoring IP multimedia subsystem network
CN1266885C (en) Method for realizing monitoring based on soft switch
CN1870514A (en) Method for analysing session service quality
CN1553676A (en) Method for Multiple Protocol Terminals to Conduct Same Audio-Video Conference
CN100352295C (en) Realization Method of IP Multimedia Subsystem Session Falling Back to Circuit Switching Call
CN1767630A (en) Method for establishing IP video conference by using telephone network for voice transmission
CN101076151A (en) Multi-medium color-image system and method for transmitting multi-medium color image during process of talk
CN101043691A (en) Legal monitor method for IMS network
CN1809037A (en) Method of implementing end-to-end information interaction
CN1501650A (en) A method for establishing a call flow
CN100344115C (en) Monitoring network system and method
WO2009121284A1 (en) A method, system and gateway for supplying intelligent service
CN101060504A (en) A method for negotiating the next generation of network media gateway fax switching mode
CN1719788A (en) Method for call controlling and service monitoring of soft exchange monitoring
CN1874380A (en) Method for realizing a call
CN1592235A (en) Realizing method of real time monitoring service controlling procedure
CN1716945A (en) Method for detecting medium flow service quality
CN1930849A (en) Method for establishing a call in a telecommunications network, telecommunications network, and controlling device for packet networks
CN1897720A (en) Method for controlling wireless one-key mode speak-right in packet system
CN1870683A (en) Method for implementing legal monitoring
CN1303793C (en) Method for realizing application server communication
CN1731744A (en) Packet voice network monitoring method
CN1738263A (en) Monitoring method for soft switching system media stream and gateway-monitoring processing device
CN102377760B (en) Realize the method and system of voice intercom in video monitoring
CN1838790A (en) PTT service realizing system and method based on VoIP technique

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20060726