WO2022012161A1 - Method, apparatus and system for processing short message delivery failure - Google Patents

Method, apparatus and system for processing short message delivery failure Download PDF

Info

Publication number
WO2022012161A1
WO2022012161A1 PCT/CN2021/094982 CN2021094982W WO2022012161A1 WO 2022012161 A1 WO2022012161 A1 WO 2022012161A1 CN 2021094982 W CN2021094982 W CN 2021094982W WO 2022012161 A1 WO2022012161 A1 WO 2022012161A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
delivery failure
message delivery
failure indication
hlr
Prior art date
Application number
PCT/CN2021/094982
Other languages
French (fr)
Chinese (zh)
Inventor
龚向荣
缪永生
王健
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022012161A1 publication Critical patent/WO2022012161A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]

Abstract

Disclosed are a method, apparatus and system for processing a short message delivery failure, which relate to the technical field of communications. The method comprises: after short message delivery to a UE fails, a first IP-SM-GW locally storing a short message delivery failure indication of the UE; after determining that the UE is reachable, the first IP-SM-GW acquiring the locally stored short message delivery failure indication of the UE; and after acquiring the short message delivery failure indication of the UE, the first IP-SM-GW triggering an SMSC to re-deliver, to the UE, a pre-cached short message, the delivery of which has failed.

Description

一种短信投递失败的处理方法、装置及系统Method, device and system for processing failure of short message delivery
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202010688520.1、申请日为2020年7月16日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is based on the Chinese patent application with the application number of 202010688520.1 and the filing date of July 16, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及通信领域技术领域,尤其涉及一种短信投递失败的处理方法、装置及系统。The present application relates to the technical field of the communication field, and in particular, to a method, device, and system for processing a short message delivery failure.
背景技术Background technique
网络协议(Internet Protocol,IP)多媒体子系统(IP Multimedia Subsystem,IMS)是由第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)提出的一种基于IP的网络架构,其构建了一个开放而灵活的业务环境,支持多媒体应用,并为用户提供丰富的多媒体业务。Internet Protocol (Internet Protocol, IP) Multimedia Subsystem (IP Multimedia Subsystem, IMS) is an IP-based network architecture proposed by the 3rd Generation Partnership Project (3GPP), which builds an open and The flexible business environment supports multimedia applications and provides users with rich multimedia services.
短消息业务(Short Message Service,SMS)是电路域的基本电信业务之一,在传统的蜂窝网络中有广泛应用。伴随IP网络的广泛应用,IMS系统中通过引入了网际协议短信网关(IP-Short-Message-Gateway,IP-SM-GW,简称短信网关),可实现IP短消息与电路域短消息的互通,同时也可实现即时消息和短消息之间的互通。图1为IP-SM-GW在短信互通时的整体系统架构图。IP-SM-GW提供基于IP的用户终端(User Equipment,UE)和短消息服务中心(Short Message Service Center,SMSC)之间收发短消息的协议交互。IP-SM-GW应用移动应用部分(Mobile Application Part,MAP)协议连接短消息网关移动交换中心(Gateway Mobile Switching Center,SMS-GMSC)和短消息互通移动交换中心(Short Message Service Interworking MSC,SMS-IWMSC),使用传统短消息格式的IMS消息与UE通信。在IMS核心网中,IP-SM-GW逻辑上作为一个应用服务器(Application Server,AS),与IMS之间是标准的基于会话发起协议(Session Initiation Protocol,SIP)的IMS业务控制(IMS Service Control,ISC)接口。IMS网络包括服务呼叫会话功能(Serving call session control Function,SCSCF)和代理呼叫会话功能(Proxy call session control Function,PCSCF)。Short Message Service (Short Message Service, SMS) is one of the basic telecommunication services in the circuit domain, and is widely used in traditional cellular networks. With the wide application of IP networks, the IMS system has introduced the Internet Protocol Short Message Gateway (IP-Short-Message-Gateway, IP-SM-GW, short message gateway for short), which can realize the interworking of IP short messages and circuit domain short messages. At the same time, the communication between instant messages and short messages can also be realized. Figure 1 is an overall system architecture diagram of the IP-SM-GW during SMS intercommunication. The IP-SM-GW provides protocol interaction for sending and receiving short messages between an IP-based user terminal (User Equipment, UE) and a Short Message Service Center (Short Message Service Center, SMSC). IP-SM-GW applies Mobile Application Part (MAP) protocol to connect Short Message Gateway Mobile Switching Center (Gateway Mobile Switching Center, SMS-GMSC) and Short Message Service Interworking MSC (Short Message Service Interworking MSC, SMS- IWMSC), which communicates with the UE using IMS messages in the traditional short message format. In the IMS core network, the IP-SM-GW logically acts as an Application Server (AS), and is connected to the IMS by a standard IMS Service Control (IMS Service Control) based on the Session Initiation Protocol (SIP). , ISC) interface. The IMS network includes a Serving call session control Function (SCSCF) and a Proxy call session control Function (PCSCF).
发明内容SUMMARY OF THE INVENTION
本申请实施例的主要目的在于提供一种短信投递失败的处理方法、装置及系统,旨在不需要多网元协作并支持订阅/通知机制的情况下,有效、精准地投递在前未投递成功的短信。The main purpose of the embodiments of the present application is to provide a method, device and system for processing a short message delivery failure, which is aimed at effectively and accurately delivering a previously unsuccessful delivery without requiring the cooperation of multiple network elements and supporting a subscription/notification mechanism. SMS.
本申请实施例提供了一种短信投递失败的处理方法,包括:第一IP-SM-GW在UE的短信投递失败后,在本地保存所述UE的短信投递失败指示;所述第一IP-SM-GW在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示;所述第一IP-SM-GW在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。An embodiment of the present application provides a method for processing a short message delivery failure, including: a first IP-SM-GW locally saves the UE's short message delivery failure indication after the UE's short message delivery fails; the first IP-SM-GW After determining that the UE is reachable, the SM-GW obtains the locally stored short message delivery failure indication of the UE; the first IP-SM-GW triggers the SMSC to send the message to the UE after obtaining the short message delivery failure indication of the UE. The UE re-delivery the pre-cached short message that failed to be delivered.
本申请实施例提供了一种短信投递失败的处理方法,包括:第一IP-SM-GW在UE的短信投递失败后,将所述UE的短信投递失败指示保存至本地以及HLR或HSS;所述第一IP-SM-GW在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示,并在获取 所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信;或者,在所述第一IP-SM-GW发生异常后,第二IP-SM-GW在确定所述UE可达后,获取所述HLR或所述HSS保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。The embodiment of the present application provides a method for processing a short message delivery failure, including: a first IP-SM-GW saves the UE's short message delivery failure indication to a local and an HLR or HSS after the UE's short message delivery fails; After determining that the UE is reachable, the first IP-SM-GW acquires the locally stored short message delivery failure indication of the UE, and after acquiring the short message delivery failure indication of the UE, triggers the SMSC to send a new message to the UE. Deliver the pre-cached short message that fails to deliver; or, after the first IP-SM-GW is abnormal, the second IP-SM-GW obtains the HLR or the HSS after determining that the UE is reachable and saves The short message delivery failure indication of the UE is obtained, and after acquiring the short message delivery failure indication of the UE, the SMSC is triggered to re-deliver the pre-cached short message delivery failure to the UE.
本申请实施例提供了一种短信投递失败的处理装置,所述装置包括:存储模块,用于在UE的短信投递失败后,在第一IP-SM-GW本地保存所述UE的短信投递失败指示;获取模块,用于在所述第一IP-SM-GW确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示;触发模块,用于在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。An embodiment of the present application provides an apparatus for processing a short message delivery failure. The apparatus includes: a storage module configured to locally store the UE's short message delivery failure in a first IP-SM-GW after the UE's short message delivery fails. an instruction; an acquiring module is used to acquire the locally stored short message delivery failure indication of the UE after the first IP-SM-GW determines that the UE is reachable; a triggering module is used to acquire the short message of the UE after acquiring the short message of the UE. After the delivery failure is indicated, the SMSC is triggered to re-deliver the pre-cached short message of delivery failure to the UE.
本申请实施例提供了一种短信投递失败的处理系统,所述系统包括:第一IP-SM-GW,用于在UE的短信投递失败后,将所述UE的短信投递失败指示保存至本地以及HLR或HSS,并在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信;第二IP-SM-GW,用于在所述第一IP-SM-GW发生异常且确定所述UE可达后,获取所述HLR或所述HSS保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。An embodiment of the present application provides a system for processing a short message delivery failure. The system includes: a first IP-SM-GW, configured to save the UE's short message delivery failure indication to a local after the UE's short message delivery fails. and HLR or HSS, and after determining that the UE is reachable, acquire the locally stored short message delivery failure indication of the UE, and after acquiring the short message delivery failure indication of the UE, trigger the SMSC to re-deliver the pre-delivery message to the UE. Cached short messages that fail to deliver; the second IP-SM-GW is used to obtain the stored information stored in the HLR or the HSS after the first IP-SM-GW is abnormal and it is determined that the UE is reachable. The short message delivery failure indication of the UE, and after acquiring the short message delivery failure indication of the UE, the SMSC is triggered to re-deliver the pre-cached short message delivery failure to the UE.
附图说明Description of drawings
图1是一些情形中IP-SM-GW在短信互通时的整体系统架构图;Fig. 1 is the overall system architecture diagram of IP-SM-GW during SMS intercommunication in some cases;
图2是一些情形中终呼短信投递失败及投递失败后处理流程图;Fig. 2 is a process flow chart of the delivery failure of the final call short message and the post-delivery failure in some situations;
图3是本申请实施例提供的短信投递失败的处理方法的第一流程示意图;3 is a first schematic flowchart of a method for processing a short message delivery failure provided by an embodiment of the present application;
图4是本申请实施例提供的短信投递失败的处理方法的第二流程示意图;4 is a second schematic flowchart of a method for processing a short message delivery failure provided by an embodiment of the present application;
图5是本申请实施例提供的在IP-SM-GW非容灾场景下根据本地保存的短信投递失败指示完成精准再投递的流程图;5 is a flow chart of completing accurate redelivery according to a locally stored short message delivery failure indication in an IP-SM-GW non-disaster tolerance scenario provided by an embodiment of the present application;
图6是本申请实施例提供的终呼短信投递失败IP-SM-GW保存投递失败指示的流程图;Fig. 6 is the flow chart of the delivery failure indication that the IP-SM-GW of the terminal call short message delivery failure provided by the embodiment of the present application saves the delivery failure;
图7是本申请中实施例提供的IP-SM-GW容灾场景下结合投递失败指示通知终端可用的流程图;7 is a flow chart of notifying a terminal that it is available in combination with a delivery failure indication in an IP-SM-GW disaster recovery scenario provided by an embodiment of the present application;
图8是本申请中实施例提供的再次投递终呼短信并清除投投递失败指示流程图;8 is a flowchart of re-delivering the final call short message and clearing the delivery failure indication provided by the embodiment of the present application;
图9是本申请实施例提供的短信投递失败的处理装置的示意性结构框图。FIG. 9 is a schematic structural block diagram of an apparatus for processing a short message delivery failure provided by an embodiment of the present application.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身没有特有的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, suffixes such as 'module', 'component' or 'unit' used to represent elements are used only to facilitate the description of the present application, and have no specific meaning per se. Thus, "module", "component" or "unit" may be used interchangeably.
发明人发现:对于短消息终呼流程,在一些情形中,终呼短信投递失败及投递失败后处理流程如图2所示,包括下列步骤:The inventor found that: for the short message termination call process, in some cases, the process flow of the termination call short message delivery failure and the post-delivery failure processing process is shown in Figure 2, including the following steps:
步骤201,短信服务中心SMSC发送终呼短消息投递(MAP_MT_Forward_SM)请求到IP-SM_GW;Step 201, the short message service center SMSC sends a final call short message delivery (MAP_MT_Forward_SM) request to the IP-SM_GW;
步骤202,IP-SM-GW发送SIP短消息(Message)到SCSCF;Step 202, the IP-SM-GW sends a SIP short message (Message) to the SCSCF;
步骤203,SCSCF转发SIP短消息(Message)到PCSCF;Step 203, the SCSCF forwards the SIP short message (Message) to the PCSCF;
步骤204,PCSCF转发SIP短消息(Message)给UE;Step 204, the PCSCF forwards the SIP short message (Message) to the UE;
步骤205,由于终端具有移动性,可能会出现终端不可及、无响应等情况;Step 205, due to the mobility of the terminal, there may be situations such as the terminal being unreachable and unresponsive;
步骤206,PCSCF收到或者主动产生失败响应,如SIP 4xx/5xx/6xx响应消息;Step 206, PCSCF receives or actively generates a failure response, such as a SIP 4xx/5xx/6xx response message;
步骤207,PCSCF转发失败响应到SCSCF;Step 207, the PCSCF forwards the failure response to the SCSCF;
步骤208,SCSCF转发失败响应到IP-SM-GW;Step 208, the SCSCF forwards the failure response to the IP-SM-GW;
步骤209,IP-SM-GW发送本次终呼短消息投递失败响应(MAP_MT_Forward_SM_Rsp)到短信服务中心;Step 209, the IP-SM-GW sends the short message delivery failure response (MAP_MT_Forward_SM_Rsp) of this final call to the short message service center;
步骤210,短信服务中心本地缓存未成功投递的短消息;Step 210, the short message service center locally caches the unsuccessfully delivered short messages;
步骤211,IP-SM-GW向归属位置寄存器(Home Location Register,HLR)/归属用户服务器(Home subscriber Server,HSS)发起用户可达订阅(Subscribe(UE Reachability));Step 211, IP-SM-GW initiates user reachable subscription (Subscribe (UE Reachability)) to Home Location Register (Home Location Register, HLR)/Home Subscriber Server (Home subscriber Server, HSS);
步骤212,当终端重新可用,比如附着到可用的无线网络,比如重启恢复,终端将向IMS网络将发起注册请求;Step 212, when the terminal becomes available again, such as attaching to an available wireless network, such as restarting and recovering, the terminal will initiate a registration request to the IMS network;
步骤213,HLR发现用户注册,向IP-SM-GW发送通知消息,告知IP-SM-GW用户可达(Notification(UE Reachability)); Step 213, the HLR discovers the user registration, and sends a notification message to the IP-SM-GW to inform the IP-SM-GW that the user is reachable (Notification (UE Reachability));
步骤214,IP-SM-GW收到通知消息后,发送准备接收短信(MAP_Ready_For_ShortMessage,亦称MAP_Ready_For_SM)请求到HLR/HSS;Step 214, after receiving the notification message, the IP-SM-GW sends a request to receive a short message (MAP_Ready_For_ShortMessage, also known as MAP_Ready_For_SM) to the HLR/HSS;
步骤215,HLR/HSS接收到MAP_Ready_For_SM请求后,返回准备接收短信响应(MAP_Ready_For_SM Rsp)给IP-SM-GW;Step 215, after receiving the MAP_Ready_For_SM request, the HLR/HSS returns a ready to receive short message response (MAP_Ready_For_SM Rsp) to the IP-SM-GW;
步骤216,HLR将发送(MAP_Alert_Service_Centre)请求通知短信服务中心,以通知短信服务中心终端可用;Step 216, the HLR will send (MAP_Alert_Service_Centre) request to notify the SMS service center, to notify the SMS service center that the terminal is available;
步骤217,短信服务中心接收到MAP_Alert_Service_Centre请求后,返回响应(MAP_Alert_Service_Centre_Rsp)给HLR;Step 217, after receiving the MAP_Alert_Service_Centre request, the SMS service center returns a response (MAP_Alert_Service_Centre_Rsp) to the HLR;
步骤218,短信服务中心根据MAP_Alert_Service_Centre消息,决定重新投递本地缓存的短消息。Step 218, the short message service center decides to re-deliver the locally cached short message according to the MAP_Alert_Service_Centre message.
从上述流程可以看出,终呼短信投递失败后,当终端可用时,根据用户可达订阅,HLR将终端可用的消息通知到短信服务中心,从而完成短信服务中心重新投递之前未成功投递的短信。该方案至少存在以下问题:(1)需要多网元协作并支持订阅/通知机制,且在IP-SM-GW和HLR之间增加用户可达订阅以及通知消息以完成短信服务中心重新投递之前未成功投递的短信;(2)对于容灾场景,HLR将无法通知备用的IP-SM-GW,因而无法完成重新投递之前未投递成功的短信。It can be seen from the above process that after the delivery of the final call SMS fails, when the terminal is available, according to the user reachable subscription, the HLR will notify the SMS service center of the available messages of the terminal, thereby completing the SMS service center to re-deliver the previously unsuccessfully delivered SMS messages. . This solution has at least the following problems: (1) Multi-network elements are required to cooperate and support subscription/notification mechanism, and user reachable subscription and notification messages are added between IP-SM-GW and HLR to complete the re-delivery of SMS service center. (2) For disaster recovery scenarios, the HLR will not be able to notify the standby IP-SM-GW, so it will not be able to complete the redelivery of the undelivered short messages before.
本申请实施例在终呼短信投递失败时,IP-SM-GW本地保存短信投递失败指示,并将短信投递失败指示以透明数据的格式保存到HLR或HSS。当IP-SM-GW未发生异常时,可以获取本地保存的短信投递失败指示,或者当IP-SM-GW发生异常时,可以通过解析从HLR或HSS下载的透明数据得到短信投递失败指示。这样,IP-SM-GW能够结合终端可用信息以及短信投递失败指示,准确发送终端可达的消息至短信服务中心,使短信服务中心再次投递在前缓存的未成功投递的短信。本申请实施例,不依赖其他网元的逻辑处理,实现在容灾和非容灾场景下,短信投递失败后的精准再投递。In this embodiment of the present application, when the final call short message delivery fails, the IP-SM-GW locally saves the short message delivery failure indication, and saves the short message delivery failure indication to the HLR or HSS in the format of transparent data. When the IP-SM-GW is not abnormal, it can obtain the locally saved short message delivery failure indication, or when the IP-SM-GW is abnormal, it can obtain the short message delivery failure indication by parsing the transparent data downloaded from the HLR or HSS. In this way, the IP-SM-GW can combine the terminal available information and the SMS delivery failure indication, and accurately send the terminal reachable message to the SMS service center, so that the SMS service center can re-deliver the previously cached unsuccessfully delivered SMS. The embodiment of the present application does not rely on the logic processing of other network elements, and implements accurate re-delivery after a short message delivery fails in disaster recovery and non-disaster recovery scenarios.
图3是本申请实施例提供的短信投递失败的处理方法的第一流程示意图,如图3所示,所述方法可以包括:FIG. 3 is a first schematic flowchart of a method for processing a short message delivery failure provided by an embodiment of the present application. As shown in FIG. 3 , the method may include:
步骤S301:第一IP-SM-GW在UE的短信投递失败后,在本地保存所述UE的短信投递失败指示。Step S301: The first IP-SM-GW locally saves the UE's short message delivery failure indication after the UE's short message delivery fails.
一般,在UE不可及、无响应等情况下,会出现UE的短信投递失败问题,此时第一IP-SM-GW将收到短信投递失败响应消息,在收到失败响应消息后,第一IP-SM-GW在本地保存该UE的短信投递失败指示。Generally, when the UE is unreachable and has no response, the short message delivery failure problem of the UE will occur. At this time, the first IP-SM-GW will receive a message delivery failure response message. After receiving the failure response message, the first IP-SM-GW will The IP-SM-GW locally stores the short message delivery failure indication of the UE.
另外,第一IP-SM-GW会向SMSC发送终呼短消息投递响应,通知SMSC所述UE的短信投递失败,使SMSC缓存未投递成功的所述UE的短信。In addition, the first IP-SM-GW sends a final call short message delivery response to the SMSC, notifying the SMSC that the short message delivery of the UE fails, so that the SMSC caches the short message of the UE that has not been successfully delivered.
步骤S302:第一IP-SM-GW在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示。Step S302: After determining that the UE is reachable, the first IP-SM-GW obtains the locally stored short message delivery failure indication of the UE.
当终端重新可用,比如附着到可用的无线网络、重启恢复等时,如果第一IP-SM-GW未发生异常,则会收到UE向IMS网络发起的注册请求,此时第一IP-SM-GW可以获取本地保存的该UE的短信投递失败指示。When the terminal becomes available again, such as attaching to an available wireless network, restarting and recovering, and if the first IP-SM-GW is not abnormal, it will receive a registration request initiated by the UE to the IMS network, and the first IP-SM-GW will receive a registration request. - The GW can obtain the locally stored short message delivery failure indication of the UE.
步骤S303:第一IP-SM-GW在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。Step S303: After obtaining the short message delivery failure indication of the UE, the first IP-SM-GW triggers the SMSC to re-deliver the pre-cached short message delivery failure to the UE.
具体地,第一IP-SM-GW经由HLR或HSS向SMSC发送UE可达的信息,以便SMSC根据UE可达的信息,向UE重新投递预先缓存的投递失败的短信。Specifically, the first IP-SM-GW sends the information that the UE is reachable to the SMSC via the HLR or the HSS, so that the SMSC can re-deliver the pre-buffered short message to the UE according to the information that the UE is reachable.
第一IP-SM-GW在收到短信投递成功响应消息后,可以删除本地保存的所述UE的短信投递失败指示,避免再次投递。After receiving the short message delivery success response message, the first IP-SM-GW may delete the locally stored short message delivery failure indication of the UE to avoid re-delivery.
考虑到第一IP-SM-GW存在发生异常的可能性,如果仅将所述UE的短信投递失败指示保存至本地,则在第一IP-SM-GW发生异常时,将不能重新投递在前未投递成功的短信。为解决该问题,本实施例的第一IP-SM-GW还可以将所述UE的短信投递失败指示保存至所述HLR或所述HSS,这样在第一IP-SM-GW发生异常时,用来容灾的第二IP-SM-GW可以从所述HLR或所述HSS获取所述UE的短信投递失败指示,并触发所述SMSC向所述UE重新投递预先缓存的投递失败的短信,实现重新投递在前未投递成功的短信。Considering the possibility of abnormality in the first IP-SM-GW, if only the short message delivery failure indication of the UE is stored locally, when the abnormality occurs in the first IP-SM-GW, it will not be able to re-deliver the previous message. Undelivered SMS messages. To solve this problem, the first IP-SM-GW in this embodiment may also save the short message delivery failure indication of the UE to the HLR or the HSS, so that when the first IP-SM-GW is abnormal, The second IP-SM-GW used for disaster recovery can obtain the short message delivery failure indication of the UE from the HLR or the HSS, and trigger the SMSC to re-deliver the pre-cached short message delivery failure to the UE, Realize re-delivery of previously undelivered SMS messages.
本实施例在短信投递失败时,通过将短信投递失败指示保存在本地以及HLR或HSS,实现在终端可达时,利用保存在本地或HLR或HSS的短信投递失败指示,简单、有效地实现重新投递之前未投递成功的短信。In this embodiment, when the short message delivery fails, the short message delivery failure indication is saved locally and in the HLR or HSS, so that when the terminal is reachable, the short message delivery failure indication saved in the local or the HLR or HSS can be used to simply and effectively implement a new Messages that have not been successfully delivered before are delivered.
图4是本申请实施例提供的短信投递失败的处理方法的第二流程示意图,如图4所示,所述方法可以包括:FIG. 4 is a second schematic flowchart of a method for processing a short message delivery failure provided by an embodiment of the present application. As shown in FIG. 4 , the method may include:
步骤S401:第一IP-SM-GW在UE的短信投递失败后,将所述UE的短信投递失败指示保存至本地以及HLR或HSS。Step S401: After the UE's short message delivery fails, the first IP-SM-GW saves the UE's short message delivery failure indication locally and in the HLR or HSS.
一般,在UE不可及、无响应等情况下,会出现UE的短信投递失败问题,此时第一IP-SM-GW将收到短信投递失败响应消息,在收到失败响应消息后,第一IP-SM-GW在本地保存该UE的短信投递失败指示。另外,为了在第一IP-SM-GW发生异常时,仍能够实现短信再投递,本实施例的第一IP-SM-GW还将所述UE的短信投递失败指示保存至所述HLR或所述HSS,具体地,第一IP-SM-GW生成包含所述UE的短信投递失败指示的透明数据,并将包含所述UE的短信投递失败指示的透明数据保存至所述HLR或所述HSS。Generally, when the UE is unreachable and has no response, the short message delivery failure problem of the UE will occur. At this time, the first IP-SM-GW will receive a message delivery failure response message. After receiving the failure response message, the first IP-SM-GW will The IP-SM-GW locally stores the short message delivery failure indication of the UE. In addition, in order to still realize short message re-delivery when the first IP-SM-GW is abnormal, the first IP-SM-GW in this embodiment also saves the short message delivery failure indication of the UE to the HLR or other device. The HSS, specifically, the first IP-SM-GW generates transparent data including the UE's short message delivery failure indication, and saves the transparent data including the UE's short message delivery failure indication to the HLR or the HSS .
本本实施例中,第一IP-SM-GW会向SMSC发送终呼短消息投递响应,通知SMSC所述UE的短信投递失败,使SMSC缓存未投递成功的所述UE的短信,以便在UE可用时重新投递缓存的该短信。In this embodiment, the first IP-SM-GW will send a final call short message delivery response to the SMSC, informing the SMSC that the delivery of the short message of the UE has failed, so that the SMSC caches the short message of the UE that has not been successfully delivered, so that it can be used by the UE. to re-deliver the cached SMS message.
步骤S402:在确定所述UE可达后,第一IP-SM-GW获取本地保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信,或者,在所述第一IP-SM-GW发生异常时,第二IP-SM-GW在确定所述UE可达后,获取所述HLR或所述HSS保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。Step S402: After determining that the UE is reachable, the first IP-SM-GW acquires the locally stored short message delivery failure indication of the UE, and after acquiring the UE's short message delivery failure indication, triggers the SMSC to send the message to the UE. The UE re-deliveries the pre-cached short message that fails to deliver, or, when the first IP-SM-GW is abnormal, the second IP-SM-GW obtains the HLR or the The HSS stores the short message delivery failure indication of the UE, and after acquiring the short message delivery failure indication of the UE, triggers the SMSC to re-deliver the pre-cached short message delivery failure to the UE.
当终端重新可用,比如附着到可用的无线网络、重启恢复等时,如果第一IP-SM-GW未发生异常,则会收到UE向IMS网络发起的注册请求,此时第一IP-SM-GW可以获取本地保存的该UE的短信投递失败指示,然后经由HLR或HSS向SMSC发送UE可达的信息,以便SMSC根据UE可达的信息,向UE重新投递预先缓存的投递失败的短信,并在投递成功后,第一IP-SM-GW删除保存的所述UE的短信投递失败指示,即删除本地保存的所述UE的短信投递失败指示,删除HLR或HSS中保存的所述UE的短信投递失败指示。如果第一IP-SM-GW发生异常,则第二IP-SM-GW可以从所述HLR或所述HSS获取所述UE的短信投递失败指示,触发所述SMSC向所述UE重新投递预先缓存的投递失败的短信,具体地,第二IP-SM-GW在确定所述UE可达后,从所述HLR或所述HSS获取包含所述UE的短信投递失败指示的透明数据,并通过解析所述透明数据,得到所述短信投递失败指示,并在得到所述UE的短信投递失败指示后,第二IP-SM-GW经由HLR或HSS向所述SMSC发送所述UE可达的信息,以便所述SMSC根据所述UE可达的信息,向所述UE重新投递预先缓存的投递失败的短信,实现重新投递在前未投递成功的短信,并在投递成功后,第二IP-SM-GW删除保存的所述UE的短信投递失败指示,即删除HLR或HSS中保存的所述UE的短信投递失败指示。When the terminal becomes available again, such as attaching to an available wireless network, restarting and recovering, and if the first IP-SM-GW is not abnormal, it will receive a registration request initiated by the UE to the IMS network, and the first IP-SM-GW will receive a registration request. - The GW can obtain the locally stored short message delivery failure indication of the UE, and then send the UE reachability information to the SMSC via the HLR or HSS, so that the SMSC can re-deliver the pre-cached short message delivery failure to the UE according to the UE reachability information, And after successful delivery, the first IP-SM-GW deletes the stored short message delivery failure indication of the UE, that is, deletes the locally stored short message delivery failure indication of the UE, and deletes the UE's short message delivery failure indication stored in the HLR or HSS. SMS delivery failure indication. If the first IP-SM-GW is abnormal, the second IP-SM-GW can obtain the short message delivery failure indication of the UE from the HLR or the HSS, and trigger the SMSC to re-deliver the pre-cache to the UE Specifically, after determining that the UE is reachable, the second IP-SM-GW obtains from the HLR or the HSS transparent data including the UE's short message delivery failure indication, and parses it by parsing For the transparent data, the short message delivery failure indication is obtained, and after obtaining the short message delivery failure indication of the UE, the second IP-SM-GW sends the UE reachable information to the SMSC via the HLR or the HSS, So that the SMSC can re-deliver the pre-cached short message that fails to be delivered to the UE according to the reachable information of the UE, so as to realize the re-delivery of the short message that has not been successfully delivered before, and after the delivery is successful, the second IP-SM- The GW deletes the stored short message delivery failure indication of the UE, that is, deletes the short message delivery failure indication of the UE stored in the HLR or HSS.
本实施例在短信投递失败时,通过将短信投递失败指示保存在本地以及HLR或HSS,实现在终端可达时,利用保存在本地或HLR或HSS的短信投递失败指示,简单、有效地实现重新投递之前未投递成功的短信。In this embodiment, when the short message delivery fails, the short message delivery failure indication is saved locally and in the HLR or HSS, so that when the terminal is reachable, the short message delivery failure indication saved in the local or the HLR or HSS can be used to simply and effectively implement a new Messages that have not been successfully delivered before are delivered.
图5是本申请实施例提供的在IP-SM-GW非容灾场景下根据本地保存的短信投递失败指示完成精准再投递的流程图,如图5所示,可以包括以下步骤:Fig. 5 is a flow chart of completing accurate re-delivery according to the locally stored short message delivery failure indication under the IP-SM-GW non-disaster tolerance scenario provided by the embodiment of the present application, as shown in Fig. 5, which may include the following steps:
步骤501,短信服务中心SMSC发送终呼短消息投递(MAP_MT_Forward_SM)请求到IP-SM_GW1;Step 501, the short message service center SMSC sends a final call short message delivery (MAP_MT_Forward_SM) request to the IP-SM_GW1;
步骤502,IP-SM-GW1发送SIP短消息(Message)到SCSCF;Step 502, IP-SM-GW1 sends a SIP short message (Message) to the SCSCF;
步骤503,SCSCF转发SIP短消息(Message)到PCSCF;Step 503, the SCSCF forwards the SIP short message (Message) to the PCSCF;
步骤504,PCSCF转发SIP短消息(Message)给UE;Step 504, the PCSCF forwards the SIP short message (Message) to the UE;
步骤505,由于终端具有移动性,可能会出现终端不可及、无响应等情况;Step 505, due to the mobility of the terminal, there may be situations such as the terminal being unreachable and unresponsive;
步骤506,PCSCF收到或者主动产生失败响应,如SIP 4xx/5xx/6xx响应消息;Step 506, PCSCF receives or actively generates a failure response, such as a SIP 4xx/5xx/6xx response message;
步骤507,PCSCF转发失败响应到SCSCF;Step 507, the PCSCF forwards the failure response to the SCSCF;
步骤508,SCSCF转发失败响应到IP-SM-GW;Step 508, the SCSCF forwards the failure response to the IP-SM-GW;
步骤509,IP-SM-GW1收到失败响应后,本地将保存短信投递失败指示,以便后续在终 端可用时,结合该短信投递失败指示,通知短信服务中心重新投递;Step 509, after the IP-SM-GW1 receives the failure response, it will save the short message delivery failure instruction locally, so that when the terminal is available, it will notify the short message service center to re-deliver in conjunction with the short message delivery failure instruction;
步骤510,IP-SM-GW1发送本次终呼短消息投递失败响应到短信服务中心;Step 510, the IP-SM-GW1 sends a response to the short message delivery failure of the final call to the short message service center;
步骤511,短信服务中心需要缓存本地未成功投递的短消息;Step 511, the short message service center needs to cache the locally unsuccessfully delivered short messages;
步骤512,当终端重新可用,比如附着到可用的无线网络,比如重启恢复,终端将向IMS网络将发起注册请求(Register);Step 512, when the terminal becomes available again, such as attaching to an available wireless network, such as restarting and recovering, the terminal will initiate a registration request (Register) to the IMS network;
步骤513,PCSCF转发注册请求(Register)到SCSCF;Step 513, the PCSCF forwards the registration request (Register) to the SCSCF;
步骤514,SCSCF触发注册请求(Register)到IP-SM-GW;Step 514, the SCSCF triggers a registration request (Register) to the IP-SM-GW;
步骤515-步骤517,IP-SM-GW返回注册成功响应(200OK),经过SCSCF/PCSCF,到达UE;Steps 515 to 517, the IP-SM-GW returns a registration success response (200OK), and reaches the UE through the SCSCF/PCSCF;
步骤518,由于IP-SM-GW1收到新的注册表示终端可用,且本地保存了短信投递失败指示,此时IP-SM-GW1将发送准备接收短信(MAP_Ready_For_ShortMessage,亦称MAP_Ready_For_SM)请求到HLR或HSS;Step 518, since IP-SM-GW1 receives a new registration indicating that the terminal is available, and locally saves the message delivery failure indication, at this time IP-SM-GW1 will send a request to receive a short message (MAP_Ready_For_ShortMessage, also known as MAP_Ready_For_SM) to the HLR or HSS;
步骤519,HLR或HSS接收到MAP_Ready_For_SM请求后,返回准备接收短信响应(MAP_Ready_For_ShortMessage_Rsp,亦称MAP_Ready_For_SM_Rsp)给IP-SM-GW;Step 519, after receiving the MAP_Ready_For_SM request, the HLR or HSS returns a ready to receive short message response (MAP_Ready_For_ShortMessage_Rsp, also known as MAP_Ready_For_SM_Rsp) to the IP-SM-GW;
步骤520,HLR或HSS将发送(MAP_Alert_Service_Centre)请求,通知短信服务中心终端可达;Step 520, the HLR or HSS will send a (MAP_Alert_Service_Centre) request to notify the short message service center that the terminal is reachable;
步骤521,短信服务中心接收到MAP_Alert_Service_Centre请求后,返回响应(MAP_Alert_Service_Centre_Rsp)给HLR或HSS;Step 521, after receiving the MAP_Alert_Service_Centre request, the short message service center returns a response (MAP_Alert_Service_Centre_Rsp) to the HLR or HSS;
步骤522,短信服务中心根据MAP_Alert_Service_Centre消息,决定重新投递本地缓存的短消息。Step 522, the short message service center decides to re-deliver the locally cached short message according to the MAP_Alert_Service_Centre message.
从上述流程可以看出,IP-SM-GW结合本地保存的短信投递失败指示,在终端可用时,发送终端可用的消息到短信服务中心,从而准确通知短信服务中心重新投递之前未成功投递的短信,实现了IP-SM-GW非容灾场景下终呼短信投递失败后,IP-SM-GW通知短信服务中心精准再投递短信,仅依赖IP-SM-GW,不依赖HSS或HLR,对HSS或HLR没有特殊的逻辑。It can be seen from the above process that the IP-SM-GW combines the locally saved short message delivery failure indication, when the terminal is available, sends the terminal available message to the short message service center, so as to accurately notify the short message service center to re-deliver the previously unsuccessfully delivered short message , realizes that after the delivery of the final call SMS fails in the IP-SM-GW non-disaster tolerance scenario, the IP-SM-GW notifies the SMS service center to accurately re-deliver the SMS, only relying on the IP-SM-GW, not on the HSS or HLR, for the HSS Or HLR has no special logic.
对于容灾场景,IP-SM-GW本地没有保存的短信投递失败指示,为了解决IP-SM-GW容灾场景,终呼短信投递失败后,IP-SM-GW通知短信服务中心精准再投递的问题,本申请实施例将短信投递失败指示保存到HSS或HLR,,下面结合图6至图8详细说明容灾场景下的短信再投递。For disaster recovery scenarios, the IP-SM-GW does not have a local message delivery failure indication. In order to solve the IP-SM-GW disaster recovery scenario, after the final call message delivery fails, the IP-SM-GW notifies the SMS service center of accurate redelivery. The problem is that the short message delivery failure indication is stored in the HSS or HLR in this embodiment of the present application. The following describes in detail the short message re-delivery in the disaster recovery scenario with reference to FIGS. 6 to 8 .
图6是本申请实施例提供的终呼短信投递失败IP-SM-GW保存投递失败指示的流程图,如图6所示,可以包括以下步骤:FIG. 6 is a flowchart of the IP-SM-GW saving the delivery failure indication provided by the embodiment of the present application for a short message delivery failure of a final call. As shown in FIG. 6 , the following steps may be included:
步骤601,短信服务中心SMSC发送终呼短消息投递请求(MAP_MT_Forward_ShortMessage)到IP-SM_GW;Step 601, the short message service center SMSC sends a final call short message delivery request (MAP_MT_Forward_ShortMessage) to the IP-SM_GW;
步骤602,IP-SM_GW发送SIP短信(Message)到SCSCF;Step 602, the IP-SM_GW sends a SIP short message (Message) to the SCSCF;
步骤603,SCSCF转发SIP短信(Message)到PCSCF;Step 603, the SCSCF forwards the SIP short message (Message) to the PCSCF;
步骤604,PCSCF转发SIP短信(Message)给UE;Step 604, the PCSCF forwards the SIP short message (Message) to the UE;
步骤605,由于UE具有移动性,UE出现不可及、无响应等情况;Step 605, due to the mobility of the UE, the UE is unreachable or unresponsive;
步骤606,PCSCF收到或者主动产生失败响应,如SIP 4xx/5xx/6xx失败响应;Step 606, PCSCF receives or actively generates a failure response, such as a SIP 4xx/5xx/6xx failure response;
步骤607,PCSCF转发失败响应到SCSCF;Step 607, the PCSCF forwards the failure response to the SCSCF;
步骤608,SCSCF转发失败响应到IP-SM-GW;Step 608, the SCSCF forwards the failure response to the IP-SM-GW;
步骤609,IP-SM-GW发送终呼短消息投递失败响应到短信服务中心;Step 609, the IP-SM-GW sends a final call short message delivery failure response to the short message service center;
步骤610,短信服务中心在本地缓存未成功投递的短消息,以便终端再次可用时重新投递;Step 610, the short message service center caches the unsuccessfully delivered short message locally, so that it can be re-delivered when the terminal is available again;
步骤611,对于IP-SM-GW,对于本地终端短信投递失败场景,本实施例中IP-SM-GW构造透明数据,携带短信投递失败指示,然后通过Sh接口,发送基于Diameter协议的签约更新请求(Profile-Update-Request,PUR)到HSS或HLR,该请求携带透明数据;Step 611, for the IP-SM-GW, for the local terminal short message delivery failure scenario, in this embodiment, the IP-SM-GW constructs transparent data, carries the short message delivery failure indication, and then sends a subscription update request based on the Diameter protocol through the Sh interface. (Profile-Update-Request, PUR) to HSS or HLR, the request carries transparent data;
步骤612,HSS或HLR保存包含短信投递失败指示的透明数据,以便后续容灾的IP-SM-GW下载并使用;Step 612, the HSS or HLR saves the transparent data including the SMS delivery failure indication, so that the IP-SM-GW for subsequent disaster recovery can download and use it;
步骤613,HSS或HLR返回签约更新响应(Profile-Update-Answer,PUA)到IP-SM-GW。Step 613, the HSS or HLR returns a subscription update response (Profile-Update-Answer, PUA) to the IP-SM-GW.
图7是本申请中实施例提供的IP-SM-GW容灾场景下结合投递失败指示通知终端可用的流程图,如图7所示,可以包括以下步骤:FIG. 7 is a flowchart of notifying the terminal availability in combination with the delivery failure indication in the IP-SM-GW disaster recovery scenario provided by the embodiment of the present application. As shown in FIG. 7 , the following steps may be included:
步骤701,当先前提供服务的IP-SM-GW1异常,例如宕机或者重启中或者重启后恢复等场景;Step 701, when the IP-SM-GW1 that previously provided services is abnormal, such as scenarios such as downtime or restarting or recovery after restarting;
步骤702,当终端重新可用,比如附着到可用的无线网络或者重启正常,此时终端将向IMS网络将发起注册请求;Step 702, when the terminal becomes available again, such as attaching to an available wireless network or restarting normally, the terminal will initiate a registration request to the IMS network at this time;
步骤703,PCSCF转发注册请求到SCSCF;Step 703, the PCSCF forwards the registration request to the SCSCF;
步骤704,SCSCF触发注册请求到容灾的IP-SM-GW2;Step 704, SCSCF triggers a registration request to IP-SM-GW2 for disaster recovery;
步骤705,IP-SM-GW2发送用户数据请求(User-Data-Request,UDR)到HSS,以便下载用户签约数据;Step 705, the IP-SM-GW2 sends a user data request (User-Data-Request, UDR) to the HSS, so as to download the user subscription data;
步骤706,HSS发送用户数据响应(User-Data-Answer,UDA)到IP-SM-GW2,该响应中包含用户的透明数据,透明数据中包含短信投递失败指示;Step 706, the HSS sends a user data response (User-Data-Answer, UDA) to the IP-SM-GW2, the response contains the transparent data of the user, and the transparent data contains the SMS delivery failure indication;
步骤707-步骤709,IP-SM-GW2返回注册成功响应,经过SCSCF/PCSCF,到达UE;Step 707-Step 709, IP-SM-GW2 returns a registration success response, and reaches the UE through SCSCF/PCSCF;
步骤710,由于IP-SM-GW2收到新的注册表示终端可用,且解析透明数据发现存在短信投递失败指示,此时IP-SM-GW会发送准备接收短信(MAP_Ready_For_ShortMessage)请求到HLR或HSS;In step 710, since IP-SM-GW2 receives a new registration indicating that the terminal is available, and parses the transparent data and finds that there is a message delivery failure indication, IP-SM-GW will send a request to receive a short message (MAP_Ready_For_ShortMessage) to the HLR or HSS at this time;
步骤711,HLR或HSS接收到MAP_Ready_For_SM请求后,返回响应MAP_Ready_For_SM_Rsp给IP-SM-GW2;Step 711, after receiving the MAP_Ready_For_SM request, the HLR or HSS returns a response MAP_Ready_For_SM_Rsp to the IP-SM-GW2;
步骤712,HLR或HSS将发送MAP_Alert_Service_Centre请求通知短信服务中心;Step 712, HLR or HSS will send MAP_Alert_Service_Centre request to notify SMS Service Center;
步骤713,短信服务中心接收到MAP_Alert_Service_Centre请求后,返回响应MAP_Alert_Service_Centre_Rsp给HLR或HSS;Step 713, after receiving the MAP_Alert_Service_Centre request, the SMS service center returns a response MAP_Alert_Service_Centre_Rsp to the HLR or HSS;
步骤714,短信服务中心根据MAP_Alert_Service_Centre消息,决定重新投递本地缓存的短消息。Step 714, the short message service center decides to re-deliver the locally cached short message according to the MAP_Alert_Service_Centre message.
图8是本申请中实施例提供的再次投递终呼短信并清除投投递失败指示流程图,如图8所示,可以包括以下步骤:FIG. 8 is a flowchart of re-delivering the final call short message and clearing the delivery failure indication provided by the embodiment of the present application. As shown in FIG. 8 , the following steps may be included:
步骤801,短信服务中心发送终呼短消息投递请求(MAP_MT_Forward_ShortMessage)到IP-SM_GW2;Step 801, the short message service center sends a final call short message delivery request (MAP_MT_Forward_ShortMessage) to IP-SM_GW2;
步骤802,IP-SM_GW2发送SIP短信(Message)到SCSCF;Step 802, IP-SM_GW2 sends a SIP short message (Message) to the SCSCF;
步骤803,SCSCF转发SIP短信(Message)到PCSCF;Step 803, the SCSCF forwards the SIP short message (Message) to the PCSCF;
步骤804,PCSCF转发SIP短信(Message)给UE;Step 804, the PCSCF forwards the SIP short message (Message) to the UE;
步骤805,UE成功接收短消息,并发送成功响应给PCSCF;Step 805, the UE successfully receives the short message and sends a successful response to the PCSCF;
步骤806,PCSCF转发成功响应到SCSCF;Step 806, the PCSCF forwards the successful response to the SCSCF;
步骤807,SCSCF转发成功响应到IP-SM-GW;Step 807, the SCSCF forwards the successful response to the IP-SM-GW;
步骤808,IP-SM-GW2发送终呼短消息投递成功响应到短信服务中心;Step 808, the IP-SM-GW2 sends a final call short message delivery success response to the short message service center;
步骤809,因为终呼短信已成功投递,短信服务中心将清除本地缓存的短消息;Step 809, because the final call short message has been successfully delivered, the short message service center will clear the locally cached short message;
步骤810,对于IP-SM-GW2,由于终呼短信已成功投递,IP-SM-GW需要通过Sh接口,发送PUR请求到HSS,携带清除短信投递失败指示的透明数据,或者直接删除包含短信投递失败指示的透明数据。Step 810, for IP-SM-GW2, since the final call short message has been successfully delivered, the IP-SM-GW needs to send a PUR request to the HSS through the Sh interface, carrying the transparent data to clear the message delivery failure indication, or directly delete the message containing the delivery of the short message. Transparent data for failure indication.
步骤811,HLR或HSS清除包含短信投递失败指示的透明数据;Step 811, the HLR or the HSS clears the transparent data containing the failure indication of SMS delivery;
步骤812,HLR或HSS返回成功PUA响应,这样后续IP-SM-GW就不会再认为存在短信投递失败指示了。In step 812, the HLR or HSS returns a successful PUA response, so that the subsequent IP-SM-GW will no longer consider that there is an indication of short message delivery failure.
通过图5至图8可以看出,在终呼短信投递失败时,IP-SM-GW1本地保存投递失败指示,并通过Sh接口将短信投递失败指示以透明数据的格式或者通过拓展新字段,保存到HSS或HLR。当IP-SM-GW1未发生异常(即在非容灾场景下)时,重新收到终端的注册请求(或第三方注册请求),此时IP-SM-GW1可以根据本地保存的投递失败指示,发送终端可达/可用的信息到HLR/SMSC,以便SMSC再次投递先前缓存的未投递成功的短信,当本次终呼短信成功投递后,IP-SM-GW1需要清除本地保存的短信投递失败指示,并通过Sh接口,清除保存在HSS上的短信投递失败指示。当IP-SM-GW1发生异常(即在容灾场景下)后,IP-SM-GW2重新收到终端的注册请求(或第三方注册请求),此时IP-SM-GW2能够从HSS或HLR下载透明数据,解析下载的透明数据得到短信投递失败指示,IP-SM-GW2再发送终端可达/可用的信息到HLR/SMSC,以便SMSC再次投递先前缓存的未投递的短消息。当本次终呼短信投递成功后,IP-SM-GW2需要通过Sh接口清除保存在HSS或HLR的短信投递失败指示。该方案针对短信网关的容灾和非容灾场景,在短信投递失败后实现简单、有效、精准再投递,且仅依赖IP-SM-GW,对HSS/HLR并没有特殊的逻辑。It can be seen from Figure 5 to Figure 8 that when the delivery of the final call short message fails, the IP-SM-GW1 locally saves the delivery failure indication, and saves the short message delivery failure indication in the format of transparent data or by extending a new field through the Sh interface. to HSS or HLR. When the IP-SM-GW1 is not abnormal (that is, in a non-disaster tolerance scenario), it re-receives the terminal's registration request (or a third-party registration request), at this time, the IP-SM-GW1 can follow the locally saved delivery failure indication , send the terminal reachable/available information to the HLR/SMSC, so that the SMSC can re-deliver the previously cached undelivered short messages. When the final call message is successfully delivered, the IP-SM-GW1 needs to clear the locally saved short message delivery failure and clear the SMS delivery failure indication saved on the HSS through the Sh interface. When IP-SM-GW1 is abnormal (that is, in a disaster recovery scenario), IP-SM-GW2 re-receives the terminal's registration request (or third-party registration request), at this time IP-SM-GW2 can receive the registration request from the HSS or HLR Download the transparent data, parse the downloaded transparent data to get the SMS delivery failure indication, and then the IP-SM-GW2 sends the terminal reachable/available information to the HLR/SMSC, so that the SMSC can re-deliver the previously cached undelivered short messages. After the delivery of the final call message is successful, the IP-SM-GW2 needs to clear the message delivery failure indication stored in the HSS or HLR through the Sh interface. This solution is aimed at disaster recovery and non-disaster recovery scenarios of SMS gateways, and implements simple, effective, and accurate redelivery after SMS delivery fails. It only relies on IP-SM-GW, and has no special logic for HSS/HLR.
图9是本申请实施例提供的短信投递失败的处理装置的示意性结构框图,如图8所示,该装置可以应用于第二IP-SM-GW所述装置,可以包括:FIG. 9 is a schematic structural block diagram of an apparatus for processing a short message delivery failure provided by an embodiment of the present application. As shown in FIG. 8 , the apparatus may be applied to the apparatus described in the second IP-SM-GW, and may include:
存储模块,用于在UE的短信投递失败后,在第一IP-SM-GW本地保存所述UE的短信投递失败指示;a storage module, configured to locally store the UE's short message delivery failure indication in the first IP-SM-GW after the UE's short message delivery fails;
获取模块,用于在所述第一IP-SM-GW确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示;an obtaining module, configured to obtain the locally stored short message delivery failure indication of the UE after the first IP-SM-GW determines that the UE is reachable;
触发模块,用于在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。The triggering module is configured to trigger the SMSC to re-deliver the pre-cached short message delivery failure to the UE after acquiring the short message delivery failure indication of the UE.
本实施例提供的装置在终呼短信投递失败后,将短信投递失败指示保存至第一IP-SM-GW本地,这样,在所述第一IP-SM-GW未发生异常时,可以根据本地保存的短信投递失败指示触发SMSC向所述UE重新投递预先缓存的投递失败的短信,不需要与HLR或HSS交互,简单、有效、精准地实现短信再投递。The device provided in this embodiment saves the short message delivery failure indication to the first IP-SM-GW locally after the final call short message delivery fails, so that when no abnormality occurs in the first IP-SM-GW, the local The stored short message delivery failure indication triggers the SMSC to re-deliver the pre-cached short message delivery failure to the UE, without interacting with the HLR or the HSS, and realizes the short message re-delivery simply, effectively and accurately.
基于上述装置,所述存储模块还用于将所述UE的短信投递失败指示保存至HLR或HSS,以便在所述第一IP-SM-GW发生异常时,由第二IP-SM-GW从所述HLR或所述HSS获取所 述UE的短信投递失败指示,并触发所述SMSC向所述UE重新投递预先缓存的投递失败的短信。这样,即使所述第一IP-SM-GW发生异常,也能够简单、有效、精准地实现短信再投递。Based on the above device, the storage module is further configured to save the short message delivery failure indication of the UE to the HLR or the HSS, so that when the first IP-SM-GW is abnormal, the second IP-SM-GW will The HLR or the HSS acquires the short message delivery failure indication of the UE, and triggers the SMSC to re-deliver the pre-cached short message delivery failure to the UE. In this way, even if the first IP-SM-GW is abnormal, the short message redelivery can be implemented simply, effectively and accurately.
基于上述装置,还可以包括:删除模块,用于在所述第一IP-SM-GW收到向所述UE重新投递短信成功的响应后,删除所述第一IP-SM-GW本地保存的所述UE的短信投递失败指示以及所述HLR或所述HSS保存的所述UE的短信投递失败指示,从而避免已投递成功的短信被再次投递。Based on the above-mentioned apparatus, it may further include: a deletion module, configured to delete the locally stored information of the first IP-SM-GW after the first IP-SM-GW receives a response that the short message is successfully re-delivered to the UE. The short message delivery failure indication of the UE and the short message delivery failure indication of the UE saved by the HLR or the HSS, so as to prevent the successfully delivered short message from being re-delivered.
本领域的技术人员应该明白,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件(可以用计算装置可执行的计算机程序代码来实现)、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。Those skilled in the art should understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system and the device can be implemented as software (can be implemented by computer program codes executable by the computing device), firmware, hardware, and their appropriate combination. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
在一些例子中,上述处理装置包括储存逻辑非暂态机器可读存储介质,该逻辑可用于例如执行如下各项的功能的至少一部分:存储模块、获取模块、触发模块和删除模块等。逻辑可包括指令、数据和/或代码,如果这些指令、数据和/或代码被机器执行,则可以使得机器执行本文所述的方法、处理和/或操作。该机器可包括:例如,任意适当的处理平台、计算平台、计算装置、处理装置、计算系统、处理系统、计算机、处理器等,并且可使用硬件、软件、固件等的任意适当的组合来实施。逻辑可包括或可被实施为:软件、软件模块、应用、程序、子程序、指令、指令集、计算代码、词、值、符号等。这些指令可包括任意合适类型的代码,例如,源代码、编译代码、解译代码、可执行代码、静态代码、动态代码等。这些指令可根据预定的计算机语言、方式或语法来实现,以指导处理器执行某一功能。这些指令可使用任意合适的高级、低级、面向对象的、可视的、编译的和/或解译的编程语言来实现,例如,C、C++、Java、BASIC、Matlab、Pascal、Visual BASIC、汇编语言、机器代码等等。In some examples, the processing apparatus described above includes a non-transitory machine-readable storage medium that stores logic operable, for example, to perform at least a portion of the functions of: a store module, a retrieval module, a trigger module, a delete module, and the like. Logic may include instructions, data, and/or code that, if executed by a machine, may cause the machine to perform the methods, processes, and/or operations described herein. The machine may include, for example, any suitable processing platform, computing platform, computing device, processing device, computing system, processing system, computer, processor, etc., and may be implemented using any suitable combination of hardware, software, firmware, etc. . Logic may include or may be implemented as: software, software modules, applications, programs, subroutines, instructions, sets of instructions, computational codes, words, values, symbols, and the like. The instructions may include any suitable type of code, eg, source code, compiled code, interpreted code, executable code, static code, dynamic code, and the like. These instructions may be implemented according to a predetermined computer language, manner or syntax to direct the processor to perform a certain function. These instructions may be implemented using any suitable high-level, low-level, object-oriented, visual, compiled and/or interpreted programming language, eg, C, C++, Java, BASIC, Matlab, Pascal, Visual BASIC, Assembly language, machine code, etc.
本申请实施例还提供了一种短信投递失败的处理系统,所述系统可以包括:The embodiment of the present application also provides a system for processing a short message delivery failure, the system may include:
第一IP-SM-GW,用于在UE的短信投递失败后,将所述UE的短信投递失败指示保存至本地以及HLR或HSS,并在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信;The first IP-SM-GW is used to save the short message delivery failure indication of the UE to the local and the HLR or HSS after the short message delivery of the UE fails, and after determining that the UE is reachable, obtain all the locally stored information. The short message delivery failure indication of the UE, and after acquiring the short message delivery failure indication of the UE, trigger the SMSC to re-deliver the pre-cached short message delivery failure to the UE;
第二IP-SM-GW,用于在所述第一IP-SM-GW发生异常且确定所述UE可达后,获取所述HLR或所述HSS保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。The second IP-SM-GW is configured to acquire the short message delivery failure indication of the UE saved by the HLR or the HSS after the first IP-SM-GW is abnormal and it is determined that the UE is reachable, And after acquiring the short message delivery failure indication of the UE, the SMSC is triggered to re-deliver the pre-cached short message delivery failure to the UE.
本申请实施例的系统,针对IMS网络的短信网关的非容灾场景第一IP-SM-GW可以根据保存在本地的短信投递失败指示,实现有效、精准地对在前投递失败的短信进行再投递,针对IMS网络的短信网关的容灾场景,第二IP-SM-GW可以根据第一IP-SM-GW保存在HLR或HSS中的短信投递失败指示,实现有效、精准地对在前投递失败的短信进行再投递。According to the system of the embodiment of the present application, the first IP-SM-GW for the non-disaster tolerance scenario of the short message gateway of the IMS network can effectively and accurately re-deliver the short message that failed to be delivered earlier according to the locally stored short message delivery failure instruction. Delivery, for the disaster recovery scenario of the SMS gateway of the IMS network, the second IP-SM-GW can effectively and accurately implement the previous delivery according to the SMS delivery failure indication stored in the HLR or HSS by the first IP-SM-GW. Failed text messages are redelivered.
基于上述系统,所述第一IP-SM-GW,还用于在收到向所述UE重新投递短信成功的响应后,删除本地保存的所述UE的短信投递失败指示以及所述HLR或所述HSS保存的所述 UE的短信投递失败指示;或者所述第二IP-SM-GW,还用于在收到向所述UE重新投递短信成功的响应后,删除所述HLR或所述HSS保存的所述UE的短信投递失败指示。这样,可以避免已投递成功的短信被再次投递。Based on the above system, the first IP-SM-GW is further configured to delete the locally stored short message delivery failure indication of the UE and the HLR or any The short message delivery failure indication of the UE saved by the HSS; or the second IP-SM-GW is further configured to delete the HLR or the HSS after receiving a response that the short message is successfully re-delivered to the UE The stored short message delivery failure indication of the UE. In this way, the short message that has been successfully delivered can be prevented from being delivered again.
综上,本申请实施例在终呼短信投递失败后,第一IP-SM-GW将短信投递失败指示保存至本地以及HLR或HSS,这样在UE可达后,若第一IP-SM-GW未发生异常,则可以根据本地保存的短信投递失败指示,重新投递之前未投递成功的短信,若第一IP-SM-GW发生异常,则第二IP-SM-GW可以根据HLR或HSS保存的短信投递失败指示,重新投递之前未投递成功的短信,该方案仅依赖于IP-SM-GW,不需要HSS/HLR增加特殊的处理逻辑,可以简单、有效地实现短信再投递,适用于容灾场景。To sum up, in this embodiment of the present application, after the delivery of the final call short message fails, the first IP-SM-GW saves the short message delivery failure indication to the local and to the HLR or HSS, so that after the UE is reachable, if the first IP-SM-GW If no abnormality occurs, the short message that has not been successfully delivered before can be re-delivered according to the locally saved short message delivery failure indication. Indication of SMS delivery failure, re-delivery of unsuccessful SMS before re-delivery, this solution only relies on IP-SM-GW, does not require HSS/HLR to add special processing logic, can realize SMS re-delivery simply and effectively, and is suitable for disaster recovery Scenes.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, functional modules/units in the systems, and devices can be implemented as software, firmware, hardware, and appropriate combinations thereof.
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
以上参照附图说明了本申请的优选实施例,并非因此局限本申请的权利范围。本领域技术人员不脱离本申请的范围和实质内所作的任何修改、等同替换和改进,均应在本申请的权利范围之内。The preferred embodiments of the present application have been described above with reference to the accompanying drawings, which are not intended to limit the scope of the rights of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and essence of the present application shall fall within the scope of the right of the present application.

Claims (18)

  1. 一种短信投递失败的处理方法,其中,所述方法包括:A method for processing a message delivery failure, wherein the method comprises:
    第一网际协议短信网关IP-SM-GW在终端UE的短信投递失败后,在本地保存所述UE的短信投递失败指示;The first internet protocol short message gateway IP-SM-GW saves the short message delivery failure indication of the UE locally after the short message delivery of the terminal UE fails;
    所述第一IP-SM-GW在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示;After determining that the UE is reachable, the first IP-SM-GW obtains the locally stored short message delivery failure indication of the UE;
    所述第一IP-SM-GW在获取所述UE的短信投递失败指示后,触发短信服务中心SMSC向所述UE重新投递预先缓存的投递失败的短信。After acquiring the short message delivery failure indication of the UE, the first IP-SM-GW triggers the short message service center SMSC to re-deliver the pre-cached short message delivery failure to the UE.
  2. 根据权利要求1所述的方法,其中,所述第一IP-SM-GW在获取所述UE的短信投递失败指示后,触发短信服务中心SMSC向所述UE重新投递预先缓存的投递失败的短信包括:The method according to claim 1, wherein the first IP-SM-GW triggers a short message service center (SMSC) to re-deliver the pre-cached short message that fails to be delivered to the UE after acquiring the short message delivery failure indication of the UE. include:
    所述第一IP-SM-GW经由归属位置寄存器HLR或归属用户服务器HSS向所述SMSC发送所述UE可达的信息,以便所述SMSC根据所述UE可达的信息,向所述UE重新投递预先缓存的投递失败的短信。The first IP-SM-GW sends the information about the reachability of the UE to the SMSC via the home location register HLR or the home subscriber server HSS, so that the SMSC can send a new message to the UE according to the information about the reachability of the UE. Delivers pre-cached delivery failed SMS messages.
  3. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:
    所述第一IP-SM-GW在收到向所述UE重新投递短信成功的响应后,删除保存的所述UE的短信投递失败指示。The first IP-SM-GW deletes the stored short message delivery failure indication of the UE after receiving a response that the short message is successfully re-delivered to the UE.
  4. 根据权利要求1或2所述的方法,其中,所述方法还包括:所述第一IP-SM-GW将所述UE的短信投递失败指示保存至HLR或HSS,以便在所述第一IP-SM-GW发生异常时,由第二IP-SM-GW从所述HLR或所述HSS获取所述UE的短信投递失败指示,并触发所述SMSC向所述UE重新投递预先缓存的投递失败的短信。The method according to claim 1 or 2, wherein the method further comprises: the first IP-SM-GW saves the short message delivery failure indication of the UE to the HLR or the HSS, so that the first IP-SM-GW can store the short message delivery failure indication of the UE in the HLR or HSS, - When the SM-GW is abnormal, the second IP-SM-GW obtains the UE's short message delivery failure indication from the HLR or the HSS, and triggers the SMSC to re-deliver the pre-cached delivery failure to the UE SMS.
  5. 根据权利要求1所述的方法,其中,所述第一IP-SM-GW在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示包括:The method according to claim 1, wherein, after the first IP-SM-GW determines that the UE is reachable, acquiring the locally stored short message delivery failure indication of the UE comprises:
    当所述UE重新可用时,如果第一IP-SM-GW未发生异常,则会收到UE向网络协议多媒体子系统IMS网络发起的注册请求,使得所述第一IP-SM-GW获取本地保存的该UE的短信投递失败指示。When the UE is available again, if the first IP-SM-GW is not abnormal, it will receive a registration request initiated by the UE to the network protocol multimedia subsystem IMS network, so that the first IP-SM-GW obtains the local The stored short message delivery failure indication of the UE.
  6. 一种短信投递失败的处理方法,其中,所述方法包括:A method for processing a message delivery failure, wherein the method comprises:
    第一网际协议短信网关IP-SM-GW在终端UE的短信投递失败后,将所述UE的短信投递失败指示保存至本地以及归属位置寄存器HLR或归属用户服务器HSS;The first internet protocol short message gateway IP-SM-GW saves the short message delivery failure indication of the UE to the local and home location register HLR or the home user server HSS after the short message delivery of the terminal UE fails;
    所述第一IP-SM-GW在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发短信服务中心SMSC向所述UE重新投递预先缓存的投递失败的短信;After determining that the UE is reachable, the first IP-SM-GW acquires the locally stored short message delivery failure indication of the UE, and after acquiring the short message delivery failure indication of the UE, triggers the short message service center SMSC to send the message to the UE. The UE re-deliveries the pre-cached short message that fails to be delivered;
    或者,在所述第一IP-SM-GW发生异常时,第二IP-SM-GW在确定所述UE可达后,获取所述HLR或所述HSS保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。Or, when the first IP-SM-GW is abnormal, after determining that the UE is reachable, the second IP-SM-GW obtains the short message delivery failure indication of the UE saved by the HLR or the HSS , and after acquiring the short message delivery failure indication of the UE, trigger the SMSC to re-deliver the pre-cached short message delivery failure to the UE.
  7. 根据权利要求6所述的方法,其中,所述第一IP-SM-GW触发短信服务中心SMSC向所述UE重新投递预先缓存的投递失败的短信包括:The method according to claim 6, wherein the first IP-SM-GW triggering the SMSC to re-deliver the pre-cached short message that fails to deliver to the UE comprises:
    所述第一IP-SM-GW经由HLR或HSS向所述SMSC发送所述UE可达的信息,以便所述SMSC根据所述UE可达的信息,向所述UE重新投递预先缓存的投递失败的短信。The first IP-SM-GW sends the information that the UE is reachable to the SMSC via the HLR or the HSS, so that the SMSC re-delivers the pre-cached delivery failure to the UE according to the information that the UE is reachable SMS.
  8. 根据权利要求6或7所述的方法,其中,所述方法还包括:The method according to claim 6 or 7, wherein the method further comprises:
    所述第一IP-SM-GW在收到向所述UE重新投递短信成功的响应后,删除本地保存的所述UE的短信投递失败指示以及所述HLR或所述HSS保存的所述UE的短信投递失败指示。After receiving the response that the short message re-delivery to the UE is successful, the first IP-SM-GW deletes the locally saved short message delivery failure indication of the UE and the UE's short message delivery failure indication saved by the HLR or the HSS. SMS delivery failure indication.
  9. 根据权利要求6所述的方法,其中,将所述UE的短信投递失败指示保存至所述HLR或所述HSS,包括:The method according to claim 6, wherein saving the short message delivery failure indication of the UE to the HLR or the HSS comprises:
    所述第一IP-SM-GW生成包含所述UE的短信投递失败指示的透明数据;generating, by the first IP-SM-GW, transparent data including the UE's short message delivery failure indication;
    所述第一IP-SM-GW将包含所述UE的短信投递失败指示的透明数据保存至所述HLR或所述HSS。The first IP-SM-GW saves transparent data including the UE's short message delivery failure indication to the HLR or the HSS.
  10. 根据权利要求9所述的方法,其中,所述第二IP-SM-GW在确定所述UE可达后,获取所述HLR或所述HSS保存的所述UE的短信投递失败指示包括:The method according to claim 9, wherein after the second IP-SM-GW determines that the UE is reachable, acquiring the short message delivery failure indication of the UE saved by the HLR or the HSS comprises:
    所述第二IP-SM-GW在确定所述UE可达后,从所述HLR或所述HSS获取包含所述UE的短信投递失败指示的透明数据;After determining that the UE is reachable, the second IP-SM-GW obtains, from the HLR or the HSS, transparent data including the UE's short message delivery failure indication;
    所述第二IP-SM-GW解析所述透明数据,得到所述短信投递失败指示。The second IP-SM-GW parses the transparent data to obtain the short message delivery failure indication.
  11. 根据权利要求6、9-10中任意一项所述的方法,其中,所述第二IP-SM-GW触发短信服务中心SMSC向所述UE重新投递预先缓存的投递失败的短信包括:The method according to any one of claims 6, 9-10, wherein the second IP-SM-GW triggering the SMSC to re-deliver the pre-cached short message that fails to deliver to the UE comprises:
    所述第二IP-SM-GW经由归属位置寄存器HLR或归属用户服务器HSS向所述SMSC发送所述UE可达的信息,以便所述SMSC根据所述UE可达的信息,向所述UE重新投递预先缓存的投递失败的短信。The second IP-SM-GW sends the information about the reachability of the UE to the SMSC via the home location register HLR or the home subscriber server HSS, so that the SMSC can send a new message to the UE according to the information about the reachability of the UE. Delivers pre-cached delivery failed SMS messages.
  12. 根据权利要求11所述的方法,其中,所述方法还包括:The method of claim 11, wherein the method further comprises:
    所述第二IP-SM-GW在收到向所述UE重新投递短信成功的响应后,删除所述HLR或所述HSS保存的所述UE的短信投递失败指示。The second IP-SM-GW deletes the short message delivery failure indication of the UE saved by the HLR or the HSS after receiving a response that the short message is successfully re-delivered to the UE.
  13. 根据权利要求6所述的方法,所述第一IP-SM-GW在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示包括:The method according to claim 6, after the first IP-SM-GW determines that the UE is reachable, acquiring the locally stored short message delivery failure indication of the UE comprises:
    当所述UE重新可用时,如果第一IP-SM-GW未发生异常,则会收到UE向IMS网络发起的注册请求,使得所述第一IP-SM-GW获取本地保存的该UE的短信投递失败指示。When the UE is available again, if the first IP-SM-GW is not abnormal, it will receive a registration request initiated by the UE to the IMS network, so that the first IP-SM-GW obtains the locally stored information of the UE. SMS delivery failure indication.
  14. 一种短信投递失败的处理装置,其中,所述装置包括:A processing device for short message delivery failure, wherein the device comprises:
    存储模块,用于在终端UE的短信投递失败后,在第一网际协议短信网关IP-SM-GW本地保存所述UE的短信投递失败指示;a storage module, configured to locally store the short message delivery failure indication of the UE in the first Internet Protocol short message gateway IP-SM-GW after the terminal UE fails to deliver the short message;
    获取模块,用于在所述第一IP-SM-GW确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示;an obtaining module, configured to obtain the locally stored short message delivery failure indication of the UE after the first IP-SM-GW determines that the UE is reachable;
    触发模块,用于在获取所述UE的短信投递失败指示后,触发短信服务中心SMSC向所述UE重新投递预先缓存的投递失败的短信。The triggering module is configured to trigger the short message service center SMSC to re-deliver the pre-cached short message of delivery failure to the UE after acquiring the short message delivery failure indication of the UE.
  15. 根据权利要求14所述的装置,其中,所述存储模块还用于将所述UE的短信投递失败指示保存至归属位置寄存器HLR或归属用户服务器HSS,以便在所述第一IP-SM-GW发生异常时,由第二IP-SM-GW从所述HLR或所述HSS获取所述UE的短信投递失败指示,并触发所述SMSC向所述UE重新投递预先缓存的投递失败的短信。The apparatus according to claim 14, wherein the storage module is further configured to save the short message delivery failure indication of the UE to a home location register (HLR) or a home subscriber server (HSS), so that the first IP-SM-GW can store the message in the first IP-SM-GW. When an exception occurs, the second IP-SM-GW acquires the UE's short message delivery failure indication from the HLR or the HSS, and triggers the SMSC to re-deliver the pre-cached short message delivery failure to the UE.
  16. 根据权利要求15所述的装置,其中,所述装置还包括:The apparatus of claim 15, wherein the apparatus further comprises:
    删除模块,用于在所述第一IP-SM-GW收到向所述UE重新投递短信成功的响应后,删除所述第一IP-SM-GW本地保存的所述UE的短信投递失败指示以及所述HLR或所述HSS 保存的所述UE的短信投递失败指示。A deletion module, configured to delete, after the first IP-SM-GW receives a response that the short message is successfully re-delivered to the UE, delete the short message delivery failure indication of the UE stored locally by the first IP-SM-GW and the short message delivery failure indication of the UE stored by the HLR or the HSS.
  17. 一种短信投递失败的处理系统,其中,所述系统包括:A kind of processing system of short message delivery failure, wherein, described system comprises:
    第一网际协议短信网关IP-SM-GW,用于在终端UE的短信投递失败后,将所述UE的短信投递失败指示保存至本地以及归属位置寄存器HLR或归属用户服务器HSS,并在确定所述UE可达后,获取本地保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发短信服务中心SMSC向所述UE重新投递预先缓存的投递失败的短信;The first internet protocol short message gateway IP-SM-GW is used to save the short message delivery failure indication of the UE to the local and home location register HLR or the home user server HSS after the short message delivery of the terminal UE fails, and to determine the After the UE is reachable, acquire the locally stored short message delivery failure indication of the UE, and after acquiring the short message delivery failure indication of the UE, trigger the short message service center SMSC to re-deliver the pre-cached short message delivery failure to the UE ;
    第二IP-SM-GW,用于在所述第一IP-SM-GW发生异常且确定所述UE可达后,获取所述HLR或所述HSS保存的所述UE的短信投递失败指示,并在获取所述UE的短信投递失败指示后,触发SMSC向所述UE重新投递预先缓存的投递失败的短信。The second IP-SM-GW is configured to acquire the short message delivery failure indication of the UE saved by the HLR or the HSS after the first IP-SM-GW is abnormal and it is determined that the UE is reachable, And after acquiring the short message delivery failure indication of the UE, the SMSC is triggered to re-deliver the pre-cached short message delivery failure to the UE.
  18. 根据权利要求17所述的系统,其中,The system of claim 17, wherein,
    所述第一IP-SM-GW,还用于在收到向所述UE重新投递短信成功的响应后,删除本地保存的所述UE的短信投递失败指示以及所述HLR或所述HSS保存的所述UE的短信投递失败指示;The first IP-SM-GW is further configured to delete the locally saved short message delivery failure indication of the UE and the message saved by the HLR or the HSS after receiving a response that the short message is successfully re-delivered to the UE. The UE's short message delivery failure indication;
    或者所述第二IP-SM-GW,还用于在收到向所述UE重新投递短信成功的响应后,删除所述HLR或所述HSS保存的所述UE的短信投递失败指示。Or the second IP-SM-GW is further configured to delete the short message delivery failure indication of the UE saved by the HLR or the HSS after receiving a response that the short message is successfully re-delivered to the UE.
PCT/CN2021/094982 2020-07-16 2021-05-20 Method, apparatus and system for processing short message delivery failure WO2022012161A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010688520.1A CN114025315A (en) 2020-07-16 2020-07-16 Method, device and system for processing short message delivery failure
CN202010688520.1 2020-07-16

Publications (1)

Publication Number Publication Date
WO2022012161A1 true WO2022012161A1 (en) 2022-01-20

Family

ID=79554480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/094982 WO2022012161A1 (en) 2020-07-16 2021-05-20 Method, apparatus and system for processing short message delivery failure

Country Status (2)

Country Link
CN (1) CN114025315A (en)
WO (1) WO2022012161A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037328A (en) * 2011-09-30 2013-04-10 华为终端有限公司 Method and device for resending short messages
US20150109966A1 (en) * 2012-03-09 2015-04-23 Kt Corporation Method and apparatus for providing short message services for packet switching-only subscription in mobile communications network
CN105792147A (en) * 2014-12-24 2016-07-20 中兴通讯股份有限公司 Short message delivery failure processing method, device and system
CN108810830A (en) * 2017-04-27 2018-11-13 中兴通讯股份有限公司 A kind of short message service center's based reminding method and Short Message Service Gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037328A (en) * 2011-09-30 2013-04-10 华为终端有限公司 Method and device for resending short messages
US20150109966A1 (en) * 2012-03-09 2015-04-23 Kt Corporation Method and apparatus for providing short message services for packet switching-only subscription in mobile communications network
CN105792147A (en) * 2014-12-24 2016-07-20 中兴通讯股份有限公司 Short message delivery failure processing method, device and system
CN108810830A (en) * 2017-04-27 2018-11-13 中兴通讯股份有限公司 A kind of short message service center's based reminding method and Short Message Service Gateway

Also Published As

Publication number Publication date
CN114025315A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
KR101348576B1 (en) A method for the management of short message delivery in a mobile communication system
US8788599B2 (en) Message delivery mechanism
KR101235110B1 (en) Reporting terminal capabilities for supporting short message service
US10277552B2 (en) Relating to messaging gateways
US8823767B2 (en) Delivery of short messages
JP6028085B2 (en) Short Message Service Mobile Incoming / Mobile Incoming without Mobile Station International Subscriber Directory Number (MSISDN) in Internet Protocol Multimedia Subsystem (IMS)
US20140155112A1 (en) Support of short message service in ims without msisdn
US20110051701A1 (en) Ims deregistration of a dual mode device triggered through a legacy network
EP3664384A1 (en) Network message fallback and deduplication
EP2007152B1 (en) Message route method, system and device based on ip transmission
WO2022012161A1 (en) Method, apparatus and system for processing short message delivery failure
US7574203B2 (en) Method for retrieving and delivering multimedia messages using the session initiation protocol
CN112584332A (en) Short message transmission method, device and system, and registration method and device
US20220038509A1 (en) A Method for Enabling a Calling User Equipment, UE, to Retry a Session Initiation Protocol, SIP, Call Attempt to a Called UE, Over a Circuit Switched Domain
US20140378103A1 (en) Archiving a delivery status for a text message
KR200402238Y1 (en) Reporting terminal capabilities for supporting short message service
EP2569960B1 (en) Improved delivery of short messages

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21843006

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/06/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21843006

Country of ref document: EP

Kind code of ref document: A1