CN104640093B - Business processing device - Google Patents
Business processing device Download PDFInfo
- Publication number
- CN104640093B CN104640093B CN201510057195.8A CN201510057195A CN104640093B CN 104640093 B CN104640093 B CN 104640093B CN 201510057195 A CN201510057195 A CN 201510057195A CN 104640093 B CN104640093 B CN 104640093B
- Authority
- CN
- China
- Prior art keywords
- data
- service
- short message
- submodule
- module
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention provides a kind of business processing device, configures in Short Message Service Gateway, which includes:Module in primary module, business datum analysis module, at least one application AM access module and service response data set.The device is interacted with various different application systems, user's note data is obtained from the short message access device in Short Message Service Gateway, short message content is parsed, analyze the type of service of user's request, preliminary legitimacy inspection is carried out to business datum, corresponding application system is forwarded to again, simultaneously, service response data and propelling data are received from different application systems, business processing device is interacted by short message sending queue with the short message access device in Short Message Service Gateway, short message access device is enabled to get the service response data and propelling data of application system transmission, short message access device is by the data sending of reception to sms center, so as to fulfill the interaction between the user of sms center side and application system.
Description
Technical field
The present embodiments relate to information technology field more particularly to a kind of business processing devices.
Background technology
Short message (Short Message, SM) gateway is various different business application systems and user based on cell phone
Between one of door layer, provide a user SM access ways, be responsible for application system and the sms center of mobile operator
(SMSC) transaction request of external messaging data protocol is converted into the transaction lattice of application system internal unity by data exchange
Formula;Or the transaction results of internal unity form are converted into external messaging data protocol, then sms center is sent to outside, it is final to pass
Pass mobile phone user.
The design of business processing device in the Short Message Service Gateway of service provider (service provider, SP) side with
Realization method belongs to a part for application business system design and development, ununified specification and technical standard, each company
Experience and the ability of different requirements and designer based on each real system and there is different designs to realize.
Business processing device belongs to third party's stand-alone service for a user, but the specific design of the device is with realizing
Typically business secret is so as to can not learn.
The content of the invention
The embodiment of the present invention provides a kind of business processing device, and user's note data is obtained from Short Message Service Gateway to realize,
Short message content is parsed, analyzes the type of service of user's request, then is forwarded to corresponding application system, and is realized never
Same application system receives service response data and propelling data, sms center is sent to after converted, so as to fulfill in short message
Interaction between the user of heart side and application system.
An embodiment of the present invention provides a kind of business processing devices, configure in Short Message Service Gateway, which includes:
Primary module, for starting following business datum analysis modules and at least one using AM access module;
Business datum analysis module, for reading the business of user's transmission from the short message receiving queue in the Short Message Service Gateway
Request data;According to the correspondence of default service request data and type of service, the service request number read is determined
According to type of service;Using type of service as keyword, the keyword and the service request data of reading are write into institute
State the service request data queue in Short Message Service Gateway;Wherein, the type of service in the correspondence using AM access module with connecing
The business that the application system entered is provided corresponds to;
It is described to apply AM access module, for accessing application system;It reads and accesses from the service request data queue
The corresponding service request data of business that is provided of application system, and carry out validity checking;When inspection result is legal,
The legal service request data is sent to the application system of access, and response data is received from the application system;It will
The keyword and the response data write-in of reception that the type of service provided according to the application system of the access determines
Short message sending queue in the Short Message Service Gateway;
The application AM access module is additionally operable to, and after application system is accessed, receives the propelling data of the application system;It will
The keyword and the propelling data write-in of reception that the type of service provided according to the application system of the access determines
Short message sending queue in the Short Message Service Gateway.
Business processing device provided in an embodiment of the present invention is interacted with various different application systems, from Short Message Service Gateway
Short message access device obtains user's note data, and short message content is parsed, and the type of service of user's request is analyzed, to industry
Data of being engaged in carry out preliminary legitimacy inspection, then are forwarded to corresponding application system, meanwhile, receive business from different application systems
Response data and propelling data, business processing device are handed over by the short message access device in short message sending queue and Short Message Service Gateway
Mutually so that short message access device can get the service response data and propelling data of application system transmission, short message access dress
It puts the data sending of reception to sms center, so as to fulfill the interaction between the user of sms center side and application system.This
The favorable expandability for the business processing device that inventive embodiments provide has extensive transplantability.
Description of the drawings
In order to illustrate more clearly of the present invention, one will be done to attached drawing needed in the present invention below and be simply situated between
It continues, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, is come for those of ordinary skill in the art
It says, without having to pay creative labor, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the structure diagram of Short Message Service Gateway provided in an embodiment of the present invention;
Fig. 2 a are a kind of structure diagram for business processing device that the embodiment of the present invention one provides;
Fig. 2 b are a kind of workflow schematic diagram of primary module in the business processing device that the embodiment of the present invention one provides;
Fig. 2 c are a kind of workflow of business datum analysis module in the business processing device that the embodiment of the present invention one provides
Journey schematic diagram;
Fig. 2 d are that service log-on is sub in a kind of application AM access module in the business processing device that the embodiment of the present invention one provides
The workflow schematic diagram of module;
Fig. 2 e are that data sending is sub in a kind of application AM access module in the business processing device that the embodiment of the present invention one provides
The workflow schematic diagram of module;
Fig. 2 f are that data receiver is sub in a kind of application AM access module in the business processing device that the embodiment of the present invention one provides
The workflow schematic diagram of module;
Fig. 3 is a kind of structure diagram of business processing device provided by Embodiment 2 of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to the embodiment of the present invention
In technical solution be described in further detail, it is clear that described embodiment is part of the embodiment of the present invention rather than complete
The embodiment in portion.It is understood that specific embodiment described herein is only used for explaining the present invention rather than to the present invention's
It limits, based on the embodiments of the present invention, those of ordinary skill in the art are obtained without creative efforts
Every other embodiment, belong to the scope of protection of the invention.It also should be noted that for ease of description, attached drawing
In illustrate only part related to the present invention rather than full content.
Business processing device provided in an embodiment of the present invention, is configured in Short Message Service Gateway.The Short Message Service Gateway is suitable for such as Fig. 1
The shown network architecture, the network architecture include:Sms center, Short Message Service Gateway and application system, so as to fulfill sms center side
User and application system between interaction.
For clarity, the structure of Short Message Service Gateway is introduced first.Referring to Fig. 1, the Short Message Service Gateway includes at least:Short message connects
Enter device and business processing device, may preferably further comprise daily record monitoring module and/or flow statistical module.
Wherein, short message access device is responsible for the communication between sms center;Business processing device is responsible for and each application system
System exchanges data;Daily record monitoring module is used to collect the log information that each module generates, and is shown for monitor terminal;Traffic statistics mould
Block is used to record the note data that Short Message Service Gateway sends and receives.Four module function opposite independent, intermodular data exchange can
It is connected by message queue.Short Message Service Gateway is communicated with external system (i.e. sms center and application system) by TCP/IP, is carried out
The interaction of the protocol data of standard.Brief is carried out to the module beyond business processing device below.
1st, short message access device
As a kind of preferred embodiment of short message access device, which can include:Access main mould
Block, data transmission blocks, data reception module, protocol process module and timeout treatment module.
The access primary module is used for log-on data sending module, data reception module and timeout treatment module;And to
Sms center is registered, and the first link is established when succeeding in registration, wherein first link is used for the data transmission blocks
With the interaction between the sms center, the interaction being additionally operable between the sms center and the data reception module.
Data transmission blocks call short message to connect for reading data to be sent from the short message sending queue in Short Message Service Gateway
Enter protocol process module in device according to setting protocol packing data, and the data packet to be sent after packing is passed through described the
One link is sent to the sms center;And the originally transmitted data in the data packet of transmission are write in the Short Message Service Gateway
Wait-for-response queue.Wherein, the data to be sent that data transmission blocks are read are the applications by being connected with the Short Message Service Gateway
System is written in the short message sending queue in Short Message Service Gateway, for example, application system interacted first with business processing device it is pending
Data are sent, then business processing device interacts data to be sent with short message access device again, short so as to which data to be sent be write
Believe in transmit queue.
Data reception module, for receiving data from the sms center by first link;If agreement is rung
Data are answered, then the protocol process module is called to be unpacked according to setting agreement to the protocol responses data;Judge to unpack
The respond style of protocol responses data afterwards, and according to the judging result, carry out respective handling;And by the agreement after unpacking
Response data writes the wait-for-response queue in the Short Message Service Gateway;Wherein, the protocol responses data are by the sms center
It is generated after being successfully received the data packet to be sent of the data transmission blocks transmission and being responded.If service request
Data, then invocation protocol processing module unpacked data, the short message receiving queue in Short Message Service Gateway is write by unpacked data.
Timeout treatment module is used for timing scan wait-for-response queue, checks for and has been successfully transmitted but time-out does not have
There are the originally transmitted data for receiving response, if so, abandoning the originally transmitted data or the originally transmitted data being write short message
Transmit queue, and trigger the data transmission blocks and perform repeating transmission operation.
It should be noted that the setting agreement that short message access device is applicable in generally includes:Short message point-to-point protocol (SMPP)
Agreement, China Unicom SMS gateway system interface protocol (SGIP) and China Mobile Peer to Peer Protocol (CMPP).Wherein, SMPP is assisted
View requires service provider (SP) side to be only client, uploads short message (for example, the short message of application system is pushed in short message
The mobile phone user of heart side, at this moment the response data of sms center is also to issue client by same link) and transmitting short message
(for example Transaction Information is issued to application system by user by mobile phone and sms center, then through Short Message Service Gateway) is respectively with different
It orders and is registered to SMSC.SGIP protocol requirements both sides client and server-side each other, SP upload short message need to ad hoc mode to
After SMSC registrations, short message could be uploaded.SMSC wants transmitting short message, it is necessary to first initiate the connection request to SP server-sides, obtain really
It could transmitting short message after recognizing.CMPP agreements two ways is all supported.
With reference to above-mentioned three kinds of short message protocols, short message access device can be divided into following two modes:Only do client or
Person had not only done client but also had done server-side.
The short message access device that the manner provides supports point-to-point (SMPP) agreement of short message or point-to-point association of China Mobile
View (CMPP) namely short message access device work in client mode.
As another preferred embodiment of short message access device, which can include:Access master
Module, data transmission blocks, data reception module, protocol process module, timeout treatment module, monitoring service module and at least one
A request processing module.The short message access device that the manner provides is suitable for China Unicom SMS gateway system interface protocol
(SGIP) or point-to-point (CMPP) agreement of China Mobile.
Wherein, the data transmission blocks, data reception module and timeout treatment module composition client modules, in data
During sending module sends data to sms center and data reception module receives the mistake for the data that sms center issues
Invocation protocol processing module is required in journey;The monitoring service module and at least one request processing module form server-side mould
Block.
Wherein, it is consistent with the function that primary module is accessed in aforesaid way to access the partial function of primary module, in the manner, institute
State access primary module what's new be specially:It is additionally operable to start the monitoring service module and be established when succeeding in registration
Second link, request of second link between the sms center and the monitoring service module interact, Yi Jiyong
Data interaction between the sms center and at least one request processing module.
In other words, first link establishment is between the sms center and the client modules, second chain
Road is established between the sms center and the 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 the data reception module is only that the partial function of data reception module in aforesaid way is consistent,
In the manner, the data reception module is only used for receiving protocol responses number from the sms center by first link
According to;The protocol process module is called to be unpacked according to setting agreement to the protocol responses data;Judge the association after unpacking
The respond style of response data is discussed, and according to the judging result, carries out respective handling;And by the protocol responses number after unpacking
According to the wait-for-response queue write in the Short Message Service Gateway;Wherein, the protocol responses data by the sms center in success
It receives the data packet to be sent that the data transmission blocks are sent and is generated after being responded;And in the above method, data
Receiving module is additionally operable to by the first link and sms center interactive service request data, and in this mode, server module
By the second link and sms center interactive service request data, reference can be made to following to monitoring service module and request processing module
Introduction.That is, client modules upload short message by the first chain road direction sms center, sms center is taken by the second chain road direction
Business end module transmitting short message, both links are non-interference, with sms center independent communication.
In other words, in the above method, short message access device is only operated under client mode, data transmission blocks processing
All upload short messages, all transmitting short messages of data reception module processing;In this mode, short message access device works in visitor
The pattern that family end and server-side combine, client modules are responsible for uploading short message, and server module is responsible for transmitting short message.
The function of the timeout treatment module is consistent with the function of timeout treatment module in aforesaid way, repeats no more.
Wherein, it is described monitoring service module be used for listen to the sms center pass through second link send business
During request, start the request processing module identical with service request quantity.
In other words, monitor service module only just has in the case where not only doing client but also doing server-side pattern, it is monitored in short message
The service request of the heart, one request processing module of startup is responsible for being communicated with sms center once a request is listened to.
According to the regulation of short message protocol, request module may only there are one or have multiple.
The request processing module is used to upon actuation, be authenticated the identity of the sms center, and in certification lead to
When crossing (namely identity is legal), the service request data that is issued by sms center described in the second link received over time;It adjusts
The service request data of reception is unpacked according to the setting agreement with the protocol process module, and will be after the unpacking
Data write short message receiving queue in the Short Message Service Gateway;Afterwards, sms center described in the received over time can be returned
The operation of the service request data issued;If time-out is not received by service request data, the second link can be actively closed.
2nd, daily record monitoring module
Daily record monitoring module collects the log information of each module generation of Short Message Service Gateway from the journal queue of Short Message Service Gateway, turns
It changes unified data format into and is sent to monitor terminal.
3rd, flow statistical module
Flow statistical module carries out statistics record to the note data exchanged between Short Message Service Gateway and sms center, is short message
Verification and clearing provide foundation.
Traffic statistics can be there are two types of statistical:
Text file counts, and statistical information records a text file daily.
Statistical information is write direct in the corresponding table of database.
Flow statistical module realize can also there are two types of:
Packaged API (Application Programming Interface, application programming interface) function,
This function is called when needing to carry out traffic statistics;
The traffic statistics program of independent operating is connected by message queue with the external world, is collected statistical information, is uniformly processed.
The program for counting flow is needed only need to be just believed that statistical information write-in queue to count successfully.
Specifically using which kind of statistical and realization with reference to system requirements and the environment of system operation.
Embodiment one
Fig. 2 a are referred to, for a kind of structure diagram for business processing device that the embodiment of the present invention one provides.The business
Processing unit is configured in Short Message Service Gateway, which includes:Primary module, business datum analysis module and at least one application access
Module, in Fig. 2 a, including three using AM access module, respectively for accessing the mobile-phone payment of hand call payment system access mould
Block, for the mobile phone games AM access module that accesses mobile phone games application system and for accessing cell phone lottery application system
Cell phone lottery AM access module.It should be noted that these three are specifically not limited to the present embodiment using AM access module, it can
With design according to actual needs AM access module is applied to access corresponding application system.
Wherein, the primary module, for starting business datum analysis module and at least one using AM access module.
The primary module is also preferably used for:Monitor the business datum analysis module and at least one using AM access module
Operating condition, and carry out misarrangement processing;And/or
When getting the Short Message Service Gateway and entering the mode of secession, cleaning processing is carried out;The short message net is having not been obtained
When putting into the mode of secession, the policer operation is returned.
Fig. 2 b are referred to, a kind of workflow of primary module is shown in the business processing device provided for the embodiment of the present invention one
It is intended to.The primary module detects enabling signal amount and whether there is first, if it is not, then creating enabling signal amount, reads corresponding configuration text
Part initializes the parameter of Short Message Service Gateway, configures running environment, and starts business datum analysis module and at least one application access
Module;The business datum analysis module and at least one operating condition using AM access module are monitored, and carries out misarrangement processing;
The Short Message Service Gateway is detected whether into the mode of secession, if so, cleaning processing is carried out, if it is not, returning to the policer operation.
Fig. 2 c are referred to, a kind of business datum analysis module in the business processing device provided for the embodiment of the present invention one
Workflow schematic diagram.The business datum analysis module, for reading (tool from the short message receiving queue in the Short Message Service Gateway
Body may be employed obstruction mode and read) user send service request data;According to default service request data and service class
The correspondence of type determines the type of service of the service request data read;In the presence of type of service, with type of service
For keyword, the keyword and the service request data of reading are write to the service request number in the Short Message Service Gateway
According to queue;Wherein, the business that the type of service in the correspondence and the application system of application AM access module access are provided
It is corresponding.Further, in the correspondence according to default service request data and type of service, the business read is determined
When the type of service of request data is not belonging to the type of service included in the correspondence, the first false response messages are generated,
And first false response messages are write into the short message sending queue in the Short Message Service Gateway.
It should be noted that type of service is all numbered, for example short message foremost two, YE represent remaining sum, if
Active user has wrongly write short message, and YE has been write as YR, and exactly this type is that do not have this coding rule pair in application system
The type of service answered, then Yao Yuan roads send back to active user, to prompt the user that service request type just is not present.
It is described to apply AM access module, for accessing application system;It reads and accesses from the service request data queue
The corresponding service request data of business that is provided of application system, and carry out validity checking;When inspection result is legal,
The legal service request data is sent to the application system of access, and service response number is received from the application system
According to;The keyword and the service response of reception that the type of service provided according to the application system of the access is determined
Data write the short message sending queue in the Short Message Service Gateway;
The application AM access module is additionally operable to, and after application system is accessed, receives the propelling data of the application system;It will
The keyword and the propelling data write-in of reception that the type of service provided according to the application system of the access determines
Short message sending queue in the Short Message Service Gateway.
Further, the application AM access module can include:Service log-on submodule, data sending submodule, data
Receiving submodule and data processing submodule.It should be noted that it can be each divided into substantially using AM access module above-mentioned
Several submodules.
Fig. 2 d are referred to, business in a kind of application AM access module in the business processing device provided for the embodiment of the present invention one
Register the workflow schematic diagram of submodule.The service log-on submodule, for application system register to be accessed;It is noting
During volume success, log-on data sending submodule and data receiving submodule.Further, the service log-on submodule can also be excellent
It is selected to, after the data sending submodule and data receiving submodule is started, monitoring data sending submodule and data
The operating condition of receiving submodule;If there is exception, to existing in the data sending submodule and data receiving submodule
Abnormal submodule is cleared up;If there is no exceptions, the policer operation is continued to execute.Further, the business note
Book module can be additionally used in, and in registration failure, return to the operation registered to application system to be accessed.
Fig. 2 e are referred to, data in a kind of application AM access module in the business processing device provided for the embodiment of the present invention one
The workflow schematic diagram of sending submodule.The data sending submodule, for being read from the service request data queue
Take service request data corresponding with the business that the application system accessed is provided;Data processing submodule is called to the data
The service request data that sending submodule is read carries out validity checking;When inspection result is legal, by the legal industry
Business request data is sent to the application system of access.Further, the data sending submodule is also preferably used for, and is being sent
During success, return read from the service request data queue it is with the business that is provided of application system of access corresponding newly
The operation of service request data;When sending failure, the service request data for sending failure is re-write into the business
Request data queue.Further, the data sending submodule is also preferably used for, raw when inspection result is illegal
The short message sending queue is write into the second false response messages, and by second false response messages of generation.
In this way, when the type of service of user's request exists, but the data encoding behind type of service not pair when, such as
Fruit defines MX201403 expressions and inquires about in March, 2014 all transaction details, but user is in editing short message
MX201413 is not present for 13 months, and it is illegal to think this data at this time, this is sent back to again by short message sending queue
A user, to prompt short message encoding mistake etc. in the service request type of the user just.
Fig. 2 f are referred to, data in a kind of application AM access module in the business processing device provided for the embodiment of the present invention one
The workflow schematic diagram of receiving submodule.The data receiver submodule, for receiving service response from the application system
Data;The keyword and the business of reception that the type of service provided according to the application system of the access is determined are rung
The short message sending queue that data is answered to write in the Short Message Service Gateway;It is additionally operable to receive the propelling data of the application system;By root
The keyword and the propelling data write-in institute of reception that the type of service provided according to the application system of the access determines
State the short message sending queue in Short Message Service Gateway.
The data receiver submodule specifically can be used for, and (obstruction side specifically may be employed from application system reception
Formula receives) service response data;When receiving successfully, the service response number of the data processing submodule to reception is called
According to being handled;Keyword that the type of service provided according to the application system of the access is determined and treated industry
Response data of being engaged in writes the short message sending queue in the Short Message Service Gateway;And it returns and new business sound is received from the application system
Answer the operation of data.
The data receiver submodule specifically can be also used for, and receiving should described in (obstruction mode specifically may be employed to receive)
With the propelling data of system;When receiving successfully, the data processing submodule is called to carry out the propelling data of reception
Processing;Keyword that the type of service provided according to the application system of the access is determined and treated the push
Data write the short message sending queue in the Short Message Service Gateway;And return to the new propelling data for receiving the application system push
Operation.
The data processing submodule, it is legal that the service request data for being read to the data sending submodule carries out
Property inspection.Can be also used for, to the data receiver submodule receive the service response data or the propelling data into
Row processing, wherein, the data processing submodule is related with specific application system, is mainly used for Data Format Transform, may be used also
To response data combined treatment etc..
Business processing device provided in an embodiment of the present invention is interacted with various different application systems, from Short Message Service Gateway
Short message access device obtains user's note data, and short message content is parsed, and the type of service of user's request is analyzed, to industry
Data of being engaged in carry out preliminary legitimacy inspection, then are forwarded to corresponding application system, meanwhile, receive business from different application systems
Response data and propelling data, business processing device are handed over by the short message access device in short message sending queue and Short Message Service Gateway
Mutually so that short message access device can get the service response data and propelling data of application system transmission, short message access dress
It puts the data sending of reception to sms center, so as to fulfill the interaction between the user of sms center side and application system.This
The favorable expandability for the business processing device that inventive embodiments provide has extensive transplantability.
Embodiment two
Referring to Fig. 3, it is a kind of structure diagram of business processing device provided by Embodiment 2 of the present invention.At the business
Device configuration is managed in Short Message Service Gateway, which includes:Primary module, business datum analysis module, at least one application access mould
Module in block and service response data set.In Fig. 3, including three using AM access module, respectively it is used to access mobile-phone payment system
The mobile-phone payment AM access module of system, for the mobile phone games AM access module that accesses mobile phone games application system and for accessing
The cell phone lottery AM access module of cell phone lottery application system.It should be noted that these three specifically apply AM access module not
For limiting the present embodiment, can design according to actual needs application AM access module to access corresponding application system.
The primary module, for starting business datum analysis module, at least one application AM access module and service response number
According to concentration module.
The primary module is also preferably used for:It monitors the business datum analysis module, is at least one using AM access module
With the operating condition of module in service response data set, and misarrangement processing is carried out;And/or
When getting the Short Message Service Gateway and entering the mode of secession, cleaning processing is carried out;The short message net is having not been obtained
When putting into the mode of secession, the policer operation is returned.
The business datum analysis module, for reading what user sent from the short message receiving queue in the Short Message Service Gateway
Service request data;According to the correspondence of default service request data and type of service, determine that the business read please
Seek the type of service of data;In the presence of type of service, using type of service as keyword, by the keyword and the institute of reading
State the service request data queue in the service request data write-in Short Message Service Gateway;Wherein, the business in the correspondence
Type is corresponding with the business that the application system of application AM access module access is provided.
Further, in the correspondence according to default service request data and type of service, determine to read described
When the type of service of service request data is not belonging to the type of service included in the correspondence, generation the first errored response letter
Breath, and first false response messages are write into the service response data queue in the Short Message Service Gateway.
The basic phase of function of business datum analysis module and business datum analysis module in above-described embodiment in the present embodiment
Together, difference lies in:It is not belonging to what is included in the correspondence in the type of service for the service request data for determining to read
During type of service, in above-described embodiment, business datum analysis module is directly by the first false response messages write-in short message sending team
Row, and in the present embodiment, the first false response messages are write service response data queue by business datum analysis module, pass through industry
Business response data concentrates the short message sending that module will be forwarded in the Short Message Service Gateway in the data set of service response data queue
Queue.
As previously mentioned, type of service is all numbered, such as short message foremost two, YE represents remaining sum, if currently
User has wrongly write short message, and YE has been write as YR, and exactly this type is that do not have this coding rule corresponding in application system
Type of service, then Yao Yuan roads send back to active user, to prompt the user that service request type just is not present.
It is described to apply AM access module, for accessing application system;It reads and accesses from the service request data queue
The corresponding service request data of business that is provided of application system, and carry out validity checking;When inspection result is legal,
The legal service request data is sent to the application system of access, and service response number is received from the application system
According to;The keyword and the service response of reception that the type of service provided according to the application system of the access is determined
Data write the service response data queue in the Short Message Service Gateway;
The application AM access module is additionally operable to, and after application system is accessed, receives the propelling data of the application system;It will
The keyword and the propelling data write-in of reception that the type of service provided according to the application system of the access determines
Service response data queue in the Short Message Service Gateway;
It is distinguished in the present embodiment using AM access module with applying the function of AM access module essentially identical in above-described embodiment
In:In above-described embodiment, keyword that directly type of service provided according to the application system of the access is provided and
The service response data received write the short message sending queue in the Short Message Service Gateway, and in the present embodiment, it will be according to institute
State the service response data write-in institute of keyword that the type of service that the application system of access is provided determines and reception
The service response data queue in Short Message Service Gateway is stated, by module in service response data set by the number of service response data queue
The short message sending queue being forwarded to according to concentration in the Short Message Service Gateway.
Similarly, the application AM access module can include:Service log-on submodule, data sending submodule, data connect
Submodule and data processing submodule are received, the related description in above-described embodiment is for details, reference can be made to, repeats no more.
It should be noted that in the present embodiment, the data sending submodule is also preferably used for, in inspection result for not
When legal, the second false response messages are generated, and second false response messages of generation are write into service response data team
Row, then will be forwarded to by module in service response data set in the data set of service response data queue in the Short Message Service Gateway
Short message sending queue.And in above-described embodiment, the second false response messages can be write and state short message sending queue.
In this way, when the type of service of user's request exists, but the data encoding behind type of service not pair when, such as
Fruit defines MX201403 expressions and inquires about in March, 2014 all transaction details, but user is in editing short message
MX201413 is not present for 13 months, and it is illegal to think this data at this time, this is sent back to again by short message sending queue
A user, to prompt short message encoding mistake etc. in the service request type of the user just.
Correspondingly, the data receiver submodule, for receiving service response data from the application system;Will according to institute
State the service response data write-in institute of keyword that the type of service that the application system of access is provided determines and reception
State the service response data queue in Short Message Service Gateway;It is additionally operable to receive the propelling data of the application system;It will be connect according to described
The keyword and the propelling data of reception that the type of service that the application system entered is provided determines write the short message net
The service response data queue in the Central Shanxi Plain.This point is equally different from above-described embodiment, is repeated no more.
Module in the service response data set for reading data from the service response data queue, concentrates forwarding
Short message sending queue into the Short Message Service Gateway.Wherein, data are read from the service response data queue, including:It reads
The response data, the propelling data, the first false response messages and the second false response messages.
Functions of modules is relatively easy in service response data set, it reads data from business response data queue, unified
Short message sending queue is write after data format, so as to shield the difference of each business to short message access device, makes short message access device
It is unrelated with business.It is recorded preferably, this module can also do each service response data or propelling data classification.
Business processing device provided in an embodiment of the present invention is interacted with various different application systems, from Short Message Service Gateway
Short message access device obtains user's note data, and short message content is parsed, and the type of service of user's request is analyzed, to industry
Data of being engaged in carry out preliminary legitimacy inspection, then are forwarded to corresponding application system, meanwhile, receive business from different application systems
Response data and propelling data, and the service response data queue in Short Message Service Gateway is write, in by business processing device
The short message hair being forwarded in the data set that module reads service response data queue in service response data set in Short Message Service Gateway
Queue is sent, in this way, business processing device is interacted by short message sending queue with the short message access device in Short Message Service Gateway, a side
Face so that short message access device can get the service response data and propelling data of application system transmission, short message access dress
It puts the data sending of reception to sms center, so as to fulfill the interaction between the user of sms center side and application system;Separately
On the one hand, concentration forwarding is carried out when detecting that short message sending queue is not written full by module in service response data set, from
And slow down the pressure of short message sending queue.The favorable expandability of business processing device provided in an embodiment of the present invention has extensive
Transplantability.
Below to the data-interface in Short Message Service Gateway between short message access device and sms center and short message access device
Data-interface between business processing device is introduced.
Data-interface between short message access device and sms center is corresponding short message protocol, and specific form can refer to phase
The Protocol document answered.
Data-interface between short message access device and business processing device includes two kinds, a kind of transmitting short message that defines
Form, specifically sees table 1, and another kind defines the form for submitting short message (namely uploading short message), specifically sees table 2.
Table 1
Table 2
Finally it should be noted that:Various embodiments above is merely to illustrate technical scheme rather than it is limited
System;Preferred embodiment in embodiment, is not limited, and to those skilled in the art, the present invention can be with
There are various modifications and changes.All any modifications, equivalent replacements and improvements are made within spirit and principles of the present invention,
It should be included within protection scope of the present invention.
Claims (7)
1. a kind of business processing device, configures in Short Message Service Gateway, which is characterized in that the device includes:
Primary module, for starting following business datum analysis modules and at least one using AM access module;
Business datum analysis module, for reading the service request of user's transmission from the short message receiving queue in the Short Message Service Gateway
Data;According to the correspondence of default service request data and type of service, the service request data read is determined
Type of service;It, please by the keyword and the business of reading using type of service as keyword in the presence of type of service
The service request data queue that data is asked to write in the Short Message Service Gateway;Wherein, the type of service in the correspondence is with answering
The business that the application system accessed with AM access module is provided corresponds to;
It is described to apply AM access module, including service log-on submodule, data sending submodule and data processing submodule;
The service log-on submodule, for application system register to be accessed;When succeeding in registration, start following data hairs
Send submodule and data receiving submodule;
The data sending submodule is provided for being read from the service request data queue with the application system accessed
The corresponding service request data of business, the service request data that the data submodule is called to read the sending submodule
Carry out validity checking;When inspection result is legal, the application that the legal service request data is sent to access is
System;
The data receiver submodule, for receiving service response data from the application system;When receiving successfully, institute is called
Data processing submodule is stated to handle the service response data of reception;It will be carried according to the application system of the access
Keyword that the type of service of confession determines and treated service response data write in the Short Message Service Gateway short message sending
Queue;And return to the operation that new service response data are received from the application system;The data receiver submodule is additionally operable to,
After application system is accessed, the propelling data of the application system is received;When receiving successfully, the data processing submodule is called
Block handles the propelling data of reception;The type of service provided according to the application system of the access is determined
Keyword and treated the propelling data writes in the Short Message Service Gateway short message sending queue;And it returns described in reception
The operation of the new propelling data of application system push;
Data processing submodule, the service request data for being read to the data sending submodule carry out validity checking;
The data processing submodule is additionally operable to, the service response data or described received to the data receiver submodule
Propelling data is handled.
2. the apparatus according to claim 1, which is characterized in that the business datum analysis module is additionally operable to, according to pre-
If service request data and type of service correspondence, the type of service of the service request data for determining to read do not belong to
During the type of service included in the correspondence, the first false response messages are generated, and first errored response is believed
Breath writes the short message sending queue in the Short Message Service Gateway.
3. the apparatus according to claim 1, which is characterized in that the service log-on submodule is additionally operable to, described in startup
After data sending submodule and data receiving submodule, the operation feelings of monitoring data sending submodule and data receiving submodule
Condition;It is clear to there is the submodule progress of exception in the data sending submodule and data receiving submodule if there is exception
Reason;If there is no exceptions, the policer operation is continued to execute.
4. the apparatus according to claim 1, which is characterized in that the service log-on submodule is additionally operable to, in registration failure
When, return to the operation registered to application system to be accessed.
5. the apparatus according to claim 1, which is characterized in that the data sending submodule is additionally operable to, and is being sent successfully
When, it returns and new business corresponding with the business that the application system accessed is provided is read from the service request data queue
The operation of request data;When sending failure, the service request data for sending failure is re-write into the service request
Data queue.
6. the apparatus according to claim 1, which is characterized in that the data sending submodule is additionally operable to, in inspection result
For it is illegal when, generate the second false response messages, and second false response messages of generation write into the short message and are sent out
Send queue.
7. the apparatus according to claim 1, which is characterized in that the primary module is additionally operable to:
The business datum analysis module and at least one operating condition using AM access module are monitored, and carries out misarrangement processing;
And/or
When getting the Short Message Service Gateway and entering the mode of secession, cleaning processing is carried out;Have not been obtained the Short Message Service Gateway into
When entering the mode of secession, the policer operation is returned.
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 CN104640093A (en) | 2015-05-20 |
CN104640093B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105550909B (en) * | 2016-02-22 | 2022-01-18 | 苏州工业园区服务外包职业学院 | Business push 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)
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 |
-
2015
- 2015-02-04 CN CN201510057195.8A patent/CN104640093B/en active Active
Patent Citations (3)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104640093A (en) | 2015-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3697042A1 (en) | Traffic analysis method, public service traffic attribution method and corresponding computer system | |
US10193848B2 (en) | System and related method for management of devices of a network system via social media interfaces | |
CN106303359A (en) | The processing method of a kind of network conversion and equipment | |
CN106656919B (en) | A kind of session analytic method and system based on Telnet agreement | |
CN105225045A (en) | A kind of movable attendance checking system based on user ID and fingerprint recognition and Work attendance method | |
Xiao et al. | Accountability using flow‐net: design, implementation, and performance evaluation | |
CN107040613A (en) | A kind of message transmitting method and system | |
CN106557820A (en) | A kind of power transformation O&M standard operation mobile terminal platform | |
CN104618878B (en) | Short Message Service Gateway | |
CN104640093B (en) | Business processing device | |
CN114615082A (en) | System and method for simulating TCP duplex safety communication by using forward and reverse network gates | |
CN103595611B (en) | The realization method and system and equipment of instant messaging application | |
KR101510091B1 (en) | Real-time interaction in a communication network | |
CN106991338A (en) | Data security method, server and the client and system of cash application business | |
CN110572476B (en) | Remote control method, device and equipment | |
CN117201601A (en) | Internet of things equipment access method, device, equipment and storage medium | |
CN105915534B (en) | A kind of method that passing through firewall and electronic equipment | |
CN110233818B (en) | Method, apparatus and computer readable storage medium for testing data message anomaly | |
CN110035089A (en) | A kind of network security verification method and system of distributed system | |
CN103036879A (en) | Method for auditing QQ chat contents | |
CN111866088B (en) | Block chain based test method and device, computer equipment and storage medium | |
CN105516297B (en) | A kind of method and device of information reporting | |
CN114172958A (en) | Private computing node, system, method, apparatus, and storage medium | |
CN109639911A (en) | A kind of method, apparatus, equipment and storage medium triggering value-added service | |
CN109982274A (en) | A kind of information acquisition method, device, server and storage medium |
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 |