Protocol server and three kinds of agreement short messages are unified the method for processing
Technical field
The present invention relates to short-message system in the fixed-line telephone network, specifically, relate to the short message technology of on fixed communication network (PSTN), handling CTSI agreement, ETSI agreement 1 and 2 three kinds of agreements of ETSI agreement simultaneously.
Background technology
About sending SMS message on the net at PSTN with information terminal, existing up till now three kinds of agreements, a kind of is that 1, two kind of ETSI agreement is an ETSI agreement 2, the third is the CTSI agreement.The ETSI agreement is formulated by ETSI, the characteristics of ETSI agreement 1 are that transport layer adopts the GSM related protocol, convenient interconnected with the GSM net, ETSI agreement 2 also is to be formulated by ETSI, but it mainly is based on the characteristics of PSTN, being more suitable in fixed network message, is the new standard of a cover fully, has the flexible characteristic of activating business; The CTSI agreement is formulated by group of China Telecom, has mainly considered the characteristics of CHINESE REGION more, and it can also realize business such as online request except realizing the point-to-point short message service.In actual applications, the fixed network message system that has had can only support a kind of agreement, has so intangibly limited user's use, can not send SMS message between the terminal of different agreement; In order to satisfy the needs of different operators, the developer need develop the different short-message system of three covers, increases development cost simultaneously; Operator has to set up many cover systems if open the short message service of multi-protocols, has strengthened operation cost.
Do not retrieve at present the document of discussing and addressing the above problem as yet.
Summary of the invention
The purpose of this invention is to provide a kind of protocol server that is used for the fixed network message system, and propose a kind of method of in comprising the short-message system of protocol server, three kinds of agreement short messages being unified processing on this basis.Can support ETSI agreement 1, ETSI agreement 2 and CTSI agreement simultaneously, the terminal for different agreement provides Short Message Service simultaneously, can send information mutually by short-message system between the different agreement terminal.
Protocol server among the present invention comprises top control module, SMPP protocol conversion module, CTSI protocol process module, ETSI P1 protocol process module, ETSI P2 protocol process module;
Communicate by letter with Fast Ethernet between described top control module and outside FSK server, aaa server, the short message service center; Described CTSI protocol process module, ETSI P1 protocol process module, three protocol modules of ETSI P2 protocol process module communicate respectively and between SMPP module, top control module;
Be distributed to other several internal modules after the Message Processing that described top control module is come external entity, issue external entity after the message that inner other modules are sent is handled simultaneously; The SMPP protocol conversion module is finished the conversion of inside and outside agreement, promptly the message conversion that three protocol modules are come is issued top control module after becoming the SMPP protocol message, issues the respective protocol module after the SMPP format messages that top control module is come converts internal agreement to simultaneously; The CTSI protocol process module is mainly finished the peculiar processing of CTSI agreement, and ETSI PI protocol process module is mainly finished the peculiar processing of ETSI P1 agreement, and ETSI P2 protocol process module is mainly finished the peculiar processing of ETSI P2 agreement.
Above-mentioned protocol server can also comprise proprietary Service Processing Module, and it receives message from three protocol modules, and proprietary business such as facsimile service, Email business, speech business are handled.
The method of in the short-message system that comprises the protocol processes server three kinds of agreement short messages being closed-handling that the present invention proposes comprises up process and descending process, and wherein up process comprises:
3.1 the user is making a call behind editor's content of short message on the information terminal;
3.2FSK server receives user's calling, and protocol server is transferred in calling, simultaneously data such as calling number is delivered to protocol server;
3.3 after protocol server is received the calling that the FSK server transfers, obtain calling number, and calling number initiated authentication to aaa server;
3.4AAA after server is received the authentication request of protocol server, judge by searching database whether this calling number has opened short message service,, at last the result returned to the protocol processes server if open the protocol type that the user then further obtains terminal;
3.5 receiving the affair device, the agreement clothes carry out alternately the short message that receiving terminal is submitted to up by FSK server and information terminal by the corresponding protocol regulation;
3.6 the short message that protocol server is submitted terminal to is changed, and is submitted to short message service center with the SMPP agreement again;
3.7 after the short message of protocol server submission is received by short message service center, store and prepare to transmit, return message to protocol server simultaneously, protocol server sends to terminal by corresponding protocol with response message again;
Descending process comprises:
3.8 short message service center arrives the protocol processes server by short-message sending under the SMPP agreement;
3.9 the protocol processes server takes out destination Mobile Station International ISDN Number from descending packet, destination Mobile Station International ISDN Number is initiated authentication request to aaa server;
3.10AAA server return authentication result gives protocol server, returns the protocol type of purpose terminal simultaneously;
3.11 after protocol server has been known the protocol type of purpose terminal, become the data format of respective protocol with issuing short message conversion;
3.12 protocol server by FSK, makes a call and following short-message sending to terminal by corresponding protocol; The final agreement server returns to short message service center to the object information of following short-message sending again.
Processing method to the short message of proprietary business is:
4.1 the user is initiating proprietary service call request behind editor's content of short message on the information terminal;
4.2 after the top control module of protocol server receives the message that the user sends up by the FSK server, message is sent to the respective protocol processing module by the protocol type of calling terminal:
4.3 protocol process module is dealt into proprietary Service Processing Module after the proprietary service message of receiving is resolved reorganization, proprietary Service Processing Module can be carried out following operation respectively according to the particular type of proprietary business:
1), at last the object information that sends is sent to short message service center with the form of receipt if facsimile service then can make a call and attempts to send fax to the purpose user;
2), and the result who submits to sent to short message service center with the form of receipt if speech business then can be submitted to the speech processes platform to message;
3), and the result who submits to sent to short message service center with the form of receipt if the email business then can be submitted to the email server to message;
4.4 short message service center is issued to the calling subscriber with the form handle of short message with holding information at last.
Adopt the present invention in a cover system, to realize three kinds of protocol short messages, not only can save development cost, and convenient management.
Description of drawings
The present invention is described further below in conjunction with accompanying drawing.
Fig. 1 is the network diagram of short-message system;
Fig. 2 is the overall construction drawing of unification short-message system;
Fig. 3 is a protocol processes server internal module structure chart;
Fig. 4 is the short message upflow figure of unification short-message system;
Fig. 5 is the descending structure chart of short message of unification short-message system;
Fig. 6 is the process chart of protocol server to upstream message.
Embodiment
In Fig. 1, the short message communication system links to each other with the TN net by trunk line, and information terminal inserts the PSTN net by signalling system No.7.Transfer of data between short-message system and information terminal adopts the FSK modulation technique.
Fig. 2 has provided the overall construction drawing of short-message system.Short-message system equipment comprises modules such as FSK server, protocol processes server, aaa server, short message service center and service handling platform.All utilize Fast Ethernet to communicate between each module of unification short-message system.For guaranteeing the reliability service of system, the protocol processes server among Fig. 2 adopts the two-node cluster hot backup mode to realize.Adopt expansion Radius agreement between protocol server and aaa server, the part of expansion mainly is the authentication part, returns the protocol type of terminal when authentication.Adopt the SMPP protocol communication between protocol server and short message service center, protocol server is connected into short message service center with ESME, carries out the transmitting-receiving of short message.
Information terminal: common telephone terminal adds that short message sends and receiving function, is information terminal (IT).
FSK access server: be responsible for the link maintenance between information terminal and short-message system, the transmission of data.
Aaa server: be responsible for the preservation of subscription authentication, mandate, charging and terminal protocol type.
Service handling platform: be in charge of the user profile data, function such as finish that the user opens an account.
Operation and Maintenance platform: be responsible for the monitoring and the maintenance of system.
Short message service center (SMC): the functions such as storage, forwarding, retry of mainly being responsible for short message.
The short message user process of opening an account is: the user opens an account to the telecom operators business hall, opens short message service, and the protocol type of own terminal is registered.The module of opening an account forms the file of opening an account with user's the data of opening an account by certain format, and is placed on the ftp server.Aaa server is regularly taken the family data file of opening an account to the ftp server, and to being saved in local data base behind the document analysis.
Fig. 3 is a protocol server structural representation of the present invention.
The protocol processes server: be key point of the present invention, be responsible for the conversion process of three kinds of agreements, the short message that terminal is submitted to sends to short message service center after by the SMPP protocol conversion and preserves; Send to terminal after the short message that short message service center is issued is changed by terminal protocol simultaneously.Protocol server is made up of top control module, SMPP modular converter, CTSI protocol process module, ETSI P1 processing module, ETSI P2 processing module, can also be made up of proprietary Service Processing Module.Top control module is mainly finished some more general functions of bottom, major function have inquiry terminal agreement, message distribution, with communicating by letter of external entity etc., be distributed to other several internal modules after the Message Processing that it comes external entity, issue external entity after the message that inner other modules are sent is handled simultaneously; The SMPP modular converter, it mainly is the conversion of inside and outside agreement, the message conversion that it comes three protocol modules is issued top control module after becoming the SMPP protocol message, issues the respective protocol module after the SMPP format messages that top control module is come converts internal agreement to simultaneously; The CTSI protocol process module is mainly finished the peculiar processing of CTSI agreement, ETSI P1 protocol process module is mainly finished the peculiar processing of ETSI P1 agreement, the ETSIP2 protocol process module is mainly finished the peculiar processing of ETSI P2 agreement, and three protocol modules mainly and between SMPP modular converter, top control module and proprietary business module communicate; Proprietary Service Processing Module mainly is the processing to facsimile service, Email business, speech business, and it receives message from three protocol modules, and then carries out concrete professional processing.
Whether the protocol processes server supports the commit point of various protocols, and the protocol type of supporting is wanted can flexible configuration, so just can better satisfy the needs of only opening a kind of agreement short message service.Can establish three configuration parameter: CTSI, ETSIP1 and ETSIP2 and represent respectively whether respective protocol is open-minded, value 1 expression is open-minded, and this kind agreement is not opened in value 0 expression.When the short-message system of unification is only opened a kind of agreement, just no longer carry out the agreement inquiry to AAA, judge that with agreement relevant flow process also will save.
Fig. 4 and Fig. 5 have described the uplink and downlink flow process of short message.
The up process of short message is divided into following steps:
1. the user is making a call to information centre behind editor's content of short message on the information terminal.
2.FSK server receives user's calling, carry out some initialization after, protocol server is transferred in calling, simultaneously data such as calling number are delivered to protocol server;
3. after protocol server is received the calling that the FSK server transfers, obtain calling number, and calling number is initiated authentication to aaa server.
4.AAA after server is received the authentication request of protocol server, judge by searching database whether this calling number has opened short message service,, at last the result returned to the protocol processes server if open the protocol type that the user then further obtains terminal.
5. the agreement clothes receive the affair device after knowing the terminal protocol type, just carry out alternately the short message that receiving terminal is submitted to up by FSK server and information terminal by the corresponding protocol regulation.
6. protocol server is changed the short message of terminal submission, is submitted to short message service center with the SMPP agreement again.
7. after the short message of protocol server submission is received by short message service center, store and prepare to transmit, return message to protocol server simultaneously, protocol server sends to terminal by corresponding protocol with response message again.So far, up process is finished.
The descending process of short message is divided into following steps:
1. short message service center arrives the protocol processes server by short-message sending under the SMPP agreement.
2. the protocol processes server takes out destination Mobile Station International ISDN Number from descending packet, and destination Mobile Station International ISDN Number is initiated authentication request to aaa server.
3.AAA server return authentication result gives protocol server, returns the protocol type of purpose terminal simultaneously.After protocol server has been known the protocol type of purpose terminal, become the data format of respective protocol with issuing short message conversion.
4. protocol server makes a call and following short-message sending to terminal by corresponding protocol by FSK.The final agreement server returns to short message service center to the object information of following short-message sending again.So far, up process is finished.
Fig. 6 is the process chart of protocol server to upstream message.For the upstream message that terminal is submitted to, protocol server will be analyzed up message according to the protocol type of calling terminal, converts the SMPP agreement at last to and is submitted to SMC, allows SMC finish storage and transmits.For the downstream message that SMC issues, protocol server will become the message conversion of SMPP form the message format of the protocol type of purpose terminal, issues terminal by the purpose terminal protocol again.If the type of message that sends is proprietary business (Fax, Voice, Email), then can change proprietary Service Processing Module and handle, proprietary business module will continue to handle after receiving request according to professional separately flow process, if facsimile service, then can open the transmission of exhaling the purpose facsimile machine to fax, if Email then can initiate request to the Email server, if the Voice business then can be submitted to voice server to request.After all kinds of proprietary Service Processing Modules are handled, the result who submits to is sent to short message service center with the form of receipt; Short message service center is issued to the calling subscriber to acknowledgement information with the form of short message at last.