Summary of the invention
The embodiment of the present invention provides a kind of method, server and smart card that transmits short message, smart card transmitting terminal sends to short message after home server, by home server by internet transmission to strange land server, again by strange land server by this short message issuing to corresponding receiving terminal, avoided changing the short message that operator brings and postponed or packet drop.
The embodiment of the present invention provides a kind of method of transmitting short message, and the method comprises:
Home server receives the short message that local the first smart card transmitting terminal sends;
The strange land server address that home server carries according to described short message, obtain the PKI corresponding with strange land server, according to described PKI, the first authenticating documents and described short message are encrypted, generate encrypt file, and send to described strange land server by the Internet;
Home server receives the second authenticating documents that described strange land server sends, and described the second authenticating documents and described the first authenticating documents are compared, and comparison result is sent to described strange land server by the Internet, described the second authenticating documents is that described strange land server is decrypted acquisition according to the private key of preserving to described encrypt file;
Described strange land server receives the encrypt file that home server sends; Private key according to preserving, is decrypted described encrypt file, obtains the second authenticating documents and described short message, and by the described short message issuing getting to on-site at least one the second smart card receiving terminal of strange land server.
Accordingly, the embodiment of the present invention also provides a kind of server that transmits short message, comprising:
The device of the device sending SMS message and reception short message;
The described device sending SMS message, the short message sending for receiving smart card transmitting terminal; The strange land server address carrying according to described short message, by the Internet, to strange land server, send described short message, the described device sending SMS message comprises: acquisition module, for the strange land server address carrying according to short message, obtains the PKI corresponding with strange land server; Encrypting module, for according to described PKI, is encrypted the first authenticating documents and described short message, generates encrypt file, and sends to described strange land server; Comparing module, the second authenticating documents sending for receiving described strange land server, and described the second authenticating documents and described the first authenticating documents are compared, described the second authenticating documents is that described strange land server is decrypted acquisition according to the private key of preserving to described encrypt file; Sending module, for sending to comparison result described strange land server;
The device of described reception short message, for receive the short message that another server sends by the Internet, by described short message issuing, to smart card receiving terminal, the device of described reception short message comprises: file receiver module, the encrypt file sending for receiving home server; Deciphering module, for according to the private key of preserving, is decrypted described encrypt file, obtains the second authenticating documents and short message.
The embodiment of the present invention provides a kind of smart card, comprising:
Initialization module, during for intelligent card initialization, preserves the International Mobile Station Equipment Identification of smart card transmitting terminal, and sends to home server;
Sign comparing module, while changing transmitting terminal for described smart card, the former International Mobile Station Equipment Identification of the International Mobile Station Equipment Identification of current smart card transmitting terminal and preservation is compared, if not identical, replace former International Mobile Station Equipment Identification, and send to described home server;
Message transmission module, for sending SMS message to described home server, the strange land server address that wherein said home server carries according to described short message, obtain the PKI corresponding with strange land server, and according to described PKI, the first authenticating documents and described short message are encrypted, generate after encrypt file, by the Internet, send to strange land server, and receive the second authenticating documents that described strange land server sends, and described the second authenticating documents and described the first authenticating documents are compared, and comparison result is sent to described strange land server by the Internet, described the second authenticating documents is that described strange land server is decrypted acquisition according to the private key of preserving to described encrypt file.
The embodiment of the present invention provides a kind of method, server and smart card that transmits short message, for home server, receives the short message that local the first smart card transmitting terminal sends; The strange land server address that home server carries according to described short message, sends described short message by the Internet to strange land server; Described strange land server arrives on-site at least one the second smart card receiving terminal of strange land server by the described short message issuing receiving.Method, server and the smart card of the transmission short message that the use embodiment of the present invention provides, smart card transmitting terminal sends to short message after home server, by home server by internet transmission to strange land server, again by strange land server by this short message issuing to corresponding receiving terminal, avoided changing the short message that operator brings and postponed or packet drop.
Embodiment
Below in conjunction with each accompanying drawing, embodiment of the present invention technical scheme main realized to principle, embodiment and the beneficial effect that should be able to reach is at length set forth.
The problem existing in order to solve prior art, the embodiment of the present invention provides a kind of system of transmitting short message, as shown in Figure 1, comprising: the first smart card transmitting terminal 101, home server 102, strange land server 103 and the second smart card receiving terminal 104;
Wherein, the first smart card transmitting terminal 101, for sending SMS message to home server 102;
Home server 102, the short message sending for receiving local the first smart card transmitting terminal 101, the strange land server address carrying according to described short message, sends this short message by the Internet to strange land server 103;
Strange land server 103, for arriving on-site at least one the second smart card receiving terminal 104 of strange land server by this short message issuing receiving;
The second smart card receiving terminal 104, this short message issuing for receiving strange land server 103.
Pass through foregoing description, can find out, the system of the transmission short message that the use embodiment of the present invention provides, by the short message that smart card transmitting terminal is sent, by home server, by the Internet, send to strange land server, again by strange land server by this short message issuing to smart card receiving terminal, avoided thus delaying or the situation such as packet loss owing to changing the transmission that operator brings.
In above-described embodiment, the smart card that uses the embodiment of the present invention to provide is all provided for smart card transmitting terminal and smart card receiving terminal, and this smart card as shown in Figure 2, comprising:
Initialization module 201, during for intelligent card initialization, preserves the International Mobile Station Equipment Identification of smart card transmitting terminal, and sends to home server;
Sign comparing module 202, while changing transmitting terminal for smart card, compares the former International Mobile Station Equipment Identification of the International Mobile Station Equipment Identification of current transmitting terminal and preservation, if not identical, replaces former International Mobile Station Equipment Identification, and sends to home server;
Message transmission module 203, for sending SMS message to home server, wherein said home server sends to strange land server by described short message by the Internet.
Preferably, this smart card also comprises:
Authentication module 204, when activating smart card, carries out authentication to smart card;
Active module 205, for after authentication module 204 authentication successes, sends activation request to home server; After this home server checking smart card is legal, the state of smart card is updated to and is activated.
Preferably, this smart card also comprises: on line, software interface module 206, for receiving the information that on line, software sends, and sends to home server, described home server is according to the form of software of described information, and the corresponding software that described information is sent to strange land server shows.
Concrete, while smart card being placed in to smart card transmitting terminal/receiving terminal (as mobile phone) first, need to carry out initialization process, smart card obtains and preserves the International Mobile Station Equipment Identification of this transmitting terminal/receiving terminal, then sends it to home server.When this smart card changes to another transmitting terminal/receiving terminal, first obtain the International Mobile Station Equipment Identification of current transmitting terminal/receiving terminal, compare with former International Mobile Station Equipment Identification, if it is not identical, use current International Mobile Station Equipment Identification to replace former International Mobile Station Equipment Identification, then send to home server, to guarantee the fail safe of transfer of data.
Wherein, under init state, need to activate smart card, for example, by user identity identification code and password, carry out authentication, after success to be certified, to home server, send activation request.Home server carries out legitimate verification to this smart card, verify legal after, the state of smart card is updated to and is activated.
Above-mentioned smart card is positioned over to smart card transmitting terminal, and while being applied to the system of above-mentioned transmission short message, can uses the method for the transmission short message that the embodiment of the present invention provides, as shown in Figure 3, comprise the following steps:
Step 301, home server receive the short message that smart card transmitting terminal sends;
The strange land server address that step 302, home server carry according to short message, sends this short message by the Internet to strange land server;
Step 302, strange land server by the described short message issuing receiving to smart card receiving terminal.
Home server sends to short message the detailed process of strange land server, as shown in Figure 4, comprises the following steps:
Step 401, the strange land server address carrying according to short message, obtain the PKI corresponding with strange land server;
Concrete, home server receives after the short message of smart card transmitting terminal transmission, the sign of carrying according to this short message, and whether checking smart card transmitting terminal is validated user; If disabled user, returns to authentication failed message to this smart card transmitting terminal, abandon short message; If validated user, verifies that whether this short message is complete, if imperfect, to smart card transmitting terminal, return to authentication failed message, abandon short message.
Verify that this smart card transmitting terminal is validated user, the smart card that has used the embodiment of the present invention to provide, and short message of this pre-transmission complete after, this short message is resolved, get the address, strange land that it carries, and then obtain strange land server and the corresponding PKI thereof of this short message.
Step 402, according to PKI, the first authenticating documents and short message are encrypted, generate encrypt file, and send to strange land server by the Internet;
Concrete, use the PKI obtaining to be encrypted the first authenticating documents and short message, and by the Internet, send to strange land server by encrypting the encrypt file generating.Wherein, the first authenticating documents is as comparison standard, for verifying whether strange land server is deciphered correctly.
The second authenticating documents that step 403, reception strange land server send, and the second authenticating documents and the first authenticating documents are compared, this second authenticating documents is that strange land server is decrypted acquisition according to the private key of preserving to encrypt file;
Step 404, comparison result is sent to strange land server by the Internet.
Concrete, strange land server receives after this encrypt file, according to corresponding private key, it is decrypted, and gets the second authenticating documents and short message, and then this short message of buffer memory also sends to home server by this second authenticating documents by the Internet.Home server is compared the second authenticating documents receiving and the first authenticating documents, if identical, illustrates that strange land server deciphering is correct, and it is identical by the Internet, to strange land server, sending comparison result, is proved to be successful; If not identical, illustrate that strange land server deciphering is incorrect, by the Internet, to strange land server, send comparison result for not identical, authentication failed.
It is identical that strange land server receives comparison result, while being proved to be successful, issues the short message of this buffer memory to smart card receiving terminal; If receive comparison result for not identical, during authentication failed, abandon this short message of buffer memory.Strange land server receives the detailed process of short message, as shown in Figure 5, comprises the following steps:
The encrypt file that step 501, reception home server send;
Step 502, according to the private key of preserving, encrypt file is decrypted, obtain the second authenticating documents and short message; Concrete, receive after the encrypt file of home server transmission, obtain corresponding private key, and according to this private key, this encrypt file is decrypted, obtain the second authenticating documents and short message.
Step 503, short message cache, and to home server, send the second authenticating documents by the Internet;
Step 504, the second authenticating documents that receives home server transmission and the comparison result of the first authenticating documents, the first authenticating documents and short message obtain encrypt file through public key encryption;
Step 505, according to comparison result, process short message.
When comparison result is while being identical, after checking smart card receiving terminal is validated user, to smart card receiving terminal, send this short message; Comparison result when not identical, is abandoned short message.Wherein, when smart card receiving terminal is disabled user, this short message is sent to ,You short message service center of short message service center and issue this short message.
Preferably, when local the first smart card by line on software while sending information to home server, softwares such as QQ, MSN, home server is crossed the Internet by this information exchange and is sent to strange land server, and this strange land server sends to corresponding the second intelligent card subscriber by this information.Certainly, the short message that local the first smart card sends also can send to strange land server by the Internet by home server, the operating software that is issued to corresponding the second smart card by strange land server again shows, for example: smart card A sends to home server B by short message, home server B sends to strange land server C by the Internet by this short message, the destination address that this strange land server C resolves this short message of acquisition is No. QQ, and this short message sends to this No. QQ.
Pass through foregoing description, can find out, the method of using the embodiment of the present invention to provide, by the short message that smart card transmitting terminal is sent, by home server, send to strange land server, again by strange land server by this short message issuing to smart card receiving terminal, and to transmission short message be encrypted, guarantee transmission fail safe, then the data that deciphering obtains to strange land server are verified, guarantee the correctness of short message.And, when smart card receiving terminal for use the embodiment of the present invention and provide smart card time, strange land server sends to short message service center by short message, by it, is issued to receiving terminal.
Accordingly, the embodiment of the present invention also provides a kind of server that transmits short message, as shown in Figure 6, specifically comprises: the device 601 sending SMS message and the device 602 that receives short message;
This device sending SMS message 601, the short message sending for receiving smart card transmitting terminal; The strange land server address carrying according to short message, sends SMS message to strange land server by the Internet;
This receives the device 602 of short message, the short message sending for receive another server by the Internet, by this short message issuing to smart card receiving terminal.
Preferably, as shown in Figure 7, this device sending SMS message 601 comprises:
Acquisition module 701, for the strange land server address carrying according to short message, obtains the PKI corresponding with strange land server;
Encrypting module 702, for according to described PKI, is encrypted the first authenticating documents and described short message, generates encrypt file, and sends to described strange land server;
Comparing module 703, the second authenticating documents sending for receiving described strange land server, and described the second authenticating documents and described the first authenticating documents are compared, described the second authenticating documents is that described strange land server is decrypted acquisition according to the private key of preserving to described encrypt file;
Sending module 704, for sending to comparison result described strange land server.
Preferably, this device sending SMS message 601 also comprises:
The first authentication module 705, the short message sending for receiving smart card transmitting terminal; The sign of carrying according to described short message, verifies whether described smart card transmitting terminal is validated user;
The second authentication module 706, while being validated user for the described smart card transmitting terminal of described the first authentication module 705 checking, verifies that whether described short message is complete;
Processing module 707, if when verifying that described smart card transmitting terminal disabled user or described short message are imperfect, returns to authentication failed message to described smart card transmitting terminal, abandons described short message.
Preferably, as shown in Figure 8, the device 602 that this receives short message, comprising:
File receiver module 801, the encrypt file sending for receiving home server;
Deciphering module 802, for according to the private key of preserving, is decrypted described encrypt file, obtains the second authenticating documents and short message;
Cache module 803, for short message described in buffer memory;
File send module 804, for sending described the second authenticating documents to described home server;
Comparison receiver module 805, for receiving described second authenticating documents of described home server transmission and the comparison result of the first authenticating documents, described the first authenticating documents and described short message obtain described encrypt file through public key encryption;
Processing module 806, for processing described short message according to described comparison result.
Preferably, this processing module 806 comprises:
First processes submodule 8061, while being identical for described comparison result, after checking smart card receiving terminal is validated user, to described smart card receiving terminal, sends described short message;
Second processes submodule 8062, and described comparison result when not identical, is abandoned the short message of buffer memory in described cache module.
The server that the embodiment of the present invention provides directly sends to given server by note, and the information that the smart card that the server of this appointment receives only the embodiment of the present invention to be provided sends.That is to say that smart card can not send to operator by this note, but send to home server.The method that the embodiment of the present invention provides does not rely on operator, and for example, the user of different operators can adopt the method that the embodiment of the present invention provides to carry out the information transmission between strange land, without the agreement that relies on operator.
Pass through foregoing description, can find out, the server that uses the embodiment of the present invention to provide, by the short message that smart card transmitting terminal is sent, by home server, send to strange land server, again by strange land server by this short message issuing to smart card receiving terminal, and to transmission short message be encrypted, guarantee transmission fail safe, then the data that deciphering obtains to strange land server are verified, guarantee the correctness of short message.
Pass through foregoing description, can find out, method, server and the smart card of the transmission short message that the use embodiment of the present invention provides, by the short message that smart card transmitting terminal is sent, by home server, send to strange land server, again by strange land server by this short message issuing the one or more smart card receiving terminals to appointment, and to transmission short message be encrypted, guarantee transmission fail safe, then the data that deciphering obtains to strange land server are verified, guarantee the correctness of short message.And, when smart card receiving terminal for use the embodiment of the present invention and provide smart card time, strange land server sends to short message service center by short message, by it, is issued to receiving terminal.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.