Embodiment
At length set forth to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
In order to solve the problem that prior art exists, the embodiment of the 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 is used for sending SMS message to home server 102;
Home server 102 is used to receive the short message that the local first smart card transmitting terminal 101 sends, and the strange land server address according to described short message carries sends this short message by the Internet to strange land server 103;
Strange land server 103, this short message issuing that is used for receiving is to on-site at least one the second smart card receiving terminal 104 of strange land server;
The second smart card receiving terminal 104 is used to receive this short message that strange land server 103 issues.
Pass through foregoing description, as can be seen, the system of the transmission short message that the use embodiment of the invention provides, send to strange land server by home server by the Internet by the short message that the smart card transmitting terminal is sent, again by the strange land server with this short message issuing to the smart card receiving terminal, avoided thus because delaying or situation such as packet loss when changing the transmission that operator brings.
In the foregoing description, the smart card that smart card transmitting terminal and smart card receiving terminal all need use the embodiment of the invention to provide, this smart card comprises as shown in Figure 2:
Initialization module 201 when being used for intelligent card initialization, is preserved the International Mobile Station Equipment Identification of smart card transmitting terminal, and is sent to home server;
Sign comparing module 202 when being used for smart card replacing transmitting terminal, is compared the International Mobile Station Equipment Identification of current transmitting terminal and the former International Mobile Station Equipment Identification of preservation, if inequality, then replace former International Mobile Station Equipment Identification, and sends to home server;
Message transmission module 203 is used for sending SMS message to home server, and wherein said home server sends to the strange land server with described short message by the Internet.
Preferable, this smart card also comprises:
Authentication module 204 when being used to activate smart card, is carried out authentication to smart card;
Active module 205 is used for sending the request of activation to home server after authentication module 204 authentications success; After this home server checking smart card is legal, the state of smart card is updated to activates.
Preferable, this smart card also comprises: software interface module 206 on the line, are used to receive the information that software sends on the line, and send 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 the strange land server shows.
Concrete, when smart card being placed smart card transmitting terminal/receiving terminal (as mobile phone) first, need carry out initialization process, smart card obtains and preserves the International Mobile Station Equipment Identification of this transmitting terminal/receiving terminal, sends it to home server then.When this smart card changes to another transmitting terminal/receiving terminal, at 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 inequality, then use current International Mobile Station Equipment Identification to replace former International Mobile Station Equipment Identification, send to home server then, so that guarantee safety of data transmission.
Wherein, under init state, need to activate smart card, for example carry out authentication, after the success to be certified, send the request of activation to home server by user identity identification sign indicating number and password.Home server carries out legitimate verification to this smart card, verify legal after, the state of smart card is updated to activates.
Above-mentioned smart card is positioned over the smart card transmitting terminal, and when 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 invention provides, as shown in Figure 3, may further comprise the steps:
Step 301, home server receive the short message that the smart card transmitting terminal sends;
Step 302, home server send this short message by the Internet to the strange land server according to the strange land server address that short message carries;
The described short message issuing that step 302, strange land server will receive is to the smart card receiving terminal.
Home server sends to the detailed process of strange land server with short message, as shown in Figure 4, may further comprise the steps:
Step 401, according to the strange land server address that short message carries, obtain the PKI corresponding with the strange land server;
Concrete, after home server received the short message of smart card transmitting terminal transmission, according to the sign that this short message carries, whether checking smart card transmitting terminal was validated user; If the disabled user returns authentication failed message to this smart card transmitting terminal, abandon short message; If validated user verifies whether this short message is complete, if imperfect, return authentication failed message to the smart card transmitting terminal, abandon short message.
Verify that this smart card transmitting terminal is a validated user, the smart card that has promptly used the embodiment of the invention to provide, and short message that should pre-transmission complete after, this short message is resolved, get access to the address, strange land that it carries, and then obtain the strange land server and the corresponding PKI thereof of this short message.
Step 402, according to PKI, first authenticating documents and short message are encrypted, generate encrypt file, and send to the strange land server by the Internet;
Concrete, use the PKI that obtains that first authenticating documents and short message are encrypted, and the encrypt file that will encrypt generation send to the strange land server by the Internet.Wherein, first authenticating documents is used to verify as the comparison standard whether the strange land server is deciphered correctly.
Step 403, receive second authenticating documents that the strange land server sends, and second authenticating documents and first authenticating documents are compared, to be the strange land server be decrypted acquisition according to the private key of preservation to encrypt file to this second authenticating documents;
Step 404, comparison result is sent to the strange land server by the Internet.
Concrete, after the strange land server receives this encrypt file, it is decrypted according to the private key of correspondence, get access to second authenticating documents and short message, then this short message of buffer memory and this second authenticating documents is sent to home server by the Internet.Second authenticating documents and first authenticating documents that home server will receive are compared, if identical, illustrate that then strange land server deciphering is correct, and it is identical sending comparison result by the Internet to the strange land server, is proved to be successful; If inequality, illustrate that then strange land server deciphering is incorrect, it is inequality sending comparison result by the Internet to the strange land server, authentication failed.
It is identical that the strange land server receives comparison result, when being proved to be successful, issues the short message of this buffer memory to the smart card receiving terminal; If it is inequality receiving comparison result, during authentication failed, abandon this short message of buffer memory.The strange land server receives the detailed process of short message, as shown in Figure 5, may further comprise the 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 second authenticating documents and short message; Concrete, receive the encrypt file that home server sends after, obtain corresponding private key, and this encrypt file be decrypted according to this private key, obtain second authenticating documents and short message.
Step 503, buffer memory short message, and send second authenticating documents to home server by the Internet;
Step 504, second authenticating documents that receives the home server transmission and the comparison result of first authenticating documents, first authenticating documents and short message obtain encrypt file through public key encryption;
Step 505, handle short message according to comparison result.
When comparison result when being identical, after checking smart card receiving terminal is validated user, send this short message to the smart card receiving terminal; When comparison result is inequality, abandon short message.Wherein, when the smart card receiving terminal is the disabled user, this short message is sent to short message service center, issue this short message by short message service center.
Preferable, when local first smart card by line on software when home server sends information, software such as QQ, MSN for example, home server sends to the strange land server with this information by the Internet, and this strange land server sends to corresponding second intelligent card subscriber with this information.Certainly, the short message that local first smart card sends also can send to the strange land server by the Internet by home server, be issued to the operating software demonstration of corresponding second smart card again by the strange land server, for example: smart card A sends to home server B with short message, home server B sends to strange land server C by the Internet with this short message, it is QQ number that this strange land server C resolves the destination address that obtains this short message, and then this short message sends to this QQ number.
Pass through foregoing description, as can be seen, the method of using the embodiment of the invention to provide, send to the strange land server by the short message that the smart card transmitting terminal is sent by home server, again by the strange land server with this short message issuing to the smart card receiving terminal, and to the transmission short message encrypt, guarantee safety of transmission, the data that deciphering obtains to the strange land server are verified then, guarantee the correctness of short message.And when smart card receiving terminal during for the smart card that uses the embodiment of the invention and provide, the strange land server sends to short message service center with short message, is issued to receiving terminal by it.
Accordingly, the embodiment of the invention also provides a kind of server that transmits short message, as shown in Figure 6, specifically comprises: device 601 that sends SMS message and the device 602 that receives short message;
This device that sends SMS message 601 is used to receive the short message that the smart card transmitting terminal sends; Strange land server address according to short message carries sends SMS message to the strange land server by the Internet;
The device 602 that this receives short message is used for receiving the short message that another server sends by the Internet, with this short message issuing to the smart card receiving terminal.
Preferable, as shown in Figure 7, this device that sends SMS message 601 comprises:
Acquisition module 701 is used for the strange land server address that carries according to short message, obtains the PKI corresponding with the strange land server;
Encrypting module 702 is used for according to described PKI, and first authenticating documents and described short message are encrypted, and generates encrypt file, and sends to described strange land server;
Comparing module 703, be used to receive second authenticating documents that described strange land server sends, and described second authenticating documents and described first authenticating documents compared, described 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 is used for comparison result is sent to described strange land server.
Preferable, this device that sends SMS message 601 also comprises:
First authentication module 705 is used to receive the short message that the smart card transmitting terminal sends; According to the sign that described short message carries, verify whether described smart card transmitting terminal is validated user;
Second authentication module 706 is used for described first authentication module 705 and verifies when described smart card transmitting terminal is validated user, verifies whether described short message is complete;
Processing module 707 if be used to verify when described smart card transmitting terminal disabled user or described short message are imperfect, is returned authentication failed message to described smart card transmitting terminal, abandons described short message.
Preferable, as shown in Figure 8, the device 602 that this receives short message comprises:
File receiver module 801 is used to receive the encrypt file that home server sends;
Deciphering module 802 is used for according to the private key of preserving described encrypt file being decrypted, and obtains second authenticating documents and short message;
Cache module 803 is used for the described short message of buffer memory;
File send module 804 is used for sending described second authenticating documents to described home server;
Comparison receiver module 805 is used to receive described second authenticating documents of described home server transmission and the comparison result of first authenticating documents, and described first authenticating documents and described short message obtain described encrypt file through public key encryption;
Processing module 806 is used for handling described short message according to described comparison result.
Preferable, this processing module 806 comprises:
First processing sub 8061 when to be used for described comparison result be identical, after checking smart card receiving terminal is validated user, sends described short message to described smart card receiving terminal;
When second processing sub 8062, described comparison result are inequality, abandon the short message of buffer memory in the described cache module.
The server that the embodiment of the invention provides directly sends to given server with note, and the information that the smart card that this specified server receives only the embodiment of the invention to be provided sends.That is to say that smart card can not send to operator with this note, but send to home server.The method that the embodiment of the invention provides does not rely on operator, and for example, the information that the method that the user of different operators can adopt the embodiment of the invention to provide is carried out between the strange land transmits, and need not to rely on the agreement of operator.
Pass through foregoing description, as can be seen, the server that uses the embodiment of the invention to provide, send to the strange land server by the short message that the smart card transmitting terminal is sent by home server, again by the strange land server with this short message issuing to the smart card receiving terminal, and to the transmission short message encrypt, guarantee safety of transmission, the data that deciphering obtains to the strange land server are verified then, guarantee the correctness of short message.
Pass through foregoing description, as can be seen, method, server and the smart card of the transmission short message that the use embodiment of the invention provides, send to the strange land server by the short message that the smart card transmitting terminal is sent by home server, again by the strange land server with the one or more smart card receiving terminals of this short message issuing to appointment, and to the transmission short message encrypt, guarantee safety of transmission, the data that deciphering obtains to the strange land server are verified then, guarantee the correctness of short message.And when smart card receiving terminal during for the smart card that uses the embodiment of the invention and provide, the strange land server sends to short message service center with short message, is issued to receiving terminal by it.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.