CN104640093A - Service processing device - Google Patents

Service processing device Download PDF

Info

Publication number
CN104640093A
CN104640093A CN201510057195.8A CN201510057195A CN104640093A CN 104640093 A CN104640093 A CN 104640093A CN 201510057195 A CN201510057195 A CN 201510057195A CN 104640093 A CN104640093 A CN 104640093A
Authority
CN
China
Prior art keywords
data
service
short message
application system
access
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
CN201510057195.8A
Other languages
Chinese (zh)
Other versions
CN104640093B (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.)
Xinlian Cooperative Communication Technology (Beijing) Co., Ltd.
Original Assignee
Suzhou Industrial Park Institute of Services Outsourcing
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 Suzhou Industrial Park Institute of Services Outsourcing filed Critical Suzhou Industrial Park Institute of Services Outsourcing
Priority to CN201510057195.8A priority Critical patent/CN104640093B/en
Publication of CN104640093A publication Critical patent/CN104640093A/en
Application granted granted Critical
Publication of CN104640093B publication Critical patent/CN104640093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a service processing device, which is arranged in a short message gateway. The service processing device comprises a main module, a service data analysis module, at least one application accessing module and a service response data centralizing module. The service processing device has the advantages that the interaction with different application systems is performed, the data of a short message of a user is obtained from a short message accessing device of the short message gateway, the content of the short message is analyzed to obtain the service type of the user request, the legality of the service data is primarily checked, and then the service data is forwarded to the corresponding application system; simultaneously, service response data and pushing data are received from the different application systems, the service processing system is subject to interaction with the short message accessing device of the short message gateway through a short message sending queue, the short message accessing device is used for obtaining the service response data and the pushing data sent by the application system, and the short message accessing device is used for sending the received data to a short message center, so as to realize the interaction between a user at the short message center side and the application system.

Description

Business processing device
Technical field
The embodiment of the present invention relates to areas of information technology, particularly relates to a kind of business processing device.
Background technology
Note (Short Message, SM) gateway is based on one of door layer between the various different business application system of cell phone and user, SM access way is provided to user, be responsible for the exchanges data of the sms center (SMSC) of application system and mobile operator, the transaction request of external messaging data protocol converted to the transaction form of application system internal unity; Or convert the transaction results of internal unity form to external messaging data protocol, then send to sms center outward, finally pass to cellphone subscriber.
At service provider (service provider, the design and implimentation mode of the business processing device in the Short Message Service Gateway of SP) side belongs to a part for applied business systematic design idea, do not have unified specification and technical standard, each company requires based on the difference of each real system and the experience of designer and ability and have different designs to realize.
Business processing device belongs to third party's stand-alone service for user, but the specific design of this device with realize be all generally business secret from but cannot learn.
Summary of the invention
The embodiment of the present invention provides a kind of business processing device, to realize obtaining user's note data from Short Message Service Gateway, short message content is resolved, analyze the type of service of user's request, be forwarded to corresponding application system again, and realize receiving service response data and propelling data from different application systems, after conversion, be sent to sms center, thus it is mutual to realize between the user of sms center side and application system.
Embodiments provide a kind of business processing device, be configured in Short Message Service Gateway, this device comprises:
Primary module, for starting following business datum analysis module and at least one application access module;
Business datum analysis module, for reading the service request data that user sends from the note receiving queue in described Short Message Service Gateway; According to the corresponding relation of service request data and the type of service preset, determine the type of service of the described service request data of reading; Take type of service as keyword, the described service request data of described keyword and reading is write the service request data queue in described Short Message Service Gateway; Wherein, the type of service in described corresponding relation is corresponding with the business that the application system that application access module accesses provides;
Described application access module, for accessing application system; From described service request data queue, read the service request data corresponding with the business that the application system of access provides, and carry out validity checking; When check result is legal, described legal service request data is sent to the application system of access, and receives response data from described application system; The keyword determine the type of service provided according to the application system of described access and the described response data of reception write the short message sending queue in described Short Message Service Gateway;
Described application access module also for, access application system after, receive the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the short message sending queue in described Short Message Service Gateway.
The business processing device that the embodiment of the present invention provides, mutual with various different application systems, user's note data is obtained from the note access device Short Message Service Gateway, short message content is resolved, analyze the type of service of user's request, preliminary legitimacy inspection is carried out to business datum, be forwarded to corresponding application system again, simultaneously, service response data and propelling data is received from different application systems, business processing device is mutual by the note access device in short message sending queue and Short Message Service Gateway, make note access device can get service response data and the propelling data of application system transmission, the data of reception are sent to sms center by note access device, thus it is mutual to realize between the user of sms center side and application system.The favorable expandability of the business processing device that the embodiment of the present invention provides, has transplantability widely.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention, introduce doing one to the accompanying drawing used required in the present invention simply below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation of the Short Message Service Gateway that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of business processing device that Fig. 2 a provides for the embodiment of the present invention one;
A kind of workflow schematic diagram of primary module in the business processing device that Fig. 2 b provides for the embodiment of the present invention one;
A kind of workflow schematic diagram of business datum analysis module in the business processing device that Fig. 2 c provides for the embodiment of the present invention one;
A kind of workflow schematic diagram applying service log-on submodule in access module in the business processing device that Fig. 2 d provides for the embodiment of the present invention one;
A kind ofly in the business processing device that Fig. 2 e provides for the embodiment of the present invention one apply data in access module and send the workflow schematic diagram of submodule;
A kind of workflow schematic diagram applying data receiver submodule in access module in the business processing device that Fig. 2 f provides for the embodiment of the present invention one;
The structural representation of a kind of business processing device that Fig. 3 provides for the embodiment of the present invention two.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, be described in further detail the technical scheme in the embodiment of the present invention below in conjunction with accompanying drawing, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Be understandable that; specific embodiment described herein is only for explaining the present invention; but not limitation of the invention; based on the embodiment in the present invention; those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.
The business processing device that the embodiment of the present invention provides, is configured in Short Message Service Gateway.This Short Message Service Gateway is applicable to the network architecture as shown in Figure 1, and this network architecture comprises: sms center, Short Message Service Gateway and application system, thus it is mutual to realize between the user of sms center side and application system.
For clarity sake, the structure of Short Message Service Gateway is first introduced.Refer to Fig. 1, this Short Message Service Gateway at least comprises: note access device and business processing device, also can preferably include daily record monitoring module and/or traffic statistics module.
Wherein, note access device is responsible for the communication between sms center; Business processing device is responsible for and each application system swap data; The log information that daily record monitoring module produces for collecting each module, shows for monitor terminal; The note data that traffic statistics module sends for recording Short Message Service Gateway and receives.Four module function opposite independent, intermodular data exchanges and connects by message queue.Short Message Service Gateway and external system (i.e. sms center and application system), by TCP/IP communication, carry out the mutual of the protocol data of standard.Brief is carried out to the module beyond business processing device below.
1, note access device
As note access device one preferred embodiment, this note access device can comprise: access primary module, data transmission blocks, data reception module, protocol process module and timeout treatment module.
Described access primary module is used for log-on data sending module, data reception module and timeout treatment module; And to sms center registration, and set up the first link when succeeding in registration, it is mutual that wherein said first link is used between described data transmission blocks and described sms center, mutual also between described sms center and described data reception module.
Data transmission blocks is used for reading data to be sent from the short message sending queue Short Message Service Gateway, call protocol process module in note access device according to setting protocol packing data, and the packet to be sent after packing is sent to described sms center by described first link; And the wait-for-response queue original transmission data in the packet of transmission write in described Short Message Service Gateway.Wherein, the data to be sent that data transmission blocks reads are written in the short message sending queue in Short Message Service Gateway, the such as application system first mutual data to be sent with business processing device, then the business processing device mutual data to be sent with note access device again, thus by data write short message sending to be sent queue.
Data reception module, for receiving data by described first link from described sms center; If protocol responses data, then call described protocol process module and according to setting agreement, described protocol responses data are unpacked; Judge the respond style of the protocol responses data after unpacking, and according to described judged result, carry out respective handling; And the wait-for-response queue protocol responses data after unpacking write in described Short Message Service Gateway; Wherein, described protocol responses data are successfully receiving the packet to be sent of described data transmission blocks transmission and generation after responding by described sms center.If service request data, then invocation protocol processing module unpacked data, writes the note receiving queue in Short Message Service Gateway by unpacked data.
Timeout treatment module is used for the queue of timing scan wait-for-response, check whether that existence has successfully sent but time-out does not receive the original transmission data of response, if, then abandon this original transmission data, maybe by this original transmission data write short message sending queue, and trigger described data transmission blocks execution retransmit operation.
It should be noted that, the setting agreement that note access device is suitable for generally includes: note point-to-point protocol (SMPP) agreement, CHINAUNICOM's SMS gateway system interface protocol (SGIP) and China Mobile Peer to Peer Protocol (CMPP).Wherein, SMPP protocol requirement service provider (SP) side can only be client, upload note (such as, the note of application system is pushed to the cellphone subscriber of sms center side, at this moment the response data of sms center also issues client by same link) and transmitting short message (such as user by mobile phone and sms center, then is issued to application system through Short Message Service Gateway Transaction Information) register to SMSC with different orders respectively.SGIP protocol requirement both sides are client and service end each other, SP upload note need with ad hoc mode to SMSC registration after, just can upload note.SMSC wants transmitting short message, first must initiate connection request to SP service end, could transmitting short message after being confirmed.CMPP agreement two kinds of modes are all supported.
With reference to above-mentioned three kinds of short message protocols, note access device can be divided into following two kinds of modes: only do client, or not only do client but also do service end.
The note access device that the manner provides, supports point-to-point (SMPP) agreement of note or China Mobile Peer to Peer Protocol (CMPP), and also namely note access device works in client mode.
As another preferred embodiment of note access device, this note access device can comprise: access primary module, data transmission blocks, data reception module, protocol process module, timeout treatment module, monitoring service module and at least one request processing module.The note access device that the manner provides is applicable to CHINAUNICOM's SMS gateway system interface protocol (SGIP) or China Mobile point-to-point (CMPP) agreement.
Wherein, described data transmission blocks, data reception module and timeout treatment module composition client modules, all need invocation protocol processing module in the process of the data that data transmission blocks sends in the process of data to sms center and data reception module reception sms center issues; Described monitoring service module and at least one request processing module form server module.
Wherein, the partial function of access primary module is consistent with the function accessing primary module in aforesaid way, in the manner, the what's new of described access primary module is specially: also for starting described monitoring service module, and the second link is set up when succeeding in registration, the request that described second link is used between described sms center and described monitoring service module is mutual, and for the data interaction between described sms center and at least one request processing module described.
In other words, described first link establishment is between described sms center and described client modules, and described second link establishment is between described sms center and described server module.
Wherein, the function of data transmission blocks is consistent with the function of data transmission blocks in aforesaid way, repeats no more.
Wherein, the function of described data reception module is only the partial function of data reception module in aforesaid way unanimously, and in the manner, described data reception module is only for receiving protocol responses data by described first link from described sms center; Call described protocol process module to unpack described protocol responses data according to setting agreement; Judge the respond style of the protocol responses data after unpacking, and according to described judged result, carry out respective handling; And the wait-for-response queue protocol responses data after unpacking write in described Short Message Service Gateway; Wherein, described protocol responses data are successfully receiving the packet to be sent of described data transmission blocks transmission and generation after responding by described sms center; And in aforesaid way, data reception module is also for passing through the first link and sms center interactive service request msg, and in the manner, server module, can see the following introduction to monitoring service module and request processing module by the second link and sms center interactive service request msg.Also namely, client modules uploads note by the first chain road direction sms center, and sms center is by the second chain road direction server module transmitting short message, and two links are non-interference, with sms center independent communication.
In other words, in aforesaid way, under note access device only works in client mode, what data transmission blocks process was all uploads note, the transmitting short message that data reception module process is all; In the manner, note access device works in the pattern of client and service end combination, and client modules is responsible for uploading note, and server module is responsible for transmitting short message.
The function of described timeout treatment module is consistent with the function of timeout treatment module in aforesaid way, repeats no more.
Wherein, described monitoring service module is used for, when listening to described sms center and sending service request by described second link, starting the request processing module identical with service request quantity.
In other words, monitoring service module only just has under not only doing client but also do service end pattern, and its monitors the service request of sms center, just starts a request processing module to be responsible for and sms center carries out communication once listen to a request.According to the regulation of short message protocol, request module may only have one or have multiple.
Described request processing module is used for upon actuation, carries out certification to the identity of described sms center, and when certification is by (also namely identity is legal), the service request data issued by sms center described in described second link received over time; Call described protocol process module to unpack the service request data received according to described setting agreement, and the data after described unpacking are write the note receiving queue in described Short Message Service Gateway; Afterwards, the operation of the service request data that sms center issues described in described received over time can be returned; If time-out does not receive service request data, then can initiatively close the second link.
2, daily record monitoring module
Daily record monitoring module collects the log information of each CMOS macro cell of Short Message Service Gateway from the journal queue of Short Message Service Gateway, converts unified data format to and is sent to monitor terminal.
3, traffic statistics module
Traffic statistics module is carried out statistics to the note data exchanged between Short Message Service Gateway and sms center and is recorded, and checks and clearing provide foundation for note.
Traffic statistics can have two kinds of statisticals:
Text is added up, and statistical information records a text every day.
Statistical information is write direct during database shows accordingly.
Traffic statistics module realizes also can having two kinds:
Packaged API (Application Programming Interface, application programming interface) function, calls this function when needs carry out traffic statistics;
The traffic statistics program of independent operating, is connected with the external world by message queue, collects statistical information, unified process.Need the program of statistic flow only statistical information need be write queue just can think and added up successfully.
The environment of reference system demand and system cloud gray model is wanted in which kind of statistical of concrete employing and realization.
Embodiment one
Referring to Fig. 2 a, is the structural representation of a kind of business processing device that the embodiment of the present invention one provides.This business processing device is configured in Short Message Service Gateway, this device comprises: primary module, business datum analysis module and at least one application access module, in Fig. 2 a, comprise three application access module, be respectively the mobile-phone payment access module for accessing hand call payment system, for accessing the mobile phone games access module of mobile phone games application system, and for accessing the cell phone lottery access module of cell phone lottery application system.It should be noted that, these three concrete application access module are not limited to the present embodiment, can the application access module of design according to actual needs to access corresponding application system.
Wherein, described primary module, for starting business datum analysis module and at least one application access module.
Described primary module also can be preferred for: the ruuning situation monitoring described business datum analysis module and at least one application access module, and carries out misarrangement process; And/or
When getting described Short Message Service Gateway and entering the mode of secession, carry out cleaning process; When not getting described Short Message Service Gateway and entering the mode of secession, return described policer operation.
Referring to Fig. 2 b, is a kind of in the business processing device that the embodiment of the present invention one provides workflow schematic diagram of primary module.Whether first this primary module detects enabling signal amount exists, and if not, then creates enabling signal amount, reads respective profiles, the parameter of initialization Short Message Service Gateway, configuration operation environment, and starts business datum analysis module and at least one application access module; Monitor the ruuning situation of described business datum analysis module and at least one application access module, and carry out misarrangement process; Detect described Short Message Service Gateway and whether enter the mode of secession, if so, carry out cleaning process, if not, return described policer operation.
Referring to Fig. 2 c, is a kind of in the business processing device that the embodiment of the present invention one provides workflow schematic diagram of business datum analysis module.Described business datum analysis module, for reading the service request data that (obstruction mode specifically can be adopted to read) user sends from the note receiving queue in described Short Message Service Gateway; According to the corresponding relation of service request data and the type of service preset, determine the type of service of the described service request data of reading; When type of service exists, take type of service as keyword, the described service request data of described keyword and reading is write the service request data queue in described Short Message Service Gateway; Wherein, the type of service in described corresponding relation is corresponding with the business that the application system that application access module accesses provides.Further, at the corresponding relation according to the service request data preset and type of service, when determining that the type of service of the described service request data read does not belong to the type of service comprised in described corresponding relation, generate the first false response messages, and described first false response messages is write the short message sending queue in described Short Message Service Gateway.
It should be noted that, type of service is all numbered, such as two, note foremost, YE represents remaining sum, if active user has wrongly write note, YE has been write as YR, and exactly this type is the type of service not having this coding rule corresponding in application system, so Yao Yuan road sends back to active user, does not exist to point out this user service request type just.
Described application access module, for accessing application system; From described service request data queue, read the service request data corresponding with the business that the application system of access provides, and carry out validity checking; When check result is legal, described legal service request data is sent to the application system of access, and receives service response data from described application system; The described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the short message sending queue in described Short Message Service Gateway;
Described application access module also for, access application system after, receive the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the short message sending queue in described Short Message Service Gateway.
Further, described application access module can comprise: service log-on submodule, data send submodule, data receiver submodule and data processing submodule.It should be noted that, each application access module can be divided into above-mentioned several submodule substantially.
Referring to Fig. 2 d, is the workflow schematic diagram applying service log-on submodule in access module a kind of in the business processing device that the embodiment of the present invention one provides.Described service log-on submodule, for application system register to be accessed; When succeeding in registration, log-on data sends submodule and data receiver submodule.Further, described service log-on submodule also can be preferred for, and after the described data of startup send submodule and data receiver submodule, monitor data sends the ruuning situation of submodule and data receiver submodule; If exist abnormal, then clear up there is abnormal submodule in described data transmission submodule and data receiver submodule; If there is not exception, then continue to perform described policer operation.Further, described service log-on submodule also can be used for, and when registration failure, returns and carries out the operation of registering to application system to be accessed.
Referring to Fig. 2 e, is the workflow schematic diagram applying data transmission submodule in access module a kind of in the business processing device that the embodiment of the present invention one provides.Described data send submodule, for reading the service request data corresponding with the business that the application system of access provides from described service request data queue; Calling data process submodule carries out validity checking to the service request data that described data send submodule reading; When check result is legal, described legal service request data is sent to the application system of access.Further, described data send submodule and also can be preferred for, and when sending successfully, return the operation of reading the new service request data corresponding with the business that the application system of access provides from described service request data queue; When sending unsuccessfully, the failed service request data of described transmission is re-write described service request data queue.Further, described data send submodule and also can be preferred for, and when check result is illegal, generate the second false response messages, and described second false response messages generated is write described short message sending queue.
Like this, when the type of service of user's request exists, but type of service data encoding below not pair time, if such as define MX201403 to represent the transaction details that inquiry in March, 2014 is all, but user is but MX201413 when editing short message, and 13 months is non-existent, now thinks that these data are illegal, again send back to this user by short message sending queue, to point out note code error etc. in this user service request type just.
Referring to Fig. 2 f, is the workflow schematic diagram applying data receiver submodule in access module a kind of in the business processing device that the embodiment of the present invention one provides.Described data receiver submodule, for receiving service response data from described application system; The described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the short message sending queue in described Short Message Service Gateway; Also for receiving the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the short message sending queue in described Short Message Service Gateway.
Described data receiver submodule specifically may be used for, and receives (obstruction mode specifically can be adopted to receive) service response data from described application system; When receiving successfully, calling described data processing submodule and the described service response data received are processed; The keyword type of service provided according to the application system of described access determined and the service response data after processing write the short message sending queue in described Short Message Service Gateway; And return the operation receiving new service response data from described application system.
Described data receiver submodule specifically can also be used for, and receives the propelling data of (obstruction mode specifically can be adopted to receive) described application system; When receiving successfully, calling described data processing submodule and the described propelling data received is processed; The keyword type of service provided according to the application system of described access determined and the described propelling data after processing write the short message sending queue in described Short Message Service Gateway; And return the operation receiving the new propelling data that described application system pushes.
Described data processing submodule, the service request data read for sending submodule to described data carries out validity checking.Can also be used for, the described service response data receive described data receiver submodule or described propelling data process, and wherein, described data processing submodule is relevant with specific application system, be mainly used in Data Format Transform, also can to response data combined treatment etc.
The business processing device that the embodiment of the present invention provides, mutual with various different application systems, user's note data is obtained from the note access device Short Message Service Gateway, short message content is resolved, analyze the type of service of user's request, preliminary legitimacy inspection is carried out to business datum, be forwarded to corresponding application system again, simultaneously, service response data and propelling data is received from different application systems, business processing device is mutual by the note access device in short message sending queue and Short Message Service Gateway, make note access device can get service response data and the propelling data of application system transmission, the data of reception are sent to sms center by note access device, thus it is mutual to realize between the user of sms center side and application system.The favorable expandability of the business processing device that the embodiment of the present invention provides, has transplantability widely.
Embodiment two
Referring to Fig. 3, is the structural representation of a kind of business processing device that the embodiment of the present invention two provides.This business processing device is configured in Short Message Service Gateway, and this device comprises: primary module, business datum analysis module, at least one application access module and service response data centralization module.In Fig. 3, comprise three application access module, be respectively the mobile-phone payment access module for accessing hand call payment system, for accessing the mobile phone games access module of mobile phone games application system, and for accessing the cell phone lottery access module of cell phone lottery application system.It should be noted that, these three concrete application access module are not limited to the present embodiment, can the application access module of design according to actual needs to access corresponding application system.
Described primary module, for starting business datum analysis module, at least one application access module and service response data centralization module.
Described primary module also can be preferred for: the ruuning situation monitoring described business datum analysis module, at least one application access module and service response data centralization module, and carries out misarrangement process; And/or
When getting described Short Message Service Gateway and entering the mode of secession, carry out cleaning process; When not getting described Short Message Service Gateway and entering the mode of secession, return described policer operation.
Described business datum analysis module, for reading the service request data that user sends from the note receiving queue in described Short Message Service Gateway; According to the corresponding relation of service request data and the type of service preset, determine the type of service of the described service request data of reading; When type of service exists, take type of service as keyword, the described service request data of described keyword and reading is write the service request data queue in described Short Message Service Gateway; Wherein, the type of service in described corresponding relation is corresponding with the business that the application system that application access module accesses provides.
Further, at the corresponding relation according to the service request data preset and type of service, when determining that the type of service of the described service request data read does not belong to the type of service comprised in described corresponding relation, generate the first false response messages, and described first false response messages is write the service response data queue in described Short Message Service Gateway.
In the present embodiment, business datum analysis module is substantially identical with the function of business datum analysis module in above-described embodiment, difference is: when determining that the type of service of the described service request data read does not belong to the type of service comprised in described corresponding relation, in above-described embodiment, business datum analysis module is directly by the first false response messages write short message sending queue, and in the present embodiment, business datum analysis module is by the first false response messages write service response data queue, by service response data centralization module the data centralization of service response data queue is forwarded to the short message sending queue in described Short Message Service Gateway.
As previously mentioned, type of service is all numbered, such as two, note foremost, YE represents remaining sum, if active user has wrongly write note, YE has been write as YR, and exactly this type is the type of service not having this coding rule corresponding in application system, so Yao Yuan road sends back to active user, does not exist to point out this user service request type just.
Described application access module, for accessing application system; From described service request data queue, read the service request data corresponding with the business that the application system of access provides, and carry out validity checking; When check result is legal, described legal service request data is sent to the application system of access, and receives service response data from described application system; The described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the service response data queue in described Short Message Service Gateway;
Described application access module also for, access application system after, receive the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the service response data queue in described Short Message Service Gateway;
Access module is applied substantially identical with the function applying access module in above-described embodiment in the present embodiment, difference is: in above-described embodiment, the keyword directly type of service provided according to the application system of described access determined and the described service response data of reception write the short message sending queue in described Short Message Service Gateway, and in the present embodiment, the described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the service response data queue in described Short Message Service Gateway, by service response data centralization module the data centralization of service response data queue is forwarded to the short message sending queue in described Short Message Service Gateway.
Similarly, described application access module can comprise: service log-on submodule, data send submodule, data receiver submodule and data processing submodule, specifically see the related description in above-described embodiment, can repeat no more.
It should be noted that, in the present embodiment, described data send submodule and also can be preferred for, when check result is illegal, generate the second false response messages, and the described second false response messages write service response data queue that will generate, then by service response data centralization module the data centralization of service response data queue is forwarded to the short message sending queue in described Short Message Service Gateway.And in above-described embodiment, the second false response messages write can be stated short message sending queue.
Like this, when the type of service of user's request exists, but type of service data encoding below not pair time, if such as define MX201403 to represent the transaction details that inquiry in March, 2014 is all, but user is but MX201413 when editing short message, and 13 months is non-existent, now thinks that these data are illegal, again send back to this user by short message sending queue, to point out note code error etc. in this user service request type just.
Accordingly, described data receiver submodule, for receiving service response data from described application system; The described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the service response data queue in described Short Message Service Gateway; Also for receiving the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the service response data queue in described Short Message Service Gateway.This point is different from above-described embodiment equally, repeats no more.
Described service response data centralization module, for reading data from described service response data queue, concentrates the short message sending queue be forwarded in described Short Message Service Gateway.Wherein, read data from described service response data queue, comprising: read described response data, described propelling data, the first false response messages and the second false response messages.
Service response data centralization functions of modules is relatively simple, and it reads data from the queue of business response data, writes short message sending queue after Uniform data format, thus shields the difference of each business to note access device, and note access device and business are had nothing to do.Preferably, this module can also do classification record to each service response data or propelling data.
The business processing device that the embodiment of the present invention provides, mutual with various different application systems, user's note data is obtained from the note access device Short Message Service Gateway, short message content is resolved, analyze the type of service of user's request, preliminary legitimacy inspection is carried out to business datum, be forwarded to corresponding application system again, simultaneously, service response data and propelling data is received from different application systems, and the service response data queue write in Short Message Service Gateway, by the service response data centralization module in business processing device the data centralization that service response data queue reads is being forwarded to the short message sending queue in Short Message Service Gateway, like this, business processing device is mutual by the note access device in short message sending queue and Short Message Service Gateway, on the one hand, make note access device can get service response data and the propelling data of application system transmission, the data of reception are sent to sms center by note access device, thus it is mutual to realize between the user of sms center side and application system, on the other hand, by service response data centralization module when detecting that short message sending queue is not fully written, carrying out concentrating forwarding, thus slowing down the pressure of short message sending queue.The favorable expandability of the business processing device that the embodiment of the present invention provides, has transplantability widely.
Below the data-interface in Short Message Service Gateway between note access device and sms center and the data-interface between note access device and business processing device are introduced.
Note access device and the data-interface between sms center are corresponding short message protocol, and concrete form can refer to corresponding Protocol document.
Data-interface between note access device and business processing device comprises two kinds, and a kind of form defining transmitting short message, specifically can consult table 1, and another kind defines the form submitting note (also namely uploading note) to, specifically can consult table 2.
Table 1
Table 2
Last it is noted that above each embodiment is only for illustration of technical scheme of the present invention, but not be limited; In embodiment preferred embodiment, be not limited, to those skilled in the art, the present invention can have various change and change.All do within spirit of the present invention and principle any amendment, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a business processing device, is configured in Short Message Service Gateway, it is characterized in that, this device comprises:
Primary module, for starting following business datum analysis module and at least one application access module;
Business datum analysis module, for reading the service request data that user sends from the note receiving queue in described Short Message Service Gateway; According to the corresponding relation of service request data and the type of service preset, determine the type of service of the described service request data of reading; When type of service exists, take type of service as keyword, the described service request data of described keyword and reading is write the service request data queue in described Short Message Service Gateway; Wherein, the type of service in described corresponding relation is corresponding with the business that the application system that application access module accesses provides;
Described application access module, for accessing application system; From described service request data queue, read the service request data corresponding with the business that the application system of access provides, and carry out validity checking; When check result is legal, described legal service request data is sent to the application system of access, and receives service response data from described application system; The described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the short message sending queue in described Short Message Service Gateway;
Described application access module also for, access application system after, receive the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the short message sending queue in described Short Message Service Gateway.
2. device according to claim 1, it is characterized in that, described business datum analysis module also for, at the corresponding relation according to the service request data preset and type of service, when determining that the type of service of the described service request data read does not belong to the type of service comprised in described corresponding relation, generate the first false response messages, and described first false response messages is write the short message sending queue in described Short Message Service Gateway.
3. device according to claim 1, is characterized in that, described application access module comprises:
Service log-on submodule, for application system register to be accessed; When succeeding in registration, starting following data and sending submodule and data receiver submodule;
Data send submodule, for reading the service request data corresponding with the business that the application system of access provides from described service request data queue; Call following data processing submodule and validity checking is carried out to the service request data that described data send submodule reading; When check result is legal, described legal service request data is sent to the application system of access;
Data receiver submodule, for receiving service response data from described application system; The described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the short message sending queue in described Short Message Service Gateway; Also for receiving the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the short message sending queue in described Short Message Service Gateway;
Data processing submodule, the service request data read for sending submodule to described data carries out validity checking.
4. device according to claim 3, is characterized in that, described service log-on submodule also for, after the described data of startup send submodule and data receiver submodule, monitor data sends the ruuning situation of submodule and data receiver submodule; If exist abnormal, then clear up there is abnormal submodule in described data transmission submodule and data receiver submodule; If there is not exception, then continue to perform described policer operation.
5. device according to claim 3, is characterized in that, described service log-on submodule also for, when registration failure, return and carry out the operation of registering to application system to be accessed.
6. device according to claim 3, it is characterized in that, described data send submodule also for, when sending successfully, return the operation of the new service request data that reading is corresponding with the business that the application system accessed provides from described service request data queue; When sending unsuccessfully, the failed service request data of described transmission is re-write described service request data queue.
7. device according to claim 3, is characterized in that, described data send submodule also for, when check result is illegal, generate the second false response messages, and described second false response messages generated write described short message sending queue.
8. device according to claim 3, is characterized in that, described data receiver submodule specifically for, receive service response data from described application system; When receiving successfully, calling described data processing submodule and the described service response data received are processed; The keyword type of service provided according to the application system of described access determined and the service response data after processing write the short message sending queue in described Short Message Service Gateway; And return the operation receiving new service response data from described application system;
Described data receiver submodule concrete also for, receive the propelling data of described application system; When receiving successfully, calling described data processing submodule and the described propelling data received is processed; The keyword type of service provided according to the application system of described access determined and the described propelling data after processing write the short message sending queue in described Short Message Service Gateway; And return the operation receiving the new propelling data that described application system pushes;
Described data processing submodule also for, the described service response data receive described data receiver submodule or described propelling data process.
9. device according to claim 1, is characterized in that, described primary module also for:
Monitor the ruuning situation of described business datum analysis module and at least one application access module, and carry out misarrangement process; And/or
When getting described Short Message Service Gateway and entering the mode of secession, carry out cleaning process; When not getting described Short Message Service Gateway and entering the mode of secession, return described policer operation.
10. a business processing device, is configured in Short Message Service Gateway, it is characterized in that, this device comprises:
Primary module, for starting following business datum analysis module, at least one application access module and service response data centralization module;
Business datum analysis module, for reading the service request data that user sends from the note receiving queue in described Short Message Service Gateway; According to the corresponding relation of service request data and the type of service preset, determine the type of service of the described service request data of reading; When type of service exists, take type of service as keyword, the described service request data of described keyword and reading is write the service request data queue in described Short Message Service Gateway; Wherein, the type of service in described corresponding relation is corresponding with the business that the application system that application access module accesses provides;
Described application access module, for accessing application system; From described service request data queue, read the service request data corresponding with the business that the application system of access provides, and carry out validity checking; When check result is legal, described legal service request data is sent to the application system of access, and receives service response data from described application system; The described service response data of the keyword determine the type of service provided according to the application system of described access and reception write the service response data queue in described Short Message Service Gateway;
Described application access module also for, access application system after, receive the propelling data of described application system; The keyword determine the type of service provided according to the application system of described access and the described propelling data of reception write the service response data queue in described Short Message Service Gateway;
Service response data centralization module, for reading data from described service response data queue, concentrates the short message sending queue be forwarded in described Short Message Service Gateway.
CN201510057195.8A 2015-02-04 2015-02-04 Business processing device Active CN104640093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510057195.8A CN104640093B (en) 2015-02-04 2015-02-04 Business processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510057195.8A CN104640093B (en) 2015-02-04 2015-02-04 Business processing device

Publications (2)

Publication Number Publication Date
CN104640093A true CN104640093A (en) 2015-05-20
CN104640093B CN104640093B (en) 2018-05-25

Family

ID=53218302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510057195.8A Active CN104640093B (en) 2015-02-04 2015-02-04 Business processing device

Country Status (1)

Country Link
CN (1) CN104640093B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550909A (en) * 2016-02-22 2016-05-04 苏州工业园区服务外包职业学院 Business pushing system and method
CN110335113A (en) * 2019-06-26 2019-10-15 苏州工业园区服务外包职业学院 A kind of logical transaction processing system of transaction system platform service terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702310B1 (en) * 2005-02-18 2010-04-20 Virgin Mobile Usa, L.P. Load balancing management of communications sessions in a communications management network
CN101909257A (en) * 2009-06-04 2010-12-08 中兴通讯股份有限公司 Method and system for realizing concurrency access of multiple bearer protocols by M2M platform
CN101969472A (en) * 2010-10-29 2011-02-09 西本新干线股份有限公司 Cloud transaction system and short message management system adapting to same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7702310B1 (en) * 2005-02-18 2010-04-20 Virgin Mobile Usa, L.P. Load balancing management of communications sessions in a communications management network
CN101909257A (en) * 2009-06-04 2010-12-08 中兴通讯股份有限公司 Method and system for realizing concurrency access of multiple bearer protocols by M2M platform
CN101969472A (en) * 2010-10-29 2011-02-09 西本新干线股份有限公司 Cloud transaction system and short message management system adapting to same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550909A (en) * 2016-02-22 2016-05-04 苏州工业园区服务外包职业学院 Business pushing system and method
CN110335113A (en) * 2019-06-26 2019-10-15 苏州工业园区服务外包职业学院 A kind of logical transaction processing system of transaction system platform service terminal

Also Published As

Publication number Publication date
CN104640093B (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN102026124B (en) Intelligent SMS (short message service) platform system and SMS (short message service) implementation method based on system
CN102035848B (en) Method for exchanging data among shared systems
CN106155697A (en) A kind of service-oriented Development Framework (YC Framework)
US10193848B2 (en) System and related method for management of devices of a network system via social media interfaces
CN103916296A (en) Communication system integrated with local area network
CN103179099A (en) Unified certification method for accessing to open website platforms and website platform
CN103023751B (en) Multimedia information intercommunicating system and intercommunicating method
CN104618878A (en) Short message gateway
US9807197B2 (en) Real-time interaction in a communication network
CN104640093A (en) Service processing device
US9439049B2 (en) System and method for message service gateway
CN102137102B (en) Realizing method of service supporting platform for supporting multiclass information publishing modes
CN110034979A (en) A kind of proxy resources monitoring method, device, electronic equipment and storage medium
CN102393887B (en) Application centralized management system and method based on Linux security module (LSM) mechanism
CN104754535A (en) Message access device
CN101835130A (en) System and method for authenticating and authorizing Internet communication through mobile communication network
CN105391702A (en) Audio/video communication method, terminal, server and platform
CN102325187A (en) System and method for integrating multiple function services
CN1300977C (en) An open method and system for ultra-remote industrial monitoring information integration
CN102413454B (en) Method for data transmission and always online gateway (AOG) system
CN101645809B (en) Throughput testing method and system for multi-terminal network
CN111274284A (en) Data exchange system and method
CN114679689B (en) Method and device for forwarding multimedia message
CN115208875B (en) Information integration system of multi-transmission middleware
CN102255789B (en) A kind of method of Message routing and intermediate NE

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20181212

Address after: Room 804, 8th floor, Shenzhou Science and Technology Building, 31 South Street, Zhongguancun, Haidian District, Beijing

Patentee after: Xinlian Cooperative Communication Technology (Beijing) Co., Ltd.

Address before: 215000 Ruoshui Road 99, Dushu Lake Higher Education District, Suzhou Industrial Park, Jiangsu Province

Patentee before: Suzhou Industrial Park Institute of Service Outsourcing

TR01 Transfer of patent right