System and method for realizing short message service through short message gateway
Through the combination of SMS gateway module, template setting module, business setting module and SMS log module, the existing SMS service system has been solved, and the flexible configuration and management of SMS services has been realized, and the user experience has been improved. Business scalability enhances data security.
Patent Information
- Application Number
- CN202411379835.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-07
AI Technical Summary
The existing SMS service system has single functions, inflexible configuration, lacks log management and status monitoring, making it difficult to meet the complex and changeable corporate communication needs.
Through the SMS gateway module, template setting module, business setting module and SMS log module, flexible configuration and management of SMS services are realized, and support dynamic generation of SMS content, configuring business rules and recording sending logs.
It improves the flexibility, management efficiency and security of SMS services, realizes automatic sending of preset SMS messages, enhances user experience and business scalability, supports batch editing and encryption processing, and reduces operating costs.
Smart Images

Figure CN119277335A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for implementing a short message service, and in particular to a system and method for implementing a short message service through a short message gateway, and belongs to the technical field of communication. Background Art
[0002] With the rapid development of mobile communication technology, short message (SMS) services have become an indispensable part of people's daily life and work. SMS services are not only used for personal communication, but also widely used in various business and service fields, such as bank notifications, logistics tracking, customer service, etc. However, existing SMS service systems often have problems such as single functions, inflexible configuration, lack of log management and status monitoring. Especially in enterprise communications, the integration and management of SMS functions are particularly important.
[0003] Traditional SMS systems mainly transmit messages through SMS gateways provided by operators. Although this model can meet basic communication needs, it is powerless when facing complex and changing business scenarios. For example, users may need to automatically send SMS reminders after hanging up the phone, send notifications when missed calls, etc. However, the existing system lacks flexibility and configurability in these aspects.
[0004] Therefore, it is particularly necessary to design a method for implementing SMS services that can integrate multiple SMS functions, has flexible configuration, and is convenient to manage. Summary of the invention
[0005] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a system and method for implementing SMS services through an SMS gateway, aiming to improve the flexibility, management efficiency and security of SMS services.
[0006] The purpose of the present invention is achieved through the following technical solutions:
[0007] The system for implementing SMS business through SMS gateway is characterized by: comprising an SMS gateway module, a template setting module, a business setting module and an SMS log module, wherein the SMS gateway module is used to configure and manage a third-party SMS gateway; the template setting module is used to define and manage SMS content templates; the business setting module is used to configure various SMS business rules; and the SMS log module is used to record and query SMS sending records.
[0008] Furthermore, in the above-mentioned system for implementing SMS services through an SMS gateway, the SMS gateway module is used to communicate with a third-party SMS gateway, and the system adds and configures the SMS gateway.
[0009] Furthermore, in the above-mentioned system for implementing SMS services through an SMS gateway, the template setting module is used to create and manage SMS templates, each template contains multiple variables, and the SMS content is dynamically generated according to different business requirements.
[0010] Furthermore, in the above-mentioned system for implementing SMS service through SMS gateway, the service setting module is used to configure various SMS service rules and set corresponding SMS service rules for each extension.
[0011] Furthermore, in the above-mentioned system for implementing SMS services through an SMS gateway, the SMS log module records log information of all SMS messages sent to facilitate subsequent query and management, and configures the log record retention time.
[0012] The method for implementing a short message service through a short message gateway of the present invention comprises the following steps:
[0013] 1) Configure SMS gateways, configure and manage third-party SMS gateways, including setting gateway names, URLs, authentication information, and verifying gateway availability;
[0014] 2) Define SMS templates, define and manage SMS templates, each template contains multiple variables, and dynamically generate SMS content according to different business needs;
[0015] 3) Configure SMS service rules, configure various SMS service rules, and support configuring SMS services for multiple extensions through batch editing;
[0016] 4) Send SMS messages through the configured third-party gateway and send SMS templates according to SMS service rules;
[0017] 5) Record logs to record the log information of all SMS messages sent for subsequent query and management; and configure the log record retention time.
[0018] Furthermore, the above method for implementing SMS service through SMS gateway, wherein, in step 1), the name of the gateway is set to facilitate subsequent identification and management; the URL address of the gateway is entered to determine the access point of the gateway; authentication information, i.e., API key or password, is provided to establish a secure connection; a test is performed to verify the connectivity and functionality of the gateway to ensure its availability; the user can enter the gateway details and perform a connection test to ensure that the set gateway is used for actual SMS sending.
[0019] Furthermore, the above method for implementing SMS service through SMS gateway, wherein, in step 2), the name and type of the template, hang-up SMS, missed call reminder; setting the default template option for sending SMS under normal circumstances; configuring content variables to allow dynamic insertion of calling number, called number, and call time information; having a template editing tool to facilitate the insertion of variables and text to create SMS content that adapts to different scenarios; the variables in the SMS template include the calling number, called number, call time, call duration, and call end reason.
[0020] Furthermore, the above method for implementing SMS service through SMS gateway, wherein, step 3), sets specific trigger conditions, supports batch editing, and uniformly configures SMS sending rules for multiple extensions or users; supports preset conditions to trigger SMS sending, hang up or missed calls, so that SMS can be sent in a timely and accurate manner.
[0021] Furthermore, in the above method for implementing SMS service through SMS gateway, step 4) is to send the message through data encryption; step 5) is to record the detailed information of the sending and the sending result, the information includes the exact time and date of sending, the number of receiving the SMS, the content of the SMS sent and the template used, and the sending status of the SMS.
[0022] Compared with the prior art, the present invention has significant advantages and beneficial effects, which are specifically embodied in the following aspects:
[0023] ① The implementation method of the SMS service of the present invention, through integration with a third-party SMS gateway, automatically sends preset SMS to users in cases of call termination, missed calls, etc., thereby realizing flexible SMS sending, effective management and status monitoring, and improving user experience and business flexibility; integrating a third-party SMS gateway, the integration with a third-party SMS gateway significantly improves flexibility and scalability, so that users are not limited to the services and functions of a single service provider; users can choose different SMS gateways based on cost-effectiveness and service quality, optimize operating costs and improve service reliability.
[0024] ② Dynamic SMS template management, which supports the definition and management of SMS templates containing multiple variables, so that SMS content can be dynamically generated to adapt to different business scenarios; it improves the personalization and applicability of SMS content and enables more effective communication with customers;
[0025] ③ Advanced SMS service rule configuration: various SMS service rules can be configured through the system interface, and batch editing function is supported, which greatly improves the convenience and efficiency of configuration; it is especially suitable for enterprises that need to manage a large number of devices or service points, reducing management overhead and improving the speed and accuracy of operations;
[0026] ④ Sending encrypted SMS: Encrypting data when sending SMS enhances the security of data during transmission; ensuring the confidentiality and security of data and preventing the risk of data leakage.
[0027] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by practicing the specific embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 : Schematic diagram of the module architecture of the system of the present invention;
[0030] Figure 2 : Schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0032] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, directional terms and order terms are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0033] like Figure 1 As shown, the system for implementing SMS service through SMS gateway includes SMS gateway module 1, template setting module 2, service setting module 3 and SMS log module 4;
[0034] SMS Gateway Module 1 is used to configure and manage third-party SMS gateways; to communicate with third-party SMS gateways, the system adds and configures SMS gateways. Customize the name of the gateway for easy management and identification; authenticate API key and other information: for example, to verify the communication between the system and the gateway; enter the mobile phone number and SMS content for sending test to verify the availability of the gateway; and verify the connection and function of the SMS gateway in real time to ensure normal SMS sending.
[0035] Template setting module 2 is used to define and manage SMS content templates; it is used to create and manage SMS templates. Each template contains multiple variables, and the SMS content is dynamically generated according to different business needs. Customize the name of the template, such as hang-up SMS, missed call reminder, etc. Different types of templates correspond to different business scenarios; a default template can be set to be used when the business does not specify a template. The SMS content uses variables such as [caller] (calling number), [called] (called number), and [calltime] (call time); by defining templates, SMS content in different business scenarios can be flexibly generated to meet the diverse needs of users.
[0036] Service setting module 3 is used to configure various SMS service rules; used to configure various SMS service rules and set corresponding SMS service rules for each extension. After the call is over, send the preset hang-up SMS; when there is a missed call, send a missed call reminder SMS to the user; display a list of all extensions, choose whether to send a hang-up SMS and select the corresponding SMS template; choose whether to send a missed call reminder and select the corresponding SMS template; support batch editing, through batch editing, the SMS services of multiple extensions are uniformly configured, which greatly improves management efficiency.
[0037] The SMS log module 4 is used to record and query the SMS sending records; record the log information of all SMS sending, which is convenient for subsequent query and management, and configure the log record storage time. The specific time of SMS sending, the mobile phone number receiving the SMS, the content of the SMS sent, the status of SMS sending, etc.; conveniently view and manage all SMS records sent to ensure the transparency and traceability of the business.
[0038] The present invention implements a highly flexible, secure and easy-to-manage SMS service method through an SMS gateway, such as Figure 2 , specifically including the following steps:
[0039] 1) Configure SMS gateway, configure and manage third-party SMS gateways, including setting gateway name, URL, authentication information, and verifying the availability of the gateway through the test function; users can enter gateway details and perform connection tests to ensure that the set gateway is used for actual SMS sending;
[0040] Set the name of the gateway for easy identification and management; enter the URL address of the gateway to determine the access point of the gateway; provide authentication information, such as API key or password, to establish a secure connection; perform tests to verify the connectivity and functionality of the gateway to ensure its availability in subsequent operations.
[0041] 2) Define SMS templates. Define and manage SMS templates. Each template contains multiple variables to dynamically generate SMS content according to different business needs. It has a template editing tool to facilitate the insertion of variables and texts to create SMS content that adapts to different scenarios.
[0042] Specify the name and type of the template, such as hang-up SMS, missed call reminder, etc.; set the default template options for normal SMS sending; configure content variables to allow dynamic insertion of information such as calling number, called number, call time, etc.
[0043] Variables in SMS templates include calling number, called number, call time, and other call-related information such as call duration and call end reason, to provide richer SMS content and higher personalization;
[0044] 3) Configure SMS service rules, configure various SMS service rules, such as hang-up SMS and missed call reminders, support administrators to configure SMS services for multiple extensions through batch editing; support preset conditions to trigger SMS sending, hang-up or missed calls, so that SMS can be sent in a timely and accurate manner;
[0045] Set specific trigger conditions, such as call ending or missed call; select applicable SMS templates; support batch editing function, uniformly configure SMS sending rules for multiple extensions or users;
[0046] SMS business rules not only support administrators to configure through batch editing function, but also support real-time adjustment and optimization of existing rules to cope with the rapidly changing market and user needs;
[0047] 4) Send SMS messages, through the configured third-party gateway, according to the SMS business rules, send SMS templates; for security reasons, the data sent by the platform to the gateway is encrypted; data encryption is used to enhance data security during the sending process;
[0048] 5) Record logs to record all SMS messages sent for easy follow-up query and management; configure the log record retention period, usually one month; record the detailed information and results of the messages sent, so that business operations and customer service departments can effectively track and solve problems.
[0049] Record the sending details of each SMS message, including: the exact time and date of sending, the number of the recipient; the content of the SMS message and the template used; the sending status of the SMS message (success, failure, retry, etc.); to facilitate subsequent query and management.
[0050] Example 1: Implementation of on-hook SMS
[0051] The user configures the SMS gateway in the system, enters the gateway name, URL and authentication information, and verifies the availability of the gateway through the test function.
[0052] The user creates an on-hook SMS template in the template setting module, defines the template name as "Call End Reminder", and the template content as "[caller], your call has ended, thank you for your use.".
[0053] In the service setting module, the user selects the extension for which the hang-up SMS message needs to be configured, and sets the hang-up SMS template to "call end reminder".
[0054] When the extension call ends, the system automatically triggers the on-hook SMS service and sends a text message to the user through the configured SMS gateway.
[0055] Example 2: Implementation of missed call reminder
[0056] The user configures the SMS gateway in the system, enters the gateway name, URL and authentication information, and verifies the availability of the gateway through the test function.
[0057] The user creates a missed call reminder template in the template setting module, defines the template name as "missed call reminder", and the template content as "You have a missed call, caller number: [caller]".
[0058] In the service setting module, the user selects the extension for which missed call reminder needs to be configured, and sets the missed call reminder template to "missed call reminder".
[0059] When the extension has a missed call, the system automatically triggers the missed call reminder service and sends a reminder SMS to the user through the configured SMS gateway.
[0060] Integration with third-party SMS gateways significantly improves flexibility and scalability, so that users are not restricted to the services and functions of a single service provider; users can choose different SMS gateways based on cost-effectiveness and service quality, thereby optimizing operating costs and improving service reliability.
[0061] Dynamic SMS template management supports the definition and management of SMS templates containing multiple variables, so that SMS content can be dynamically generated to adapt to different business scenarios; it improves the personalization and applicability of SMS content and enables more effective communication with customers, such as automated marketing, notifications or customer service.
[0062] Advanced SMS service rule configuration can configure various SMS service rules through the system interface and supports batch editing, which greatly improves the convenience and efficiency of configuration. It is especially suitable for enterprises that need to manage a large number of devices or service points, reducing management overhead and improving operation speed and accuracy.
[0063] Encrypted SMS transmission encrypts data when sending SMS, which enhances the security of data during transmission; ensures the confidentiality and security of data and prevents the risk of data leakage.
[0064] In summary, the implementation method of the SMS service of the present invention, through integration with a third-party SMS gateway, automatically sends preset SMS to users when a call ends, a missed call, etc., thereby realizing flexible SMS sending, effective management and status monitoring, and improving user experience and service flexibility.
[0065] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention. It should be noted that similar numbers and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0066] The above is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0067] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A system for implementing SMS services through an SMS gateway, characterized in that: It comprises a short message gateway module (1), a template setting module (2), a service setting module (3) and a short message log module (4), wherein the short message gateway module (1) is used to configure and manage a third-party short message gateway; The template setting module (2) is used to define and manage SMS content templates; The service setting module (3) is used to configure various SMS service rules; the SMS log module (4) is used to record and query SMS sending records.
2. The system for implementing SMS service through SMS gateway according to claim 1, characterized in that: The SMS gateway module (1) is used to communicate with a third-party SMS gateway, and the system adds and configures the SMS gateway.
3. The system for implementing SMS service through SMS gateway according to claim 1, characterized in that: The template setting module (2) is used to create and manage SMS templates, each template contains multiple variables, and dynamically generates SMS content according to different business requirements.
4. The system for implementing SMS service through SMS gateway according to claim 1, characterized in that: The service setting module (3) is used to configure various SMS service rules and set corresponding SMS service rules for each extension.
5. The system for implementing SMS service through SMS gateway according to claim 1, characterized in that: The SMS log module (4) records log information of all SMS messages sent, which is convenient for subsequent query and management, and configures the log record storage time.
6. A method for implementing a short message service through a short message gateway using the system of claim 1, characterized in that: The following steps are involved: 1) Configure SMS gateways, configure and manage third-party SMS gateways, including setting gateway names, URLs, authentication information, and verifying gateway availability; 2) Define SMS templates, define and manage SMS templates, each template contains multiple variables, and dynamically generate SMS content according to different business needs; 3) Configure SMS service rules, configure various SMS service rules, and support configuring SMS services for multiple extensions through batch editing; 4) Send SMS messages through the configured third-party gateway and send SMS templates according to SMS service rules; 5) Record logs to record all SMS messages sent for easy follow-up query and management; And configure the log record retention time.
7. The method for implementing SMS service through SMS gateway according to claim 6, characterized in that: Step 1) Set the name of the gateway for easy identification and management; enter the URL address of the gateway to determine the access point of the gateway; provide authentication information, i.e., API key or password, to establish a secure connection; perform tests to verify the connectivity and functionality of the gateway to ensure its availability; The user can enter the gateway details and perform a connection test to ensure that the gateway set is used for actual SMS sending.
8. The method for implementing SMS service through SMS gateway according to claim 6, characterized in that: Step 2), specify the name and type of the template, on-hook SMS, missed call reminder; Set the default template options for sending SMS messages in normal situations; Configure content variables to allow dynamic insertion of calling number, called number, and call time information; It has a template editing tool that allows easy insertion of variables and text to create SMS content that adapts to different scenarios; the variables in the SMS template include the calling number, called number, call time, call duration, and call end reason.
9. The method for implementing SMS service through SMS gateway according to claim 6, characterized in that: Step 3), set specific trigger conditions, support batch editing, and uniformly configure SMS sending rules for multiple extensions or users; support preset conditions to trigger SMS sending, hang up or missed calls, so that SMS can be sent in a timely and accurate manner.
10. The method for implementing SMS service through SMS gateway according to claim 6, characterized in that: Step 4), sending through data encryption; Step 5), recording the detailed information and sending results, including the exact time and date of sending, the number of the recipient, the content of the sent SMS and the template used, and the sending status of the SMS.