Method for resending failed short message of short message platform

By setting up a failed resend channel selection process in the SMS platform, and using error codes and SMS type judgments to optimize resending, the problem of SMS delivery failure is solved, the success rate and efficiency are improved, and costs and delays are reduced.

CN118540663APending Publication Date: 2024-08-23GUANGXI DONGXIN YITONG TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410677254.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing SMS platform has problems such as invalid resending when SMS delivery fails, multiple failure codes, inability to cover all scenarios, high delay and high cost.

Method used

By setting the failed resend channel selection process in the SMS platform, query the operator gateway that has recently been successfully resent, determine whether to resend based on the error code and SMS type, and select the priority successful channel for resend, reducing manual maintenance costs and Delay.

Benefits of technology

It improves the success rate of SMS arrival, reduces retransmission delay and cost, reduces manual maintenance time, and improves the operational efficiency of the SMS platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540663A
    Figure CN118540663A
Patent Text Reader

Abstract

The invention discloses a short message platform short message failure retransmission method, relates to the field of communication, and solves the technical problems of invalid retransmission, too many failure codes, high delay and high cost in the existing short message delivery. And judging whether the short message needs to be failed to be retransmitted, if so, entering a retransmission channel selection process to select a retransmission operator gateway, acquiring a target operator gateway, and retransmitting the short message according to the target operator gateway. According to the invention, effective retransmission is carried out when the short message platform and the operator return receipt or response is abnormal, different gateway channels are supported to be replaced during retransmission, and the success rate of arrival of the short message is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication, and more specifically, to a method for resending a failed short message on a short message platform. Background Art

[0002] With the development of technology and the progress of society, the application of traditional short messages has been extended to more and more fields. SMS appears in every corner of people's daily life and has penetrated into various industries and fields. For example, verification code SMS, merchant member notification SMS, merchant marketing SMS, government affairs, legal affairs notification SMS, railway, aviation, hospital, property notification SMS and other scenarios. However, not all merchants or enterprises will develop a set of SMS platforms that can connect to the three major operators. Instead, they use API to call the open interface of the SMS platform to send SMS. Merchants and enterprises that have the need to send SMS are customers of the SMS platform, and the final recipients are end users.

[0003] As SMS has touched many industries and scenarios, it is particularly important for customers to receive important SMS notifications in a timely manner. Therefore, customers have very high requirements for the success rate of SMS delivery. When the terminal signal is poor, the SMS content is intercepted by mistake as a keyword, or other reasons lead to SMS delivery failure, it will cause certain impact and trouble to customers. For example, when a customer is using a mobile phone number to log in to a shopping website, but cannot receive a mobile phone verification code, the user's shopping experience will be greatly reduced, and the customer will also question the services provided by the SMS platform.

[0004] The existing technology currently has the following deficiencies:

[0005] 1. Invalid resend: When the SMS platform submits SMS fragments to the operator, if the operator's keyword interception is triggered, the fragment will fail to be sent. In this scenario, no matter how many times it is resent, it will still fail to be sent, because resending the fragment will still trigger the operator's keyword interception. The SMS platform must support the ability to change the operator gateway and retry.

[0006] 2. Too many failure codes to cover all scenarios: Since the upstream of the SMS platform may still be a third-party SMS platform rather than an operator gateway, each SMS platform will have many interception configurations. The classification of failure reasons is basically the same (blacklist, keywords, billing failure, etc.), but the error codes of each SMS platform are different, resulting in a large number of failure error codes.

[0007] 3. High delay: The SMS platform does not support the retransmission of channels with higher success rates, but tries the channels in the failed retransmission channel group in the configuration order. As a result, even if the retransmission is successful in the end, it has been delayed for a long time.

[0008] 4. High cost: A long text message will be split into multiple segments for sending. If a segment fails, it will be resent while the other segments are successful, which will consume a lot of cost because the operator has already charged for the successfully delivered segments. Summary of the invention

[0009] The technical problem to be solved by the present invention is to provide a method for resending failed short messages on a short message platform in view of the deficiencies in the prior art, so as to solve the technical problems of invalid resending, too many failure codes, high delay and high cost of the existing short message delivery.

[0010] The method for resending a failed short message on a short message platform described in the present invention determines whether the short message needs to be resent. If necessary, a resending channel selection process is entered to select a resending operator gateway, a target operator gateway is obtained, and the short message is resent according to the target operator gateway.

[0011] As a further improvement, the method for obtaining the target operator gateway is:

[0012] Step 1: among the operator gateways that can be routed by the SMS platform, check whether there is an operator gateway that has recently successfully resent the fragmented error code. If there is an operator gateway that has recently successfully resent, use the operator gateway that has recently successfully resent as the target operator gateway; if there is no operator gateway that has recently successfully resent, proceed to the next step;

[0013] Step 2: Query whether there is an available operator gateway in the failed retransmission operator gateways. If there is an available failed retransmission operator gateway, use the available failed retransmission operator gateway as the target operator gateway; if there is no available failed retransmission operator gateway, proceed to the next step;

[0014] Step 3: Query whether there is an available operator gateway in the common operator gateways. If there is an available common operator gateway, use the available common operator gateway as the target operator gateway; if there is no available common operator gateway, end the process.

[0015] Further, the method for determining whether the short message needs to be resent upon failure is:

[0016] Step 1: Determine whether the SMS needs to be resent based on the error code returned by the operator gateway. When the error code is configured in the set non-failure resend error code, there is no need to resend the SMS; when the error code is not configured in the non-failure resend error code, proceed to the next step;

[0017] Step 2: judging whether the SMS needs to be resent according to the overall processing time of the SMS; when the overall processing time is greater than the set failed resending processing time, the SMS does not need to be resent on failure; when the overall processing time is less than or equal to the set failed resending processing time, proceed to the next step;

[0018] Step 3: If the SMS has been resent, the number of resends is recorded. If the number of resends is greater than the set maximum number of resends, there is no need to resend the SMS if it fails. If the number of resends is less than or equal to the maximum number of resends, proceed to the next step.

[0019] Step 4: Determine whether to resend the message if the message fails based on the type of the message. If the message is a long message and the error codes of all the segments have been collected, but the error codes of the segments are inconsistent, then end the resending channel selection process; if the error codes of the segments are consistent, proceed to the next step.

[0020] Step 5: The SMS platform determines whether the SMS has been successfully resent according to the error code of the segment in the fourth step. If the SMS has been resent and successfully resent, the operator gateway that has successfully resent the SMS is queried according to the error code of the segment.

[0021] Step 6: The SMS platform resends the SMS to the operator gateway that has been successfully resent in step 5.

[0022] Furthermore, in the second step, the overall processing time of the SMS is the difference between the current time and the time when the SMS platform receives the SMS submitted by the customer.

[0023] Furthermore, when the SMS platform obtains the error code returned by the operator's gateway, it determines whether the SMS needs to be resent after failure.

[0024] Furthermore, the SMS is submitted by the customer to the SMS platform, the SMS platform submits the SMS to the operator gateway, and the operator gateway sends the SMS to the user.

[0025] Furthermore,

[0026] The SMS platform communicates with the operator gateway via the CMPP2.0 / CMPP3.0 / SGIP1.2 / SMGP3.0 / SMPP3.4 protocol.

[0027] Beneficial Effects

[0028] The advantages of the present invention are:

[0029] 1. The present invention sets a failed resending channel selection process, performs effective resending when the SMS platform and operator receipt or response is abnormal, supports changing different gateway channels during resending, and improves the success rate of SMS arrival.

[0030] 2. In the failure retransmission channel selection process, the present invention configures the error code in the set non-failure retransmission error code, adopts the reverse configuration error code method, and does not retransmit the standard error code returned by the operator such as empty number and shutdown, but attempts to retransmit other error codes. In this way, even if a new error code appears, it does not need to be frequently configured, reducing the cost and time of manual maintenance.

[0031] 3. The present invention queries the operator gateway that has successfully resent before, and supports selection during resending. For the same failed resending error code, the channel that successfully resent last time can be directly selected, rather than traversing the channels in the failed resending channel group in turn to try to send down, which can greatly reduce the delay caused by resending.

[0032] In the failure retransmission channel selection process of the present invention, whether to perform a failed retransmission is determined according to the type of SMS. For long SMS, it is required to receive the receipts of all fragments within a certain time range, and the receipts all fail, and the receipt codes of each fragment are consistent before retransmission is performed. This can reduce the retransmission cost consumption of the SMS platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flowchart of retransmission after the operator gateway response fails of the present invention;

[0034] Figure 2 It is a flowchart of resending after the operator gateway receipt fails of the present invention;

[0035] Figure 3 The figure is a schematic diagram of the failed retransmission channel selection process of the present invention. DETAILED DESCRIPTION

[0036] The present invention will be further described below in conjunction with the embodiments, but it does not constitute any limitation to the present invention. Any limited number of modifications made by anyone within the scope of the claims of the present invention are still within the scope of the claims of the present invention.

[0037] See also Figure 1-Figure 3 , a method for resending a short message on a short message platform according to the present invention, the method comprising:

[0038] like Figure 1-2As shown, it is determined whether the short message needs to be resent upon failure. If necessary, the resending channel selection process is entered to select the resending operator gateway, obtain the target operator gateway, and resend the short message according to the target operator gateway. This method can effectively, timely, save manpower, and save costs to improve the operating efficiency of the short message platform and improve the arrival success rate of short messages.

[0039] The SMS platform communicates with the operator gateway through the CMPP2.0 / CMPP3.0 / SGIP1.2 / SMGP3.0 / SMPP3.4 protocol.

[0040] Figure 1 In F1: the customer submits the SMS to the SMS platform; F2: the SMS platform returns a response to the customer; F3: the SMS platform submits the SMS to the operator gateway; F4: the operator gateway returns a response to the SMS platform, and the response code is a failure response code, entering the failure retransmission channel selection process; F5: the SMS platform performs a pre-retransmission verification, and then reroutes the target operator gateway; F6: the SMS platform submits the SMS to the target operator gateway again; F7: the target operator gateway returns a response (successful response); F8: the target operator gateway pushes a receipt to the SMS platform (successful delivery); F9: the SMS platform returns a response to the operator gateway; F10: the SMS platform pushes a receipt to the customer; F11: the customer returns a response to the SMS platform.

[0041] Figure 2 In F1: the customer submits the SMS to the SMS platform; F2: the SMS platform returns a response to the customer; F3: the SMS platform submits the SMS to the operator gateway; F4: the gateway returns a response to the SMS user (successful response); F5: the operator gateway pushes a receipt to the SMS platform (delivery failure), and enters the failed resend channel selection process; F6: the SMS platform returns a response to the operator gateway; F7: the SMS platform performs a pre-retransmission verification, and then reroutes the target operator gateway; F8: the SMS platform submits the SMS to the target operator gateway again; F9: the target operator gateway returns a response to the SMS platform (successful response); F10: the target operator gateway pushes a receipt to the SMS platform (successful delivery); F11: the SMS platform returns a response to the target operator gateway; F12: the SMS platform pushes a receipt to the customer; F13: the customer returns a response to the SMS platform.

[0042] When the SMS platform obtains the error code returned by the operator's gateway, it determines whether the SMS needs to be resent after failure.

[0043] like Figure 3 As shown, the method for determining whether a short message needs to be resent after failure is:

[0044] Step 1: Determine whether the SMS needs to be resent based on the error code returned by the operator gateway. When the error code is configured in the set non-failure resend error code, there is no need to resend the SMS; when the error code is not configured in the non-failure resend error code, proceed to the next step.

[0045] Step 2: Determine whether the SMS needs to be resent based on the overall processing time of the SMS. When the overall processing time is greater than the set failure resending processing time, the SMS does not need to be resent; when the overall processing time is less than or equal to the set failure resending processing time, proceed to the next step.

[0046] The overall processing time of a text message is the difference between the current time and the time when the text message platform receives the text message submitted by the customer.

[0047] Step 3: If the SMS has been resent, the number of resends is recorded. If the number of resends is greater than the set maximum number of resends, there is no need to resend the SMS if it fails; if the number of resends is less than or equal to the maximum number of resends, proceed to the next step.

[0048] Step 4: Determine whether to resend the message if it fails based on the type of the message. If the message is a long message and all the error codes of the fragments have been received, but the error codes of the fragments are inconsistent, then end the resend channel selection process; if the error codes of the fragments are consistent, proceed to the next step.

[0049] Step 5: The SMS platform determines whether the SMS has been successfully resent based on the error code of the fragment in step 4. If the SMS has been resent and successfully resent, the operator gateway that has successfully resent the SMS is queried based on the error code of the fragment.

[0050] Step 6: The SMS platform resends the SMS to the operator gateway that was successfully resent in step 5.

[0051] The method to obtain the target operator gateway is:

[0052] Step 1: among the carrier gateways that can be routed by the SMS platform, check whether there is a carrier gateway that has recently successfully resent the corresponding fragmented error code. If there is a carrier gateway that has recently successfully resent, use the carrier gateway that has recently successfully resent as the target carrier gateway; if there is no carrier gateway that has recently successfully resent, proceed to the next step.

[0053] Step 2: Check whether there is an available operator gateway among the failed retransmission operator gateways. If there is an available failed retransmission operator gateway, use the available failed retransmission operator gateway as the target operator gateway; if there is no available failed retransmission operator gateway, proceed to the next step.

[0054] Step 3: Query whether there is an available operator gateway in the common operator gateways. If there is an available common operator gateway, use the available common operator gateway as the target operator gateway; if there is no available common operator gateway, end the process.

[0055] The above is only a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, several modifications and improvements can be made without departing from the structure of the present invention, which will not affect the effect of the implementation of the present invention and the practicality of the patent.

Claims

1. A method for resending a failed short message on a short message platform, characterized in that: Determine whether the short message needs to be resent after failure. If necessary, enter the resending channel selection process to select the resending operator gateway, obtain the target operator gateway, and resend the short message according to the target operator gateway.

2. A method for resending a failed short message on a short message platform according to claim 1, characterized in that: The method for obtaining the target operator gateway is: Step 1: among the operator gateways that can be routed by the SMS platform, check whether there is an operator gateway that has recently successfully resent the corresponding error code of the fragment. If there is an operator gateway that has recently successfully resent, use the operator gateway that has recently successfully resent as the target operator gateway; If there is no operator gateway that has successfully resent recently, proceed to the next step; Step 2: Query whether there is an available operator gateway in the failed retransmission operator gateways. If there is an available failed retransmission operator gateway, use the available failed retransmission operator gateway as the target operator gateway; if there is no available failed retransmission operator gateway, proceed to the next step; Step 3: Query whether there is an available operator gateway in the common operator gateways. If there is an available common operator gateway, use the available common operator gateway as the target operator gateway; if there is no available common operator gateway, end the process.

3. A method for resending a failed short message on a short message platform according to claim 1, characterized in that: The method for judging whether the short message needs to be resent after failure is: Step 1: Determine whether the SMS needs to be resent based on the error code returned by the operator gateway. When the error code is configured in the set non-failure resend error code, there is no need to resend the SMS; when the error code is not configured in the non-failure resend error code, proceed to the next step; Step 2: judging whether the SMS needs to be resent according to the overall processing time of the SMS; when the overall processing time is greater than the set failed resending processing time, the SMS does not need to be resent on failure; when the overall processing time is less than or equal to the set failed resending processing time, proceed to the next step; Step 3: If the SMS has been resent, the number of resends is recorded. If the number of resends is greater than the set maximum number of resends, there is no need to resend the SMS if it fails. If the number of resends is less than or equal to the maximum number of resends, proceed to the next step. Step 4: Determine whether to resend the message if the message fails based on the type of the message. If the message is a long message and the error codes of all the segments have been collected, but the error codes of the segments are inconsistent, then end the resending channel selection process; if the error codes of the segments are consistent, proceed to the next step. Step 5: The SMS platform determines whether the SMS has been successfully resent according to the error code of the segment in the fourth step. If the SMS has been resent and successfully resent, the operator gateway that has successfully resent the SMS is queried according to the error code of the segment. Step 6: The SMS platform resends the SMS to the operator gateway that has been successfully resent in step 5.

4. A method for resending a failed short message on a short message platform according to claim 3, characterized in that: In the second step, the overall processing time of the SMS is the difference between the current time and the time when the SMS platform receives the SMS submitted by the customer.

5. A method for resending a failed short message on a short message platform according to claim 1, characterized in that: When the SMS platform obtains the error code returned by the operator's gateway, it determines whether the SMS needs to be resent upon failure.

6. A method for resending a failed short message on a short message platform according to claim 1, characterized in that: The SMS is submitted by the customer to the SMS platform, the SMS platform submits the SMS to the operator gateway, and the operator gateway sends the SMS to the user.

7. A method for resending a failed short message on a short message platform according to claim 1, characterized in that: The SMS platform communicates with the operator gateway via the CMPP2.0 / CMPP3.0 / SGIP1.2 / SMGP3.0 / SMPP3.4 protocol.

Citation Information

Cited By

  • System and method for optimizing and switching global short message suppliers of Internet of Vehicles

    CN119545460A