[go: up one dir, main page]

CN100433737C - Method, equipment and system for filtering SIP message in communication network - Google Patents

Method, equipment and system for filtering SIP message in communication network Download PDF

Info

Publication number
CN100433737C
CN100433737C CNB2006100341919A CN200610034191A CN100433737C CN 100433737 C CN100433737 C CN 100433737C CN B2006100341919 A CNB2006100341919 A CN B2006100341919A CN 200610034191 A CN200610034191 A CN 200610034191A CN 100433737 C CN100433737 C CN 100433737C
Authority
CN
China
Prior art keywords
message
sip
screening rule
communication network
sip 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 - Fee Related
Application number
CNB2006100341919A
Other languages
Chinese (zh)
Other versions
CN1870604A (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 CNB2006100341919A priority Critical patent/CN100433737C/en
Publication of CN1870604A publication Critical patent/CN1870604A/en
Application granted granted Critical
Publication of CN100433737C publication Critical patent/CN100433737C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种对通信网络中的SIP消息进行过滤的方法,消息发送设备通过通信网络向消息接收设备发送SIP消息,在通信网络中配置消息过滤服务器;该消息过滤服务器接收SIP消息,并根据在该消息过滤服务器上配置的关于消息接收设备的消息过滤规则对SIP消息进行处理。同时,本发明还公开了本方法中的消息过滤器及系统。

Figure 200610034191

The invention discloses a method for filtering SIP messages in a communication network. A message sending device sends a SIP message to a message receiving device through the communication network, and a message filtering server is configured in the communication network; the message filtering server receives the SIP message, and The SIP message is processed according to the message filtering rules configured on the message filtering server for the message receiving device. At the same time, the invention also discloses the message filter and system in the method.

Figure 200610034191

Description

对通信网络中的SIP消息进行过滤的方法、设备及系统 Method, device and system for filtering SIP messages in communication network

技术领域 technical field

本发明涉及移动通信网络技术,尤其涉及一种对通信网络中的SIP消息进行过滤的方法、设备及系统The present invention relates to mobile communication network technology, in particular to a method, device and system for filtering SIP messages in a communication network

背景技术 Background technique

在移动通信网络技术中,由于SIP(会话发起协议)给出了一种消息机制,消息发送设备可以通过移动通信网络向消息接收设备发送SIP消息。In mobile communication network technology, since SIP (Session Initiation Protocol) provides a message mechanism, a message sending device can send a SIP message to a message receiving device through a mobile communication network.

以IMS(IP多媒体子系统)网络为例,在IMS架构下,向消息接收设备发送SIP消息的方式一般包括两种:其一为MS(移动设备)发送。假设MS1为消息发送设备,MS2为消息接收设备。MS1发送的SIP消息经过所述IMS网络中的网元设备(例如CSCF(呼叫会话控制功能))的转发到达MS2,MS2收到该消息后发送一个确认消息(例如200OK)至MS1用以通知MS1该消息已收到。其二为AS(应用服务器)发送,例如HRS(活动表重定向服务器)、PPS(分组预付费服务器)等。这些服务器发送给消息接收设备的消息是由位于该消息接收设备的归属网络中的NS(通知服务器)转发的。NS将来自于HRS或PPS或其它AS的消息经过所述IMS网络中的网元设备(例如CSCF)发送给消息接收设备,该消息接收设备收到该消息后发送一个确认消息(例如200OK)至NS用以通知NS该消息已收到。Taking an IMS (IP Multimedia Subsystem) network as an example, under the IMS framework, there are generally two ways to send a SIP message to a message receiving device: one is sent by an MS (mobile device). Assume that MS1 is a message sending device, and MS2 is a message receiving device. The SIP message sent by MS1 is forwarded by the network element equipment (such as CSCF (Call Session Control Function)) in the IMS network to MS2. After receiving the message, MS2 sends a confirmation message (such as 200 OK) to MS1 to notify MS1 The message has been received. The second is sent by AS (Application Server), such as HRS (Active List Redirection Server), PPS (Packet Prepaid Server) and so on. The messages sent by these servers to the message receiving device are forwarded by NS (Notification Server) located in the message receiving device's home network. The NS sends the message from the HRS or PPS or other AS to the message receiving device through the network element device (such as CSCF) in the IMS network, and the message receiving device sends a confirmation message (such as 200 OK) to the message receiving device after receiving the message. The NS is used to notify the NS that the message has been received.

现有技术中的这种消息机制,不论消息发送设备是MS还是AS,SIP消息在通信网络中传输时各个网元设备仅仅是转发该SIP消息,对SIP消息的内容、来源、发送时间段等信息不关注。因此,消息接收设备的签约用户本来不想要的消息(例如“恭喜中奖”等欺骗信息)也会被发送到消息接收设备。也即是说,通信网络中的负责转发SIP消息的网元设备不具备SIP消息过滤功能,对SIP消息不加判断就发送给消息接收设备,造成使用消息接收设备的签约用户业务体验较差。而且也不利于通信网络中SIP消息内容的健康。With this message mechanism in the prior art, regardless of whether the message sending device is an MS or an AS, each network element device only forwards the SIP message when the SIP message is transmitted in the communication network. Information is not concerned. Therefore, messages that the subscriber of the message receiving device does not want originally (for example, fraudulent information such as "Congratulations on winning the prize") will also be sent to the message receiving device. That is to say, the network element device responsible for forwarding SIP messages in the communication network does not have the SIP message filtering function, and sends the SIP messages to the message receiving device without judgment, resulting in poor service experience for subscribers using the message receiving device. Moreover, it is not conducive to the health of SIP message content in the communication network.

发明内容 Contents of the invention

本发明的目的在于提供一种对通信网络中的SIP消息进行过滤的方法、设备及系统,用以保证通信网络中的SIP消息内容的健康性及提高用户业务体验质量。The object of the present invention is to provide a method, device and system for filtering SIP messages in a communication network, so as to ensure the health of the content of SIP messages in the communication network and improve user service experience quality.

本发明提供了一种对通信网络中的SIP消息进行过滤的方法,消息发送设备通过所述通信网络向消息接收设备发送所述SIP消息,该方法包括:The present invention provides a method for filtering SIP messages in a communication network. A message sending device sends the SIP message to a message receiving device through the communication network. The method includes:

在所述通信网络中配置消息过滤服务器,所述消息过滤服务器上配置有关于所述消息接收设备的消息过滤规则,所述消息过滤规则为:A message filtering server is configured in the communication network, and a message filtering rule about the message receiving device is configured on the message filtering server, and the message filtering rule is:

(a)如果所述SIP消息中不包含所述消息过滤规则中的关键字列表中的任意一项关键字,则允许;否则不允许;或(a) If the SIP message does not contain any keyword in the keyword list in the message filtering rule, then allow it; otherwise it is not allowed; or

(b)如果所述SIP消息中不包含所述消息过滤规则中的阻断地址列表中的任意一项阻断地址,则允许;否则不允许;或(b) If the SIP message does not contain any blocking address in the blocking address list in the message filtering rule, it is allowed; otherwise it is not allowed; or

(c)如果所述SIP消息中包含所述消息过滤规则中的通过地址列表中的任意一项通过地址,则允许;否则不允许;或(c) If the SIP message contains any passing address in the passing address list in the message filtering rule, then allow it; otherwise it is not allowed; or

上述消息过滤规则(a)、(b)、(c)的任意组合。Any combination of the above message filtering rules (a), (b), (c).

所述消息过滤服务器接收所述SIP消息,并判断所述SIP消息是否被所述消息过滤规则允许,判断为是,则将所述SIP消息发送给所述消息接收设备;否则,将所述SIP消息丢弃。The message filtering server receives the SIP message, and judges whether the SIP message is allowed by the message filtering rule, and if it is judged yes, then sends the SIP message to the message receiving device; otherwise, sends the SIP message to the message receiving device; Message discarded.

优选地,所述通信网络为IMS网络。Preferably, the communication network is an IMS network.

本发明还提供另一种对通信网络中的SIP消息进行过滤的方法,消息发送设备通过所述通信网络向消息接收设备发送所述SIP消息,该方法包括:The present invention also provides another method for filtering SIP messages in the communication network. The message sending device sends the SIP message to the message receiving device through the communication network. The method includes:

在所述通信网络中配置消息过滤服务器,所述消息过滤服务器上配置有关于所述消息接收设备的消息过滤规则;A message filtering server is configured in the communication network, and a message filtering rule about the message receiving device is configured on the message filtering server;

所述消息过滤服务器接收所述SIP消息,并判断所述SIP消息是否被所述消息过滤规则允许,判断为是,则将所述SIP消息发送给所述消息接收设备;否则,将所述SIP消息保存,等待所述消息过滤规则允许后将所述SIP消息发送给所述消息接收设备。The message filtering server receives the SIP message, and judges whether the SIP message is allowed by the message filtering rule, and if it is judged yes, then sends the SIP message to the message receiving device; otherwise, sends the SIP message to the message receiving device; The message is saved, and the SIP message is sent to the message receiving device after the message filtering rule permits.

本发明还提供了一种对通信网络中的SIP消息进行过滤的消息过滤服务器,消息发送设备通过所述通信网络向消息接收设备发送所述SIP消息,所述消息过滤服务器配置在所述通信网络中,所述消息过滤服务器包括:The present invention also provides a message filtering server for filtering SIP messages in a communication network, a message sending device sends the SIP message to a message receiving device through the communication network, and the message filtering server is configured on the communication network In, the message filtering server includes:

接收单元,用于接收所述SIP消息;a receiving unit, configured to receive the SIP message;

存储单元,用于存储关于所述消息接收设备的消息过滤规则,所述消息过滤规则为:A storage unit, configured to store message filtering rules about the message receiving device, where the message filtering rules are:

(a)如果所述SIP消息中不包含所述消息过滤规则中的关键字列表中的任意一项关键字,则允许;否则不允许;或(a) If the SIP message does not contain any keyword in the keyword list in the message filtering rule, then allow it; otherwise it is not allowed; or

(b)如果所述SIP消息中不包含所述消息过滤规则中的阻断地址列表中的任意一项阻断地址,则允许;否则不允许;或(b) If the SIP message does not contain any blocking address in the blocking address list in the message filtering rule, it is allowed; otherwise it is not allowed; or

(c)如果所述SIP消息中包含所述消息过滤规则中的通过地址列表中的任意一项通过地址,则允许;否则不允许;或(c) If the SIP message contains any passing address in the passing address list in the message filtering rule, then allow it; otherwise it is not allowed; or

上述消息过滤规则(a)、(b)、(c)的任意组合;Any combination of the above message filtering rules (a), (b), (c);

判定单元,用于判定所述SIP消息是否被所述消息过滤规则允许;a judging unit, configured to judge whether the SIP message is allowed by the message filtering rule;

与所述判定单元一端藕接的发送单元,用于当所述判定单元判断为是时,向所述消息接收设备发送所述SIP消息;和a sending unit coupled to one end of the judging unit, configured to send the SIP message to the message receiving device when the judging unit judges yes; and

与所述判定单元的另一端藕接的丢弃单元,用于当所述判定单元判断为否时,丢弃所述SIP消息。A discarding unit coupled to the other end of the judging unit is configured to discard the SIP message when the judging unit judges no.

本发明还提供了另一种对通信网络中的SIP消息进行过滤的消息过滤服务器,消息发送设备通过所述通信网络向消息接收设备发送所述SIP消息,所述消息过滤服务器配置在所述通信网络中,所述消息过滤服务器包括:The present invention also provides another message filtering server for filtering SIP messages in a communication network. A message sending device sends the SIP message to a message receiving device through the communication network, and the message filtering server is configured in the communication network. In the network, the message filtering server includes:

接收单元,用于接收所述SIP消息;a receiving unit, configured to receive the SIP message;

存储单元,用于存储关于所述消息接收设备的消息过滤规则;a storage unit, configured to store message filtering rules related to the message receiving device;

判定单元,用于判定所述SIP消息是否被所述消息过滤规则允许;a judging unit, configured to judge whether the SIP message is allowed by the message filtering rule;

与所述判定单元第一端藕接的发送单元,用于向所述消息接收设备发送所述SIP消息;a sending unit coupled to the first end of the determining unit, configured to send the SIP message to the message receiving device;

与所述判定单元第二端藕接的保存单元,用于将所述消息保存;A storage unit coupled to the second terminal of the determination unit, configured to store the message;

与所述判定单元第三端藕接的等待单元,用于等待所述消息过滤规则允许。A waiting unit coupled to the third terminal of the judging unit is configured to wait for the message filtering rule to allow.

优选地,所述消息过滤规则为:Preferably, the message filtering rules are:

如果时间不在所述消息过滤规则中的免打扰时间段内,则允许;否则不允许。If the time is not within the do-not-disturb time period in the message filtering rule, it is allowed; otherwise, it is not allowed.

本发明进一步提供了一种对通信网络中的SIP消息进行过滤的系统,包括:The present invention further provides a system for filtering SIP messages in a communication network, comprising:

至少一个消息发送设备,用于通过所述通信网络发送所述SIP消息;at least one message sending device, configured to send said SIP message over said communication network;

至少一个消息接收设备,用于接收所述SIP消息;at least one message receiving device, configured to receive the SIP message;

至少一个消息过滤服务器,该消息过滤服务器藕接在所述通信网络中,该消息过滤服务器包括:At least one message filtering server coupled to the communication network, the message filtering server includes:

接收单元,用于接收所述SIP消息;a receiving unit, configured to receive the SIP message;

存储单元,用于存储关于所述消息接收设备的消息过滤规则,所述消息过滤规则为:A storage unit, configured to store message filtering rules about the message receiving device, where the message filtering rules are:

(a)如果所述SIP消息中不包含所述消息过滤规则中的关键字列表中的任意一项关键字,则允许;否则不允许;或(a) If the SIP message does not contain any keyword in the keyword list in the message filtering rule, then allow it; otherwise it is not allowed; or

(b)如果所述SIP消息中不包含所述消息过滤规则中的阻断地址列表中的任意一项阻断地址,则允许;否则不允许;或(b) If the SIP message does not contain any blocking address in the blocking address list in the message filtering rule, it is allowed; otherwise it is not allowed; or

(c)如果所述SIP消息中包含所述消息过滤规则中的通过地址列表中的任意一项通过地址,则允许;否则不允许;或(c) If the SIP message contains any passing address in the passing address list in the message filtering rule, then allow it; otherwise it is not allowed; or

上述消息过滤规则(a)、(b)、(c)的任意组合;Any combination of the above message filtering rules (a), (b), (c);

判定单元,用于判定所述SIP消息是否被所述消息过滤规则允许;a judging unit, configured to judge whether the SIP message is allowed by the message filtering rule;

与所述判定单元一端藕接的发送单元,用于当所述判定单元判断为是时,向所述消息接收设备发送所述SIP消息;和a sending unit coupled to one end of the judging unit, configured to send the SIP message to the message receiving device when the judging unit judges yes; and

与所述判定单元的另一端藕接的丢弃单元,用于当所述判定单元判断为否时,丢弃所述SIP消息。A discarding unit coupled to the other end of the judging unit is configured to discard the SIP message when the judging unit judges no.

本发明进一步提供了另一种对通信网络中的SIP消息进行过滤的系统,包括:The present invention further provides another system for filtering SIP messages in a communication network, including:

至少一个消息发送设备,用于通过所述通信网络发送所述SIP消息;at least one message sending device, configured to send said SIP message over said communication network;

至少一个消息接收设备,用于接收所述SIP消息;at least one message receiving device, configured to receive the SIP message;

至少一个消息过滤服务器,该消息过滤服务器藕接在所述通信网络中,该消息过滤服务器包括:At least one message filtering server coupled to the communication network, the message filtering server includes:

接收单元,用于接收所述SIP消息;a receiving unit, configured to receive the SIP message;

存储单元,用于存储关于所述消息接收设备的消息过滤规则;a storage unit, configured to store message filtering rules related to the message receiving device;

判定单元,用于判定所述SIP消息是否被所述消息过滤规则允许;a judging unit, configured to judge whether the SIP message is allowed by the message filtering rule;

与所述判定单元第一端藕接的发送单元,用于向所述消息接收设备发送所述SIP消息;a sending unit coupled to the first end of the determining unit, configured to send the SIP message to the message receiving device;

与所述判定单元第二端藕接的保存单元,用于将所述消息保存;A storage unit coupled to the second terminal of the determination unit, configured to store the message;

与所述判定单元第三端藕接的等待单元,用于等待所述消息过滤规则允许。A waiting unit coupled to the third terminal of the judging unit is configured to wait for the message filtering rule to allow.

优选地,所述消息过滤规则为:Preferably, the message filtering rules are:

如果时间不在所述消息过滤规则中的免打扰时间段内,则允许;否则不允许。If the time is not within the do-not-disturb time period in the message filtering rule, it is allowed; otherwise, it is not allowed.

优选地,所述通信网络为IMS网络。Preferably, the communication network is an IMS network.

本发明通过在通信网络中增加执行对SIP消息过滤的功能单元(即消息过滤服务器(MFS)),通过该功能单元对即将发送到消息接收设备的SIP消息结合存储在该功能单元上的消息过滤规则进行过滤处理。如此,使用消息接收设备的签约用户就可以通过自行设定所述消息过滤规则过滤垃圾信息,避免了通信网络中的签约用户被垃圾信息打扰,提高了签约用户的业务体验质量,也同时提高了SIP消息的内容健康性,避免了不健康SIP消息内容在通信网络中散布传播。In the present invention, by adding a functional unit (i.e. message filtering server (MFS)) performing SIP message filtering in the communication network, the SIP message to be sent to the message receiving device is combined with the message filtering stored on the functional unit through the functional unit. rules for filtering. In this way, the subscribers using the message receiving device can filter spam by setting the message filtering rules by themselves, avoiding the subscribers in the communication network from being disturbed by spam, improving the quality of service experience of the subscribers, and at the same time improving The healthy content of the SIP message prevents the dissemination of unhealthy SIP message content in the communication network.

本发明的其它方面及优点将在具体实施方式中结合附图详细说明。Other aspects and advantages of the present invention will be described in detail with reference to the accompanying drawings.

附图说明 Description of drawings

图1为本发明提供的一种对通信网络中的SIP消息进行过滤的系统的结构框图;Fig. 1 is a structural block diagram of a system for filtering SIP messages in a communication network provided by the present invention;

图2a为图1中给出的系统的一个优选实施例的结构框图;Fig. 2 a is a structural block diagram of a preferred embodiment of the system provided in Fig. 1;

图2b为图1中给出的系统的另一个优选实施例的结构框图;Fig. 2 b is a structural block diagram of another preferred embodiment of the system provided in Fig. 1;

图3为图1中的MFS(消息过滤服务器)200的结构图;Fig. 3 is the structural diagram of MFS (message filtering server) 200 in Fig. 1;

图4为图3中的处理单元230的一个优选实施例的结构图;FIG. 4 is a structural diagram of a preferred embodiment of the processing unit 230 in FIG. 3;

图5为图3中的处理单元230的另一个优选实施例的结构图;FIG. 5 is a structural diagram of another preferred embodiment of the processing unit 230 in FIG. 3;

图6为基于图1给出的系统的一次SIP消息传送信息流图;Fig. 6 is a SIP message transmission information flow diagram based on the system provided in Fig. 1;

图7为图1中的MFS200的一次运行流程图;Fig. 7 is a flow chart of one operation of MFS200 in Fig. 1;

图8为图7中的步骤S2的一个优选实施例的流程图;Fig. 8 is a flowchart of a preferred embodiment of step S2 in Fig. 7;

图9为图7中的步骤S2的另一个优选实施例的流程图;Fig. 9 is a flowchart of another preferred embodiment of step S2 in Fig. 7;

图10为本发明提供的对通信网络中的SIP消息进行过滤的方法应用在图2b所示的网络结构中时的信息流图;Fig. 10 is an information flow diagram when the method for filtering SIP messages in a communication network provided by the present invention is applied in the network structure shown in Fig. 2b;

图11为本发明提供的对通信网络中的SIP消息进行过滤的方法应用在图2a所示的网络结构中时的信息流图;Fig. 11 is an information flow diagram when the method for filtering SIP messages in the communication network provided by the present invention is applied in the network structure shown in Fig. 2a;

具体实施方式 Detailed ways

参考图1,图示了本发明提供的对通信网络中的SIP消息进行过滤的系统结构。如图所示,在通信网络100中,包括MFS(消息过滤服务器)200。该MFS200藕接在所述通信网络100中。所述通信网络100还包括消息发送设备101和消息接收设备102。所述消息发送设备101和消息接收设备102都与所述MFS200藕接。所述消息发送设备101发送的消息必须经过所述MFS200的过滤才能决定是否传送到所述消息接收设备102上。Referring to FIG. 1 , it illustrates a system structure for filtering SIP messages in a communication network provided by the present invention. As shown in the figure, in the communication network 100, an MFS (Message Filtering Server) 200 is included. The MFS 200 is coupled to the communication network 100 . The communication network 100 also includes a message sending device 101 and a message receiving device 102 . Both the message sending device 101 and the message receiving device 102 are coupled to the MFS200. The message sent by the message sending device 101 must be filtered by the MFS200 before it can decide whether to send it to the message receiving device 102 .

参考图2a和图1,图2a图示了图1中给出的系统的一个优选实施例。如图所示,IMS(IP多媒体子系统)网络100a是通信网络。在该IMS网络100a中包括CSCF(呼叫会话控制功能)106。所述CSCF106可以进一步分为P-CSCF(代理呼叫会话控制功能)、I-CSCF(查询呼叫会话功能)和S-CSCF(服务呼叫会话功能)(图未示)。因为对于本领域普通技术人员而言,CSCF的用途、功能和结构等是显而易见的,在此不再赘述。Referring to Fig. 2a and Fig. 1, Fig. 2a illustrates a preferred embodiment of the system presented in Fig. 1 . As shown, an IMS (IP Multimedia Subsystem) network 100a is a communication network. A CSCF (Call Session Control Function) 106 is included in this IMS network 100a. The CSCF 106 can be further divided into P-CSCF (Proxy Call Session Control Function), I-CSCF (Inquiry Call Session Function) and S-CSCF (Serving Call Session Function) (not shown). Since the purpose, function and structure of the CSCF are obvious to those skilled in the art, details will not be repeated here.

参考图2a和图1,与所述CSCF106藕接的网元设备包括HSS(归属签约服务器)104、HLR(归属位置寄存器)105和NS(通知服务器)103。MS102a和MS101d也与CSCF106藕接。所述MS102a和MS101d为签约用户使用的移动设备,可以从所述IMS网络100a中发送/接收SIP消息。所述MS102a和MS101d可以是能够与IMS网络100a通信的手机、PDA(个人数字助手)和带无线网卡的手提计算机等。Referring to FIG. 2 a and FIG. 1 , the network element devices coupled with the CSCF 106 include HSS (Home Subscription Server) 104 , HLR (Home Location Register) 105 and NS (Notification Server) 103 . MS102a and MS101d are also coupled with CSCF106. The MS102a and MS101d are mobile devices used by subscribers, and can send/receive SIP messages from the IMS network 100a. The MS102a and MS101d may be mobile phones, PDAs (Personal Digital Assistants) and portable computers with wireless network cards, etc. that can communicate with the IMS network 100a.

参考图2a和图1,与所述NS103藕接的设备包括HRS(活动表重定向服务器)101c、PPS(分组预付费服务器)101b和Other AS(其它服务器)101a。所述Other AS101a是一个类概念,包括除PPS101b和HRS101c之外的任何应用服务器。所述HRS101c、PPS101b和Other AS101a都是可以向MS102a发送SIP消息的消息发送设备。With reference to Fig. 2 a and Fig. 1, the device coupled with described NS103 comprises HRS (active list redirection server) 101c, PPS (packet prepayment server) 101b and Other AS (other server) 101a. The Other AS101a is a class concept, including any application server except PPS101b and HRS101c. The HRS101c, PPS101b and Other AS101a are all message sending devices that can send SIP messages to MS102a.

参考图2a和图1,在本实施例中,如果将MS102a作为消息接收设备,那么与图1中所述消息发送设备101所对应的设备为Other AS101a、PPS101b、HRS101c和MS101d其中任何一个。Referring to Fig. 2a and Fig. 1, in this embodiment, if MS102a is used as the message receiving device, the device corresponding to the message sending device 101 in Fig. 1 is any one of Other AS101a, PPS101b, HRS101c and MS101d.

参考图2a和图1,MFS200a也藕接在CSCF106上。具体地,所述MFS200a可以藕接在CSCF106中MS102a的归属网络中的S-CSCF上。Referring to Fig. 2a and Fig. 1, MFS200a is also coupled to CSCF106. Specifically, the MFS200a can be coupled to the S-CSCF in the home network of the MS102a in the CSCF106.

值得说明的是,图2a中优选实施例所列举的设备没有穷尽IMS网络中所有可能的设备,每个设备也没有数量上的限制。并且,消息接收设备也不仅限于移动设备(MS),在本发明的其它实施例中,消息接收设备也可以是位于IMS网络中的其它类型终端设备。It is worth noting that the devices listed in the preferred embodiment in Fig. 2a do not exhaust all possible devices in the IMS network, and there is no limit on the number of each device. Moreover, the message receiving device is not limited to a mobile device (MS). In other embodiments of the present invention, the message receiving device may also be other types of terminal devices located in the IMS network.

参考图2a,所述Other AS101a、PPS101b和HRS101c发送给MS102a的SIP消息经NS103转发到CSCF106中,再由CSCF106转发到MFS200a,MFS200a根据其上配置的关于MS102a的消息过滤规则对所述SIP消息进行处理,在处理过程中MFS200a决定是否发送所述SIP消息到MS102a。MS101d向MS102a发送SIP消息的过程与上述过程类似,在此不再赘述。Referring to Fig. 2a, the SIP message sent by the Other AS101a, PPS101b and HRS101c to MS102a is forwarded to CSCF106 via NS103, and then forwarded to MFS200a by CSCF106, and MFS200a processes the SIP message according to the message filtering rules configured on it for MS102a Processing, during which MFS200a decides whether to send the SIP message to MS102a. The process for MS 101d to send a SIP message to MS 102a is similar to the above process, and will not be repeated here.

参考图2a、图2b和图1,图2b图示了图1中给出的系统的另一个优选实施例。如图所示,与图2a相比,图2b将MFS200a配置在作为消息发送设备的MS101d、Other AS101a、PPS101b、HRS101c与CSCF106之间。也即是说,这些消息发送设备发送的SIP消息在进入CSCF106之前要经过MFS200a的处理。Referring to Fig. 2a, Fig. 2b and Fig. 1, Fig. 2b illustrates another preferred embodiment of the system given in Fig. 1 . As shown in the figure, compared with FIG. 2a, in FIG. 2b, MFS200a is configured between MS101d, Other AS101a, PPS101b, HRS101c and CSCF106 as message sending devices. That is to say, the SIP messages sent by these message sending devices need to be processed by MFS200a before entering CSCF106.

值得说明的是,图2a和图2b中的NS103并不是本发明所必需的功能实体,在本发明的又一个具体实施例中,作为消息发送设备的应用服务器(AS)可以直接与CSCF耦接,并不需要一定要先通过NS才能与CSCF通信。因此,图2a和图2b中的具体实施结构不能看作是对本发明的限制。It should be noted that the NS103 in Fig. 2a and Fig. 2b is not a necessary functional entity of the present invention, and in another specific embodiment of the present invention, the application server (AS) as the message sending device can be directly coupled with the CSCF , it is not necessary to communicate with the CSCF through the NS first. Therefore, the specific implementation structure in Fig. 2a and Fig. 2b should not be regarded as a limitation of the present invention.

参考图3,图示了图1中的MFS200的结构。所述MFS200包括接收单元210,用于接收SIP消息。所述SIP消息沿箭头201所示的方向进入接收单元210。所述MFS200还包括存储单元220,用于存储消息过滤规则。所述MFS200还包括处理单元230,用于根据存储单元220中存储的所述消息过滤规则对接收单元接收到的SIP消息进行处理。所述处理单元230、接收单元210和存储单元220通过总线202藕接在一起,以便相互通信。值得说明的是,MFS200的这种结构可以在通用计算机中以硬件、软件或固件的形式实施。Referring to FIG. 3 , the structure of the MFS 200 in FIG. 1 is illustrated. The MFS200 includes a receiving unit 210 for receiving SIP messages. The SIP message enters the receiving unit 210 along the direction indicated by the arrow 201 . The MFS 200 also includes a storage unit 220 for storing message filtering rules. The MFS 200 further includes a processing unit 230 configured to process the SIP message received by the receiving unit according to the message filtering rule stored in the storage unit 220 . The processing unit 230 , the receiving unit 210 and the storage unit 220 are coupled together through the bus 202 so as to communicate with each other. It is worth noting that this structure of MFS200 can be implemented in a general computer in the form of hardware, software or firmware.

参考图1、图3、图6和图7。图6图示了基于图1给出的系统的一次S IP消息传送信息流。如图所示,信息流传送过程包括:信息流1:消息发送设备101发送SIP消息至MFS200,所述SIP消息可以是SIP MESSAGE消息。MFS200接收到所述SIP消息后处理,在处理过程中,首先MFS200给消息发送设备101发送确认信息(即信息流2),防止消息发送设备101再次发送所述SIP消息。在处理过程中,如果MFS200根据关于MS102的消息过滤规则没有过滤掉所述SIP消息就会有信息流3:MFS200给MS102发送所述SIP消息。信息流4:MS102收到所述SIP消息后会给MFS200发送确认信息,防止MFS200再次发送所述消息。Refer to Figures 1, 3, 6 and 7. Figure 6 illustrates a SIP message transmission information flow based on the system shown in Figure 1. As shown in the figure, the information flow transmission process includes: information flow 1: the message sending device 101 sends a SIP message to the MFS200, and the SIP message may be a SIP MESSAGE message. MFS200 processes after receiving the SIP message. During the processing, firstly, MFS200 sends confirmation information (namely information flow 2) to message sending device 101 to prevent message sending device 101 from sending the SIP message again. During the processing, if MFS200 does not filter out the SIP message according to the message filtering rules about MS102, there will be information flow 3: MFS200 sends the SIP message to MS102. Information flow 4: MS102 sends confirmation information to MFS200 after receiving the SIP message, preventing MFS200 from sending the message again.

图7则是MFS200上的流程图,与图3中MFS200的结构相对应,流程包括:程序经过开始步骤后,进入步骤S1:接收SIP消息;然后进入步骤S2:处理所述SIP消息。Fig. 7 is a flow chart on MFS200, corresponding to the structure of MFS200 in Fig. 3, the flow includes: after the program goes through the start step, enter step S1: receive SIP message; then enter step S2: process the SIP message.

参考图4和图8。图4是图3中处理单元230的一个优选实施例的结构图。如图所示,处理单元230包括判定单元231a,该判定单元231a有两个分支,一个分支藕接丢弃单元232,另一个分支藕接发送单元233a。发送单元233a通过箭头239a所示的方向将SI P消息发送出去。与图4的结构对应,图8是图7中步骤S2的一个优选实施例。步骤S2包括:程序经过开始步骤后进入步骤S21a:判定所述SIP消息是否被消息过滤规则允许,如果允许,则进入步骤S22a:将所述SIP消息发送给消息接收设备(例如图1中的消息接收设备102)后进入结束步骤;如果不允许,则进入步骤S23a:将所述SIP消息丢弃后进入结束步骤。Refer to Figure 4 and Figure 8. FIG. 4 is a structural diagram of a preferred embodiment of the processing unit 230 in FIG. 3 . As shown in the figure, the processing unit 230 includes a decision unit 231a, and the decision unit 231a has two branches, one branch is connected to the discarding unit 232, and the other branch is connected to the sending unit 233a. The sending unit 233a sends the SIP message in the direction shown by the arrow 239a. Corresponding to the structure in FIG. 4 , FIG. 8 is a preferred embodiment of step S2 in FIG. 7 . Step S2 comprises: the program enters step S21a after the start step: determine whether the SIP message is allowed by the message filtering rule, if allowed, then enter step S22a: send the SIP message to the message receiving device (such as the message in Fig. 1 The receiving device 102) enters the end step; if not allowed, enters step S23a: discards the SIP message and enters the end step.

参考图8,所述消息过滤规则的一个优选实施例为:所述消息过滤规则中包含一个关键字表,该关键字表包含若干关键字,例如“中奖”、“二手车”等,该关键字表中的关键字可以由使用接收所述SIP消息的消息接收设备的签约用户自行设定,关键字中还可以包括通配符,例如“恭喜*”。如果所述SIP消息中不包含该关键字表中的任意一项关键字,则允许,否则不允许。Referring to Fig. 8, a preferred embodiment of the message filtering rule is: the message filtering rule includes a keyword table, which contains several keywords, such as "winning", "used car", etc., the key The keywords in the word table can be set by the subscriber who uses the message receiving device that receives the SIP message, and the keywords can also include wildcards, such as "congratulations *". If the SIP message does not contain any keyword in the keyword table, it is allowed, otherwise it is not allowed.

参考图8,所述消息过滤规则的另一个优选实施例为:所述消息过滤规则中包含一个阻断地址列表,该阻断地址列表包含若干阻断地址,该阻断地址的格式可以是符合IMS网络规范的SIP URI(统一资源标示符),例如“example@example.com”。同样,可以由使用接收所述SIP消息的消息接收设备的签约用户自行设定阻断地址,该阻断地址中也可以包括通配符。如果所述SIP消息中的发送方地址不包含所述阻断地址列表中的任意一项阻断地址,则允许,否则不允许。Referring to Fig. 8, another preferred embodiment of the message filtering rule is as follows: the message filtering rule includes a blocking address list, the blocking address list includes several blocking addresses, and the format of the blocking addresses can be in accordance with The SIP URI (Uniform Resource Identifier) of the IMS network specification, such as "example@example.com". Likewise, the subscriber who uses the message receiving device that receives the SIP message can set the blocking address by himself, and the blocking address can also include wildcards. If the sender address in the SIP message does not contain any blocked address in the blocked address list, it is allowed, otherwise it is not allowed.

参考图8,所述消息过滤规则的又一个优选实施例为:所述消息过滤规则中包含一个通过地址列表,该通过地址列表包含若干通过地址,该通过地址的格式可以是符合IMS网络规范的SIP URI(统一资源标示符),例如“example@example.com”。同样,可以由使用接收所述SIP消息的消息接收设备的签约用户自行设定通过地址,该通过地址中也可以包括通配符。如果所述SIP消息中的发送方地址包含所述通过地址列表中的任意一项通过地址,则允许,否则不允许。Referring to Fig. 8, another preferred embodiment of the message filtering rule is as follows: the message filtering rule includes a list of passing addresses, the list of passing addresses includes several passing addresses, and the format of the passing addresses may conform to the IMS network specification SIP URI (Uniform Resource Identifier), such as "example@example.com". Likewise, the subscriber who uses the message receiving device that receives the SIP message can set the pass address by himself, and the pass address can also include wildcards. If the sender address in the SIP message includes any one of the passing addresses in the passing address list, it is allowed; otherwise, it is not allowed.

值得说明的是,所述消息过滤规则还可以包括上述优选实施例所列举的消息过滤规则的任意组合,还可以包括其它消息过滤规则及其组合。It should be noted that the message filtering rules may also include any combination of the message filtering rules listed in the above preferred embodiments, and may also include other message filtering rules and combinations thereof.

参考图8,在这个优选实施例中,使用接收所述SIP消息的消息接收设备的签约用户对不愿接收的SIP消息可以通过自行设定消息过滤规则过滤掉,从而免除了垃圾信息或不愿接收的信息的打扰。With reference to Fig. 8, in this preferred embodiment, the subscriber who uses the message receiving device that receives the SIP message can filter out the SIP messages that are unwilling to receive by setting the message filtering rules by oneself, thereby avoiding spam or unwilling Interruption of received information.

参考图5和图9。图5是图3中处理单元230的另一个优选实施例的结构图。如图所示,处理单元230包括判定单元231b,该判定单元231b有两个分支,一个分支藕接保存单元234,另一个分支藕接发送单元233b。发送单元233b通过箭头239b所示的方向将SIP消息发送出去。此外,判定单元231b还藕接了等待单元235。与图5的结构对应,图9是图7中步骤S2的另一个优选实施例。步骤S2包括:程序经过开始步骤后进入步骤S21b:判定所述SIP消息是否被消息过滤规则允许,如果允许,则进入步骤S22b:将所述SIP消息发送给消息接收设备(例如图1中的消息接收设备102)后进入结束步骤;如果不允许,则进入步骤S24:将所述SIP消息保存。然后进入步骤S25:等待。在该步骤S25中,可以采用设定计时器的方式,每隔一段时间就返回步骤S21b。Refer to Figure 5 and Figure 9. FIG. 5 is a structural diagram of another preferred embodiment of the processing unit 230 in FIG. 3 . As shown in the figure, the processing unit 230 includes a judging unit 231b, and the judging unit 231b has two branches, one branch is connected to the saving unit 234, and the other branch is connected to the sending unit 233b. The sending unit 233b sends the SIP message in the direction indicated by the arrow 239b. In addition, the judging unit 231b is also coupled to the waiting unit 235 . Corresponding to the structure in FIG. 5 , FIG. 9 is another preferred embodiment of step S2 in FIG. 7 . Step S2 comprises: the program enters step S21b after the start step: determine whether the SIP message is allowed by the message filtering rule, if allowed, then enter step S22b: send the SIP message to the message receiving device (such as the message in Fig. 1 After receiving the device 102), enter the end step; if not allowed, then enter step S24: save the SIP message. Then enter step S25: wait. In this step S25, a method of setting a timer may be adopted, and the process returns to step S21b at intervals.

参考图9,所述消息过滤规则的一个优选实施例为:所述消息过滤规则中包括免打扰时间段,例如“00:00-7:00”。可以由使用接收所述SIP消息的移动设备的签约用户自行设定免打扰时间段。如果时间(指系统时间)不在所述的免打扰时间段内则允许,否则不允许。Referring to FIG. 9 , a preferred embodiment of the message filtering rule is: the message filtering rule includes a do-not-disturb time period, such as "00:00-7:00". The do-not-disturb time period can be set by the subscriber using the mobile device receiving the SIP message. If the time (referring to the system time) is not within the do-not-disturb time period, it is allowed, otherwise it is not allowed.

参考图9,在这个优选实施例中,如果在免打扰时间段内MFS200接收到SIP消息,就会将该SIP消息保存起来,一直等到时间不在所述的免打扰时间段内再将所述SIP消息发送。因此,使用接收所述S IP消息的消息接收设备的签约用户可以通过自由设定免打扰时间段,从而避免在不愿被打扰的时间段内接收SIP消息,而且,SIP消息也不会被丢弃,当时间不在免打扰时间段时所述签约用户就会接收到所述SIP消息。Referring to FIG. 9, in this preferred embodiment, if MFS200 receives a SIP message during the do-not-disturb time period, it will save the SIP message, and wait until the time is not within the do-not-disturb time period before sending the SIP message. message sent. Therefore, the subscriber who uses the message receiving device that receives the SIP message can freely set the do-not-disturb time period, thereby avoiding receiving the SIP message in the time period when he does not want to be disturbed, and the SIP message will not be discarded , when the time is not in the do-not-disturb period, the subscriber will receive the SIP message.

所述对通信网络中的SIP消息进行过滤的方法如果应用在图2b所示的网络结构中,假设MS102a为消息接收设备,MS101d为消息发送设备,CSCF106包括I-CSCF、S-CSCF和P-CSCF(图2b未示上述三者),那么该方法的信息流如图10所示。参考图10,信息流包括:1:MS101d发送SIPMESSAGE消息给MS102a,根据MS102a的地址信息可知该MS102a用户所归属的网络,故根据网络配置的路由规则,将所述SIP MESSAGE发送到MFS200a做过滤处理。2:MFS200a收到SIP MESSAGE消息后,回复200OK消息给MS101d。3:MFS200a根据SIP MESSAGE消息的接收方地址查找MS102a在MFS200a上的过滤规则。如果MS102a在MFS200a有过滤规则,则根据该过滤规则内容对SIP MESSAGE消息进行过滤。经过过滤后,被过滤规则允许发送给MS 102a的SIP MESSAGE消息才会由MFS200a转发给MS102a,未通过过滤规则的SIP MESSAGE消息则会被MFS200a做过滤处理。4-6:按照现有的IMS架构下对SIP MESSAGE消息的转发路由机制,SIP MESSAGE消息经由I-CSCF、S-CSCF、P-CSCF转发至MS102a。7-9:MS102a收到SIP MESSAGE消息后,回复200OK消息。该200OK消息按照现有的IMS架构下的转发路由机制,经由P-CSCF、S-CSCF转发至MFS200a。If the method for filtering SIP messages in the communication network is applied in the network structure shown in FIG. CSCF (the above three are not shown in Fig. 2b), then the information flow of this method is shown in Fig. 10 . Referring to Fig. 10, the information flow includes: 1: MS101d sends a SIPMESSAGE message to MS102a, and according to the address information of MS102a, the network to which the user of MS102a belongs can be known, so according to the routing rules configured in the network, the SIP MESSAGE is sent to MFS200a for filtering processing . 2: MFS200a returns a 200OK message to MS101d after receiving the SIP MESSAGE message. 3: The MFS200a searches for the filtering rules of the MS102a on the MFS200a according to the receiver address of the SIP MESSAGE message. If MS102a has filtering rule in MFS200a, then filter SIP MESSAGE message according to the content of this filtering rule. After filtering, the SIP MESSAGE message that is allowed to be sent to MS 102a by the filtering rule will be forwarded to MS 102a by MFS200a, and the SIP MESSAGE message that does not pass the filtering rule will be filtered by MFS200a. 4-6: According to the forwarding and routing mechanism of the SIP MESSAGE message under the existing IMS architecture, the SIP MESSAGE message is forwarded to MS102a via I-CSCF, S-CSCF, and P-CSCF. 7-9: After receiving the SIP MESSAGE message, MS102a replies with a 200 OK message. The 200OK message is forwarded to MFS200a via P-CSCF and S-CSCF according to the forwarding routing mechanism under the existing IMS architecture.

如果所述对通信网络中的SIP消息进行过滤的方法应用在图2a所示的网络结构中,假设MS102a为消息接收设备,MS101d为消息发送设备,CSCF106包括I-CSCF、S-CSCF和P-CSCF(图2b未示上述三者),那么该方法的信息流如图11所示。参考图11,信息流包括:1:MS101d发送SIP MESSAGE消息给MS 102a。根据MS102a的地址可知该MS102a用户所归属的网络地址,根据IMS网络路由规则,将该SIP MESSAGE消息发送到所述MS102a用户所在归属网络的I-CSCF。2:I-CSCF收到SIP  MESSAGE消息后,根据该SIP MESSAGE消息中携带的目的方(即MS 102a)的用户标识,到MS102a用户所在归属网络的HSS104查询该MS102a用户目前注册的S-CSCF位置信息。3:HSS104根据MS102a的用户标识,查找到MS102a用户当前所注册的S-CSCF地址信息,并返回给I-CSCF。4:I-CSCF收到MS102a当前所注册的S-CSCF地址信息后,将所述SIP MESSAGE消息转发到该S-CSCF作后续处理。5:S-CSCF收到SIPMESSAGE消息后,到上述HSS104去查找MS102a用户的签约信息。6:HSS104根据MS102a用户的用户标识,找到其签约信息,并发现该用户已经签约了消息过滤业务。HSS104将用户签约信息发送给S-CSCF,包括消息过滤业务的签约信息,其中可以含有MFS200a的地址信息。7:S-CSCF收到来自HSS104的用户签约信息后,发现该用户已经签约了消息过滤业务,则将在5中收到的SIPMESSAGE消息转发给MFS200a。S-CSCF获取MFS200a的地址信息的方式,可以为从HSS104返回的签约信息中获得,也可以通过网络配置,在S-CSCF中预先配置MFS200a的地址信息。8:MFS200a根据其上保存的MS102a用户的过滤规则,对从S-CSCF收到的SIP MESSAGE消息进行过滤。只有过滤规则所允许发送的SIP MESSAGE消息才会被回复给S-CSCF。9:MFS200a代替MS 102a给MS101d回复200OK消息,从而MS101d不会获知其发送的消息是否已被MFS200a过滤,从而避免了恶意重复发送。10:S-CSCF收到来自MFS200a的已经通过过滤的SIP MESSAGE消息,进行其他的业务触发处理后,发送到在MS102a所注册的P-CSCF。11:P-CSCF将SIP  MESSAGE消息转发给MS102a。12:MS 102a收到SIP  MESSAGE消息后,回复200OK消息给P-CSCF。13:P-CSCF将200OK消息转发给S-CSCF。14:S-CSCF将200OK消息转发给MFS200a,以通知其MS102a已收到SIP MESSAGE消息。如果MFS200a发现长时间没有收到200OK消息,则可以进行重发处理,以确保经过过滤的SIPMESSAGE消息能够发送到MS102a上。If the method for filtering SIP messages in the communication network is applied in the network structure shown in FIG. CSCF (the above three are not shown in Fig. 2b), then the information flow of this method is shown in Fig. 11 . Referring to Figure 11, the information flow includes: 1: MS 101d sends a SIP MESSAGE message to MS 102a. According to the address of MS102a, the network address to which the MS102a user belongs can be known, and according to the IMS network routing rules, the SIP MESSAGE message is sent to the I-CSCF of the home network where the MS102a user is located. 2: After the I-CSCF receives the SIP MESSAGE message, according to the user identification of the destination party (i.e. MS 102a) carried in the SIP MESSAGE message, it goes to the HSS 104 of the home network where the MS 102a user is located to query the current registered S-CSCF location of the MS 102a user information. 3: The HSS 104 finds the address information of the S-CSCF currently registered by the user of the MS 102a according to the user ID of the MS 102a, and returns it to the I-CSCF. 4: After receiving the S-CSCF address information currently registered by MS102a, the I-CSCF forwards the SIP MESSAGE message to the S-CSCF for subsequent processing. 5: After receiving the SIPMESSAGE message, the S-CSCF goes to the above-mentioned HSS 104 to search for the subscription information of the MS 102a user. 6: The HSS 104 finds out the subscription information of the user of the MS 102a according to the user ID of the user, and finds that the user has signed up for the message filtering service. The HSS104 sends the user subscription information to the S-CSCF, including the subscription information of the message filtering service, which may contain the address information of the MFS200a. 7: After receiving the user subscription information from HSS104, the S-CSCF finds that the user has subscribed to the message filtering service, and forwards the SIPMESSAGE message received in step 5 to MFS200a. The manner in which the S-CSCF obtains the address information of the MFS200a may be obtained from the subscription information returned by the HSS104, or the address information of the MFS200a may be pre-configured in the S-CSCF through network configuration. 8: The MFS200a filters the SIP MESSAGE message received from the S-CSCF according to the filtering rules of the MS102a user stored on it. Only the SIP MESSAGEs allowed by the filtering rules will be replied to the S-CSCF. 9: MFS200a replaces MS 102a to reply a 200OK message to MS101d, so that MS101d will not know whether the message it sends has been filtered by MFS200a, thereby avoiding malicious repeated sending. 10: S-CSCF receives the filtered SIP MESSAGE message from MFS200a, and sends it to the P-CSCF registered in MS102a after performing other service trigger processing. 11: The P-CSCF forwards the SIP MESSAGE message to MS102a. 12: After receiving the SIP MESSAGE message, MS 102a replies a 200 OK message to the P-CSCF. 13: The P-CSCF forwards the 200 OK message to the S-CSCF. 14: The S-CSCF forwards the 200OK message to MFS200a to notify its MS102a that it has received the SIP MESSAGE message. If the MFS200a finds that the 200OK message has not been received for a long time, it can perform retransmission processing to ensure that the filtered SIPMESSAGE message can be sent to the MS102a.

在所述消息过滤服务器上配置消息过滤规则的方式主要包括但不限于以下三种,以图2a为例,在MFS200a上配置关于MS102a的消息过滤规则可以通过:The ways of configuring message filtering rules on the message filtering server mainly include but are not limited to the following three. Taking FIG. 2a as an example, configuring the message filtering rules about MS102a on MFS200a can be done through:

1、MS102a将所述消息过滤规则发送到MFS200a。例如,采用现有的SIP消息机制,将所述消息过滤规则以已有的SIP MASSAGE的Body字段作为载体发送到MFS200a;还可以通过定义新的SIP消息来实现。1. MS102a sends the message filtering rule to MFS200a. For example, using the existing SIP message mechanism, the message filtering rules are sent to MFS200a with the body field of the existing SIP MASSAGE as a carrier; it can also be realized by defining a new SIP message.

2、使用MS102a的签约用户可以通过HTTP方式登录MFS200a,在MFS200a的HTTP服务页面上对消息过滤规则进行配置。2. Subscribers using MS102a can log in to MFS200a through HTTP, and configure message filtering rules on the HTTP service page of MFS200a.

3、在IMS网络100a中记录有MS102a签约信息的网络节点(例如图2中的HSS104或HLR105)中以签约的形式保存所述消息过滤规则,并且MFS200a通过网络实体间的通信从HSS104或HLR105中获取所述消息过滤规则。MFS200a可以通过下列方式获取所述消息过滤规则:3. In the IMS network 100a, the network node (such as HSS104 or HLR105 in FIG. 2 ) that records the subscription information of MS102a saves the message filtering rules in the form of subscription, and MFS200a obtains the information from HSS104 or HLR105 through communication between network entities. Obtain the message filtering rules. MFS200a can acquire the message filtering rules in the following ways:

1)定时更新下载。MFS200a设定更新定时器,当该更新定时器触发时,MFS200a就从HSS104或HLR105中下载所述消息过滤规则。1) Regularly update and download. MFS200a sets an update timer, and when the update timer is triggered, MFS200a downloads the message filtering rules from HSS104 or HLR105.

2)所述HSS104或HLR105检测所述消息过滤规则有变化时,主动向MFS200a发送变化后的消息过滤规则以更新MFS200a上的消息过滤规则。2) When the HSS 104 or HLR 105 detects a change in the message filtering rule, it actively sends the changed message filtering rule to the MFS 200a to update the message filtering rule on the MFS 200a.

3)MFS200a获知MS102a在IMS网络100a中注册时,向HSS 104或HLR105请求消息过滤规则,HSS104或HLR105收到该请求后向MFS200a发送所述消息过滤规则。3) When MFS200a learns that MS102a is registered in IMS network 100a, it requests message filtering rules to HSS 104 or HLR105, and HSS104 or HLR105 sends described message filtering rules to MFS200a after receiving the request.

4)MFS200a需要向MS102a发送消息时,先检测自身存储的消息过滤规则是否与HSS 104或HLR105上存储的消息过滤规则相同,如果不相同,就从HSS104或HLR105上下载消息过滤规则以更新MFS200a上的消息过滤规则。4) When MFS200a needs to send a message to MS102a, it first detects whether the message filtering rule stored by itself is the same as the message filtering rule stored on HSS 104 or HLR105, if not, it downloads the message filtering rule from HSS104 or HLR105 to update on MFS200a message filtering rules.

在本发明的一个具体实施例中,所述SIP消息具体采用的是SIP MESSAGE消息。当然,其它类型的SIP消息也可以应用于本发明。In a specific embodiment of the present invention, the SIP message specifically adopts a SIP MESSAGE message. Of course, other types of SIP messages can also be applied to the present invention.

通过上述说明,在通信网络中通过设置消息过滤器这一网络实体(即可以是物理实体也可以是逻辑实体),对发送给消息接收设备的SIP消息结合关于该SIP消息接收设备的消息过滤规则进行过滤,只将消息过滤规则允许的SIP消息发送给所述消息接收设备,从而避免了通信网络中持有消息接收设备的签约用户被自己所定义的垃圾消息的打扰,提供了通信网络中SIP消息内容的健康性,避免了不健康信息内容在通信网络中散布传播。Through the above description, by setting the network entity (that is, a physical entity or a logical entity) of the message filter in the communication network, the SIP message sent to the message receiving device is combined with the message filtering rules about the SIP message receiving device Filtering, only the SIP messages allowed by the message filtering rules are sent to the message receiving device, thereby preventing the subscribers who hold the message receiving device in the communication network from being disturbed by the spam messages defined by themselves, and providing SIP messages in the communication network. The healthiness of message content prevents the dissemination of unhealthy information content in the communication network.

以上所揭露的仅为本发明的优选实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明申请专利范围所作的等同变化,仍属本发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the patent scope of the present invention still fall within the scope of the present invention.

Claims (14)

1. method that the sip message in the communication network is filtered, the message transmitting apparatus sends described sip message by described communication network to message sink equipment, it is characterized in that, and this method comprises:
Configuration messages filtering server in described communication network disposes the message screening rule about described message sink equipment on the described message screening server, described message screening rule is:
(a) if do not comprise any keyword in the Keyword List in the described message screening rule in the described sip message, then allow; Otherwise do not allow; Or
(b) if do not comprise any blocking-up address in the blocking-up address list in the described message screening rule in the described sip message, then allow; Otherwise do not allow; Or
(c) if comprise in the described sip message in the described message screening rule pass through in the address list any one by the address, then allow; Otherwise do not allow; Or
The combination in any of above-mentioned message screening rule (a) and (b), (c);
Described message screening server receives described sip message, and judges whether described sip message is allowed by described message screening rule, and being judged as is then described sip message to be sent to described message sink equipment; Otherwise, described sip message is abandoned.
2. method according to claim 1 is characterized in that: described communication network is the IP Multimedia System network.
3. method according to claim 1 and 2 is characterized in that: described sip message is a SIPMESSAGE message.
4. method according to claim 1 is characterized in that: the collocation method of described message screening rule is:
Described message sink equipment sends to described message screening rule in the described message screening server; Or
Login described message screening server by the HTTP mode and dispose described message screening rule; Or
Preserve described message screening rule with signatory form in the network node that records described message sink equipment CAMEL-Subscription-Information in described communication network, described message screening server obtains described message screening rule from described network node.
5, a kind of method that sip message in the communication network is filtered, the message transmitting apparatus sends described sip message by described communication network to message sink equipment, it is characterized in that, and this method comprises:
Configuration messages filtering server in described communication network disposes the message screening rule about described message sink equipment on the described message screening server;
Described message screening server receives described sip message, and judges whether described sip message is allowed by described message screening rule, and being judged as is then described sip message to be sent to described message sink equipment; Otherwise, described sip message is preserved, wait for after described message screening rule allows described sip message is sent to described message sink equipment.
6. method according to claim 5 is characterized in that: described message screening rule is:
If the time is the interruption-free in described message screening rule in the time period not, then allow; Otherwise do not allow.
7. according to claim 5 or 6 described methods, it is characterized in that: described sip message is a SIPMESSAGE message.
8. method according to claim 5 is characterized in that: the collocation method of described message screening rule is:
Described message sink equipment sends to described message screening rule in the described message screening server; Or
Login described message screening server by the HTTP mode and dispose described message screening rule; Or
Preserve described message screening rule with signatory form in the network node that records described message sink equipment CAMEL-Subscription-Information in described communication network, described message screening server obtains described message screening rule from described network node.
9. message screening server that the S IP message in the communication network is filtered, the message transmitting apparatus sends described sip message by described communication network to message sink equipment, described message screening server is configured in the described communication network, it is characterized in that described message screening server comprises:
Receiving element is used to receive described sip message;
Memory cell is used to store the message screening rule about described message sink equipment, and described message screening rule is:
(a) if do not comprise any keyword in the Keyword List in the described message screening rule in the described sip message, then allow; Otherwise do not allow; Or
(b) if do not comprise any blocking-up address in the blocking-up address list in the described message screening rule in the described sip message, then allow; Otherwise do not allow; Or
(c) if comprise in the described sip message in the described message screening rule pass through in the address list any one by the address, then allow; Otherwise do not allow; Or
The combination in any of above-mentioned message screening rule (a) and (b), (c);
Identifying unit is used to judge whether described sip message is allowed by described message screening rule;
With the transmitting element that described identifying unit one end lotus root connects, be used for being judged as when being when described identifying unit, send described sip message to described message sink equipment; With
With the discarding unit that the other end lotus root of described identifying unit connects, be used for when described identifying unit is judged as not, abandoning described sip message.
10, a kind of message screening server that sip message in the communication network is filtered, the message transmitting apparatus sends described sip message by described communication network to message sink equipment, described message screening server is configured in the described communication network, it is characterized in that described message screening server comprises:
Receiving element is used to receive described sip message;
Memory cell is used to store the message screening rule about described message sink equipment;
Identifying unit is used to judge whether described sip message is allowed by described message screening rule;
Transmitting element with the described identifying unit first end lotus root connects is used for sending described sip message to described message sink equipment;
With the preservation unit that the described identifying unit second end lotus root connects, be used for described message is preserved;
With the wait unit that described identifying unit the 3rd end lotus root connects, be used to wait for that described message screening rule allows.
11, server as claimed in claim 10 is characterized in that, described message screening rule is:
If the time is the interruption-free in described message screening rule in the time period not, then allow; Otherwise do not allow.
12. the system that the sip message in the communication network is filtered is characterized in that, comprising:
At least one message transmitting apparatus is used for sending described sip message by described communication network;
At least one message sink equipment is used to receive described sip message;
At least one message screening server, this message screening server lotus root is connected in the described communication network, and this message screening server comprises:
Receiving element is used to receive described sip message;
Memory cell is used to store the message screening rule about described message sink equipment, and described message screening rule is:
(a) if do not comprise any keyword in the Keyword List in the described message screening rule in the described sip message, then allow; Otherwise do not allow; Or
(b) if do not comprise any blocking-up address in the blocking-up address list in the described message screening rule in the described sip message, then allow; Otherwise do not allow; Or
(c) if comprise in the described sip message in the described message screening rule pass through in the address list any one by the address, then allow; Otherwise do not allow; Or
The combination in any of above-mentioned message screening rule (a) and (b), (c);
Identifying unit is used to judge whether described sip message is allowed by described message screening rule;
With the transmitting element that described identifying unit one end lotus root connects, be used for being judged as when being when described identifying unit, send described sip message to described message sink equipment; With
With the discarding unit that the other end lotus root of described identifying unit connects, be used for when described identifying unit is judged as not, abandoning described sip message.
13, a kind of system that sip message in the communication network is filtered is characterized in that, comprising:
At least one message transmitting apparatus is used for sending described sip message by described communication network;
At least one message sink equipment is used to receive described sip message;
At least one message screening server, this message screening server lotus root is connected in the described communication network, and this message screening server comprises:
Receiving element is used to receive described sip message;
Memory cell is used to store the message screening rule about described message sink equipment;
Identifying unit is used to judge whether described sip message is allowed by described message screening rule;
Transmitting element with the described identifying unit first end lotus root connects is used for sending described sip message to described message sink equipment;
With the preservation unit that the described identifying unit second end lotus root connects, be used for described message is preserved;
With the wait unit that described identifying unit the 3rd end lotus root connects, be used to wait for that described message screening rule allows.
14, system as claimed in claim 13 is characterized in that, described message screening rule is:
If the time is the interruption-free in described message screening rule in the time period not, then allow; Otherwise do not allow.
CNB2006100341919A 2006-03-10 2006-03-10 Method, equipment and system for filtering SIP message in communication network Expired - Fee Related CN100433737C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100341919A CN100433737C (en) 2006-03-10 2006-03-10 Method, equipment and system for filtering SIP message in communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100341919A CN100433737C (en) 2006-03-10 2006-03-10 Method, equipment and system for filtering SIP message in communication network

Publications (2)

Publication Number Publication Date
CN1870604A CN1870604A (en) 2006-11-29
CN100433737C true CN100433737C (en) 2008-11-12

Family

ID=37444153

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100341919A Expired - Fee Related CN100433737C (en) 2006-03-10 2006-03-10 Method, equipment and system for filtering SIP message in communication network

Country Status (1)

Country Link
CN (1) CN100433737C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2945343B1 (en) * 2008-01-28 2019-06-19 BlackBerry Limited Providing session initiation protocol request contents method and system
CN104348634B (en) * 2013-07-23 2019-09-13 腾讯科技(深圳)有限公司 Interactive message management method, device and management system
CN107579906B (en) * 2017-08-24 2022-01-14 北京讯众通信技术股份有限公司 Information display device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030156631A1 (en) * 2000-07-18 2003-08-21 Mcpherson Glenn Douglas Telecommunication system and method of communicating protocol information
WO2003088611A1 (en) * 2002-04-12 2003-10-23 Siemens Aktiengesellschaft Representation of boolean expressions for specifying filters using xml
US20040181686A1 (en) * 2003-03-13 2004-09-16 Krause Joel M. Integrated customer premises equipment device
CN1741507A (en) * 2004-08-24 2006-03-01 华为技术有限公司 A method for realizing multimedia message service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030156631A1 (en) * 2000-07-18 2003-08-21 Mcpherson Glenn Douglas Telecommunication system and method of communicating protocol information
WO2003088611A1 (en) * 2002-04-12 2003-10-23 Siemens Aktiengesellschaft Representation of boolean expressions for specifying filters using xml
US20040181686A1 (en) * 2003-03-13 2004-09-16 Krause Joel M. Integrated customer premises equipment device
CN1741507A (en) * 2004-08-24 2006-03-01 华为技术有限公司 A method for realizing multimedia message service

Also Published As

Publication number Publication date
CN1870604A (en) 2006-11-29

Similar Documents

Publication Publication Date Title
CN103220323B (en) For the device of Service controll
JP5080465B2 (en) Method and system for translating messages
KR101503569B1 (en) Creating a globally unique identifier of a subscriber device
CN102460453B (en) System and method for determining trust for sip messages
US9479600B2 (en) Methods and apparatuses for initiating provisioning of subscriber data in a HSS of an IP multimedia subsystem network
EP2792117B1 (en) Service domain selection service indicator
EP1879337B1 (en) A method for processing the register message in the ims network according to the initial filtering rules
US7730127B2 (en) Method, system and apparatus for video sharing
CN101197806B (en) Method, network and device for routing sessions
CN1947401A (en) System and method for establishing a session initiation protocol communication session with a mobile terminal
US20090103518A1 (en) Call origination by an application server in an internet protogol multimedia core network subsystem
CN101237447B (en) Policy execution method, system and network element
US20060133407A1 (en) Content sharing in a communication system
CN1885787A (en) Registration abnormity handling method in user registration course
CN102244845A (en) Method for accessing storage server of IM (Instant Message) service system and IM (Instant Message) service system
CN101316262A (en) Method for controlling repeated registration of the same account terminal
EP1880556B1 (en) Method and element for service control
CN101427542B (en) A subscriber server system for a cellular communication system
CN100433737C (en) Method, equipment and system for filtering SIP message in communication network
EP2149243A1 (en) Ip multimedia subsystem (ims) and method for routing an http message via an ims
CN101335913A (en) Method, system and device for group message processing
EP2532143A1 (en) Method and apparatus for routing xcap requests
CN101014190A (en) Call forwarding method, system and apparatus
US20100054445A1 (en) Method, apparatus and computer program product for providing routing of message signaling
CN101132394A (en) Method for Orienting Service Users

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