CN108347705A - CMPP SMS platforms and its application process - Google Patents

CMPP SMS platforms and its application process Download PDF

Info

Publication number
CN108347705A
CN108347705A CN201810202830.0A CN201810202830A CN108347705A CN 108347705 A CN108347705 A CN 108347705A CN 201810202830 A CN201810202830 A CN 201810202830A CN 108347705 A CN108347705 A CN 108347705A
Authority
CN
China
Prior art keywords
cmpp
sms
data
http
data packet
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.)
Granted
Application number
CN201810202830.0A
Other languages
Chinese (zh)
Other versions
CN108347705B (en
Inventor
杨晓东
黄江
叶培宗
兰刚
赵恒�
黄成刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201810202830.0A priority Critical patent/CN108347705B/en
Publication of CN108347705A publication Critical patent/CN108347705A/en
Application granted granted Critical
Publication of CN108347705B publication Critical patent/CN108347705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/06Transport layer protocols, e.g. TCP [Transport Control Protocol] over wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/12Application layer protocols, e.g. WAP [Wireless Application Protocol]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of CMPP SMS platforms and its application processes.Above-mentioned CMPP SMS platforms include:Master control system is handled data in a manner of asynchronous non-obstruction for creating the main progress of work, and log-on data listening port;Sms center connecting system, for after the initialization of the main progress of work, start and completes the network connection to CMPP sms centers, and the connection status of CMPP sms centers is managed and is monitored, and it is additionally operable to registration and replys monitoring event, triggering reply monitoring event is to handle the request data package of CMPP sms centers when receiving the request data package of CMPP sms centers reply;Sender's data processing system is sent to CMPP sms centers for handling the data packet for coming from sender's client, and by the data packet of treated sender's client.Using above-mentioned technical proposal, support that full decoupled with front-end business, system architecture accomplishes most to simplify without any third party's web services or database service.

Description

CMPP SMS platforms and its application process
Technical field
The present invention relates to the communications fields, in particular to a kind of CMPP SMS platforms and its application process.
Background technology
China Mobile's internet short message gateway interface (China Mobile Peer to Peer, referred to as CMPP) Agreement is a kind of message gateway interface agreement based on ICP/IP protocol that China Mobile provides, and is mainly used for service provider (SP) it is sent to the information of mobile subscriber and submits to sms center.
Since CMPP short message protocols sheet is as the upper-layer protocol designed based on ICP/IP protocol, what SP all at present was used Development technique is mainly the transport layer developed based on ICP/IP protocol and network layer SMS platform, and primary communications mode is TCP/IP Protocol package.
In the prior art, it sends short message mode and ICP/IP protocol packet is mainly sent by socket sockets;Work as needs When responding HTTP request, it is desirable that in addition build third parties' Web server such as Nginx, and develop in the corresponding interface and CMPP short messages The heart is communicated.System architecture is more complex, and maintenance cost is higher, and operation maintenance personnel needs to monitor the operating status of multiple services, work Work amount is larger;When web class products are needed using short message interacting, long connection SMS platform is generally used and waits for back packet, or SMS platform will go back to bag data data-in library, and the mode in front end polling data library again obtains reply content, causes SMS platform The pressure for needing burden concurrently to connect, or increase database and support, system structure increases more complicated links.
Invention content
It is a primary object of the present invention to disclose a kind of CMPP SMS platforms and its application process, at least to solve correlation In technology send short message mode mainly by socket sockets send ICP/IP protocol packet, when need respond HTTP request When, it is desirable that third parties' Web server such as Nginx is in addition built, causes system architecture complicated, the high problem of maintenance cost.
According to an aspect of the invention, there is provided a kind of CMPP SMS platforms.
CMPP SMS platforms according to the present invention include:Master control system, for creating the main progress of work, and log-on data Listening port is handled data in a manner of asynchronous non-obstruction;Sms center connecting system, for it is described it is main work into After journey initialization, start and complete the network connection to CMPP sms centers, and to the connection status of the CMPP sms centers It is managed and monitors, and be additionally operable to registration and reply monitoring event, in the request for receiving the CMPP sms centers reply Triggering replys monitoring event to handle the request data package of the CMPP sms centers when data packet;Sender's data processing system System, for handle the data packet for coming from sender's client, and by the data packet hair of treated described sender client It send to the CMPP sms centers.
According to another aspect of the invention, a kind of application process of above-mentioned CMPP SMS platforms is provided.
The application process of CMPP SMS platforms according to the present invention includes:The master control system of the CMPP SMS platforms is created The main progress of work is built, and log-on data listening port monitors sender's client, data are carried out in a manner of asynchronous non-obstruction Processing;The sms center connecting system of the CMPP SMS platforms starts and completes pair after the main progress of work initialization The network connection of CMPP sms centers, and the connection status of the CMPP sms centers is managed and is monitored;The CMPP Monitoring event is replied in the sms center connecting system registration of SMS platform, is receiving what the CMPP sms centers were replied Triggering replys monitoring event to handle the request data package of the CMPP sms centers when request data package;And/or the CMPP Sender's data processing system processing of SMS platform comes from the data packet of sender's client, and will treated the hair The data packet of the side's of sending client is sent to the CMPP sms centers.
Compared with prior art, the embodiment of the present invention has at least the following advantages:In sender's client and CMPP short messages CMPP SMS platforms are built between center, are realized the information processing and intercommunication of sender's client and CMPP sms centers, are not necessarily to Any third party's web services or database service support that full decoupled with front-end business, system architecture accomplishes most to simplify;Simultaneously Meet functional requirement of the growing WEB classes product to SMS platform, and disclosure satisfy that traditional TCP/IP business demands;This Short message request can also be handled in a manner of asynchronous non-obstruction outside, alleviates concurrent pressure.
Description of the drawings
Fig. 1 is CMPP SMS platforms structure diagram according to the ... of the embodiment of the present invention;
Fig. 2 is CMPP SMS platforms structure diagram according to the preferred embodiment of the invention;
Fig. 3 is the flow chart of the application process of CMPP SMS platforms according to the ... of the embodiment of the present invention;
Fig. 4 is the flow chart of the application process of CMPP SMS platforms according to the preferred embodiment of the invention.
Specific implementation mode
The specific implementation of the present invention is made a detailed description with reference to the accompanying drawings of the specification.
Fig. 1 is CMPP SMS platforms structure diagram according to the ... of the embodiment of the present invention.As shown in Figure 1, the CMPP SMS platforms Including:Master control system 10, for creating the main progress of work, and log-on data listening port, in a manner of asynchronous non-obstruction pair Data are handled;Sms center connecting system 12, for after above-mentioned main progress of work initialization, starting and completing to CMPP The network connection of sms center, and the connection status of above-mentioned CMPP sms centers is managed and is monitored, and be additionally operable to note Volume replys monitoring event, and when receiving the request data package that above-mentioned CMPP sms centers are replied, triggering reply monitoring event is to locate Manage the request data package of above-mentioned CMPP sms centers;Sender's data processing system 14 comes from sender client for handling The data packet at end, and the data packet of treated above-mentioned sender's client is sent to above-mentioned CMPP sms centers.
CMPP SMS platforms shown in FIG. 1 are built between sender's client and CMPP sms centers, realize sender The information processing and intercommunication of client and CMPP sms centers, are not necessarily to any third party's web services or database service is supported, with Front-end business is full decoupled, and system architecture accomplishes most to simplify;Meet work(of the growing WEB classes product to SMS platform simultaneously Energy demand, and disclosure satisfy that traditional TCP/IP business demands;Short message additionally can be handled in a manner of asynchronous non-obstruction to ask It asks, alleviates concurrent pressure.
In a preferred implementation process, CMPP SMS platforms on startup, start master control system, create a main work first Make process, and log-on data listening port monitors the data for coming from sender's client, in order to improve concurrent capability and response Speed is handled data in a manner of asynchronous non-obstruction, therefore when the main progress of work of startup, registration procedure starts event, Data response events.
Registration procedure is triggered after the main progress of work initializes and starts event, is started sms center in this event and is connect Continuous system, sms center connecting system will complete the work of network connection and authentication of the establishment to CMPP sms centers, When the network connection of this sms center is then labeled as available mode by certification success, subsequent all operations will be labeled as base with this Plinth carries out next step action, while will create monitoring process, and the connection status of CMPP sms centers is managed and is monitored.Together When, registration is also replied monitoring event by sms center connecting system 14, is touched when receiving the data packet of CMPP sms centers reply Beam back multiple monitoring event.
Preferably, as shown in Fig. 2, above-mentioned CMPP SMS platforms can also include:Heartbeat link processing system 16, with short message Center connecting system 12 is connected, for when above-mentioned master control system detects and reaches scheduled link detection time, starting simultaneously Whether the network connection of the current above-mentioned CMPP sms centers of detection is normal connection status, if being detected as normal connection status, It then calls CMPP resolvers construction to meet the link detecting packet of CMPP agreements, and is sent to above-mentioned CMPP sms centers.It is above-mentioned short Letter center connecting system 12 is additionally operable to monitor the reply data packet of above-mentioned CMPP sms centers, if receiving the reply data Packet, it is determined that current ink is normal, current working status is maintained, if the reply data packet is not received by, etc. scheduled After time, determine by above-mentioned heartbeat link processing system detect again currently above-mentioned CMPP sms centers network connection whether It is completed again to CMPP short messages for normal connection status if being not received by the reply data packet in pre-determined number The network connection at center.
In a preferred implementation process, when reaching triggered time threshold value, CMPP SMS platforms start heartbeat link processing system Whether system 16, the network connection state that detection is currently connected to CMPP sms centers disconnect, and first attempt to connect again if disconnecting It connects, timing reconnection is entered if failure, until connection.For example, when the main progress of work detects the link detecting for reaching setting Between when, heartbeat link detecting system starts retry mechanism, and detection first is currently connected to the network connection shapes of CMPP sms centers Whether state is normal connection status, if it is, calling CMPP resolvers to construct the link detecting packet for meeting CMPP agreements, concurrently It is sent to CMPP sms centers;The reply data packet of sms center connecting system monitoring CMP P sms centers is wrapped, then chain if there is returning Road is normal, maintains current working status;If not returning packet, waiting detects and is currently connected to CMPP sms centers for 60 seconds again Network connection state is repeated 3 times same operation, cannot obtain back packet, then start reconnection mechanism.
Preferably, above-mentioned master control system 10 is additionally operable to that the parsing of CMPP resolvers is called to come from above-mentioned CMPP short messages The request data package of the heart calls HTTP resolvers to ask this in request data package message reply scheduled for CMPP agreements It asks data packet to be packaged as the data packet of http protocol format, message reply letter is sent to the corresponding HTTP interface of the request data package Breath.
Wherein, when action listener is monitored in above-mentioned reply the request that CMPP sms centers are sent, above-mentioned master control system 10, it is additionally operable to the request data package for calling the parsing of CMPP resolvers to come from above-mentioned CMPP sms centers, if request data package For the message reply of CMPP protocols, then HTTP resolvers is called to be packaged as http protocol format, to the HTTP interface of setting Send message reply information.
Preferably, as shown in Fig. 2, above-mentioned sender's data processing system 14, may further include:First processing module 140, for calling hypertext transfer protocol HTTP resolvers to attempt to parse the above-mentioned data packet for coming from sender's client;The Two processing modules 142, for when the above-mentioned data packet for coming from sender's client meets http protocol standard, triggering HTTP Response package event module gives the packet delivery to the processing of HTTP response package event modules;Third processing module 144, for when the above-mentioned data packet for coming from sender's client does not meet http protocol standard, triggering transmission control protocol TCP/ Internet protocol IP response package event modules give the packet delivery to above-mentioned TCP/IP response packages event mould Block processing.
Preferably, as shown in Fig. 2, above-mentioned sender's data processing system 14, can also include:Above-mentioned HTTP data packets are rung Event module 146 is answered, is connected with Second processing module 142, for being by the packet marking for meeting http protocol standard HTTP data packets call above-mentioned HTTP resolvers to parse above-mentioned HTTP data packets and obtain signed data, and call signature verification mould Block verifies the signed data, is being proved to be successful, and above-mentioned CMPP resolvers is called to encapsulate above-mentioned HTTP data packets, And the data packet after encapsulation is sent to above-mentioned CMPP sms centers, in the case that in authentication failed, construction signature miss data Packet, calls above-mentioned HTTP resolvers to be packaged above-mentioned HTTP data packets, and returns to signature to above-mentioned sender's client and lose Lose information;Above-mentioned signature verification module 148, for parsing the number of signature that above-mentioned HTTP data packets obtain to above-mentioned HTTP resolvers According to being verified.
Preferably, as shown in Fig. 2, above-mentioned sender's data processing system 14, can also include:Above-mentioned TCP/IP data packets Response events module 150 is connected with third processing module 144, the packet marking for that will meet ICP/IP protocol standard For TCP/IP data packets, calls above-mentioned TCP/IP resolvers to parse above-mentioned TCP/IP data packets and obtain signed data, and call label Name authentication module verifies the signed data, is being proved to be successful, and calls above-mentioned CMPP resolvers encapsulation above-mentioned TCP/IP data packets, and the data packet after encapsulation is sent to above-mentioned CMPP sms centers, in authentication failed or above-mentioned TCP/ In the case of the parsing failure of IP resolvers, then the signature miss data packet for constructing ICP/IP protocol format is sent to above-mentioned sender Client;Then above-mentioned signature verification module 148 is additionally operable to parse the label that above-mentioned TCP/IP data packets obtain to TCP/IP resolvers Name data are verified.
In a preferred implementation process, data response events above-mentioned start sender's data processing system 14, mainly It is responsible to handle the data packet received, call HTTP resolvers to attempt parsing data packet first, if data packet meets HTTP associations Assess a bid for tender standard, then trigger HTTP response package events, by this packet delivery to HTTP response packages event module 146 at Reason;If do not met, TCP/IP response packages event module 150 is triggered, and give packet delivery to TCP/IP data packets Response events module 150 is handled.
Wherein, this HTTP packet markings source is first HTTP, called later by HTTP response packages event module HTTP resolvers parse HTTP data packets, obtain signed data, and signature verification module is called to carry out verification signature, if signature Correctly, then it calls CMPP resolvers that sender's data are packaged as CMPP protocol formats and is sent to CMPP sms centers, due to It is that asynchronous mode is sent, therefore sending action executes and completes just to return immediately successfully;If signature failure constructs signature failure Data packet, and HTTP resolvers is called to be packaged as http protocol format, return to signature failure information to sender's client.
Wherein, TCP/IP response packages event module calls TCP/IP resolvers to parse this data packet first, obtains label Name data, and signature verification module is called to carry out verification signature, it is TCP/ by this packet marking source if signature is correct IP calls CMPP resolvers that sender's data are packaged as CMPP protocol formats and are sent to CMPP sms centers later, due to It is that asynchronous mode is sent, therefore sending action executes and completes just to return immediately successfully;If signature failure or above-mentioned TCP/IP In the case of resolver parsing failure, then the signature miss data packet for constructing ICP/IP protocol format is sent to above-mentioned sender visitor Family end.
Fig. 3 is the flow chart of the application process of CMPP SMS platforms according to the ... of the embodiment of the present invention.As shown in figure 3, should The application process of CMPP SMS platforms includes:
Step S301:The master control system of CMPP SMS platforms creates the main progress of work, and log-on data listening port is supervised Sender's client is listened, data are handled in a manner of asynchronous non-obstruction;
Step S303:The sms center connecting system of CMPP SMS platforms starts after above-mentioned main progress of work initialization And network connection of the completion to CMPP sms centers, and the connection status of above-mentioned CMPP sms centers is managed and is monitored;
Step S305:Monitoring event is replied in the said short message center connecting system registration of CMPP SMS platforms, is being received Triggering replys monitoring event to handle asking for above-mentioned CMPP sms centers when the request data package that above-mentioned CMPP sms centers are replied Seek data packet;And/or sender's data processing system processing of above-mentioned CMPP SMS platforms comes from the number of sender's client It is sent to above-mentioned CMPP sms centers according to packet, and by the data packet of treated above-mentioned sender's client.
Using the application process of CMPP SMS platforms shown in Fig. 3, may be implemented in sender's client and CMPP short messages The information processing and intercommunication of the heart are supported without any third party's web services or database service, full decoupled with front-end business, System architecture accomplishes most to simplify;Meet functional requirement of the growing WEB classes product to SMS platform simultaneously, and disclosure satisfy that Traditional TCP/IP business demands;Short message request can be additionally handled in a manner of asynchronous non-obstruction, alleviate concurrent pressure.
Above-mentioned preferred embodiment is further described below in conjunction with the example of Fig. 4.
Fig. 4 is the flow chart of the application process of CMPP SMS platforms according to the preferred embodiment of the invention.As shown in figure 4, The application process of the CMPP SMS platforms includes:
Step S401:The master control system of CMPP SMS platforms creates WEB service end.
Step S403:Master control system creates a main progress of work, opens a port and monitors sender's client Request.
Step S405:Start the connection of CMPP sms centers, and the connection for obtaining sms center passes through verification.
Step S407:Judge whether there is the request data for coming from sender's client.If so, thening follow the steps S409。
Step S409:When receiving the data of sender's client, judge request data package protocol format whether be HTTP.If so, executing step S411.If not, executing step S413.
Step S411:Data packet calls HTTP parser modules to unpack if it is http protocol format.
Step S413:If data packet is not http protocol format, TCP/IP parser modules is called to unpack.
Step S415:The protocol format is marked, and starts timed task detection link state.
Step S417:Signature authentication is called to verify short message.If verification passes through, S419 is thened follow the steps.Otherwise, step is executed Rapid S421.
Step S419:Call CMPP parser modules that data packet is converted to CMPP protocol formats.
Step S421:Note data packet is sent to CMPP sms centers.
Step S423:Short message sending action is finished to be returned immediately.
Step S425:Judge that the client of request is TCP Client or HTTP clients.
It may also be called from the ends HTTP since the client of request is probably derived from the ends TCP, and CMPP SMS platforms Feedback processing is being needed after handling successfully as a result, therefore needing to first determine whether that calling source is before returning to client process result TCP Client or HTTP clients.
Step S427:It is TCP Client to call source, if signature check does not pass through or TCP/IP parser modules Unpack failure, then it is assumed that be not belonging to the data packet of normal request, then construct an error information data based on ICP/IP protocol Packet returns to terminal.
Step S429:Judge whether there is the request data package for coming from CMPP sms centers.If so, executing step S431。
Step S431:For the short message that CMPP sms centers are replied, HTTP resolvers is called to turn the unification of note data packet It is changed to http protocol format.
Step S433:HTTP data packets after encapsulation are sent to the addresses URL set as the external interface of form.
Step S435:Judge whether to reach scheduled link detection time.If so, executing step S437.
Step S437:Judge whether network connection is normal, if so, executing step S439.Connect if it is not, then disconnecting network It connects, returns to step S405.
Step S439:When scheduled link detection time reaches, start heartbeat link monitoring system, calls CMPP parsings Device packaged data.
Step S441:A detection data packet is sent to CMPP sms centers.
Step S443:If there is returning packet, then labeled link state is normal connection, if not returning packet, is waited for 60 seconds It retries again, so retries 3 times, still cannot return packet, then return to step S405, restarting connection.
In conclusion by above-described embodiment provided by the invention, sender's client and CMPP sms centers are realized Information processing and intercommunication, supported without any third party's web services or database service, can be directly as Web server Operation, and http protocol and ICP/IP protocol are supported simultaneously.Full decoupled with front-end business, system architecture accomplishes most to simplify;Together When meet functional requirement of the growing WEB classes product to SMS platform, and disclosure satisfy that traditional TCP/IP business demands; Short message request can be additionally handled in a manner of asynchronous non-obstruction, alleviate concurrent pressure.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability What the technical staff in domain can think variation should all fall into protection scope of the present invention.

Claims (10)

1. a kind of China Mobile's internet short message gateway interface CMPP SMS platforms, which is characterized in that including:
Master control system, for creating the main progress of work, and log-on data listening port, to data in a manner of asynchronous non-obstruction It is handled;
Sms center connecting system, for after the main progress of work initialization, starting and completing to CMPP sms centers Network connection, and the connection status of the CMPP sms centers is managed and is monitored, and be additionally operable to registration and reply monitoring Event, when receiving the request data package that the CMPP sms centers are replied, triggering reply monitoring event is to handle the CMPP The request data package of sms center;
Sender's data processing system, for handling the data packet for coming from sender's client, and will treated the hair The data packet of the side's of sending client is sent to the CMPP sms centers.
2. CMPP SMS platforms according to claim 1, which is characterized in that
The CMPP SMS platforms further include:Heartbeat link processing system, it is predetermined for being reached in master control system detection Link detection time when, start and whether the network connection for detecting presently described CMPP sms centers be normal connection status, If being detected as normal connection status, CMPP resolvers construction is called to meet the link detecting packet of CMPP agreements, and be sent to The CMPP sms centers;
The sms center connecting system is additionally operable to monitor the reply data packet of the CMPP sms centers, if receiving this Reply data packet, it is determined that current ink is normal, maintains current working status, if being not received by the reply data packet, After waiting for the predetermined time, the network for detecting presently described CMPP sms centers again by the heartbeat link processing system is determined Whether connection is normal connection status, if being not received by the reply data packet in pre-determined number, completion pair again The network connection of CMPP sms centers.
3. CMPP SMS platforms according to claim 1, which is characterized in that the master control system is additionally operable to call CMPP resolvers parse the request data package for coming from the CMPP sms centers, predetermined for CMPP agreements in the request data package Message reply when, call HTTP resolvers that the request data package is packaged as to the data packet of http protocol format, to the request The corresponding HTTP interface of data packet sends message reply information.
4. CMPP SMS platforms according to claim 1, which is characterized in that described sender data processing system, into one Step includes:
First processing module, for calling hypertext transfer protocol HTTP resolvers to attempt to come from sender client described in parsing The data packet at end;
Second processing module, for when the data packet for coming from sender's client meets http protocol standard, triggering HTTP response package event modules give the packet delivery to the processing of HTTP response package event modules;
Third processing module, for when the data packet for coming from sender's client does not meet http protocol standard, touching Transmission control protocol TCP/Internet protocol IP response package event module is sent out, gives the packet delivery to the TCP/IP numbers According to packet response events resume module.
5. CMPP SMS platforms according to claim 4, which is characterized in that described sender data processing system is also wrapped It includes:
The HTTP response packages event module, the packet marking for that will meet http protocol standard are HTTP data Packet calls the HTTP resolvers to parse the HTTP data packets and obtains signed data, and calls signature verification module to the label Name data are verified, and are being proved to be successful, and call the CMPP resolvers to encapsulate the HTTP data packets, and will encapsulation Data packet afterwards is sent to the CMPP sms centers, and in the case that in authentication failed, construction signature miss data packet calls institute It states HTTP resolvers to be packaged the HTTP data packets, and signature failure information is returned to described sender client;
The signature verification module is carried out for parsing the signed data that the HTTP data packets obtain to the HTTP resolvers Verification.
6. CMPP SMS platforms according to claim 4, which is characterized in that described sender data processing system is also wrapped It includes:
The TCP/IP response packages event module, the packet marking for that will meet ICP/IP protocol standard are TCP/IP Data packet calls the TCP/IP resolvers to parse the TCP/IP data packets and obtains signed data, and calls signature verification mould Block verifies the signed data, is being proved to be successful, and the CMPP resolvers is called to encapsulate the TCP/IP data Packet, and the data packet after encapsulation is sent to the CMPP sms centers, in authentication failed or the TCP/IP resolvers solution In the case of analysis failure, then the signature miss data packet for constructing ICP/IP protocol format is sent to described sender client;
The signature verification module, be additionally operable to TCP/IP resolvers parse signed data that the TCP/IP data packets obtain into Row verification.
7. a kind of China Mobile's internet short message gateway interface CMPP short messages according to any one of claims 1 to 6 are flat The application process of platform, which is characterized in that including:
The master control system of the CMPP SMS platforms creates the main progress of work, and log-on data listening port monitors sender visitor Family end is handled data in a manner of asynchronous non-obstruction;
The sms center connecting system of the CMPP SMS platforms starts and completes pair after the main progress of work initialization The network connection of CMPP sms centers, and the connection status of the CMPP sms centers is managed and is monitored;
Monitoring event is replied in the sms center connecting system registration of the CMPP SMS platforms, and receiving, the CMPP is short Triggering replys monitoring event to handle the request data package of the CMPP sms centers when request data package that letter center is replied; And/or sender's data processing system processing of the CMPP SMS platforms comes from the data packet of sender's client, and will The data packet for described sender client that treated is sent to the CMPP sms centers.
8. the application process of CMPP SMS platforms according to claim 7, which is characterized in that the CMPP SMS platforms Sms center connecting system is managed to the connection status of the CMPP sms centers and monitoring includes:
The heartbeat link processing system of the CMPP SMS platforms reaches scheduled link detecting in master control system detection When the time, starts and whether the network connection for detecting presently described CMPP sms centers is normal connection status, if be detected as Normal connection status then calls CMPP resolvers construction to meet the link detecting packet of CMPP agreements, and it is short to be sent to the CMPP Letter center;
The sms center connecting system of the CMPP SMS platforms monitors the reply data packet of the CMPP sms centers, such as Fruit receives the reply data packet, it is determined that current ink is normal, current working status is maintained, if being not received by the reply Data packet after then waiting for the predetermined time, determines and detects presently described CMPP short messages again by the heartbeat link processing system Whether the network connection at center is normal connection status, if being not received by the reply data packet in pre-determined number, Again the network connection to CMPP sms centers is completed.
9. the application process of CMPP SMS platforms according to claim 7, which is characterized in that the CMPP SMS platforms Sms center connecting system further includes after starting and completing the network connection to CMPP sms centers:
The master control system of the CMPP SMS platforms calls the parsing of CMPP resolvers to come from the CMPP sms centers Request data package call HTTP resolvers by the request when the request data package is the scheduled message reply of CMPP agreements Data packet is packaged as the data packet of http protocol format, and message reply letter is sent to the corresponding HTTP interface of the request data package Breath.
10. the application process of CMPP SMS platforms according to claim 7, which is characterized in that the CMPP SMS platforms Master control system log-on data listening port monitor sender's client after, further include:
In the case where there is the data packet for coming from described sender client, described sender data processing system is called super literary This transport protocol HTTP resolvers attempt the data packet for coming from sender's client described in parsing;
When the data packet for coming from sender's client meets http protocol standard, described sender data processing system HTTP response package event modules are triggered, give the packet delivery to the processing of HTTP response package event modules;
When the data packet for coming from sender's client does not meet http protocol standard, described sender data processing system System triggering transmission control protocol TCP/Internet protocol IP response package event module, gives the packet delivery to the TCP/ The processing of IP response package event modules;
The HTTP response packages event module of described sender data processing system will meet the number of http protocol standard It is HTTP data packets according to packet making, calls the HTTP resolvers to parse the HTTP data packets and obtain signed data, and call Signature verification module verifies the signed data, is being proved to be successful, and calls described in the CMPP resolvers encapsulation HTTP data packets, and the data packet after encapsulation is sent to the CMPP sms centers, in the case that in authentication failed, construction label Name miss data packet, calls the HTTP resolvers to be packaged the HTTP data packets, and to described sender client Return to signature failure information;
The TCP/IP response packages event module of described sender data processing system will meet ICP/IP protocol standard Packet marking be TCP/IP data packets, call the TCP/IP resolvers to parse the TCP/IP data packets and obtain number of signature According to, and signature verification module is called to verify the signed data, it is being proved to be successful, is calling the CMPP resolvers Encapsulate the TCP/IP data packets, and the data packet after encapsulation be sent to the CMPP sms centers, in authentication failed or In the case of the TCP/IP resolvers parsing failure, then the signature miss data packet for constructing ICP/IP protocol format is sent to institute State sender's client;
The signature verification module of described sender data processing system parses the HTTP resolvers or TCP/IP resolvers The signed data that data packet obtains is verified.
CN201810202830.0A 2018-03-13 2018-03-13 CMPP short message platform and application method thereof Active CN108347705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810202830.0A CN108347705B (en) 2018-03-13 2018-03-13 CMPP short message platform and application method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810202830.0A CN108347705B (en) 2018-03-13 2018-03-13 CMPP short message platform and application method thereof

Publications (2)

Publication Number Publication Date
CN108347705A true CN108347705A (en) 2018-07-31
CN108347705B CN108347705B (en) 2021-07-13

Family

ID=62956492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810202830.0A Active CN108347705B (en) 2018-03-13 2018-03-13 CMPP short message platform and application method thereof

Country Status (1)

Country Link
CN (1) CN108347705B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116760870A (en) * 2023-08-23 2023-09-15 厦门星纵数字科技有限公司 Method, terminal equipment and medium for realizing butt joint of IPPBX and PMS through FIAS protocol

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159901B (en) * 2007-10-16 2011-04-20 华为技术有限公司 Method of initiating session, note application service proxy, session server and system
US20110141974A1 (en) * 2009-12-14 2011-06-16 Alwayson, Llc Electronic messaging technology
CN102892090A (en) * 2012-09-11 2013-01-23 北京中创信测科技股份有限公司 Personalized service short message publication method and system
CN104703150A (en) * 2013-12-06 2015-06-10 大连灵动科技发展有限公司 Method for informing particulars of goods through short message
EP2866419A4 (en) * 2012-06-21 2016-03-02 Huizhou Tcl Mobile Comm Co Ltd Method and system for implementing smart card remote operation
US9503869B2 (en) * 2012-05-11 2016-11-22 Interdigital Patent Holdings, Inc. Service capability server (SCS) terminated short message service (SMS) systems and methods
CN106533920A (en) * 2016-12-02 2017-03-22 北京红马传媒文化发展有限公司 Customized short message sending system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159901B (en) * 2007-10-16 2011-04-20 华为技术有限公司 Method of initiating session, note application service proxy, session server and system
US20110141974A1 (en) * 2009-12-14 2011-06-16 Alwayson, Llc Electronic messaging technology
US9503869B2 (en) * 2012-05-11 2016-11-22 Interdigital Patent Holdings, Inc. Service capability server (SCS) terminated short message service (SMS) systems and methods
EP2866419A4 (en) * 2012-06-21 2016-03-02 Huizhou Tcl Mobile Comm Co Ltd Method and system for implementing smart card remote operation
CN102892090A (en) * 2012-09-11 2013-01-23 北京中创信测科技股份有限公司 Personalized service short message publication method and system
CN104703150A (en) * 2013-12-06 2015-06-10 大连灵动科技发展有限公司 Method for informing particulars of goods through short message
CN106533920A (en) * 2016-12-02 2017-03-22 北京红马传媒文化发展有限公司 Customized short message sending system

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
唐静: "基于CMPP协议的短信服务平台的设计与实现", 《深圳职业技术学院计算机基础教学部 开发案例》 *
张婉璐: "移动信息机短信平台设计与实现", 《厦门大学 工程硕士学位论文》 *
杨兰荣: "基于CMPP协议的校园短信系统设计与实现", 《计算机工程与设计》 *
蒋晓川: "基于中国移动CMPP 的短信平台的设计与开发", 《VALUE ENGINEERING》 *
蒋晓川: "移动CMPP通信原理及短信协议解析", 《SCIENCE & TECHNOLOGY INFORMATION》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116760870A (en) * 2023-08-23 2023-09-15 厦门星纵数字科技有限公司 Method, terminal equipment and medium for realizing butt joint of IPPBX and PMS through FIAS protocol
CN116760870B (en) * 2023-08-23 2023-10-27 厦门星纵数字科技有限公司 Method, terminal equipment and medium for realizing butt joint of IPPBX and PMS through FIAS protocol

Also Published As

Publication number Publication date
CN108347705B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
TW548919B (en) Methods for isolating a network fault
CN101478458B (en) SIP protocol security test method
CN105515941B (en) A kind of method and system of message and recovery under wechat development mode
CN103944698B (en) A kind of double hot standby method
CN105282128B (en) A kind of two-way call method and system based on long connection
US10834033B2 (en) Method and system for transferring messages between messaging systems
CN112637149B (en) Data communication method between asymmetric security policy partitions
CN113986501A (en) Real-time database API (application program interface) uninterrupted calling method, system, storage medium and server
CN104580346B (en) Data transmission method and device
CN109194723A (en) Communication means, safe examination system, server and computer storage medium
CN106559230A (en) A kind of fault handling method, apparatus and system
CN108347705A (en) CMPP SMS platforms and its application process
CN107483148A (en) Error treating method and device
CN102917082A (en) Information push method and system of transit-network address translation
CN104184729B (en) A kind of message processing method and device
CN107181657B (en) WTB link layer interface adapter and implementation method thereof
CN105681436B (en) Communication means based on alljoyn agreement between control terminal and internet of things equipment
CN111294358B (en) Message processing method and device
CN108882185A (en) Configuration method, device and the mobile terminal of supplementary service
CN108735278B (en) Instruction transmission method and application suitable for rehabilitation equipment
CN115102952B (en) Method, device and medium for connecting terminal product with cloud platform through local server
CN106534052B (en) Communication processing method and electronic equipment
CN114079614B (en) Application method for embedded equipment to serve as client and server simultaneously
WO2024103943A1 (en) Service processing method and apparatus, storage medium, and device
CN102314376B (en) Operate method and the computer system of long-range routine call processing routine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180731

Assignee: Guiyang Langma Communication Technology Co.,Ltd.

Assignor: GUIYANG LONGMASTER INFORMATION & TECHNOLOGY Co.,Ltd.

Contract record no.: X2022520000001

Denomination of invention: CMPP short message platform and its application method

Granted publication date: 20210713

License type: Common License

Record date: 20220222

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180731

Assignee: GUIYANG SANJIU INTERNET MEDICAL Co.,Ltd.

Assignor: GUIYANG LONGMASTER INFORMATION & TECHNOLOGY Co.,Ltd.

Contract record no.: X2022520000002

Denomination of invention: CMPP short message platform and its application method

Granted publication date: 20210713

License type: Common License

Record date: 20220301

Application publication date: 20180731

Assignee: Guiyang Longma Video Technology Co.,Ltd.

Assignor: GUIYANG LONGMASTER INFORMATION & TECHNOLOGY Co.,Ltd.

Contract record no.: X2022520000003

Denomination of invention: CMPP short message platform and its application method

Granted publication date: 20210713

License type: Common License

Record date: 20220302