CN104010283B - A kind of method for realizing short-message foreward turning, device and attaching position register - Google Patents
A kind of method for realizing short-message foreward turning, device and attaching position register Download PDFInfo
- Publication number
- CN104010283B CN104010283B CN201310056589.2A CN201310056589A CN104010283B CN 104010283 B CN104010283 B CN 104010283B CN 201310056589 A CN201310056589 A CN 201310056589A CN 104010283 B CN104010283 B CN 104010283B
- Authority
- CN
- China
- Prior art keywords
- terminal
- hlr
- short
- forwarding
- called
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004458 analytical method Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims 2
- 230000011664 signaling Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 101100028130 Danio rerio ora1 gene Proteins 0.000 description 1
- 101000952113 Homo sapiens Probable ATP-dependent RNA helicase DDX5 Proteins 0.000 description 1
- 101000919019 Homo sapiens Probable ATP-dependent RNA helicase DDX6 Proteins 0.000 description 1
- 102100037434 Probable ATP-dependent RNA helicase DDX5 Human genes 0.000 description 1
- 102100029480 Probable ATP-dependent RNA helicase DDX6 Human genes 0.000 description 1
- VYLDEYYOISNGST-UHFFFAOYSA-N bissulfosuccinimidyl suberate Chemical compound O=C1C(S(=O)(=O)O)CC(=O)N1OC(=O)CCCCCCC(=O)ON1C(=O)C(S(O)(=O)=O)CC1=O VYLDEYYOISNGST-UHFFFAOYSA-N 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供一种实现短信前转的方法、装置和归属位置寄存器,被叫终端对应的HLR可以在被叫终端签约了短信前转业务时,向前转终端对应的HLR查询前转终端的路由信息,并将查询到的前转终端的路由信息发送给短信中心,使得短信中心可以无感知地根据接收到的前转终端的路由信息,直接将发送给所述被叫终端的短信发送至所述前转终端。从而无需对短信中心进行改造,也无需引入新的设备,只需要对被叫终端对应的HLR进行简单地改造,即可以实现短信前转,降低短信前转实现的复杂度。
Embodiments of the present invention provide a method, device, and home location register for realizing SMS forwarding. The HLR corresponding to the called terminal can query the HLR corresponding to the forwarding terminal when the called terminal signs up for the SMS forwarding service. routing information of the forwarding terminal, and send the queried routing information of the forwarding terminal to the SMS center, so that the SMS center can directly send the short message sent to the called terminal according to the received routing information of the forwarding terminal to the forwarding terminal. Therefore, there is no need to modify the SMS center, nor does it need to introduce new equipment. It only needs to simply modify the HLR corresponding to the called terminal, that is, SMS forwarding can be realized, and the complexity of implementing SMS forwarding can be reduced.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种实现短信前转的方法、装置和归属位置寄存器。The invention relates to the communication field, in particular to a method, a device and a home location register for realizing short message forwarding.
背景技术Background technique
在移动网络中,无条件呼叫前转业务得到了广泛的使用。无条件呼叫前转业务要求预先设置前转目的地址,当终端选择该业务时,将所有来电转接到预先设置的目的地址,而该终端不再有振铃等提示。例如,终端A为主叫终端,终端B为被叫终端,终端B签约无条件呼叫前转业务,且设置前转号码为终端C的号码,那么终端A呼叫终端B时,该呼叫被前转到终端C。In mobile networks, the unconditional call forwarding service is widely used. The unconditional call forwarding service requires pre-setting the forwarding destination address. When the terminal selects this service, all incoming calls will be transferred to the pre-set destination address, and the terminal will no longer have ringing and other prompts. For example, terminal A is the calling terminal, terminal B is the called terminal, and terminal B subscribes to the unconditional call forwarding service, and the forwarding number is set to the number of terminal C, then when terminal A calls terminal B, the call will be forwarded to Terminal C.
但是,当终端A需要向终端B进行短信业务时,短信仍发到终端B。即在现有短信发送技术中,短信无法被前转,使得终端C无法收到该短信,给用户带来了不便。However, when terminal A needs to perform short message service to terminal B, the short message is still sent to terminal B. That is, in the existing short message sending technology, the short message cannot be forwarded, so that the terminal C cannot receive the short message, which brings inconvenience to the user.
综上所述,现有的无条件呼叫前转业务只能对主叫终端的语音呼叫进行前转,然而,主叫终端发起了短信业务时,并不能将短信前转至被叫终端对应的前转终端,使对端用户无法及时接收到该短信。To sum up, the existing unconditional call forwarding service can only forward the voice call of the calling terminal. However, when the calling terminal initiates the short message service, it cannot forward the short message Transfer to the terminal, so that the opposite end user cannot receive the short message in time.
为了解决无法实现短信前转的问题,主要存在以下两种方案:In order to solve the problem that SMS forwarding cannot be realized, there are mainly the following two solutions:
方案一、新建一种虚拟移动交换中心(Mobile Switching Center,MSC)。该虚拟MSC模拟需要进行短信前转的被叫终端,向该被叫终端对应的归属位置寄存器(HomeLocation Register,HLR)注册。收到发给被叫终端的短信时,前转到被叫终端对应的前转终端。此种方案,需要引入新的设备,实施比较复杂。Option 1: Create a virtual mobile switching center (Mobile Switching Center, MSC). The virtual MSC simulates a called terminal that needs to forward short messages, and registers with a Home Location Register (HLR) corresponding to the called terminal. When the short message sent to the called terminal is received, it is forwarded to the forwarding terminal corresponding to the called terminal. This kind of scheme needs to introduce new equipment, and the implementation is relatively complicated.
方案二、修改短信前转方式。如图1所示,在这种方式下,被叫终端对应的HLR(第一HLR)在接收到短信中心(Short Message Center,SMC)发送的请求路由信息时,判断被叫终端是否签约了短信前转业务,如果签约了短信前转业务,则该HLR通过响应消息返回被叫终端对应的前转终端号码,SMC根据返回的前转终端号码,再次查询前转终端对应的HLR(第二HLR),向第二HLR发送请求路由信息,从第二HLR返回的响应消息获得前转终端所属的MSC的地址,向该MSC发送短信,从而实现向前转终端的短信发送。此种方案,对HLR和SMC均需进行改造,实施复杂度仍然较高。Solution 2: Modify the SMS forwarding method. As shown in Figure 1, in this way, when the HLR (first HLR) corresponding to the called terminal receives the request routing information sent by the Short Message Center (SMC), it judges whether the called terminal has subscribed to the SMS Forwarding service, if the SMS forwarding service is signed, the HLR will return the forwarding terminal number corresponding to the called terminal through a response message, and the SMC will query the HLR corresponding to the forwarding terminal again according to the returned forwarding terminal number (the second HLR ), send the request routing information to the second HLR, obtain the address of the MSC to which the forwarding terminal belongs from the response message returned by the second HLR, and send a short message to the MSC, thereby realizing the sending of the short message to the forwarding terminal. In this kind of solution, both the HLR and the SMC need to be transformed, and the implementation complexity is still relatively high.
发明内容Contents of the invention
本发明实施例提供一种实现短信前转的方法、装置和归属位置寄存器,用于降低短信前转的实现复杂度。Embodiments of the present invention provide a method, device and home location register for realizing short message forwarding, which are used to reduce the implementation complexity of short message forwarding.
一种实现短信前转的方法,所述方法包括:A method for forwarding short messages, the method comprising:
归属位置寄存器HLR在接收到短信中心SMC发送的第一请求路由信息时,所述第一请求路由信息中携带被叫终端的号码,根据所述被叫终端的号码对应的签约信息,判断所述被叫终端是否签约了短信前转业务;When the home location register HLR receives the first request routing information sent by the short message center SMC, the number of the called terminal is carried in the first request routing information, and according to the subscription information corresponding to the number of the called terminal, determine the Whether the called terminal has subscribed to the SMS forwarding service;
所述HLR在确定所述被叫终端签约了短信前转业务时,确定短信前转业务中,所述被叫终端对应的前转终端的号码;When the HLR determines that the called terminal has subscribed to the SMS forwarding service, it determines the number of the forwarding terminal corresponding to the called terminal in the SMS forwarding service;
所述HLR根据所述前转终端的号码,查询所述前转终端对应的HLR,向所述前转终端对应的HLR发送第二请求路由信息,所述第二请求路由信息中携带所述前转终端的号码;The HLR queries the HLR corresponding to the forwarding terminal according to the number of the forwarding terminal, and sends the second request routing information to the HLR corresponding to the forwarding terminal, and the second request routing information carries the preceding The number of the forwarding terminal;
接收到第一请求路由信息的HLR在接收到所述前转终端对应的HLR返回的第二路由信息时,所述第二路由信息是所述前转终端对应的HLR根据所述前转终端的号码确定的,将所述第二路由信息转发给所述SMC,其中,所述SMC根据所述第二路由信息,将发送给所述被叫终端的短信发送至所述前转终端。When the HLR that has received the first request routing information receives the second routing information returned by the HLR corresponding to the forwarding terminal, the second routing information is the HLR corresponding to the forwarding terminal according to the If the number is determined, the second routing information is forwarded to the SMC, wherein the SMC sends the short message sent to the called terminal to the forwarding terminal according to the second routing information.
一种实现短信前转的装置,所述装置包括:A device for realizing short message forwarding, said device comprising:
接收模块,用于接收短信中心SMC发送的第一请求路由信息,所述第一请求路由信息中携带被叫终端的号码,以及,接收前转终端对应的HLR返回的第二路由信息时,所述第二路由信息是所述前转终端对应的HLR根据前转终端的号码确定的;The receiving module is configured to receive the first request routing information sent by the short message center SMC, the first request routing information carries the number of the called terminal, and when receiving the second routing information returned by the HLR corresponding to the forwarding terminal, the The second routing information is determined by the HLR corresponding to the forwarding terminal according to the number of the forwarding terminal;
分析模块,用于根据所述被叫终端的号码对应的签约信息,判断所述被叫终端是否签约了短信前转业务;在确定所述被叫终端签约了短信前转业务时,确定短信前转业务中,所述被叫终端对应的前转终端的号码;根据所述前转终端的号码,查询所述前转终端对应的HLR;An analysis module, configured to determine whether the called terminal has subscribed to the SMS forwarding service according to the subscription information corresponding to the number of the called terminal; In the transfer service, the number of the forwarding terminal corresponding to the called terminal; according to the number of the forwarding terminal, query the HLR corresponding to the forwarding terminal;
发送模块,用于向所述分析模块查询到的所述前转终端对应的HLR发送第二请求路由信息,所述第二请求路由信息中携带所述前转终端的号码;并将所述第二路由信息转发给所述SMC,其中,所述SMC根据所述第二路由信息,将发送给所述被叫终端的短信发送至所述前转终端。A sending module, configured to send second request routing information to the HLR corresponding to the forwarding terminal queried by the analysis module, where the second request routing information carries the number of the forwarding terminal; The second routing information is forwarded to the SMC, wherein the SMC sends the short message sent to the called terminal to the forwarding terminal according to the second routing information.
一种归属位置寄存器,所述归属位置寄存器包括如上所述的装置。A home location register, said home location register comprising the apparatus as described above.
根据本发明实施例提供的方案,被叫终端对应的HLR可以在被叫终端签约了短信前转业务时,向前转终端对应的HLR查询前转终端的路由信息,并将查询到的前转终端的路由信息发送给短信中心,使得短信中心可以无感知地根据接收到的前转终端的路由信息,直接将发送给所述被叫终端的短信发送至所述前转终端。从而无需对短信中心进行改造,也无需引入新的设备,只需要对被叫终端对应的HLR进行简单地改造,即可以实现短信前转,降低短信前转实现的复杂度。According to the solution provided by the embodiment of the present invention, the HLR corresponding to the called terminal can query the HLR corresponding to the forwarding terminal for the routing information of the forwarding terminal when the called terminal signs up for the SMS forwarding service, and forward the queried The routing information of the terminal is sent to the short message center, so that the short message center can directly send the short message sent to the called terminal to the forwarding terminal without perception according to the received routing information of the forwarding terminal. Therefore, there is no need to modify the SMS center, nor does it need to introduce new equipment. It only needs to simply modify the HLR corresponding to the called terminal, that is, SMS forwarding can be realized, and the complexity of implementing SMS forwarding can be reduced.
附图说明Description of drawings
图1为现有技术提供的实现短信前转的方案的过程示意图;Fig. 1 is the schematic diagram of the process of the scheme that realizes short message forwarding provided by prior art;
图2为本发明实施例一提供的实现短信前转的方法的步骤流程图;FIG. 2 is a flow chart of the steps of the method for realizing SMS forwarding provided by Embodiment 1 of the present invention;
图3为本发明实施例二提供的实现短信前转的方法的信令流程图;FIG. 3 is a signaling flowchart of a method for realizing short message forwarding provided by Embodiment 2 of the present invention;
图4为本发明实施例三提供的实现短信前转的装置的结构示意图;FIG. 4 is a schematic structural diagram of a device for realizing short message forwarding provided by Embodiment 3 of the present invention;
图5为本发明实施例五提供的实现短信前转的系统的结构示意图。FIG. 5 is a schematic structural diagram of a system for implementing short message forwarding provided by Embodiment 5 of the present invention.
具体实施方式detailed description
本发明实施例主要针对目前短信前转复杂度较高的问题,提出了一种实现短信前转的方法,可以通过简单升级HLR,在不引入新设备和设备改造的复杂度较低的前提下,实现短信前转,降低短信前转实现的复杂度。The embodiment of the present invention mainly aims at the problem of relatively high complexity of SMS forwarding at present, and proposes a method for realizing SMS forwarding, which can simply upgrade the HLR, without introducing new equipment and lowering the complexity of equipment transformation , realizing SMS forwarding, and reducing the complexity of implementing SMS forwarding.
以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
实施例一、Embodiment one,
本发明实施例一提供一种实现短信前转的方法,该方法的步骤流程可以如图2所示,包括:Embodiment 1 of the present invention provides a method for realizing short message forwarding. The step flow of the method may be shown in FIG. 2 , including:
步骤101、SMC向第一HLR发送第一请求路由信息。Step 101, the SMC sends the first request routing information to the first HLR.
在主叫终端需要向被叫终端发送短信时,SMC会向被叫终端对应的HLR发送请求路由信息。When the calling terminal needs to send a short message to the called terminal, the SMC will send request routing information to the HLR corresponding to the called terminal.
即,所述第一HLR为被叫终端对应的HLR。第一请求路由信息是SMC向被叫终端对应的HLR发送的请求路由信息,且所述第一请求路由信息中携带被叫终端的号码。That is, the first HLR is the HLR corresponding to the called terminal. The first request routing information is the request routing information sent by the SMC to the HLR corresponding to the called terminal, and the first request routing information carries the number of the called terminal.
步骤102、第一HLR判断被叫终端是否签约了短信前转业务。Step 102, the first HLR judges whether the called terminal has subscribed to the SMS forwarding service.
在本步骤中,第一HLR可以根据所述被叫终端的号码对应的签约信息,判断所述被叫终端是否签约了短信前转业务。In this step, the first HLR may determine whether the called terminal has subscribed to the short message forwarding service according to the subscription information corresponding to the number of the called terminal.
具体的,在本实施例中,可以在所述签约信息中包括所述被叫终端是否签约短信前转业务的标志位,则在本步骤中,第一HLR可以查询所述签约信息中的所述标志位,在所述标志位为指定标志时,确定所述被叫终端签约了短信前转业务;在所述标志位非指定标志时,确定所述被叫终端没有签约短信前转业务。Specifically, in this embodiment, the subscription information may include a flag indicating whether the called terminal has subscribed to the SMS forwarding service, and then in this step, the first HLR may query all of the subscription information in the subscription information. The flag bit, when the flag bit is a designated flag, it is determined that the called terminal has subscribed to the short message forwarding service; when the flag bit is not a designated flag, it is determined that the called terminal has not subscribed to the short message forwarding service.
如果确定所述被叫终端签约了短信前转业务,则确定需要进行短信前转,可以继续执行步骤103,否则,如果确定所述被叫终端没有签约短信前转业务,则确定不需要进行短信前转,第一HLR可以按照现有流程,根据所述被叫终端的号码确定第一路由信息,并将所述第一路由信息发送给所述SMC,使得所述SMC可以根据所述第一路由信息,将短信发送给所述被叫终端。If it is determined that the called terminal has subscribed to the SMS forwarding service, it is determined that SMS forwarding is required, and step 103 can be continued; otherwise, if it is determined that the called terminal has not subscribed to the SMS forwarding service, then it is determined that no SMS forwarding is required. Forwarding, the first HLR can determine the first routing information according to the number of the called terminal according to the existing process, and send the first routing information to the SMC, so that the SMC can Routing information, sending the short message to the called terminal.
步骤103、第一HLR确定前转终端的号码。Step 103, the first HLR determines the number of the forwarding terminal.
所述第一HLR在确定所述被叫终端签约了短信前转业务时,确定短信前转业务中,所述被叫终端对应的前转终端的号码。When determining that the called terminal has subscribed to the SMS forwarding service, the first HLR determines the number of the forwarding terminal corresponding to the called terminal in the SMS forwarding service.
具体的,可以理解为所述第一HLR查询所述被叫终端的号码对应的签约信息,确定短信前转业务中,所述被叫终端对应的前转终端的号码。Specifically, it can be understood that the first HLR queries the subscription information corresponding to the number of the called terminal, and determines the number of the forwarding terminal corresponding to the called terminal in the short message forwarding service.
步骤104、第一HLR查询第二HLR。Step 104, the first HLR queries the second HLR.
由于移动终端的号码和HLR之间存在对应关系,在本步骤中,所述第一HLR可以根据所述前转终端的号码,查询所述前转终端对应的第二HLR。Since there is a corresponding relationship between the number of the mobile terminal and the HLR, in this step, the first HLR can query the second HLR corresponding to the forwarding terminal according to the number of the forwarding terminal.
步骤105、第一HLR向第二HLR发送第二请求路由信息。Step 105, the first HLR sends the second request routing information to the second HLR.
在本实施例中,为了实现短信前转,第一HLR需要获得前转终端的路由信息,因此在本步骤中,第一HLR会向前转终端对应的HLR发送请求路由信息。In this embodiment, in order to implement short message forwarding, the first HLR needs to obtain routing information of the forwarding terminal, so in this step, the first HLR sends the requested routing information to the HLR corresponding to the forwarding terminal.
即,第二请求路由信息是第一HLR向前转终端对应的HLR发送的请求路由信息,且所述第二请求路由信息中携带前转终端的号码。That is, the second request routing information is request routing information sent by the first HLR to the HLR corresponding to the forwarding terminal, and the second request routing information carries the number of the forwarding terminal.
步骤106、第一HLR接收第二路由信息。Step 106, the first HLR receives the second routing information.
第二HLR在接收到第一HLR发送的第二请求路由信息时,会根据所述前转终端的号码确定所述前转终端的路由信息,并将该路由信息返回给所述第一HLR。即,所述第二路由信息是所述第二HLR根据所述前转终端的号码确定的。When receiving the second request routing information sent by the first HLR, the second HLR determines the routing information of the forwarding terminal according to the number of the forwarding terminal, and returns the routing information to the first HLR. That is, the second routing information is determined by the second HLR according to the number of the forwarding terminal.
步骤107、第一HLR向SMC转发第二路由信息。Step 107, the first HLR forwards the second routing information to the SMC.
在本步骤中,第一HLR可以将接收到的第二路由信息直接转发给所述SMC,从而使得所述SMC可以根据所述第二路由信息,将发送给所述被叫终端的短信发送至所述前转终端。In this step, the first HLR can directly forward the received second routing information to the SMC, so that the SMC can send the short message sent to the called terminal to the The forwarding terminal.
对于SMC而言,不会感知到第二路由信息与被叫终端没有签约短信前转业务时,第一HLR返回的第一路由信息的区别,使得SMC可以无感知地根据接收到的前转终端的路由信息,直接将发送给所述被叫终端的短信发送至所述前转终端。For the SMC, it will not perceive the difference between the second routing information and the first routing information returned by the first HLR when the called terminal does not subscribe to the SMS forwarding service, so that the SMC can unconsciously forward the terminal according to the received forwarding information. routing information, and directly send the short message sent to the called terminal to the forwarding terminal.
下面通过实施例二,对本发明实施例一提供的方法中的信令流程进行说明。The following describes the signaling process in the method provided by the first embodiment of the present invention through the second embodiment.
实施例二、Embodiment two,
本发明实施例二提供一种实现短信前转的方法,该方法的信令流程可以如图3所示,包括:Embodiment 2 of the present invention provides a method for realizing short message forwarding. The signaling process of the method may be shown in FIG. 3 , including:
步骤201、主叫终端对应的SMC向被叫终端对应的SMC发送SMS_DELIVER信令。Step 201, the SMC corresponding to the calling terminal sends an SMS_DELIVER signaling to the SMC corresponding to the called terminal.
在本步骤中,主叫终端对应的SMC(后续简称为主叫SMC)可以向被叫终端对应的SMC(后续简称为被叫SMC)发送SMS_DELIVER信令,告知被叫SMC需要向某号码进行短信送达。In this step, the SMC corresponding to the calling terminal (hereinafter referred to as the calling SMC) can send SMS_DELIVER signaling to the SMC corresponding to the called terminal (hereinafter referred to as the called SMC), informing the called SMC that it needs to send a text message to a certain number service.
本步骤与现有方法相同。在实施例一中涉及的SMC可以理解为实施例二中的被叫SMC。This step is the same as the existing method. The SMC involved in the first embodiment can be understood as the called SMC in the second embodiment.
步骤202、被叫SMC向第一HLR发送第一请求路由信息。Step 202, the called SMC sends the first request routing information to the first HLR.
在本步骤中,被叫SMC在接收到SMS_DELIVER信令后,向被叫终端发送请求路由信息。具体的,被叫SMC可以向被叫终端所属的HLR下发MAP_SEND_ROUTING_INFO_FOR_SM信令。In this step, the called SMC sends the request routing information to the called terminal after receiving the SMS_DELIVER signaling. Specifically, the called SMC may deliver the MAP_SEND_ROUTING_INFO_FOR_SM signaling to the HLR to which the called terminal belongs.
此时,MAP_SEND_ROUTING_INFO_FOR_SM信令中携带被叫终端的号码。At this time, the MAP_SEND_ROUTING_INFO_FOR_SM signaling carries the number of the called terminal.
步骤203、第一HLR判断被叫终端是否签约了短信前转业务。Step 203, the first HLR judges whether the called terminal has subscribed to the SMS forwarding service.
在本步骤中,第一HLR针对被叫终端的签约信息,查询被叫终端是否签约了短信前转业务。In this step, the first HLR queries whether the called terminal has subscribed to the short message forwarding service according to the subscription information of the called terminal.
如果没有签约短信前转业务,则执行步骤204。If the SMS forwarding service is not subscribed, step 204 is performed.
如果签约了短信前转业务,则跳转执行步骤205。If the SMS forwarding service is subscribed, skip to step 205.
步骤204、第一HLR返回第一路由信息。Step 204, the first HLR returns the first routing information.
第一HLR在确定被叫终端没有签约短信前转业务时,直接查询该被叫终端的第一路由信息,具体的,第一路由信息可以理解为该被叫终端所属的MSC信息。并将第一路由信息通过MAP_SEND_ROUTING_INFO_FOR_SM_ACK信令返回给SMC。SMC按照现有的短信发送流程发送短信至被叫终端。本流程结束。When the first HLR determines that the called terminal does not subscribe to the SMS forwarding service, it directly inquires about the first routing information of the called terminal. Specifically, the first routing information can be understood as information about the MSC to which the called terminal belongs. And return the first routing information to the SMC through the MAP_SEND_ROUTING_INFO_FOR_SM_ACK signaling. The SMC sends the short message to the called terminal according to the existing short message sending process. This process ends.
步骤205、第一HLR向第二HLR发送第二请求路由信息。Step 205, the first HLR sends the second request routing information to the second HLR.
在本步骤中,第一HLR可以在确定被叫终端签约了短信前转业务时,确定短信前转业务中,所述被叫终端对应的前转终端的号码。根据所述前转终端的号码,查询前转终端对应的第二HLR。并向第二HLR发送MAP_SEND_ROUTING_INFO_FOR_SM信令。In this step, the first HLR may determine the number of the forwarding terminal corresponding to the called terminal in the SMS forwarding service when determining that the called terminal has subscribed to the SMS forwarding service. According to the number of the forwarding terminal, query the second HLR corresponding to the forwarding terminal. And send MAP_SEND_ROUTING_INFO_FOR_SM signaling to the second HLR.
此时,MAP_SEND_ROUTING_INFO_FOR_SM信令中携带前转终端的号码。At this time, the MAP_SEND_ROUTING_INFO_FOR_SM signaling carries the number of the forwarding terminal.
步骤206、第二HLR返回第二路由信息。Step 206, the second HLR returns the second routing information.
第二HLR接收到第二请求路由信息时,查询前转终端的路由信息,并将第二路由信息通过MAP_SEND_ROUTING_INFO_FOR_SM_ACK信令返回给第一HLR。具体的,第二路由信息可以理解为前转终端所属的MSC信息。When the second HLR receives the routing information of the second request, it queries the routing information of the forwarding terminal, and returns the second routing information to the first HLR through the MAP_SEND_ROUTING_INFO_FOR_SM_ACK signaling. Specifically, the second routing information may be understood as information about the MSC to which the forwarding terminal belongs.
步骤207、第一HLR向SMC转发第二路由信息。Step 207, the first HLR forwards the second routing information to the SMC.
第一HLR可以将接收到的MAP_SEND_ROUTING_INFO_FOR_SM_ACK信令直接转发给SMC。The first HLR may directly forward the received MAP_SEND_ROUTING_INFO_FOR_SM_ACK signaling to the SMC.
步骤208、SMC向前转终端所属的MSC发送短信。Step 208, the SMC sends a short message to the MSC to which the forwarding terminal belongs.
在本实施例中,SMC向前转终端发送短信的过程,与SMC向被叫终端发送短信的过程类似,因此,步骤208~210均与现有技术相同。在本步骤中,SMC可以向前转终端所属的MSC发送MAP_MT_FORWARD_SHORT_MESSAGE信令。In this embodiment, the process of the SMC sending a short message to the forwarding terminal is similar to the process of the SMC sending a short message to the called terminal. Therefore, steps 208 to 210 are the same as those in the prior art. In this step, the SMC may send a MAP_MT_FORWARD_SHORT_MESSAGE signaling to the MSC to which the forwarding terminal belongs.
步骤209、前转终端所属的MSC向前转终端发送短信。Step 209, the MSC to which the forwarding terminal belongs sends a short message to the forwarding terminal.
在本步骤中,前转终端所属的MSC向前转终端发送SMS_DELIVER信令。In this step, the MSC to which the forwarded terminal belongs sends an SMS_DELIVER signaling to the forwarded terminal.
步骤210、前转终端反馈响应消息。Step 210, the forwarding terminal feeds back a response message.
在本步骤中,前转终端在接收到短信后,向前转终端所属的MSC发送SMS_DELIVER_ACK信令。In this step, after receiving the short message, the forwarding terminal sends SMS_DELIVER_ACK signaling to the MSC to which the forwarding terminal belongs.
与本发明实施例一、二基于同一发明构思,提供以下的装置。Based on the same inventive concept as Embodiments 1 and 2 of the present invention, the following devices are provided.
实施例三、Embodiment three,
本发明实施例三提供一种实现短信前转的装置,该装置的结构可以如图4所示,包括:Embodiment 3 of the present invention provides a device for realizing short message forwarding. The structure of the device may be as shown in FIG. 4 , including:
接收模块11用于接收短信中心SMC发送的第一请求路由信息,所述第一请求路由信息中携带被叫终端的号码,以及,接收前转终端对应的HLR返回的第二路由信息时,所述第二路由信息是所述前转终端对应的HLR根据前转终端的号码确定的;The receiving module 11 is used to receive the first request routing information sent by the short message center SMC, the first request routing information carries the number of the called terminal, and when receiving the second routing information returned by the HLR corresponding to the forwarding terminal, the The second routing information is determined by the HLR corresponding to the forwarding terminal according to the number of the forwarding terminal;
分析模块12用于根据所述被叫终端的号码对应的签约信息,判断所述被叫终端是否签约了短信前转业务;在确定所述被叫终端签约了短信前转业务时,确定短信前转业务中,所述被叫终端对应的前转终端的号码;根据所述前转终端的号码,查询所述前转终端对应的HLR;The analysis module 12 is used for judging whether the called terminal has subscribed to the SMS forwarding service according to the subscription information corresponding to the number of the called terminal; In the transfer service, the number of the forwarding terminal corresponding to the called terminal; according to the number of the forwarding terminal, query the HLR corresponding to the forwarding terminal;
发送模块13用于向所述分析模块查询到的所述前转终端对应的HLR发送第二请求路由信息,所述第二请求路由信息中携带所述前转终端的号码;并将所述第二路由信息转发给所述SMC,其中,所述SMC根据所述第二路由信息,将发送给所述被叫终端的短信发送至所述前转终端。The sending module 13 is configured to send the second request routing information to the HLR corresponding to the forwarding terminal queried by the analysis module, and the second request routing information carries the number of the forwarding terminal; The second routing information is forwarded to the SMC, wherein the SMC sends the short message sent to the called terminal to the forwarding terminal according to the second routing information.
所述分析模块12还用于在确定所述被叫终端没有签约短信前转业务时,根据所述被叫终端的号码确定第一路由信息;The analysis module 12 is also used to determine the first routing information according to the number of the called terminal when it is determined that the called terminal has not subscribed to the SMS forwarding service;
所述发送模块13还用于将所述第一路由信息发送给所述SMC,其中,所述SMC根据所述第一路由信息,将短信发送给所述被叫终端。The sending module 13 is further configured to send the first routing information to the SMC, wherein the SMC sends a short message to the called terminal according to the first routing information.
所述分析模块12具体用于查询所述签约信息中的所述标志位,在所述标志位为指定标志时,确定所述被叫终端签约了短信前转业务;在所述标志位非指定标志时,确定所述被叫终端没有签约短信前转业务。The analysis module 12 is specifically used to inquire about the flag in the subscription information, and when the flag is a specified flag, it is determined that the called terminal has subscribed to the short message forwarding service; flag, it is determined that the called terminal has not subscribed to the SMS forwarding service.
进一步的,本发明实施例四还可以提供一种归属位置寄存器,所述归属位置寄存器包括本发明实施例三提供的所述装置。Furthermore, Embodiment 4 of the present invention may further provide a home location register, where the HLR includes the apparatus provided in Embodiment 3 of the present invention.
下面通过一个具体的实例,提供一种实现短信前转的系统。Through a specific example, a system for realizing SMS forwarding is provided below.
实施例五、Embodiment five,
本发明实施例五提供一种实现短信前转的系统,该系统的结构示意图可以如图5所示,涉及的网络实体可以包括:Embodiment 5 of the present invention provides a system for realizing short message forwarding. The structural diagram of the system can be shown in FIG. 5, and the involved network entities can include:
SMC,短信服务的网关移动交换中心(Gateway MSC for Short Message Service,SMS GMSC),HLR(本发明实施例四提供的HLR,在图5中,包括两个HLR,分别为HLR1和HLR2),MSC/拜访位置寄存器(Visitor Location Register,VLR)(在图5中,包括两个MSC/VLR,分别为MSC/VLR1和MSC/VLR2),基站系统(Base Station System,BSS,在图5中,包括两个BSS,分别为BSS1和BSS2)、移动终端(Mobile Subscriber,MS,在图5中,包括两个MS,分别为MS1和MS2),各网络实体之间的连接关系可以与现有的实现短信发送的系统中,各网络实体之间的连接关系相同。SMC, Gateway MSC for Short Message Service (SMS GMSC), HLR (the HLR provided in Embodiment 4 of the present invention, in Figure 5, includes two HLRs, respectively HLR1 and HLR2), MSC / Visitor Location Register (Visitor Location Register, VLR) (in Figure 5, including two MSC/VLR, respectively MSC/VLR1 and MSC/VLR2), base station system (Base Station System, BSS, in Figure 5, including Two BSSs, respectively BSS1 and BSS2), mobile terminals (Mobile Subscriber, MS, in Figure 5, including two MSs, respectively MS1 and MS2), the connection relationship between each network entity can be implemented with the existing In the system for sending short messages, the connection relationship between each network entity is the same.
各MSC/VLR与SMS GMSC之间,可以通过No.7信令网连接。在该系统中,通过升级HLR的功能,来完成对短信前转。Each MSC/VLR and SMS GMSC can be connected through No.7 signaling network. In this system, forwarding of short messages is accomplished by upgrading the function of the HLR.
其中,升级的HLR可以理解为主要增加了以下三个功能:Among them, the upgraded HLR can be understood as mainly adding the following three functions:
1、在HLR的签约信息中增加标志位,记录被叫终端是否签约短信前转业务。1. Add a flag to the subscription information of the HLR to record whether the called terminal has subscribed to the SMS forwarding service.
2、查询功能,如查询被叫终端是否签约短信前转功能。2. Inquiry function, such as inquiring whether the called terminal has subscribed to the SMS forwarding function.
3、增加发送MAP_SEND_ROUTING_INFO_FOR_SM信令功能。3. Added the function of sending MAP_SEND_ROUTING_INFO_FOR_SM signaling.
当然,如果需要,HLR可模拟智能网业务平台(Service Control Platform,SCP)的子系统号码,向其他HLR发送MAP_SEND_ROUTING_INFO_FOR_SM信令。Of course, if necessary, the HLR can simulate the subsystem number of the intelligent network service platform (Service Control Platform, SCP), and send MAP_SEND_ROUTING_INFO_FOR_SM signaling to other HLRs.
通过以上功能,升级的HLR可实现短信前转。Through the above functions, the upgraded HLR can realize SMS forwarding.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and combinations of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While preferred embodiments of the present application have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the application.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310056589.2A CN104010283B (en) | 2013-02-22 | 2013-02-22 | A kind of method for realizing short-message foreward turning, device and attaching position register |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310056589.2A CN104010283B (en) | 2013-02-22 | 2013-02-22 | A kind of method for realizing short-message foreward turning, device and attaching position register |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104010283A CN104010283A (en) | 2014-08-27 |
CN104010283B true CN104010283B (en) | 2017-06-20 |
Family
ID=51370744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310056589.2A Active CN104010283B (en) | 2013-02-22 | 2013-02-22 | A kind of method for realizing short-message foreward turning, device and attaching position register |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104010283B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1578500A (en) * | 2003-07-28 | 2005-02-09 | 华为技术有限公司 | Method for realizing portable mobile number |
CN1662076A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | Method for implementing transfer of short message |
CN1852483A (en) * | 2006-03-20 | 2006-10-25 | 华为技术有限公司 | Method for realizing short-message foreward turning and system thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20020071296A (en) * | 2001-03-06 | 2002-09-12 | 삼성전자 주식회사 | Method for forwarding short message in mobile telecommunication system |
-
2013
- 2013-02-22 CN CN201310056589.2A patent/CN104010283B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1578500A (en) * | 2003-07-28 | 2005-02-09 | 华为技术有限公司 | Method for realizing portable mobile number |
CN1662076A (en) * | 2004-02-27 | 2005-08-31 | 华为技术有限公司 | Method for implementing transfer of short message |
CN1852483A (en) * | 2006-03-20 | 2006-10-25 | 华为技术有限公司 | Method for realizing short-message foreward turning and system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104010283A (en) | 2014-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103858452B (en) | Handle the mobility management entity of SMS coherent signals | |
RU2725179C1 (en) | Machine type of communication using sms-initiated mobile subscribers without international telephone number of user | |
US20100062807A1 (en) | Method for realizing one card with multiple numbers service | |
US8909265B2 (en) | Method and system for processing validity time in trigger information | |
CN101304559B (en) | Method and system for implementing short message service supporting number-carried | |
JP6034994B2 (en) | Avoiding call loop formation due to handling mobile incoming calls in parallel with location updates in wireless communication networks | |
CN105681158B (en) | A kind of method, apparatus and system for improving IP short message and delivering accuracy | |
CN103096279B (en) | Realize the method for calling of one number service, device, system and platform device | |
CN107534851A (en) | Multi-line Information Mobile Service with dynamic MSISDN associations | |
CN105101064A (en) | Service providing method for roaming mobile terminal and device and system thereof | |
CN107409094B (en) | Communication lines are by management server, system and method for handling route requests | |
CN101213848A (en) | System and method for implementing Internet mobile number portability | |
CN104754544A (en) | International network registration method, device and system | |
CN101640865B (en) | Method and system for realizing mobile phone service | |
CN109756847B (en) | Number porting call method, device and computer-readable storage medium | |
CN104010283B (en) | A kind of method for realizing short-message foreward turning, device and attaching position register | |
CN102333294A (en) | Method and device for renewing terminal reachable state information based on detaching process | |
CN101287162B (en) | Generating method, device for message signature, message signing system | |
CN103369481B (en) | Short message service provides method and device | |
CN111866700B (en) | Method, equipment and device for selecting positioning information | |
CN104254057B (en) | A kind of short message transmission method, system and equipment | |
CN109714720B (en) | Method and system for realizing short message intercommunication of roaming users between LTE networks | |
CN110876138B (en) | Method and platform for realizing different system double-number service | |
CN102143454A (en) | Method, device and system for realizing multi-network service | |
CN115119138A (en) | Method, related device, device and readable storage medium for sending short message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |