A short message retransmission method and system based on integrated configuration

By using an integrated SMS resending method, the system detects SMS sending and receiving status, obtains resending templates, and calls upon operator information to resend SMS messages, thus resolving the problem of SMS sending failures and improving success rate and stability.

CN115776650BActive Publication Date: 2026-01-16GUANGZHOU XINYU NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211422237.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-14
Publication Date
2026-01-16
Estimated Expiration
2042-11-14

AI Technical Summary

Technical Problem

In existing technologies, SMS configuration file management is complex and not intuitive, resulting in a lack of effective resending mechanisms when SMS sending fails, leading to low SMS sending success rate and poor stability.

Method used

The integrated SMS resending method detects SMS sending and receiving status, obtains SMS resending templates, calls operator information to resend, and monitors resending status information to ensure successful SMS delivery.

Benefits of technology

It improves the success rate and stability of SMS sending, reduces the wasted time of SMS resending, and enhances the disaster recovery capability and flexibility of the SMS system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115776650B_ABST
    Figure CN115776650B_ABST
Patent Text Reader

Abstract

The application provides a short message retransmission method and system based on integrated configuration. The method comprises the following steps: monitoring the sending and receiving state of a short message to determine whether the short message needs to be retransmitted; if the short message needs to be retransmitted, obtaining a short message retransmission template according to the integrated configuration of the short message; retransmitting the short message according to the short message retransmission template; obtaining the retransmission state information and receiving state information of the short message to determine the retransmission state of the short message; and retransmitting the short message according to the sending state and receiving state of the short message, thereby improving the success rate and stability of short message transmission.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of information exchange, and in particular to a short message retransmission method and system based on integrated configuration. BACKGROUND

[0002] The short message verification code is an essential function for security verification of each application APP, and is one of the core functions of each application. In order to realize the core function, the following steps are generally taken: first, add short message configuration according to different short message templates; the server selects the corresponding short message configuration to request the short message operator to send a short message according to the short message template; second, the short message operator receives the short message sending request, and sends the corresponding short message to the specific user according to the short message template.

[0003] In the prior art, when the short message templates in the application increase, the short message configuration file becomes large and not intuitive, and each time the short message configuration is added, deleted, modified or inquired, it is very time-consuming and laborious, and even easy to modify the short message configuration incorrectly or to miss the short message configuration. When adding the corresponding short message configuration for other operation packages of the application, the size of the short message configuration file will be doubled, and it is easy to miss or add the short message configuration incorrectly. With the increase of various operation packages, the workload of adding the corresponding short message configuration will be doubled. Most applications only select one short message operator to send a short message. When the short message operator is down or fails to send a short message due to other reasons, there is no short message retransmission mechanism to back up, which will cause a large number of short message sending failures. SUMMARY

[0004] The present application discloses a short message retransmission method and system based on integrated configuration, which improves the success rate and stability of short message sending.

[0005] In order to achieve the above purpose, the present application provides a short message retransmission method based on integrated configuration, comprising:

[0006] Detecting the sending and receiving state of the short message to determine whether the short message needs to be retransmitted;

[0007] If the short message needs to be retransmitted, the short message retransmission template is obtained through the integrated configuration of the short message;

[0008] According to the short message retransmission template, the operator information and the retransmission detection time of the short message are called to retransmit the short message;

[0009] The retransmission state information and the receiving state information of the short message are monitored to determine the retransmission situation of the short message.

[0010] The application discloses a short message retransmission method based on integrated configuration, first, the short message retransmission method judges whether the short message needs to be retransmitted by detecting the sending and receiving state of the short message, sets the technical means of short message detection, and improves the success rate of short message sending, then, according to the detection result, if the short message needs to be retransmitted, the short message retransmission template is called according to the integrated configuration of the short message, the speed of short message retransmission is improved through various types of short message templates set, then, the corresponding operator information is called through the short message retransmission template to retransmit the short message, and the retransmission state information sent by the operator is received to judge whether the short message retransmission is successful, according to the sending state information fed back by the operator, the stability of information sending is ensured, then, according to the retransmission state information, the receiving state information of the short message is detected to ensure the detection of information acceptance under the condition that information sending is successful, and the waste of short message retransmission time is avoided, finally, according to the receiving state of the short message, whether the short message is retransmitted successfully is judged, the short message template is used for short message retransmission, the speed of short message retransmission is improved, and the success rate and stability of short message sending are improved through the detection of short message retransmission based on short message sending and short message receiving.

[0011] As a preferred example, the acquisition of the sending and receiving state of the short message to judge whether the short message needs to be retransmitted specifically comprises:

[0012] The short message retransmission template is obtained through the integrated configuration of the short message.

[0013] If the short message notification sent by the operator is short message sending failure or the short message receiving state callback fed back by the operator is short message receiving failure, it is determined that the short message needs to be retransmitted.

[0014] If the short message notification sent by the operator is short message sending success and the short message receiving state callback is short message receiving success, it is determined that the short message does not need to be retransmitted.

[0015] The application judges whether the short message needs to be retransmitted through the sending state and the receiving state of the short message fed back by the operator, if the sending or receiving of the short message is unsuccessful, it is judged that the short message needs to be retransmitted, the application detects the short message retransmission from the aspects of short message sending and receiving, improves the accuracy of detection of whether the short message is retransmitted, and further improves the success rate of short message sending.

[0016] As a preferred example, the acquisition of the short message retransmission template through the integrated configuration of the short message specifically comprises:

[0017] According to the detection result that the short message needs to be retransmitted, the short message retransmission template matched with the short message needing to be retransmitted is obtained through the query of the several short message templates in the integrated configuration of the short message.

[0018] The short message retransmission template includes a plurality of operator information and short message configurations corresponding to each operator.

[0019] After judging that the short message needs to be retransmitted, the integrated configuration of the short message is called, a plurality of templates in the integrated configuration are obtained, and a short message retransmission template matching the short message retransmission is selected from the templates. The short message retransmission template includes corresponding operators and short message configurations corresponding to each operator. According to the various templates, the short message sending speed is improved, and the short message configuration is changed according to the various templates. In the present application, when one of the corresponding multiple operator configurations in the short message retransmission template fails to send the short message, the remaining ones can be selected to send the short message, ensuring the success of the short message sending and improving the stability of the short message sending.

[0020] As a preferred example, the short message retransmission is performed by calling the operator information of the short message and the retransmission detection time, specifically including:

[0021] According to the short message retransmission template, the first operator corresponding to the short message retransmission template is requested to retransmit the short message, and the short message information of the short message is stored in the cache queue. The short message information includes short message parameters, phone numbers and operator information.

[0022] If the first operator notifies that the short message sending fails, the other operators corresponding to the short message retransmission template are requested to retransmit the short message.

[0023] The present application retransmits the short message by using the first operator in the short message retransmission template, and saves the short message information, phone numbers and operators of the short message to be retransmitted in the cache during the retransmission process. If the first operator fails to send the short message, the remaining operators can continue to be requested to retransmit the short message, ensuring the success of the short message sending and improving the stability and success rate of the short message sending.

[0024] As a preferred example, the monitoring of the retransmission state information and the receiving state information of the short message specifically includes:

[0025] Receiving the short message notification sent by the operator, judging the retransmission state information of the short message according to the short message notification;

[0026] If the retransmission state information of the short message is short message sending success, generating a corresponding keyword according to the short message information, and storing the keyword in the delay queue;

[0027] According to the retransmission detection time, the delay queue performs task callback, and the corresponding short message information is obtained by calling the keyword, so as to check whether there is short message receiving state information in the short message.

[0028] If the short message does not have short message receiving state information, the short message corresponding short message operator is requested to pull the receiving state of the short message.

[0029] After receiving the short message retransmission sending success, the application generates the corresponding keyword for the cached short message information, stores the keyword in the delay queue, and then detects the receiving condition of the retransmitted short message according to the set short message retransmission detection time. If the receiving state of the short message cannot be detected, the receiving condition of the short message is requested to be retrieved, the receiving condition of the short message is ensured to be obtained, and the stability of short message sending is improved.

[0030] As a preferred example, the determination of the short message retransmission condition specifically includes:

[0031] If the receiving state information of the short message is short message acceptance failure, the short message retransmission of the short message retransmission template corresponding other operator is requested;

[0032] If the acceptance state information of the short message is short message acceptance success, the short message retransmission is successful.

[0033] When the receiving state information of the short message is short message receiving failure, the application retransmits the short message according to the short message retransmission template of the remaining operators until the receiving state of the short message feedback is short message receiving success, the success rate of short message sending is improved, and the stability of short message sending is ensured according to the short message retransmission template according to the sending and acceptance condition of the short message.

[0034] As a preferred example, the judgment of whether the short message is retransmitted successfully further includes:

[0035] If the acceptance state information of the short message is short message acceptance success, the keyword corresponding to the short message in the delay queue is deleted;

[0036] According to the keyword, the short message information corresponding to the keyword in the cache is deleted.

[0037] After receiving the receiving state information of the short message as short message receiving success, the application deletes the keyword in the delay queue, and finds the corresponding short message information in the cache according to the keyword and deletes it, avoids wasting space, and improves the retransmission speed of the short message which needs to be retransmitted.

[0038] On the other hand, the application provides a short message retransmission system based on integrated configuration, which comprises a detection module, a retrieval module, a retransmission module and a monitoring module.

[0039] The detection module is used for detecting the sending and receiving state of the short message, and judging whether the short message needs to be re-sent.

[0040] The calling module is used for obtaining a short message re-sending template through the integrated configuration of the short message if the short message needs to be re-sent.

[0041] The re-sending module is used for calling the operator information and re-sending detection time of the short message according to the short message re-sending template, and re-sending the short message.

[0042] The monitoring module is used for monitoring the re-sending state information and receiving state information of the short message, so as to determine the re-sending condition of the short message.

[0043] The application discloses a short message re-sending system based on integrated configuration, which comprises a detection module, a calling module, a re-sending module and a monitoring module.

[0044] As a preferred example, the re-sending module comprises a cache unit and a re-sending unit.

[0045] The cache unit is used for requesting the first operator corresponding to the short message re-sending template to re-send the short message according to the short message re-sending template, and storing the short message information of the short message into a cache queue; the short message information comprises a short message parameter, a telephone number and operator information.

[0046] The re-sending unit is used for requesting other operators corresponding to the short message re-sending template to re-send the short message if the first operator informs that the short message sending fails.

[0047] The application retransmits the short message by the first operator in the retransmission template of the short message, and saves the short message information, phone number and operator of the retransmitted short message in the cache during the retransmission, so that if the first operator fails to send, the remaining operators can continue to retransmit, ensuring the success of the short message sending and improving the stability and success rate of the short message sending.

[0048] As a preferred example, the monitoring module comprises a callback unit and a pulling unit.

[0049] The callback unit is used to generate a corresponding keyword according to the short message information if the retransmission state information of the short message is short message sending success, and store the keyword into a delay queue; according to the retransmission detection time, the delay queue performs task callback, and the corresponding short message information is obtained by callback of the keyword, so as to check whether the short message has short message receiving state information.

[0050] The pulling unit is used to request the short message operator corresponding to the short message to pull the receiving state of the short message if the short message has no short message receiving state information.

[0051] After receiving the short message retransmission sending success, the application generates a corresponding keyword for the cached short message information, stores the keyword in the delay queue, and then detects the receiving condition of the retransmitted short message according to the set short message retransmission detection time. If the receiving state of the short message cannot be detected, the receiving condition of the short message is requested from the operator, so as to ensure that the receiving condition of the short message is obtained and the stability of the short message sending is improved. BRIEF DESCRIPTION OF DRAWINGS

[0052] Figure 1 : a flowchart of a short message retransmission method based on integrated configuration provided by an embodiment of the application;

[0053] Figure 2 : a structural schematic diagram of a short message retransmission system based on integrated configuration provided by an embodiment of the application;

[0054] Figure 3 : a flowchart of a short message retransmission method based on integrated configuration provided by another embodiment of the application;

[0055] Figure 4 : a structural schematic diagram of a short message integrated configuration provided by another embodiment of the application. DETAILED DESCRIPTION

[0056] With reference to the drawings and embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0057] Embodiment one

[0058] The embodiment provides a short message retransmission method based on integrated configuration, and the specific implementation process is shown in Figure 1 , which mainly includes steps 101 to 104, each of which specifically includes:

[0059] Step 101: detecting the sending and receiving state of the short message, and determining whether the short message needs to be retransmitted.

[0060] In the embodiment, the step specifically includes: determining whether the short message needs to be retransmitted by acquiring the short message notification sent by the operator and the short message receiving state callback; if the short message notification sent by the operator is short message sending failure or the short message receiving state callback fed back by the operator is short message receiving failure, it is determined that the short message needs to be retransmitted; if the short message notification sent by the operator is short message sending success and the short message receiving state callback is short message receiving success, it is determined that the short message does not need to be retransmitted.

[0061] Step 102: if the short message needs to be retransmitted, acquiring the short message retransmission template through the integrated configuration of the short message.

[0062] In the embodiment, the step specifically includes: according to the detection result that the short message needs to be retransmitted, obtaining the short message retransmission template matched with the short message needing to be retransmitted by querying a plurality of short message templates in the integrated configuration of the short message; the short message retransmission template includes a plurality of operator information and a short message template configuration corresponding to each operator.

[0063] Step 103: according to the short message retransmission template, calling the operator information and retransmission detection time of the short message to retransmit the short message.

[0064] In the embodiment, the step specifically includes: according to the short message retransmission template, requesting the first operator corresponding to the short message retransmission template to retransmit the short message and storing the short message information of the short message into a cache queue; the short message information includes short message parameters, phone numbers and operator information; if the first operator notifies that the short message sending fails, requesting other operators corresponding to the short message retransmission template to retransmit the short message.

[0065] Step 104: monitoring the resending state information and the receiving state information of the short message to determine the resending condition of the short message.

[0066] In the embodiment, the step specifically comprises: receiving the short message notification sent by the operator, judging the resending state information of the short message according to the short message notification, if the resending state information of the short message is that the short message is sent successfully, generating the corresponding keyword according to the short message information, and storing the keyword into the delay queue, according to the resending detection time, the delay queue performs task callback, the corresponding short message information is obtained by calling the keyword, so as to check whether the short message has the short message receiving state information, if the short message does not have the short message receiving state information, requesting the short message operator corresponding to the short message to pull the receiving state information of the short message.

[0067] In the embodiment, if the receiving state information of the short message is that the short message receiving fails, requesting other operators corresponding to the short message resending template to resend the short message, if the receiving state information of the short message is that the short message receiving succeeds, the short message resending succeeds, if the receiving state information of the short message is that the short message receiving succeeds, deleting the keyword corresponding to the short message in the delay queue, and deleting the short message information corresponding to the keyword from the cache according to the keyword.

[0068] The embodiment further provides a short message resending system based on integrated configuration, comprising a detection module 201, a calling module 202, a resending module 203 and a monitoring module 204.

[0069] The detection module 201 is used for detecting the sending and receiving state of the short message, and judging whether the short message needs to be resended.

[0070] The calling module 202 is used for acquiring a short message resending template through the integrated configuration of the short message if the short message needs to be resended.

[0071] The resending module 203 is used for calling the operator information and the resending detection time of the short message according to the short message resending template, and resending the short message.

[0072] The monitoring module 204 is used for monitoring the resending state information and the receiving state information of the short message to determine the resending condition of the short message.

[0073] In the embodiment, the resending module 203 comprises a cache unit and a resending unit.

[0074] The cache unit is used for requesting the first operator corresponding to the short message resending template to resend the short message according to the short message resending template, and storing the short message information of the short message into a cache queue, wherein the short message information comprises a short message parameter, a telephone number and operator information.

[0075] The resending unit is configured to request other operators corresponding to the short message resending template to resend the short message if the first operator fails to send the short message.

[0076] In the embodiment, the monitoring module 204 comprises a callback unit and a pulling unit.

[0077] The callback unit is configured to generate a corresponding keyword according to the short message information if the resending state information of the short message is that the short message is sent successfully, and store the keyword in a delay queue; the delay queue performs task callback according to the resending detection time, and obtains the corresponding short message information by calling the keyword, so as to determine whether the short message has short message receiving state information.

[0078] The pulling unit is configured to request a short message operator corresponding to the short message to pull the receiving state of the short message if the short message does not have short message receiving state information.

[0079] The embodiment discloses a short message resending method based on integrated configuration and a corresponding system. The sending and receiving states of a short message are detected to determine whether the short message needs to be resent. Technical means for detecting short messages are set to improve the success rate of short message sending. Then, if the short message needs to be resent, a short message resending template is called according to the integrated configuration of the short message. The speed of short message resending is improved by setting various types of short message templates. Then, the corresponding operator information is called by using the short message resending template to resend the short message. The resending state information sent by the operator is received to determine whether the short message resending is successful. The stability of information sending is ensured according to the sending state information fed back by the operator. Then, the receiving state information of the short message is detected according to the resending state information to ensure the acceptance of information in the case of successful information sending, avoid the waste of short message resending time, and finally determine whether the short message resending is successful according to the receiving state of the short message. The short message resending is performed by using the short message template to improve the speed of short message resending. The success rate and stability of short message sending are improved by detecting the short message resending based on short message sending and short message receiving.

[0080] Embodiment two

[0081] The embodiment provides another short message resending method based on integrated configuration. For specific implementation process, please refer to Figure 3 , mainly comprising steps 301 to 305, mainly including:

[0082] Step 301: Obtain the sending and receiving state information of the short message to determine whether the short message needs to be resent.

[0083] In the embodiment, the step specifically includes: acquiring the short message notification and the short message receiving state callback sent by the operator, judging whether the short message needs to be re-sent, that is, the server requests the operator to send the short message, and the operator notifies the server whether the sending is successful. If the operator notification is a sending failure, the short message needs to be re-sent; if the operator notification is a sending failure, the short message needs to be re-sent, and the operator user receiving information success callback needs to be continued to wait, if the operator callback result is that the user receives the short message unsuccessfully, the short message needs to be re-sent,

[0084] Step 302: If the short message needs to be re-sent, acquiring the short message re-sending template in the integrated configuration of the short message.

[0085] In the embodiment, the step specifically includes: querying a plurality of short message templates in the integrated configuration of the short message, obtaining the short message re-sending template matched with the short message needing to be re-sent, and configuring the optional short message operator information of the short message re-sending template and the checking time interval of the short message re-sending.

[0086] Step 303: Re-sending the short message according to the short message re-sending template, and acquiring the re-sending state information of the short message.

[0087] In the embodiment, the step specifically includes: requesting the first operator corresponding to the short message re-sending template to re-send the short message and storing the short message information of the short message into a cache queue, that is, requesting the first short message operator in the configuration to send the short message, and storing the short message parameters, the phone number, the operator information and other information of the present sending into redis. If the first operator notifies that the short message sending fails, requesting other operators corresponding to the short message re-sending template to re-send the short message, that is, when the short message sending of the first short message operator fails, other operators in the short message configuration are directly read to re-send the short message until the short message sending succeeds.

[0088] Step 304: According to the re-sending state information, acquiring the receiving state information of the short message.

[0089] In the embodiment, the step specifically includes: receiving the short message notification sent by the operator, judging the re-sending state information of the short message according to the short message notification; if the re-sending state information of the short message is a short message sending success, calling the receiving state information of the short message, that is, when the short message sending succeeds, a corresponding key is generated for the information stored in step 303, and the key is stored in a delay queue. After the time interval configured, the delay queue performs task callback, the corresponding short message information is found from redis according to the callback key, so as to check whether there is a short message receiving state callback for the corresponding short message operator, if there is still no state callback, the short message operator interface is actively requested to pull the receiving state of the short message.

[0090] Step 305: judging whether the short message is successfully re-sent according to the receiving state information.

[0091] In the embodiment, if the receiving state of the short message is still not successfully arrived, the next short message operator is continued to be acquired to re-send the short message; if the receiving state of the short message is successfully arrived, the short message parameters, templates, phones and other information stored in the redis are deleted, and the task in the delay queue is deleted, and the short message sending and receiving are successful.

[0092] In the embodiment, a short message integrated configuration is also provided, please refer to Figure 4 The structural schematic diagram of the short message integrated configuration provided in the embodiment is shown in Figure 4 Firstly, the application ID is taken as the first layer directory of the short message configuration; if the application ID is 1001, the first layer directory name is 1001. Then, all the short message templates corresponding to the application are configured under the directory corresponding to the application ID, the short message template name is taken as the file name, the short message configuration file corresponding to all the short message templates is created, and the short message configurations of the same short message templates in all the jacker packages under the application are written in the file corresponding to the short message template.

[0093] According to the short message integrated configuration, when the short message configuration is added, deleted, modified or inquired, the short message template file under the application ID directory is found to be operated, and it is not necessary to operate in the numerous single short message configuration files, which is very simple and intuitive. When the short message configuration of the jacker package under the application needs to be added or deleted, the short message template file under the application ID directory is found to add or delete the short message configuration of the jacker package, and the situation of mistaken deletion or missed deletion does not occur. The key contents of the short message configuration file are the application ID, the short message template name and the operation package name of the application; when the operation package of a certain application requests to send a short message, the corresponding short message configuration is found according to the application ID, the operation package name and the short message template of the operation package, and then the short message configuration is used to request the short message operator to send the short message to the user. In this way, the compatibility of multiple applications, multiple packages and multiple operators can be realized.

[0094] The embodiment provides a short message integrated configuration and a short message re-sending method based on the short message integrated configuration. According to the integrated configuration, the configuration of each application is separated, the short message templates are managed at the application level, the number of operation packages using a certain short message template of an application can be known at a glance, when the short message configuration of the operation package needs to be added, modified or deleted, the short message template file needing to be operated can be quickly located, the short message configuration operation is accurate and convenient, the short message re-sending template based on the integrated configuration is used for short message re-sending, the short message sending failure caused by the operator accident can be greatly reduced, the short message system is more stable, and the disaster recovery capability and flexibility of the short message system are greatly improved.

[0095] The above-described specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above-described specific embodiments are merely examples of the present application and are not intended to limit the protection scope of the present application. It is particularly pointed out that any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for retransmitting SMS messages based on integrated configuration, characterized in that, The application comprises: detecting the sending and receiving status of the short message and determining whether the short message needs to be re-sent; if the short message needs to be re-sent, obtaining a short message re-sending template through integrated configuration of the short message; wherein the integrated configuration takes the application ID as the first layer directory; under the first layer directory, all short message template configurations corresponding to the application ID are created into short message configuration files according to the short message template name as the file name, and the short message configurations of the same short message template in all the applets under the application ID are written into the file corresponding to the short message template; according to the short message re-sending template, calling the operator information and re-sending detection time of the short message to perform short message re-sending; wherein according to the short message re-sending template, the first operator corresponding to the short message re-sending template is requested to re-send the short message and store the short message information into the cache queue; the short message information includes short message parameters, phone numbers and operator information; if the first operator notifies that the short message sending fails, other operators corresponding to the short message re-sending template are requested to re-send the short message; monitoring the re-sending status information and receiving status information of the short message to determine the re-sending situation of the short message; wherein if the receiving status information of the short message is short message receiving failure, other operators corresponding to the short message re-sending template are requested to re-send the short message; if the receiving status information of the short message is short message receiving success, the short message re-sending is successful; wherein the short message notification sent by the operator is received, the re-sending status information of the short message is determined according to the short message notification; if the re-sending status information of the short message is short message sending success, the corresponding keyword is generated according to the short message information, and the keyword is stored into the delay queue; according to the re-sending detection time, the delay queue performs task callback, the corresponding short message information is obtained by calling the keyword, so as to check whether the short message has short message receiving status information; if the short message does not have short message receiving status information, the short message receiving status of the short message is pulled by the short message operator corresponding to the short message.

2. The method of claim 1, wherein the message is retransmitted based on an integrated configuration. The obtaining of the sending and receiving status of the short message and the determination of whether the short message needs to be re-sent specifically comprises: determining whether the short message needs to be re-sent through the short message notification sent by the operator and the short message receiving status callback; if the short message notification sent by the operator is short message sending failure or the short message receiving status callback fed back by the operator is short message receiving failure, it is determined that the short message needs to be re-sent; if the short message notification sent by the operator is short message sending success and the short message receiving status callback is short message receiving success, it is determined that the short message does not need to be re-sent.

3. The method of claim 1, wherein the message is retransmitted based on an integrated configuration. The obtaining of the short message re-sending template through the integrated configuration of the short message specifically comprises: obtaining the short message re-sending template matched with the short message needing to be re-sent through querying a plurality of short message templates in the integrated configuration of the short message according to the detection result of the short message needing to be re-sent; the short message re-sending template comprises a plurality of operator information and short message template configurations corresponding to the operators.

4. The method of claim 1, wherein the message is retransmitted based on an integrated configuration. The determination of the re-sending situation of the short message specifically comprises: If the receiving status information of the short message is short message receiving failure, the other operator corresponding to the short message resend template is requested to resend the short message; If the receiving status information of the short message is short message receiving success, the short message resend is successful.

5. The method of claim 1, wherein the message is retransmitted based on an integrated configuration. The judging whether the short message is successfully resent further comprises: If the receiving status information of the short message is short message receiving success, the keyword corresponding to the short message in the delay queue is deleted; According to the keyword, the short message information corresponding to the keyword is deleted from the cache.

6. A short message retransmission system based on an integrated configuration, characterized by The system comprises a detection module, a calling module, a resend module and a monitoring module; The detection module is used to detect the sending and receiving status of the short message and judge whether the short message needs to be resent; The calling module is used to acquire the short message resend template through the integrated configuration of the short message if the short message needs to be resent; wherein the integrated configuration takes the application ID as the first layer directory; under the first layer directory, all short message template configurations corresponding to the application ID are created as short message configuration files with the short message template name as the file name, and the short message configurations of the same short message template in all the applets under the application ID are written in the file corresponding to the short message template; The resend module is used to call the operator information and resend detection time of the short message according to the short message resend template to resend the short message; wherein the resend module comprises a cache unit and a resend unit; The cache unit is used to request the first operator corresponding to the short message resend template to resend the short message according to the short message resend template and store the short message information of the short message in the cache queue; the short message information comprises short message parameters, phone number and operator information; the resend unit is used to request the other operator corresponding to the short message resend template to resend the short message if the first operator notifies that the short message sending fails; The monitoring module is used to monitor the resend status information and receiving status information of the short message to determine the resend condition of the short message; wherein if the receiving status information of the short message is short message receiving failure, the other operator corresponding to the short message resend template is requested to resend the short message; if the receiving status information of the short message is short message receiving success, the short message resend is successful; wherein the monitoring module comprises a callback unit and a pulling unit; the callback unit is used to generate the corresponding keyword according to the short message information and store the keyword in the delay queue if the resend status information of the short message is short message sending success; the delay queue performs task callback according to the resend detection time, obtains the corresponding short message information by calling the keyword, and makes it possible to check whether the short message has short message receiving status information; the pulling unit is used to request the short message operator corresponding to the short message to pull the receiving status of the short message if the short message has no short message receiving status information.

Citation Information

Patent Citations

  • System and method for improving ability to send text messages and optimizing sending

    CN104270730A

  • Cloud communication short message service platform

    CN112351392A