CN101160939B - Method, system and device for implementing short message forwarding and short message service center - Google Patents
Method, system and device for implementing short message forwarding and short message service center Download PDFInfo
- Publication number
- CN101160939B CN101160939B CN200680012220XA CN200680012220A CN101160939B CN 101160939 B CN101160939 B CN 101160939B CN 200680012220X A CN200680012220X A CN 200680012220XA CN 200680012220 A CN200680012220 A CN 200680012220A CN 101160939 B CN101160939 B CN 101160939B
- Authority
- CN
- China
- Prior art keywords
- short message
- service center
- message service
- network
- current receiver
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42382—Text-based messaging services in telephone networks such as PSTN/ISDN, e.g. User-to-User Signalling or Short Message Service for fixed networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/54—Arrangements for diverting calls for one subscriber to another predetermined subscriber
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
提供了对短消息进行前转的方法,短消息的接收方归属一短消息业务中心,该方法包括:将短消息提供给所述短消息的接收方归属的短消息业务中心;判断短消息的当前接收方是否设置有前转目的号码,若设置有前转目的号码,将前转目的号码作为当前接收方,确定当前接收方是否归属所述短消息业务中心所属的网络;若确定当前接收方归属所述短消息业务中心所属的网络,继续上述判断的过程,直至确定当前接收方未设置前转目的号码或不归属所述短消息业务中心所属的网络;将当前接收方确定为最终接收方;以及将短消息发送给最终接收方。还提供了用于实现上述前转方法的短消息前转系统、拦截装置、短消息前转业务装置和短消息业务中心。
A method for forwarding a short message is provided. The receiver of the short message belongs to a short message service center. The method includes: providing the short message to the short message service center to which the receiver of the short message belongs; Whether the current receiver is set with a forwarding destination number, if the forwarding destination number is set, use the forwarding destination number as the current receiver to determine whether the current receiver belongs to the network to which the short message service center belongs; if the current receiver is determined Belong to the network to which the short message service center belongs, continue the above judgment process until it is determined that the current receiver has not set the forwarding destination number or does not belong to the network to which the short message service center belongs; determine the current receiver as the final receiver ; and send the short message to the final receiver. Also provided are a short message forwarding system, an intercepting device, a short message forwarding service device and a short message service center for realizing the above forwarding method.
Description
技术领域technical field
本发明涉及实现短消息的方法、系统装置和短消息业务中心。The invention relates to a method, a system device and a short message service center for realizing short messages.
发明背景Background of the invention
目前,一般都针对固定电话和移动电话的语音通话提供了呼叫前转功能,而没有针对短消息提供这一功能。At present, the call forwarding function is generally provided for voice calls on fixed phones and mobile phones, but not for short messages.
短消息业务基于存储转发模式,即短消息业务中心将短消息保存起来,在用户可以接收时把存储的短消息再下发到用户的终端上。如果在设置的最大消息保留期内用户还没有接收短消息,则短消息业务中心会丢弃这条短消息。这样,如果用户在短消息保留有效期内不开机,就会导致用户的短消息因为没有被及时接收而丢失。The short message service is based on the store-and-forward mode, that is, the short message service center saves the short message, and sends the stored short message to the user's terminal when the user can receive it. If the user has not received the short message within the set maximum message retention period, the short message service center will discard the short message. Like this, if the user does not turn on the machine within the validity period of the short message retention, the short message of the user will be lost because it is not received in time.
现有的短消息系统一般不支持用户对短消息设置前转,无法满足用户希望把呼叫和短消息同时转移到另一号码的需求。The existing short message system generally does not support the user to set the forwarding of the short message, and cannot meet the user's requirement of transferring the call and the short message to another number at the same time.
发明内容Contents of the invention
本发明的目的是提供克服现有技术缺陷的、实现短消息前转的方法和系统。The purpose of the present invention is to provide a method and system for realizing short message forwarding which overcomes the defects of the prior art.
根据本发明的第一方面,提供了一种对短消息进行前转的方法,该方法包括:According to a first aspect of the present invention, a method for forwarding a short message is provided, the method comprising:
将短消息提供给所述短消息的接收方归属的短消息业务中心;providing the short message to the short message service center to which the recipient of the short message belongs;
判断短消息的当前接收方是否设置有前转目的号码,若设置有前转目的号码,将前转目的号码作为当前接收方,确定当前接收方是否归属所述短消息业务中心所属的网络;若确定当前接收方归属所述短消息业务中心所属的网络,继续上述判断的过程,直至确定当前接收方未设置前转目的号码或不归属所述短消息业务中心所属的网络;Judging whether the current recipient of the short message is provided with a forwarding destination number, if the forwarding destination number is provided, the forwarding destination number is used as the current recipient to determine whether the current recipient belongs to the network to which the short message service center belongs; if Determine that the current recipient belongs to the network to which the short message service center belongs, and continue the above judgment process until it is determined that the current recipient has not set a forwarding destination number or does not belong to the network to which the short message service center belongs;
将当前接收方确定为最终接收方;以及identify the current recipient as the final recipient; and
将短消息发送给最终接收方。Send the short message to the final recipient.
下述方法的技术方案为可选技术方案。The technical solutions of the following methods are optional technical solutions.
对于发送方和最终接收方不归属所述短消息业务中心所属网络的待发送短消息,或者对于仅最终接收方不归属所述短消息业务中心所属网络的待发送短消息,当确定所述待发送短消息的发送方、最终接收方和内容与预定时间内已发送的短消息的发送方、接收方和内容相同时,丢弃该待发送短消息。For the short message to be sent for which the sender and the final receiver do not belong to the network to which the short message service center belongs, or for the short message to be sent for which only the final receiver does not belong to the network to which the short message service center belongs, when it is determined that the short message to be sent When the sender, final receiver and content of the short message are the same as the sender, receiver and content of the short message sent within the predetermined time, the short message to be sent is discarded.
所述已发送的短消息的发送方、接收方和内容被保存所述预定时间。The sender, receiver and content of the sent short message are stored for the predetermined time.
对于归属所述短消息业务中心所属网络的、设置有前转目的号码的当前接收方,在 设置其前转目的号码时,进行前转死循环检查。For the current receiver who belongs to the network belonging to the short message service center and is provided with the forwarding destination number, when setting its forwarding destination number, carry out forwarding dead loop check.
对于归属所述短消息业务中心所属网络的、设置有前转目的号码的当前接收方,其前转目的号码是通过以下任一方式设置的:短消息业务、非结构化补充业务数据、交互式语音应答和用户门户网站。For the current receiver who belongs to the network to which the short message service center belongs and has a forwarding destination number set, the forwarding destination number is set by any of the following methods: short message service, unstructured supplementary service data, interactive Voice response and user portal.
所述短消息业务中心通过短消息互联网关与他网短消息业务中心互联。The short message service center is interconnected with other network short message service centers through the short message interconnection gateway.
所述短消息业务中心通过七号信令与他网短消息业务中心互联,对于发送方不归属本网短消息业务中心所属的网络的短消息,在确定当前接收方设置有前转目的号码的情况下,将短消息拦截到本网短消息业务中心。The short message service center is interconnected with the short message service center of other networks through No. 7 signaling, and for the short message that the sender does not belong to the network to which the short message service center of this network belongs, it is determined that the current receiver is provided with a forwarding destination number Under the circumstances, the short message is intercepted to the short message service center of the network.
本发明还提供一种短消息前转系统,该系统包括:The present invention also provides a short message forwarding system, which includes:
短消息业务中心;Short message service center;
用于提供短消息给所述短消息业务中心的装置,其中短消息的接收方归属所述短消息业务中心;和,means for providing a short message to said short message service center, wherein the recipient of the short message belongs to said short message service center; and,
短消息前转业务装置,short message forwarding service device,
其中,所述短消息业务中心用于:向短消息前转业务装置查询短消息的当前接收方是否设置有前转目的号码,对设置了前转目的号码的当前接收方,通过将其前转目的号码作为当前接收方来更新当前接收方;基于归属所述短消息业务中心所属的网络的当前接收方是否设置有前转目的号码来确定是否进行所述更新当前接收方的过程;将未设置前转目的号码或不归属所述短消息业务中心所属的网络的当前接收方确定为最终接收方;以及,将短消息发送给最终接收方。Wherein, the short message service center is used for: querying the short message forwarding service device whether the current recipient of the short message has a forwarding destination number set, and for the current recipient who has set the forwarding destination number, by forwarding the The destination number is used as the current receiver to update the current receiver; whether the current receiver belonging to the network to which the short message service center belongs is set with a forwarding destination number to determine whether to perform the process of updating the current receiver; The forwarding destination number or the current recipient not belonging to the network to which the short message service center belongs is determined as the final recipient; and, sending the short message to the final recipient.
下述系统的技术方案为可选技术方案。The technical solutions of the following systems are optional technical solutions.
短消息前转业务装置与所述短消息业务中心合设,或者短消息前转业务装置独立于短消息业务中心设置。The short message forwarding service device is set up together with the short message service center, or the short message forwarding service device is set independently from the short message service center.
所述短消息业务中心通过短消息互联网关与他网短消息业务中心互联。The short message service center is interconnected with other network short message service centers through the short message interconnection gateway.
所述短消息业务中心通过七号信令与他网短消息业务中心互联。The short message service center is interconnected with the other network's short message service center through No. 7 signaling.
所述系统还包括拦截装置,对于发送方不归属所述短消息业务中心所属的网络的短消息,在确定短消息的当前接收方设置有前转目的号码的情况下,将短消息拦截到所述短消息业务中心。The system also includes an intercepting device, for a short message whose sender does not belong to the network to which the short message service center belongs, if it is determined that the current receiver of the short message has a forwarding destination number set, intercept the short message to the The short message service center.
本发明还提供一种拦截装置,包括:判断模块和拦截模块;The present invention also provides an intercepting device, including: a judging module and an intercepting module;
判断模块:用于在确定短消息的发送方不归属接收方短消息业务中心所属网络,且短消息的当前接收方设置有前转目的号码的情况下,通知拦截模块;Judgment module: used to notify the interception module when it is determined that the sender of the short message does not belong to the network to which the short message service center of the receiver belongs, and the current receiver of the short message is set with a forwarding destination number;
拦截模块:用于在接收到判断模块的通知后,将短消息传输到接收方短消息业务中心。Interception module: for transmitting the short message to the short message service center of the receiving party after receiving the notification from the judging module.
本发明还提供一种短消息业务中心,包括:查询接口模块和发送模块;The present invention also provides a short message service center, including: a query interface module and a sending module;
查询接口模块:用于向短消息前转业务装置查询短消息的当前接收方是否设置有前转目的号码,查询接口模块在接收到当前接收方设置有前转目的号码的信息时,通知发送模块,查询接口模块在接收到当前接收方没有设置前转目的号码的信息时,通知发送模块;Query interface module: used to query the short message forwarding service device whether the current receiver of the short message has a forwarding destination number set, and the query interface module will notify the sending module when receiving the information that the current receiver has set a forwarding destination number , the query interface module notifies the sending module when receiving the information that the current receiving party has not set the forwarding destination number;
发送模块:用于接收到查询接口模块的设置有前转目的号码的通知后,根据查询接口模块的通知将前转目的号码作为当前接收方,确定当前接收方是否归属所述短消息业务中心所属的网络,若确定当前接收方归属所述短消息业务中心所属的网络,通知查询接口模块继续查询当前接收方是否设置有前转目的号码,直至确定当前接收方不归属所述短消息业务中心所属的网络或者接收到查询接口模块的没有设置前转目的号码的通知,将当前接收方确定为最终接收方并将短消息发送给最终接收方。Sending module: after receiving the notification of the forwarding destination number set by the query interface module, according to the notification of the query interface module, the forwarding destination number is taken as the current receiver, and it is determined whether the current receiver belongs to the short message service center If it is determined that the current recipient belongs to the network to which the short message service center belongs, the query interface module is notified to continue to inquire whether the current recipient has a forwarding destination number until it is determined that the current recipient does not belong to the short message service center. network or receive a notification that the forwarding destination number is not set from the query interface module, determine the current recipient as the final recipient and send the short message to the final recipient.
附图简要说明Brief description of the drawings
图1是根据本发明的一个实施方案的实现短消息前转的系统的示意图;Fig. 1 is the schematic diagram of the system realizing short message forwarding according to an embodiment of the present invention;
图2示出了利用本发明的一个实施方案的方法进行短消息前转的信令流程;Fig. 2 has shown the signaling flow that utilizes the method for one embodiment of the present invention to carry out short message forwarding;
图3示出了根据本发明的一个实施方案的、通过短消息互联网关将本网短消息业务中心与他网短消息业务中心互联的示意图;Fig. 3 shows a schematic diagram of interconnecting the short message service center of this network with the short message service center of other networks through the short message interconnection gateway according to an embodiment of the present invention;
图4示出了根据本发明的一个实施方案的、通过七号信令将本网短消息业务中心与他网短消息业务中心互联的示意图;Fig. 4 shows a schematic diagram of interconnecting the short message service center of this network with the short message service center of other networks through No. 7 signaling according to an embodiment of the present invention;
图5示出了针对图4所示情形的、将由他网用户发送给本网用户的短消息拦截到本网短消息业务中心的一个实施方案信令流程。Fig. 5 shows a signaling flow of an implementation scheme for intercepting short messages sent from other network users to local network users to the local network short message service center for the situation shown in Fig. 4 .
实施本发明的方式Modes of Carrying Out the Invention
本发明的一个实施方案提供了一种实现短消息前转的系统,如图1所示。为实现短消息前转,该系统主要对现有技术的短消息业务中心(SMSC,Short Message ServiceCenter)进行了改造,增加了短消息前转业务部件(SMFS,Short Message Forward Service)来实现短消息前转的逻辑。实现过程是:把所有下行短消息(MT, Mobile Terminated SMS)提供给接收方归属的SMSC,由该SMSC判断接收方是否开通了短消息前转业务,如果接收方用户开通了该业务,则向SMFS发出请求,要求查询前转目的号码,然后根据查询结果,把该短消息发送给前转目的号码,或者在用户未设置前转目的号码的情况下按照现有技术处理短消息。SMFS作为本系统的一个主要逻辑处理单元,可以被实现为SMSC的一部分,也可以独立部件的方式存在。An embodiment of the present invention provides a system for realizing short message forwarding, as shown in FIG. 1 . In order to realize short message forwarding, the system mainly transforms the existing short message service center (SMSC, Short Message Service Center), and adds a short message forwarding service component (SMFS, Short Message Forward Service) to realize short message forwarding. Forwarding logic. The implementation process is: provide all downlink short messages (MT, Mobile Terminated SMS) to the SMSC to which the recipient belongs, and judge whether the recipient has opened the short message forwarding service by the SMSC. The SMFS sends a request to inquire about the forwarding destination number, and then sends the short message to the forwarding destination number according to the query result, or processes the short message according to the prior art if the user does not set the forwarding destination number. As a main logical processing unit of the system, SMFS can be implemented as a part of SMSC, or exist as an independent component.
关于图1的其他部件,业务运营支撑系统(BOSS,Business Operation Support System)和无线智能网(WIN,Wireless Intelligent Network)分别连接到移动数据业务平台(MDSP,Mobile Data Service Platform),移动数据业务平台连接到短消息业务中心和短消息前转业务部件,短消息业务网关(SMS GW,Short Message Service Gateway)和短消息互联网关(I/O GW,Short Message Input/Output Gateway)分别连接到短消息业务中心。概括来说,它们的功能分别如下:业务运营支撑系统主要完成后付费用户的管理和计费功能;无线智能网主要完成预付费用户的管理和计费功能;移动数据业务平台,作为数据业务的统一的业务管理点,协助WIN/BOSS完成数据业务的计费和管理功能;短消息业务网关,主要作为业务提供者(SP,Service Provider)接入短消息系统的接入设备,集中接入短消息相关的SP;短消息互联网关,主要作为他网SMSC(包括国际SMSC)与本网SMSC互联的接入设备,是IP承载方式的互联接入节点。此外,SMFS与MDSP间的接口主要在业务受理时使用,进行业务受理时,BOSS通知MDSP,MDSP通知到SMFS。关于业务受理将在后面描述。Regarding other components in Figure 1, the business operation support system (BOSS, Business Operation Support System) and the wireless intelligent network (WIN, Wireless Intelligent Network) are respectively connected to the mobile data service platform (MDSP, Mobile Data Service Platform), and the mobile data service platform Connected to the short message service center and the short message forwarding service part, the short message service gateway (SMS GW, Short Message Service Gateway) and the short message Internet gateway (I/O GW, Short Message Input/Output Gateway) are respectively connected to the short message B. In a nutshell, their functions are as follows: the business operation support system mainly completes the management and billing functions of postpaid users; the wireless intelligent network mainly completes the management and billing functions of prepaid users; the mobile data service platform, as the data service A unified service management point, assisting WIN/BOSS to complete the billing and management functions of data services; the short message service gateway is mainly used as an access device for service providers (SP, Service Provider) to access the short message system, and centrally access the short message system. Message-related SP; short message Internet gateway, mainly used as an access device for the interconnection between other network SMSCs (including international SMSCs) and local network SMSCs, and an interconnection access node in the IP bearer mode. In addition, the interface between SMFS and MDSP is mainly used when accepting business. When accepting business, BOSS notifies MDSP, and MDSP notifies SMFS. The business acceptance will be described later.
关于上面提到的“本网SMSC”、“他网SMSC”和“国际SMSC”,在这里指一种商业上的区分,即针对不同运营商来区分SMSC。简单来说,如果一个网络属于谁,称该网为本网,则其它网络相对该网络而言都可称为他网。容易理解的是,国际SMSC就是非本国内的SMSC,如:相对于中国的SMSC而言,日本的SMSC就是一个国际SMSC。在本文件中,国际SMSC也是一种他网SMSC。需要进一步说明的是,在下文中,如果称一个SMSC为本网SMSC,则与该SMSC属于同一网络的其他SMSC也称为本网SMSC,归属本网SMSC所属的网络的用户为本网用户,其他用户为他网用户。可类似地理解在下文中出现的其他“本网...”和“他网...”。As for the "local network SMSC", "other network SMSC" and "international SMSC" mentioned above, it refers to a commercial distinction, that is, to distinguish SMSC for different operators. To put it simply, if a network belongs to someone, it is called this network, and other networks can be called other networks relative to this network. It is easy to understand that an international SMSC is a non-domestic SMSC. For example, compared to a Chinese SMSC, a Japanese SMSC is an international SMSC. In this document, international SMSC is also a kind of other network SMSC. It should be further explained that in the following, if an SMSC is referred to as an SMSC of the local network, other SMSCs belonging to the same network as the SMSC are also called SMSCs of the local network, and users belonging to the network to which the SMSC of the local network belongs are users of the local network, and other The user is a user of another network. Other "this network..." and "other network..." appearing hereinafter can be similarly understood.
下面通过一个实际场景,详细描述本发明实施方式的实现短消息前转的系统和方法。图2示出了利用本发明的方法进行短消息前转的一个实施方案信令流程。该信令流程可通过图1的系统实现。假设移动用户(MS,Mobile Station)A、B和C都归属图2所示的SMSC,并称该SMSC为本网SMSC。例如,一种典型场景是:A发送短消息给 B,B订购了短消息前转业务并设置前转目的号码为C。结合该场景,对图2中信令流程的说明如下:The system and method for implementing short message forwarding according to the embodiment of the present invention will be described in detail below through an actual scene. FIG. 2 shows a signaling flow of an embodiment of short message forwarding using the method of the present invention. This signaling process can be realized by the system in FIG. 1 . Assume that mobile users (MS, Mobile Station) A, B and C all belong to the SMSC shown in Figure 2, and this SMSC is called the SMSC of the home network. For example, a typical scenario is: A sends a short message to B, and B subscribes to the short message forwarding service and sets the forwarding destination number as C. Combined with this scenario, the description of the signaling process in Figure 2 is as follows:
a.本网用户A发送短消息给本网用户B,A的MO请求提交到SMSC;a. User A of this network sends a short message to user B of this network, and A's MO request is submitted to SMSC;
b.SMSC对用户A和B进行鉴权,如果鉴权失败,则发送失败,返回MO_RSP给用户A,生成MO话单,结束流程;b. SMSC authenticates users A and B. If the authentication fails, the sending fails, and MO_RSP is returned to user A to generate MO bills and end the process;
c.如果鉴权通过,则由SMSC提交计费请求到MDSP;c. If the authentication is passed, the SMSC submits a charging request to the MDSP;
d.MDSP返回计费结果,如果计费失败则发送失败,返回MO_RSP给用户A,生成MO话单,结束流程;d. MDSP returns the billing result. If the billing fails, the sending fails, and MO_RSP is returned to user A to generate MO bills and end the process;
e.如果计费成功,返回MO_RSP给用户A;e. If the billing is successful, return MO_RSP to user A;
f.SMSC生成MO话单;f. SMSC generates MO bill;
g.SMSC检查用户B是否订购了短消息前转业务;如果B没有订购短消息前转业务,则按正常的短消息流程处理;g. SMSC checks whether user B has subscribed to the short message forwarding service; if B has not subscribed to the short message forwarding service, it will be processed according to the normal short message process;
h.如果用户B订购了短消息前转业务,则SMSC发送请求到SMFS,要求查询用户B是否设置了前转目的号码;h. If user B subscribes to the short message forwarding service, the SMSC sends a request to SMFS to ask whether user B has set the forwarding destination number;
i.SMFS查询数据库,返回查询结果;如果查询结果为用户B目前没有设置前转目标用户,即用户B对应的前转目的号码设置为空,则SMSC按正常短消息流程处理;i. SMFS queries the database and returns the query result; if the query result is that user B has not set the forwarding target user at present, that is, the forwarding destination number corresponding to user B is set to be empty, then SMSC processes it according to the normal short message process;
j.如果查询结果为用户B设置了短消息的前转目的号码C,则SMSC发送状态报告到A,表示A到B的短消息发送成功;j. If the result of the query is that user B sets the forwarding destination number C of the short message, the SMSC sends a status report to A, indicating that the short message from A to B is successfully sent;
k.SMSC对用户A和用户C进行鉴权,如果鉴权失败,则发送失败,结束流程;k. SMSC authenticates user A and user C, if the authentication fails, the sending fails and the process ends;
l.如果鉴权通过,则由SMSC提交前转的计费请求到MDSP;l. If the authentication is passed, the SMSC submits the forwarded charging request to the MDSP;
m.MDSP返回计费结果,如果计费失败,则发送失败,结束流程;m.MDSP returns the accounting result, if the accounting fails, the sending fails and the process ends;
n.如果计费成功,则SMSC生成前转的话单;n. If the billing is successful, the SMSC generates a forwarding bill;
o.SMSC检查用户C是否订购了短消息前转业务;如果用户C订购了短消息前转业务,则重复步骤h-n;o. SMSC checks whether user C has subscribed to the short message forwarding service; if user C has subscribed to the short message forwarding service, then repeat steps h-n;
p.如果用户C没有订购短消息前转业务或没有设置前转目的号码,则SMSC下发短消息到目的号码C;p. If user C has not subscribed to the short message forwarding service or has not set the forwarding destination number, the SMSC will send a short message to the destination number C;
q.如果发送失败,SMSC按正常的MT短消息重试机制重试下发;q. If sending fails, SMSC retry sending according to normal MT short message retry mechanism;
r.若发送成功,用户C返回结果给SMSC,SMSC生成MT话单。r. If the sending is successful, user C returns the result to SMSC, and SMSC generates MT bill.
通过图2所示的流程,因而为简化起见,只示出了与实现短消息前转相关的信令,而省略了一些现有技术中公知的过程及它们涉及到的有关部件,如在步骤p中,在下发 短消息到目的号码C之前,SMSC到用户C归属的归属位置寄存器(HLR,Home Location Register)获取用户C的被访移动业务交换中心(VMSC,Visited Mobile Services Switching Centre)地址等。Through the process shown in Fig. 2, therefore, for the sake of simplification, only the signaling related to realizing short message forwarding is shown, and some processes known in the prior art and the relevant components involved in them are omitted, as in the step In p, before sending the short message to the destination number C, the SMSC obtains the address of the Visited Mobile Services Switching Center (VMSC, Visited Mobile Services Switching Center) of the user C from the home location register (HLR, Home Location Register) of the user C. .
对于SP发送给用户的短消息,以及将短消息前转到SP应用的情形,处理方式和流程与上述典型流程相同,只不过SP的号码通常是一个特殊的号码,如:07551860等。For the short message sent by the SP to the user, and the situation of forwarding the short message to the SP application, the processing method and flow are the same as the above-mentioned typical flow, except that the number of the SP is usually a special number, such as: 07551860 and so on.
根据上述典型流程,可进行多次前转,那么在前转过程中可能出现A->B->C->D->A、A->B->C->D->B、A->B->A等死循环的情况。鉴于此,本发明提供了检测死循环的方法。如果将接收方所归属的SMSC以及与该SMSC属于同一网络的其他SMSC称为本网SMSC,则短消息的发送方及其接收方的前转目的号码可能都归属本网SMSC,也可能其中一个或者两者归属他网SMSC。上述短消息前转流程的实际场景属于前者。According to the above typical process, forwarding can be performed multiple times, then A->B->C->D->A, A->B->C->D->B, A- >B->A and other infinite loop situations. In view of this, the present invention provides a method for detecting an infinite loop. If the SMSC to which the recipient belongs and other SMSCs belonging to the same network as the SMSC are called the SMSC of the local network, the forwarding destination numbers of the sender and the recipient of the short message may both belong to the SMSC of the local network, or one of them may belong to the SMSC of the local network. Or both belong to other network SMSC. The actual scene of the above short message forwarding process belongs to the former.
根据接收方的前转目的号码归属本网SMSC还是他网SMSC,死循环的检测方法是不同的。Depending on whether the forwarding destination number of the receiving party belongs to the SMSC of the local network or the SMSC of another network, the detection method of the infinite loop is different.
对于接收方的前转目的号码归属本网SMSC的情形,可通过在用户设置前转目的号码时进行检查来避免死循环。一般而言,对本网SMSC所属的网络来说,他网用户的相关数据是未知的。因此,下面即将进行详细描述的设置过程是针对归属本网SMSC的号码而言的。即,在下面的设置过程中,当针对某个号码进行相关操作时,隐含地表明了该号码归属本网SMSC。容易理解的是,在下面的设置过程中,一旦发现需要针对其进行有关操作的号码不归属本网SMSC,即可通过直接将待设置的前转目的号码设置为当前号码的前转目的号码来结束设置。For the situation that the forwarding destination number of the receiving party belongs to the SMSC of the local network, the infinite loop can be avoided by checking when the user sets the forwarding destination number. Generally speaking, for the network to which the SMSC of this network belongs, the relevant data of other network users are unknown. Therefore, the setting process described in detail below is for the number belonging to the SMSC of the home network. That is, in the following setting process, when performing related operations on a certain number, it implicitly indicates that the number belongs to the SMSC of the local network. It is easy to understand that, in the following setting process, once it is found that the number that needs to be operated on does not belong to the SMSC of this network, you can directly set the forwarding destination number to be set as the forwarding destination number of the current number. End setup.
在上述前提下,设置过程可这样进行。Under the above premise, the setting process can be carried out as follows.
将待设置前转号码的当前号码和待设置的前转目的号码顺序放到一个列表中,检查列表中是否存在相同的号码:若存在,说明存在死循环,放弃将该待设置的前转目的号码设置为当前号码的前转目的号码,结束设置;若不存在,进行下面的操作。Put the current number of the forwarding number to be set and the forwarding destination number to be set in a list, and check whether the same number exists in the list: if it exists, it means that there is an infinite loop, and give up the forwarding destination to be set The number is set as the forwarding destination number of the current number, and the setting is completed; if it does not exist, perform the following operations.
对于待设置的前转目的号码(归属本网SMSC),检查其是否设置有前转目的号码,若没有,将其设置为当前号码的前转目的号码,结束设置;否则,将其前转目的号码加入到列表中,针对最新加入到列表中的号码,进行以下操作。For the forwarding destination number to be set (belonging to this network SMSC), check whether it is set with a forwarding destination number, if not, set it as the forwarding destination number of the current number, and end the setting; otherwise, set the forwarding destination number The number is added to the list, and the following operations are performed for the latest number added to the list.
对于最新加入到列表中的号码,检查列表中是否存在相同的号码,若存在,说明存在死循环,放弃将该待设置的前转目的号码设置为当前号码的前转目的号码,结束设置; 若不存在,检查其是否设置有前转目的号码,以及For the latest number added to the list, check whether there is the same number in the list. If it exists, it means that there is an infinite loop. Give up setting the forwarding destination number to be set as the forwarding destination number of the current number, and end the setting; if does not exist, check whether it is set with a forwarding destination number, and
(i)若没有,将该待设置的前转目的号码设置为当前号码的前转目的号码,结束设置,或者(i) If not, set the forwarding destination number to be set as the forwarding destination number of the current number, and end the setting, or
(ii)若有,将其前转目的号码加入到列表中。(ii) If there is, add its forwarding destination number to the list.
在(ii)的情况下,重复以上针对最新加入到列表中的号码的操作,直至结束设置。In the case of (ii), repeat the above operations for the numbers newly added to the list until the setting is completed.
就“结束设置”而言,存在两种可能性:一、检查到列表中存在相同的号码,放弃将待设置的前转目的号码设置为当前号码的前转目的号码,结束设置;二、检查到一个未设置前转目的号码的号码,将待设置的前转目的号码设置为当前号码的前转目的号码,结束设置。As far as "end setting", there are two possibilities: 1. Check that the same number exists in the list, give up setting the forwarding destination number to be set as the forwarding destination number of the current number, and end the setting; 2. Check To a number without a forwarding destination number set, set the forwarding destination number to be set as the forwarding destination number of the current number, and end the setting.
对于接收方的前转目的号码归属他网SMSC(即为他网用户)的情形,由于可能不知道该他网用户的相关数据,只能简单地认为该他网用户没有设置前转目的号码,直接把短消息下发到该他网用户。顺便说一句,如果他网也支持短消息前转业务,则他网SMSC可对接收到的短消息进行类似的处理。在这种情形下,不能在用户设置前转目的号码时检查该设置是否会导致死循环,只能通过在短消息发送过程中进行检查来避免死循环。具体检查方法是:对于所有被前转到网外的短消息,将发送方、接收方、短消息内容存放在内存中的一个列表中,保留时间可以设置,例如保留30分钟。这样,当一条他网的SMSC发送的短消息送到本网SMSC时,本网SMSC检查到这条短消息需要前转到网外时,就到前面提到的列表中查找,检查其中是否存在发送方、接收方和内容分别与该待前转短消息的发送方、接收方和内容相同的短消息,若存在,则认为此短消息为重复短消息,直接丢弃。这种检查死循环的方法也可以用于接收方的前转目的号码归属本网SMSC的情形,也就是说,当接收方的前转目的号码归属本网SMSC时,本发明可以通过上述设置过程来避免前转死循环现象,也可以通过保存短消息发送方、接收方、短消息内容的方式来避免前转死循环现象。For the situation that the forwarding destination number of the receiving party belongs to another network SMSC (that is, the other network user), since the relevant data of the other network user may not be known, it can only be simply considered that the other network user has not set the forwarding destination number, Send the short message directly to the other network users. By the way, if the other network also supports the short message forwarding service, the SMSC of the other network can perform similar processing on the received short message. In this case, it is not possible to check whether the setting will cause an infinite loop when the user sets the forwarding destination number, and the infinite loop can only be avoided by checking during the sending of the short message. The specific inspection method is: for all short messages forwarded to outside the network, store the sender, receiver and content of the short message in a list in the memory, and the retention time can be set, for example, 30 minutes. In this way, when a short message sent by an SMSC of another network is sent to the SMSC of this network, when the SMSC of this network detects that the short message needs to be forwarded to the outside of the network, it will search in the list mentioned above to check whether there is a short message in the list. If there is a short message with the same sender, receiver and content as the sender, receiver and content of the short message to be forwarded, it is considered that the short message is a repeated short message and is directly discarded. This method for checking the infinite loop can also be used in the situation where the forwarding destination number of the receiving party belongs to the SMSC of this network, that is to say, when the forwarding destination number of the receiving party belongs to the SMSC of this network, the present invention can pass the above-mentioned setting process To avoid the dead loop phenomenon of forwarding, it is also possible to avoid the dead loop phenomenon of forwarding by saving the short message sender, receiver, and content of the short message.
现在说明短消息的发送方归属他网SMSC的情形,有必要说明本网SMSC与他网SMSC之间的互联方式,稍后将会意识到这一点。本网SMSC与他网SMSC之间可以通过I/O GW进行互联,也可以通过信令互联。Now explain the situation that the sender of the short message belongs to the SMSC of another network. It is necessary to explain the interconnection mode between the SMSC of this network and the SMSC of other networks, which will be realized later. The SMSC of this network and the SMSC of other networks can be interconnected through I/O GW, and can also be interconnected through signaling.
图3示出了本网SMSC与他网SMSC之间通过I/O GW互联的情形,可用短消息点对点协议(SMPP,Short Message Peer to Peer Protocol)作为接口协议。SMS GW与SMSC之间也可采用SMPP协议,其它部件间的接口可采用内部协议。根据现有技术,在这种情形下,所有从网外发送给本网用户的短消息都会被发送到本网SMSC,由本网SMSC 下发到接收用户。因此,可以与上述典型流程类似的过程实现前转。顺便说一句,网内用户发出短消息到网外用户时,SMSC进行鉴权生成话单到BOSS扣费,然后短消息被发到I/O GW,由I/O GW判断是发到哪个目标运营商的,再发到相应的运营商。Fig. 3 shows the situation that the SMSC of the local network and the SMSC of other networks are interconnected through the I/O GW, and the short message point-to-point protocol (SMPP, Short Message Peer to Peer Protocol) can be used as the interface protocol. The SMPP protocol can also be used between the SMS GW and the SMSC, and the internal protocol can be used for the interface between other components. According to the prior art, in this case, all short messages sent to the users of this network from outside the network will be sent to the SMSC of this network, and then sent to the receiving users by the SMSC of this network. Therefore, forwarding can be implemented in a process similar to the above typical process. By the way, when an in-network user sends a short message to an off-network user, the SMSC performs authentication to generate a bill to the BOSS to deduct the fee, and then the short message is sent to the I/O GW, and the I/O GW determines which target it is sent to operator, and then sent to the corresponding operator.
图4示出了本网SMSC与他网SMSC之间通过七号信令(SS7,Signaling System 7)互联的情形。他网的网络结构可能与本网相同或类似,他网的网络结构取决于他网的设备供货商,另外如果他网不支持短消息前转业务,则信令处理系统(SPS,Signaling Process System)是可选的。移动业务交换中心(MSC,Mobile Switching Centre)和用户归属位置寄存器(HLR)是移动网络的核心网(CN,Core Network)部件,HLR保存用户业务开通情况、目前所在位置、手机内存是否已满等与用户相关的信息。SPS在功能上类似于IP网中的路由器,对于没有特定逻辑的信令,直接透传,对其它部件透明,如果需要做信令拦截,就根据配置条件把本来应该发到例如A部件的信令发到例如B部件。SMS GW与SMSC间可采用SMPP协议,SMSC、SMFS、MDSP、WIN、BOSS等部件间的接口可采用内部协议。Fig. 4 shows the situation that the SMSC of this network and the SMSC of another network are interconnected through SS7 (SS7, Signaling System 7). The network structure of the other network may be the same as or similar to this network. The network structure of the other network depends on the equipment supplier of the other network. In addition, if the other network does not support the short message forwarding service, the signaling processing system (SPS, Signaling Process System) is optional. The mobile service switching center (MSC, Mobile Switching Center) and the user's home location register (HLR) are the core network (CN, Core Network) components of the mobile network. The HLR saves the user's service activation status, current location, whether the mobile phone memory is full, etc. Information Related to Users. SPS is functionally similar to a router in an IP network. For signaling without specific logic, it is directly transparently transmitted and transparent to other components. The command is sent to, for example, the B component. The SMPP protocol can be used between SMS GW and SMSC, and the internal protocol can be used for the interface between SMSC, SMFS, MDSP, WIN, BOSS and other components.
根据现有技术,当本网SMSC与他网SMSC之间通过七号信令互联时,对于由他网用户发送给本网用户的短消息,发送过程如下:发送方提交短消息(SM,Short Message)到其归属的SMSC(他网SMSC),该他网SMSC根据被叫号码发送SRL_for_SM到网关移动业务交换中心(GMSC,Gateway Mobile Switching Centre),GMSC把信令转到被叫号码所对应的HLR(本网HLR),该HLR返回被叫目前的VMSC地址,通过GMSC转给他网SMSC,他网SMSC根据VMSC地址发送MT_FSM信令,下发SM到对应的VMSC,VMSC把短消息下发到接收方。根据上述现有技术的发送过程,可知SM是不会经过被叫号码归属的SMSC(本网SMSC)的。According to the prior art, when the SMSC of this network and the SMSC of other networks are interconnected by No. 7 signaling, for the short message sent to the user of this network by other network users, the sending process is as follows: the sender submits the short message (SM, Short Message) to its belonging SMSC (other network SMSC), the other network SMSC sends SRL_for_SM to the Gateway Mobile Service Switching Center (GMSC, Gateway Mobile Switching Center) according to the called number, and the GMSC forwards the signaling to the corresponding callee number HLR (local network HLR), the HLR returns the current VMSC address of the called party, and forwards it to the other network SMSC through the GMSC, and the other network SMSC sends the MT_FSM signaling according to the VMSC address, and sends the SM to the corresponding VMSC, and the VMSC sends the short message to the receiver. According to the sending process of the above-mentioned prior art, it can be known that the SM will not pass through the SMSC (the SMSC of the home network) to which the called number belongs.
因此,在图4的情形下,对于由他网用户发送给本网用户的短消息,若要实现短消息前转,需要把短消息拦截到本网SMSC,以完成前转逻辑的处理。在图4中,设置了SPS来实现这一拦截。Therefore, in the situation of FIG. 4, for the short message sent from the user of other network to the user of this network, if the short message is to be forwarded, the short message needs to be intercepted to the SMSC of this network to complete the processing of the forwarding logic. In Figure 4, the SPS is set up to achieve this interception.
图5示出了针对图4所示情形的、将由他网用户发送给本网用户的短消息拦截到本网短消息业务中心的信令流程。具体说明如下。下面的本网都是相对接收方而言的,其他网络为他网。Fig. 5 shows the signaling process for intercepting the short message sent by the other network user to the local network user to the local network short message service center for the situation shown in Fig. 4 . The details are as follows. The following local network is relative to the receiving party, and other networks are other networks.
a.他网SMSC发送SRI_for_SM信令,以到本网HLR取被叫用户的路由信息,信令路由到本网的GMSC,GMSC向HLR转发此信令;a. Other network SMSC sends SRI_for_SM signaling to get the routing information of the called user to the HLR of this network, the signaling is routed to the GMSC of this network, and the GMSC forwards this signaling to the HLR;
b.SRI_for_SM信令经过SPS;b. SRI_for_SM signaling passes through SPS;
c.SPS检查发送方SMSC是否为本网SMSC,如果为本网SMSC,则直接把信令下发到本网HLR,不做处理;如果发送方SMSC为他网SMSC,则检查接收方用户是否开通了短消息前转业务,如果没有开通,则直接把信令下发到本网HLR,不做处理,需要说明的是:BOSS在进行业务受理时,会把用户是否开通了短消息前转业务的信息同步到SPS;c. SPS checks whether the sending SMSC is the SMSC of the local network. If it is the SMSC of the local network, it will directly send the signaling to the HLR of the local network without processing; if the sending SMSC is an SMSC of another network, check whether the receiving user is The short message forwarding service has been activated. If not, the signaling will be directly sent to the HLR of the local network without processing. It should be noted that when the BOSS accepts the service, it will check whether the user has activated the short message forwarding service. Business information is synchronized to SPS;
d.若SPS发现发送方SMSC为他网SMSC,并且接收方用户也开通了短消息前转业务,则SPS基于此获取路由号码“RN”,并把SCCP CdPA(待查询路由的号码信息)改为“RN+MSISDN”,需要说明的是:“RN”是一个特殊字符串,与本网SMSC的GT地址对应,这种对应关系可以是预先配置的;d. If the SPS finds that the sending SMSC is an SMSC of another network, and the receiving user has also opened the short message forwarding service, the SPS obtains the routing number "RN" based on this, and changes the SCCP CdPA (the number information to be queried) to It is "RN+MSISDN". What needs to be explained is: "RN" is a special character string corresponding to the GT address of the SMSC in this network. This correspondence can be pre-configured;
e.SPS根据SCCP CdPA做SCCP GT翻译,把信令路由到本网SMSC,具体来说,就是根据SCCP CdPA中的RN查找GT码,然后把信令发给那个GT地址;e. SPS performs SCCP GT translation according to SCCP CdPA, and routes the signaling to the SMSC of the local network. Specifically, it searches for the GT code according to the RN in SCCP CdPA, and then sends the signaling to the GT address;
f.本网SMSC在SRI_for_SM_Ack信令中返回一个特殊的VMSC地址,需要说明的是:这也是预先配置的,根据SRI_for_SM信令中SCCP CdPA中的RN,可找到一个预先配置好的VMSC GT地址,根据这个特殊的VMSC号码,SPS把目标为这个地址的信令都发到本网SMSC;f. The SMSC of this network returns a special VMSC address in the SRI_for_SM_Ack signaling. It should be noted that this is also pre-configured. According to the RN in the SCCP CdPA in the SRI_for_SM signaling, a pre-configured VMSC GT address can be found. According to this special VMSC number, SPS sends all the signaling targeted at this address to the SMSC of this network;
g.他网SMSC下发MT到对应的VMSC;g. Other network SMSC sends MT to the corresponding VMSC;
h.根据上述特殊的VMSC地址,SPS将MT信令路由到本网SMSC;h. According to the special VMSC address above, the SPS routes the MT signaling to the SMSC of the network;
i.本网SMSC收到MT信令;i. The SMSC of this network receives the MT signaling;
j.本网SMSC从SMFS获取接收方的前转目的号码;j. The SMSC of this network obtains the receiver's forwarding destination number from the SMFS;
k.本网SMSC准备下发MT信令到前转目的号码;k. The SMSC of this network prepares to issue MT signaling to the forwarding destination number;
l.本网SMSC发送SRI_for_SM到前转目的号码归属的HLR获取路由信息;l. The SMSC of this network sends SRI_for_SM to the HLR to which the forwarding destination number belongs to obtain routing information;
m.SRI_for_SM信令经过SPS时,SPS发现为本网SMSC下发的信令,不做处理直接下发给前转目的号码归属的HLR;m. When the SRI_for_SM signaling passes through the SPS, the SPS finds that it is a signaling issued by the SMSC of the local network, and directly issues it to the HLR to which the forwarding destination number belongs without processing;
n.最后完成短消息的下发。n. Finish sending the short message at last.
通过图5所示的流程,旨在对将短消息拦截到本网SMSC的过程进行说明,因而为简化起见,对将短消息拦截到本网SMSC后的一些过程仅进行了简单描述,这些过程是现有技术中公知的或者可参照前面的描述。Through the process shown in Figure 5, it is intended to illustrate the process of intercepting short messages to the SMSC of this network. Therefore, for the sake of simplicity, some processes after intercepting short messages to SMSC of this network are only briefly described. These processes It is well known in the prior art or reference can be made to the foregoing description.
下面给出一个更特定的例子。例如,他网用户A发送短消息给本网用户B,用户B设置将短消息前转到用户C。流程如下:A more specific example is given below. For example, user A on another network sends a short message to user B on this network, and user B sets to forward the short message to user C. The process is as follows:
1.他网SMSC根据目标号码B,把SRI_for_SM发送到用户B归属的HLR,以获 取用户B的VMSC地址;1. According to the target number B, the other network SMSC sends SRI_for_SM to the HLR that user B belongs to, so as to obtain the VMSC address of user B;
2.SRI_for_SM信令到达本网的SPS时,SPS在用户B已经订购了前转业务的情况下,把SRI_for_SM信令修改路由到用户B归属的SMSC;2. When the SRI_for_SM signaling arrives at the SPS of the local network, the SPS modifies the routing of the SRI_for_SM signaling to the SMSC to which user B belongs under the condition that user B has subscribed to the forwarding service;
3.SMSC返回自已的特殊VMSC地址,需要说明的是:通过在SPS上做一个配置,可使得当SPS发现VMSC地址为这个特殊的地址时,就把相关信令发给本网SMSC;3. The SMSC returns its own special VMSC address. What needs to be explained is: through a configuration on the SPS, when the SPS finds that the VMSC address is this special address, it will send the relevant signaling to the SMSC of the network;
4.他网SMSC根据这个特殊的VMSC地址,下发MT_FSM信令,把短消息下发到本网SMSC;4. According to the special VMSC address, the other network SMSC sends the MT_FSM signaling to send the short message to the local network SMSC;
5.本网SMSC与SMFS进行交互,获取B的前转目的号码C;5. The SMSC of this network interacts with the SMFS to obtain the forwarding destination number C of B;
6.本网SMSC下发SRI_for_SM信令到C归属的HLR获取号码C的路由地址,即VMSC地址;6. The SMSC of this network sends the SRI_for_SM signaling to the HLR to which C belongs to obtain the routing address of the number C, that is, the VMSC address;
7.SPS发现是本网SMSC下发的信令,不做拦截,信令按正常流程处理;7. SPS finds that it is a signaling issued by the SMSC of this network, and does not intercept it, and the signaling is processed according to the normal process;
8.用户C归属的HLR返回用户C的VMSC地址给本网SMSC;8. The HLR to which user C belongs returns the VMSC address of user C to the SMSC of the network;
9.本网SMSC下发MT_FSM信令给对应的VMSC,把短消息下发到用户C所在的VMSC;9. The SMSC of this network sends the MT_FSM signaling to the corresponding VMSC, and sends the short message to the VMSC where user C is located;
10.VMSC把短消息下发到用户C。10. The VMSC sends the short message to user C.
关于短消息前转业务的受理,短消息前转业务包括订购/取消短消息前转业务、查询短消息前转业务状态、用户查询/设置前转目的号码(设置可为空,表示目前不前转)等,短消息前转业务可通过BOSS提供的WSI(Web Services Interface,Web业务接口)来实现。其它系统通过调用该接口就可以完成业务的订购、取消以及查询等。该接口可通过短消息业务(SMS,Short Message Service)、非结构化补充业务数据(USSD,Unstructured Supplementary Services Data)、交互式语音应答(IVR,Interactive Voice Response)、用户门户网站(End-User Portal)等调用,以完成短消息前转业务受理。举例来说,通过SMS调用,就是用户可以用手机发送指定内容的短消息到指定号码(SP号码),SMSC把相关短消息转到对应的应用程序后,就可以通过调用BOSS提供的接口完成业务受理。IVR,通常是一个自动语音服务台系统,如:1860、13800138000等的语音交互系统。Regarding the acceptance of the SMS forwarding service, the SMS forwarding service includes ordering/cancelling the SMS forwarding service, querying the status of the SMS forwarding service, and querying/setting the destination number of the forwarding Forwarding) etc., the short message forwarding service can be realized through the WSI (Web Services Interface, Web Service Interface) provided by BOSS. Other systems can complete business ordering, cancellation and query by calling this interface. The interface can pass Short Message Service (SMS, Short Message Service), Unstructured Supplementary Service Data (USSD, Unstructured Supplementary Services Data), Interactive Voice Response (IVR, Interactive Voice Response), User Portal (End-User Portal) ) and other calls to complete the short message forwarding service acceptance. For example, calling via SMS means that the user can use the mobile phone to send a short message with specified content to a specified number (SP number). After the SMSC transfers the relevant short message to the corresponding application program, the service can be completed by calling the interface provided by BOSS. accepted. IVR is usually an automatic voice service desk system, such as: 1860, 13800138000 and other voice interaction systems.
关于计费,图1所示的系统可以支持免费、包月计费、按条计费以及组合计费的方式。应用场景建议如下:a)收取用户使用此业务的基本月租费;b)在进行短消息前转时,如果是前转到网内用户,可以不计费,如果前转到他网用户,则按条收取一定费用。With regard to billing, the system shown in FIG. 1 can support free, monthly billing, item billing, and combined billing. The application scenarios are suggested as follows: a) charge users for the basic monthly fee for using this service; b) when forwarding short messages, if they are forwarded to users within the network, no charging is required; if they are forwarded to users on other networks, A certain fee will be charged according to the article.
包月计费:对于预付费用户,在每个帐期(帐期指一个用户话单结算的周期,如某 个用户每月5日到次月5日为一个话费结算周期,并提供用户话单帐单给用户)初,由MDSP发起请求到WIN系统扣取包月的月租费用,并输出话单以供对帐使用;对于后付费用户,在每个帐期结束,由MDSP产生话单,BOSS从MDSP获取话单,并收取后付费用户的相应费用。Monthly billing: For prepaid users, in each billing period (the billing period refers to the cycle of a user bill settlement, such as a user's bill settlement cycle from the 5th of each month to the 5th of the next month, and provide the user bill Billing to the user) At the beginning, the MDSP initiates a request to the WIN system to deduct the monthly fee for the monthly subscription, and outputs the bill for reconciliation; for post-paid users, at the end of each billing period, the bill is generated by the MDSP, BOSS obtains bills from MDSP and charges corresponding fees for postpaid users.
按条计费:对于预付费用户,由SMSC向MDSP发起计费请求,MDSP根据前转目的号码判断是否需要收费,如果需要计费计算收取费用的金额,MDSP发起请求到WIN系统扣取相应金额费用,并输出话单以供对帐使用;对于后付费用户,由SMSC向MDSP发起计费请求,MDSP根据前转目的号码判断是否需要收费及计算收取费用的金额,MDSP产生话单,BOSS从MDSP获取话单,并收取后付费用户的相应费用。Billing by item: For prepaid users, SMSC initiates a billing request to MDSP, and MDSP judges whether charging is required according to the forwarding destination number, and if billing is required, calculates the amount to be charged, and MDSP initiates a request to the WIN system to deduct the corresponding amount charge, and output the bill for reconciliation; for postpaid users, the SMSC initiates a billing request to the MDSP, and the MDSP judges whether it needs to be charged and calculates the amount of the fee according to the forwarding destination number, and the MDSP generates the bill, and the BOSS The MDSP obtains the bill and charges the corresponding fee for the postpaid user.
根据本发明的系统和方法支持短消息的无条件前转,前转次数不限制,适用于移动通信网络、固定通信网络和PHS(Personal Handphone System)网络等。The system and method according to the present invention support unconditional forwarding of short messages, and the times of forwarding are not limited, and are applicable to mobile communication networks, fixed communication networks and PHS (Personal Handphone System) networks, etc.
利用本发明,用户可以通过短消息、语音、USSD、Portal等多种方式设置用户的短消息前转业务相关信息,将短消息前转到其他号码或SP应用。当一个用户使用多个号码时,可以只使用其中一个号码接收呼叫和短消息,或者把短消息提交给第三方处理。可以及时接收、处理短消息。Utilizing the present invention, the user can set the user's short message forwarding service related information in various ways such as short message, voice, USSD, Portal, etc., and forward the short message to other numbers or SP applications. When a user uses multiple numbers, he can only use one of the numbers to receive calls and short messages, or submit short messages to a third party for processing. Can receive and process short messages in time.
本发明提供的拦截装置包括判断模块和拦截模块。判断模块和拦截模块可以将由他网用户发送给本网用户的短消息拦截到本网用户所属的短消息业务中心。The interception device provided by the invention includes a judgment module and an interception module. The judging module and the intercepting module can intercept the short message sent by the other network user to the local network user to the short message service center to which the local network user belongs.
判断模块在确定短消息接收方的SMSC为他网SMSC,并且接收方用户也开通了短消息前转业务时,通知拦截模块。拦截模块在接收到判断模块的通知后,获取路由号码“RN”,并把SCCP CdPA(待查询路由的号码信息)改为“RN+MSISDN”,拦截模块根据SCCP CdPA做SCCP GT翻译,把信令路由到本网SMSC,在接收到本网SMSC返回的特殊的VMSC地址后,拦截模块把目标为这个地址的信令都发到本网SMSC。具体实现过程如上述实施方式中对SPS的描述。When the judging module determines that the SMSC of the receiver of the short message is an SMSC of another network, and the user of the receiving party has opened the service of forwarding the short message, it notifies the intercepting module. After receiving the notification from the judging module, the interception module obtains the routing number "RN", and changes the SCCP CdPA (the number information of the route to be queried) to "RN+MSISDN", the interception module performs SCCP GT translation according to the SCCP CdPA, and converts the message After receiving the special VMSC address returned by the SMSC of the local network, the interception module sends all the signaling targeted at this address to the SMSC of the local network. The specific implementation process is as described for the SPS in the foregoing implementation manner.
本发明提供的短消息前转业务装置包括查询模块,查询模块中存储有用户的前转目的号码,查询模块在接收到短消息业务中心查询当前接收方是否设置有前转号码的信息后,根据其存储的信息查询其接收的当前接收方是否设置有前转目的号码,并将查找结果通知短消息业务中心。短消息前转业务装置的查询模块与短消息业务中心之间具体的信令交互等内容如上述实施方式中的描述。The short message forwarding service device provided by the present invention includes a query module, which stores the forwarding destination number of the user. After receiving the information that the short message service center inquires whether the current recipient is provided with a forwarding number, the query module according to The stored information inquires whether the current receiver it receives has set the forwarding destination number, and notifies the short message service center of the search result. The specific signaling interaction between the query module of the short message forwarding service device and the short message service center is as described in the above embodiment.
本发明提供的短消息业务中心包括查询接口模块和发送模块。查询接口模块向短消息前转业务装置查询短消息的当前接收方是否设置有前转目的号码,查询接口模块在接 收到当前接收方设置有前转目的号码的查找结果信息时,将查询到的前转目的号码通知发送模块。发送模块将查询接口模块通知的前转目的号码作为当前接收方,并判断当前接收方是否归属其所在短消息业务中心所属的网络,若确定当前接收方归属其所在短消息业务中心所属的网络,则通知查询接口模块。查询接口模块根据发送模块的通知继续向短消息前转业务装置查询当前接收方是否设置有前转目的号码,查询接口模块在再次接收到当前接收方设置有前转目的号码的查找结果信息后,将再次查询到的前转目的号码通知发送模块。发送模块继续将查询通知的前转目的号码作为当前接收方,并继续判断当前接收方是否归属其所在短消息业务中心所属的网络。查询接口模块在接收到当前接收方没有设置前转目的号码的查找结果信息时,通知发送模块。发送模块在接收到查询接口模块传输来的当前接收方没有设置前转目的号码的信息时,将当前接收方确定为最终接收方,并根据最终接收方发送短消息。发送模块在确定当前接收方不归属其所在的短消息业务中心所属的网络时,将当前接收方确定为最终接收方,并根据最终接收方发送短消息。具体实现过程如上述实施方式中的描述。The short message service center provided by the invention includes a query interface module and a sending module. The query interface module inquires whether the current recipient of the short message is provided with a forwarding destination number to the short message forwarding service device, and the query interface module will inquire when receiving the search result information that the current recipient is provided with a forwarding destination number. Notify the sending module of the forwarding destination number. The sending module regards the forwarding destination number notified by the query interface module as the current receiver, and judges whether the current receiver belongs to the network to which the short message service center belongs. If it is determined that the current receiver belongs to the network to which the short message service center belongs, Then notify the query interface module. The query interface module continues to query the short message forwarding service device according to the notification of the sending module whether the current recipient is provided with a forwarding destination number, and after the query interface module receives the search result information that the current recipient is provided with a forwarding destination number again, Notify the sending module of the forwarding destination number found again. The sending module continues to take the forwarding destination number of the query notification as the current receiver, and continues to judge whether the current receiver belongs to the network to which the short message service center belongs. The query interface module notifies the sending module when receiving the search result information that the current receiving party has not set the forwarding destination number. When the sending module receives the information transmitted by the query interface module that the current recipient has not set the forwarding destination number, it determines the current recipient as the final recipient, and sends a short message according to the final recipient. When the sending module determines that the current receiver does not belong to the network to which the short message service center belongs, it determines the current receiver as the final receiver, and sends the short message according to the final receiver. The specific implementation process is as described in the foregoing embodiments.
尽管描述了本发明的优选实施方案,但通过阅读和掌握本发明的原则和教导,本领域的技术人员可对这里公开的实施方案进行各种改型。因而,本发明的范围由附在这里的权利要求限定。While a preferred embodiment of this invention has been described, those skilled in the art will be able to make various modifications to the embodiment disclosed herein upon reading and grasping the principles and teachings of this invention. Accordingly, the scope of the invention is defined by the claims appended hereto.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200680012220XA CN101160939B (en) | 2006-02-10 | 2006-11-09 | Method, system and device for implementing short message forwarding and short message service center |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100336145A CN100461887C (en) | 2006-02-10 | 2006-02-10 | Method and system for realizing short message forwarding |
CN200610033614.5 | 2006-02-10 | ||
PCT/CN2006/003002 WO2007090327A1 (en) | 2006-02-10 | 2006-11-09 | A method for transferring a short message, and a sysytem, a device and a short message service center thereof |
CN200680012220XA CN101160939B (en) | 2006-02-10 | 2006-11-09 | Method, system and device for implementing short message forwarding and short message service center |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101160939A CN101160939A (en) | 2008-04-09 |
CN101160939B true CN101160939B (en) | 2011-07-20 |
Family
ID=37298471
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100336145A Withdrawn - After Issue CN100461887C (en) | 2006-02-10 | 2006-02-10 | Method and system for realizing short message forwarding |
CN200680012220XA Active CN101160939B (en) | 2006-02-10 | 2006-11-09 | Method, system and device for implementing short message forwarding and short message service center |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100336145A Withdrawn - After Issue CN100461887C (en) | 2006-02-10 | 2006-02-10 | Method and system for realizing short message forwarding |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN100461887C (en) |
WO (1) | WO2007090327A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100461887C (en) * | 2006-02-10 | 2009-02-11 | 华为技术有限公司 | Method and system for realizing short message forwarding |
CN104640090B (en) * | 2013-11-14 | 2019-06-25 | 中兴通讯股份有限公司 | The abnormality eliminating method and device of Short Message Service Call forwarding |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002065795A1 (en) * | 2001-02-14 | 2002-08-22 | Universal Communication Platform Ag | Method and device for forwarding short messages from a mobile terminal |
CN1564546A (en) * | 2004-04-12 | 2005-01-12 | 北京北方烽火科技有限公司 | Method of intercepting and transmitting short messages |
CN1662078A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | Short message transfer method |
CN1662077A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | Short message transfer method |
CN1662075A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | A Method for Realizing Short Message Transfer |
CN100461887C (en) * | 2006-02-10 | 2009-02-11 | 华为技术有限公司 | Method and system for realizing short message forwarding |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1145375C (en) * | 2001-04-06 | 2004-04-07 | 华为技术有限公司 | Method for implementing short message service over mobile intelligent network |
CN1145326C (en) * | 2001-05-16 | 2004-04-07 | 华为技术有限公司 | Method for controlling short message forwarding times |
KR20030039220A (en) * | 2001-11-12 | 2003-05-17 | 에스케이텔레텍주식회사 | Short Message Receipt Switching Method using Mobile Communication Device |
KR100621325B1 (en) * | 2003-07-03 | 2006-09-13 | 에스케이 텔레콤주식회사 | Short message service system of load balancing method using S7 gateway and processing method of sms message using same |
CN1292606C (en) * | 2004-02-27 | 2006-12-27 | 华为技术有限公司 | Method for implementing transfer of short message |
CN1658637B (en) * | 2005-03-16 | 2010-05-05 | 沈侃侃 | Device and method for implementing message calling switching service |
-
2006
- 2006-02-10 CN CNB2006100336145A patent/CN100461887C/en not_active Withdrawn - After Issue
- 2006-11-09 CN CN200680012220XA patent/CN101160939B/en active Active
- 2006-11-09 WO PCT/CN2006/003002 patent/WO2007090327A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002065795A1 (en) * | 2001-02-14 | 2002-08-22 | Universal Communication Platform Ag | Method and device for forwarding short messages from a mobile terminal |
CN1662078A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | Short message transfer method |
CN1662077A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | Short message transfer method |
CN1662075A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | A Method for Realizing Short Message Transfer |
CN1564546A (en) * | 2004-04-12 | 2005-01-12 | 北京北方烽火科技有限公司 | Method of intercepting and transmitting short messages |
CN100461887C (en) * | 2006-02-10 | 2009-02-11 | 华为技术有限公司 | Method and system for realizing short message forwarding |
Also Published As
Publication number | Publication date |
---|---|
CN100461887C (en) | 2009-02-11 |
WO2007090327A1 (en) | 2007-08-16 |
CN1859619A (en) | 2006-11-08 |
CN101160939A (en) | 2008-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4758066B2 (en) | Call processing in mobile communication networks. | |
CN100531270C (en) | Method for realizing one-card multiple-number service | |
CN100558040C (en) | Charging method, routing method and related equipment based on number portability service | |
JP5417438B2 (en) | Billing for short message delivery | |
US20030037176A1 (en) | Method, apparatus and software program for message transmission between telecommunications network elements | |
CN101156494A (en) | Method for Realizing One-Card-Multiple-Numbers Service | |
CN101867902A (en) | Network capable of realizing international roaming and method for managing roaming terminal | |
WO2006017979A1 (en) | Multimedia message system and method of forwarding multimedia message | |
CN102137386B (en) | Method, device and system for implementing intelligent network services | |
CN101321394B (en) | Call subscriber number authentication method and system | |
WO2004045140A1 (en) | A method about prepayment multimedia messaging service | |
CN100359962C (en) | A mobile phone telecommunication network, its operating method and a service control point | |
CN1332571C (en) | Method for repeating multimedia news between networks | |
CN101160939B (en) | Method, system and device for implementing short message forwarding and short message service center | |
CN101106820A (en) | Method and system for implementing customized business based on one-card-multiple-number technology | |
CN100364346C (en) | A Method for Realizing Sending Short Messages by Mobile Phone Short Number | |
CN100461879C (en) | A Realization Method of Short Message Called Service | |
CN100591018C (en) | Service control device, roaming charging system and roaming charging method | |
CN101668265A (en) | Method, system and device for sending short messages | |
CN102761846B (en) | USSD service providing method, USSD service providing apparatus and system | |
CN1984366A (en) | Method and system for interconnecting heterogeneous network signaling | |
CN101291234B (en) | Method for obtaining user network type information for OCS | |
KR100839796B1 (en) | Roaming service system using prepaid card and its method | |
CN116633415B (en) | Communication method and device based on heterogeneous network, electronic equipment and storage medium | |
CN101635906A (en) | Method and device for triggering intelligent service of flexible alerting group |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201207 Address after: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. Effective date of registration: 20201207 Address after: Group 2, niqiao village, Xilai Town, Jingjiang City, Taizhou City, Jiangsu Province Patentee after: Jingjiang Baisheng Fastener Manufacturing Co.,Ltd. Address before: Unit 2414-2416, main building, no.371, Wushan Road, Tianhe District, Guangzhou City, Guangdong Province Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220627 Address after: 214500 No. 1, Botanical Garden Road, Xilai Town, Jingjiang City, Taizhou City, Jiangsu Province Patentee after: Jingjiang Xilai Ecological Culture Tourism Co.,Ltd. Address before: Group 2, niqiao village, Xilai Town, Jingjiang City, Taizhou City, Jiangsu Province Patentee before: Jingjiang Baisheng Fastener Manufacturing Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230331 Address after: 214500 No. 1, Botanical Garden Road, Xilai Town, Jingjiang City, Taizhou City, Jiangsu Province Patentee after: Jingjiang Xilai Nongcheng Operation Management Co.,Ltd. Address before: 214500 No. 1, Botanical Garden Road, Xilai Town, Jingjiang City, Taizhou City, Jiangsu Province Patentee before: Jingjiang Xilai Ecological Culture Tourism Co.,Ltd. |
|
TR01 | Transfer of patent right |