WO2024178909A1 - Multi-service upstream and downstream multi-protocol access platform and method based on saas mode - Google Patents
Multi-service upstream and downstream multi-protocol access platform and method based on saas mode Download PDFInfo
- Publication number
- WO2024178909A1 WO2024178909A1 PCT/CN2023/110457 CN2023110457W WO2024178909A1 WO 2024178909 A1 WO2024178909 A1 WO 2024178909A1 CN 2023110457 W CN2023110457 W CN 2023110457W WO 2024178909 A1 WO2024178909 A1 WO 2024178909A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- access
- channel
- sms
- protocol
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/022—Multivendor or multi-standard integration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0273—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/042—Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/044—Network management architectures or arrangements comprising hierarchical management structures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5041—Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention belongs to the field of communication technology and relates to a SAAS-based multi-service upstream and downstream multi-protocol access platform and method.
- CN108712420A discloses a protocol information transmission method, device and system, which can be used to separate multiple transmission protocols from a business system, and bring the protocols together to form a multi-protocol system, which can be placed in a multi-protocol server independent of a business server.
- the multi-protocol server can monitor and receive the business information sent by the business server, and determine the transmission protocol required for the business information, and finally encapsulate the business information and send it to a processing server for processing.
- the multi-protocol server may include an application layer, a monitoring data packet distribution layer, a protocol layer (which may include SGIP, AAA, Diameter, etc.), a TCP/MYSQL driver layer, and a TCP/IP/database layer.
- the transmission protocol is selected according to the business information through the multi-protocol server.
- SAAS model is a model that provides software through the Internet. Manufacturers deploy application software uniformly on their own servers. Users can order the required application software services from manufacturers through the Internet according to their actual needs, pay the manufacturers according to the amount of services ordered and the length of time, and obtain the services provided by the manufacturers through the Internet.
- the software service platform of SAAS model is centrally managed and maintained by the service provider, and can be customized and modified modularly according to the actual needs of each user. As a supplier, the platform developed and maintained by it can be provided to multiple users at the same time, but the user data is managed separately, which effectively maintains the integrity and security of user data while realizing the safe sharing of public resources.
- the purpose of the present invention is to provide a multi-service upstream and downstream multi-protocol access platform and method based on the SAAS model, which not only realizes multi-service and multi-protocol access, but also adopts the SAAS model architecture, can dynamically expand the number of modules, and greatly improves the platform data throughput and processing capabilities.
- a multi-service upstream and downstream multi-protocol access platform based on SAAS mode comprising: a multi-channel management module, a multi-user access module, a multi-service access module and a service management module;
- the multi-channel management module is used for upstream channel access, the upstream channel includes a CMPP protocol channel, a SGIP protocol channel, an SMGP protocol channel and an HTTP channel, and uses the standard protocol released by the operator to directly connect to the operator gateway, and supports HTTP protocol and MM7 protocol access;
- the operations provided by the multi-channel management module include channel grouping, queue configuration, group configuration, number portability, and HTTP template;
- the multi-user access module is used for downstream user access, and the user access gateway of the multi-user access module includes a WEB client access module, an HTTP access module, an SMGP protocol access module, an SGIP protocol access module, a CMPP protocol access module, a main account configuration module, an HTTP account opening configuration module, a simulated CMPP configuration
- the service management module connects the multi-channel management module and the multi-user access module, and intelligently schedules the user access gateway in the multi-user access module and the multi-channel management module in the multi-user access module.
- the upstream channel gateway supports content security management, blacklist and whitelist management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management. Different users access the gateway through the WEB client access module and configure the user's message queue information through the user queue configuration module.
- the main account configuration module sets the WEB client user permissions and basic information. At the same time, the main account configuration module operates according to the basic information to allocate access to the upstream channel for the user. Then the multi-user access module selects the HTTP access module, SMGP protocol access module, SGIP protocol access module or CMPP protocol access module according to the upstream channel to achieve protocol access. The multi-channel management module configures the SMGP protocol, SGIP protocol and CMPP protocol. After the configuration is completed, multiple channels are generated for the main account configuration module to use when selecting the upstream channel for the user. The multi-service access module realizes different service SMS access.
- the multi-channel access module first apply for a code number from the operator, and the code number is used for authority verification when accessing the operator; establish a standard access method with the operator, and the access method is used to pass in relevant communication protocol parameters and then execute a connection request to establish a communication connection with the operator; Netty is used to establish a communication connection; when establishing a connection with the operator for the first time, the communication protocol is used to establish a connection request parameter, and the connection request parameter contains the code number and account opening information issued by the operator; after the communication connection is successfully established, the Netty connection is marked as an SMS channel, and the SMS channel is uniquely identified as the channel code; the program side uses a message queue middleware, and the message queue uses different topics to perform different sending tasks; when the SMS channel is successfully established, a message queue topic with the same channel code is established in the message queue, and a message queue topic for processing feedback information is established in accordance with the format; the consumer end of the message queue goes to the database to query the channel code consistent with it according to the
- the business management module sets up keyword diversion, signature diversion, template diversion and frequency strategy business processes to facilitate content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management.
- the content security management is: for the review of SMS content, use the intelligent risk control management module to perform intelligent filtering on the SMS content, so as to realize personalized analysis of traditional Chinese characters, valid URLs, telephone numbers, and multiple keywords; for special cases, when the intelligent risk control management module cannot automatically intercept the SMS content, an interception group is provided for manual review to realize flexible management and control.
- the visual monitoring management is: using the WEB terminal provided by the platform to perform visual management of the background, the visual management includes channel access and channel grouping management, signature reporting management, user account opening and authority management, multiple content review and operation and maintenance monitoring and early warning management.
- the early warning management includes platform internal operating environment alarms and platform service quality alarms; the platform internal operating environment alarms monitor and warn whether the threads and programs inside the server are interrupted, and whether the memory and CPU usage are normal, and warn of abnormal situations via SMS or email; the platform service quality alarms detect the success rate of forwarding services, the quality of each channel and link, and notify via SMS or email when abnormalities are found.
- the report function management provides channel report, user report, province report, user by channel statistical report, user by operator statistical report, user by signature statistical report and error analysis report.
- Report output supports Excel format.
- the multi-service upstream and downstream multi-protocol access platform based on the SAAS model is functionally divided into a network layer, a data layer, an interface layer, a management layer, a user layer and a display layer;
- the network layer includes a public network, a private network, a CMPP gateway, a SGIP gateway, a SMPP gateway, and a SMGP gateway;
- the data layer includes a message queue, a Redis cache cluster, and a database cluster;
- the interface layer includes HTTP, SGIP, CMPP, SGMP, and SMPP interfaces;
- the management layer performs message management, SMS management, channel management, operation management, and platform settings;
- the user layer is provided with personal information, an outbox, an inbox, an address book, and statistical reports;
- the display layer provides SMS, MMS, and video SMS display functions.
- the hardware devices of the multi-service upstream and downstream multi-protocol access platform include input devices, controllers, memories, output devices, and operators.
- the input devices are used to input instructions or messages, and the output devices are used to display status or send messages or instructions; the memories interact with the input devices, controllers, output devices, and operators.
- the present invention also provides a multi-service upstream and downstream multi-protocol access method based on SAAS mode, including: establishing multi-channel access with the upstream: intelligently allocating channel traffic between multiple channels according to rules; when receiving a sending task, first diverting it to the upstream channels of each province by province; secondly, diverting it according to template reporting, verification code, signature and content; it can also be flexibly controlled through verification code, notification, and group priority sending strategy; accessing with downstream multi-protocols: users can use the method of docking with the operator's standard protocol, use standard CMPP, SGIP, SMGP, SMPP protocols to establish user channels with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode, or use HTTP interface to quickly dock with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode; the docking process uses visual configuration
- the SAAS-based multi-service upstream and downstream multi-protocol access platform adopts independent virtual access number technology to seamlessly connect
- the SAAS-based multi-service upstream and downstream multi-protocol access platform improves its SMS extension content for different services, and finally generates SMS in different forms that meet the operator's standards;
- the SAAS-based multi-service upstream and downstream multi-protocol access platform provides both a WEB management platform and a WEB terminal sending system to meet the service needs of various business systems.
- the SAAS-based multi-service upstream and downstream multi-protocol access platform of the present invention is a comprehensive service platform based on the SAAS model architecture, mainly for operators, SMS and video SMS agents at all levels, large enterprises and governments, providing a comprehensive service system such as SMS access, sending, management, statistics, analysis, data processing, etc. for users, and also providing a WEB management platform and a WEB terminal sending system.
- Each module of the platform adopts the SAAS model architecture, and the number of modules can be dynamically expanded, which greatly improves the data throughput and processing capacity of the platform, and ensures the diversity and reliability of the SMS and video SMS services sent by enterprise users.
- the multi-service upstream and downstream multi-protocol access platform of the present invention can realize multi-service access, so the user has a wide range of choices.
- the present invention uses the SAAS distributed service deployment model to dynamically add and delete nodes of our services, and supports a very high concurrency.
- the present invention provides an access method for SMS protocol that is as native as possible and imitates the operator, which meets the needs of those powerful enterprises that want to develop their own SMS platform but cannot apply for the qualification of operating SMS sending.
- Figure 1 is an architecture diagram of a multi-service upstream and downstream multi-protocol access platform based on the SAAS model.
- FIG2 is a layered schematic diagram of a multi-service upstream and downstream multi-protocol access platform based on the SAAS model.
- FIG3 is a schematic diagram of the hardware equipment of a multi-service upstream and downstream multi-protocol access platform based on the SAAS model.
- 10 - multi-channel management module 10 - multi-channel management module, 20 - business management module, 30 - multi-user access module, 40 - multi-business access module, 50 - input device, 60 - operator, 70 - memory, 80 - output device, 90 - controller.
- the SAAS-based multi-service upstream and downstream multi-protocol access platform includes: a multi-channel management module 10 , a multi-user access module 30 , a multi-service access module 40 and a service management module 20 .
- the multi-channel management module 10 is used for upstream channel access.
- the upstream channels include CMPP protocol channels, SGIP protocol channels, SMGP protocol channels and HTTP channels.
- the standard protocols released by the operator are directly connected to the operator gateway, and HTTP protocol and MM7 protocol access are supported at the same time.
- the operations provided by the multi-channel management module include channel grouping, queue configuration, group configuration, number portability, and HTTP template.
- the channel grouping is to group several channels into a group. When assigning channels to users, channels are not directly assigned, but channel groups are assigned.
- the message queue service in the platform different queues perform different tasks, some send verification codes, some send notifications, etc.
- the queue configuration can assign queue priority, the number of queues occupied by the queue in the message queue service, etc.
- the group configuration is to configure the channel usage priority within the channel group after channel grouping, the traffic value of each channel, and the province to which each channel can send SMS, etc.
- Number portability refers to the configuration of the sending method of the number portability, whether it is forwarded by the original operator to the SMS gateway of the operator after the porting, or directly pushed to the SMS gateway of the operator after the porting by the multi-service upstream and downstream multi-protocol access platform, and the charging standard of which operator is used for charging, etc.
- HTTP template is a parameter template for sending SMS messages using HTTP link.
- the multi-user access module 30 is used for downstream users to access the multi-service upstream and downstream multi-protocol access platform.
- the user access gateway of the multi-user access module 30 includes a WEB client access module, an HTTP access module, an SMGP protocol access module, an SGIP protocol access module, a CMPP protocol access module, a main account configuration module, an HTTP account opening configuration module, a simulated CMPP configuration module, and a user queue configuration module. It supports downstream users to access this platform using CMPP, SGIP, SMGP, SMPP, and HTTP protocols, supports downstream users to simulate CMPP and HTTP protocols to open accounts for third-party users, and supports the same account to use CMPP, HTTP, and WEB submission at the same time.
- WEB client access module access through visual WEB page operation.
- This access method has already implemented SMGP, SGIP, CMPP and other communication protocols in advance. Users do not need to pay attention to the underlying implementation method and fill in the parameter information according to the WEB page prompts. According to the parameter information filled in by the user, it is bound to the SMS gateway, so that the WEB client can access the gateway.
- HTTP access module Users send http requests to access through the HTTP access module.
- the request receives parameter types in RESTFULL style parameters, and the parameter encapsulation method is in JSON format.
- the HTTP access module implements communication protocols such as SMGP, SGIP, and CMPP in advance. Users do not need to pay attention to the underlying implementation method. They pass the required request parameters according to the http request parameter document requirements and pass the non-required request parameters according to the actual situation. According to the parameters received in the http request and the communication protocol parameters, a communication connection is established with the gateway, thereby realizing access to the gateway by sending an http request.
- SMGP protocol access module implement SMGP protocol access. Users need to establish a long connection with the gateway in advance. When establishing the connection for the first time, they need to pass the connection establishment parameters. The encapsulation form of the parameters must strictly comply with the relevant requirements of the SMGP protocol parameters. The SMGP protocol parameters passed by the user are used to establish a connection with the gateway, thereby implementing access to the gateway using the SMGP protocol. In this access method, users need to be familiar with the implementation method of the telecom SMGP protocol in advance.
- SGIP protocol access module implements SGIP protocol access. Users need to establish a long connection with the gateway in advance. When establishing the connection for the first time, they need to pass the connection establishment parameters. The encapsulation form of the parameters must strictly comply with the relevant requirements of the SGIP protocol parameters. The SGIP protocol parameters passed by the user are used to establish a connection with the gateway, thereby implementing access to the gateway using the SGIP protocol. In this access method, users need to be familiar with the implementation method of the SGIP protocol in advance.
- CMPP protocol access module implements CMPP protocol access. Users need to establish a long connection with the gateway in advance. When establishing the connection for the first time, they need to pass the connection establishment parameters. The encapsulation of the parameters must strictly comply with the relevant requirements of the CMPP protocol parameters. The CMPP protocol parameters passed by the user are used to establish a connection with the gateway, thereby realizing access to mobile operators using the CMPP protocol. In this access method, users need to be familiar with the implementation of the mobile CMPP protocol in advance.
- Main account configuration module mainly used to set the user permissions of the WEB client. Including adding, modifying, deleting, and viewing the basic information and permission information of the WEB client user, and allocating access to upstream channels for users.
- the main account configuration module mainly manages users who access through the WEB client.
- HTTP account opening configuration module mainly used to set the user permissions for HTTP access. Including adding, modifying, deleting, and viewing the basic information and permission information of http access users, and allocating the SMS channel for users to access the upstream. Generate token identity information for user permission verification, verify whether the IP address of the request source exists in the IP whitelist, and if the verification passes, perform parameter format and business logic verification. If the verification fails, reject the request sent by the IP.
- the HTTP account opening configuration module mainly manages users who access by sending http requests.
- CMPP configuration module This is mainly used to simulate access through CMPP protocol. It is mainly used to verify whether the parameters of CMPP access strictly comply with the CMPP protocol parameter regulations and whether the CMPP access module can operate normally.
- User queue configuration module mainly used to configure the user's message queue information.
- multiple message queues are established in advance, and multiple message queues are used to execute the SMS sending needs of different users.
- the configuration of each message queue is different. According to the actual usage needs of users, each user is assigned to a different message queue to improve the user experience.
- the multi-service access module 40 supports the service access of international SMS, voice SMS, USSD SMS, binary SMS, MMS, video SMS and text SMS.
- the corresponding standard parameters are automatically filled in according to the different access rules of the operator.
- the module is pushed to the operator gateway through the upstream channel, and the operator service parses it into different service SMS and sends it to the user end.
- Automatically filling in corresponding standard parameters according to different access rules of operators means: implementing different access services in advance according to different access rules issued by various operators, users log in to the WEB client through the WEB client login account applied for, and fill in personalized parameters stipulated by different services before executing the sending service.
- corresponding standard parameters are automatically filled in according to different access rules of operators.
- the business management module 20 connects the multi-channel management module 10 and the multi-user access module 30.
- the business management module 20 intelligently schedules the user access gateway in the multi-user access module 30 and the upstream channel gateway in the multi-channel management module 10, and supports content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management.
- the logic of intelligent scheduling is to enable the business management module to perform functional tasks in content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management.
- the business management module also sets keyword diversion, signature diversion, template diversion and frequency strategy business processes to facilitate content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management.
- Different users access the gateway through the WEB client access module, and configure the user's message queue information through the user queue configuration module; the main account configuration module sets the WEB client user rights and basic information, and the main account configuration module operates according to the basic information to allocate access to the upstream channel for the user, and then the multi-user access module 30 selects the HTTP access module, SMGP protocol access module, SGIP protocol access module or CMPP protocol access module according to the upstream channel to implement protocol access, and the multi-channel management module 10 configures the SMGP protocol, SGIP protocol and CMPP protocol. After the configuration is completed, multiple channels are generated for the main account configuration module to select the upstream channel for the user, and the multi-service access module 40 implements different service SMS access. .
- the business management module 20 supports content security management: for the review of SMS content, the administrator creates the filtering content to be identified in the intelligent risk control management module in advance. After obtaining the SMS content, the intelligent risk control management module is first used to intelligently filter the SMS content, and the SMS content is matched with the traditional Chinese characters, valid URLs, telephones, multiple keywords and other information to be filtered. If the matching result shows that the SMS content contains information that needs to be filtered, the user is reminded to refuse to send this SMS content. If the matching result shows that the SMS content does not contain content that needs to be filtered, the sending task is agreed to. Thereby, personalized analysis of traditional Chinese characters, valid URLs, telephones, and multiple keywords is achieved.
- an interception group is provided for manual review.
- the manual reviewer can query the SMS content that needs to be manually reviewed in the SMS content review module, and the manual reviewer can choose whether the SMS content passes the review. For the SMS content that is rejected, the manual reviewer can also manually review and decide whether to pass the content review to achieve flexible management and control.
- the business management module 20 supports visual monitoring management: using the WEB terminal provided by the platform to perform visual management of the background, the visual management includes channel access and channel grouping management, signature reporting management, user account opening and authority management, multiple content review and operation and maintenance monitoring and early warning management.
- Early warning management mainly includes platform internal operating environment alarms and platform service quality alarms.
- the platform internal operating environment alarms mainly monitor and warn whether the threads and programs inside the server are interrupted, whether the memory and CPU usage are normal, etc., and issue warnings for abnormal situations through SMS or email.
- Platform service quality alarms mainly detect the success rate of forwarding services, the quality of each channel and link, and notify through SMS or email alarms when abnormalities are found.
- the business management module 20 supports report function management: it provides a variety of reports, including channel reports, user reports, provincial reports, user statistics reports by channel, user statistics reports by operator, user statistics reports by signature, and error analysis reports. Report output supports Excel format. According to the needs of business development and management, the report is scalable and can meet new needs.
- the business management module 20 supports financial recharge management: channels and user prices can be set on a daily basis to ensure the real-time accuracy of the payment.
- the user is provided with an automatic payment function. When executing a sending task for the user, the balance is automatically calculated to see if it is sufficient.
- the payment deduction supports different payment modes such as payment after the sending is completed, payment before the sending is completed, and monthly settlement. If the sending task fails, the fee is automatically returned to the user's account.
- the multi-service upstream and downstream multi-protocol access platform based on the SAAS model is functionally divided into a network layer, a data layer, an interface layer, a management layer, a user layer and a display layer;
- the network layer includes a public network, a private network, a CMPP gateway, a SGIP gateway, a SMPP gateway, and a SMGP gateway;
- the data layer includes a message queue, a Redis cache cluster, and a database cluster;
- the interface layer includes HTTP, SGIP, CMPP, SGMP, and SMPP interfaces;
- the management layer performs message management, SMS management, channel management, operation management, and platform settings;
- the user layer is provided with personal information, an outbox, an inbox, an address book, and statistical reports;
- the display layer provides SMS, MMS, and video SMS display functions.
- the multi-channel access module first apply for a code number from the operator, and the code number is used for authorization verification when accessing the operator.
- the access method has been implemented in advance using the program to fix the access method, that is, after the relevant communication protocol parameters are passed in, a connection request is executed to establish a communication connection with the operator; the communication connection is established using Netty.
- Netty is a java open source framework provided by JBOSS.
- Netty itself has various interfaces for Internet request long connections, including communication handshakes, data transmission, and request responses.
- the program side needs to implement various Netty interfaces according to actual conditions, mainly including three interfaces: establishing requests, obtaining response messages, and submitting task requests.
- connection request parameters contain the code number and account opening information issued by the operator.
- the Netty connection is marked as a short message channel, and the short message channel is uniquely identified as the channel code.
- the program side uses a message queue (RocketMQ message queue in this embodiment) intermediate component, and the message queue uses different topics to execute different sending tasks.
- a message queue topic with the same channel code is established in the message queue, and a message queue topic for processing feedback information is established in accordance with the format (such as adding "bak" after the message queue topic).
- the consumer of the message queue queries the database for a channel code that is consistent with the message queue topic, obtains the corresponding channel information based on the queried channel code, calls the communication connection established by Netty before, and uses the implemented communication connection to submit the sending task request interface, thereby implementing the use of the SMS channel to execute the sending task.
- the consumer of the message queue queries the database for a channel code that is consistent with the message queue topic, obtains the corresponding channel information based on the queried channel code, calls the communication connection established by Netty before, and uses the implemented communication connection to submit the sending task request interface, thereby implementing the use of the SMS channel to execute the sending task.
- set the message queue consumer that executes the sending task When executing the sending task, set the message queue consumer that executes the sending task.
- configuring SMS channels for users actually means adding corresponding channel codes for users.
- the SMS channels of the multi-channel access module can be managed through the channel codes, and the message queues with the same topic as the channel codes can be executed.
- the multi-service access module When the multi-service access module receives a message that a user has a task to send and needs to use the SMS channel, it pushes the task to the message queue according to the SMS channel code configured for the user in the multi-user access module.
- the message queue consumer When the message queue has a task to send, the message queue consumer will execute the consumer program of the multi-channel access module to call the SMS channel. Push the task to the message queue and set it as the message queue client that executes the task.
- the Netty receiving request feedback interface is used to receive the operator feedback information of the sending task.
- the subject of the message queue processing feedback information is called, and the client of the message queue processing feedback information is set.
- the consumer end of the message queue processing feedback information is set.
- the SMS sending status, the number of successes, and the number of failures are recorded.
- the feedback information is processed in a special format and stored in the database.
- the administrator can view the final feedback result of the sending task on the WEB client.
- the feedback information is processed in a special format and generated into an EXCEL format file and placed in the directory of the specified server. Users can use the ftp tool to take away their own sending task feedback report.
- the multi-business upstream and downstream multi-protocol access platform uses load balancing, message queues, Redis cache and JStorm big data computing technologies, and uses server distributed cluster technology to implement a distributed security platform architecture with multi-threaded asynchronous coupling.
- the hardware devices of the multi-service upstream and downstream multi-protocol access platform based on the SAAS mode include an input device 50, a controller 90, a memory 70, an output device 80, and an operator 60.
- the input device 50 is used to input instructions or messages
- the output device 80 is used to display status or send messages or instructions;
- the memory 70 interacts with the input device 50, the controller 90, the output device 80, and the operator 60 respectively.
- the multi-service upstream and downstream multi-protocol access platform based on the SAAS model adopts cluster and load balancing technology. By adding corresponding equipment, it can support larger-scale cluster and load balancing capabilities, and ultimately achieve the expansion of the multi-service upstream and downstream multi-protocol access platform based on the SAAS model.
- the technology and architecture adopted by the multi-service upstream and downstream multi-protocol access platform based on the SAAS model meet the scalability requirements, and application development reserves interfaces for multi-service access.
- a multi-service upstream and downstream multi-protocol access method based on SAAS mode including: establishing multi-channel access with the upstream: intelligently allocating channel traffic between multiple channels according to rules; when receiving a sending task, first diverting it to the upstream channels of each province by province; secondly, diverting it according to template reporting, verification code, signature and content; it can also be flexibly controlled through verification code, notification, group priority sending and other strategies; multi-protocol access with downstream: users can use the method of docking with the operator's standard protocol, use standard CMPP, SGIP, SMGP, SMPP protocols to establish user channels with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode, and can also use HTTP interface to quickly dock with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode; the docking process uses visual configuration to simplify the user access process; the multi-service upstream and downstream multi-protocol access platform based on SAAS mode adopts independent virtual access number technology to seamlessly
- the multi-business upstream and downstream multi-protocol access platform based on the SAAS model provides both a WEB management platform and a WEB terminal sending system to meet the service needs of various business systems.
- the WEB terminal sending system provided by the multi-business upstream and downstream multi-protocol access platform based on the SAAS model can be used to implement the sending service. Operation personnel can use the WEB management platform to perform visual operation and management of the multi-business upstream and downstream multi-protocol access platform based on the SAAS model.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本发明属于通信技术领域,涉及一种基于SAAS模式的多业务上下游多协议接入平台及方法。The present invention belongs to the field of communication technology and relates to a SAAS-based multi-service upstream and downstream multi-protocol access platform and method.
在消息发送过程中,不同的业务可能采用不同的消息协议,不同的业务可能需要不同的短信系统,不同的业务要使用不同的平台才能实现,企业需要开发适合自己业务的短信平台,开发成本较高。现有技术无法实现短消息平台的多业务多协议集成。In the process of sending messages, different businesses may use different message protocols, different businesses may require different SMS systems, and different businesses can only be implemented using different platforms. Enterprises need to develop SMS platforms suitable for their own businesses, which has high development costs. Existing technologies cannot achieve multi-business and multi-protocol integration of short message platforms.
CN108712420A公开了一种协议信息传输方法、装置及系统,该系统可用于将多种传输协议从业务系统分离出来,并将各协议集合在一起,形成多协议系统,该多协议系统可放置在独立于业务服务器的多协议服务器中。当有信息从业务服务器发送给多协议服务器时,该多协议服务器可以监听并接收业务服务器发送的业务信息,并判断出该业务信息需要的传输协议,最终封装该业务信息并发送给处理服务器进行处理。所述的多协议服务器可以包括应用层、监听数据包分发层、协议层(可以包括SGIP、AAA、Diameter等)、TCP/MYSQL驱动层、TCP/IP/数据库层。通过多协议服务器来根据业务信息选择传输协议。CN108712420A discloses a protocol information transmission method, device and system, which can be used to separate multiple transmission protocols from a business system, and bring the protocols together to form a multi-protocol system, which can be placed in a multi-protocol server independent of a business server. When information is sent from a business server to a multi-protocol server, the multi-protocol server can monitor and receive the business information sent by the business server, and determine the transmission protocol required for the business information, and finally encapsulate the business information and send it to a processing server for processing. The multi-protocol server may include an application layer, a monitoring data packet distribution layer, a protocol layer (which may include SGIP, AAA, Diameter, etc.), a TCP/MYSQL driver layer, and a TCP/IP/database layer. The transmission protocol is selected according to the business information through the multi-protocol server.
SAAS模式是一种通过Internet提供软件的模式,厂商将应用软件统一部署在自己的服务器上,用户可以根据自己实际需求,通过互联网向厂商定购所需的应用软件服务,按定购的服务多少和时间长短向厂商支付费用,并通过互联网获得厂商提供的服务。SAAS模式的软件服务平台由服务供应商集中管理和维护, 并且可根据各用户的实际需要进行模块化的定制和修改。作为供应商,其开发维护的平台可以同时提供给多个用户,但对用户数据进行分别管理,在实现公共资源的安全共享的同时有效维护了用户数据的完整性和安全性。SAAS model is a model that provides software through the Internet. Manufacturers deploy application software uniformly on their own servers. Users can order the required application software services from manufacturers through the Internet according to their actual needs, pay the manufacturers according to the amount of services ordered and the length of time, and obtain the services provided by the manufacturers through the Internet. The software service platform of SAAS model is centrally managed and maintained by the service provider, and can be customized and modified modularly according to the actual needs of each user. As a supplier, the platform developed and maintained by it can be provided to multiple users at the same time, but the user data is managed separately, which effectively maintains the integrity and security of user data while realizing the safe sharing of public resources.
本发明的目的在于提供一种基于SAAS模式的多业务上下游多协议接入平台及方法,不但实现了多业务、多协议接入,而且采用SAAS模式架构,可动态扩展模块数量,极大提高了平台数据吞吐和处理能力。The purpose of the present invention is to provide a multi-service upstream and downstream multi-protocol access platform and method based on the SAAS model, which not only realizes multi-service and multi-protocol access, but also adopts the SAAS model architecture, can dynamically expand the number of modules, and greatly improves the platform data throughput and processing capabilities.
本发明采用如下技术方案来实现。一种基于SAAS模式的多业务上下游多协议接入平台,包括:多通道管理模块、多用户接入模块、多业务接入模块以及业务管理模块;所述多通道管理模块用于上游通道接入,上游通道包括CMPP协议通道、SGIP协议通道、SMGP协议通道和HTTP通道,使用运营商发布的标准协议直连运营商网关,同时支持HTTP协议、MM7协议接入;多通道管理模块提供的操作包括通道分组、队列配置、分组配置、携号转网、HTTP模板; 所述多用户接入模块用于下游用户接入,多用户接入模块的用户接入网关包括WEB客户端接入模块、HTTP接入模块、SMGP协议接入模块、SGIP协议接入模块、CMPP协议接入模块、主账号配置模块、HTTP开户配置模块、模拟CMPP配置模块、用户队列配置模块;所述多业务接入模块支持国际短信、语音短信、USSD短信、二进制短信、图文彩信、视频短信、文本短信的业务接入,不同的短信业务接入时,根据运营商的不同接入规则,填补相应的标准参数,使用上游通道推送至运营商网关,由运营商服务解析成不同的业务短信下发至用户端;所述业务管理模块连接多通道管理模块和多用户接入模块,智能调度多用户接入模块中的用户接入网关和多通道管理模块中的上游通道网关,同时支持内容安全管理,黑白名单管理,报表功能管理,客服功能管理,可视化监控管理,财务充值管理以及高级功能管理;不同用户通过WEB客户端接入模块接入网关,通过用户队列配置模块配置用户的消息队列信息;主账号配置模块设置WEB客户端用户权限和基础信息,同时主账号配置模块根据基础信息进行操作,为用户分配接入上游通道,然后多用户接入模块根据上游通道选择HTTP接入模块、SMGP协议接入模块、SGIP协议接入模块或CMPP协议接入模块实现协议接入,多通道管理模块配置SMGP协议、SGIP协议和CMPP协议,配置完成后,生成多通道供主账号配置模块为用户选择上游通道时使用,多业务接入模块实现不同的业务短信接入。The present invention is implemented by the following technical scheme. A multi-service upstream and downstream multi-protocol access platform based on SAAS mode, comprising: a multi-channel management module, a multi-user access module, a multi-service access module and a service management module; the multi-channel management module is used for upstream channel access, the upstream channel includes a CMPP protocol channel, a SGIP protocol channel, an SMGP protocol channel and an HTTP channel, and uses the standard protocol released by the operator to directly connect to the operator gateway, and supports HTTP protocol and MM7 protocol access; the operations provided by the multi-channel management module include channel grouping, queue configuration, group configuration, number portability, and HTTP template; The multi-user access module is used for downstream user access, and the user access gateway of the multi-user access module includes a WEB client access module, an HTTP access module, an SMGP protocol access module, an SGIP protocol access module, a CMPP protocol access module, a main account configuration module, an HTTP account opening configuration module, a simulated CMPP configuration module, and a user queue configuration module; the multi-service access module supports service access for international SMS, voice SMS, USSD SMS, binary SMS, MMS, video SMS, and text SMS. When different SMS services are accessed, the corresponding standard parameters are filled in according to the different access rules of the operator, and the parameters are pushed to the operator gateway using the upstream channel, and the operator service is parsed into different service SMS and sent to the user end; the service management module connects the multi-channel management module and the multi-user access module, and intelligently schedules the user access gateway in the multi-user access module and the multi-channel management module in the multi-user access module. The upstream channel gateway supports content security management, blacklist and whitelist management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management. Different users access the gateway through the WEB client access module and configure the user's message queue information through the user queue configuration module. The main account configuration module sets the WEB client user permissions and basic information. At the same time, the main account configuration module operates according to the basic information to allocate access to the upstream channel for the user. Then the multi-user access module selects the HTTP access module, SMGP protocol access module, SGIP protocol access module or CMPP protocol access module according to the upstream channel to achieve protocol access. The multi-channel management module configures the SMGP protocol, SGIP protocol and CMPP protocol. After the configuration is completed, multiple channels are generated for the main account configuration module to use when selecting the upstream channel for the user. The multi-service access module realizes different service SMS access.
进一步优选,在多通道接入模块,首先向运营商申请码号,码号用于在接入运营商时作权限验证;建立标准的与运营商的接入方式,接入方式用于传入相关通信协议参数后执行建立连接请求,与运营商建立通信连接;建立通信连接使用Netty实现;首次与运营商建立连接时,使用通信协议建立连接请求参数,连接请求参数中包含运营商下发的码号和开户信息;建立通信连接成功后,将Netty连接标志为一个短信通道,短信通道唯一标识为通道编码;程序侧使用消息队列中间组件,消息队列使用不同主题来执行不同的发送任务;当短信通道被建立成功后,在消息队列中建立与通道编码相同的消息队列主题,同时按照格式建立处理反馈信息的消息队列主题;消息队列的消费端根据消息队列主题去数据库查询与其一致的通道编码,根据查询到的通道编码获取相对应的通道信息后,调用之前Netty已建立好的通信连接,同时使用已实现的通信连接提交发送任务请求接口,从而实现使用短信通道执行发送任务,在执行发送任务时,设置执行发送任务的消息队列消费端;在多用户接入模块为用户添加相应的通道编码,通过通道编码即可管理多通道接入模块的短信通道,并执行与通道编码相同主题的消息队列;当多业务接入模块接收到用户有发送任务需使用短信通道时,根据在多用户接入模块为用户配置的短信通道编码,向消息队列推送发送任务,当消息队列有发送任务时,消息队列消费端执行多通道接入模块的消费端程序调用短信通道;向消息队列推送发送任务,并设置为执行发送任务的消息队列客户端;在多通道接入模块执行发送任务之后,使用Netty接收请求反馈接口接收发送任务的运营商反馈信息;接收到运营商的反馈信息后调用消息队列的处理反馈信息的主题,设置消息队列处理反馈信息的客户端;同时设置消息队列处理反馈信息的消费端,在消息队列处理反馈信息的消费端,记录短信发送状态、成功数量、失败数量,将反馈信息按照特点格式处理后存入数据库,管理员在WEB客户端查看发送任务的最终反馈结果。Further preferably, in the multi-channel access module, first apply for a code number from the operator, and the code number is used for authority verification when accessing the operator; establish a standard access method with the operator, and the access method is used to pass in relevant communication protocol parameters and then execute a connection request to establish a communication connection with the operator; Netty is used to establish a communication connection; when establishing a connection with the operator for the first time, the communication protocol is used to establish a connection request parameter, and the connection request parameter contains the code number and account opening information issued by the operator; after the communication connection is successfully established, the Netty connection is marked as an SMS channel, and the SMS channel is uniquely identified as the channel code; the program side uses a message queue middleware, and the message queue uses different topics to perform different sending tasks; when the SMS channel is successfully established, a message queue topic with the same channel code is established in the message queue, and a message queue topic for processing feedback information is established in accordance with the format; the consumer end of the message queue goes to the database to query the channel code consistent with it according to the message queue topic, and after obtaining the corresponding channel information according to the queried channel code, the communication connection established by Netty before is called, and the communication connection that has been implemented is used to submit the sending task request interface, thereby realizing the use of the SMS channel to execute the sending task, and in the execution When executing a sending task, set the message queue consumer end that executes the sending task; add the corresponding channel code for the user in the multi-user access module, manage the SMS channel of the multi-channel access module through the channel code, and execute the message queue with the same subject as the channel code; when the multi-service access module receives that the user has a sending task that needs to use the SMS channel, according to the SMS channel code configured for the user in the multi-user access module, push the sending task to the message queue, when the message queue has a sending task, the message queue consumer end executes the consumer end program of the multi-channel access module to call the SMS channel; push the sending task to the message queue and set it as the message queue client that executes the sending task; after the multi-channel access module executes the sending task, use the Netty receiving request feedback interface to receive the operator feedback information of the sending task; after receiving the operator's feedback information, call the subject of the message queue processing feedback information, and set the client of the message queue processing feedback information; at the same time, set the consumer end of the message queue processing feedback information, record the SMS sending status, the number of successes, and the number of failures at the consumer end of the message queue processing feedback information, and store the feedback information in the database after processing it in a characteristic format, and the administrator can view the final feedback result of the sending task on the WEB client.
进一步优选,业务管理模块设置关键字导流、签名导流、模板导流和频率策略业务流程,以便于进行内容安全管理,黑白名单管理,报表功能管理,客服功能管理,可视化监控管理,财务充值管理以及高级功能管理。Further preferably, the business management module sets up keyword diversion, signature diversion, template diversion and frequency strategy business processes to facilitate content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management.
进一步优选,所述内容安全管理是:对于短信内容的审核,使用智能风控管理模块对短信内容做智能化过滤,从而实现对繁体字、有效网址、电话、多重关键字进行个性化分析;对于特殊情况,智能风控管理模块对短信内容无法实现自动拦截时,提供拦截组用于人工审核,实现灵活管控。Further preferably, the content security management is: for the review of SMS content, use the intelligent risk control management module to perform intelligent filtering on the SMS content, so as to realize personalized analysis of traditional Chinese characters, valid URLs, telephone numbers, and multiple keywords; for special cases, when the intelligent risk control management module cannot automatically intercept the SMS content, an interception group is provided for manual review to realize flexible management and control.
进一步优选,所述可视化监控管理是:使用平台提供的WEB端对后台进行可视化管理,可视化管理包括通道接入和通道分组管理、签名报备管理、用户开户与权限管理、多重内容审核与运维监控和预警管理。Further preferably, the visual monitoring management is: using the WEB terminal provided by the platform to perform visual management of the background, the visual management includes channel access and channel grouping management, signature reporting management, user account opening and authority management, multiple content review and operation and maintenance monitoring and early warning management.
进一步优选,预警管理包括平台内部运行环境告警和平台服务质量告警;平台内部运行环境告警针对服务器内部的线程、程序是否中断,内存、CPU占用是否正常进行监控和告警,对于异常情况通过短信或邮件预警;平台服务质量告警对转发业务的成功率、各通道和链路的质量进行检测,发现异常后通过短信或邮件告警通知。Further optimization, the early warning management includes platform internal operating environment alarms and platform service quality alarms; the platform internal operating environment alarms monitor and warn whether the threads and programs inside the server are interrupted, and whether the memory and CPU usage are normal, and warn of abnormal situations via SMS or email; the platform service quality alarms detect the success rate of forwarding services, the quality of each channel and link, and notify via SMS or email when abnormalities are found.
进一步优选,所述报表功能管理提供通道报表、用户报表、分省报表、用户按通道统计报表、用户按运营商统计报表、用户按签名统计报表和错误分析报表。报表输出支持Excel格式。Further preferably, the report function management provides channel report, user report, province report, user by channel statistical report, user by operator statistical report, user by signature statistical report and error analysis report. Report output supports Excel format.
进一步优选,所述基于SAAS模式的多业务上下游多协议接入平台按功能分为网络层、数据层、接口层、管理层、用户层和展示层;所述网络层包括公网、专网、CMPP网关、SGIP网关、SMPP网关、SMGP网关;所述数据层包括消息队列、Redis缓存集群、数据库集群;所述接口层包括HTTP、SGIP、CMPP、SGMP、SMPP接口;所述管理层进行消息管理、短信管理、通道管理、运营管理、平台设置;所述用户层设有个人信息、发件箱、收件箱、通讯录、统计报表;所述展示层提供短信、彩信、视频短信展示功能。Further preferably, the multi-service upstream and downstream multi-protocol access platform based on the SAAS model is functionally divided into a network layer, a data layer, an interface layer, a management layer, a user layer and a display layer; the network layer includes a public network, a private network, a CMPP gateway, a SGIP gateway, a SMPP gateway, and a SMGP gateway; the data layer includes a message queue, a Redis cache cluster, and a database cluster; the interface layer includes HTTP, SGIP, CMPP, SGMP, and SMPP interfaces; the management layer performs message management, SMS management, channel management, operation management, and platform settings; the user layer is provided with personal information, an outbox, an inbox, an address book, and statistical reports; the display layer provides SMS, MMS, and video SMS display functions.
进一步优选,所述多业务上下游多协议接入平台的硬件设备包括输入设备,控制器、存储器、输出设备、运算器,输入设备用于输入指令或消息,输出设备用于展示状态或发送消息或指令;存储器与输入设备,控制器、输出设备、运算器数据交互。Further preferably, the hardware devices of the multi-service upstream and downstream multi-protocol access platform include input devices, controllers, memories, output devices, and operators. The input devices are used to input instructions or messages, and the output devices are used to display status or send messages or instructions; the memories interact with the input devices, controllers, output devices, and operators.
本发明还提供一种基于SAAS模式的多业务上下游多协议接入方法,包括:与上游建立多通道接入:多通道之间根据规则智能分配通道流量;在接收到发送任务时,先按省分流至各省的上游通道;其次根据模板报备、验证码、签名和内容进行导流;也可通过验证码、通知、群发优先发送策略进行灵活控制;与下游多协议接入:用户可使用对接运营商标准协议的方式,使用标准CMPP、SGIP、SMGP、SMPP协议与基于SAAS模式的多业务上下游多协议接入平台建立用户通道,或使用HTTP接口快速对接基于SAAS模式的多业务上下游多协议接入平台;对接过程使用可视化配置;基于SAAS模式的多业务上下游多协议接入平台采用独立的虚拟接入号技术,向用户无缝对接CMPP标准协议;多业务接入:支持国际短信、语音短信、USSD短信、二进制短信、图文彩信、视频短信的集成扩展;不同短信业务通过多用户接入模块接入基于SAAS模式的多业务上下游多协议接入平台,基于SAAS模式的多业务上下游多协议接入平台针对不同业务完善其短信扩展内容,最终生成符合运营商标准的不同形式短信;支持企业用户通过WEB终端发送系统接入基于SAAS模式的多业务上下游多协议接入平台:基于SAAS模式的多业务上下游多协议接入平台同时提供 WEB 管理平台和WEB终端发送系统,满足在各类业务系统服务需求。The present invention also provides a multi-service upstream and downstream multi-protocol access method based on SAAS mode, including: establishing multi-channel access with the upstream: intelligently allocating channel traffic between multiple channels according to rules; when receiving a sending task, first diverting it to the upstream channels of each province by province; secondly, diverting it according to template reporting, verification code, signature and content; it can also be flexibly controlled through verification code, notification, and group priority sending strategy; accessing with downstream multi-protocols: users can use the method of docking with the operator's standard protocol, use standard CMPP, SGIP, SMGP, SMPP protocols to establish user channels with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode, or use HTTP interface to quickly dock with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode; the docking process uses visual configuration The SAAS-based multi-service upstream and downstream multi-protocol access platform adopts independent virtual access number technology to seamlessly connect users to the CMPP standard protocol; Multi-service access: supports the integrated expansion of international SMS, voice SMS, USSD SMS, binary SMS, MMS, and video SMS; Different SMS services access the SAAS-based multi-service upstream and downstream multi-protocol access platform through multi-user access modules. The SAAS-based multi-service upstream and downstream multi-protocol access platform improves its SMS extension content for different services, and finally generates SMS in different forms that meet the operator's standards; Support enterprise users to access the SAAS-based multi-service upstream and downstream multi-protocol access platform through the WEB terminal sending system: The SAAS-based multi-service upstream and downstream multi-protocol access platform provides both a WEB management platform and a WEB terminal sending system to meet the service needs of various business systems.
本发明的有益效果:本发明所述基于SAAS模式的多业务上下游多协议接入平台是基于SAAS模式架构,面向运营商、各级短信、视频短信代理商、大型企业和政府为主的综合性服务平台,提供面向用户的短信接入、发送、管理、统计、分析、数据处理等综合性服务体系,同时提供WEB管理平台和WEB终端发送系统。平台各模块采用SAAS模式架构,可动态扩展模块数量,极大提高了平台数据吞吐和处理能力,保证企业用户发送短信、视频短信业务的多样性和可靠性。Beneficial effects of the present invention: The SAAS-based multi-service upstream and downstream multi-protocol access platform of the present invention is a comprehensive service platform based on the SAAS model architecture, mainly for operators, SMS and video SMS agents at all levels, large enterprises and governments, providing a comprehensive service system such as SMS access, sending, management, statistics, analysis, data processing, etc. for users, and also providing a WEB management platform and a WEB terminal sending system. Each module of the platform adopts the SAAS model architecture, and the number of modules can be dynamically expanded, which greatly improves the data throughput and processing capacity of the platform, and ensures the diversity and reliability of the SMS and video SMS services sent by enterprise users.
1.通过本发明的多业务上下游多协议接入平台可实现多业务接入,所以用户的选择性是非常丰富的。1. The multi-service upstream and downstream multi-protocol access platform of the present invention can realize multi-service access, so the user has a wide range of choices.
2.提供了WEB客户端的方式发送短信,一些研发能力不足的用户,可以直接使用WEB客户端发送,不用自己做任何开发就可以发送短信。2. Provides a WEB client method to send text messages. Some users with insufficient R&D capabilities can directly use the WEB client to send text messages without doing any development themselves.
3.传统的短信系统并发量高的时候,短信系统会阻塞甚至服务崩溃,本发明,使用SAAS分布式的服务部署模式,动态增删我们服务的节点,支持的并发量非常高。3. When the concurrency of traditional SMS systems is high, the SMS system will be blocked or even the service will crash. The present invention uses the SAAS distributed service deployment model to dynamically add and delete nodes of our services, and supports a very high concurrency.
4.本发明提供了尽可能原生的仿运营商的短信协议接入方式,这就满足了那些有实力的企业既想自己开发自己的短信平台,又申请不到运营短信发送资质的需求。4. The present invention provides an access method for SMS protocol that is as native as possible and imitates the operator, which meets the needs of those powerful enterprises that want to develop their own SMS platform but cannot apply for the qualification of operating SMS sending.
图1为基于SAAS模式的多业务上下游多协议接入平台的架构图。Figure 1 is an architecture diagram of a multi-service upstream and downstream multi-protocol access platform based on the SAAS model.
图2为基于SAAS模式的多业务上下游多协议接入平台的分层示意图。FIG2 is a layered schematic diagram of a multi-service upstream and downstream multi-protocol access platform based on the SAAS model.
图3为基于SAAS模式的多业务上下游多协议接入平台的硬件设备示意图。FIG3 is a schematic diagram of the hardware equipment of a multi-service upstream and downstream multi-protocol access platform based on the SAAS model.
图中:10-多通道管理模块、20-业务管理模块、30-多用户接入模块、40-多业务接入模块、50-输入设备、60-运算器、70-存储器、80-输出设备、90-控制器。In the figure: 10 - multi-channel management module, 20 - business management module, 30 - multi-user access module, 40 - multi-business access module, 50 - input device, 60 - operator, 70 - memory, 80 - output device, 90 - controller.
下面结合附图和实施例进一步详细阐明本发明。The present invention is further explained in detail below with reference to the accompanying drawings and embodiments.
如图1所示,基于SAAS模式的多业务上下游多协议接入平台,包括:多通道管理模块10、多用户接入模块30、多业务接入模块40以及业务管理模块20。As shown in FIG. 1 , the SAAS-based multi-service upstream and downstream multi-protocol access platform includes: a multi-channel management module 10 , a multi-user access module 30 , a multi-service access module 40 and a service management module 20 .
多通道管理模块10用于上游通道接入,上游通道包括CMPP协议通道、SGIP协议通道、SMGP协议通道和HTTP通道,使用运营商发布的标准协议直连运营商网关,同时支持HTTP协议、MM7协议接入;多通道管理模块提供的操作包括通道分组、队列配置、分组配置、携号转网、HTTP模板;所述通道分组是将几个通道编入一个小组,为用户分配通道的时候,不直接分配通道,而是分配通道组。平台中的消息队列服务,不同队列执行不同任务,有发送验证码的,有发送通知的等等。队列配置可以分配队列优先级,队列在消息队列服务占用队列数等。分组配置是在通道分组后配置该通道组内的通道使用优先级,每个通道的流量值,每个通道可发送哪个省的短信等。携号转网是指配置携号转网号码的发送方式,是由原运营商转发至转网后运营商短信网关,还是由多业务上下游多协议接入平台直接推送至转网后运营商短信网关,按哪个运营商的收费标准收费等。HTTP模板是使用HTTP链接方式发送短信时链接的参数模板。The multi-channel management module 10 is used for upstream channel access. The upstream channels include CMPP protocol channels, SGIP protocol channels, SMGP protocol channels and HTTP channels. The standard protocols released by the operator are directly connected to the operator gateway, and HTTP protocol and MM7 protocol access are supported at the same time. The operations provided by the multi-channel management module include channel grouping, queue configuration, group configuration, number portability, and HTTP template. The channel grouping is to group several channels into a group. When assigning channels to users, channels are not directly assigned, but channel groups are assigned. The message queue service in the platform, different queues perform different tasks, some send verification codes, some send notifications, etc. The queue configuration can assign queue priority, the number of queues occupied by the queue in the message queue service, etc. The group configuration is to configure the channel usage priority within the channel group after channel grouping, the traffic value of each channel, and the province to which each channel can send SMS, etc. Number portability refers to the configuration of the sending method of the number portability, whether it is forwarded by the original operator to the SMS gateway of the operator after the porting, or directly pushed to the SMS gateway of the operator after the porting by the multi-service upstream and downstream multi-protocol access platform, and the charging standard of which operator is used for charging, etc. HTTP template is a parameter template for sending SMS messages using HTTP link.
多用户接入模块30用于下游用户接入多业务上下游多协议接入平台,多用户接入模块30的用户接入网关包括WEB客户端接入模块、HTTP接入模块、SMGP协议接入模块、SGIP协议接入模块、CMPP协议接入模块、主账号配置模块、HTTP开户配置模块、模拟CMPP配置模块、用户队列配置模块。支持下游用户使用CMPP、SGIP、SMGP、SMPP、HTTP协议接入本平台,支持下游用户模拟CMPP协议和HTTP协议为第三方用户开户,并且支持同一个帐号同时使用CMPP、HTTP、WEB 提交。The multi-user access module 30 is used for downstream users to access the multi-service upstream and downstream multi-protocol access platform. The user access gateway of the multi-user access module 30 includes a WEB client access module, an HTTP access module, an SMGP protocol access module, an SGIP protocol access module, a CMPP protocol access module, a main account configuration module, an HTTP account opening configuration module, a simulated CMPP configuration module, and a user queue configuration module. It supports downstream users to access this platform using CMPP, SGIP, SMGP, SMPP, and HTTP protocols, supports downstream users to simulate CMPP and HTTP protocols to open accounts for third-party users, and supports the same account to use CMPP, HTTP, and WEB submission at the same time.
WEB客户端接入模块:通过可视化的WEB页面操作接入。此接入方式已提前实现SMGP、SGIP、CMPP等通信协议,用户无需关注底层实现方式,按WEB页面提示填写参数信息。根据用户填写的参数信息,为其绑定短信网关,从而实现由WEB客户端接入网关。WEB client access module: access through visual WEB page operation. This access method has already implemented SMGP, SGIP, CMPP and other communication protocols in advance. Users do not need to pay attention to the underlying implementation method and fill in the parameter information according to the WEB page prompts. According to the parameter information filled in by the user, it is bound to the SMS gateway, so that the WEB client can access the gateway.
HTTP接入模块:用户通过HTTP接入模块发送http请求接入。请求接收参数类型为RESTFULL风格参数,参数封装方式成JSON格式。HTTP接入模块提前实现SMGP、SGIP、CMPP等通信协议,用户无需关注底层实现方式,按http请求参数文档要求传递必须的请求参数,根据实际情况传递非必须的请求参数。根据http请求接收到的参数,结合通信协议参数,与网关建立通信连接,从而实现由发送http请求接入网关。HTTP access module: Users send http requests to access through the HTTP access module. The request receives parameter types in RESTFULL style parameters, and the parameter encapsulation method is in JSON format. The HTTP access module implements communication protocols such as SMGP, SGIP, and CMPP in advance. Users do not need to pay attention to the underlying implementation method. They pass the required request parameters according to the http request parameter document requirements and pass the non-required request parameters according to the actual situation. According to the parameters received in the http request and the communication protocol parameters, a communication connection is established with the gateway, thereby realizing access to the gateway by sending an http request.
SMGP协议接入模块:实现SMGP协议接入。用户需提前与网关建立长连接,在初次建立连接时,需传递建立连接参数。参数的封装形式需严格遵守SMGP协议参数相关要求,使用用户传递的SMGP协议参数与网关建立连接,从而实现由使用SMGP协议接入网关。此接入方式中用户需提前熟悉电信SMGP协议的实现方式。SMGP protocol access module: implement SMGP protocol access. Users need to establish a long connection with the gateway in advance. When establishing the connection for the first time, they need to pass the connection establishment parameters. The encapsulation form of the parameters must strictly comply with the relevant requirements of the SMGP protocol parameters. The SMGP protocol parameters passed by the user are used to establish a connection with the gateway, thereby implementing access to the gateway using the SMGP protocol. In this access method, users need to be familiar with the implementation method of the telecom SMGP protocol in advance.
SGIP协议接入模块:实现SGIP协议接入。用户需提前与网关建立长连接,在初次建立连接时,需传递建立连接参数。参数的封装形式需严格遵守SGIP协议参数相关要求,使用用户传递的SGIP协议参数与网关建立连接,从而实现由使用SGIP协议接入网关。此接入方式中用户需提前熟悉SGIP协议的实现方式。SGIP protocol access module: implements SGIP protocol access. Users need to establish a long connection with the gateway in advance. When establishing the connection for the first time, they need to pass the connection establishment parameters. The encapsulation form of the parameters must strictly comply with the relevant requirements of the SGIP protocol parameters. The SGIP protocol parameters passed by the user are used to establish a connection with the gateway, thereby implementing access to the gateway using the SGIP protocol. In this access method, users need to be familiar with the implementation method of the SGIP protocol in advance.
CMPP协议接入模块:实现CMPP协议接入。用户需提前与网关建立长连接,在初次建立连接时,需传递建立连接参数。参数的封装形式需严格遵守CMPP协议参数相关要求,使用用户传递的CMPP协议参数与网关建立连接,从而实现由使用CMPP协议接入移动运营商。此接入方式中用户需提前熟悉移动CMPP协议的实现方式。CMPP protocol access module: implements CMPP protocol access. Users need to establish a long connection with the gateway in advance. When establishing the connection for the first time, they need to pass the connection establishment parameters. The encapsulation of the parameters must strictly comply with the relevant requirements of the CMPP protocol parameters. The CMPP protocol parameters passed by the user are used to establish a connection with the gateway, thereby realizing access to mobile operators using the CMPP protocol. In this access method, users need to be familiar with the implementation of the mobile CMPP protocol in advance.
主账号配置模块:主要用于设置WEB客户端用户权限。包括新增、修改、删除、查看WEB客户端用户基础信息及权限信息,为用户分配接入上游通道。主账号配置模块主要对通过WEB客户端接入的用户进行管理。Main account configuration module: mainly used to set the user permissions of the WEB client. Including adding, modifying, deleting, and viewing the basic information and permission information of the WEB client user, and allocating access to upstream channels for users. The main account configuration module mainly manages users who access through the WEB client.
HTTP开户配置模块:主要用于设置使用HTTP接入的用户权限。包括新增、修改、删除、查看http接入用户基础信息及权限信息,为用户分配接入上游的短信通道。为用户生成用于权限验证的token身份信息,验证请求来源的IP地址是否存在于IP白名单,若验证通过,则进行参数格式及业务逻辑校验。若验证不通过则拒绝该IP发送的请求。HTTP开户配置模块主要对通过发送http请求接入的用户进行管理。HTTP account opening configuration module: mainly used to set the user permissions for HTTP access. Including adding, modifying, deleting, and viewing the basic information and permission information of http access users, and allocating the SMS channel for users to access the upstream. Generate token identity information for user permission verification, verify whether the IP address of the request source exists in the IP whitelist, and if the verification passes, perform parameter format and business logic verification. If the verification fails, reject the request sent by the IP. The HTTP account opening configuration module mainly manages users who access by sending http requests.
模拟CMPP配置模块:此主要用于模拟通过实现CMPP协议接入。主要用于校验CMPP接入的参数是否严格遵守了CMPP协议参数规定,检验CMPP接入模块是否能正常运行。Simulate CMPP configuration module: This is mainly used to simulate access through CMPP protocol. It is mainly used to verify whether the parameters of CMPP access strictly comply with the CMPP protocol parameter regulations and whether the CMPP access module can operate normally.
用户队列配置模块:主要用于配置用户的消息队列信息。为保证系统运行的稳定性和可靠性,提前实现多个消息队列的建立,使用多个消息队列执行不同用户的短信发送需求,各个消息队列的配置有所不同。根据用户的实际使用需求,将各用户分配至不通消息队列之中,提升用户使用体验。User queue configuration module: mainly used to configure the user's message queue information. In order to ensure the stability and reliability of the system operation, multiple message queues are established in advance, and multiple message queues are used to execute the SMS sending needs of different users. The configuration of each message queue is different. According to the actual usage needs of users, each user is assigned to a different message queue to improve the user experience.
多业务接入模块40,支持国际短信、语音短信、USSD 短信、二进制短信、图文彩信、视频短信、文本短信的业务接入,不同的短信业务接入时,根据运营商的不同接入规则,自动为其填补相应的标准参数,最终使用上游通道推送至运营商网关,由运营商服务解析成不同的业务短信下发至用户端。The multi-service access module 40 supports the service access of international SMS, voice SMS, USSD SMS, binary SMS, MMS, video SMS and text SMS. When different SMS services are accessed, the corresponding standard parameters are automatically filled in according to the different access rules of the operator. Finally, the module is pushed to the operator gateway through the upstream channel, and the operator service parses it into different service SMS and sends it to the user end.
根据运营商的不同接入规则,自动为其填补相应的标准参数是指:提前根据各个运营商发布的不同接入规则实现不同的接入业务,用户通过申请到的WEB客户端登录账号登入WEB客户端,在执行发送业务前,填写不同业务规定的个性化参数,不同的短信业务接入时,根据运营商的不同接入规则,自动为其填补相应的标准参数。Automatically filling in corresponding standard parameters according to different access rules of operators means: implementing different access services in advance according to different access rules issued by various operators, users log in to the WEB client through the WEB client login account applied for, and fill in personalized parameters stipulated by different services before executing the sending service. When different SMS services are accessed, corresponding standard parameters are automatically filled in according to different access rules of operators.
业务管理模块20连接多通道管理模块10和多用户接入模块30,业务管理模块20智能调度多用户接入模块30中的用户接入网关和多通道管理模块10中的上游通道网关,同时支持内容安全管理,黑白名单管理,报表功能管理,客服功能管理,可视化监控管理,财务充值管理以及高级功能管理。智能调度的逻辑就是使得业务管理模块可以执行内容安全管理,黑白名单管理,报表功能管理,客服功能管理,可视化监控管理,财务充值管理以及高级功能管理中功能任务。业务管理模块还设置关键字导流、签名导流、模板导流和频率策略业务流程,以便于进行内容安全管理,黑白名单管理,报表功能管理,客服功能管理,可视化监控管理,财务充值管理以及高级功能管理。The business management module 20 connects the multi-channel management module 10 and the multi-user access module 30. The business management module 20 intelligently schedules the user access gateway in the multi-user access module 30 and the upstream channel gateway in the multi-channel management module 10, and supports content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management. The logic of intelligent scheduling is to enable the business management module to perform functional tasks in content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management. The business management module also sets keyword diversion, signature diversion, template diversion and frequency strategy business processes to facilitate content security management, black and white list management, report function management, customer service function management, visual monitoring management, financial recharge management and advanced function management.
不同用户通过WEB客户端接入模块接入网关,通过用户队列配置模块配置用户的消息队列信息;主账号配置模块设置WEB客户端用户权限和基础信息,同时主账号配置模块根据基础信息进行操作,为用户分配接入上游通道,然后多用户接入模块30根据上游通道选择HTTP接入模块、SMGP协议接入模块、SGIP协议接入模块或CMPP协议接入模块实现协议接入,多通道管理模块10配置SMGP协议、SGIP协议和CMPP协议,配置完成后,生成多通道供主账号配置模块为用户选择上游通道时使用,多业务接入模块40实现不同的业务短信接入。。Different users access the gateway through the WEB client access module, and configure the user's message queue information through the user queue configuration module; the main account configuration module sets the WEB client user rights and basic information, and the main account configuration module operates according to the basic information to allocate access to the upstream channel for the user, and then the multi-user access module 30 selects the HTTP access module, SMGP protocol access module, SGIP protocol access module or CMPP protocol access module according to the upstream channel to implement protocol access, and the multi-channel management module 10 configures the SMGP protocol, SGIP protocol and CMPP protocol. After the configuration is completed, multiple channels are generated for the main account configuration module to select the upstream channel for the user, and the multi-service access module 40 implements different service SMS access. .
更具体的是,业务管理模块20支持内容安全管理:对于短信内容的审核,提前在智能风控管理模块由管理员创建需识别的过滤内容。在获取到短信内容后首先使用智能风控管理模块对短信内容做智能化过滤,将短信内容与需过滤的繁体字、有效网址、电话、多重关键字等信息进行匹配,若匹配结果显示短信内容存在需过滤信息,则提醒用户拒绝发送此短信内容,若匹配结果显示短信内容不存在需过滤内容则同意执行发送任务。从而实现对繁体字、有效网址、电话、多重关键字进行个性化分析。对于特殊情况,智能风控管理模块对短信内容无法实现自动拦截时,提供拦截组用于人工审核,人工审核员可在短信内容审核模块查询需使用人工审核的短信内容,人工审核员可选择短信内容是否通过审核。对于被拒绝发送的短信内容,人工审核员也可手动审核后决定是否通过内容审核,实现灵活管控。More specifically, the business management module 20 supports content security management: for the review of SMS content, the administrator creates the filtering content to be identified in the intelligent risk control management module in advance. After obtaining the SMS content, the intelligent risk control management module is first used to intelligently filter the SMS content, and the SMS content is matched with the traditional Chinese characters, valid URLs, telephones, multiple keywords and other information to be filtered. If the matching result shows that the SMS content contains information that needs to be filtered, the user is reminded to refuse to send this SMS content. If the matching result shows that the SMS content does not contain content that needs to be filtered, the sending task is agreed to. Thereby, personalized analysis of traditional Chinese characters, valid URLs, telephones, and multiple keywords is achieved. For special cases, when the intelligent risk control management module cannot automatically intercept the SMS content, an interception group is provided for manual review. The manual reviewer can query the SMS content that needs to be manually reviewed in the SMS content review module, and the manual reviewer can choose whether the SMS content passes the review. For the SMS content that is rejected, the manual reviewer can also manually review and decide whether to pass the content review to achieve flexible management and control.
更具体的是,业务管理模块20支持可视化监控管理:使用平台提供的WEB端对后台进行可视化管理,可视化管理包括通道接入和通道分组管理、签名报备管理、用户开户与权限管理、多重内容审核与运维监控和预警管理。More specifically, the business management module 20 supports visual monitoring management: using the WEB terminal provided by the platform to perform visual management of the background, the visual management includes channel access and channel grouping management, signature reporting management, user account opening and authority management, multiple content review and operation and maintenance monitoring and early warning management.
预警管理主要包括平台内部运行环境告警和平台服务质量告警。平台内部运行环境告警主要针对服务器内部的线程、程序是否中断,内存、CPU占用是否正常等进行监控和告警,对于异常情况通过短信或邮件预警。平台服务质量告警主要对转发业务的成功率、各通道和链路的质量进行检测,发现异常后通过短信或邮件告警通知。Early warning management mainly includes platform internal operating environment alarms and platform service quality alarms. The platform internal operating environment alarms mainly monitor and warn whether the threads and programs inside the server are interrupted, whether the memory and CPU usage are normal, etc., and issue warnings for abnormal situations through SMS or email. Platform service quality alarms mainly detect the success rate of forwarding services, the quality of each channel and link, and notify through SMS or email alarms when abnormalities are found.
业务管理模块20支持报表功能管理:提供各类丰富的报表,通道报表、用户报表、分省报表、用户按通道统计报表、用户按运营商统计报表、用户按签名统计报表和错误分析报表。报表输出支持Excel格式。根据业务发展和管理的需要,报表具备可扩展性,能够满足新增需求。The business management module 20 supports report function management: it provides a variety of reports, including channel reports, user reports, provincial reports, user statistics reports by channel, user statistics reports by operator, user statistics reports by signature, and error analysis reports. Report output supports Excel format. According to the needs of business development and management, the report is scalable and can meet new needs.
业务管理模块20支持财务充值管理:可按天设置通道和用户价格,以保障出账的实时准确性。对用户提供自动出账的功能,在为用户执行发送任务时,自动核算其余额是否充足,发送扣费支持发送完成后扣费、发送前预先扣费、月结算等不同扣费模式。对于发送任务失败时,自动为用户返还费用至其账户。The business management module 20 supports financial recharge management: channels and user prices can be set on a daily basis to ensure the real-time accuracy of the payment. The user is provided with an automatic payment function. When executing a sending task for the user, the balance is automatically calculated to see if it is sufficient. The payment deduction supports different payment modes such as payment after the sending is completed, payment before the sending is completed, and monthly settlement. If the sending task fails, the fee is automatically returned to the user's account.
如图2所示,基于SAAS模式的多业务上下游多协议接入平台按功能分为网络层、数据层、接口层、管理层、用户层和展示层;所述网络层包括公网、专网、CMPP网关、SGIP网关、SMPP网关、SMGP网关;所述数据层包括消息队列、Redis缓存集群、数据库集群;所述接口层包括HTTP、SGIP、CMPP、SGMP、SMPP接口;所述管理层进行消息管理、短信管理、通道管理、运营管理、平台设置;所述用户层设有个人信息、发件箱、收件箱、通讯录、统计报表;所述展示层提供短信、彩信、视频短信展示功能。As shown in Figure 2, the multi-service upstream and downstream multi-protocol access platform based on the SAAS model is functionally divided into a network layer, a data layer, an interface layer, a management layer, a user layer and a display layer; the network layer includes a public network, a private network, a CMPP gateway, a SGIP gateway, a SMPP gateway, and a SMGP gateway; the data layer includes a message queue, a Redis cache cluster, and a database cluster; the interface layer includes HTTP, SGIP, CMPP, SGMP, and SMPP interfaces; the management layer performs message management, SMS management, channel management, operation management, and platform settings; the user layer is provided with personal information, an outbox, an inbox, an address book, and statistical reports; the display layer provides SMS, MMS, and video SMS display functions.
本实施例中,在多通道接入模块,首先向运营商申请码号,码号用于在接入运营商时作权限验证。建立标准的与运营商的接入方式,接入方式已提前使用程序实现,使接入方式固定,即传入相关通信协议参数后执行建立连接请求,就可与运营商建立通信连接;建立通信连接使用Netty实现,Netty是由JBOSS提供的一个java开源框架,Netty自身具有互联网请求长连接的各种接口,包括通信的握手,数据传递,请求的应答等,程序侧需根据实际情况实现Netty的各种接口,主要包括建立请求、获取应答消息、提交发送任务请求三种接口。首次与运营商建立连接时,使用通信协议建立连接请求参数,连接请求参数中包含运营商下发的码号和开户信息。建立通信连接成功后,将Netty连接标志为一个短信通道,短信通道唯一标识为通道编码。程序侧使用消息队列(本实施例为RocketMQ消息队列)中间组件,消息队列使用不同主题来执行不同的发送任务。当短信通道被建立成功后,在消息队列中建立与通道编码相同的消息队列主题,同时按照格式(如在消息队列主题后加“bak”)建立处理反馈信息的消息队列主题。消息队列的消费端根据消息队列的主题去数据库查询与其一致的通道编码,根据查询到的通道编码获取相对应的通道信息后,调用之前Netty已建立好的通信连接,同时使用已实现的通信连接提交发送任务请求接口,从而实现使用短信通道执行发送任务,在执行发送任务时,设置执行发送任务的消息队列消费端。In this embodiment, in the multi-channel access module, first apply for a code number from the operator, and the code number is used for authorization verification when accessing the operator. Establish a standard access method with the operator. The access method has been implemented in advance using the program to fix the access method, that is, after the relevant communication protocol parameters are passed in, a connection request is executed to establish a communication connection with the operator; the communication connection is established using Netty. Netty is a java open source framework provided by JBOSS. Netty itself has various interfaces for Internet request long connections, including communication handshakes, data transmission, and request responses. The program side needs to implement various Netty interfaces according to actual conditions, mainly including three interfaces: establishing requests, obtaining response messages, and submitting task requests. When establishing a connection with an operator for the first time, the communication protocol is used to establish connection request parameters. The connection request parameters contain the code number and account opening information issued by the operator. After the communication connection is successfully established, the Netty connection is marked as a short message channel, and the short message channel is uniquely identified as the channel code. The program side uses a message queue (RocketMQ message queue in this embodiment) intermediate component, and the message queue uses different topics to execute different sending tasks. When the SMS channel is successfully established, a message queue topic with the same channel code is established in the message queue, and a message queue topic for processing feedback information is established in accordance with the format (such as adding "bak" after the message queue topic). The consumer of the message queue queries the database for a channel code that is consistent with the message queue topic, obtains the corresponding channel information based on the queried channel code, calls the communication connection established by Netty before, and uses the implemented communication connection to submit the sending task request interface, thereby implementing the use of the SMS channel to execute the sending task. When executing the sending task, set the message queue consumer that executes the sending task.
在多用户接入模块,为用户配置短信通道,实际就是为用户添加相应的通道编码,通过通道编码即可管理多通道接入模块的短信通道,并执行与通道编码相同主题的消息队列。In the multi-user access module, configuring SMS channels for users actually means adding corresponding channel codes for users. The SMS channels of the multi-channel access module can be managed through the channel codes, and the message queues with the same topic as the channel codes can be executed.
当多业务接入模块接收到用户有发送任务需使用短信通道时,根据在多用户接入模块为用户配置的短信通道编码,向消息队列推送发送任务即可,当消息队列有发送任务时,消息队列消费端就会执行多通道接入模块的消费端程序调用短信通道。向消息队列推送发送任务,并设置为执行发送任务的消息队列客户端。When the multi-service access module receives a message that a user has a task to send and needs to use the SMS channel, it pushes the task to the message queue according to the SMS channel code configured for the user in the multi-user access module. When the message queue has a task to send, the message queue consumer will execute the consumer program of the multi-channel access module to call the SMS channel. Push the task to the message queue and set it as the message queue client that executes the task.
在多通道接入模块执行发送任务之后,使用Netty接收请求反馈接口接收发送任务的运营商反馈信息。接收到运营商的反馈信息后调用消息队列的处理反馈信息的主题,设置消息队列处理反馈信息的客户端。同时设置消息队列处理反馈信息的消费端,在消息队列处理反馈信息的消费端,记录短信发送状态、成功数量、失败数量,将反馈信息按照特点格式处理后存入数据库,管理员可在WEB客户端查看发送任务的最终反馈结果。对于特殊要求的客户,将反馈信息按照特点格式处理后生成EXCEL格式文件放入指定服务器的目录,用户使用ftp工具可自行取走自己的发送任务反馈报告。After the multi-channel access module executes the sending task, the Netty receiving request feedback interface is used to receive the operator feedback information of the sending task. After receiving the feedback information from the operator, the subject of the message queue processing feedback information is called, and the client of the message queue processing feedback information is set. At the same time, the consumer end of the message queue processing feedback information is set. At the consumer end of the message queue processing feedback information, the SMS sending status, the number of successes, and the number of failures are recorded. The feedback information is processed in a special format and stored in the database. The administrator can view the final feedback result of the sending task on the WEB client. For customers with special requirements, the feedback information is processed in a special format and generated into an EXCEL format file and placed in the directory of the specified server. Users can use the ftp tool to take away their own sending task feedback report.
为应对高并发高可用的发送需求,基于SAAS模式的多业务上下游多协议接入平台运用负载均衡、消息队列、Redis 缓存和 JStorm 大数据计算等技术,同时采用服务器分布式集群技术实现多线程异步耦合的分布式安全平台架构。In order to meet the high concurrency and high availability sending requirements, the multi-business upstream and downstream multi-protocol access platform based on the SAAS model uses load balancing, message queues, Redis cache and JStorm big data computing technologies, and uses server distributed cluster technology to implement a distributed security platform architecture with multi-threaded asynchronous coupling.
如图3所示,基于SAAS模式的多业务上下游多协议接入平台的硬件设备包括输入设备50,控制器90、存储器70、输出设备80、运算器60。输入设备50用于输入指令或消息,输出设备80用于展示状态或发送消息或指令;存储器70分别与输入设备50,控制器90、输出设备80、运算器60数据交互。As shown in Fig. 3, the hardware devices of the multi-service upstream and downstream multi-protocol access platform based on the SAAS mode include an input device 50, a controller 90, a memory 70, an output device 80, and an operator 60. The input device 50 is used to input instructions or messages, and the output device 80 is used to display status or send messages or instructions; the memory 70 interacts with the input device 50, the controller 90, the output device 80, and the operator 60 respectively.
基于SAAS模式的多业务上下游多协议接入平台采用集群和负载均衡技术,通过增加相应的设备,即能支持更大规模的集群和负载均衡能力,最终实现基于SAAS模式的多业务上下游多协议接入平台扩展。基于SAAS模式的多业务上下游多协议接入平台采用的技术和架构符合可扩展性要求,应用开发为多业务接入预留接口。The multi-service upstream and downstream multi-protocol access platform based on the SAAS model adopts cluster and load balancing technology. By adding corresponding equipment, it can support larger-scale cluster and load balancing capabilities, and ultimately achieve the expansion of the multi-service upstream and downstream multi-protocol access platform based on the SAAS model. The technology and architecture adopted by the multi-service upstream and downstream multi-protocol access platform based on the SAAS model meet the scalability requirements, and application development reserves interfaces for multi-service access.
一种基于SAAS模式的多业务上下游多协议接入方法,包括:与上游建立多通道接入:多通道之间根据规则智能分配通道流量;在接收到发送任务时,先按省分流至各省的上游通道;其次根据模板报备、验证码、签名和内容进行导流;也可通过验证码、通知、群发优先发送等策略进行灵活控制;与下游多协议接入:用户可使用对接运营商标准协议的方式,使用标准CMPP、SGIP、SMGP、SMPP协议与基于SAAS模式的多业务上下游多协议接入平台建立用户通道,同时也可使用HTTP接口快速对接基于SAAS模式的多业务上下游多协议接入平台;对接过程使用可视化配置,简化用户接入的流程;基于SAAS模式的多业务上下游多协议接入平台采用独立的虚拟接入号技术,向用户无缝对接CMPP标准协议;多业务接入:支持国际短信、语音短信、USSD 短信、二进制短信、图文彩信、视频短信的集成扩展;不同短信业务通过多用户接入模块接入基于SAAS模式的多业务上下游多协议接入平台,基于SAAS模式的多业务上下游多协议接入平台针对不同业务完善其短信扩展内容,最终生成符合运营商标准的不同形式短信。A multi-service upstream and downstream multi-protocol access method based on SAAS mode, including: establishing multi-channel access with the upstream: intelligently allocating channel traffic between multiple channels according to rules; when receiving a sending task, first diverting it to the upstream channels of each province by province; secondly, diverting it according to template reporting, verification code, signature and content; it can also be flexibly controlled through verification code, notification, group priority sending and other strategies; multi-protocol access with downstream: users can use the method of docking with the operator's standard protocol, use standard CMPP, SGIP, SMGP, SMPP protocols to establish user channels with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode, and can also use HTTP interface to quickly dock with the multi-service upstream and downstream multi-protocol access platform based on SAAS mode; the docking process uses visual configuration to simplify the user access process; the multi-service upstream and downstream multi-protocol access platform based on SAAS mode adopts independent virtual access number technology to seamlessly connect the CMPP standard protocol to users; multi-service access: supports international SMS, voice SMS, USSD Integrated extension of SMS, binary SMS, MMS and video SMS; different SMS services are connected to the multi-service upstream and downstream multi-protocol access platform based on the SAAS model through the multi-user access module. The multi-service upstream and downstream multi-protocol access platform based on the SAAS model improves the SMS extension content for different services, and finally generates SMS in different forms that meet the operator standards.
支持企业用户通过WEB 终端发送系统接入基于SAAS模式的多业务上下游多协议接入平台:基于SAAS模式的多业务上下游多协议接入平台同时提供WEB 管理平台和WEB终端发送系统,满足在各类业务系统服务需求。对于发送业务较简单或不具备开发业务平台的用户,可使用基于SAAS模式的多业务上下游多协议接入平台提供的WEB终端发送系统实现发送业务。运营人员可通过WEB管理平台进行基于SAAS模式的多业务上下游多协议接入平台可视化运营管理。Support enterprise users to access the multi-business upstream and downstream multi-protocol access platform based on the SAAS model through the WEB terminal sending system: The multi-business upstream and downstream multi-protocol access platform based on the SAAS model provides both a WEB management platform and a WEB terminal sending system to meet the service needs of various business systems. For users with simpler sending services or who do not have a business development platform, the WEB terminal sending system provided by the multi-business upstream and downstream multi-protocol access platform based on the SAAS model can be used to implement the sending service. Operation personnel can use the WEB management platform to perform visual operation and management of the multi-business upstream and downstream multi-protocol access platform based on the SAAS model.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310191347.8 | 2023-03-02 | ||
| CN202310191347.8A CN115883309B (en) | 2023-03-02 | 2023-03-02 | Multi-service upstream and downstream multi-protocol access platform and method based on SAAS mode |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024178909A1 true WO2024178909A1 (en) | 2024-09-06 |
Family
ID=85761802
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/110457 Pending WO2024178909A1 (en) | 2023-03-02 | 2023-08-01 | Multi-service upstream and downstream multi-protocol access platform and method based on saas mode |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115883309B (en) |
| WO (1) | WO2024178909A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119254677A (en) * | 2024-10-14 | 2025-01-03 | 北京计算机技术及应用研究所 | A complex network equipment monitoring method and system |
| CN119521147A (en) * | 2024-11-26 | 2025-02-25 | 北京数米科技有限公司 | A short message routing communication method and system |
| CN120281806A (en) * | 2025-06-10 | 2025-07-08 | 中债数字金融科技有限公司 | Financial information reporting method, device, computer equipment and readable storage medium |
| CN120301945A (en) * | 2025-06-12 | 2025-07-11 | 青岛港国际股份有限公司 | A cache information processing method, device and medium for port platform |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115883309B (en) * | 2023-03-02 | 2023-05-02 | 江西掌中无限网络科技股份有限公司 | Multi-service upstream and downstream multi-protocol access platform and method based on SAAS mode |
| CN117041893B (en) * | 2023-10-10 | 2024-01-12 | 江西掌中无限网络科技股份有限公司 | Method and system for sending international short message by using cloud computing technology |
| CN118714522B (en) * | 2024-08-27 | 2024-11-22 | 江西掌中无限网络科技股份有限公司 | System and method for improving pushing efficiency of multi-tenant 5G message |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101909257A (en) * | 2009-06-04 | 2010-12-08 | 中兴通讯股份有限公司 | Method and system for realizing concurrency access of multiple bearer protocols by M2M platform |
| CN107005548A (en) * | 2014-12-18 | 2017-08-01 | 英特尔公司 | System Platform for Context-Based Communication Channel Configuration |
| CN110572784A (en) * | 2019-09-30 | 2019-12-13 | 深圳市高斯通信息技术有限公司 | Method for adapting mobile protocol to communication protocol and telecommunication protocol |
| CN111240861A (en) * | 2020-01-08 | 2020-06-05 | 陕西省大数据集团有限公司 | Service providing method, device, electronic equipment and storage medium |
| CN113645519A (en) * | 2021-07-28 | 2021-11-12 | 武汉丰天鼎业信息网络有限公司 | An intelligent water meter management SAAS system integrating multiple transmission protocols |
| CN115883309A (en) * | 2023-03-02 | 2023-03-31 | 江西掌中无限网络科技股份有限公司 | Multi-service upstream and downstream multi-protocol access platform and method based on SAAS mode |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017075594A1 (en) * | 2015-10-29 | 2017-05-04 | Datto, Inc. | Apparatuses, methods, and systems for storage and analysis of saas data and non-saas data for businesses and other organizations |
| US11064039B2 (en) * | 2018-11-14 | 2021-07-13 | Citrix Systems, Inc. | Systems and methods for push notification service for SaaS applications |
| CN114979133B (en) * | 2022-04-13 | 2024-04-30 | 广东省电信规划设计院有限公司 | A deployment method and device for a converged communication cloud platform |
-
2023
- 2023-03-02 CN CN202310191347.8A patent/CN115883309B/en active Active
- 2023-08-01 WO PCT/CN2023/110457 patent/WO2024178909A1/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101909257A (en) * | 2009-06-04 | 2010-12-08 | 中兴通讯股份有限公司 | Method and system for realizing concurrency access of multiple bearer protocols by M2M platform |
| US20120113992A1 (en) * | 2009-06-04 | 2012-05-10 | Zte Corporation | Method and System for Realizing Concurrent Access of Multi-Kinds of Bearer Protocols on Machine-to-Machine (M2M) Platform |
| CN107005548A (en) * | 2014-12-18 | 2017-08-01 | 英特尔公司 | System Platform for Context-Based Communication Channel Configuration |
| CN110572784A (en) * | 2019-09-30 | 2019-12-13 | 深圳市高斯通信息技术有限公司 | Method for adapting mobile protocol to communication protocol and telecommunication protocol |
| CN111240861A (en) * | 2020-01-08 | 2020-06-05 | 陕西省大数据集团有限公司 | Service providing method, device, electronic equipment and storage medium |
| CN113645519A (en) * | 2021-07-28 | 2021-11-12 | 武汉丰天鼎业信息网络有限公司 | An intelligent water meter management SAAS system integrating multiple transmission protocols |
| CN115883309A (en) * | 2023-03-02 | 2023-03-31 | 江西掌中无限网络科技股份有限公司 | Multi-service upstream and downstream multi-protocol access platform and method based on SAAS mode |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119254677A (en) * | 2024-10-14 | 2025-01-03 | 北京计算机技术及应用研究所 | A complex network equipment monitoring method and system |
| CN119521147A (en) * | 2024-11-26 | 2025-02-25 | 北京数米科技有限公司 | A short message routing communication method and system |
| CN120281806A (en) * | 2025-06-10 | 2025-07-08 | 中债数字金融科技有限公司 | Financial information reporting method, device, computer equipment and readable storage medium |
| CN120281806B (en) * | 2025-06-10 | 2025-08-08 | 中债数字金融科技有限公司 | Financial information reporting method, device, computer equipment and readable storage medium |
| CN120301945A (en) * | 2025-06-12 | 2025-07-11 | 青岛港国际股份有限公司 | A cache information processing method, device and medium for port platform |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115883309A (en) | 2023-03-31 |
| CN115883309B (en) | 2023-05-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024178909A1 (en) | Multi-service upstream and downstream multi-protocol access platform and method based on saas mode | |
| US10069773B2 (en) | System and method for enabling dynamic multi-modal communication | |
| US7995519B2 (en) | Centralised management for a set of network nodes | |
| CN111800283A (en) | Network system, service provision and resource scheduling method, device and storage medium | |
| CN109672612A (en) | API gateway system | |
| US20070104208A1 (en) | System and method for shaping traffic | |
| CN101350963B (en) | Embedded telecom value-added service gateway | |
| AU2006201516A1 (en) | Service delivery platform | |
| CN108513271A (en) | Short message distribution method and equipment based on multiple short message channels | |
| CN107483276A (en) | Service processing method, device and service distribution platform | |
| CN103036775A (en) | Information exchange device, system and method | |
| US9083599B2 (en) | Method, system and computer program product for providing access policies for services | |
| CN102158830B (en) | Real time monitoring system for mobile network spam | |
| CN113727288B (en) | Silence customer service robot based on 5G message | |
| CN115633084A (en) | A k8s cluster access method, device and computer-readable storage medium | |
| CN100499841C (en) | Short message service interface and channel adapting method for the same | |
| CN104753774B (en) | A kind of distributed enterprise comprehensive access gate | |
| US7743117B2 (en) | Service provisioning method, system and computer program product | |
| WO2011130077A1 (en) | System and method for intermediating between subscriber devices and communication service providers | |
| CN109669785A (en) | Page sharing method, device, server and the storage medium of terminal applies | |
| CN113191621A (en) | Intelligent integrated voice service management platform based on data and service fusion | |
| US9681252B2 (en) | Service provisioning and activation in telecommunications network | |
| CN114697885A (en) | LAN group charging method and related device | |
| CN113496002A (en) | Mobile application platform based on mobile middle station | |
| CN101557382A (en) | Professional ability resource management system and professional ability resource access management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23924868 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |