WO2018196715A1 - Short message centre reminding method and short message gateway - Google Patents

Short message centre reminding method and short message gateway Download PDF

Info

Publication number
WO2018196715A1
WO2018196715A1 PCT/CN2018/084123 CN2018084123W WO2018196715A1 WO 2018196715 A1 WO2018196715 A1 WO 2018196715A1 CN 2018084123 W CN2018084123 W CN 2018084123W WO 2018196715 A1 WO2018196715 A1 WO 2018196715A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
receiving terminal
delivery record
failed
gateway
Prior art date
Application number
PCT/CN2018/084123
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 WO2018196715A1 publication Critical patent/WO2018196715A1/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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/184Messaging devices, e.g. message centre

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a short message center reminding method and a short message gateway.
  • the short message gateway and the short message center are network elements that provide a short message service for the contracted user, wherein the short message center can implement short message receiving, storing, forwarding, short message report generation, short message inquiry, and short message charging, etc.
  • the short message gateway can provide routing and interworking functions between different short message systems.
  • the short message of the traditional circuit domain is mainly provided by the short message center, and is carried by the No. 7 signaling; and the IP short message is implemented by the SIP (Session Initiation Protocol) MESSAGE.
  • SIP Session Initiation Protocol
  • IP-SM-GW IP-Short-Message-Gateway
  • IMS IP Multimedia Subsystem
  • the embodiment of the present disclosure provides a short message center reminding method and a short message gateway.
  • the embodiment of the present disclosure provides a short message center reminding method, including:
  • the short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the application server;
  • the short message gateway obtains a failed delivery record stored for the short message to be re-submitted by the receiving terminal, and the failed delivery record is generated when the short message gateway fails to deliver the short message to be re-sent to the receiving terminal;
  • the short message gateway triggers the short message center reminder according to the failed delivery record to instruct the short message center to resend the to-be-resubmitted short message to the receiving terminal.
  • the embodiment of the present disclosure further provides a short message gateway, including:
  • a recording module configured to store a failed delivery record for the short message to be re-sent after failing to deliver the short message to the receiving terminal;
  • Determining a module configured to determine that the receiving terminal is reachable based on a registration of the receiving terminal at the application server;
  • An obtaining module configured to acquire a failed delivery record stored for the short message to be re-submitted by the receiving terminal
  • the reminding module is configured to trigger the short message center reminder according to the failed delivery record to instruct the short message center to resend the to-re-submission short message loss to the receiving terminal.
  • the embodiment of the present disclosure further provides a computer storage medium, where the computer storage medium stores computer executable instructions for executing the short message center reminding method.
  • the short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the receiving terminal, and acquires a failure to store the short message to be received by the receiving terminal.
  • the record is posted, and then the short message center reminder is triggered according to the failed delivery record to inform the short message center to resend the short message to be re-submitted to the receiving terminal.
  • the solution provided by the embodiment of the present disclosure utilizes the short message gateway to directly know the registration of the receiving terminal on the application server. Therefore, the short message gateway does not go to the HLR/HSS (Home Location Register/Home Subscriber Server, home location register/home subscriber server).
  • the short message gateway determines that the receiving terminal is reachable, it acquires a pre-recorded stored failed posting record for the receiving terminal, and triggers a short message center reminder according to the failed delivery record. Since the HLR/HSS does not provide terminal reachability in the process of implementing the short message center reminder, the functional requirements of the HLR/HSS are reduced, and the application scenario is wider than the existing solution; The HLR/HSS does not interact and cooperate with the MME (Mobility Management Entity), etc., which saves the communication resources and processing resources of the system, and is beneficial to the optimal configuration of resources.
  • MME Mobility Management Entity
  • FIG. 1 is a schematic diagram of a system networking of a short message system including an internet protocol short message gateway;
  • 2 is an interactive flow chart for performing a short message center reminder
  • FIG. 3 is a flowchart of a short message center reminding method according to Example 1 of the present disclosure
  • FIG. 4 is a flowchart of a short message gateway triggering a short message center reminder according to a failed delivery record according to an example of the present disclosure
  • FIG. 5 is a flowchart of a short message center reminding method provided by example 2 of the present disclosure
  • FIG. 6 is an interaction flowchart of three types of storage failure posting records provided by an example of the present disclosure.
  • FIG. 7 is an interaction flowchart of performing short message center reminding in the initial registration situation of the receiving terminal provided by three examples of the present disclosure
  • FIG. 8 is an interaction flowchart of performing short message center reminding in a refreshing registration situation of a receiving terminal provided by three exemplary embodiments of the present disclosure
  • FIG. 9 is a schematic structural diagram of a short message gateway provided in Example 4 of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a short message gateway provided in Example 5 of the present disclosure.
  • FIG. 11 is a schematic structural diagram of hardware of a server for deploying a short message gateway according to Example 6 of the present disclosure.
  • the Internet Protocol Short Message Gateway 11 provides protocol interaction between the IP-based UE (User Equipment) 12 and the SMSC (Short Message Service Center) 13 for sending and receiving short messages.
  • the short message will be delivered to the short message center.
  • the short message center will send the short message to the internet protocol short message gateway 11 on the receiving terminal side, and the internet protocol short message gateway 11 will deliver the short message to the corresponding network element for delivery to the receiving terminal.
  • the receiving terminal cannot receive the short message due to factors such as shutdown or signal difference, the delivery of the short message will fail.
  • the internet protocol short message gateway 11 sends a short message delivery status report to the HLR/HSS 14 ( Map-Report-SM-Delivery-Status), and subscribe to the HSS to receive the reachability of the terminal.
  • the internet protocol short message gateway 11 receives the notification of the home location register/home subscriber server 14.
  • the Internet Protocol Short Message Gateway 11 sends MAP-READY-FOR-SM to the Home Location Register/Home Subscriber Server 14.
  • the home location register/home subscriber server 14 triggers an Alert SC (short message center reminder) procedure for the short message center to resend the short message that failed to be delivered before.
  • Alert SC short message center reminder
  • the IP-SM-GW sends a short message delivery status report to the HLR/HSS and subscribes to the reachable notification of the receiving terminal.
  • the short message delivery result is included in the status report.
  • the short message is a delivery failure.
  • the IP-SM-GW subscribes to the reachability of the receiving terminal by sending a Map-Any-Time-Modification to the HLR/HSS.
  • the HLR/HSS instructs the MME to report the reachability of the receiving terminal.
  • the HLR/HSS may send an IDR request message (UE reachability notification) to the MME, indicating that the MME reports the reachability of the receiving terminal. If the receiving terminal is not registered with the MME, the HLR/HSS does not send a request message.
  • IDR request message UE reachability notification
  • the MME notifies the HLR/HSS receiving terminal that the terminal is reachable.
  • the MME When the receiving terminal is reachable, the MME notifies the HLR/HSS that the receiving terminal is reachable through NOR.
  • the HLR/HSS sends a reachability notification to the IP-SM-GW.
  • the HLR/HSS determines that the receiving terminal is reachable according to the NOR notification of the MME, and sends a reachability notification to the IP-SM-GW according to the previous subscription of the IP-SM-GW.
  • the IP-SM-GW sends a MAP-READY-FOR-SM message to the HLR/HSS.
  • the IP-SM-GW After knowing that the receiving terminal is reachable according to the reachable notification, the IP-SM-GW determines that the short message can be re-delivered to the receiving terminal. Therefore, the LR-READY-FOR-SM can be used to notify the HLR/HSS to trigger to the SC. Alert SC process.
  • the HLR/HSS triggers the Alert SC process to the SC.
  • the HLR/HSS can trigger the SMS center to reschedule the delivery of the failed short message for the receiving terminal.
  • the process of triggering the short message center reminder depends on the HLR/HSS notifying the IP-SM-GW of the reachability of the receiving terminal, once the HLR/HSS does not support the reachability subscription of the IP-SM-GW. , based on the program can not achieve the delivery of failed short messages.
  • the IP-SM-GW needs to cooperate with multiple network elements such as HLR/HSS and MME to perform the terminal reachability subscription to the HLR/HSS, thus increasing the processing load of these network elements, which is not conducive to processing resources. Optimization.
  • the short message center reminder after the short message delivery failure depends on the HLR/HSS to provide the IP-SM-GW with the service that the terminal can reach the subscription
  • the short message center reminds the HLR/HSS to support the reachability subscription
  • the HLR/HSS needs to interact and cooperate with the MME when providing the reachable subscription, it needs to occupy a large amount of processing resources and communication resources, so it is not conducive to optimal configuration of resources.
  • this example provides a short message center reminding method, please refer to the flow chart of the short message center reminding method shown in FIG. 3:
  • the short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the application server.
  • the sending terminal sends a short message to the receiving terminal, "Do you have time on Saturday?"
  • the short message will be first transmitted to the short message center, and the short message center will arrange to receive it.
  • the short message gateway on the terminal side delivers the short message. If the short message is delivered by the short message gateway, the receiving terminal is turned off or the communication quality is extremely poor and cannot be connected, the delivery of the short message gateway will fail. Under normal circumstances, a short message delivery failure means that the short message is to be re-delivered.
  • the short message gateway in this example records the failed short message for the failed short message, that is, the failed delivery record of the short message to be re-submitted, so that the corresponding receiving terminal is re-submitted again when the corresponding receiving terminal is reachable. Delivery of the message.
  • the failed delivery record stored by the short message gateway can indicate which short message is to be re-invested without recording the specific content of the failed short message, because the specific content of the failed short message is recorded by the short message center.
  • the failed delivery record is required by the short message gateway to trigger the short message center reminder, that is, the failed delivery record is required by the short message gateway itself, so in theory, the failed delivery record is stored on the short message gateway, but due to one After the terminal enters the power-on state from the power-off state, it will register once on the AS. The registration process is called initial registration. When the terminal is initially registered, the data stored locally for the terminal by the SMS gateway will be cleared. Before the re-posting of the short message to be re-delivered, the failed delivery record for the short message to be re-invested is required, so the short message gateway cannot store the failed delivery record locally, at least the failed delivery record. Stored in a place that won't be arbitrarily cleared.
  • the SMS Gateway will store a failed delivery record on the HLR/HSS.
  • the SMS gateway can store the failed delivery record to other external storage as long as the data in the storage location is not deleted as the terminal is turned off.
  • the short message gateway since the short message gateway itself needs to use the failed delivery record, the short message gateway does not clear the locally stored data for the receiving terminal as long as the receiving terminal does not temporarily register on the application server, so in this example In the middle, the failed delivery record can also be stored locally in the SMS gateway, so that as long as the receiving terminal does not perform the initial registration, the SMS gateway can obtain the local delivery record when it obtains the failed delivery record, as opposed to in any case. Obtaining a failed delivery record from an external storage location can well avoid the problem of taking a large amount of time to obtain a failed delivery record from an external storage location.
  • the timing at which the short message gateway re-delivers the re-sending short message is not randomly determined by the short message center or the short message gateway, but is determined by the receiving terminal. Only when the receiving terminal is reachable, the short message gateway will trigger the short message center reminder to notify the short message center to reschedule the delivery of the failed short message.
  • the short message gateway can directly obtain the information that the terminal can reach from the AS (Application Server) instead of receiving the terminal reachability subscription to the HLR/HSS. After the receiving terminal enters the power-on state from the power-off state, the initial registration is performed on the AS, and the receiving terminal is available at this time.
  • the application server is required to perform a refresh registration at intervals to notify the application server that it is currently reachable, so the short message gateway can receive the terminal on the AS. Initial registration and refresh registration to understand the reachable information of the receiving terminal.
  • the short message gateway acquires a failed delivery record stored for the short message to be re-submitted by the receiving terminal.
  • the short message gateway can obtain the failed delivery record stored for the short message to be re-submitted by the receiving terminal. For example, if the short message gateway only stores the failed delivery record of the receiving terminal on the external memory, or the registration of the current receiving terminal on the AS belongs to the initial registration, the short message gateway can directly obtain the failed delivery record to the external memory. If the current receiving terminal refreshes the registration when registering on the AS, and the terminal not only stores the failed delivery record in the external memory, but also stores the failed delivery record locally, the short message gateway can obtain the failed delivery record locally.
  • the SMS gateway stores the failed delivery record locally, which can be performed in at least one of the following two situations:
  • the short message gateway when the short message gateway stores the failed delivery record to an external memory, such as HLR/HSS, etc., the short message gateway also stores the failed delivery record locally. If the failed delivery record acquired by the short message gateway after receiving the terminal registration is stored locally in this way, the receiving terminal does not perform the initial registration after the failed delivery record is stored locally.
  • the short message gateway after generating the failed delivery record, the short message gateway only stores the failed delivery record on the external storage, but after the receiving terminal first registers or refreshes the registration, the short message gateway acquires the failure for the receiving terminal from the external storage. After the record is posted, the obtained failed delivery record will be stored locally.
  • the short message gateway stores the failed delivery record to the local by any of the above two methods, after the receiving terminal completes the refresh registration on the AS, the short message gateway can obtain the failed delivery record locally.
  • the short message gateway triggers the short message center reminder according to the failed delivery record.
  • the SMS gateway After the SMS gateway obtains the failed delivery record, it will trigger the short message center reminder according to the failed delivery record.
  • the short message gateway sends a MAP-Ready-for-SM message to the HLR/HSS.
  • MAP-Ready-for-SM is a message defined by the MAP about short message service, which is usually sent by the short message gateway to the HLR when the receiving terminal can receive the short message.
  • HLR/HSS receives the MAP-Ready-for-SM message sent by the SMS gateway, it usually sends a corresponding response message to the SMS gateway, "MAP-Ready-for-SM-rsp".
  • the HLR/HSS sends a MAP-Alert-Service-Center message to the short message center.
  • MAP-Alert-Service-Center is a short message center reminder message, which is used to inform the short message center that the receiving terminal is currently reachable, and can arrange to re-deliver the short message to be re-submitted to the receiving terminal.
  • the short message center receives the MAP-Alert-Service-Center message, it also sends "MAP-Alert-Service-Center-rsp" to the HLR/HSS as a response.
  • the short message gateway after the short message delivery failure, the short message gateway generates a failed delivery record for the short message, and stores the failed delivery record, and learns the receiving terminal when it registers with the corresponding receiving terminal on the application server.
  • the failed delivery record can be obtained, and the reminder to the short message center is triggered according to the failed delivery record, and the short message center is arranged to arrange the re-delivery of the re-investment short message.
  • the SMS gateway can directly learn the reachable information of the receiving terminal from the application server without subscribing to the HLR/HSS, so the HLR/HSS is not required to support the reachability subscription, and the HLR/HSS is reduced. Claim. More importantly, in this example, the short message gateway understands that the receiving terminal is reachable in a simple manner, and can be implemented without the cooperation of the HLR/HSS and the MME, thereby reducing the requirements for system processing resources and communication resources.
  • this example continues to introduce the short message center reminding method based on the first example, as shown in FIG. 5:
  • the short message gateway stores a failed delivery record for the short message after the short message delivery fails.
  • the short message gateway may be an IP-SM-GW, ie an internet protocol short message gateway.
  • the SMS gateway can store the failed delivery record on both local and external storage. Assuming that the external memory is the memory on the HLR/HSS, the following describes the process of storing the failed delivery record to the HLR/HSS by the SMS gateway:
  • the short message gateway sends a PUR (Profile Update Request) to the HLR/HSS
  • the short message gateway and the HLR/HSS pre-arrange a setting of a delivery-fail flag in the PUR, that is, a failure identifier. Used by the SMS gateway to notify the HLR/HSS that a short message delivery failed.
  • the HLR/HSS can directly carry the delivery-fail flag in the user data record and return it to the SMS gateway.
  • the short message gateway will send a MAP-REPORT-SM-DELIVERY-STATUS message to the HLR/HSS, that is, a short message delivery status report.
  • the short message delivery status report also includes the relevant information of the short message delivery failure. Therefore, the short message gateway can also send the short delivery delivery status report to the HLR/HSS to store the failed delivery record. HLR/HSS.
  • the short message gateway will send a PUR carrying the failure identifier to the HLR/HSS, and will also send a short message delivery status report.
  • the short message gateway acquires the failed delivery record.
  • the short message gateway After the short message gateway determines that the receiving terminal registers on the application server AS, the short message gateway can obtain the pre-stored failed delivery record. If the receiving terminal performs the initial registration, the short message gateway obtains the failed delivery record from the external storage location such as the HLR/HSS, and stores the obtained failed delivery record locally, in case the current short message retransmission is unsuccessful, and the subsequent receiving is performed. When the terminal performs refresh registration, the failed delivery record can be obtained directly from the local, thereby saving the time for obtaining the failed delivery record.
  • the short message gateway can directly obtain the failed delivery record from the local.
  • the short message gateway triggers the short message center reminder according to the failed delivery record.
  • the short message gateway determines whether the short message to be re-sent is successfully delivered.
  • the short message gateway clears the failed delivery record for the short message to be re-sent.
  • the short message gateway Since the short message gateway obtains the failed delivery record and re-delivers the corresponding failed short message when the receiving terminal registers, the short message will continue to send the short message to the receiving user after the successful retransmission of the short message. This causes a poor user experience and wastes communication resources.
  • the short message gateway after the re-investment of the short message to be re-successful is successful, the short message gateway will clear the failed delivery record for the short message.
  • the SMS gateway clears the failed delivery records on all storage locations, including local and external storage.
  • the short message center reminding method provided in this example can store the failed delivery record of the short message for delivery failure to the HLR/HSS by using the configuration file update request carrying the failure identifier to the HLR/HSS, and utilize the HLR/HSS, etc.
  • the external memory does not clear the advantage of the failed delivery record due to the change of the state of the receiving terminal, so that the short message gateway can obtain the failed delivery record for the receiving terminal to re-send the short message even after the initial registration of the receiving terminal, thereby the failure short message. Make a heavy shot.
  • the short message center reminding method provided by the example also deletes the failed delivery record of the short message stored on the local and external memory after the successful retransmission of the failed short message, so as to avoid the SMS gateway always has a short delivery success. Messages are delivered repeatedly, wasting communication resources and reducing user experience.
  • the short message gateway is assumed to be an IP-SM-GW.
  • the IP-SM-GW can be deployed as an independent network element or deployed with other logical network elements. Together.
  • the IP-SM-GW is deployed on the application server, so that the receiving terminal registers with the application server, which is equivalent to registering with the IP-SM-GW.
  • the "equivalent” mentioned here is essentially from the perspective of physical entities. It is the internal network element that omits the application server and the internal logic of IP-SM-GW. It is not It is exactly the same.
  • the IP-SM-GW sends a short message delivery status report to the HLR/HSS.
  • the IP-SM-GW sends a PUR message to the HLR/HSS.
  • the HLR/HSS sends a PUA message to the IP-SM-GW.
  • the IP-SM-GW sends a PUR message to the HLR/HSS carrying a delivery-fail flag, which can indicate to the HLR/HSS that the short message delivery failed.
  • the HLR/HSS can also know the delivery result of the short message from the short message delivery status report.
  • the IP-SM-GW will also send a PUR message carrying the failure identifier to the HLR/HSS if it can understand the short message delivery result in the short message delivery status report. This is mainly because the short message delivery status report is present.
  • the IP-SM-GW will send it to the HLR/HSS regardless of the success or failure of the delivery of the short message.
  • the subsequent IP-SM-GW obtains the failed delivery record, it is only necessary to know which short messages failed to be delivered, and does not care about the short messages that are successfully delivered. Therefore, if the IP-SM-GW only sends a short message delivery status report to the HLR/HSS, the HLR/HSS may also need to filter according to the received message to provide a failed delivery record to the IP-SM-GW, therefore, in order to avoid the HLR.
  • the /HSS filters according to the short message delivery status report.
  • the IP-SM-GW sends a PUR message carrying the failure identifier to the HLR/HSS after the short message delivery failure.
  • the three processes S601, S602, and S603 do not have strict timing constraints.
  • the SMS gateway can select the execution sequence according to its actual needs. Since the PUA message sent by the HLR/HSS to the IP-SM-GW is a response to the PUR message sent by the IP-SM-GW, S604 must be after S603.
  • the receiving terminal initiates an initial registration with the AS.
  • the IP-SM-GW Since the AS is deployed with the IP-SM-GW, that is, the IP-SM-GW is deployed to the application server, some functions of the IP-SM-GW can be assumed by the application server. Therefore, when the receiving terminal initiates registration with the AS, the IP-SM-GW can immediately know the information.
  • the IP-SM-GW sends a user data request UDR to the HLR/HSS.
  • the HLR/HSS sends a user data response UDA to the IP-SM-GW.
  • the UDR (User Data Request) enables the HLR/HSS to send the stored user data to the IP-SM-GW.
  • the IP-SM-GW is included.
  • the delivery-fail flag pre-sent to the HLR/HSS.
  • the IP-SM-GW sends a subscription notification request SNR to the HLR/HSS.
  • the HLR/HSS sends a subscription notification request SNA to the IP-SM-GW.
  • the process of sending the SNR (Subscribe Notification Request) and receiving the SNA (Subscribe Notification Answer) is the process that the existing terminal registers on the application server, and is not the short message center reminder in this example. The necessary process.
  • the IP-SM-GW sends a 200 OK message to the receiving terminal.
  • the IP-SM-GW After the IP-SM-GW receives the user data response SNA sent by the HLR/HSS, it indicates that the initial registration of the receiving terminal on the application server has succeeded, so the IP-SM-GW sends a 200 OK message to the receiving terminal side as the receiving terminal. Send a response to the registration request.
  • the IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS.
  • the HLR/HSS sends a MAP-Ready-for-SM-rsp message to the IP-SM-GW.
  • the IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS to inform the HLR/HSS to perform a MAP-Alert-Service-Center alert to the short message center, while the MAP-Ready-for-SM-rsp is The response message of the HLR/HSS to the IP-SM-GW after receiving the MAP-Ready-for-SM.
  • the HLR/HSS sends a MAP-Alert-Service-Center message to the short message center.
  • S710 The short message center sends a MAP-Alert-Service-Center-rsp message to the HLR/HSS.
  • the MAP-Alert-Service-Center message sent by the HLR/HSS to the short message center can be used to remind the short-message center that the current receiving terminal is reachable, and can re-deliver the short message that failed to be delivered before.
  • the short message center After receiving the MAP-Alert-Service-Center, the short message center will respond to the HLR/HSS with a MAP-Alert-Service-Center-rsp message as a response.
  • the IP-SM-GW also deletes the failed delivery record for the short message:
  • the IP-SM-GW deletes the failed delivery record of the local storage.
  • the IP-SM-GW sends a PUR message that does not carry the failure identifier to the HLR/HSS.
  • the HLR/HSS sends a PUA message to the IP-SM-GW.
  • S712 and S713 are for clearing the failed delivery record stored on the HLR/HSS
  • S711 is for clearing the failed delivery record stored locally at the IP-SM-GW.
  • the IP-SM-GW may first clear the failed delivery record of the local storage, or may first clear the failed delivery record stored on the HLR/HSS. Therefore, the S711 may be before S712 or after S713.
  • FIG. 8 for an interaction diagram of the short message center reminder by the IP-SM-GW according to the initial registration of the receiving terminal on the AS:
  • the receiving terminal initiates a refresh registration to the AS.
  • the AS returns a 200 OK message to the receiving terminal.
  • the IP-SM-GW Since the refresh registration does not cause the IP-SM-GW to clear the locally stored data of the receiving terminal, in this example, the IP-SM-GW does not acquire user data from the HLR/HSS after refreshing the registration, and the AS receives the data. After the registration is refreshed, a 200 OK message can be directly returned to the receiving terminal to respond.
  • the IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS.
  • the HLR/HSS sends a MAP-Ready-for-SM-rsp message to the IP-SM-GW.
  • the IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS according to the locally stored failed delivery record to notify the HLR/HSS to perform a MAP-Alert-Service-Center reminder to the short message center, and MAP-Ready-
  • the for-SM-rsp is a response message to the IP-SM-GW after the HLR/HSS receives the MAP-Ready-for-SM.
  • the HLR/HSS sends a MAP-Alert-Service-Center message to the short message center.
  • the short message center sends a MAP-Alert-Service-Center-rsp message to the HLR/HSS.
  • the MAP-Alert-Service-Center message sent by the HLR/HSS to the short message center can be used to remind the short-message center that the current receiving terminal is reachable, and can re-deliver the short message that failed to be delivered before.
  • the short message center After receiving the MAP-Alert-Service-Center, the short message center will respond to the HLR/HSS with a MAP-Alert-Service-Center-rsp message as a response.
  • the IP-SM-GW clears the failed delivery record stored locally and on the HLR/HSS, the process and the initial The process after registration is the same and will not be described here. If the delivery fails, it continues to wait for the receiving terminal to refresh registration or initial registration on the AS.
  • the IP-SM-GW is deployed together with the application server, so some functions of the two can be jointly assumed.
  • the IP-SM-GW can By quickly obtaining the registration message, the IP-SM-GW can understand that the receiving terminal accessibility subscription to the HLR/HSS can obtain the time that the receiving terminal can reach more quickly and reduce the processing resources of the system.
  • the occupation of communication resources is conducive to the optimal configuration of resources.
  • the present example provides a short message gateway.
  • the short message gateway 90 includes a recording module 902 , a determining module 904 , an obtaining module 906 , and a reminding module 908 .
  • the sending terminal sends a short message to the receiving terminal, "Do you have time on Saturday?"
  • the short message will be first transmitted to the short message center, and the short message center will arrange to receive it.
  • the short message gateway 90 on the terminal side delivers the short message. If the short message is sent by the short message gateway 90, the receiving terminal is turned off or the communication quality is extremely poor and cannot be connected, the delivery of the short message gateway 90 will fail. Under normal circumstances, a short message delivery failure means that the short message is to be re-delivered.
  • the recording module 902 in this example records the failed delivery message for the failed short message, that is, the failed delivery record of the short message to be re-submitted when the corresponding receiving terminal is reachable. Delivery of short messages.
  • the failed delivery record stored by the recording module 902 can characterize which short message is to be re-invested without recording what the specific content of the failed short message is because the specific content of the failed short message is recorded by the short message center.
  • the failed delivery record is required by the reminder module 908 to trigger the short message center reminder, that is, the failed delivery record is required by the short message gateway 90 itself, so in theory, the failed delivery record is stored on the short message gateway 90.
  • a terminal After a terminal enters the power-on state from the power-off state, it will register once on the AS. The registration process is called initial registration.
  • the data stored locally by the SMS gateway 90 for the terminal will be cleared. Drop it.
  • the failed delivery record for the short message to be re-sent is required, so the recording module 902 cannot store the failed delivery record locally, at least the failed delivery record. Stored in a place that won't be arbitrarily cleared.
  • the logging module 902 will store a failed delivery record on the HLR/HSS.
  • the logging module 902 can also store the failed posting record on other external memory as long as the data in the storage location is not deleted as the terminal is turned off.
  • the short message gateway 90 since the short message gateway 90 itself needs to use the failed delivery record, the short message gateway 90 does not clear the locally stored data for the receiving terminal as long as the receiving terminal temporarily does not perform the initial registration on the application server, so
  • the recording module 902 can also store the failed delivery record in the local area of the short message gateway 90.
  • the obtaining module 906 can obtain the local delivery when the failed delivery record is acquired. The problem of obtaining a failed delivery record from an external storage location in any case can well avoid the problem of taking a large amount of time to obtain a failed delivery record from an external storage location.
  • the timing at which the short message gateway 90 re-delivers the re-sending short message is not determined by itself or the short message center, but is determined by the receiving terminal. Only when the receiving terminal is reachable, the reminding module 908 triggers the short message center reminder to notify the short message center to reschedule the delivery of the failed short message.
  • the determining module 904 can directly obtain the information reachable by the receiving terminal from the AS (Application Server) instead of receiving the terminal reachability subscription to the HLR/HSS. After the receiving terminal enters the power-on state from the power-off state, the initial registration is performed on the AS, and the receiving terminal is available at this time.
  • the application server is required to perform a refresh registration at intervals to notify the application server that it is currently reachable, so the determining module 904 can receive the terminal on the AS.
  • the initial registration is to refresh the registration to know the reachable information of the receiving terminal.
  • the obtaining module 906 can acquire the failed posting record stored for the receiving terminal to be re-sending the short message. For example, if the recording module 902 stores the failed delivery record of the receiving terminal only on the external memory, or the registration of the current receiving terminal on the AS belongs to the initial registration, the obtaining module 906 can directly obtain the failed delivery record to the external memory. If the current receiving terminal refreshes the registration at the time of registration on the AS, and the terminal not only stores the failed posting record on the external memory in advance, but also stores the failed delivery record locally, the obtaining module 906 can obtain the failed delivery record locally. Recording module 902 storing the failed delivery record locally can be done in both cases:
  • the recording module 902 stores the failed posting record to an external memory, such as HLR/HSS, etc.
  • the failed posting record is also stored locally. If the failed delivery record acquired by the acquisition module 906 after receiving the terminal registration is stored locally in this manner, the receiving terminal has not made the initial registration after the failed delivery record is stored locally.
  • the recording module 902 stores only the failed delivery record on the external memory after generating the failed delivery record, but after the receiving terminal first registers or refreshes the registration, the obtaining module 906 acquires from the external memory for the receiving terminal. After the failed delivery record, the recording module 902 will store the obtained failed delivery record to the local.
  • the recording module 902 stores the failed posting record to the local by at least one of the above two methods
  • the determining module 904 learns that the receiving terminal completes the refresh registration on the AS
  • the obtaining module 906 can obtain the local obtaining. Failed to post records.
  • the reminder module 908 can trigger a short message center reminder by sending a MAP-Ready-for-SM to the HLR/HSS, which is a message defined by the MAP about the short message service, which is usually received by the short message gateway. It can be sent to the HLR when it receives a short message.
  • a MAP-Ready-for-SM message sent by the reminder module 908
  • a corresponding response message "MAP-Ready-for-SM-rsp" is usually also fed back to the reminder module 908.
  • the HLR/HSS After receiving the MAP-Ready-for-SM, the HLR/HSS sends a short message center reminder message to the short message center, that is, the MAP-Alert-Service-Center message, which is used to inform the short message center that the receiving terminal is currently reachable, and can arrange the pair.
  • the receiving terminal performs re-delivery of the short message to be re-submitted.
  • the short message center receives the MAP-Alert-Service-Center message, it also sends "MAP-Alert-Service-Center-rsp" to the HLR/HSS as a response.
  • the short message gateway after the short message delivery failure, the short message gateway generates a failed delivery record for the short message, and stores the failed delivery record, and learns the receiving terminal when it registers with the corresponding receiving terminal on the application server.
  • the failed delivery record can be obtained, and the reminder to the short message center is triggered according to the failed delivery record, and the short message center is arranged to arrange the re-delivery of the re-investment short message.
  • the SMS gateway can directly learn the reachable information of the receiving terminal from the application server without subscribing to the HLR/HSS, so the HLR/HSS is not required to support the reachability subscription, and the HLR/HSS is reduced. Claim. More importantly, in this example, the short message gateway understands that the receiving terminal is reachable in a simple manner, and can be implemented without the cooperation of the HLR/HSS and the MME, thereby reducing the requirements for processing resources and communication resources of the system.
  • the short message gateway 90 further includes a clearing module 910.
  • the logging module 902 stores a failed posting record for the short message after the short message delivery failure.
  • the short message gateway 90 may be an IP-SM-GW, ie an internet protocol short message gateway.
  • the logging module 902 can store the failed posting records on both local and external storage. Assuming that the external memory is a memory on the HLR/HSS, the following describes the process by which the logging module 902 stores the failed posting record to the HLR/HSS:
  • the short message gateway 90 sends a PUR (Profile Update Request) to the HLR/HSS
  • the recording module 902 and the HLR/HSS pre-agreed to set a delivery-fail flag in the PUR, that is, the failure
  • the identifier is used by the recording module 902 to notify the HLR/HSS that a short message delivery has failed.
  • the HLR/HSS can directly carry the delivery-fail flag in the user data record and return it to the obtaining module 906.
  • the short message gateway 90 will send a MAP-REPORT-SM-DELIVERY-STATUS message to the HLR/HSS, that is, a short message delivery status report.
  • the short message delivery status report also includes the relevant information of the short message delivery failure, so the recording module 902 can also send the short message delivery status report to the HLR/HSS to store the failed delivery record. Go to HLR/HSS.
  • the short message gateway 90 will both send a PUR carrying a failure identifier to the HLR/HSS and a short message delivery status report.
  • the obtaining module 906 can acquire the pre-stored failed posting record. If the receiving terminal performs the initial registration, the obtaining module 906 obtains the failed delivery record from the external storage location such as the HLR/HSS, and stores the obtained failed delivery record locally, in case the current short message re-investment is unsuccessful, and subsequent When the receiving terminal performs refresh registration, the failed delivery record can be obtained directly from the local, thereby saving the time for obtaining the failed delivery record.
  • the external storage location such as the HLR/HSS
  • the obtaining module 906 can directly obtain the failed posting record locally.
  • the short message gateway 90 controls the short message gateway 90 to re-submit the re-sending short message.
  • the short message to be re-sent is successfully delivered, and the other is naturally to be re-send the short message.
  • the re-delivery failed. If the short message delivery is to be successfully posted, the clearing module 910 clears the failed delivery record for the short message to be re-submitted.
  • the short message gateway succeeds. 90 will continue to send SMS, causing a poor user experience for the receiving user, wasting communication resources.
  • the clearing module 910 will clear the failure for the short message. Delivery record. The clearing module 910 is to clear the failed posting record on all storage locations including the local and external storage.
  • the short message gateway provided in this example can store the failed delivery record of the short message for delivery failure to the HLR/HSS by sending a configuration file update request carrying the failure identifier to the HLR/HSS, and using an external memory such as HLR/HSS.
  • the advantage of the failed delivery record is cleared because the status of the receiving terminal is changed, so that the short message gateway can obtain the failed delivery record for the receiving terminal to re-send the short message even after the initial registration of the receiving terminal, thereby re-investing the failed short message.
  • the short message center reminding method provided by the example also deletes the failed delivery record of the short message stored on the local and external memory after the successful retransmission of the failed short message, so as to avoid the SMS gateway always has a short delivery success. Messages are delivered repeatedly, wasting communication resources and reducing user experience.
  • the short message gateway in the foregoing embodiments may be deployed as a single network element on a physical entity, or may share a physical entity with other logical network elements.
  • the short message gateway is deployed on the server.
  • the hardware structure of the short message gateway in the embodiments of the present disclosure is introduced in conjunction with FIG. 11 :
  • the server 100 includes at least an input/output (IO) bus 110, a processor 140, a memory 130, a memory 120, and a communication device 150.
  • IO input/output
  • the input/output (IO) bus 110 is respectively connected to other components of the server to which it belongs (the processor 140, the memory 130, the memory 120, and the communication device 150), and provides transmission lines for other components.
  • the computer 120 can store a computer program for implementing the short message center reminding method.
  • the processor 140 reads the code from the memory 120 to compile and control each component to cooperate with each other.
  • the short message center reminds each process in the method.
  • the memory 130 may store the failed delivery record under the control of the processor 140.
  • the processor 140 typically controls the overall operation of the server to which it belongs. For example, the processor 140 performs operations such as calculations and confirmations.
  • the processor 140 may be a central processing unit (CPU).
  • Communication device 150 typically includes one or more components that permit radio communication between a server to which it belongs and a wireless communication system or network.
  • the short message gateway is to interact with the application server or the HLR/HSS, the communication device 150 assumes the corresponding communication task under the control of the processor 140.
  • the functions of the recording module, the determining module, the obtaining module, and the clearing module in the short message gateway provided by the example 4 and the example 5 can be implemented by the processor 140 and the memory 130 and the communication device 150.
  • the function of the reminder module can be implemented by both the processor and the communication device.
  • the processor 140 may store the failed delivery record in the local memory 130 while controlling the communication device 150 to store the failed delivery record in an external memory, such as to the HLR/HSS.
  • the receiving terminal performs initial registration or refresh registration on the application server AS, the communication device 150 can understand that the receiving terminal is available through interaction with the application server.
  • the processor 140 may control the communication device 150 to send a request message to an external memory such as the HLR/HSS to acquire the previously stored failed storage record. After obtaining the failed delivery record, the processor 140 controls the memory 130 to store the acquired failed delivery record. And controlling the communication device 150 to interact with the HLR/HSS according to the failed delivery record, thereby causing the HLR/HSS to send a MAP-Alert-Service-Center message to the short message center.
  • the processor 140 may directly obtain the failed delivery record from the local storage 130, and notify the communication device 150 to interact with the HLR/HSS, and let the HLR/HSS send the MAP-Alert-Service to the short message center. -Center message completes the short message center reminder.
  • the short message gateway in the foregoing example may also be deployed on the same server as the application server.
  • the receiving terminal interacts with the communication device of the application server to implement registration, which is essentially interacting with the short message gateway, so the short message gateway
  • the information that is reachable by the receiving terminal can be directly obtained, which saves access time and reduces resource waste.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the short message center reminder method described above.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes 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. .
  • the short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the receiving terminal, and acquires a failure to store the short message to be received by the receiving terminal.
  • the record is posted, and then the short message center reminder is triggered according to the failed delivery record to inform the short message center to resend the short message to be re-submitted to the receiving terminal.
  • the solution provided by the embodiment of the present disclosure utilizes the short message gateway to directly know the registration of the receiving terminal on the application server. Therefore, the short message gateway can directly learn the receiving terminal without subscribing to the HLR/HSS subscription terminal reachability. When is it possible?
  • the short message gateway determines that the receiving terminal is reachable, it acquires a pre-recorded stored failed posting record for the receiving terminal, and triggers a short message center reminder according to the failed delivery record. Since the HLR/HSS does not provide terminal reachability in the process of implementing the short message center reminder, the functional requirements of the HLR/HSS are reduced, and the application scenario is wider than the existing solution; When the HLR/HSS does not interact and cooperate with the MME, the communication resources and processing resources of the system are saved, which is beneficial to the optimal configuration of resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a short message centre reminding method and a short message gateway. The method comprises: a short message gateway determining accessibility of a receiving terminal based on the registration of the receiving terminal on an application server, acquiring a failed delivery record stored for a short message to be redelivered to the receiving terminal, and then triggering short message centre reminding according to the failed delivery record.

Description

一种短消息中心提醒方法及短信网关Short message center reminding method and short message gateway 技术领域Technical field
本公开涉及通信领域,尤其涉及一种短消息中心提醒方法及短信网关。The present disclosure relates to the field of communications, and in particular, to a short message center reminding method and a short message gateway.
背景技术Background technique
短消息网关与短消息中心是一同为签约用户提供短消息服务的网元,其中,短消息中心能实现短消息的接收、存储、转发、短消息报告生成、短消息查询以及短消息计费等功能。短消息网关则可以提供不同短消息系统之间的选路与互通功能。传统电路域的短消息主要由短消息中心提供,采用No.7信令承载;而IP短消息则采用SIP(Session Initiation Protocol,会话初始协议)MESSAGE(消息)实现。为了减少对现网电路域和IMS域的改造,重用传统短消息机制,IMS(IP Multimedia Subsystem,IP多媒体业务的子系统)网络中引入IP-SM-GW(IP-Short-Message-Gateway,网际协议短信网关)提供IP短消息业务。The short message gateway and the short message center are network elements that provide a short message service for the contracted user, wherein the short message center can implement short message receiving, storing, forwarding, short message report generation, short message inquiry, and short message charging, etc. Features. The short message gateway can provide routing and interworking functions between different short message systems. The short message of the traditional circuit domain is mainly provided by the short message center, and is carried by the No. 7 signaling; and the IP short message is implemented by the SIP (Session Initiation Protocol) MESSAGE. In order to reduce the transformation of the existing network circuit domain and IMS domain, the traditional short message mechanism is reused, and IP-SM-GW (IP-Short-Message-Gateway) is introduced into the network of IMS (IP Multimedia Subsystem). The protocol short message gateway provides IP short message service.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本公开实施例提供了短消息中心提醒方法及短信网关。The embodiment of the present disclosure provides a short message center reminding method and a short message gateway.
本公开实施例提供一种短消息中心提醒方法,包括:The embodiment of the present disclosure provides a short message center reminding method, including:
短信网关基于接收终端在应用服务器的注册确定所述接收终端可达;The short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the application server;
所述短信网关获获取针对所述接收终端待重投短消息所存储的失败投递记录,所述失败投递记录由所述短信网关向所述接收终端投递该待重投短消息失败时生成;The short message gateway obtains a failed delivery record stored for the short message to be re-submitted by the receiving terminal, and the failed delivery record is generated when the short message gateway fails to deliver the short message to be re-sent to the receiving terminal;
所述短信网关根据所述失败投递记录触发短消息中心提醒,以指示短消息中心重新向所述接收终端投递所述待重投短消息。The short message gateway triggers the short message center reminder according to the failed delivery record to instruct the short message center to resend the to-be-resubmitted short message to the receiving terminal.
本公开实施例还提供一种短信网关,包括:The embodiment of the present disclosure further provides a short message gateway, including:
记录模块,设置为在向接收终端投递短消息投递失败后,存储针对该待重投短消息的失败投递记录;a recording module, configured to store a failed delivery record for the short message to be re-sent after failing to deliver the short message to the receiving terminal;
确定模块,设置为基于接收终端在应用服务器的注册确定所述接收终端可达;Determining a module, configured to determine that the receiving terminal is reachable based on a registration of the receiving terminal at the application server;
获取模块,设置为获取针对所述接收终端待重投短消息所存储的失败投递记录;An obtaining module, configured to acquire a failed delivery record stored for the short message to be re-submitted by the receiving terminal;
提醒模块,设置为根据所述失败投递记录触发短消息中心提醒,以指示短消息中心重新向所述接收终端投递所述待重投短消息失。The reminding module is configured to trigger the short message center reminder according to the failed delivery record to instruct the short message center to resend the to-re-submission short message loss to the receiving terminal.
本公开实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述的短消息中心提醒方法。The embodiment of the present disclosure further provides a computer storage medium, where the computer storage medium stores computer executable instructions for executing the short message center reminding method.
本公开的有益效果是:The beneficial effects of the present disclosure are:
根据本公开实施例提供的短消息中心提醒方法及短信网关、计算机存储介质,短信网关基于接收终端在应用服务器的注册确定接收终端可达,并获取针对接收终端待重投短消息所存储的失败投递记录,然后根据失败投递记录触发短消息中心提醒,以告知短消息中心重新向接收终端投递待重投短消息。本公开实施例提供的方案利用了短信网关能够直接了解获知接收终端在应用服务器上的注册,因此,短信网关在不向HLR/HSS(Home Location Register/Home Subscriber Server,归属位置寄存器/归属用户服务器)订阅接收终端可达性的情况下就可以直接了解到接收终端在何时可达。当短信网关确定接收终端可达时,其获取预先记录存储的关于该接收终端的失败投递记录,并根据该失败投递记录触发短消息中心提醒。由于在实现短消息中心提醒的过程中,HLR/HSS不提供终端可达性,所以降低了对HLR/HSS的功能要求,相对于现有方案,应用场景更广泛;同时,因为获知终端可达性时HLR/HSS不与MME(Mobility Management Entity,移动性管理实体)等交互、配合,节省了系统的通信资源与处理资源,有利于资源的优化配置。According to the short message center reminding method and the short message gateway and the computer storage medium provided by the embodiment of the present disclosure, the short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the receiving terminal, and acquires a failure to store the short message to be received by the receiving terminal. The record is posted, and then the short message center reminder is triggered according to the failed delivery record to inform the short message center to resend the short message to be re-submitted to the receiving terminal. The solution provided by the embodiment of the present disclosure utilizes the short message gateway to directly know the registration of the receiving terminal on the application server. Therefore, the short message gateway does not go to the HLR/HSS (Home Location Register/Home Subscriber Server, home location register/home subscriber server). When you subscribe to the reachability of the receiving terminal, you can directly know when the receiving terminal is reachable. When the short message gateway determines that the receiving terminal is reachable, it acquires a pre-recorded stored failed posting record for the receiving terminal, and triggers a short message center reminder according to the failed delivery record. Since the HLR/HSS does not provide terminal reachability in the process of implementing the short message center reminder, the functional requirements of the HLR/HSS are reduced, and the application scenario is wider than the existing solution; The HLR/HSS does not interact and cooperate with the MME (Mobility Management Entity), etc., which saves the communication resources and processing resources of the system, and is beneficial to the optimal configuration of resources.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为包含有网际协议短信网关的短信系统的一种系统组网示意图;FIG. 1 is a schematic diagram of a system networking of a short message system including an internet protocol short message gateway;
图2为进行短消息中心提醒的一种交互流程图;2 is an interactive flow chart for performing a short message center reminder;
图3为本公开示例一提供的短消息中心提醒方法的一种流程图;FIG. 3 is a flowchart of a short message center reminding method according to Example 1 of the present disclosure;
图4为本公开示例一提供的短信网关根据失败投递记录触发短消息中心提醒的一种流程图;4 is a flowchart of a short message gateway triggering a short message center reminder according to a failed delivery record according to an example of the present disclosure;
图5为本公开示例二提供的短消息中心提醒方法的一种流程图;FIG. 5 is a flowchart of a short message center reminding method provided by example 2 of the present disclosure;
图6为本公开示例三种提供的存储失败投递记录的一种交互流程图;6 is an interaction flowchart of three types of storage failure posting records provided by an example of the present disclosure;
图7为本公开示例三种提供的接收终端初次注册情境下进行短消息中心提醒的一种交互流程图;FIG. 7 is an interaction flowchart of performing short message center reminding in the initial registration situation of the receiving terminal provided by three examples of the present disclosure;
图8为本公开示例三种提供的接收终端刷新注册情境下进行短消息中心提醒的一种交互流程图;8 is an interaction flowchart of performing short message center reminding in a refreshing registration situation of a receiving terminal provided by three exemplary embodiments of the present disclosure;
图9为本公开示例四中提供的短信网关的一种结构示意图;FIG. 9 is a schematic structural diagram of a short message gateway provided in Example 4 of the present disclosure;
图10为本公开示例五中提供的短信网关的一种结构示意图;FIG. 10 is a schematic structural diagram of a short message gateway provided in Example 5 of the present disclosure;
图11为本公开示例六中提供的一种用于部署短信网关的服务器的硬件结构示意图。FIG. 11 is a schematic structural diagram of hardware of a server for deploying a short message gateway according to Example 6 of the present disclosure.
具体实施方式detailed description
IMS系统组网结构图可以参见图1。网际协议短信网关11提供基于IP的UE(User Equipment,用户设备)12和SMSC(Short Message Service Center,短消息服务中心)13之间收发短消息的协议交互。当用户在发送终端上编辑短消息并选择发送后,短消息将会被传递到短信中心。短信中心接收到该短消息之后将会把该短消息发送给接收终端侧的网际协议短信网关11,网际协议短信网关11会将该短信传递给对应网元以投递给接收终端。当接收终端因关机或信号差等因素而无法接收到短消息时,针对该短消息的投递就会失败。针对短消息投递失败的情况,在3GPP标准(详请参见3GPP TS 23.204)中制定了订阅接收终端可达的机制:短信投递失败后,网际协议短信网关 11向HLR/HSS14发送短信投递状态报告(Map-Report-SM-Delivery-Status),并向HSS订阅接收终端的可达性。在接收终端可达后,网际协议短信网关11会收到归属位置寄存器/归属用户服务器14的通知。接收到可达性通知之后,网际协议短信网关11向归属位置寄存器/归属用户服务器)14发送MAP-READY-FOR-SM。归属位置寄存器/归属用户服务器14接收到消息后,向短信中心触发Alert SC(短消息中心提醒)流程,以供短信中心重发之前投递失败的短消息。具体过程可以参见图2所示出的交互图:See Figure 1 for the IMS system networking diagram. The Internet Protocol Short Message Gateway 11 provides protocol interaction between the IP-based UE (User Equipment) 12 and the SMSC (Short Message Service Center) 13 for sending and receiving short messages. When the user edits the short message on the sending terminal and selects to send, the short message will be delivered to the short message center. After receiving the short message, the short message center will send the short message to the internet protocol short message gateway 11 on the receiving terminal side, and the internet protocol short message gateway 11 will deliver the short message to the corresponding network element for delivery to the receiving terminal. When the receiving terminal cannot receive the short message due to factors such as shutdown or signal difference, the delivery of the short message will fail. In the case of a short message delivery failure, a mechanism for subscribing to the receiving terminal is established in the 3GPP standard (see 3GPP TS 23.204 for details): after the short message delivery fails, the internet protocol short message gateway 11 sends a short message delivery status report to the HLR/HSS 14 ( Map-Report-SM-Delivery-Status), and subscribe to the HSS to receive the reachability of the terminal. After the receiving terminal is reachable, the internet protocol short message gateway 11 receives the notification of the home location register/home subscriber server 14. Upon receiving the reachability notification, the Internet Protocol Short Message Gateway 11 sends MAP-READY-FOR-SM to the Home Location Register/Home Subscriber Server 14. After receiving the message, the home location register/home subscriber server 14 triggers an Alert SC (short message center reminder) procedure for the short message center to resend the short message that failed to be delivered before. For the specific process, refer to the interaction diagram shown in Figure 2:
S202、IP-SM-GW向HLR/HSS发送短消息投递状态报告并订阅接收终端的可达通知。S202. The IP-SM-GW sends a short message delivery status report to the HLR/HSS and subscribes to the reachable notification of the receiving terminal.
在状态报告中包含有短消息投递结果,在该示例当中,短消息是投递失败的。IP-SM-GW通过向HLR/HSS发送Map-Any-Time-Modification来订阅接收终端的可达性。The short message delivery result is included in the status report. In this example, the short message is a delivery failure. The IP-SM-GW subscribes to the reachability of the receiving terminal by sending a Map-Any-Time-Modification to the HLR/HSS.
S204、HLR/HSS指示MME上报接收终端可达性。S204. The HLR/HSS instructs the MME to report the reachability of the receiving terminal.
如果接收终端已在MME注册,则HLR/HSS可以向MME发送IDR请求消息(UE可达性通知),指示MME上报接收终端的可达性。如果接收终端没有在MME注册,则HLR/HSS不发送请求消息。If the receiving terminal is already registered in the MME, the HLR/HSS may send an IDR request message (UE reachability notification) to the MME, indicating that the MME reports the reachability of the receiving terminal. If the receiving terminal is not registered with the MME, the HLR/HSS does not send a request message.
S206、MME通知HLR/HSS接收终端可达。S206. The MME notifies the HLR/HSS receiving terminal that the terminal is reachable.
当接收终端可达时,MME通过NOR通知HLR/HSS该接收终端可达。When the receiving terminal is reachable, the MME notifies the HLR/HSS that the receiving terminal is reachable through NOR.
S208、HLR/HSS向IP-SM-GW发送可达通知。S208. The HLR/HSS sends a reachability notification to the IP-SM-GW.
HLR/HSS根据MME的NOR通知确定接收终端可达时,根据IP-SM-GW先前的订阅向IP-SM-GW发送可达通知。The HLR/HSS determines that the receiving terminal is reachable according to the NOR notification of the MME, and sends a reachability notification to the IP-SM-GW according to the previous subscription of the IP-SM-GW.
S210、IP-SM-GW向HLR/HSS发送MAP-READY-FOR-SM消息。S210. The IP-SM-GW sends a MAP-READY-FOR-SM message to the HLR/HSS.
IP-SM-GW根据可达通知了解到接收终端可达后,就确定可以向该接收终端重新投递短消息了,因此,此时可以通过MAP-READY-FOR-SM告知HLR/HSS向SC触发Alert SC流程。After knowing that the receiving terminal is reachable according to the reachable notification, the IP-SM-GW determines that the short message can be re-delivered to the receiving terminal. Therefore, the LR-READY-FOR-SM can be used to notify the HLR/HSS to trigger to the SC. Alert SC process.
S212、HLR/HSS向SC触发Alert SC流程。S212. The HLR/HSS triggers the Alert SC process to the SC.
HLR/HSS接收到MAP-READY-FOR-SM后,可以触发短信中心重新安排针对该接收终端的失败短信的投递。After receiving the MAP-READY-FOR-SM, the HLR/HSS can trigger the SMS center to reschedule the delivery of the failed short message for the receiving terminal.
根据上述介绍,可以了解现有触发短消息中心提醒的过程依赖于HLR/HSS向IP-SM-GW告知接收终端可达性,一旦HLR/HSS不支持IP-SM-GW的可达性订阅,则基于该方案无法实现失败短消息的投递。另一方面,IP-SM-GW向HLR/HSS进行接收终端可达性订阅需要HLR/HSS、MME等多个网元的相互配合,因此增加了这些网元的处理负担,不利于处理资源的优化配置。According to the above introduction, it can be understood that the process of triggering the short message center reminder depends on the HLR/HSS notifying the IP-SM-GW of the reachability of the receiving terminal, once the HLR/HSS does not support the reachability subscription of the IP-SM-GW. , based on the program can not achieve the delivery of failed short messages. On the other hand, the IP-SM-GW needs to cooperate with multiple network elements such as HLR/HSS and MME to perform the terminal reachability subscription to the HLR/HSS, thus increasing the processing load of these network elements, which is not conducive to processing resources. Optimization.
下面通过具体实施方式结合附图对本公开实施例作进一步详细说明。The embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
示例一:Example 1:
由于在短消息投递失败之后进行短消息中心提醒依赖于HLR/HSS向IP-SM-GW提供接收终端可达订阅的服务,进而造成短消息中心提醒要求HLR/HSS支持可达性订阅,同时,因为HLR/HSS提供可达订阅时要与MME进行交互、配合才能实现,要占用二者大量的处理资源与通信资源,所以不利于资源的优化配置。针对这些问题,本示例提供一种短消息中心提醒方法,请参见图3示出的短消息中心提醒方法的流程图:Because the short message center reminder after the short message delivery failure depends on the HLR/HSS to provide the IP-SM-GW with the service that the terminal can reach the subscription, the short message center reminds the HLR/HSS to support the reachability subscription, and Because the HLR/HSS needs to interact and cooperate with the MME when providing the reachable subscription, it needs to occupy a large amount of processing resources and communication resources, so it is not conducive to optimal configuration of resources. For these problems, this example provides a short message center reminding method, please refer to the flow chart of the short message center reminding method shown in FIG. 3:
S302、短信网关基于接收终端在应用服务器的注册确定接收终端可达。S302. The short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the application server.
假定发送终端向接收终端发送了一条内容为“你周六有时间吗?”的短消息,则当发送终端选择发送之后,该短消息首先会被传递到短消息中心,由短消息中心安排接收终端侧的短信网关对该短消息进行投递。如果短信网关投递短消息的时候,接收终端处于关机或者因通信质量极差而无法接通的状态,则短信网关的投递就会失败。在通常情况下,一条短消息投递失败之后意味着该短消息要被重新投递。Suppose the sending terminal sends a short message to the receiving terminal, "Do you have time on Saturday?", after the sending terminal chooses to send, the short message will be first transmitted to the short message center, and the short message center will arrange to receive it. The short message gateway on the terminal side delivers the short message. If the short message is delivered by the short message gateway, the receiving terminal is turned off or the communication quality is extremely poor and cannot be connected, the delivery of the short message gateway will fail. Under normal circumstances, a short message delivery failure means that the short message is to be re-delivered.
所以本示例中的短信网关会在投递失败的时候记录下针对该失败短消息,也即待重投短消息的失败投递记录,以便在对应接收终端可达的时候,再次进行该待重投短消息的投递。短信网关存储的失败投递记录可表征是哪条短消息待重投,而不用记录失败短消息的具体内容是什么,因为失败短消息的具体内容由短消息中心记录。Therefore, the short message gateway in this example records the failed short message for the failed short message, that is, the failed delivery record of the short message to be re-submitted, so that the corresponding receiving terminal is re-submitted again when the corresponding receiving terminal is reachable. Delivery of the message. The failed delivery record stored by the short message gateway can indicate which short message is to be re-invested without recording the specific content of the failed short message, because the specific content of the failed short message is recorded by the short message center.
虽然失败投递记录是短信网关在触发短消息中心提醒时所需要的,也即,失败投递记录是短信网关本身所需要的,因此理论上,失败投递记录被 存储在短信网关上,但由于一个终端从关机状态进入开机状态之后,会到AS上进行一次注册,该注册过程被称为初次注册,终端初次注册的时候,短信网关本地存储的针对该终端的数据将会被清除掉。在待重投短消息重新投递成功之前,针对该待重投短消息的失败投递记录都是所需要的,所以短信网关不能仅仅将失败投递记录存储在本地,其至少还要将该失败投递记录存储在一个不会随意被清除的地方。所以,本示例中,短信网关会将失败投递记录存储一份到HLR/HSS上。除了HLR/HSS,短信网关还可以将失败投递记录存储到其他外部存储器上,只要该存储位置中的数据不会随着终端的开关机而被删除即可。Although the failed delivery record is required by the short message gateway to trigger the short message center reminder, that is, the failed delivery record is required by the short message gateway itself, so in theory, the failed delivery record is stored on the short message gateway, but due to one After the terminal enters the power-on state from the power-off state, it will register once on the AS. The registration process is called initial registration. When the terminal is initially registered, the data stored locally for the terminal by the SMS gateway will be cleared. Before the re-posting of the short message to be re-delivered, the failed delivery record for the short message to be re-invested is required, so the short message gateway cannot store the failed delivery record locally, at least the failed delivery record. Stored in a place that won't be arbitrarily cleared. So, in this example, the SMS Gateway will store a failed delivery record on the HLR/HSS. In addition to the HLR/HSS, the SMS gateway can store the failed delivery record to other external storage as long as the data in the storage location is not deleted as the terminal is turned off.
另外,由于短信网关本身要使用失败投递记录,而只要接收终端暂时不到应用服务器上进行初次注册,则短信网关并不会将本地存储的针对该接收终端的数据进行清除,所以,在本示例中,还可以将失败投递记录存储一份在短信网关本地,这样,只要接收终端不进行初次注册,短信网关在获取失败投递记录的时候,就可以从本地获取到,相对于在任何情况下都从外部存储位置获取失败投递记录的做法,能够很好的避免从外部存储位置获取失败投递记录花费大量时间的问题。In addition, since the short message gateway itself needs to use the failed delivery record, the short message gateway does not clear the locally stored data for the receiving terminal as long as the receiving terminal does not temporarily register on the application server, so in this example In the middle, the failed delivery record can also be stored locally in the SMS gateway, so that as long as the receiving terminal does not perform the initial registration, the SMS gateway can obtain the local delivery record when it obtains the failed delivery record, as opposed to in any case. Obtaining a failed delivery record from an external storage location can well avoid the problem of taking a large amount of time to obtain a failed delivery record from an external storage location.
短信网关对待重投短消息进行重新投递的时机并不是由短消息中心或短信网关随机确定的,而是由接收终端确定的。只有当接收终端可达时,短信网关才会触发短消息中心提醒,通知短消息中心重新安排对失败短消息的投递。本示例中,短信网关可以直接从AS(Application Server,应用服务器)获取接收终端可达的信息,取代向HLR/HSS进行接收终端可达性订阅的做法。当接收终端从关机状态进入开机状态之后,会到AS上进行初次注册,这时接收终端是可用的。另外,在接收终端与应用服务器之间进行初次注册之后,要每隔一段时间向应用服务器进行一次刷新注册,以告知应用服务器自身当前是可达的,所以短信网关可以通过接收终端在AS上的初次注册与刷新注册了解接收终端可达的信息。The timing at which the short message gateway re-delivers the re-sending short message is not randomly determined by the short message center or the short message gateway, but is determined by the receiving terminal. Only when the receiving terminal is reachable, the short message gateway will trigger the short message center reminder to notify the short message center to reschedule the delivery of the failed short message. In this example, the short message gateway can directly obtain the information that the terminal can reach from the AS (Application Server) instead of receiving the terminal reachability subscription to the HLR/HSS. After the receiving terminal enters the power-on state from the power-off state, the initial registration is performed on the AS, and the receiving terminal is available at this time. In addition, after the initial registration between the receiving terminal and the application server, the application server is required to perform a refresh registration at intervals to notify the application server that it is currently reachable, so the short message gateway can receive the terminal on the AS. Initial registration and refresh registration to understand the reachable information of the receiving terminal.
S304、短信网关获取针对该接收终端待重投短消息所存储的失败投递记录。S304. The short message gateway acquires a failed delivery record stored for the short message to be re-submitted by the receiving terminal.
当短信网关根据接收终端在AS上的注册了解到该接收终端可达时,短 信网关可以获取针对该接收终端待重投短消息所存储的失败投递记录。例如,若短信网关仅在外部存储器上存储了该接收终端的失败投递记录,或当前接收终端在AS上的注册属于初次注册,则短信网关可以直接到该外部存储器获取失败投递记录。若当前接收终端在AS上的注册时刷新注册,而且终端预先不仅在外部存储器上存储了失败投递记录,而且还在本地存储了失败投递记录,则短信网关可以在本地获取失败投递记录。短信网关在本地存储失败投递记录可以是在以下两种情况中的至少一种下进行的:When the short message gateway knows that the receiving terminal is reachable according to the registration of the receiving terminal on the AS, the short message gateway can obtain the failed delivery record stored for the short message to be re-submitted by the receiving terminal. For example, if the short message gateway only stores the failed delivery record of the receiving terminal on the external memory, or the registration of the current receiving terminal on the AS belongs to the initial registration, the short message gateway can directly obtain the failed delivery record to the external memory. If the current receiving terminal refreshes the registration when registering on the AS, and the terminal not only stores the failed delivery record in the external memory, but also stores the failed delivery record locally, the short message gateway can obtain the failed delivery record locally. The SMS gateway stores the failed delivery record locally, which can be performed in at least one of the following two situations:
第一种,当短信网关将失败投递记录存储到外部存储器,诸如HLR/HSS等的同时,短信网关还将失败投递记录存储到本地。如果短信网关在接收终端注册之后获取的失败投递记录是通过这种方式存储到本地的,则接收终端在失败投递记录存储到本地之后没有进行过初次注册。First, when the short message gateway stores the failed delivery record to an external memory, such as HLR/HSS, etc., the short message gateway also stores the failed delivery record locally. If the failed delivery record acquired by the short message gateway after receiving the terminal registration is stored locally in this way, the receiving terminal does not perform the initial registration after the failed delivery record is stored locally.
第二种,短信网关在生成失败投递记录之后,仅将该失败投递记录存储到了外部存储器上,但是在接收终端初次注册或刷新注册之后,短信网关从外部存储器上获取到针对该接收终端的失败投递记录之后,将会把获取到的失败投递记录存储一份到本地。Secondly, after generating the failed delivery record, the short message gateway only stores the failed delivery record on the external storage, but after the receiving terminal first registers or refreshes the registration, the short message gateway acquires the failure for the receiving terminal from the external storage. After the record is posted, the obtained failed delivery record will be stored locally.
所以,当短信网关通过上述两种方式中的任意一种将失败投递记录存储到本地之后,在接收终端到AS上完成了刷新注册后,短信网关都可以从本地获取失败投递记录。Therefore, after the short message gateway stores the failed delivery record to the local by any of the above two methods, after the receiving terminal completes the refresh registration on the AS, the short message gateway can obtain the failed delivery record locally.
S306、短信网关根据失败投递记录触发短消息中心提醒。S306. The short message gateway triggers the short message center reminder according to the failed delivery record.
短信网关获取到失败投递记录之后,就会根据该失败投递记录触发短消息中心提醒。下面结合图4对本示例中短信网关触发短消息中心提醒的过程进行介绍:After the SMS gateway obtains the failed delivery record, it will trigger the short message center reminder according to the failed delivery record. The following describes the process of triggering the short message center reminder by the short message gateway in this example with reference to FIG. 4:
S402、短信网关向HLR/HSS发送MAP-Ready-for-SM消息。S402. The short message gateway sends a MAP-Ready-for-SM message to the HLR/HSS.
MAP-Ready-for-SM是MAP定义的有关短消息业务的消息,其通常由短信网关在接收终端可以接收短消息时发送给HLR。当HLR/HSS接收到短信网关发送的MAP-Ready-for-SM消息后,通常还会向短信网关反馈一个对应的响应消息——“MAP-Ready-for-SM-rsp”。MAP-Ready-for-SM is a message defined by the MAP about short message service, which is usually sent by the short message gateway to the HLR when the receiving terminal can receive the short message. When the HLR/HSS receives the MAP-Ready-for-SM message sent by the SMS gateway, it usually sends a corresponding response message to the SMS gateway, "MAP-Ready-for-SM-rsp".
S404、HLR/HSS向短消息中心发送MAP-Alert-Service-Center消息。S404. The HLR/HSS sends a MAP-Alert-Service-Center message to the short message center.
MAP-Alert-Service-Center即短消息中心提醒消息,其实质是用于告知短消息中心接收终端当前可达,可以安排对该接收终端进行待重投短消息的重新投递。当短消息中心接收到MAP-Alert-Service-Center消息,也会向HLR/HSS发送“MAP-Alert-Service-Center-rsp”作为响应。MAP-Alert-Service-Center is a short message center reminder message, which is used to inform the short message center that the receiving terminal is currently reachable, and can arrange to re-deliver the short message to be re-submitted to the receiving terminal. When the short message center receives the MAP-Alert-Service-Center message, it also sends "MAP-Alert-Service-Center-rsp" to the HLR/HSS as a response.
在本示例中,短信网关在短消息投递失败之后,生成针对该短消息的失败投递记录,并将该失败投递记录进行存储,当其通过对应接收终端在应用服务器上的注册了解到该接收终端可达时,可以获取失败投递记录,并根据失败投递记录触发对短消息中心的提醒,告知短消息中心安排对待重投短消息的重新投递。由于本示例中短信网关不用通过向HLR/HSS进行订阅即可从应用服务器上直接了解到接收终端可达的相关信息,所以不用要求HLR/HSS支持可达性订阅,降低了对HLR/HSS的要求。更重要的是,本示例中短信网关了解接收终端可达的方式更简单,无需HLR/HSS与MME相互配合即可实现,降低了对系统处理资源及通信资源的要求。In this example, after the short message delivery failure, the short message gateway generates a failed delivery record for the short message, and stores the failed delivery record, and learns the receiving terminal when it registers with the corresponding receiving terminal on the application server. When reachable, the failed delivery record can be obtained, and the reminder to the short message center is triggered according to the failed delivery record, and the short message center is arranged to arrange the re-delivery of the re-investment short message. In this example, the SMS gateway can directly learn the reachable information of the receiving terminal from the application server without subscribing to the HLR/HSS, so the HLR/HSS is not required to support the reachability subscription, and the HLR/HSS is reduced. Claim. More importantly, in this example, the short message gateway understands that the receiving terminal is reachable in a simple manner, and can be implemented without the cooperation of the HLR/HSS and the MME, thereby reducing the requirements for system processing resources and communication resources.
示例二:Example two:
为了使本公开中短消息中心提醒方法的优点与细节更加清楚,本示例在示例一的基础上继续对短消息中心提醒方法进行介绍,请参见图5:In order to make the advantages and details of the short message center reminding method in the present disclosure more clear, this example continues to introduce the short message center reminding method based on the first example, as shown in FIG. 5:
S502、短信网关在短消息投递失败之后存储针对该短消息的失败投递记录。S502. The short message gateway stores a failed delivery record for the short message after the short message delivery fails.
在本示例中,短信网关可以是IP-SM-GW,即网际协议短信网关。短信网关可以将失败投递记录同时存储到本地与外部存储器上。假定外部存储器为HLR/HSS上的存储器,下面对短信网关将失败投递记录存储到HLR/HSS的过程进行介绍:In this example, the short message gateway may be an IP-SM-GW, ie an internet protocol short message gateway. The SMS gateway can store the failed delivery record on both local and external storage. Assuming that the external memory is the memory on the HLR/HSS, the following describes the process of storing the failed delivery record to the HLR/HSS by the SMS gateway:
由于短信网关会向HLR/HSS发送PUR(Profile Update Request,配置文件更新请求),所以,在本示例中,短信网关和HLR/HSS预先约定在PUR中设置一个delivery-fail标记,即失败标识,用以短信网关通知HLR/HSS某一短消息投递失败了。在后续过程中,当短信网关要获取失败投递记录的时候,HLR/HSS可以直接将delivery-fail标记携带在用户数据记录中返回给短信网关。Since the short message gateway sends a PUR (Profile Update Request) to the HLR/HSS, in this example, the short message gateway and the HLR/HSS pre-arrange a setting of a delivery-fail flag in the PUR, that is, a failure identifier. Used by the SMS gateway to notify the HLR/HSS that a short message delivery failed. In the subsequent process, when the SMS gateway wants to obtain the failed delivery record, the HLR/HSS can directly carry the delivery-fail flag in the user data record and return it to the SMS gateway.
当然,由于在短消息投递后,短信网关会向HLR/HSS发送MAP-REPORT-SM-DELIVERY-STATUS消息,即短消息投递状态报告。当短消息投递失败之后,在短消息投递状态报告中也包含有短消息投递失败的相关信息,所以,短信网关也可以通过向HLR/HSS发送短消息投递状态报告,以将失败投递记录存储到HLR/HSS上。在本示例当中,短信网关既会向HLR/HSS发送携带失败标识的PUR,又会发送短消息投递状态报告。Of course, since the short message delivery, the short message gateway will send a MAP-REPORT-SM-DELIVERY-STATUS message to the HLR/HSS, that is, a short message delivery status report. After the short message delivery failure, the short message delivery status report also includes the relevant information of the short message delivery failure. Therefore, the short message gateway can also send the short delivery delivery status report to the HLR/HSS to store the failed delivery record. HLR/HSS. In this example, the short message gateway will send a PUR carrying the failure identifier to the HLR/HSS, and will also send a short message delivery status report.
S504、当监测到待重投短消息对应的接收终端在AS上注册时,短信网关获取失败投递记录。S504. When it is detected that the receiving terminal corresponding to the to-be-re-transmitted short message is registered on the AS, the short message gateway acquires the failed delivery record.
当短信网关确定接收终端在应用服务器AS上进行注册后,短信网关可以获取预先存储的失败投递记录。如果接收终端进行的是初次注册,则短信网关从HLR/HSS等外部存储位置上获取失败投递记录,并将获取到的失败投递记录存储到本地,以防当前的短信重投不成功,后续接收终端进行刷新注册的时候可以直接从本地获得失败投递记录,从而节省获得失败投递记录的时间。After the short message gateway determines that the receiving terminal registers on the application server AS, the short message gateway can obtain the pre-stored failed delivery record. If the receiving terminal performs the initial registration, the short message gateway obtains the failed delivery record from the external storage location such as the HLR/HSS, and stores the obtained failed delivery record locally, in case the current short message retransmission is unsuccessful, and the subsequent receiving is performed. When the terminal performs refresh registration, the failed delivery record can be obtained directly from the local, thereby saving the time for obtaining the failed delivery record.
如果接收终端在应用服务器上进行的是刷新注册,则因为本示例中短信网关之前在本地存储了失败投递记录,所以,短信网关可以直接从本地获取到失败投递记录。If the receiving terminal performs refresh registration on the application server, since the short message gateway previously stores the failed delivery record locally in this example, the short message gateway can directly obtain the failed delivery record from the local.
S506、短信网关根据失败投递记录触发短消息中心提醒。S506. The short message gateway triggers the short message center reminder according to the failed delivery record.
短信网关根据失败投递记录触发短消息中心提醒的过程在示例一中已经进行了比较详细的介绍,这里不再阐述。The process of the SMS gateway triggering the short message center reminder based on the failed delivery record has been described in detail in Example 1, and will not be described here.
S508、短信网关判断待重投短消息是否投递成功。S508. The short message gateway determines whether the short message to be re-sent is successfully delivered.
当短消息中心控制短信网关对待重投短消息进行再次投递之后,只会有这样两种结果,一种是该待重投短消息投递成功了,另一种自然是待重投短消息的重新投递失败了。若判断结果为是,则执行S510,否则要继续对待重投短消息进行投递,因此转至S504。When the short message center controls the short message gateway to re-deliver the short message, there will only be two kinds of results. One is that the short message to be re-sent is successfully delivered, and the other is naturally the re-sending of the short message. Delivery failed. If the result of the determination is YES, then S510 is executed, otherwise the re-sending short message is to be delivered, so the process goes to S504.
S510、短信网关清除针对该待重投短消息的失败投递记录。S510. The short message gateway clears the failed delivery record for the short message to be re-sent.
由于短信网关在接收终端注册的时候就一定会获取失败投递记录进行对应失败短消息的重新投递,所以为了避免原本投递失败的短消息重投成功 之后短信网关还会继续进行短信投递,给接收用户造成不佳的用户体验,浪费通信资源,本示例中,当待重投短消息的重投成功之后,短信网关将会清除针对该短消息的失败投递记录。短信网关要清除包括本地的和外部存储器的所有存储位置上的失败投递记录。Since the short message gateway obtains the failed delivery record and re-delivers the corresponding failed short message when the receiving terminal registers, the short message will continue to send the short message to the receiving user after the successful retransmission of the short message. This causes a poor user experience and wastes communication resources. In this example, after the re-investment of the short message to be re-successful is successful, the short message gateway will clear the failed delivery record for the short message. The SMS gateway clears the failed delivery records on all storage locations, including local and external storage.
本示例中提供的短消息中心提醒方法,可以通过向HLR/HSS发送携带失败标识的配置文件更新请求从而将针对投递失败的短消息的失败投递记录存储到HLR/HSS上,利用HLR/HSS等外部存储器不会因为接收终端状态的变化而清除失败投递记录的优点,让短信网关即使在接收终端初次注册后也能获得针对该接收终端待重投短消息的失败投递记录,从而对失败短消息进行重投。另外本示例提供的短消息中心提醒方法还会在失败短消息的重投成功之后,删除本地与外部存储器上存储的这对该短消息的失败投递记录,避免短信网关一直对已经投递成功的短消息进行重复投递,浪费通信资源,降低用户体验。The short message center reminding method provided in this example can store the failed delivery record of the short message for delivery failure to the HLR/HSS by using the configuration file update request carrying the failure identifier to the HLR/HSS, and utilize the HLR/HSS, etc. The external memory does not clear the advantage of the failed delivery record due to the change of the state of the receiving terminal, so that the short message gateway can obtain the failed delivery record for the receiving terminal to re-send the short message even after the initial registration of the receiving terminal, thereby the failure short message. Make a heavy shot. In addition, the short message center reminding method provided by the example also deletes the failed delivery record of the short message stored on the local and external memory after the successful retransmission of the failed short message, so as to avoid the SMS gateway always has a short delivery success. Messages are delivered repeatedly, wasting communication resources and reducing user experience.
示例三:Example three:
本示例结合具体的示例对短消息中心提醒进行进一步介绍,本示例中假定短信网关为IP-SM-GW,由于IP-SM-GW可以作为独立网元进行部署,也可以和其他逻辑网元部署在一起。在本示例中,IP-SM-GW部署在应用服务器上,所以,接收终端向应用服务器注册也就相当于向IP-SM-GW进行注册。值得注意的是这里所说的“相当于”实质是站在物理实体的角度上说的,是省略应用服务器这一逻辑网元与IP-SM-GW这一逻辑网关内部交互等到的,并不是完全等同。This example is further introduced to the short message center reminder with a specific example. In this example, the short message gateway is assumed to be an IP-SM-GW. The IP-SM-GW can be deployed as an independent network element or deployed with other logical network elements. Together. In this example, the IP-SM-GW is deployed on the application server, so that the receiving terminal registers with the application server, which is equivalent to registering with the IP-SM-GW. It is worth noting that the "equivalent" mentioned here is essentially from the perspective of physical entities. It is the internal network element that omits the application server and the internal logic of IP-SM-GW. It is not It is exactly the same.
下面将分失败投递记录的存储、初次注册时的短消息中心提醒以及刷新注册时的短消息中心提醒三个过程进行阐述,下面请先参见图6所示出的存储失败投递记录的一种交互图:The following describes the three processes of storing the failed delivery record, the short message center reminder at the time of initial registration, and the short message center reminder at the time of refreshing registration. Please refer to the interaction of storing the failed delivery record shown in FIG. 6 first. Figure:
S601、IP-SM-GW向HLR/HSS发送短消息投递状态报告;S601. The IP-SM-GW sends a short message delivery status report to the HLR/HSS.
S602、IP-SM-GW在本地保存失败投递记录;S602: The IP-SM-GW saves the failed delivery record locally;
S603、IP-SM-GW向HLR/HSS发送PUR消息;S603. The IP-SM-GW sends a PUR message to the HLR/HSS.
S604、HLR/HSS向IP-SM-GW发送PUA消息。S604. The HLR/HSS sends a PUA message to the IP-SM-GW.
在本示例中,IP-SM-GW向HLR/HSS发送PUR消息中携带有delivery-fail标记,其可以向HLR/HSS指示短信投递失败。当然,HLR/HSS从短消息投递状态报告中也可以了解到短消息的投递结果。IP-SM-GW之所以会在HLR/HSS能够通过短消息投递状态报告中了解短消息投递结果的情况下还向其发送携带失败标识的PUR消息,这主要是因为短消息投递状态报告是现有通信协议中规定的,无论短消息的投递结果成功与否IP-SM-GW都会向HLR/HSS发送的。而在本示例中,后续IP-SM-GW获取失败投递记录的时候,只要了解投递失败了的短消息是哪些,并不关心投递成功的短消息。所以,如果IP-SM-GW仅向HLR/HSS发送短消息投递状态报告,则HLR/HSS可能还要根据接收的消息进行筛选才能向IP-SM-GW提供失败投递记录,因此,为了避免HLR/HSS根据短消息投递状态报告进行筛选,本示例中IP-SM-GW会在短消息投递失败之后向HLR/HSS发送携带有失败标识的PUR消息。In this example, the IP-SM-GW sends a PUR message to the HLR/HSS carrying a delivery-fail flag, which can indicate to the HLR/HSS that the short message delivery failed. Of course, the HLR/HSS can also know the delivery result of the short message from the short message delivery status report. The IP-SM-GW will also send a PUR message carrying the failure identifier to the HLR/HSS if it can understand the short message delivery result in the short message delivery status report. This is mainly because the short message delivery status report is present. As specified in the communication protocol, the IP-SM-GW will send it to the HLR/HSS regardless of the success or failure of the delivery of the short message. In this example, when the subsequent IP-SM-GW obtains the failed delivery record, it is only necessary to know which short messages failed to be delivered, and does not care about the short messages that are successfully delivered. Therefore, if the IP-SM-GW only sends a short message delivery status report to the HLR/HSS, the HLR/HSS may also need to filter according to the received message to provide a failed delivery record to the IP-SM-GW, therefore, in order to avoid the HLR. The /HSS filters according to the short message delivery status report. In this example, the IP-SM-GW sends a PUR message carrying the failure identifier to the HLR/HSS after the short message delivery failure.
S601、S602、S603这三个过程并没有严格的时序限制,短信网关可以根据自己的实际需求选择执行顺序。由于HLR/HSS向IP-SM-GW发送的PUA消息是对IP-SM-GW发送的PUR消息的响应,所以,S604一定是在S603之后的。The three processes S601, S602, and S603 do not have strict timing constraints. The SMS gateway can select the execution sequence according to its actual needs. Since the PUA message sent by the HLR/HSS to the IP-SM-GW is a response to the PUR message sent by the IP-SM-GW, S604 must be after S603.
请参见图7示出的IP-SM-GW根据接收终端在AS上的初次注册进行短消息中心提醒的一种交互图:Please refer to the interaction diagram of the short message center reminder of the IP-SM-GW shown in FIG. 7 according to the initial registration of the receiving terminal on the AS:
S701、接收终端向AS发起初始注册。S701. The receiving terminal initiates an initial registration with the AS.
由于AS与IP-SM-GW部署在一起,也即IP-SM-GW被部署到应用服务器上,所以IP-SM-GW的部分功能可以由应用服务器承担。所以当接收终端向AS发起注册的时候,IP-SM-GW可以立即获知到该信息。Since the AS is deployed with the IP-SM-GW, that is, the IP-SM-GW is deployed to the application server, some functions of the IP-SM-GW can be assumed by the application server. Therefore, when the receiving terminal initiates registration with the AS, the IP-SM-GW can immediately know the information.
S702、IP-SM-GW向HLR/HSS发送用户数据请求UDR。S702. The IP-SM-GW sends a user data request UDR to the HLR/HSS.
S703、HLR/HSS向IP-SM-GW发送用户数据响应UDA。S703. The HLR/HSS sends a user data response UDA to the IP-SM-GW.
UDR(User Data Request,用户数据请求)能够让HLR/HSS将存储的用户数据发送给IP-SM-GW,在HLR/HSS向IP-SM-GW发送的UDA当中,包括有IP-SM-GW预先发送给HLR/HSS的delivery-fail标记。The UDR (User Data Request) enables the HLR/HSS to send the stored user data to the IP-SM-GW. Among the UDAs sent by the HLR/HSS to the IP-SM-GW, the IP-SM-GW is included. The delivery-fail flag pre-sent to the HLR/HSS.
S704、IP-SM-GW向HLR/HSS发送订阅通知请求SNR。S704. The IP-SM-GW sends a subscription notification request SNR to the HLR/HSS.
S705、HLR/HSS向IP-SM-GW发送订阅通知请求SNA。S705. The HLR/HSS sends a subscription notification request SNA to the IP-SM-GW.
发送SNR(Subscribe Notification Request,订阅通知请求)与接收SNA(Subscribe Notification Answer,订阅通知响应)的过程是现有终端在应用服务器上注册所经历的过程,并不是本示例中实现短消息中心提醒所必须的过程。The process of sending the SNR (Subscribe Notification Request) and receiving the SNA (Subscribe Notification Answer) is the process that the existing terminal registers on the application server, and is not the short message center reminder in this example. The necessary process.
S706、IP-SM-GW向接收终端发送200OK消息。S706. The IP-SM-GW sends a 200 OK message to the receiving terminal.
当IP-SM-GW接收到HLR/HSS发送的用户数据响应SNA之后,表征接收终端在应用服务器上的初始注册已经成功,所以IP-SM-GW会向接收终端侧发送一个200OK消息作为接收终端发送注册请求的响应。After the IP-SM-GW receives the user data response SNA sent by the HLR/HSS, it indicates that the initial registration of the receiving terminal on the application server has succeeded, so the IP-SM-GW sends a 200 OK message to the receiving terminal side as the receiving terminal. Send a response to the registration request.
S707、IP-SM-GW向HLR/HSS发送MAP-Ready-for-SM消息。S707. The IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS.
S708、HLR/HSS向IP-SM-GW发送MAP-Ready-for-SM-rsp消息。S708. The HLR/HSS sends a MAP-Ready-for-SM-rsp message to the IP-SM-GW.
IP-SM-GW向HLR/HSS发送MAP-Ready-for-SM消息是为了通知HLR/HSS对短消息中心进行MAP-Alert-Service-Center提醒,而MAP-Ready-for-SM-rsp则是HLR/HSS在接收到MAP-Ready-for-SM之后对IP-SM-GW的响应消息。The IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS to inform the HLR/HSS to perform a MAP-Alert-Service-Center alert to the short message center, while the MAP-Ready-for-SM-rsp is The response message of the HLR/HSS to the IP-SM-GW after receiving the MAP-Ready-for-SM.
S709、HLR/HSS向短消息中心发送MAP-Alert-Service-Center消息。S709. The HLR/HSS sends a MAP-Alert-Service-Center message to the short message center.
S710、短消息中心向HLR/HSS发送MAP-Alert-Service-Center-rsp消息。S710: The short message center sends a MAP-Alert-Service-Center-rsp message to the HLR/HSS.
HLR/HSS向短消息中心发送的MAP-Alert-Service-Center消息可以用于提醒短消息中心当前接收终端可达,可以重新对之前投递失败的短消息进行重新投递。而短消息中心接收到MAP-Alert-Service-Center之后,会向HLR/HSS反馈MAP-Alert-Service-Center-rsp消息作为响应。The MAP-Alert-Service-Center message sent by the HLR/HSS to the short message center can be used to remind the short-message center that the current receiving terminal is reachable, and can re-deliver the short message that failed to be delivered before. After receiving the MAP-Alert-Service-Center, the short message center will respond to the HLR/HSS with a MAP-Alert-Service-Center-rsp message as a response.
下面假定短消息中心重新安排对原本投递失败的短消息进行重新投递后投递结果为成功。则IP-SM-GW还会删除针对该短消息的失败投递记录:The following assumes that the short message center reschedules the delivery of the short message that was originally failed to be delivered and the delivery result is successful. The IP-SM-GW also deletes the failed delivery record for the short message:
S711、IP-SM-GW删除本地存储的失败投递记录。S711. The IP-SM-GW deletes the failed delivery record of the local storage.
S712、IP-SM-GW向HLR/HSS发送不携带失败标识的PUR消息。S712. The IP-SM-GW sends a PUR message that does not carry the failure identifier to the HLR/HSS.
S713、HLR/HSS向IP-SM-GW发送PUA消息。S713. The HLR/HSS sends a PUA message to the IP-SM-GW.
在图7当中,S712与S713是为了清除存储在HLR/HSS上的失败投递记录,而S711则是为了清除存储在IP-SM-GW本地的失败投递记录。但其实IP-SM-GW可以先清除本地存储的失败投递记录,也可以先清除存储在HLR/HSS上的失败投递记录,所以,S711可以在S712之前,也可以在S713之后。In Fig. 7, S712 and S713 are for clearing the failed delivery record stored on the HLR/HSS, and S711 is for clearing the failed delivery record stored locally at the IP-SM-GW. However, the IP-SM-GW may first clear the failed delivery record of the local storage, or may first clear the failed delivery record stored on the HLR/HSS. Therefore, the S711 may be before S712 or after S713.
请参见图8示出的IP-SM-GW根据接收终端在AS上的初次注册进行短消息中心提醒的一种交互图:Please refer to FIG. 8 for an interaction diagram of the short message center reminder by the IP-SM-GW according to the initial registration of the receiving terminal on the AS:
S801、接收终端向AS发起刷新注册。S801. The receiving terminal initiates a refresh registration to the AS.
S802、AS向接收终端返回200OK消息。S802. The AS returns a 200 OK message to the receiving terminal.
由于刷新注册并不会使IP-SM-GW清除本地存储的该接收终端的数据,所以在本示例中,IP-SM-GW在刷新注册后不向HLR/HSS获取用户数据,AS在接收到刷新注册之后,可以直接向接收终端返回200OK消息进行响应。Since the refresh registration does not cause the IP-SM-GW to clear the locally stored data of the receiving terminal, in this example, the IP-SM-GW does not acquire user data from the HLR/HSS after refreshing the registration, and the AS receives the data. After the registration is refreshed, a 200 OK message can be directly returned to the receiving terminal to respond.
S803、IP-SM-GW向HLR/HSS发送MAP-Ready-for-SM消息。S803. The IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS.
S804、HLR/HSS向IP-SM-GW发送MAP-Ready-for-SM-rsp消息。S804. The HLR/HSS sends a MAP-Ready-for-SM-rsp message to the IP-SM-GW.
IP-SM-GW根据本地存储的失败投递记录向HLR/HSS发送MAP-Ready-for-SM消息是为了通知HLR/HSS对短消息中心进行MAP-Alert-Service-Center提醒,而MAP-Ready-for-SM-rsp则是HLR/HSS在接收到MAP-Ready-for-SM之后对IP-SM-GW的响应消息。The IP-SM-GW sends a MAP-Ready-for-SM message to the HLR/HSS according to the locally stored failed delivery record to notify the HLR/HSS to perform a MAP-Alert-Service-Center reminder to the short message center, and MAP-Ready- The for-SM-rsp is a response message to the IP-SM-GW after the HLR/HSS receives the MAP-Ready-for-SM.
S805、HLR/HSS向短消息中心发送MAP-Alert-Service-Center消息。S805. The HLR/HSS sends a MAP-Alert-Service-Center message to the short message center.
S806、短消息中心向HLR/HSS发送MAP-Alert-Service-Center-rsp消息。S806. The short message center sends a MAP-Alert-Service-Center-rsp message to the HLR/HSS.
HLR/HSS向短消息中心发送的MAP-Alert-Service-Center消息可以用于提醒短消息中心当前接收终端可达,可以重新对之前投递失败的短消息进行重新投递。而短消息中心接收到MAP-Alert-Service-Center之后,会向HLR/HSS反馈MAP-Alert-Service-Center-rsp消息作为响应。The MAP-Alert-Service-Center message sent by the HLR/HSS to the short message center can be used to remind the short-message center that the current receiving terminal is reachable, and can re-deliver the short message that failed to be delivered before. After receiving the MAP-Alert-Service-Center, the short message center will respond to the HLR/HSS with a MAP-Alert-Service-Center-rsp message as a response.
本示例中,若短消息中心安排IP-SM-GW对失败短消息进行重新投递,并投递成功之后,IP-SM-GW清除存储在本地和HLR/HSS上的失败投递记录,其过程与初次注册后的过程相同,这里不再赘述。若投递失败,则继续 等待接收终端在AS上的刷新注册或者初次注册。In this example, if the short message center arranges the IP-SM-GW to re-deliver the failed short message and delivers it successfully, the IP-SM-GW clears the failed delivery record stored locally and on the HLR/HSS, the process and the initial The process after registration is the same and will not be described here. If the delivery fails, it continues to wait for the receiving terminal to refresh registration or initial registration on the AS.
本公开实施例提供的短消息中心提醒方法,IP-SM-GW与应用服务器部署在一起,所以二者的部分功能可以共同承担,当接收终端向应用服务器注册的时候,IP-SM-GW能够快速获取到注册消息,IP-SM-GW能够理解了解到,相对于向HLR/HSS进行接收终端可达性订阅的做法,能够更快速地获取接收终端可达的时间,降低了对系统处理资源与通信资源的占用,有利于资源的优化配置。The short message center reminding method provided by the embodiment of the present disclosure, the IP-SM-GW is deployed together with the application server, so some functions of the two can be jointly assumed. When the receiving terminal registers with the application server, the IP-SM-GW can By quickly obtaining the registration message, the IP-SM-GW can understand that the receiving terminal accessibility subscription to the HLR/HSS can obtain the time that the receiving terminal can reach more quickly and reduce the processing resources of the system. The occupation of communication resources is conducive to the optimal configuration of resources.
示例四:Example four:
本示例提供一种短信网关,请参见图9:短信网关90包括记录模块902、确定模块904、获取模块906以及提醒模块908。The present example provides a short message gateway. Referring to FIG. 9 , the short message gateway 90 includes a recording module 902 , a determining module 904 , an obtaining module 906 , and a reminding module 908 .
假定发送终端向接收终端发送了一条内容为“你周六有时间吗?”的短消息,则当发送终端选择发送之后,该短消息首先会被传递到短消息中心,由短消息中心安排接收终端侧的短信网关90对该短消息进行投递。如果短信网关90投递短消息的时候,接收终端处于关机或者因通信质量极差而无法接通的状态,则短信网关90的投递就会失败。在通常情况下,一条短消息投递失败之后意味着该短消息要被重新投递。Suppose the sending terminal sends a short message to the receiving terminal, "Do you have time on Saturday?", after the sending terminal chooses to send, the short message will be first transmitted to the short message center, and the short message center will arrange to receive it. The short message gateway 90 on the terminal side delivers the short message. If the short message is sent by the short message gateway 90, the receiving terminal is turned off or the communication quality is extremely poor and cannot be connected, the delivery of the short message gateway 90 will fail. Under normal circumstances, a short message delivery failure means that the short message is to be re-delivered.
所以本示例中的记录模块902会在投递失败的时候记录下针对该失败短消息,也即待重投短消息的失败投递记录,以便在对应接收终端可达的时候,再次进行该待重投短消息的投递。记录模块902存储的失败投递记录可表征是哪条短消息待重投,而不用记录失败短消息的具体内容是什么,因为失败短消息的具体内容由短消息中心记录。Therefore, the recording module 902 in this example records the failed delivery message for the failed short message, that is, the failed delivery record of the short message to be re-submitted when the corresponding receiving terminal is reachable. Delivery of short messages. The failed delivery record stored by the recording module 902 can characterize which short message is to be re-invested without recording what the specific content of the failed short message is because the specific content of the failed short message is recorded by the short message center.
虽然失败投递记录是提醒模块908在触发短消息中心提醒时所需要的,也即,失败投递记录是短信网关90本身所需要的,因此理论上,失败投递记录被存储在短信网关90上,但由于一个终端从关机状态进入开机状态之后,会到AS上进行一次注册,该注册过程被称为初次注册,终端初次注册的时候,短信网关90本地存储的针对该终端的数据将会被清除掉。在待重投短消息重新投递成功之前,针对该待重投短消息的失败投递记录是所需要的,所以记录模块902不能仅仅将失败投递记录存储在本地,其至少还要将该失败投递记录存储在一个不会随意被清除的地方。所以,本示例中,记录 模块902会将失败投递记录存储一份到HLR/HSS上。除了HLR/HSS,记录模块902还可以将失败投递记录存储到其他外部存储器上,只要该存储位置中的数据不会随着终端的开关机而被删除即可。Although the failed delivery record is required by the reminder module 908 to trigger the short message center reminder, that is, the failed delivery record is required by the short message gateway 90 itself, so in theory, the failed delivery record is stored on the short message gateway 90. However, after a terminal enters the power-on state from the power-off state, it will register once on the AS. The registration process is called initial registration. When the terminal is initially registered, the data stored locally by the SMS gateway 90 for the terminal will be cleared. Drop it. Before the re-posting of the short message to be re-delivered, the failed delivery record for the short message to be re-sent is required, so the recording module 902 cannot store the failed delivery record locally, at least the failed delivery record. Stored in a place that won't be arbitrarily cleared. Therefore, in this example, the logging module 902 will store a failed delivery record on the HLR/HSS. In addition to the HLR/HSS, the logging module 902 can also store the failed posting record on other external memory as long as the data in the storage location is not deleted as the terminal is turned off.
另外,由于短信网关90本身要使用失败投递记录,而只要接收终端暂时不到应用服务器上进行初次注册,则短信网关90并不会将本地存储的针对该接收终端的数据进行清除,所以,在本示例中,记录模块902还可以将失败投递记录存储一份在短信网关90本地,这样,只要接收终端不进行初次注册,在获取失败投递记录的时候,获取模块906就可以从本地获取到,相对于在任何情况下都从外部存储位置获取失败投递记录的做法,能够很好的避免从外部存储位置获取失败投递记录要花费大量时间的问题。In addition, since the short message gateway 90 itself needs to use the failed delivery record, the short message gateway 90 does not clear the locally stored data for the receiving terminal as long as the receiving terminal temporarily does not perform the initial registration on the application server, so In this example, the recording module 902 can also store the failed delivery record in the local area of the short message gateway 90. Thus, as long as the receiving terminal does not perform the initial registration, the obtaining module 906 can obtain the local delivery when the failed delivery record is acquired. The problem of obtaining a failed delivery record from an external storage location in any case can well avoid the problem of taking a large amount of time to obtain a failed delivery record from an external storage location.
短信网关90对待重投短消息进行重新投递的时机并不是自己或短消息中心随机确定的,而是由接收终端确定的。只有当接收终端可达时,提醒模块908才会触发短消息中心提醒,通知短消息中心重新安排对失败短消息的投递。本示例中,确定模块904可以直接从AS(Application Server,应用服务器)获取接收终端可达的信息,取代向HLR/HSS进行接收终端可达性订阅的做法。当接收终端从关机状态进入开机状态之后,会到AS上进行初次注册,这时接收终端是可用的。另外,在接收终端与应用服务器之间进行初次注册之后,要每隔一段时间向应用服务器进行一次刷新注册,以告知应用服务器自身当前是可达的,所以确定模块904可以通过接收终端在AS上的初次注册于刷新注册了解接收终端可达的信息。The timing at which the short message gateway 90 re-delivers the re-sending short message is not determined by itself or the short message center, but is determined by the receiving terminal. Only when the receiving terminal is reachable, the reminding module 908 triggers the short message center reminder to notify the short message center to reschedule the delivery of the failed short message. In this example, the determining module 904 can directly obtain the information reachable by the receiving terminal from the AS (Application Server) instead of receiving the terminal reachability subscription to the HLR/HSS. After the receiving terminal enters the power-on state from the power-off state, the initial registration is performed on the AS, and the receiving terminal is available at this time. In addition, after the initial registration between the receiving terminal and the application server, the application server is required to perform a refresh registration at intervals to notify the application server that it is currently reachable, so the determining module 904 can receive the terminal on the AS. The initial registration is to refresh the registration to know the reachable information of the receiving terminal.
当确定模块904根据接收终端在AS上的注册了解到该接收终端可达时,获取模块906可以获取针对该接收终端待重投短消息所存储的失败投递记录。例如,若记录模块902仅在外部存储器上存储了该接收终端的失败投递记录,或当前接收终端在AS上的注册属于初次注册,则获取模块906可以直接到该外部存储器获取失败投递记录。若当前接收终端在AS上的注册时刷新注册,而且终端预先不仅在外部存储器上存储了失败投递记录,而且还在本地存储了失败投递记录,则获取模块906可以在本地获取失败投递记录。记录模块902在本地存储失败投递记录可以是在这两种情况下进行的:When the determining module 904 knows that the receiving terminal is reachable according to the registration of the receiving terminal on the AS, the obtaining module 906 can acquire the failed posting record stored for the receiving terminal to be re-sending the short message. For example, if the recording module 902 stores the failed delivery record of the receiving terminal only on the external memory, or the registration of the current receiving terminal on the AS belongs to the initial registration, the obtaining module 906 can directly obtain the failed delivery record to the external memory. If the current receiving terminal refreshes the registration at the time of registration on the AS, and the terminal not only stores the failed posting record on the external memory in advance, but also stores the failed delivery record locally, the obtaining module 906 can obtain the failed delivery record locally. Recording module 902 storing the failed delivery record locally can be done in both cases:
第一种,当记录模块902将失败投递记录存储到外部存储器,诸如 HLR/HSS等的同时,还将失败投递记录存储到本地。如果获取模块906在接收终端注册之后获取的失败投递记录是通过这种方式存储到本地的,则接收终端在失败投递记录存储到本地之后没有进行过初次注册。First, when the recording module 902 stores the failed posting record to an external memory, such as HLR/HSS, etc., the failed posting record is also stored locally. If the failed delivery record acquired by the acquisition module 906 after receiving the terminal registration is stored locally in this manner, the receiving terminal has not made the initial registration after the failed delivery record is stored locally.
第二种,记录模块902在生成失败投递记录之后,仅将该失败投递记录存储到了外部存储器上,但是在接收终端初次注册或刷新注册之后,获取模块906从外部存储器上获取到针对该接收终端的失败投递记录之后,记录模块902将会把获取到的失败投递记录存储一份到本地。Second, the recording module 902 stores only the failed delivery record on the external memory after generating the failed delivery record, but after the receiving terminal first registers or refreshes the registration, the obtaining module 906 acquires from the external memory for the receiving terminal. After the failed delivery record, the recording module 902 will store the obtained failed delivery record to the local.
所以,当记录模块902通过上述两种方式中的至少一种将失败投递记录存储到本地之后,在确定模块904了解到接收终端到AS上完成了刷新注册后,获取模块906都可以从本地获取失败投递记录。Therefore, after the recording module 902 stores the failed posting record to the local by at least one of the above two methods, after the determining module 904 learns that the receiving terminal completes the refresh registration on the AS, the obtaining module 906 can obtain the local obtaining. Failed to post records.
获取模块906获取到失败投递记录之后,就会根据该失败投递记录触发短消息中心提醒。提醒模块908可以通过向HLR/HSS发送MAP-Ready-for-SM触发短消息中心提醒,MAP-Ready-for-SM是MAP定义的有关短消息业务的消息,其通常由短信网关在接收终端可以接收短消息时发送给HLR。当HLR/HSS接收到提醒模块908发送的MAP-Ready-for-SM消息后,通常还会向提醒模块908反馈一个对应的响应消息——“MAP-Ready-for-SM-rsp”。After the acquisition module 906 obtains the failed delivery record, the short message center reminder is triggered according to the failed delivery record. The reminder module 908 can trigger a short message center reminder by sending a MAP-Ready-for-SM to the HLR/HSS, which is a message defined by the MAP about the short message service, which is usually received by the short message gateway. It can be sent to the HLR when it receives a short message. When the HLR/HSS receives the MAP-Ready-for-SM message sent by the reminder module 908, a corresponding response message "MAP-Ready-for-SM-rsp" is usually also fed back to the reminder module 908.
HLR/HSS接收到MAP-Ready-for-SM后会向短消息中心发送短消息中心提醒消息,即MAP-Alert-Service-Center消息,用于告知短消息中心接收终端当前可达,可以安排对该接收终端进行待重投短消息的重新投递。当短消息中心接收到MAP-Alert-Service-Center消息,也会向HLR/HSS发送“MAP-Alert-Service-Center-rsp”作为响应。After receiving the MAP-Ready-for-SM, the HLR/HSS sends a short message center reminder message to the short message center, that is, the MAP-Alert-Service-Center message, which is used to inform the short message center that the receiving terminal is currently reachable, and can arrange the pair. The receiving terminal performs re-delivery of the short message to be re-submitted. When the short message center receives the MAP-Alert-Service-Center message, it also sends "MAP-Alert-Service-Center-rsp" to the HLR/HSS as a response.
在本示例中,短信网关在短消息投递失败之后,生成针对该短消息的失败投递记录,并将该失败投递记录进行存储,当其通过对应接收终端在应用服务器上的注册了解到该接收终端可达时,可以获取失败投递记录,并根据失败投递记录触发对短消息中心的提醒,告知短消息中心安排对待重投短消息的重新投递。由于本示例中短信网关不用通过向HLR/HSS进行订阅即可从应用服务器上直接了解到接收终端可达的相关信息,所以不用要求HLR/HSS支持可达性订阅,降低了对HLR/HSS的要求。更重要的是,本示 例中短信网关了解接收终端可达的方式更简单,无需HLR/HSS与MME相互配合即可实现,降低了对系统处理资源及通信资源的要求。In this example, after the short message delivery failure, the short message gateway generates a failed delivery record for the short message, and stores the failed delivery record, and learns the receiving terminal when it registers with the corresponding receiving terminal on the application server. When reachable, the failed delivery record can be obtained, and the reminder to the short message center is triggered according to the failed delivery record, and the short message center is arranged to arrange the re-delivery of the re-investment short message. In this example, the SMS gateway can directly learn the reachable information of the receiving terminal from the application server without subscribing to the HLR/HSS, so the HLR/HSS is not required to support the reachability subscription, and the HLR/HSS is reduced. Claim. More importantly, in this example, the short message gateway understands that the receiving terminal is reachable in a simple manner, and can be implemented without the cooperation of the HLR/HSS and the MME, thereby reducing the requirements for processing resources and communication resources of the system.
示例五:Example five:
为了使本公开中短消息中心提醒方法的优点与细节更加清楚,本示例在示例四的基础上继续对短信网关进行介绍,请继续参照图10,短信网关90还包括清除模块910。In order to make the advantages and details of the short message center reminding method in the present disclosure clearer, the present example continues to introduce the short message gateway based on the fourth example. Referring to FIG. 10, the short message gateway 90 further includes a clearing module 910.
记录模块902在短消息投递失败之后存储针对该短消息的失败投递记录。在本示例中,短信网关90可以是IP-SM-GW,即网际协议短信网关。记录模块902可以将失败投递记录同时存储到本地与外部存储器上。假定外部存储器为HLR/HSS上的存储器,下面对记录模块902将失败投递记录存储到HLR/HSS的过程进行介绍:The logging module 902 stores a failed posting record for the short message after the short message delivery failure. In this example, the short message gateway 90 may be an IP-SM-GW, ie an internet protocol short message gateway. The logging module 902 can store the failed posting records on both local and external storage. Assuming that the external memory is a memory on the HLR/HSS, the following describes the process by which the logging module 902 stores the failed posting record to the HLR/HSS:
由于短信网关90会向HLR/HSS发送PUR(Profile Update Request,配置文件更新请求),所以,在本示例中,记录模块902和HLR/HSS预先约定在PUR中设置一个delivery-fail标记,即失败标识,用以记录模块902通知HLR/HSS某一短消息投递失败了。在后续过程中,当获取模块906要获取失败投递记录的时候,HLR/HSS可以直接将delivery-fail标记携带在用户数据记录中返回给获取模块906。Since the short message gateway 90 sends a PUR (Profile Update Request) to the HLR/HSS, in this example, the recording module 902 and the HLR/HSS pre-agreed to set a delivery-fail flag in the PUR, that is, the failure The identifier is used by the recording module 902 to notify the HLR/HSS that a short message delivery has failed. In the subsequent process, when the obtaining module 906 wants to obtain the failed delivery record, the HLR/HSS can directly carry the delivery-fail flag in the user data record and return it to the obtaining module 906.
当然,由于在短消息投递后,短信网关90会向HLR/HSS发送MAP-REPORT-SM-DELIVERY-STATUS消息,即短消息投递状态报告。当短消息投递失败之后,在短消息投递状态报告中也包含有短消息投递失败的相关信息,所以,记录模块902也可以通过向HLR/HSS发送短消息投递状态报告,以将失败投递记录存储到HLR/HSS上。在本示例当中,短信网关90既会向HLR/HSS发送携带失败标识的PUR,又会发送短消息投递状态报告。Of course, since the short message delivery, the short message gateway 90 will send a MAP-REPORT-SM-DELIVERY-STATUS message to the HLR/HSS, that is, a short message delivery status report. After the short message delivery failure, the short message delivery status report also includes the relevant information of the short message delivery failure, so the recording module 902 can also send the short message delivery status report to the HLR/HSS to store the failed delivery record. Go to HLR/HSS. In this example, the short message gateway 90 will both send a PUR carrying a failure identifier to the HLR/HSS and a short message delivery status report.
当确定接收终端在应用服务器AS上进行注册后,获取模块906可以获取预先存储的失败投递记录。如果接收终端进行的是初次注册,则获取模块906从HLR/HSS等外部存储位置上获取失败投递记录,并将获取到的失败投递记录存储到本地,以防当前的短信重投不成功,后续接收终端进行刷新注册的时候可以直接从本地获得失败投递记录,从而节省获得失败投递记录 的时间。After determining that the receiving terminal is registered on the application server AS, the obtaining module 906 can acquire the pre-stored failed posting record. If the receiving terminal performs the initial registration, the obtaining module 906 obtains the failed delivery record from the external storage location such as the HLR/HSS, and stores the obtained failed delivery record locally, in case the current short message re-investment is unsuccessful, and subsequent When the receiving terminal performs refresh registration, the failed delivery record can be obtained directly from the local, thereby saving the time for obtaining the failed delivery record.
如果接收终端在应用服务器上进行的是刷新注册,则因为本示例中记录模块902之前在本地存储了失败投递记录,所以,获取模块906可以直接从本地获取到失败投递记录。If the receiving terminal performs refresh registration on the application server, since the recording module 902 previously stored the failed posting record locally, the obtaining module 906 can directly obtain the failed posting record locally.
提醒模块908根据失败投递记录触发短消息中心提醒的过程在示例一中已经进行了比较详细的介绍,这里不再阐述。The process of the reminder module 908 triggering the short message center reminder according to the failed delivery record has been described in more detail in the example 1, and will not be described here.
当短消息中心控制短信网关90对待重投短消息进行再次投递之后,只会有这样两种结果,一种是该待重投短消息投递成功了,另一种自然是待重投短消息的重新投递失败了。若待重投短消息投递成功,则清除模块910要清除针对该待重投短消息的失败投递记录。After the short message center controls the short message gateway 90 to re-submit the re-sending short message, there are only two kinds of results, one is that the short message to be re-sent is successfully delivered, and the other is naturally to be re-send the short message. The re-delivery failed. If the short message delivery is to be successfully posted, the clearing module 910 clears the failed delivery record for the short message to be re-submitted.
由于获取模块906在接收终端到应用服务器注册的时候就一定会获取失败投递记录,并通知提醒模块908进行对应失败短消息的重新投递,所以为了避免原本投递失败的短消息重投成功之后短信网关90还会继续进行短信投递,给接收用户造成不佳的用户体验,浪费通信资源,本示例中,当待重投短消息的重投成功之后,清除模块910将会清除针对该短消息的失败投递记录。清除模块910要清除包括本地的和外部存储器的所有存储位置上的失败投递记录。Since the obtaining module 906 is sure to obtain the failed delivery record when the receiving terminal registers with the application server, and notifies the reminding module 908 to perform the re-delivery of the corresponding failed short message, so in order to avoid the short message re-delivery after the original delivery fails, the short message gateway succeeds. 90 will continue to send SMS, causing a poor user experience for the receiving user, wasting communication resources. In this example, after the re-investment of the short message to be re-successful, the clearing module 910 will clear the failure for the short message. Delivery record. The clearing module 910 is to clear the failed posting record on all storage locations including the local and external storage.
本示例中提供的短信网关,可以通过向HLR/HSS发送携带失败标识的配置文件更新请求从而将针对投递失败的短消息的失败投递记录存储到HLR/HSS上,利用HLR/HSS等外部存储器不会因为接收终端状态的变化而清除失败投递记录的优点,让短信网关即使在接收终端初次注册后也能获得针对该接收终端待重投短消息的失败投递记录,从而对失败短消息进行重投。另外本示例提供的短消息中心提醒方法还会在失败短消息的重投成功之后,删除本地与外部存储器上存储的这对该短消息的失败投递记录,避免短信网关一直对已经投递成功的短消息进行重复投递,浪费通信资源,降低用户体验。The short message gateway provided in this example can store the failed delivery record of the short message for delivery failure to the HLR/HSS by sending a configuration file update request carrying the failure identifier to the HLR/HSS, and using an external memory such as HLR/HSS. The advantage of the failed delivery record is cleared because the status of the receiving terminal is changed, so that the short message gateway can obtain the failed delivery record for the receiving terminal to re-send the short message even after the initial registration of the receiving terminal, thereby re-investing the failed short message. . In addition, the short message center reminding method provided by the example also deletes the failed delivery record of the short message stored on the local and external memory after the successful retransmission of the failed short message, so as to avoid the SMS gateway always has a short delivery success. Messages are delivered repeatedly, wasting communication resources and reducing user experience.
示例六:Example six:
前述各实施例中的短信网关可以作为一个单独的网元部署在一物理实 体上,也可以和其他逻辑网元共享一物理实体。本示例中将短信网关部署在服务器上,下面结合图11对本公开各实施例中的短信网关的硬件结构进行介绍:The short message gateway in the foregoing embodiments may be deployed as a single network element on a physical entity, or may share a physical entity with other logical network elements. In this example, the short message gateway is deployed on the server. The hardware structure of the short message gateway in the embodiments of the present disclosure is introduced in conjunction with FIG. 11 :
服务器100至少包括输入输出(IO)总线110、处理器140、存储器130、内存120和通信装置150。The server 100 includes at least an input/output (IO) bus 110, a processor 140, a memory 130, a memory 120, and a communication device 150.
其中,输入输出(IO)总线110分别与自身所属的服务器的其它部件(处理器140、存储器130、内存120和通信装置150)连接,并且为其它部件提供传送线路。Among them, the input/output (IO) bus 110 is respectively connected to other components of the server to which it belongs (the processor 140, the memory 130, the memory 120, and the communication device 150), and provides transmission lines for other components.
内存120中可以存储用于实现短消息中心提醒方法的计算机程序,当服务器100执行前述短消息中心提醒方法时,处理器140从内存120中读取出代码进行编译后控制各个部件相互配合,实现短消息中心提醒方法中的各个流程。The computer 120 can store a computer program for implementing the short message center reminding method. When the server 100 executes the short message center reminding method, the processor 140 reads the code from the memory 120 to compile and control each component to cooperate with each other. The short message center reminds each process in the method.
当短信网关要将失败投递记录存储到本地的时候,存储器130可以在处理器140的控制下存储失败投递记录。When the short message gateway is to store the failed delivery record locally, the memory 130 may store the failed delivery record under the control of the processor 140.
处理器140通常控制自身所属的服务器的总体操作。例如,处理器140执行计算和确认等操作。其中,处理器140可以是中央处理器(CPU)。The processor 140 typically controls the overall operation of the server to which it belongs. For example, the processor 140 performs operations such as calculations and confirmations. The processor 140 may be a central processing unit (CPU).
通信装置150,通常包括一个或多个组件,其允许自身所属的服务器与无线通信系统或网络之间的无线电通信。当短信网关要与应用服务器或者HLR/HSS交互时,通信装置150则在处理器140的控制下承担了相应的通信任务。 Communication device 150 typically includes one or more components that permit radio communication between a server to which it belongs and a wireless communication system or network. When the short message gateway is to interact with the application server or the HLR/HSS, the communication device 150 assumes the corresponding communication task under the control of the processor 140.
示例四与示例五提供的短信网关中的记录模块、确定模块、获取模块、清除模块的功能可以由处理器140与存储器130、通信装置150相互配合实现。提醒模块的功能可以由处理器与通信装置二者配合实现。在短消息投递失败之后,处理器140可以在本地存储器130中存储失败投递记录,同时控制通信装置150将该失败投递记录存储到外部存储器中,例如存储到HLR/HSS上。当接收终端在应用服务器AS上进行初次注册或刷新注册的时候,通信装置150通过与应用服务器的交互,可以了解到该接收终端可用。若接收终端的注册属于初次注册,则处理器140可以控制通信装置150向 HLR/HSS等外部存储器发送请求消息,获取之前存储的失败存储记录。获取到失败投递记录之后,处理器140控制存储器130将获取到的失败投递记录进行存储。并根据该失败投递记录控制通信装置150与HLR/HSS进行交互,从而让HLR/HSS向短消息中心发送MAP-Alert-Service-Center消息。若接收终端的注册属于刷新注册,则处理器140可以直接从本地存储器130中获取失败投递记录,并通知通信装置150与HLR/HSS交互,让HLR/HSS向短消息中心发送MAP-Alert-Service-Center消息完成短消息中心提醒。The functions of the recording module, the determining module, the obtaining module, and the clearing module in the short message gateway provided by the example 4 and the example 5 can be implemented by the processor 140 and the memory 130 and the communication device 150. The function of the reminder module can be implemented by both the processor and the communication device. After the short message delivery failure, the processor 140 may store the failed delivery record in the local memory 130 while controlling the communication device 150 to store the failed delivery record in an external memory, such as to the HLR/HSS. When the receiving terminal performs initial registration or refresh registration on the application server AS, the communication device 150 can understand that the receiving terminal is available through interaction with the application server. If the registration of the receiving terminal belongs to the initial registration, the processor 140 may control the communication device 150 to send a request message to an external memory such as the HLR/HSS to acquire the previously stored failed storage record. After obtaining the failed delivery record, the processor 140 controls the memory 130 to store the acquired failed delivery record. And controlling the communication device 150 to interact with the HLR/HSS according to the failed delivery record, thereby causing the HLR/HSS to send a MAP-Alert-Service-Center message to the short message center. If the registration of the receiving terminal belongs to the refresh registration, the processor 140 may directly obtain the failed delivery record from the local storage 130, and notify the communication device 150 to interact with the HLR/HSS, and let the HLR/HSS send the MAP-Alert-Service to the short message center. -Center message completes the short message center reminder.
另外,前述示例中的短信网关也可以和应用服务器部署在同一服务器上,在这种情况下,接收终端与应用服务器的通信装置交互实现注册,实质上也就是在与短信网关交互,所以短信网关能够直接获取接收终端可达的信息,节约可达性获取时间,降低资源浪费。In addition, the short message gateway in the foregoing example may also be deployed on the same server as the application server. In this case, the receiving terminal interacts with the communication device of the application server to implement registration, which is essentially interacting with the short message gateway, so the short message gateway The information that is reachable by the receiving terminal can be directly obtained, which saves access time and reduces resource waste.
本公开实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现以上描述的短消息中心提醒方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the short message center reminder method described above.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的 是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. 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 The components work together. Some or all of the components may be implemented as software executed by a processor, such as a 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 a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes 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. .
以上内容是结合具体的实施方式对本公开实施例所作的进一步详细说明,不能认定本公开的具体实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干简单推演或替换,其都被视为属于本公开的保护范围。The above content is a further detailed description of the embodiments of the present disclosure in conjunction with the specific embodiments, and the specific implementation of the present disclosure is not limited to the description. It will be apparent to those skilled in the art that the present invention is to be construed as being limited to the scope of the present disclosure.
工业实用性Industrial applicability
根据本公开实施例提供的短消息中心提醒方法及短信网关、计算机存储介质,短信网关基于接收终端在应用服务器的注册确定接收终端可达,并获取针对接收终端待重投短消息所存储的失败投递记录,然后根据失败投递记录触发短消息中心提醒,以告知短消息中心重新向接收终端投递待重投短消息。本公开实施例提供的方案利用了短信网关能够直接了解获知接收终端在应用服务器上的注册,因此,短信网关在不向HLR/HSS订阅接收终端可达性的情况下就可以直接了解到接收终端在何时可达。当短信网关确定接收终端可达时,其获取预先记录存储的关于该接收终端的失败投递记录,并根据该失败投递记录触发短消息中心提醒。由于在实现短消息中心提醒的过程中,HLR/HSS不提供终端可达性,所以降低了对HLR/HSS的功能要求,相对于现有方案,应用场景更广泛;同时,因为获知终端可达性时HLR/HSS不与MME等交互、配合,节省了系统的通信资源与处理资源,有利于资源的优化配置。According to the short message center reminding method and the short message gateway and the computer storage medium provided by the embodiment of the present disclosure, the short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the receiving terminal, and acquires a failure to store the short message to be received by the receiving terminal. The record is posted, and then the short message center reminder is triggered according to the failed delivery record to inform the short message center to resend the short message to be re-submitted to the receiving terminal. The solution provided by the embodiment of the present disclosure utilizes the short message gateway to directly know the registration of the receiving terminal on the application server. Therefore, the short message gateway can directly learn the receiving terminal without subscribing to the HLR/HSS subscription terminal reachability. When is it possible? When the short message gateway determines that the receiving terminal is reachable, it acquires a pre-recorded stored failed posting record for the receiving terminal, and triggers a short message center reminder according to the failed delivery record. Since the HLR/HSS does not provide terminal reachability in the process of implementing the short message center reminder, the functional requirements of the HLR/HSS are reduced, and the application scenario is wider than the existing solution; When the HLR/HSS does not interact and cooperate with the MME, the communication resources and processing resources of the system are saved, which is beneficial to the optimal configuration of resources.

Claims (11)

  1. 一种短消息中心提醒方法,包括:A short message center reminder method, including:
    短信网关基于接收终端在应用服务器的注册确定所述接收终端可达;The short message gateway determines that the receiving terminal is reachable based on the registration of the receiving terminal by the application server;
    所述短信网关获取针对所述接收终端待重投短消息所存储的失败投递记录,所述失败投递记录由所述短信网关向所述接收终端投递该待重投短消息失败时生成;The short message gateway acquires a failed delivery record stored for the short message to be re-submitted by the receiving terminal, and the failed delivery record is generated when the short message gateway fails to deliver the short message to be re-sent to the receiving terminal;
    所述短信网关根据所述失败投递记录触发短消息中心提醒,以指示短消息中心重新向所述接收终端投递所述待重投短消息。The short message gateway triggers the short message center reminder according to the failed delivery record to instruct the short message center to resend the to-be-resubmitted short message to the receiving terminal.
  2. 如权利要求1所述的短消息中心提醒方法,其中,所述方法还包括:The short message center reminding method according to claim 1, wherein the method further comprises:
    所述短信网关在所述待重投短消息的重新投递成功之后,清除针对该待重投短消息的失败投递记录。After the re-delivery of the short message to be re-sent, the short message gateway clears the failed delivery record for the short message to be re-sent.
  3. 如权利要求1或2所述的短消息中心提醒方法,其中,所述短信网关基于接收终端在应用服务器的注册确定所述接收终端可达之前还包括:所述短信网关将所述失败投递记录存储到外部存储器上。The short message center reminding method according to claim 1 or 2, wherein the short message gateway further comprises: before the receiving terminal determines that the receiving terminal is reachable based on the registration of the application server, the short message gateway records the failed delivery record. Stored on external storage.
  4. 如权利要求3所述的短消息中心提醒方法,其中,所述短信网关将所述失败投递记录存储到外部存储器上包括:The short message center reminding method according to claim 3, wherein the storing, by the short message gateway, the failed posting record to an external memory comprises:
    所述短信网关在发送给归属位置寄存器/归属签约用户服务器的配置文件更新请求中携带失败标识,以告知所述归属位置寄存器/归属签约用户服务器自身对短消息的投递失败,将针对该待重投短消息的失败投递记录存储到所述归属位置寄存器/归属签约用户服务器上。The short message gateway carries a failure identifier in the configuration file update request sent to the home location register/home subscriber network to notify the home location register/home subscriber server that the delivery of the short message fails, and the The failed delivery record of the short message is stored on the home location register/home subscriber network.
  5. 如权利要求3所述的短消息中心提醒方法,其中,所述短信网关基于所述接收终端在应用服务器上的注册确定所述接收终端可达时,获取所述失败投递记录包括:The short message center reminding method according to claim 3, wherein the short message gateway, based on the registration of the receiving terminal on the application server, determines that the receiving terminal is reachable, and the obtaining the failed delivery record comprises:
    所述短信网关根据所述接收终端在所述应用服务器上的初次注册确定所述接收终端可达时,所述外部存储器上获取所述失败投递记录。The short message gateway obtains the failed delivery record on the external memory when the receiving terminal determines that the receiving terminal is reachable according to the initial registration of the receiving terminal on the application server.
  6. 如权利要求3所述的短消息中心提醒方法,其中,所述方法还包括:所述短信网关将所述失败投递记录存储到所述外部存储器的同时将所述失 败投递记录存储到本地;The short message center reminding method according to claim 3, wherein the method further comprises: the short message gateway storing the failed delivery record to the external memory while storing the failed delivery record to the local;
    或,or,
    所述短信网关从外部存储器上获取所述失败投递记录之后,将获取到的所述失败投递记录存储到本地;After the SMS gateway obtains the failed delivery record from the external storage, the obtained failed delivery record is stored locally;
    或,or,
    所述短信网关将所述失败投递记录存储到所述外部存储器的同时将所述失败投递记录存储到本地,以及所述短信网关从外部存储器上获取所述失败投递记录之后,将获取到的所述失败投递记录存储到本地。The short message gateway stores the failed delivery record to the local while storing the failed delivery record to the local storage, and after the short message gateway obtains the failed delivery record from the external storage, the acquired location The failed delivery record is stored locally.
  7. 如权利要求6所述的短消息中心提醒方法,其中,所述短信网关基于所述接收终端在应用服务器上的注册确定所述接收终端可达时,获取所述失败投递记录包括:The short message center reminding method according to claim 6, wherein the short message gateway, based on the registration of the receiving terminal on the application server, determines that the receiving terminal is reachable, and the obtaining the failed delivery record comprises:
    所述短信网关根据所述接收终端在所述应用服务器上的刷新注册确定所述接收终端可达时,所述短信网关从本地获取所述失败投递记录。The short message gateway obtains the failed delivery record locally when the receiving terminal determines that the receiving terminal is reachable according to the refresh registration of the receiving terminal on the application server.
  8. 一种短信网关,包括:A short message gateway, including:
    记录模块,设置为在向接收终端投递短消息投递失败后,存储针对该待重投短消息的失败投递记录;a recording module, configured to store a failed delivery record for the short message to be re-sent after failing to deliver the short message to the receiving terminal;
    确定模块,设置为基于接收终端在应用服务器的注册确定所述接收终端可达;Determining a module, configured to determine that the receiving terminal is reachable based on a registration of the receiving terminal at the application server;
    获取模块,设置为获取针对所述接收终端待重投短消息所存储的失败投递记录;An obtaining module, configured to acquire a failed delivery record stored for the short message to be re-submitted by the receiving terminal;
    提醒模块,设置为根据所述失败投递记录触发短消息中心提醒,以指示短消息中心重新向所述接收终端投递所述待重投短消息。The reminding module is configured to trigger the short message center reminder according to the failed delivery record to instruct the short message center to resend the to-be-resubmitted short message to the receiving terminal.
  9. 如权利要求8所述的短信网关,其中,所述记录模块设置为将所述失败投递记录存储到外部存储器上。The short message gateway of claim 8 wherein said recording module is arranged to store said failed posting record on an external memory.
  10. 如权利要求9所述的短信网关,其中,在所述确定模块根据所述接收终端在所述应用服务器上的初次注册确定所述接收终端可达时,所述获取模块设置为从所述外部存储器上获取所述失败投递记录。The short message gateway according to claim 9, wherein the obtaining module is set to be from the outside when the determining module determines that the receiving terminal is reachable according to the initial registration of the receiving terminal on the application server The failed delivery record is obtained on the memory.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1-7中任一项所述的方法。A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of any of claims 1-7.
PCT/CN2018/084123 2017-04-27 2018-04-23 Short message centre reminding method and short message gateway WO2018196715A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710289506.2A CN108810830A (en) 2017-04-27 2017-04-27 A kind of short message service center's based reminding method and Short Message Service Gateway
CN201710289506.2 2017-04-27

Publications (1)

Publication Number Publication Date
WO2018196715A1 true WO2018196715A1 (en) 2018-11-01

Family

ID=63918857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084123 WO2018196715A1 (en) 2017-04-27 2018-04-23 Short message centre reminding method and short message gateway

Country Status (2)

Country Link
CN (1) CN108810830A (en)
WO (1) WO2018196715A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025315A (en) * 2020-07-16 2022-02-08 中兴通讯股份有限公司 Method, device and system for processing short message delivery failure
CN114727240A (en) * 2021-01-06 2022-07-08 中国电信股份有限公司 Method, device and system for realizing short message service center reminding information service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998311A (en) * 2009-08-13 2011-03-30 中国电信股份有限公司 Method and device for sending short message
CN103037328A (en) * 2011-09-30 2013-04-10 华为终端有限公司 Method and device for resending short messages
US20150304989A1 (en) * 2014-04-22 2015-10-22 Qualcomm Incorporated Receiving eMBMS on a Single-Radio-Multiple-Standby User Equipment
CN106211105A (en) * 2015-04-30 2016-12-07 中国电信股份有限公司 Process method and system and the application server of note

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100382610C (en) * 2004-10-10 2008-04-16 华为技术有限公司 Method for selecting short message routing at multiple path
CN105792147B (en) * 2014-12-24 2021-06-08 中兴通讯股份有限公司 Short message delivery failure processing method, device and system
CN105827660B (en) * 2016-05-31 2018-12-14 浪潮集团有限公司 A kind of IP-SM-GW is using the server and implementation method with data separating

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998311A (en) * 2009-08-13 2011-03-30 中国电信股份有限公司 Method and device for sending short message
CN103037328A (en) * 2011-09-30 2013-04-10 华为终端有限公司 Method and device for resending short messages
US20150304989A1 (en) * 2014-04-22 2015-10-22 Qualcomm Incorporated Receiving eMBMS on a Single-Radio-Multiple-Standby User Equipment
CN106211105A (en) * 2015-04-30 2016-12-07 中国电信股份有限公司 Process method and system and the application server of note

Also Published As

Publication number Publication date
CN108810830A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN106686561B (en) Method and apparatus for supporting mobile terminated short message delivery
US9397968B2 (en) Method for processing deferred message
EP2861000B1 (en) Method and device for transmitting downlink data
JP7200392B2 (en) Event monitoring method and apparatus
US20220201048A1 (en) Server-managed notifications for maintaining registered state
EP3979101A2 (en) Historical data support enhancement for network entities
BR112013010303B1 (en) SUBMISSION REPORT FOR TEXT MESSAGES IN SIP COMMUNICATIONS
WO2018196715A1 (en) Short message centre reminding method and short message gateway
JP7297085B2 (en) Methods, apparatus, and computer program products for supporting interworking between core networks
WO2015172629A1 (en) Message transmission method, apparatus and system
US10075587B2 (en) Selective delivery of messages to user devices that share a telephone number
US20200336866A1 (en) Method, device, and system for optimizing short message signaling
WO2015196809A1 (en) Message processing method and device
US20170353818A1 (en) Method for deleting notification resource, and common service entity
US20200322393A1 (en) Terminating call handling for power saving activated user equipment
US20220360954A1 (en) Short message service (sms) delivery
US20150304825A1 (en) Short message sending method, short message service center and gateway
CN112312461B (en) Method for detecting failure of notifying downlink data, AMF, SMF and storage medium
US8805346B1 (en) Caller information retrieval system for unavailable calls
CN115550593A (en) Method, device, equipment and storage medium for selecting media server
KR101423840B1 (en) METHOD FOR NOTIFYING CALL REQUEST USING PUSH NOTIFICATION IN mVoIP SERVICE
US20140378103A1 (en) Archiving a delivery status for a text message
WO2018133542A1 (en) File transmission method, system and apparatus, and electronic device, and computer storage medium
US11558468B2 (en) Mobile client recovery using push notifications to execute exponential back-off procedure
US20240129707A1 (en) Supplementary service settings synchronization for fifth generation (5g) telecommunication networks

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18791250

Country of ref document: EP

Kind code of ref document: A1