Movatterモバイル変換


[0]ホーム

URL:


CN105228113B - The method and business control nodes of IVPN platform sending and receiving short messages - Google Patents

The method and business control nodes of IVPN platform sending and receiving short messages
Download PDF

Info

Publication number
CN105228113B
CN105228113BCN201410290487.1ACN201410290487ACN105228113BCN 105228113 BCN105228113 BCN 105228113BCN 201410290487 ACN201410290487 ACN 201410290487ACN 105228113 BCN105228113 BCN 105228113B
Authority
CN
China
Prior art keywords
short message
message
scp
smdpp
short
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
CN201410290487.1A
Other languages
Chinese (zh)
Other versions
CN105228113A (en
Inventor
单宝龙
魏霄鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE CorpfiledCriticalZTE Corp
Priority to CN201410290487.1ApriorityCriticalpatent/CN105228113B/en
Priority to PCT/CN2015/072931prioritypatent/WO2015196819A1/en
Publication of CN105228113ApublicationCriticalpatent/CN105228113A/en
Application grantedgrantedCritical
Publication of CN105228113BpublicationCriticalpatent/CN105228113B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种综合虚拟专用网IVPN平台短消息收发的方法,包括:业务控制节点SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息;SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方;当确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方。本发明还提供一种业务控制节点SCP。本发明实现了运行IVPN平台的SCP实现短信的收发,解决了MC无法根据IVPN用户的集团属性来控制短信的收发,MC短信收发控制的功能单一的问题。

The invention discloses a short message sending and receiving method on an integrated virtual private network IVPN platform, comprising: a service control node SCP receiving a short message sent by a short message sender, and replying a response message to the short message sender; the SCP parses the short message, Determine whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing; when it is determined to send the short message to the short message receiver, forward the short message to the short message receiver. The present invention also provides a service control node SCP. The invention realizes the sending and receiving of short messages by the SCP running the IVPN platform, and solves the problem that the MC cannot control the sending and receiving of the short messages according to the group attributes of IVPN users, and the MC has a single function of sending and receiving the short messages.

Description

Translated fromChinese
IVPN平台短消息收发的方法及业务控制节点Method for sending and receiving short messages on IVPN platform and service control node

技术领域technical field

本发明涉及移动通信技术领域,尤其涉及IVPN平台短消息收发的方法及业务控制节点。The invention relates to the technical field of mobile communication, in particular to a method for sending and receiving short messages on an IVPN platform and a service control node.

背景技术Background technique

综合虚拟专用网IVPN(Integrated Virtual Private Network)是针对电信用户广泛开展的智能呼叫业务。综合虚拟专用网业务可以将分布在不同区域的的固网(PSTN(Public Switched Telephone Network,公共交换电话网)、软交换)、C网用户(C网用户表示手机使用的网络制式为CDMA(Code Division Multiple Access,码分多址)),组成一个逻辑专网。网内用户之间可以使用短号或真实号码联系。IVPN集团成员网内和网外呼叫可以享受灵活的资费策略。IVPN业务根据IVPN集团用户分布范围,可以分为省IVPN业务及全国IVPN业务。一个IVPN集团所有成员全部在一个省范围内则属于省IVPN业务;若一个IVPN集团成员分布在多个省,则属于全国IVPN业务。Integrated Virtual Private Network IVPN (Integrated Virtual Private Network) is an intelligent call service widely developed for telecom users. The integrated virtual private network service can connect the fixed network (PSTN (Public Switched Telephone Network, public switched telephone network), soft switch) and C network users distributed in different regions (C network users indicate that the network standard used by mobile phones is CDMA (Code Division Multiple Access, Code Division Multiple Access)), forming a logical private network. Users in the network can use short numbers or real numbers to contact each other. Members of the IVPN Group can enjoy flexible tariff policies for both on-net and off-net calls. IVPN business can be divided into provincial IVPN business and national IVPN business according to the distribution range of IVPN group users. If all the members of an IVPN group are in a province, it belongs to the provincial IVPN business; if the members of an IVPN group are distributed in multiple provinces, it belongs to the national IVPN business.

短消息是通过移动网的七号信令承载较短数据包来实现个人简易数据通信的一种方式。短消息中心(MC,Message Center)是窄带CDMA移动交换网实现短消息业务的核心实体,由它来控制一个用户的短信的发送和接收。Short message is a way to realize simple personal data communication by carrying shorter data packets through No. 7 signaling of the mobile network. The short message center (MC, Message Center) is the core entity of the narrowband CDMA mobile switching network to realize the short message service, and it controls the sending and receiving of a user's short message.

IVPN呼叫业务提供了大量的功能,如集团内部呼叫(不允许拨打集团外的电话)、定时限制呼叫(在某个时间段内允许呼叫)、拨打集团网外号码、拨打个人网外号码、亲友集团呼叫、家庭集团呼叫等等,所以当IVPN用户具有短信收发功能时,同时也要具有以上的这些功能,如控制短信只能在集团内部用户发送和接收,在特定时间段内允许收发短信、发送给亲友集团的某个用户等功能。The IVPN call service provides a large number of functions, such as group internal calls (calls outside the group are not allowed), time-limited calls (calls are allowed within a certain period of time), dialing group off-net numbers, personal off-net numbers, relatives and friends Group call, family group call, etc. Therefore, when IVPN users have the function of sending and receiving short messages, they must also have the above functions, such as controlling that short messages can only be sent and received by users within the group, allowing sending and receiving short messages within a specific time period, Functions such as sending to a certain user of the relatives and friends group.

目前,在IVPN业务开展过程中,已经有越来越多的用户加入到IVPN业务中,对于运行IVPN业务的SCP(Service Control Point,业务控制节点)可以很方便的根据用户具有的集团属性控制其呼叫的功能。但是,IVPN用户收发短信一直是由MC(Message Center,短信中心)来控制,这与SCP控制用户的呼叫是分离开的,而且MC无法根据IVPN用户的集团属性来控制短信的收发,同时,由于IVPN业务的功能繁多,许多短信收发控制的功能MC均无法实现。At present, during the development of IVPN business, more and more users have joined the IVPN business. For the SCP (Service Control Point, service control node) running IVPN business, it is very convenient to control other users according to the group attribute of the user. function to call. But, IVPN user sends and receives short message by MC (Message Center, short message center) to control all the time, and this is separated with SCP control user's call, and MC can't control the sending and receiving of short message according to the group attribute of IVPN user, simultaneously, because The functions of the IVPN service are various, and many functions of SMS sending and receiving control cannot be realized by MC.

上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solution of the present invention, and does not mean that the above content is admitted as prior art.

发明内容Contents of the invention

本发明的主要目的在于解决MC无法根据IVPN用户的集团属性来控制短信的收发,MC短信收发控制的功能单一的技术问题。The main purpose of the present invention is to solve the technical problem that MC cannot control the sending and receiving of short messages according to the group attributes of IVPN users, and the function of MC sending and receiving and controlling short messages is single.

为实现上述目的,本发明提供的一种综合虚拟专用网IVPN平台短消息收发的方法,包括以下步骤:In order to achieve the above object, a kind of integrated virtual private network IVPN platform short message sending and receiving method provided by the invention comprises the following steps:

业务控制节点SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息;The service control node SCP receives the short message sent by the short message sender, and replies a response message to the short message sender;

SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方;The SCP parses the short message, and determines whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing;

当确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方。When it is determined to send the short message to the short message receiver, forward the short message to the short message receiver.

优选地,所述SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息的步骤之前,所述IVPN平台短消息收发的方法还包括:Preferably, the SCP receives the short message sent by the short message sender, and before the step of replying a response message to the short message sender, the method for sending and receiving short messages on the IVPN platform further includes:

SCP增加支持SMDPP的移动应用部分MAP信令操作,以供当处于短消息起呼MO流程时实现点对点短消息传送;SCP increases the MAP signaling operation of the mobile application part that supports SMDPP, so as to realize point-to-point short message transmission when in the MO process of short message origination;

SCP增加支持SMSREQ的MAP信令操作,以供当处于短消息终呼MT流程时获取当前移动台MS的路由信息。The SCP increases the MAP signaling operation that supports SMSREQ, so as to obtain the routing information of the current mobile station MS when it is in the MT process of short message termination.

优选地,所述SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息的步骤包括:Preferably, the SCP receives the short message sent by the short message sender, and the step of replying a response message to the short message sender includes:

当处于短消息MO流程时,SCP接收移动交换中心MSC发送的SMDPP消息,并返回SMDPP消息至MSC;所述SMDPP消息为MSC在接收到MS通过空中接口发送短消息后,将所述短消息转换为SMDPP消息并根据为该SMDPP消息配置的国际移动用户识别码IMSI所发送;When in the short message MO process, the SCP receives the SMDPP message sent by the mobile switching center MSC, and returns the SMDPP message to the MSC; the SMDPP message is that the MSC converts the short message after receiving the short message sent by the MS through the air interface It is an SMDPP message and sent according to the International Mobile Subscriber Identity IMSI configured for the SMDPP message;

当处于短消息MT流程时,SCP接收短信中心MC发送的Deliver_SM消息,并回复Deliver_SM_Res消息至MC。When in the short message MT process, the SCP receives the Deliver_SM message sent by the short message center MC, and replies the Deliver_SM_Res message to the MC.

优选地,所述SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方的步骤包括:Preferably, the SCP parses the short message, and the step of determining whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing includes:

当处于短消息MO流程时,SCP对接收的SMDPP消息进行解析;When in the short message MO process, the SCP parses the received SMDPP message;

SCP根据解析得到的SMDPP消息内容确定是否发送短消息;若是,SCP将SMDPP消息发送至MC,以供MC下发所述SMDPP消息到被叫MS;若否,SCP释放呼叫,结束短消息MO流程。The SCP determines whether to send a short message according to the content of the SMDPP message obtained by parsing; if so, the SCP sends the SMDPP message to the MC, so that the MC sends the SMDPP message to the called MS; if not, the SCP releases the call and ends the short message MO process .

优选地,所述SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方的步骤包括:Preferably, the SCP parses the short message, and the step of determining whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing includes:

当处于短消息MT流程时,SCP对接收的Deliver_SM消息进行解析;When in the short message MT process, the SCP parses the received Deliver_SM message;

SCP根据Deliver_SM消息的解析内容确定是否发送短消息;若不发送短消息,SCP释放呼叫,结束短消息MT流程;The SCP determines whether to send a short message according to the analysis content of the Deliver_SM message; if the short message is not sent, the SCP releases the call and ends the short message MT process;

若判断是允许发送短消息,SCP根据消息内容中的被叫号码,发送SMSREQ消息至归属位置寄存器HLR,查询被叫号码当前的MSC位置信息;If it is judged that the short message is allowed to be sent, the SCP sends an SMSREQ message to the home location register HLR according to the called number in the message content, and inquires about the current MSC location information of the called number;

在HLR返回的SMSREQ响应消息有被叫号码的当前MSC位置信息时,SCP记录被叫号码当前MSC位置信息,发送SMDPP消息至被叫号码当前的MSC,以供MSC将SMDPP消息转发至被叫MS;When the SMSREQ response message returned by the HLR has the current MSC location information of the called number, the SCP records the current MSC location information of the called number, and sends an SMDPP message to the current MSC of the called number for the MSC to forward the SMDPP message to the called MS ;

在HLR返回的SMSREQ响应消息没有有被叫号码的当前MSC位置信息时,SCP定时重新发送SMSREQ消息至HLR。When the SMSREQ response message returned by the HLR does not have the current MSC location information of the called number, the SCP regularly resends the SMSREQ message to the HLR.

此外,为实现上述目的,本发明还提供一种业务控制节点SCP,包括:In addition, in order to achieve the above purpose, the present invention also provides a service control node SCP, including:

接收模块,用于接收短消息发送方发送的短消息,向短消息发送方回复响应消息;The receiving module is used to receive the short message sent by the short message sender, and reply a response message to the short message sender;

解析判断模块,用于解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方;The parsing and judging module is used to parse the short message, and determine whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing;

发送模块,用于当确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方。The sending module is used for forwarding the short message to the short message receiver when it is determined to send the short message to the short message receiver.

优选地,所述SCP还包括:Preferably, the SCP also includes:

信令支持模块,用于增加支持SMDPP的移动应用部分MAP信令操作,以供当处于短消息起呼MO流程时实现点对点短消息传送,及增加支持SMSREQ的MAP信令操作,以供当处于短消息终呼MT流程时获取当前移动台MS的路由信息。The signaling support module is used to increase the MAP signaling operation of the mobile application part that supports SMDPP, so as to realize point-to-point short message transmission when in the short message call MO process, and increase the MAP signaling operation that supports SMSREQ, for when in the short message call MO process The routing information of the current mobile station MS is obtained when the short message terminates the MT process.

优选地,所述接收模块用于:Preferably, the receiving module is used for:

当处于短消息MO流程时,接收移动交换中心MSC发送的SMDPP消息,并返回SMDPP消息至MSC;所述SMDPP消息为MSC在接收到MS通过空中接口发送短消息后,将所述短消息转换为SMDPP消息并根据为该SMDPP消息配置的国际移动用户识别码IMSI所发送;When being in short message MO flow process, receive the SMDPP message that mobile switching center MSC sends, and return SMDPP message to MSC; Described SMDPP message is that MSC converts described short message into The SMDPP message is sent according to the International Mobile Subscriber Identity IMSI configured for the SMDPP message;

当处于短消息MT流程时,接收短信中心MC发送的Deliver_SM消息,并回复Deliver_SM_Res消息至MC。When in the short message MT process, receive the Deliver_SM message sent by the short message center MC, and reply the Deliver_SM_Res message to the MC.

优选地,所述解析判断模块用于:Preferably, the parsing and judging module is used for:

当处于短消息MO流程时,对接收的SMDPP消息进行解析;When in the short message MO process, analyze the received SMDPP message;

根据解析得到的SMDPP消息内容确定是否发送短消息;若是,将SMDPP消息发送至MC,以供MC下发所述SMDPP消息到被叫MS;若否,释放呼叫,结束短消息MO流程。Determine whether to send a short message according to the SMDPP message content obtained by parsing; if so, send the SMDPP message to the MC for the MC to issue the SMDPP message to the called MS; if not, release the call and end the short message MO process.

优选地,所述解析判断模块还用于:Preferably, the parsing and judging module is also used for:

当处于短消息MT流程时,对接收的Deliver_SM消息进行解析;When in the short message MT process, analyze the received Deliver_SM message;

根据Deliver_SM消息的解析内容确定是否发送短消息;若不发送短消息,释放呼叫,结束短消息MT流程;Determine whether to send a short message according to the analysis content of the Deliver_SM message; if not send a short message, release the call and end the short message MT process;

若判断是发送短消息,根据消息内容中的被叫号码,发送SMSREQ消息至归属位置寄存器HLR,查询被叫号码当前的MSC位置信息;If it is judged to send a short message, according to the called number in the message content, send an SMSREQ message to the home location register HLR, and inquire about the current MSC location information of the called number;

在HLR返回的SMSREQ响应消息有被叫号码的当前MSC位置信息时,记录被叫号码当前MSC位置信息,发送SMDPP消息至被叫号码当前的MSC,以供MSC将SMDPP消息转发至被叫MS;When the SMSREQ response message returned by the HLR has the current MSC location information of the called number, record the current MSC location information of the called number, and send an SMDPP message to the current MSC of the called number, so that the MSC forwards the SMDPP message to the called MS;

在HLR返回的SMSREQ响应消息没有有被叫号码的当前MSC位置信息时,定时重新发送SMSREQ消息至HLR。When the SMSREQ response message returned by the HLR does not have the current MSC location information of the called number, the SMSREQ message is resent to the HLR at regular intervals.

本发明通过SCP接收短消息发送方发送的短消息,解析所述短消息,并根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方,实现了运行IVPN平台的SCP实现短信的收发,解决了MC无法根据IVPN用户的集团属性来控制短信的收发,MC短信收发控制的功能单一的问题。The present invention receives the short message sent by the short message sender through the SCP, analyzes the short message, and determines whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing, and realizes the operation of the IVPN platform SCP realizes the sending and receiving of short messages, which solves the problem that MC cannot control the sending and receiving of short messages according to the group attributes of IVPN users, and the function of MC sending and receiving short messages is single.

附图说明Description of drawings

图1为MC为中心的网络结构;Figure 1 is a network structure centered on MC;

图2为MC为中心的短信控制流程;Fig. 2 is the short message control process of MC as the center;

图3为本发明IVPN平台短消息收发的方法第一实施例的流程示意图;Fig. 3 is the schematic flow chart of the first embodiment of the method for sending and receiving short messages on the IVPN platform of the present invention;

图4为本发明IVPN平台短消息收发的方法第二实施例的流程示意图;Fig. 4 is the schematic flow chart of the second embodiment of the method for sending and receiving short messages on the IVPN platform of the present invention;

图5为本发明IVPN平台短消息收发的方法第三实施例的流程示意图;Fig. 5 is the schematic flow chart of the third embodiment of the method for sending and receiving short messages on the IVPN platform of the present invention;

图6为本发明IVPN平台短消息收发的方法第四实施例的流程示意图;Fig. 6 is a schematic flow chart of the fourth embodiment of the method for sending and receiving short messages on the IVPN platform of the present invention;

图7为本发明SCP第一实施例的功能模块示意图;7 is a schematic diagram of functional modules of the first embodiment of the SCP of the present invention;

图8为本发明SCP第二实施例的功能模块示意图;8 is a schematic diagram of functional modules of the second embodiment of the SCP of the present invention;

图9为SCP控制的短消息MO流程示意图;Fig. 9 is the short message MO flow diagram of SCP control;

图10为SCP控制的短消息MT流程示意图。Fig. 10 is a schematic flow chart of the short message MT controlled by the SCP.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明提供一种IVPN平台短消息收发的方法,参照图3,在本发明IVPN平台短消息收发的方法第一实施例中,所述IVPN平台短消息收发的方法包括以下步骤:The present invention provides a kind of method for sending and receiving short messages of IVPN platform, with reference to Fig. 3, in the method first embodiment of the method for sending and receiving short messages of IVPN platform of the present invention, the method for sending and receiving short messages of described IVPN platform comprises the following steps:

步骤S10,业务控制节点SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息;Step S10, the service control node SCP receives the short message sent by the short message sender, and replies a response message to the short message sender;

SCP接收的短消息类型为SMDPP(Short Message Delivery Peer To Peer)或SMSREQ(Short Message Service Request),SCP接收接收短消息发送方发送的短消息后,向短消息发送方回复响应消息。The short message type received by the SCP is SMDPP (Short Message Delivery Peer To Peer) or SMSREQ (Short Message Service Request). After receiving the short message sent by the short message sender, the SCP replies a response message to the short message sender.

步骤S20,SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方;Step S20, the SCP parses the short message, and determines whether to send the short message to the short message receiver according to the message content of the short message obtained through parsing;

SCP解析收到的短消息,解析出来的内容包括主被叫号码、短信内容、号码权限等,并根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方,例如,在短信息起呼MO(Mobile Originated,)流程中,判断本次短消息是否发送到集团外手机上,是否有网外发短信的权限。The SCP parses the received short message, and the parsed content includes calling and called numbers, short message content, number authority, etc., and determines whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing, for example , in the short message calling MO (Mobile Originated,) process, it is judged whether this short message is sent to a mobile phone outside the group, and whether there is permission to send short messages outside the network.

步骤S30,当确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方。Step S30, when it is determined to send the short message to the short message recipient, forward the short message to the short message recipient.

在IVPN用户通过IVPN平台发短信成功时,可以在SCP上生成短消息发送记录信息,即生成话单文件,用于记录与短消息相关的信息,例如短信息字数、短消息数量等。SCP可以使用一个新业务键对生成话单文件进行分类命名,以便区分呼叫话单和短消息话单。When an IVPN user successfully sends a short message through the IVPN platform, the short message sending record information can be generated on the SCP, that is, a bill file is generated to record information related to the short message, such as the number of short messages and the number of short messages. The SCP can use a new service key to classify and name the bill files generated so as to distinguish call bills and short message bills.

目前电信运营商采用的主要方式是由MC(Message Center,短信中心)来统一控制短信的收发。其特点是覆盖方位广、双向性、经济性、缓存能力,但MC控制脱离了IVPN用户具有的集团属性来简单的控制其短信的收发。图1是MC为中心的网络结构。因此,必须将短信收发的权限放到SCP上,由SCP来实现短信收发不仅可以实现MC收发短信的功能,还能够准确的按照用户具有的集团属性来收发短信,真正的做到由SCP来统一控制用户的呼叫和短信收发。例如,主叫用户只能给集团内部用户发送短信,而MC无法控制本次短信的收发,因为MC无法获知被叫用户和主叫用户是否在同一个集团;在规定的时间内允许IVPN用户发送短信,MC也无法判断此时是否允许发送短信,因为设定的时间数据是在SCP上。图2是由MC控制的短信收发流程。由于IVPN业务的功能繁多,许多短信收发控制的功能MC均无法实现,因此必须由SCP来控制。At present, the main method adopted by telecom operators is to use MC (Message Center, short message center) to uniformly control the sending and receiving of short messages. It is characterized by wide coverage, bi-directionality, economy, and caching capabilities, but MC control breaks away from the group attributes of IVPN users to simply control the sending and receiving of their short messages. Figure 1 is a network structure centered on MC. Therefore, the authority to send and receive text messages must be placed on the SCP. Realizing text message sending and receiving by SCP can not only realize the function of MC to send and receive text messages, but also accurately send and receive text messages according to the group attributes of users. It is truly unified by SCP Control user calls and text messages. For example, the calling user can only send short messages to users within the group, but the MC cannot control the sending and receiving of this short message, because the MC cannot know whether the called user and the calling user are in the same group; IVPN users are allowed to send short messages within the specified time SMS, MC can't judge whether to allow sending SMS at this time, because the set time data is on the SCP. Figure 2 is the process of sending and receiving short messages controlled by the MC. Due to the various functions of the IVPN service, many functions of sending and receiving control of short messages cannot be realized by the MC, so they must be controlled by the SCP.

在本实施例中,通过SCP接收短消息发送方发送的短消息,解析所述短消息,并根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方,实现了运行IVPN平台的SCP实现短信的收发,解决了MC无法根据IVPN用户的集团属性来控制短信的收发,MC短信收发控制的功能单一的问题,更好地实现在SCP上统一控制呼叫和短信的发送,方便管理,综合成本低,能够更有效支撑IVPN业务的推广和发展,更加符合产业的发展趋势。In this embodiment, the short message sent by the short message sender is received by the SCP, the short message is parsed, and whether to send the short message to the short message receiver is determined according to the message content of the short message obtained by parsing, thereby realizing The SCP running on the IVPN platform realizes the sending and receiving of short messages, which solves the problem that MC cannot control the sending and receiving of short messages according to the group attributes of IVPN users, and the problem that the function of MC short message sending and receiving control is single, and better realize the unified control of sending calls and short messages on the SCP , easy to manage, low overall cost, can more effectively support the promotion and development of IVPN services, and is more in line with the development trend of the industry.

进一步地,参照图4,在本发明IVPN平台短消息收发的方法第二实施例中,步骤S10之前,所述IVPN平台短消息收发的方法还包括:Further, referring to FIG. 4, in the second embodiment of the method for sending and receiving short messages on the IVPN platform of the present invention, before step S10, the method for sending and receiving short messages on the IVPN platform also includes:

步骤S01,SCP增加支持SMDPP的移动应用部分MAP信令操作,以供当处于短消息起呼MO流程时实现点对点短消息传送;Step S01, the SCP adds a mobile application part MAP signaling operation that supports SMDPP, so as to realize point-to-point short message transmission when in the MO process of short message origination;

步骤S02,SCP增加支持SMSREQ的MAP信令操作,以供当处于短消息终呼MT流程时获取当前移动台MS的路由信息。In step S02, the SCP adds a MAP signaling operation supporting SMSREQ, so as to obtain the routing information of the current mobile station MS when it is in the MT flow of short message termination.

SCP添加支持SMDPP和SMSREQ的信令操作的同时,修改IVPN平台上的表,由于用户基本信息在表sxxcardinf中都已经存在,实现IVPN用户功能的表也都已经存在,所以只需要增加几张短信相关必要的表就可以实现短信收发控制。While SCP adds support for SMDPP and SMSREQ signaling operations, modify the table on the IVPN platform. Since the basic user information already exists in the table sxxcardinf, and the tables for implementing IVPN user functions also exist, so only a few text messages need to be added. The relevant and necessary tables can realize the control of sending and receiving short messages.

增加表sxxmcgt用来存储手机号段和短信中心的信令地址GT的对应关系表,短信MO流程时,首先,从用户表sxxcardinf和集团表sxxgroupinf读取相关信息来判断用户是否有权限进行短信的发送,再次,如果允许发送则查询表sxxmcgt来获取手机号段对应的MC的GT,最后,通过SMDPP信息消息将短信投递到MC。Add the table sxxmcgt to store the corresponding relationship table between the mobile phone number segment and the signaling address GT of the SMS center. During the SMS MO process, firstly, read the relevant information from the user table sxxcardinf and the group table sxxgroupinf to determine whether the user has the right to send SMS Send, again, if it is allowed to send, query the table sxxmcgt to obtain the GT of the MC corresponding to the mobile phone number segment, and finally, deliver the short message to the MC through the SMDPP information message.

进一步地,参照图5、图9和图10,在本发明IVPN平台短消息收发的方法第三实施例中,步骤S10包括:Further, referring to FIG. 5, FIG. 9 and FIG. 10, in the third embodiment of the method for sending and receiving short messages on the IVPN platform of the present invention, step S10 includes:

步骤S101,当处于短消息MO流程时,SCP接收移动交换中心MSC发送的SMDPP消息,并返回SMDPP消息至MSC;所述SMDPP消息为MSC在接收到MS通过空中接口发送短消息后,将所述短消息转换为SMDPP消息并根据为该SMDPP消息配置的国际移动用户识别码IMSI所发送;Step S101, when in the short message MO process, the SCP receives the SMDPP message sent by the mobile switching center MSC, and returns the SMDPP message to the MSC; the SMDPP message is that the MSC sends the short message after receiving the MS through the air interface. The short message is converted into an SMDPP message and sent according to the IMSI configured for the SMDPP message;

当处于短消息MO流程时,MS发送短消息,通过空中接口发送短消息给MSC,MSC将空中接口发送的短消息转换为SMDPP消息。其中SMDPP消息中包含主被叫号码、短信内容、短信编码方式等内容。然后预分配一些指定的IMSI段,MSC根据IMSI号将SMDPP消息直接发送给SCP。SCP收到MSC发过来的SMDPP消息,SCP将SMDPP发送给MSC,证实收到了短消息。如果有数据要返回,返回的SMDPP中也包括需要返回的数据。在MSC接收到SCP发送过来的SMDPP消息时,MSC将SMDPP转换为空中接口的证实消息。When in the short message MO process, the MS sends a short message to the MSC through the air interface, and the MSC converts the short message sent over the air interface into an SMDPP message. The SMDPP message includes content such as the calling and called numbers, content of the short message, encoding method of the short message, and the like. Then pre-allocate some designated IMSI segments, and the MSC sends the SMDPP message directly to the SCP according to the IMSI number. The SCP receives the SMDPP message sent by the MSC, and the SCP sends the SMDPP to the MSC to confirm receipt of the short message. If there is data to be returned, the returned SMDPP also includes the data that needs to be returned. When the MSC receives the SMDPP message sent by the SCP, the MSC converts the SMDPP into an air interface confirmation message.

步骤S102,当处于短消息MT流程时,SCP接收短信中心MC发送的Deliver_SM消息,并回复Deliver_SM_Res消息至MC。Step S102, when in the short message MT process, the SCP receives the Deliver_SM message sent by the short message center MC, and replies the Deliver_SM_Res message to the MC.

当处于短消息MT流程时,MC将Deliver_SM消息直接发送到IVPN平台,即SCP上;SCP立刻回复Deliver_SM_Res消息给MC,告知已经收到消息。When in the short message MT process, the MC directly sends the Deliver_SM message to the IVPN platform, that is, the SCP; the SCP immediately replies the Deliver_SM_Res message to the MC to inform that the message has been received.

进一步地,参照图6、图9和图10,在本发明IVPN平台短消息收发的方法第四实施例中步骤S20包括:Further, with reference to Fig. 6, Fig. 9 and Fig. 10, in the fourth embodiment of the method for sending and receiving short messages on the IVPN platform of the present invention, step S20 includes:

步骤S201,当处于短消息MO流程时,SCP对接收的SMDPP消息进行解析;Step S201, when in the short message MO process, the SCP analyzes the received SMDPP message;

步骤S202,SCP根据解析得到的SMDPP消息内容确定是否发送短消息;Step S202, the SCP determines whether to send a short message according to the content of the SMDPP message obtained by parsing;

SCP解析接收到的SMDPP消息,将解析出来的主被叫号码、短信内容等送入业务流程处理中心进行处理,例如,判断本次短信发送是否是发送到集团外手机上,是否有往外发送短信的权限等。The SCP analyzes the received SMDPP message, and sends the analyzed calling and called numbers, SMS content, etc. to the business process processing center for processing, for example, to determine whether this SMS is sent to a mobile phone outside the group, and whether there is an outgoing SMS permissions, etc.

步骤S2021,若是,SCP将SMDPP消息发送至MC,以供MC下发所述SMDPP消息到被叫MS(Mobile Station,移动台);Step S2021, if so, the SCP sends the SMDPP message to the MC, so that the MC sends the SMDPP message to the called MS (Mobile Station, mobile station);

如果业务流程模块判断是发送短信,SCP将主被叫号码、短信内容等重要信息组包成SMDPP消息发送到MC,MC将MS最初发送的短信下发到被叫用户的手机上。If the business process module judges that it is to send a short message, the SCP packages important information such as calling and called numbers, short message content, etc. into an SMDPP message and sends it to the MC, and the MC sends the short message originally sent by the MS to the mobile phone of the called user.

步骤S2022,若否,SCP释放呼叫,结束短消息MO流程。Step S2022, if not, the SCP releases the call and ends the short message MO process.

如果业务流程模块判断是不发送短信,那么SCP直接释放呼叫Release Call,拒绝短信的发送。If the business process module judges that the short message is not to be sent, the SCP directly releases the Release Call and refuses to send the short message.

步骤S203,当处于短消息MT流程时,SCP对接收的Deliver_SM消息进行解析;Step S203, when in the short message MT process, the SCP parses the received Deliver_SM message;

当处于短消息MT流程时,MC将Deliver_SM消息直接发送到SCP上,SCP立刻回复Deliver_SM_Res消息给MC,告知已经收到消息。When in the short message MT process, the MC directly sends the Deliver_SM message to the SCP, and the SCP immediately replies with a Deliver_SM_Res message to the MC to inform that the message has been received.

步骤S204,SCP根据Deliver_SM消息的解析内容确定是否发送短消息;Step S204, the SCP determines whether to send a short message according to the analysis content of the Deliver_SM message;

SCP对收到的Deliver_SM消息进行解析,将主被叫号码等相关信息送入业务流程处理中心,判断是否可以发送短消息。The SCP analyzes the received Deliver_SM message, and sends relevant information such as calling and called numbers to the business process processing center to determine whether the short message can be sent.

步骤S2041,若不发送短消息,SCP释放呼叫,结束短消息MT流程;Step S2041, if the short message is not sent, the SCP releases the call and ends the short message MT process;

步骤S2042,若判断,发送短消息,SCP根据消息内容中的被叫号码,发送SMSREQ消息至归属位置寄存器HLR,查询被叫号码当前的MSC位置信息;Step S2042, if judged, send a short message, the SCP sends an SMSREQ message to the home location register HLR according to the called number in the message content, and inquires about the current MSC location information of the called number;

步骤S2043,在HLR返回的SMSREQ响应消息有被叫号码的当前MSC位置信息时,SCP记录被叫号码当前MSC位置信息,发送SMDPP消息至被叫号码当前的MSC,以供MSC将SMDPP消息转发至被叫MS;Step S2043, when the SMSREQ response message returned by the HLR has the current MSC location information of the called number, the SCP records the current MSC location information of the called number, and sends an SMDPP message to the current MSC of the called number, so that the MSC forwards the SMDPP message to Called MS;

若SCP发送SMDPP消息到被叫当前的MSC成功了,SCP将收到MSC发送的SMDPP的响应消息;如果响应消息为成功,SCP发送状态报告到MC,告知MC短信发送成功,SCP接收MC的确认消息,得知MC成功接收状态报告,SCP结束整个MT流程;如果响应消息为失败,SCP将主被叫号码、短信内容等相关信息写入数据库的表sxxsmsfail中保存,定时扫描这张表来重新发送SMSREQ消息到HLR进行查询,之后再发送SMDPP消息到MSC。If the SCP sends the SMDPP message to the called MSC successfully, the SCP will receive the SMDPP response message sent by the MSC; if the response message is successful, the SCP will send a status report to the MC to inform the MC that the short message has been sent successfully, and the SCP will receive the confirmation from the MC message, knowing that the MC has successfully received the status report, the SCP ends the entire MT process; if the response message is a failure, the SCP writes the calling and called number, SMS content and other related information into the database table sxxsmsfail for storage, and scans this table regularly to re- Send SMSREQ message to HLR for inquiry, and then send SMDPP message to MSC.

考虑到SCP的性能,扫描表sxxsmsfail的时间是可以配置的,例如每隔5分钟扫描一次。表中的每条记录都有时间戳字段,如果超过2天(可以配置),则删除本条信息,不再进行后续的处理。如果扫描某条记录后,SCP成功的发送本条信息,则将标志位置为‘1’表示已经发送成功,不需要扫描本条记录了。Considering the performance of SCP, the time to scan table sxxsmsfail is configurable, for example, every 5 minutes. Each record in the table has a timestamp field. If it exceeds 2 days (configurable), this information will be deleted and no subsequent processing will be performed. If after scanning a certain record, the SCP successfully sends this piece of information, then set the flag position to '1' to indicate that it has been sent successfully, and there is no need to scan this piece of information.

步骤S2044,在HLR返回的SMSREQ响应消息没有有被叫号码的当前MSC位置信息时,SCP定时重新发送SMSREQ消息至HLR。Step S2044, when the SMSREQ response message returned by the HLR does not contain the current MSC location information of the called number, the SCP periodically resends the SMSREQ message to the HLR.

在发送SMSREQ消息时,没有查询到被叫路由信息或HLR没有响应,比如被叫关机、被叫不再服务区等,SCP将主被叫号码、短信内容等相关信息写入数据库的表sxxsmsfail中保存,定时扫描这张表来重新发送SMSREQ消息到HLR进行查询。When the SMSREQ message is sent, if the called party’s routing information is not found or the HLR does not respond, such as the called party’s power off, or the called party’s out of service area, etc., the SCP writes the calling and called party’s number, SMS content and other related information into the table sxxsmsfail in the database. Save, scan this table regularly to resend SMSREQ message to HLR for query.

为达上述目的,本发明还提供一种业务控制节点SCP,参照图7,在本发明的SCP第一实施例中,SCP包括:To achieve the above object, the present invention also provides a service control node SCP, referring to Figure 7, in the first embodiment of the SCP of the present invention, the SCP includes:

接收模块40,用于接收短消息发送方发送的短消息,向短消息发送方回复响应消息;Receiving module 40, is used for receiving the short message that short message sender sends, replies response message to short message sender;

接收模块40接收的短消息类型为SMDPP(Short Message Delivery Peer ToPeer)或SMSREQ(Short Message Service Request),接收模块40接收接收短消息发送方发送的短消息后,向短消息发送方回复响应消息。The type of the short message received by the receiving module 40 is SMDPP (Short Message Delivery Peer ToPeer) or SMSREQ (Short Message Service Request). After receiving the short message sent by the short message sender, the receiving module 40 replies a response message to the short message sender.

解析判断模块50,用于解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方;The parsing and judging module 50 is used to parse the short message, and determine whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing;

解析判断模块50解析收到的短消息,解析出来的内容包括主被叫号码、短信内容、号码权限等,并根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方,例如,在短信息起呼MO(Mobile Originated,)流程中,判断本次短消息是否发送到集团外手机上,是否有网外发短信的权限。Analysis and judgment module 50 analyzes the received short message, and the resolved content includes calling and called numbers, short message content, number authority, etc., and determines whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing. Party, for example, in the MO (Mobile Originated,) process of short message calling, judge whether this short message is sent to a mobile phone outside the group, and whether there is permission to send short messages outside the network.

发送模块60,用于当确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方。The sending module 60 is configured to forward the short message to the short message recipient when it is determined to send the short message to the short message recipient.

在IVPN用户通过IVPN平台发短信成功时,可以在SCP上生成短消息发送记录信息,即生成话单文件,用于记录与短消息相关的信息,例如短信息字数、短消息数量等。SCP可以使用一个新业务键对生成话单文件进行分类命名,以便区分呼叫话单和短消息话单。When an IVPN user successfully sends a short message through the IVPN platform, the short message sending record information can be generated on the SCP, that is, a bill file is generated to record information related to the short message, such as the number of short messages and the number of short messages. The SCP can use a new service key to classify and name the bill files generated so as to distinguish call bills and short message bills.

现有技术中,目前电信运营商采用的主要方式是由MC(Message Center,短信中心)来统一控制短信的收发。其特点是覆盖方位广、双向性、经济性、缓存能力,但MC控制脱离了IVPN用户具有的集团属性来简单的控制其短信的收发。图1是MC为中心的网络结构。因此,必须将短信收发的权限放到SCP上,由SCP来实现短信收发不仅可以实现MC收发短信的功能,还能够准确的按照用户具有的集团属性来收发短信,真正的做到由SCP来统一控制用户的呼叫和短信收发。例如,主叫用户只能给集团内部用户发送短信,而MC无法控制本次短信的收发,因为MC无法获知被叫用户和主叫用户是否在同一个集团;在规定的时间内允许IVPN用户发送短信,MC也无法判断此时是否允许发送短信,因为设定的时间数据是在SCP上。图2是由MC控制的短信收发流程。由于IVPN业务的功能繁多,许多短信收发控制的功能MC均无法实现,因此必须由SCP来控制。In the prior art, the main method currently used by telecom operators is to use an MC (Message Center, short message center) to uniformly control the sending and receiving of short messages. It is characterized by wide coverage, bi-directionality, economy, and caching capabilities, but MC control breaks away from the group attributes of IVPN users to simply control the sending and receiving of their short messages. Figure 1 is a network structure centered on MC. Therefore, the authority to send and receive text messages must be placed on the SCP. Realizing text message sending and receiving by SCP can not only realize the function of MC to send and receive text messages, but also accurately send and receive text messages according to the group attributes of users. It is truly unified by SCP Control user calls and text messages. For example, the calling user can only send short messages to users within the group, but the MC cannot control the sending and receiving of this short message, because the MC cannot know whether the called user and the calling user are in the same group; IVPN users are allowed to send short messages within the specified time SMS, MC can't judge whether to allow sending SMS at this time, because the set time data is on the SCP. Figure 2 is the process of sending and receiving short messages controlled by the MC. Due to the various functions of the IVPN service, many functions of sending and receiving control of short messages cannot be realized by the MC, so they must be controlled by the SCP.

在本实施例中,通过接收模块40接收短消息发送方发送的短消息,解析判断模块50解析所述短消息,并根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方,发送模块60在确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方实现了运行IVPN平台的SCP实现短信的收发,解决了MC无法根据IVPN用户的集团属性来控制短信的收发,MC短信收发控制的功能单一的问题,更好地实现在SCP上统一控制呼叫和短信的发送,方便管理,综合成本低,能够更有效支撑IVPN业务的推广和发展,更加符合产业的发展趋势。In this embodiment, the short message sent by the short message sender is received by the receiving module 40, and the parsing and judging module 50 parses the short message, and determines whether to send the short message to the short message according to the message content of the short message obtained by parsing. Message recipient, when sending module 60 is determined to send short message to short message recipient, described short message is forwarded to short message recipient and has realized the SCP of running IVPN platform to realize the sending and receiving of short message, has solved MC can't according to IVPN user's request. Group attribute to control SMS sending and receiving, MC SMS sending and receiving control has a single function, better realize unified control of call and SMS sending on SCP, convenient management, low overall cost, and can more effectively support the promotion and development of IVPN business , more in line with the development trend of the industry.

进一步地,参照图8,在本发明的SCP第二实施例中,所述SCP还包括:Further, referring to FIG. 8, in the second embodiment of the SCP of the present invention, the SCP also includes:

信令支持模块70,用于增加支持SMDPP的移动应用部分MAP信令操作,以供当处于短消息起呼MO流程时实现点对点短消息传送,及增加支持SMSREQ的MAP信令操作,以供当处于短消息终呼MT流程时获取当前移动台MS的路由信息。Signaling support module 70, is used to increase the mobile application part MAP signaling operation that supports SMDPP, in order to realize point-to-point short message transmission when being in the short message call MO flow process, and increase the MAP signaling operation that supports SMSREQ, for when Obtain the routing information of the current mobile station MS when it is in the MT flow of short message termination.

利用信令支持模块70添加支持SMDPP和SMSREQ的信令操作的同时,修改IVPN平台上的表,由于用户基本信息在表sxxcardinf中都已经存在,实现IVPN用户功能的表也都已经存在,所以只需要增加几张短信相关必要的表就可以实现短信收发控制。Utilize the signaling support module 70 to add the signaling operation that supports SMDPP and SMSREQ, revise the table on the IVPN platform, because the user basic information all exists in the table sxxcardinf, the table that realizes IVPN user function also all exists, so only It is necessary to add several necessary tables related to SMS to realize the control of sending and receiving SMS.

增加表sxxmcgt用来存储手机号段和短信中心的信令地址GT的对应关系表,短信MO流程时,首先,从用户表sxxcardinf和集团表sxxgroupinf读取相关信息来判断用户是否有权限进行短信的发送,再次,如果允许发送则查询表sxxmcgt来获取手机号段对应的MC的GT,最后,通过SMDPP信息消息将短信投递到MC。Add the table sxxmcgt to store the corresponding relationship table between the mobile phone number segment and the signaling address GT of the SMS center. During the SMS MO process, firstly, read the relevant information from the user table sxxcardinf and the group table sxxgroupinf to determine whether the user has the right to send SMS Send, again, if it is allowed to send, query the table sxxmcgt to obtain the GT of the MC corresponding to the mobile phone number segment, and finally, deliver the short message to the MC through the SMDPP information message.

进一步地,参照图9和图10所述接收模块用于:Further, the receiving module described with reference to Fig. 9 and Fig. 10 is used for:

当处于短消息MO流程时,接收移动交换中心MSC发送的SMDPP消息,并返回SMDPP消息至MSC;所述SMDPP消息为MSC在接收到MS通过空中接口发送短消息后,将所述短消息转换为SMDPP消息并根据为该SMDPP消息配置的国际移动用户识别码IMSI所发送;When being in short message MO flow process, receive the SMDPP message that mobile switching center MSC sends, and return SMDPP message to MSC; Described SMDPP message is that MSC converts described short message into The SMDPP message is sent according to the International Mobile Subscriber Identity IMSI configured for the SMDPP message;

当处于短消息MO流程时,MS发送短消息,通过空中接口发送短消息给MSC,MSC将空中接口发送的短消息转换为SMDPP消息。其中SMDPP消息中包含主被叫号码、短信内容、短信编码方式等内容。然后预分配一些指定的IMSI段,MSC根据IMSI号将SMDPP消息直接发送给SCP。SCP收到MSC发过来的SMDPP消息,SCP将SMDPP发送给MSC,证实收到了短消息。如果有数据要返回,返回的SMDPP中也包括需要返回的数据。在MSC接收到SCP发送过来的SMDPP消息时,MSC将SMDPP转换为空中接口的证实消息。When in the short message MO process, the MS sends a short message to the MSC through the air interface, and the MSC converts the short message sent over the air interface into an SMDPP message. The SMDPP message includes content such as the calling and called numbers, content of the short message, encoding method of the short message, and the like. Then pre-allocate some designated IMSI segments, and the MSC sends the SMDPP message directly to the SCP according to the IMSI number. The SCP receives the SMDPP message sent by the MSC, and the SCP sends the SMDPP to the MSC to confirm receipt of the short message. If there is data to be returned, the returned SMDPP also includes the data that needs to be returned. When the MSC receives the SMDPP message sent by the SCP, the MSC converts the SMDPP into an air interface confirmation message.

当处于短消息MT流程时,接收短信中心MC发送的Deliver_SM消息,并回复Deliver_SM_Res消息至MC。When in the short message MT process, receive the Deliver_SM message sent by the short message center MC, and reply the Deliver_SM_Res message to the MC.

当处于短消息MT流程时,MC将Deliver_SM消息(参见参考文献[3])直接发送到IVPN平台,即SCP上;SCP立刻回复Deliver_SM_Res消息给MC,告知已经收到消息。When in the short message MT process, the MC sends the Deliver_SM message (see reference [3]) directly to the IVPN platform, that is, the SCP; the SCP immediately replies the Deliver_SM_Res message to the MC to inform that the message has been received.

进一步地,参照图9和图10,所述解析判断模块用于:Further, referring to Fig. 9 and Fig. 10, the parsing and judging module is used for:

当处于短消息MO流程时,对接收的SMDPP消息进行解析;When in the short message MO process, analyze the received SMDPP message;

根据解析得到的SMDPP消息内容确定是否发送短消息;Determine whether to send a short message according to the SMDPP message content obtained by parsing;

SCP解析接收到的SMDPP消息,将解析出来的主被叫号码、短信内容等送入业务流程处理中心进行处理,例如,判断本次短信发送是否是发送到集团外手机上,是否有往外发送短信的权限等。The SCP analyzes the received SMDPP message, and sends the analyzed calling and called numbers, SMS content, etc. to the business process processing center for processing, for example, to determine whether this SMS is sent to a mobile phone outside the group, and whether there is an outgoing SMS permissions, etc.

若是,将SMDPP消息发送至MC,以供MC下发所述SMDPP消息到被叫MS;If so, send the SMDPP message to the MC, so that the MC sends the SMDPP message to the called MS;

如果业务流程模块判断是发送短信,SCP将主被叫号码、短信内容等重要信息组包成SMDPP消息发送到MC,MC将MS最初发送的短信下发到被叫用户的手机上。If the business process module judges that it is to send a short message, the SCP packages important information such as calling and called numbers, short message content, etc. into an SMDPP message and sends it to the MC, and the MC sends the short message originally sent by the MS to the mobile phone of the called user.

若否,释放呼叫,结束短消息MO流程。If not, release the call and end the short message MO process.

如果业务流程模块判断是不发送短信,那么SCP直接释放呼叫Release Call,拒绝短信的发送。If the business process module judges that the short message is not to be sent, the SCP directly releases the Release Call and refuses to send the short message.

进一步地,参照图9和图10,所述解析判断模块还用于:Further, referring to Fig. 9 and Fig. 10, the parsing and judging module is also used for:

当处于短消息MT流程时,对接收的Deliver_SM消息进行解析;When in the short message MT process, analyze the received Deliver_SM message;

当处于短消息MT流程时,MC将Deliver_SM消息直接发送到SCP上,SCP立刻回复Deliver_SM_Res消息给MC,告知已经收到消息。When in the short message MT process, the MC directly sends the Deliver_SM message to the SCP, and the SCP immediately replies with a Deliver_SM_Res message to the MC to inform that the message has been received.

根据Deliver_SM消息的解析内容确定是否发送短消息;Determine whether to send a short message according to the parsed content of the Deliver_SM message;

SCP对收到的Deliver_SM消息进行解析,将主被叫号码等相关信息送入业务流程处理中心,判断是否可以发送短消息。The SCP analyzes the received Deliver_SM message, and sends relevant information such as calling and called numbers to the business process processing center to determine whether the short message can be sent.

若不发送短消息,释放呼叫,结束短消息MT流程;If no short message is sent, release the call and end the short message MT process;

若判断是发送短消息,根据消息内容中的被叫号码,发送SMSREQ消息至归属位置寄存器HLR,查询被叫号码当前的MSC位置信息;If it is judged to send a short message, according to the called number in the message content, send an SMSREQ message to the home location register HLR, and inquire about the current MSC location information of the called number;

在HLR返回的SMSREQ响应消息有被叫号码的当前MSC位置信息时,记录被叫号码当前MSC位置信息,发送SMDPP消息至被叫号码当前的MSC,以供MSC将SMDPP消息转发至被叫MS;When the SMSREQ response message returned by the HLR has the current MSC location information of the called number, record the current MSC location information of the called number, and send an SMDPP message to the current MSC of the called number, so that the MSC forwards the SMDPP message to the called MS;

若SCP发送SMDPP消息到被叫当前的MSC成功了,SCP将收到MSC发送的SMDPP的响应消息;如果响应消息为成功,SCP发送状态报告到MC,告知MC短信发送成功,SCP接收MC的确认消息,得知MC成功接收状态报告,SCP结束整个MT流程;如果响应消息为失败,SCP将主被叫号码、短信内容等相关信息写入数据库的表sxxsmsfail中保存,定时扫描这张表来重新发送SMSREQ消息到HLR进行查询,之后再发送SMDPP消息到MSC。If the SCP sends the SMDPP message to the called MSC successfully, the SCP will receive the SMDPP response message sent by the MSC; if the response message is successful, the SCP will send a status report to the MC to inform the MC that the short message has been sent successfully, and the SCP will receive the confirmation from the MC message, knowing that the MC has successfully received the status report, the SCP ends the entire MT process; if the response message is a failure, the SCP writes the calling and called number, SMS content and other related information into the database table sxxsmsfail for storage, and scans this table regularly to re- Send SMSREQ message to HLR for inquiry, and then send SMDPP message to MSC.

考虑到SCP的性能,扫描表sxxsmsfail的时间是可以配置的,例如每隔5分钟扫描一次。表中的每条记录都有时间戳字段,如果超过2天(可以配置),则删除本条信息,不再进行后续的处理。如果扫描某条记录后,SCP成功的发送本条信息,则将标志位置为‘1’表示已经发送成功,不需要扫描本条记录了。Considering the performance of SCP, the time to scan table sxxsmsfail is configurable, for example, every 5 minutes. Each record in the table has a timestamp field. If it exceeds 2 days (configurable), this information will be deleted and no subsequent processing will be performed. If after scanning a certain record, the SCP successfully sends this piece of information, then set the flag position to '1' to indicate that it has been sent successfully, and there is no need to scan this piece of information.

在HLR返回的SMSREQ响应消息没有有被叫号码的当前MSC位置信息时,定时重新发送SMSREQ消息至HLR。When the SMSREQ response message returned by the HLR does not have the current MSC location information of the called number, the SMSREQ message is resent to the HLR at regular intervals.

在发送SMSREQ消息时,没有查询到被叫路由信息或HLR没有响应,比如被叫关机、被叫不再服务区等,SCP将主被叫号码、短信内容等相关信息写入数据库的表sxxsmsfail中保存,定时扫描这张表来重新发送SMSREQ消息到HLR进行查询。When the SMSREQ message is sent, if the called party’s routing information is not found or the HLR does not respond, such as the called party’s power off, or the called party’s out of service area, etc., the SCP writes the calling and called party’s number, SMS content and other related information into the table sxxsmsfail in the database. Save, scan this table regularly to resend SMSREQ message to HLR for query.

建立支持长短信发送、多短信中心,目前,MC对于消息内容长度超过160个英文字符或70个汉字的短消息,自动将分割为多条连续短消息(每条含153个英文字符或66个汉字,最多255条)按多条方式连续发送。如短信MT流程时,MC会将长短信进行分割,每条短信的头都加上UDHI(User Data Header Indicator)用来标明是同一条短信,SCP在收到带有相同UDHI头部的短信时,会将这些短信组装成一条完整的短信。最后业务逻辑模块进行判断以决定是否发送这条短信。Establish a center that supports long text messages and multiple text messages. At present, MC will automatically divide short messages with a length of more than 160 English characters or 70 Chinese characters into multiple consecutive short messages (each containing 153 English characters or 66 characters) Chinese characters, up to 255) are sent continuously in multiple ways. For example, during the SMS MT process, the MC will divide the long SMS and add UDHI (User Data Header Indicator) to the header of each SMS to indicate that it is the same SMS. When the SCP receives the SMS with the same UDHI header , will assemble these text messages into a complete text message. Finally, the business logic module judges whether to send the short message.

如果有两个MC,如果第一条短信发自MC1,第二条短信发自MC2,那么SCP在发给MC状态报告时,就必须做到发送到正确的MC上去。在MT流程时,SCP在收到MC发送的Deliver_SM消息时,SCP会根据这个消息记录一个值SmppSktIndex_T,用来标明Deliver_SM消息来自MC1,SmppSktIndex_T对应Deliver_SM消息的账号和地址端口,这样在SCP发送Submit_SM状态报告给MC时,可以根据SmppSktIndex_T查到对应的消息应该发送到MC上去。If there are two MCs, if the first short message is sent from MC1 and the second short message is sent from MC2, then when the SCP sends the MC status report, it must be sent to the correct MC. In the MT process, when the SCP receives the Deliver_SM message sent by the MC, the SCP will record a value SmppSktIndex_T according to the message, which is used to indicate that the Deliver_SM message comes from MC1, and the SmppSktIndex_T corresponds to the account number and address port of the Deliver_SM message, so that the Submit_SM status is sent by the SCP When reporting to MC, you can find out the corresponding message should be sent to MC according to SmppSktIndex_T.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.

Claims (8)

Translated fromChinese
1.一种综合虚拟专用网IVPN平台短消息收发的方法,其特征在于,所述IVPN平台短消息收发的方法包括以下步骤:1. a kind of method for integrated virtual private network IVPN platform short message sending and receiving, it is characterized in that, the method for described IVPN platform short message sending and receiving comprises the following steps:业务控制节点SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息;The service control node SCP receives the short message sent by the short message sender, and replies a response message to the short message sender;SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方;The SCP parses the short message, and determines whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing;当确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方;When it is determined to send the short message to the short message receiver, forward the short message to the short message receiver;所述SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息的步骤之前,所述IVPN平台短消息收发的方法还包括:The SCP receives the short message sent by the short message sender, and before the step of replying the response message to the short message sender, the method for sending and receiving short messages on the IVPN platform also includes:SCP增加支持SMDPP的移动应用部分MAP信令操作,以供当处于短消息起呼MO流程时实现点对点短消息传送;SCP increases the MAP signaling operation of the mobile application part that supports SMDPP, so as to realize point-to-point short message transmission when in the MO process of short message origination;SCP增加支持SMSREQ的MAP信令操作,以供当处于短消息终呼MT流程时获取当前移动台MS的路由信息。The SCP increases the MAP signaling operation that supports SMSREQ, so as to obtain the routing information of the current mobile station MS when it is in the MT process of short message termination.2.如权利要求1所述的IVPN平台短消息收发的方法,其特征在于,所述SCP接收短消息发送方发送的短消息,向短消息发送方回复响应消息的步骤包括:2. the method for IVPN platform short message sending and receiving as claimed in claim 1, is characterized in that, described SCP receives the short message that short message sender sends, and the step of replying response message to short message sender comprises:当处于短消息MO流程时,SCP接收移动交换中心MSC发送的SMDPP消息,并返回SMDPP消息至MSC;所述SMDPP消息为MSC在接收到MS通过空中接口发送短消息后,将所述短消息转换为SMDPP消息并根据为该SMDPP消息配置的国际移动用户识别码IMSI所发送;When in the short message MO process, the SCP receives the SMDPP message sent by the mobile switching center MSC, and returns the SMDPP message to the MSC; the SMDPP message is that the MSC converts the short message after receiving the short message sent by the MS through the air interface It is an SMDPP message and sent according to the International Mobile Subscriber Identity IMSI configured for the SMDPP message;当处于短消息MT流程时,SCP接收短信中心MC发送的Deliver_SM消息,并回复Deliver_SM_Res消息至MC。When in the short message MT process, the SCP receives the Deliver_SM message sent by the short message center MC, and replies the Deliver_SM_Res message to the MC.3.如权利要求1所述的IVPN平台短消息收发的方法,其特征在于,所述SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方的步骤包括:3. the method for IVPN platform short message sending and receiving as claimed in claim 1, is characterized in that, described SCP parses described short message, determines whether to send this short message to short message according to the message content of the described short message that analyzes obtains The steps on the receiving side include:当处于短消息MO流程时,SCP对接收的SMDPP消息进行解析;When in the short message MO process, the SCP parses the received SMDPP message;SCP根据解析得到的SMDPP消息内容确定是否发送短消息;若是,SCP将SMDPP消息发送至MC,以供MC下发所述SMDPP消息到被叫MS;若否,SCP释放呼叫,结束短消息MO流程。The SCP determines whether to send a short message according to the content of the SMDPP message obtained by parsing; if so, the SCP sends the SMDPP message to the MC, so that the MC sends the SMDPP message to the called MS; if not, the SCP releases the call and ends the short message MO process .4.如权利要求1所述的IVPN平台短消息收发的方法,其特征在于,所述SCP解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方的步骤包括:4. the method for IVPN platform short message sending and receiving as claimed in claim 1, is characterized in that, described SCP parses described short message, determines whether to send this short message to short message according to the message content of the described short message that analyzes obtains The steps on the receiving side include:当处于短消息MT流程时,SCP对接收的Deliver_SM消息进行解析;When in the short message MT process, the SCP parses the received Deliver_SM message;SCP根据Deliver_SM消息的解析内容确定是否发送短消息;若不发送短消息,SCP释放呼叫,结束短消息MT流程;The SCP determines whether to send a short message according to the analysis content of the Deliver_SM message; if the short message is not sent, the SCP releases the call and ends the short message MT process;若判断是发送短消息,SCP根据消息内容中的被叫号码,发送SMSREQ消息至归属位置寄存器HLR,查询被叫号码当前的MSC位置信息;If it is judged to send a short message, the SCP sends an SMSREQ message to the home location register HLR according to the called number in the message content, and inquires about the current MSC location information of the called number;在HLR返回的SMSREQ响应消息有被叫号码的当前MSC位置信息时,SCP记录被叫号码当前MSC位置信息,发送SMDPP消息至被叫号码当前的MSC,以供MSC将SMDPP消息转发至被叫MS;When the SMSREQ response message returned by the HLR has the current MSC location information of the called number, the SCP records the current MSC location information of the called number, and sends an SMDPP message to the current MSC of the called number for the MSC to forward the SMDPP message to the called MS ;在HLR返回的SMSREQ响应消息没有有被叫号码的当前MSC位置信息时,SCP定时重新发送SMSREQ消息至HLR。When the SMSREQ response message returned by the HLR does not have the current MSC location information of the called number, the SCP regularly resends the SMSREQ message to the HLR.5.一种业务控制节点SCP,其特征在于,所述SCP包括:5. A service control node SCP, characterized in that the SCP includes:接收模块,用于接收短消息发送方发送的短消息,向短消息发送方回复响应消息;The receiving module is used to receive the short message sent by the short message sender, and reply a response message to the short message sender;解析判断模块,用于解析所述短消息,根据解析得到的所述短消息的消息内容确定是否发送该短消息至短消息接收方;The parsing and judging module is used to parse the short message, and determine whether to send the short message to the short message receiver according to the message content of the short message obtained by parsing;发送模块,用于当确定发送短消息至短消息接收方时,将所述短消息转发至短消息接收方;A sending module, configured to forward the short message to the short message receiver when it is determined to send the short message to the short message receiver;所述SCP还包括:Said SCP also includes:信令支持模块,用于增加支持SMDPP的移动应用部分MAP信令操作,以供当处于短消息起呼MO流程时实现点对点短消息传送,及增加支持SMSREQ的MAP信令操作,以供当处于短消息终呼MT流程时获取当前移动台MS的路由信息。The signaling support module is used to increase the MAP signaling operation of the mobile application part that supports SMDPP, so as to realize point-to-point short message transmission when in the short message call MO process, and increase the MAP signaling operation that supports SMSREQ, for when in the short message call MO process The routing information of the current mobile station MS is obtained when the short message terminates the MT process.6.如权利要求5所述的SCP,其特征在于,所述接收模块用于:6. SCP as claimed in claim 5, is characterized in that, described receiving module is used for:当处于短消息MO流程时,接收移动交换中心MSC发送的SMDPP消息,并返回SMDPP消息至MSC;所述SMDPP消息为MSC在接收到MS通过空中接口发送短消息后,将所述短消息转换为SMDPP消息并根据为该SMDPP消息配置的国际移动用户识别码IMSI所发送;When being in short message MO flow process, receive the SMDPP message that mobile switching center MSC sends, and return SMDPP message to MSC; Described SMDPP message is that MSC converts described short message into The SMDPP message is sent according to the International Mobile Subscriber Identity IMSI configured for the SMDPP message;当处于短消息MT流程时,接收短信中心MC发送的Deliver_SM消息,并回复Deliver_SM_Res消息至MC。When in the short message MT process, receive the Deliver_SM message sent by the short message center MC, and reply the Deliver_SM_Res message to the MC.7.如权利要求5所述的SCP,其特征在于,所述解析判断模块用于:7. SCP as claimed in claim 5, is characterized in that, described parsing judgment module is used for:当处于短消息MO流程时,对接收的SMDPP消息进行解析;When in the short message MO process, analyze the received SMDPP message;根据解析得到的SMDPP消息内容确定是否发送短消息;若是,将SMDPP消息发送至MC,以供MC下发所述SMDPP消息到被叫MS;若否,释放呼叫,结束短消息MO流程。Determine whether to send a short message according to the SMDPP message content obtained by parsing; if so, send the SMDPP message to the MC for the MC to issue the SMDPP message to the called MS; if not, release the call and end the short message MO process.8.如权利要求5所述的SCP,其特征在于,所述解析判断模块还用于:8. SCP as claimed in claim 5, is characterized in that, described parsing judgment module is also used for:当处于短消息MT流程时,对接收的Deliver_SM消息进行解析;When in the short message MT process, analyze the received Deliver_SM message;根据Deliver_SM消息的解析内容确定是否发送短消息;若不发送短消息,释放呼叫,结束短消息MT流程;Determine whether to send a short message according to the analysis content of the Deliver_SM message; if not send a short message, release the call and end the short message MT process;若判断是发送短消息,根据消息内容中的被叫号码,发送SMSREQ消息至归属位置寄存器HLR,查询被叫号码当前的MSC位置信息;If it is judged to send a short message, according to the called number in the message content, send an SMSREQ message to the home location register HLR, and inquire about the current MSC location information of the called number;在HLR返回的SMSREQ响应消息有被叫号码的当前MSC位置信息时,记录被叫号码当前MSC位置信息,发送SMDPP消息至被叫号码当前的MSC,以供MSC将SMDPP消息转发至被叫MS;When the SMSREQ response message returned by the HLR has the current MSC location information of the called number, record the current MSC location information of the called number, and send an SMDPP message to the current MSC of the called number, so that the MSC forwards the SMDPP message to the called MS;在HLR返回的SMSREQ响应消息没有有被叫号码的当前MSC位置信息时,定时重新发送SMSREQ消息至HLR。When the SMSREQ response message returned by the HLR does not have the current MSC location information of the called number, the SMSREQ message is resent to the HLR at regular intervals.
CN201410290487.1A2014-06-252014-06-25The method and business control nodes of IVPN platform sending and receiving short messagesExpired - Fee RelatedCN105228113B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201410290487.1ACN105228113B (en)2014-06-252014-06-25The method and business control nodes of IVPN platform sending and receiving short messages
PCT/CN2015/072931WO2015196819A1 (en)2014-06-252015-02-12Method for receiving and sending short message on ivpn platform, and service control point

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410290487.1ACN105228113B (en)2014-06-252014-06-25The method and business control nodes of IVPN platform sending and receiving short messages

Publications (2)

Publication NumberPublication Date
CN105228113A CN105228113A (en)2016-01-06
CN105228113Btrue CN105228113B (en)2019-11-05

Family

ID=54936707

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410290487.1AExpired - Fee RelatedCN105228113B (en)2014-06-252014-06-25The method and business control nodes of IVPN platform sending and receiving short messages

Country Status (2)

CountryLink
CN (1)CN105228113B (en)
WO (1)WO2015196819A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113923692B (en)*2021-10-092024-12-24中国电信股份有限公司 State calibration method, device, network element equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1518389A (en)*2003-01-272004-08-04��Ϊ�������޹�˾ A Method for Sending Short Messages Using Short Numbers of Mobile Phones
CN1571562A (en)*2003-07-192005-01-26华为技术有限公司An implementing method for sending short message via short number of handset
CN101895850A (en)*2009-05-192010-11-24华为技术有限公司Method, system and service control platform for realizing fixed telephone service

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6741693B1 (en)*2000-06-222004-05-25Sbc Properties, L.P.Method of operating a virtual private network
CN100450213C (en)*2006-02-152009-01-07华为技术有限公司 How to send a short message
CN101106521A (en)*2006-07-142008-01-16华为技术有限公司 Grouping network with enhanced service filtering rules and its realization method
CN100461683C (en)*2007-01-182009-02-11华为技术有限公司 General service system and device, network access system and service processing method
CN101247571A (en)*2008-03-112008-08-20中国联合通信有限公司Method and system for sending short message through VPN short number
US8089897B2 (en)*2009-02-252012-01-03At&T Intellectual Property I, L.P.VPN intelligent route service control point trouble diagnostics

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1518389A (en)*2003-01-272004-08-04��Ϊ�������޹�˾ A Method for Sending Short Messages Using Short Numbers of Mobile Phones
CN1571562A (en)*2003-07-192005-01-26华为技术有限公司An implementing method for sending short message via short number of handset
CN101895850A (en)*2009-05-192010-11-24华为技术有限公司Method, system and service control platform for realizing fixed telephone service

Also Published As

Publication numberPublication date
CN105228113A (en)2016-01-06
WO2015196819A1 (en)2015-12-30

Similar Documents

PublicationPublication DateTitle
US8005493B2 (en)Messaging system and method
US8526979B2 (en)Method and apparatus for parent-controlled short message service
AU2005308619B2 (en)Telecommunications services apparatus and methods
CN101156384B (en)Method and system for limiting forwarding times of multimedia message by multimedia message center
CN101742429B (en)Method, device and system for intercommunication of instant message and short message
CN1997079A (en)Method, system and mobile terminal for inquiry of the linkman state
CN1750669A (en) A Method for Group Sending Short Messages
CN101917503B (en)Telephone terminal, system and method for supporting automatic collocated multimedia message service
CN100407737C (en) A reminder device for missed calls and its implementation method
EP1865731A1 (en)A method for realizing short message called service and a short message process system
CN100426887C (en)Method for realizing short-message foreward turning and system thereof
CN105228113B (en)The method and business control nodes of IVPN platform sending and receiving short messages
CN101106820A (en) Method and system for implementing customized business based on one-card-multiple-number technology
WO2006081733A1 (en)Method of integrating forwarding short messages
EP1810533B1 (en)Telecommunications services apparatus and method
CN101217687B (en)Mms message state information processing method
CN101018212A (en)Integrated service system for supporting the multiple SMS service and realization method of SMS service
EP2731366A1 (en)Short message sending method, short message service center and gateway
WO2005048617A1 (en)Telecommunications services apparatus and methods
CN100401802C (en) A Method for Realizing Short Message Forwarding
CN101990179A (en)Portability user short message receipt processing equipment, system and processing method
CN100403817C (en) Data Message Forwarding Method
KR101051021B1 (en) Incoming call history providing method and system
KR20090001145A (en) Wireless communication method and system for determining text message delivery method by checking message length and network property
KR100783265B1 (en) System for providing call origination information as a multimedia message in a wireless communication network

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20191105

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp