Method, system and device for improving intelligent short message sending success rate and storage medium

By acquiring and caching operator information and terminal support types, dynamic routing and fallback mechanisms, the problems of smart SMS platform in number portability and terminal compatibility are solved, the sending success rate and performance are improved, and the high concurrency scenarios are adapted to high concurrency scenarios.

CN119211857APending Publication Date: 2024-12-27GUANGXI DONGXIN YITONG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411346267.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The existing smart SMS platform has information inaccuracy and high network latency in terms of number portability and terminal compatibility, resulting in low SMS sending success rate and lack of effective fallback mechanism and high concurrency processing capabilities.

Method used

By obtaining and cacheing the actual operator information of the sending and receiving ends and the SMS types supported by the terminal, the dynamic routing and fallback mechanism of smart SMS is realized, and local caches are queried first to reduce external system interactions and improve sending efficiency.

Benefits of technology

It reduces the delay in sending SMS, improves the sending success rate and fault tolerance, and ensures that information can be transmitted in a timely manner in high concurrency scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211857A_ABST
    Figure CN119211857A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a system and equipment for improving the intelligent short message sending success rate and a storage medium, belongs to the technical field of short message communication, and solves the technical problem that the intelligent short message sending success rate is low. The method comprises the following steps: acquiring actual operator information of a mobile phone number of a sending end; obtaining an intelligent short message task submitted and issued by a client, wherein the intelligent short message task supports multiple short message types; in the process of sending the intelligent short message, detecting a short message type supported by a mobile phone at a receiving end; if the mobile phone at the receiving end does not support the intelligent short message, the intelligent short message automatically falls back to the short message type supported by the mobile phone at the receiving end and then is sent to the mobile phone at the receiving end; the number portability data of the mobile phone number of the sending end and the short message type data supported by the mobile phone of the receiving end are locally cached; in the actual short message issuing task, the local cache is queried preferentially, and if the local cache is not hit, the local cache is queried through the channel, so that repeated interaction with an external system is avoided, and the sending efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of short message communication, and more specifically, to a method, system, device and storage medium for improving the success rate of sending smart short messages. Background Art

[0002] As an important means of communication, SMS plays a key role in many scenarios such as identity authentication, notification, and advertising marketing. With the popularity of smart phones, smart SMS (such as rich media SMS, interactive SMS, etc.) has gradually emerged, which can provide richer content and better user experience. However, the existing smart SMS sending platform faces some problems in practical applications, mainly including the following aspects:

[0003] 1. Incorrect routing of mobile phone numbers for number portability: With the implementation of the number portability policy, users can switch freely between different operators without changing their mobile phone numbers. The implementation of this policy makes the existing intelligent SMS platform often rely on a static operator database when sending SMS, and cannot determine the user's actual operator in real time. This inaccurate information may cause SMS sending requests to be incorrectly routed, thereby increasing the probability of invalid requests and reducing the success rate of SMS sending.

[0004] 2. Single SMS sending type: When sending smart SMS fails, the platform often lacks an effective fallback mechanism and cannot automatically switch to text or video SMS, resulting in the failure to deliver information in a timely manner.

[0005] 3. Smart SMS terminal compatibility issues: Although smart SMS has rich functions, not all terminals support the parsing of smart SMS. When the terminal does not support the parsing of smart SMS, the terminal cannot display the SMS content normally, thus affecting the user experience.

[0006] 4. Poor performance: Mobile phone number portability information and terminals need to be obtained through different external channels, resulting in high network latency and difficulty in coping with high-concurrency task scenarios. Summary of the invention

[0007] The technical problem to be solved by the present invention is to address the above-mentioned deficiencies in the prior art. One purpose of the present invention is to provide a method for improving the success rate of sending smart text messages.

[0008] The second objective of the present invention is to provide a system for improving the success rate of text message sending.

[0009] A third object of the present invention is to provide a computer device.

[0010] A fourth objective of the present invention is to provide a computer storage medium.

[0011] In order to achieve the above-mentioned objective 1, the present invention provides a method for improving the success rate of sending smart short messages, comprising the following steps:

[0012] Step 1. Obtain the actual operator information of the sender's mobile phone number to ensure that the SMS request can be correctly routed to the corresponding operator network;

[0013] Step 2. Get the smart SMS task submitted by the customer. The SMS types supported by the smart SMS task include smart SMS, text SMS, video SMS, audio SMS, and picture SMS.

[0014] Step 3. During the process of sending the smart SMS, the SMS type supported by the receiving mobile phone is detected; if it is found that the receiving mobile phone does not support the smart SMS, the smart SMS is automatically converted back to the SMS type supported by the receiving mobile phone and then sent to the receiving mobile phone;

[0015] Step 4. Locally cache the number portability data of the sending mobile phone number and the SMS type data supported by the receiving mobile phone;

[0016] In the actual task of sending SMS messages, the local cache is queried first. If a hit is not found, the query is made through the channel to avoid multiple interactions with the external system, thereby improving the sending efficiency.

[0017] As a further improvement, the process of determining the actual operator to which the sending end mobile phone number belongs includes:

[0018] Step 11. Read the full mobile phone number cache in Redis to determine whether the current sending mobile phone number has sent smart SMS;

[0019] Step 12. If no smart SMS has been sent, call the MIIT interface to obtain the actual operator information of the sender's mobile phone number; if the current sender's mobile phone number has number portability data, store the actual operator of the sender's mobile phone number in the Redis cache;

[0020] Step 13. After sending the smart SMS, query the Redis cache to obtain the actual operator information of the sender's mobile phone number; if there is no data in Redis, it means that the mobile phone number has no number portability data, and the actual operator is regarded according to the number segment location.

[0021] Further, in step 3, the parsing process of determining whether the receiving mobile phone supports smart SMS includes:

[0022] Step 21. Read the Redis full mobile phone number cache to determine whether the current receiving mobile phone number has sent smart SMS;

[0023] Step 22. If smart SMS has not been sent, call the short link platform gateway interface to obtain the current receiving end mobile phone number information, and add the receiving end mobile phone number to the local full mobile phone number cache; if the receiving end mobile phone supports parsing smart SMS, the receiving end mobile phone support information is stored in the Redis cache; if the receiving end mobile phone does not support it, the Redis cache is not processed;

[0024] Step 23. After sending the smart SMS, query the Redis cache to obtain the recipient's mobile phone information.

[0025] Further, in step 3, if the receiving mobile phone supports intelligent SMS parsing, the short link platform is requested to apply for an intelligent SMS link;

[0026] After the application is successful, the smart SMS will be submitted to the corresponding operator gateway to process the operator's receipt report. After successful processing, the process ends;

[0027] If the receiving mobile phone does not support intelligent SMS parsing or the application or processing is unsuccessful, the fallback mechanism process will be executed.

[0028] Furthermore, the fallback mechanism process includes:

[0029] Step 31. Determine whether the current SMS is a smart SMS or a normal SMS. If it is a smart SMS, execute step 32; otherwise, the process ends;

[0030] Step 32. If the parameters for fallback text, video, audio or picture SMS are not configured, fallback is not required and the process ends; otherwise, fallback is required and step 33 is executed;

[0031] Step 33. Reconstruct the fallback SMS parameters, convert the smart SMS into text, video, audio or picture SMS, mark the current SMS as a fallback SMS, and resubmit it to the operator gateway; if the gateway still returns a failure error code, the process ends.

[0032] Furthermore, if the priorities for falling back to text, video, audio, and picture messages are configured, the smart messages will be fallen back according to the priorities; otherwise, the smart messages will be fallen back to text messages by default.

[0033] Furthermore, the Redis full mobile phone number cache, number portability cache and terminal information cache update mechanism process includes:

[0034] Step 41. Collect the mobile phone number data that sends smart SMS within the set time as the basic data for full mobile phone number cache;

[0035] Step 42. Use basic data to periodically query the actual operator and terminal information of the mobile phone number from the channel party;

[0036] Step 43. Store the query results in Redis respectively and call them when the smart SMS task is actually issued.

[0037] In order to achieve the above-mentioned second objective, the present invention provides a system for improving the success rate of intelligent SMS sending, comprising:

[0038] The first acquisition module is used to obtain the actual operator information of the sending end mobile phone number to ensure that the SMS sending request can be correctly routed to the corresponding operator network;

[0039] The second acquisition module is used to acquire the smart SMS tasks submitted by the customer. The SMS types supported by the smart SMS tasks include smart SMS, text SMS, video SMS, audio SMS, and picture SMS.

[0040] The sending module is used to detect the SMS type supported by the receiving mobile phone during the process of sending the smart SMS; if it is found that the receiving mobile phone does not support the smart SMS, the smart SMS is automatically converted back to the SMS type supported by the receiving mobile phone before being sent to the receiving mobile phone;

[0041] The cache module is used to locally cache the number portability data of the sending mobile phone number and the SMS type data supported by the receiving mobile phone; in the actual SMS sending task, the local cache is queried first, and if there is a miss, it is queried through the channel to avoid multiple interactions with the external system, thereby improving the sending efficiency.

[0042] In order to achieve the third objective above, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned method for improving the success rate of sending smart SMS when executing the computer program.

[0043] In order to achieve the fourth objective above, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for improving the success rate of sending smart SMS is implemented.

[0044] Beneficial Effects

[0045] Compared with the prior art, the present invention has the following advantages:

[0046] 1. The text message sending delay of the present invention is low. When sending, the actual operator of the mobile phone number is obtained first, rather than traversing the channels in sequence to try to send, which can greatly reduce the delay caused by resending.

[0047] 2. The high performance of the present invention is to query the local cache first, and then query through the channel if it misses, which effectively avoids multiple interactions with the external system and improves the sending efficiency.

[0048] 3. The present invention has high fault tolerance. When the terminal does not support smart SMS, the application for short link fails or other abnormal situations occur, it can automatically fall back to text or video SMS to ensure successful SMS sending. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 To send smart SMS flow chart;

[0050] Figure 2 It is the flow chart of the fallback mechanism;

[0051] Figure 3 Redis cache refresh flow chart. DETAILED DESCRIPTION

[0052] The present invention will be further described below with reference to the specific embodiments in the accompanying drawings.

[0053] See also Figure 1 to Figure 3 , a method for improving the success rate of sending smart text messages, comprising the following steps:

[0054] Step 1. Obtain the actual operator information of the sending mobile phone number to ensure that the SMS sending request can be correctly routed to the corresponding operator network, avoid invalid requests caused by incorrect operator information, and thus improve the success rate of SMS sending;

[0055] Step 2. Get the smart SMS task submitted by the customer. The SMS types supported by the smart SMS task include smart SMS, text SMS, video SMS, audio SMS, and picture SMS. If the smart SMS fails to be sent, it will be converted back to text SMS, video SMS, audio SMS, or picture SMS according to the task requirements.

[0056] Step 3. During the process of sending the smart SMS, the SMS type supported by the receiving mobile phone is detected; if it is found that the receiving mobile phone does not support the smart SMS, the smart SMS is automatically converted back to the SMS type supported by the receiving mobile phone before being sent to the receiving mobile phone to ensure successful SMS sending and improve the user reception rate;

[0057] Step 4. Locally cache the number portability data of the sending mobile phone number and the SMS type data supported by the receiving mobile phone;

[0058] In the actual task of sending SMS messages, the local cache is queried first, and if a hit is not found, it is queried through the channel. This can avoid multiple interactions with the external system, thereby improving the sending efficiency.

[0059] After receiving the SMS application submitted by the user, the process of determining the actual operator of the sending mobile phone number includes:

[0060] Step 11. Read the full mobile phone number cache in Redis to determine whether the current sending mobile phone number has sent smart SMS;

[0061] Step 12. If no smart SMS has been sent, call the MIIT interface to obtain the actual operator information of the sender's mobile phone number; if the current sender's mobile phone number has number portability data, store the actual operator of the sender's mobile phone number in the Redis cache;

[0062] Step 13. After sending the smart SMS, query the Redis cache to obtain the actual operator information of the sender's mobile phone number; if there is no data in Redis, it means that the mobile phone number has no number portability data, and the actual operator is regarded according to the number segment location.

[0063] In step 3, the parsing process for determining whether the receiving mobile phone supports smart SMS includes:

[0064] Step 21. Read the full mobile phone number cache in Redis to determine whether the current receiving mobile phone number has sent smart SMS;

[0065] Step 22. If smart SMS has not been sent, call the short link platform gateway interface to obtain the current receiving end mobile phone number information, and add the receiving end mobile phone number to the local full mobile phone number cache; if the receiving end mobile phone supports parsing smart SMS, the receiving end mobile phone support information is stored in the Redis cache; if the receiving end mobile phone does not support it, the Redis cache is not processed;

[0066] Step 23. After sending the smart SMS, query the Redis cache to obtain the recipient's mobile phone information.

[0067] In step 3, if the receiving mobile phone supports smart SMS parsing, the short link platform is requested to apply for a smart SMS link;

[0068] After the application is successful, the smart SMS will be submitted to the corresponding operator gateway to process the operator's receipt report. After successful processing, the process ends;

[0069] If the receiving mobile phone does not support intelligent SMS parsing or the application or processing is unsuccessful, the fallback mechanism process will be executed.

[0070] The fallback mechanism process includes:

[0071] Step 31. Determine whether the current SMS is a smart SMS or a normal SMS. If it is a smart SMS, execute step 32; otherwise, the process ends;

[0072] Step 32. If the parameters for fallback text, video, audio or picture SMS are not configured, fallback is not required and the process ends; otherwise, fallback is required and step 33 is executed;

[0073] Step 33. Reconstruct the fallback SMS parameters, convert the smart SMS into text, video, audio or picture SMS, mark the current SMS as a fallback SMS, and resubmit it to the operator gateway; if the gateway still returns a failure error code, the process ends.

[0074] Specifically, if the priorities for falling back text, video, audio, and picture SMS are configured, the smart SMS will be fallen back according to the priorities; otherwise, the smart SMS will be fallen back to a text SMS by default.

[0075] The Redis full mobile phone number cache, number portability cache, and terminal information cache update mechanism process includes:

[0076] Step 41. Collect the mobile phone number data that sends smart SMS within the set time as the basic data for full mobile phone number cache;

[0077] Step 42. Use basic data to periodically query the actual operator and terminal information of the mobile phone number from the channel party;

[0078] Step 43. Store the query results in Redis respectively and call them when the smart SMS task is actually issued.

[0079] The present invention supports the sending of multiple intelligent SMS task types, improving the delivery success rate. And storing hot data in Redis can avoid multiple interactions with external interfaces, significantly reducing the delay caused by retransmission, so as to meet the high concurrency demand scenario.

[0080] A system for improving the success rate of intelligent short message sending, comprising:

[0081] The first acquisition module is used to obtain the actual operator information of the sending end mobile phone number to ensure that the SMS sending request can be correctly routed to the corresponding operator network;

[0082] The second acquisition module is used to acquire the smart SMS tasks submitted by the customer. The SMS types supported by the smart SMS tasks include smart SMS, text SMS, video SMS, audio SMS, and picture SMS.

[0083] The sending module is used to detect the SMS type supported by the receiving mobile phone during the process of sending the smart SMS; if it is found that the receiving mobile phone does not support the smart SMS, the smart SMS is automatically converted back to the SMS type supported by the receiving mobile phone before being sent to the receiving mobile phone;

[0084] The cache module is used to locally cache the number portability data of the sending mobile phone number and the SMS type data supported by the receiving mobile phone; in the actual SMS sending task, the local cache is queried first, and if there is a miss, it is queried through the channel to avoid multiple interactions with the external system, thereby improving the sending efficiency.

[0085] A computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the method for improving the success rate of sending smart short messages is implemented.

[0086] A computer-readable storage medium stores a computer program, which implements the above-mentioned method for improving the success rate of intelligent SMS sending when the computer program is executed by a processor.

[0087] The above are only preferred embodiments 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 improving the success rate of sending smart text messages, characterized in that: The following steps are involved: Step 1. Obtain the actual operator information of the sender's mobile phone number to ensure that the SMS request can be correctly routed to the corresponding operator network; Step 2. Get the smart SMS task submitted by the customer. The SMS types supported by the smart SMS task include smart SMS, text SMS, video SMS, audio SMS, and picture SMS. Step 3. During the process of sending the smart SMS, detect the SMS type supported by the receiving mobile phone; If it is found that the receiving mobile phone does not support smart SMS, the smart SMS will be automatically converted back to the SMS type supported by the receiving mobile phone before being sent to the receiving mobile phone; Step 4. Locally cache the number portability data of the sending mobile phone number and the SMS type data supported by the receiving mobile phone; In the actual task of sending SMS messages, the local cache is queried first. If a hit is not found, the query is made through the channel to avoid multiple interactions with the external system, thereby improving the sending efficiency.

2. The method for improving the success rate of sending smart SMS according to claim 1, characterized in that: The process of determining the actual operator of the sending mobile phone number includes: Step 11. Read the full mobile phone number cache in Redis to determine whether the current sending mobile phone number has sent smart SMS; Step 12. If no smart SMS has been sent, call the MIIT interface to obtain the actual operator information of the sender's mobile phone number; if the current sender's mobile phone number has number portability data, store the actual operator of the sender's mobile phone number in the Redis cache; Step 13. After sending the smart SMS, query the Redis cache to obtain the actual operator information of the sender's mobile phone number; if there is no data in Redis, it means that the mobile phone number has no number portability data, and the actual operator is regarded according to the number segment location.

3. The method for improving the success rate of sending smart short messages according to claim 1, characterized in that: In step 3, the parsing process for determining whether the receiving mobile phone supports smart SMS includes: Step 21. Read the full mobile phone number cache in Redis to determine whether the current receiving mobile phone number has sent smart SMS; Step 22. If smart SMS has not been sent, call the short link platform gateway interface to obtain the current receiving end mobile phone number information, and add the receiving end mobile phone number to the local full mobile phone number cache; if the receiving end mobile phone supports parsing smart SMS, the receiving end mobile phone support information is stored in the Redis cache; if the receiving end mobile phone does not support it, the Redis cache is not processed; Step 23. After sending the smart SMS, query the Redis cache to obtain the recipient's mobile phone information.

4. The method for improving the success rate of sending smart short messages according to claim 1, characterized in that: In step 3, if the receiving mobile phone supports smart SMS parsing, the short link platform is requested to apply for a smart SMS link; After the application is successful, the smart SMS will be submitted to the corresponding operator gateway to process the operator's receipt report. After successful processing, the process ends; If the receiving mobile phone does not support intelligent SMS parsing or the application or processing is unsuccessful, the fallback mechanism process will be executed.

5. The method for improving the success rate of sending smart short messages according to claim 4, characterized in that: The fallback mechanism process includes: Step 31. Determine whether the current SMS is a smart SMS or a normal SMS. If it is a smart SMS, execute step 32; otherwise, the process ends; Step 32. If the parameters for fallback text, video, audio or picture SMS are not configured, fallback is not required and the process ends; otherwise, fallback is required and step 33 is executed; Step 33. Reconstruct the fallback SMS parameters, convert the smart SMS into text, video, audio or picture SMS, mark the current SMS as a fallback SMS, and resubmit it to the operator gateway; if the gateway still returns a failure error code, the process ends.

6. The method for improving the success rate of sending smart short messages according to claim 5, characterized in that: If the priority of falling back text, video, audio, or picture SMS is configured, the smart SMS will be fallen back according to the priority; otherwise, the smart SMS will be fallen back to text SMS by default.

7. The method for improving the success rate of sending smart short messages according to claim 2, characterized in that: The Redis full mobile phone number cache, number portability cache, and terminal information cache update mechanism process includes: Step 41. Collect the mobile phone number data that sends smart SMS within the set time as the basic data for full mobile phone number cache; Step 42. Use basic data to periodically query the actual operator and terminal information of the mobile phone number from the channel party; Step 43. Store the query results in Redis respectively and call them when the smart SMS task is actually issued.

8. A system for improving the success rate of sending smart short messages, characterized in that: include: The first acquisition module is used to obtain the actual operator information of the sending end mobile phone number to ensure that the SMS sending request can be correctly routed to the corresponding operator network; The second acquisition module is used to acquire the smart SMS tasks submitted by the customer. The SMS types supported by the smart SMS tasks include smart SMS, text SMS, video SMS, audio SMS, and picture SMS. The sending module is used to detect the SMS type supported by the receiving mobile phone during the process of sending smart SMS; If it is found that the receiving mobile phone does not support smart SMS, the smart SMS will be automatically converted back to the SMS type supported by the receiving mobile phone before being sent to the receiving mobile phone; The cache module is used to locally cache the number portability data of the sending mobile phone number and the SMS type data supported by the receiving mobile phone; In the actual task of sending SMS messages, the local cache is queried first. If a hit is not found, the query is made through the channel to avoid multiple interactions with the external system, thereby improving the sending efficiency.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method for improving the success rate of sending smart text messages as described in any one of claims 1-7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a method for improving the success rate of sending smart text messages as described in any one of claims 1 to 7 is implemented.