Method, equipment and the system that a kind of up short message sendsTechnical field
The application relates to the communications field, particularly relates to method, equipment and system that a kind of up short message sends.
Background technology
Some operation systems are had to need user to be verified by SMS reply content at present.Such as, when user uses Web bank's payment, Internet-based banking services system sends short message notification to user mobile phone, and after user mobile phone replying short message is agreed to pay, Internet-based banking services system performs delivery operation.The short message that user mobile phone is replied herein is properly termed as up short message, the short message i.e. replied to operation system by cellphone subscriber, as shown in Figure 1, this up short message is sent to SP (ServiceProvider by the short messaging gateway of operator, service provider) short message service center, up short message is sent to corresponding operation system by short message service center.
If same up short message is sent to multiple operation system, then multiple operation systems all can process this short message, it is possible to occur it not being that the up short message that this operation system processes finally is processed by this operation system originally, cause the operation of mistake.In order to consider the isolation of business, prior art is arranged an operation system can corresponding one or more SMS channels, but a SMS channel can only be used by an operation system.Short message service center's storage SMS channel and the corresponding relation of operation system, according to the SMS channel of up short message, send up short message to corresponding operation system.
But, under this up short message transmission mode, article one, SMS channel can only be used by an operation system, each operation system is made to be required for configuring one or more SMS channel, needing between SP network and carrier network to be connected by a large amount of SMS channels, this is unfavorable for the maintenance of SMS channel, simultaneously because the number of short that each SMS channel sends is few, cause SMS channel utilization rate low, cause the waste of communication resources.
Summary of the invention
This application provides method, equipment and system that a kind of up short message sends, to reduce the cost that passage accesses and safeguards, improve the utilization rate of SMS channel.
A kind of up SMS sending method, short message service center is configured with the correspondence relationship information of short message parameter and operation system, and the method includes:
After short message service center receives up short message, obtain the short message parameter carried in described up short message;
The operation system corresponding with the short message parameter carried in described up short message, according to the correspondence relationship information of described short message parameter Yu operation system, is searched by described short message service center;
Described up short message is sent to the operation system found by described short message service center.
A kind of short message service center equipment, including:
Memory element, for storing the correspondence relationship information of short message parameter and operation system;
Receive unit, be used for receiving up short message;
Acquiring unit, for obtaining the short message parameter carried in the up short message that described reception unit receives;
Search unit, for the short message parameter and the correspondence relationship information of operation system that store according to described memory element, search the operation system corresponding with the short message parameter carried in described up short message;
Transmitting element, for being sent to, by described up short message, the operation system that described lookup unit finds.
A kind of up short message transmitting system, including short message service center, multiple operation system, described short message service center is configured with the correspondence relationship information of short message parameter and operation system, wherein:
Described short message service center, for obtaining the short message parameter carried in up short message;According to the correspondence relationship information of described short message parameter Yu operation system, search the operation system corresponding with the short message parameter carried in described up short message;Described up short message is sent to the operation system found;
Described operation system, for receiving the up short message that described short message service center sends.
Compared with prior art, the application at least has the advantage that
In the application, short message service center is according to the short message parameter carried in up short message, determine the operation system that up short message is corresponding, up short message is sent to corresponding operation system, so that a SMS channel can send the up short message that multiple operation system is corresponding, it reduce the cost that passage accesses and safeguards, improve the utilization rate of SMS channel.
Accompanying drawing explanation
In order to be illustrated more clearly that embodiments of the invention or technical scheme of the prior art, the accompanying drawing used required in embodiments of the invention or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is up short message transmitting system schematic diagram in prior art;
Fig. 2 is the schematic flow sheet of the up SMS sending method that the embodiment of the present application one provides;
Fig. 3 is the up short message transmitting system schematic diagram that the application provides;
The schematic flow sheet of the up SMS sending method that Fig. 4 is corresponding with system shown in Figure 3;
Fig. 5 and Fig. 6 is the structural representation of short message service center's equipment that the application provides.
Detailed description of the invention
In prior art, short message service center determines the operation system of correspondence according to SMS channel, and a SMS channel can only be used by an operation system.In the application, short message service center is according to the short message parameter determination carried in the up short message operation system corresponding with up short message, and a SMS channel can be used by multiple operation systems.
Embodiment one
The embodiment of the present application one provides a kind of method that up short message sends, and in this embodiment, short message parameter includes short message extended code and/or specific short message content.Being configured with the correspondence relationship information of short message parameter and operation system in short message service center, this corresponding relation can include the corresponding relation of short message extended code and operation system, and/or, specific short message content and the corresponding relation of operation system.
Such as, can preset in recipient's number of up short message, except front n position or rear n position, (n is natural number, can determine according to actual application scenarios, as being the length of SP number) numeral outside numeral and/or character be note extended code (short message parameter), accordingly, short message service center can configure the corresponding relation of short message extended code and operation system.After short message service center receives up short message, recipient's number of this up short message is resolved, obtain the short message extended code (numeral in addition to front n position or rear n bit digital and/or character) wherein carried, and determine corresponding operation system according to the short message extended code of the short message extended code got and self storage with the corresponding relation of operation system.Under this scene, when user terminal sends up short message, recipient's number carries default short message extended code.
In addition, the content (such as the first two character or latter two character of up short message) that can also preset predeterminated position in up short message is short message parameter, accordingly, short message service center can configure the corresponding relation of specific short message content and operation system.After short message service center receives up short message, obtain the content of position set in advance in up short message, and determine corresponding operation system with the specific short message content that self stores with the corresponding relation of operation system according to the content got.Under this scene, user terminal is when sending up short message, and the predeterminated position at up short message inputs the content of short message preset.
Wherein, the corresponding operation system of each short message extended code, but an operation system can corresponding one or more short message extended codes.Operation system is when user terminal (such as mobile phone) sends short message, the number used can be that SP number adds extended code, user terminal directly replys up short message, and the destination Mobile Station International ISDN Number (recipient's number) of up short message is that SP number adds extended code.
Specific short message content can be the letter of preset format, number or word etc., is used for identifying unique operation system, the corresponding operation system of each specific short message content, but an operation system can corresponding one or more specific short message contents.Operation system can carry instruction information in the short message that user terminal sends, and this instruction information inputs the certain content corresponding with operation system for indicating user at the ad-hoc location (at the start or end of up short message) of up short message.
Assuming that short message service center determines the operation system corresponding with up short message according to short message extended code with specific short message content, then the method that the present embodiment provides is as in figure 2 it is shown, comprise the following steps:
Step 201, operator's short messaging gateway receives up short message, the up short message received is sent to short message service center.
Wherein, short messaging gateway can select any one SMS channel to send up short message, suitably (as being in idle condition) SMS channel can also be selected to send up short message according to the relevant information of each SMS channel and service condition etc..
Step 202, short message service center receives up short message, it is judged that the most whether carry short message extended code, if it is judged that be yes, perform step 203, otherwise performs step 204.
Concrete, it is that SP number adds extended code that short message service center obtains recipient's number of up short breath, knows that short message extended code is the extended code after SP number according to preset rules, intercepts short message extended code.
Step 203, short message service center searches the operation system corresponding with short message extended code, sends up short message to the operation system found.
Concrete, routing table can be included in short message service center, storage short message extended code and the corresponding relation of operation system in this routing table.After short message service center obtains short message extended code, in routing table, search the operation system corresponding with short message extended code.
Step 204, short message service center obtains the content of ad-hoc location in up short message, according to the operation system that this content search is corresponding, sends up short message to the operation system found.
Preferably, in routing table, store the corresponding relation of specific short message content and operation system.
It is to be appreciated that short message service center can first look for short message extended code, it is also possible to first look for specific short message content, searching short message extended code again when specific short message content search failure, both sequencings are the most unrestricted.If short message service center does not the most find short message extended code, the most do not find specific short message content, then short message service center can abandon up short message.
Additionally, in addition to said process, after short message service center receives up short message, can also judge that the Subscriber Number (sender number) of up short message is whether in the blacklist pre-set, if it is judged that be yes, then abandon up short message, otherwise, search corresponding operation system according to process shown in Fig. 2 and send up short message to corresponding operation system.
The method that the application provides is introduced below by a concrete application scenarios.As it is shown on figure 3, include short message service center, registration operation system and payment transaction system in SP.The number of SP is 8888, pre-sets and registers the short message extended code of operation system as 001, and payment transaction system is not provided with short message extended code, and its specific short message content is that short message the first two word " pays ".Preferably, same operation system only arranges short message extended code and the one in specific short message content.
The routing table internal memory of short message service center contains the correspondence relationship information of short message extended code and operation system, as shown in table 1:
Table 1
| Short message extended code | Operation system |
| 001 | Registration operation system |
In routing table, also storage has the correspondence relationship information of specific short message content and operation system, as shown in table 2:
Table 2
| Specific short message content | Operation system |
| The first two word is " payment " | Payment transaction system |
Preferably, in short message service center, also storage has blacklist, and the number in blacklist includes 138****0123,138****0124,138****0125.
As shown in Figure 4, the method that the up short message under this scene sends includes:
Step 401, registration operation system sends registration request short message to user mobile phone, and the sender number of this registration request short message is 8888001, and recipient's number is 138****0125.Such as, this registration request short message is inquiry short message, asks the user whether login account.
Step 402, operator's short messaging gateway sends up short message by arbitrary SMS channel to short message service center.
Step 403, short message service center receives up short message, obtains the short message extended code 001 wherein carried.
Step 404, short message service center searches in routing table and obtains the operation system corresponding with short message extended code 001 for registration operation system.
Step 405, whether short message service center lookup subscriber phone number 138****0125 is in blacklist, and lookup result is yes, abandons up short message.
If what short message service center received is the up short message that sends to payment transaction system of phone number 138****0125, then step 403 is searched unsuccessfully, short message service center obtains the first two word of up short message and " pays ", in routing table, lookup is the operation system that " payment " is corresponding with the first two word, i.e. payment transaction system, and then step 405 can be performed.
It is to be appreciated that step 405 is not necessarily, step 405 can not be performed, directly send up short message to the operation system found.
Based on the technology design identical with said method embodiment, the embodiment of the present application also provides for following apparatus item embodiment.
Embodiment two
The embodiment of the present application two provides a kind of short message service center equipment, as it is shown in figure 5, include:
Memory element 11, for storing the correspondence relationship information of short message parameter and operation system;
Receive unit 12, be used for receiving up short message;
Acquiring unit 13, receives, for obtaining, the short message parameter carried in the up short message that unit 12 receives;
Search unit 14, for the short message parameter according to memory element 11 storage and the correspondence relationship information of operation system, search the operation system corresponding with the short message parameter carried in described up short message;
Transmitting element 15, for being sent to the operation system that lookup unit 14 finds by described up short message.
Wherein, short message parameter can include short message extended code, and/or specific short message content, accordingly,
Memory element 11 can be specifically for, the correspondence relationship information of storage short message extended code and operation system;And/or, storage specific short message content and the correspondence relationship information of operation system;
Acquiring unit 13 then can be specifically for, resolves recipient's number of up short message, obtains the short message extended code carried in this recipient's number;And/or, obtain the content of predeterminated position in up short message.
As shown in Figure 6, this equipment can also include:
Judging unit 16, for judging that the sender number of up short message is whether in default blacklist;
Correspondingly, transmitting element 15 can be specifically for, when the judged result of judging unit 16 is no, is sent to described up short message search the operation system that unit 14 finds;When the judged result of judging unit 16 is for being, abandon described up short message.
Based on the technology design that said method embodiment is identical, the embodiment of the present application also provides for a kind of up short message transmitting system.
Embodiment three
The embodiment of the present application three provides a kind of up short message transmitting system, including short message service center, multiple operation system, is configured with the correspondence relationship information of short message parameter and operation system, wherein in described short message service center:
Described short message service center, for obtaining the short message parameter carried in up short message;According to the correspondence relationship information of described short message parameter Yu operation system, search the operation system corresponding with the short message parameter carried in described up short message;Described up short message is sent to the operation system found;
Described operation system, for receiving the up short message that described short message service center sends.
Described operation system is additionally operable to: send the short message carrying short message extended code to user terminal;Or send the short message carrying instruction information to user terminal, this instruction information inputs certain content for instruction at the ad-hoc location of up short message.
In the application, short message service center is according to the short message parameter carried in up short message, determine the operation system that up short message is corresponding, up short message is sent to corresponding operation system, so that a SMS channel can send the up short message that multiple operation system is corresponding, it reduce the cost that passage accesses and safeguards, improve the utilization rate of SMS channel.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the present invention and realize, naturally it is also possible to by hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the part that prior art is contributed by technical scheme the most in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module or flow process in accompanying drawing are not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in embodiment can describe according to embodiment to carry out being distributed in the device of embodiment, it is also possible to carry out respective change and be disposed other than in one or more devices of the present embodiment.The module of above-described embodiment can merge into a module, it is also possible to is further split into multiple submodule.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
The several specific embodiments being only the present invention disclosed above, but, the present invention is not limited to this, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.