CN100450208C - Short message encryption protection realizing method and system - Google Patents

Short message encryption protection realizing method and system Download PDF

Info

Publication number
CN100450208C
CN100450208C CNB2005101154633A CN200510115463A CN100450208C CN 100450208 C CN100450208 C CN 100450208C CN B2005101154633 A CNB2005101154633 A CN B2005101154633A CN 200510115463 A CN200510115463 A CN 200510115463A CN 100450208 C CN100450208 C CN 100450208C
Authority
CN
China
Prior art keywords
short message
encryption protection
encryption
module
information
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
Application number
CNB2005101154633A
Other languages
Chinese (zh)
Other versions
CN1867094A (en
Inventor
魏东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101154633A priority Critical patent/CN100450208C/en
Publication of CN1867094A publication Critical patent/CN1867094A/en
Application granted granted Critical
Publication of CN100450208C publication Critical patent/CN100450208C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a short message encrypted protection device which comprises a short message encrypted protection transmitting device which is arranged on a transmitting end, and a short message encrypted protection receiving device which is arranged on a receiving end, wherein when the transmitting end transmits a short message, the short message is encrypted, and a short message encrypted protection message is added to limit the receiving end to process the short message. After the receiving end receives the short message encrypted for protecting the message of the transmitting end, the short message can be processed after decryption, and the device can realize that the short message transmitting user realizes the encrypted protection for the transmitted short message at the user point of the receiving end. The short message sender has larger control rights and opportunities for the transmitted short message, and the existing short message service can better serve for extensive end users.

Description

The implementation method of short message encryption protection and system
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of implementation method and device of short message encryption protection.
Background technology
Modern society, mobile phone just mobile phone has become the indispensable communication tool of people.And in daily life, SMS (Short Message Service: short message service) generally accepted and be extensive use of by vast mobile phone consumer because of reasons such as its convenient and swift cheapnesss.
SMS is a kind of non real-time messaging service that storage is transmitted that belongs to, and it sends to receive and is divided into following five steps:
A, sender send message (SMS-SUBMIT)
The sender of the message sends SMS-SUBMIT message to SMSC (Short Message ServiceCenter: SMS service center).
B, SMSC notify the sender (SMS-SUBMIT-REPORT)
SMSC sends SMS-SUBMIT-REPORT message informing sender of the message.
C, SMSC send message (SMS-DELIVER)
SMSC sends SMS-DELIVER message to message recipient.
D, recipient notify SMSC (SMS-DELIVER-REPORT)
Message recipient sends SMS-DELIVER-REPORT message informing SMSC.
E, SMSC inform that the sender sends (SMS-STATUS-REPORT).
Nowadays, SMS is not only a kind of business, a kind of communication modes, thumb culture loved by all in a kind of especially modern day life.Send SMS message and become indispensable contact method in many people's lives.The user who sends SMS message sometimes only wishes that specific reception user can read the short message that is sent; just adopt the method for encipherment protection, only allow to know password or know decoding algorithm and the reception user of decoding key reads the short message sent.
Existing encryption protecting method mainly is that the short message receiving debit is by being provided with the access code of message function module; by this password authentification; confirm the Lawful access authority of user, to reach legal protection to content of short message in the short message module to the message function module.
Also have a kind of short message encryption protection method that cryptographic acess rather than whole message function module to single short message are provided, but this password is provided with and safeguard equally by the short message receiving debit.
The common ground of above-mentioned two kinds of short message encryption protection methods is to be selected to be provided with or not to be provided with the encipherment protection function of short message by short message recipient.The sender of short message to this without any right or selection.Need a kind of method and apparatus of short message encryption protection for this reason, can realize the short message of user that send SMS message, locate to realize encipherment protection the receiving terminal user to being sent.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide a kind of implementation method and device of short message encryption protection, can realize that the user who sends SMS message locates to realize encipherment protection to the short message that is sent the receiving terminal user.Make the short message sender bigger control right and chance be arranged to the short message that sends, make existing short message service can better service in numerous terminal uses.
The objective of the invention is to be achieved through the following technical solutions:
A kind of implementation method of short message encryption protection comprises:
A, when transmitting terminal sends SMS message, the short message encryption protection information of encipherment protection is carried out in transmission to described short message, described short message encryption protection information is at the identification information of existing 3GPP about the extend information element in the short message service SMS, comprises in this identification information: the short message sender encrypts used authentication password or corresponding cryptographic algorithm and encryption key to this short message;
B, receiving terminal are decrypted described short message according to the used authentication password of encryption in the described short message encryption protection information or cryptographic algorithm and key information, and handle described short message after receiving the short message that contains short message encryption protection information.
Described short message encryption protection information is the identification information of the existing information element in short message service SMS;
Or described short message encryption protection information is the identification information of the extend information element in short message service SMS;
Perhaps, the identifier of described short message encryption protection information in short message the text field, being provided with.
Described steps A also comprises:
A1, transmitting terminal require to select cryptographic algorithm and input encryption key according to prompting when sending SMS message;
A2, as the selection cryptographic algorithm of having confirmed the user and imported encryption key, then the cryptographic algorithm of selecting according to the user and the encryption key of input carry out encryption to short message, and short message encryption protection information is set, and send this short message.
Described steps A also comprises:
A3, transmitting terminal require the input password according to prompting when sending SMS message;
A4, inputed password, then, short message has been carried out encryption, short message encryption protection information has been set, sent this short message according to the password of user's input as having confirmed the user.
Described step B comprises:
B1, receiving terminal obtain short message encryption protection information earlier after receiving the short message that short message encryption protection information is arranged of transmitting terminal;
B2, could handle described short message after to described short message deciphering according to the requirement of short message encryption protection information.
Described step B2 comprises:
B21, when not enabling short message encryption protection, the described short message of receiving terminal disposable;
Perhaps,
B22, show that in obtaining short message encryption protection information transmitting terminal is to adopt cryptographic algorithm and encryption key to encrypt, then require receiving terminal to select corresponding decoding algorithm and import decoding key; Decoding algorithm as selection is identical with the cryptographic algorithm and the encryption key of input decoding key and transmitting terminal setting, then described short message is decrypted, but the described short message of receiving terminal disposable; Otherwise receiving terminal can not be handled described short message;
B23, show that in obtaining short message encryption protection information transmitting terminal is to adopt password to encrypt, then require receiving terminal input password; Password as input is identical with the password of transmitting terminal setting, then described short message is decrypted, but the described short message of receiving terminal disposable; Otherwise receiving terminal can not be handled described short message.
When described receiving terminal is handled described short message, as transmit described short message should be encrypt and need have same short message encryption protection information; Or, described short message is encrypted again and increased new short message encryption protection information.
The implementation method of described short message encryption protection also comprises: affirmation need be provided with short message encryption protection information, then execution in step A.
The implementation method of described short message encryption protection also comprises: set whether enable the short message encryption protection function at transmitting terminal and/or receiving terminal.
A kind of dispensing device of realizing the short message encryption protection of said method is located at the transmitting terminal of short message, comprising:
Short message encryption protection is provided with module: be used for increasing the short message encryption protection setting option at short message; According to the short message encrypting module encrypted form of short message is provided with short message encryption protection information, described short message encryption protection information is the identification information of the extend information element in the short message service SMS of existing 3GPP, comprises in this identification information: the short message sender encrypts used authentication password or corresponding cryptographic algorithm and encryption key to this short message;
The short message encrypting module: one group of text content of short message cryptographic algorithm is provided, and the cryptographic algorithm of selecting according to the user and the encryption key of input are finished the encryption function to short message; Perhaps, the password of importing according to the user is finished the encryption function to short message;
The short message subscriber interface module: the realization user is provided with the setting of short message encryption protection information in the module to short message encryption protection and checks;
The Short Message Mobile Originated module: the short message that will dispose short message encryption protection information is sent to SMSC.
It is that short message at transmitting terminal is provided with a submodule that increases in the module that described short message encryption protection is provided with module; Perhaps, described short message encrypting module is that short message at transmitting terminal is provided with a submodule that increases in the module; Perhaps, described Short Message Mobile Originated module is a submodule that increases in the message function module of transmitting terminal.
A kind of receiving system of realizing the short message encryption protection of said method is located at the receiving terminal of short message, comprising:
Short Message Mobile Terminated module: receive the short message that disposes short message encryption protection information that SMSC sends, described short message encryption protection information is the identification information of the extend information element in the short message service SMS of existing 3GPP, comprises in this identification information: the short message sender encrypts used authentication password or corresponding cryptographic algorithm and encryption key to this short message;
Short message subscriber interface module: realize user's checking and confirm to short message encryption protection information in the Short Message Mobile Terminated module;
Short message decryption processing module: receive and judge that the cryptographic algorithm and the encryption key of selected decoding algorithm and the setting of input decoding key and transmitting terminal are identical; Or reception also judges whether the password of being inputed is identical with the password of transmitting terminal setting;
As identical, then can be correctly to described short message deciphering; The described short message of receiving terminal disposable; Otherwise receiving terminal can not be handled described short message.
Described Short Message Mobile Terminated module or short message decryption processing module are submodules that increases in the message function module of receiving terminal.
A kind of short message encryption protection system that realizes said method comprises:
The dispensing device of short message encryption protection: be located at the transmitting terminal of short message, be used for when sending SMS message short message being encrypted and increasing short message encryption protection information; This short message is sent to SMSC, the restriction receiving terminal is handled short message, described short message encryption protection information is the identification information of the extend information element in the short message service SMS of existing 3GPP, comprises in this identification information: the short message sender encrypts used authentication password or corresponding cryptographic algorithm and encryption key to this short message;
The receiving system of short message encryption protection: the receiving terminal of being located at short message; be used at the short message that short message encryption protection information is arranged of receiving that transmitting terminal is sent by SMSC, and described short message deciphered the described short message of reprocessing according to described short message encryption protection Information Selection.
As seen from the above technical solution provided by the invention, the device of a kind of short message encryption protection of the present invention comprises the dispensing device and the receiving system of being located at the short message encryption protection of receiving terminal of the short message encryption protection of being located at transmitting terminal, to its encryption and increase short message encryption protection information, the restriction receiving terminal is handled described short message to transmitting terminal when sending SMS message; Receiving terminal just can be handled described short message after the deciphering after receiving the short message that short message encryption protection information is arranged of transmitting terminal, can realize that the user who sends SMS message locates to realize encipherment protection to the short message that is sent the receiving terminal user.Make the short message sender bigger control right and chance be arranged to the short message that sends, make existing short message service can better service in numerous terminal uses.
Description of drawings
Fig. 1 is the flow chart one of the implementation method of short message encryption protection of the present invention;
Fig. 2 is the flowchart 2 of the implementation method of short message encryption protection of the present invention;
Fig. 3 is the flow chart 3 of the implementation method of short message encryption protection of the present invention;
Fig. 4 is the flow chart 3 of the implementation method of short message encryption protection of the present invention;
Fig. 5 is the flow chart 3 of the implementation method of short message encryption protection of the present invention;
Fig. 6 is the structural representation of short message encryption protection of the present invention system.
Embodiment
The implementation method of a kind of short message encryption protection of the present invention, its embodiment is:
When sending SMS message, after the message function module was finished the short message establishment, whether the short message encryption protection setting option content that user in the module is set according to short message was judged to this short message encryption enabled defencive function.If the user is provided with not encryption enabled defencive function, then this short message is directly sent.If the encryption enabled defencive function is set, then point out the user input password or the prompting user select cryptographic algorithm and the input encryption key.If the user selects cancellation input password or cancellation to select cryptographic algorithm or cancellation input encryption key, then this short message directly sends.If confirm the input password or confirm to select cryptographic algorithm and the input encryption key; then by password the text content of short message of user's input is encrypted earlier or the text content of short message of user's input is encrypted by cryptographic algorithm and encryption key; and then, corresponding short message encryption protection information element data are set in SMS-SUBMIT message by invocation protocol layer short message cryptoguard user interface.And then this SMS-SUBMIT message sent this SMSC.Transmitting terminal realizes that the idiographic flow of encipherment protection short message is divided into two kinds: a kind of be by the input password to its mode of encrypting, second kind is the mode by selecting cryptographic algorithm and input encryption key to encrypt.
By the input password as shown in Figure 1 to its mode of encrypting:
Step 11, user are ready for sending short message;
The short message that is ready for sending here can be user oneself editor, also can be the short message to be transmitted of no password encryption protection.
Step 12, judge whether the short message encryption protection function need be set, execution in step 13 in this way, otherwise execution in step 16;
Step 13, system prompt user input password;
Step 14, judge whether the user confirms to input password; Execution in step 15 in this way, otherwise execution in step 16;
Step 15, to described short message encryption;
Step 16, increase short message encryption protection information element;
Step 17, send SMS message.
By selecting mode that cryptographic algorithm and input encryption key encrypt as shown in Figure 2:
Step 21, user are ready for sending short message;
The short message that is ready for sending here can be user oneself editor, also can be the short message to be transmitted of no encipherment protection.
Step 22, judge whether the short message encryption protection function need be set, execution in step 23 in this way, otherwise execution in step 29;
Step 23, system prompt user import cryptographic algorithm;
Step 24, judge whether the user confirms to import cryptographic algorithm; Execution in step 25 in this way, otherwise execution in step 29;
Step 25, system prompt user import encryption key;
Step 26, judge whether the user confirms to import encryption key; Execution in step 27 in this way, otherwise execution in step 29;
Step 27, the cryptographic algorithm of selecting according to the user and the encryption key of input are finished the encryption to short message;
Step 28, described short message is increased the encipherment protection information element;
Step 29, send SMS message.
Two above-mentioned processes have only been finished the setting of short message encryption protection at transmitting terminal, if complete realization short message encryption protection function also will be finished follow-up flow process when the receiving terminal concrete operations.Can specifically be divided into following process:
One, read short messages
When short message recipient is selected to open read short messages,, in SMS-DELIVER message, obtain corresponding short message encrypted code protection information element data by invocation protocol layer short message encryption protection user interface.Be divided into two kinds of situations: a kind of be by the input password to its mode of encrypting, second kind is the mode by selecting cryptographic algorithm and input encryption key to encrypt.
First kind of situation if this short message does not have the encryption enabled defencive function, then normally shows the detailed content of this short message.If this short message has been enabled the encipherment protection function, then the short message authentication password is imported in prompting.If authentication password is correct, then normally show the detailed content of this short message.If the authentication password mistake, then refusal is read this short message.
Second kind of situation if this text content of short message is not encrypted by the short message sender, then is shown as normal short message text.If this text content of short message has passed through short message sender's encryption, generally should be shown as mess code.At this moment, if short message recipient is wished decoding, then decoding algorithm and decoding key are selected in prompting.Have only when the user confirms that simultaneously decoding algorithm and decoding key and this decoding algorithm and decoding key adopt cryptographic algorithm and encryption key identical with the short message sender respectively, this text content of short message just may correctly be deciphered, and correctly shown, this deciphering text content of short message just is used for the interim demonstration of this reading, can not change this short message stored text content.Otherwise still be shown as mess code.
By the input password to the receiving terminal of its mode of encrypting receive need read short messages behind the short message idiographic flow as shown in Figure 3:
Step 31, receiving terminal need read short messages;
Step 32, obtain the short message encryption protection information in the short message;
Step 33, judge whether to enable the short message pin mode and encrypt, if execution in step 34, otherwise execution in step 36;
Step 34, prompting input short message authentication password;
Whether the short message authentication password of step 35, judgement input is correct; Execution in step 36 in this way, otherwise, execution in step 37;
Step 36, the described short message details of demonstration can be read;
Step 37, refusal show described short message, cannot read.
By the receiving terminal of selecting the mode that cryptographic algorithm and input encryption key encrypt receive need read short messages behind the short message idiographic flow as shown in Figure 4:
Step 41, receiving terminal need read short messages;
Step 42, obtain the short message encryption protection information in the short message;
Step 43, judge whether to enable short message cryptographic algorithm encryption key mode and add, if execution in step 44, otherwise execution in step 49;
The text that step 44, demonstration are encrypted is generally mess code, and decoding algorithm is selected in prompting;
Step 45, judge whether to confirm to have selected decoding algorithm; Execution in step 46 in this way, otherwise, execution in step 44;
Step 46, prompting input decruption key;
Step 47, judge whether to confirm to have imported decruption key; Execution in step 48 in this way, otherwise, execution in step 44;
Decoding algorithm and decruption key that whether step 48, the decruption key of judging selected decoding algorithm and input adopt with transmitting terminal respectively are identical, whether the decruption key of just judging selected decoding algorithm and input is correct, execution in step 49 in this way, otherwise, execution in step 44;
Step 49, show the correct text of described short message information, can normal reading;
Two, transmit short message
When selecting this short message to transmit, first invocation protocol layer short message encryption protection user interface obtains corresponding short message encryption protection information element data in this short message.If this short message does not have the encryption enabled defencive function, then normally transmit this short message.If this short message has been enabled the encipherment protection function, then in the short message of transmitting, add same short message encryption protection information element data, when guaranteeing that this short message is forwarded, still have the encipherment protection function.Be the increase encipherment protection function that does not have the encryption enabled defencive function and the similar discussion that do not add that sends SMS message.
Receiving terminal receives the idiographic flow that needs to transmit short message behind the short message read and is as shown in Figure 5:
Step 51, receiving terminal prepare to transmit short message;
Step 52, obtain the short message encryption protection information in the short message;
Step 53, judge whether to enable short message encryption protection, if execution in step 54, otherwise execution in step 55;
Step 54, be that described short message increases short message encryption protection information;
The short message encryption protection information here can be original same, also can increase newly.Simultaneously this process can also require earlier described short message to be decrypted, and can transmit after accurately.Certainly can encrypt for described short message again or encrypt again, its mode is similarly no longer narrated to sending SMS message.
Step 55, transmit described short message.
The short message encryption protection system of realization said method of the present invention as shown in Figure 6, comprising: the dispensing device of short message encryption protection and the receiving system of short message encryption protection, wherein:
The dispensing device of short message encryption protection: be located at the transmitting terminal of short message, comprise: short message encryption protection is provided with module, short message encrypting module, short message subscriber interface module and Short Message Mobile Originated module, wherein:
Short message encryption protection is provided with module: be used for increasing the short message encryption protection setting option at short message, short message encryption protection information is set; Described short message encryption protection information comprises cryptographic algorithm and/or encryption key.
The short message encrypting module: one group of text content of short message cryptographic algorithm is provided, and the cryptographic algorithm of selecting according to the user and the encryption key of input are finished the encryption function to short message; Perhaps, the password of importing according to the user is finished the encryption function to short message;
The short message subscriber interface module: connect short message encryption protection module is set, the realization user is provided with the setting of short message encryption protection information in the module to short message encryption protection and checks;
Short Message Mobile Originated module: connect short message encryption protection module and short message subscriber interface module are set, the short message that disposes short message encryption protection information is sent to SMSC.
The receiving system of short message encryption protection: be located at the receiving terminal of short message, comprise Short Message Mobile Terminated module, short message subscriber interface module and short message decryption processing module, wherein:
Short Message Mobile Terminated module: receive the short message that disposes short message encryption protection information that SMSC sends;
Short message subscriber interface module: connect the Short Message Mobile Terminated module, realize that the user is provided with checking of short message encryption protection information in the module to short message and confirms;
Short message decryption processing module: receive and judge that the cryptographic algorithm and the encryption key of selected decoding algorithm and the setting of input decoding key and transmitting terminal are identical; Also may be to receive and judge that the password inputed is whether identical with the password that transmitting terminal is set;
As identical, then can be correctly to described short message deciphering; The described short message of receiving terminal disposable; Otherwise receiving terminal can not be handled described short message.
Above-mentioned short message subscriber interface module is its usefulness of receiving system of the dispensing device of short message encryption protection and short message encryption protection, and is original short message subscriber interface module.
It is that short message at original sender is provided with a submodule that increases in the module that above-mentioned short message encryption protection is provided with module;
Above-mentioned short message encrypting module is that the short message at original sender is provided with a submodule that increases in the module;
Above-mentioned Short Message Mobile Originated module is a submodule that increases in the message function module of original sender;
Above-mentioned Short Message Mobile Terminated module is a submodule that increases in the message function module of former receiving terminal;
Above-mentioned short message decryption processing module is a submodule that increases in the message function module of former receiving terminal.
Above-mentioned execution mode is attached to concrete portable terminal, and its scheme is as follows:
At first, the definition of information element sign in 3GPP TS 23.040V3.9.0 agreement expands TP-UD field Header, as shown in table 1:
Table 1
The hexadecimal value implication
00 Concatenated?short?messages,8-bit?referencc?number
01 Special?SMS?Message?Indication
02 Reserved
03 Value?not?used?to?avoid?misinterpretation?as<LF>character
04 Application?port?addressing?scheme,8?bit?address
05 Application?port?addressing?scheme,16?bit?address
06 SMSC?Control?Parameters
07 UDH?Source?Indicator
08 Concatenated?short?message.16-bit?reference?number
09 Wireless?Control?Message?Protocol
0A Text?Formatting
0B Predefined?Sound
0C User?Defined?Sound(iMelody?max?128bytes)
0D Predefined?Animation
0E Large?Animation(16*16?times?4=32*4=128bytes)
0F Small?Animation(8*8times4=8*4=32bytes)
10 Large?Picture(32*32=128bytes)
11 Small?Picture(16*16=32bytes)
12 Variable?Picture
13-1F Reserved?for?future?EMS?features(see?clause?3.10)
20 RFC?822?E-Mail?Header
21-6F Reserved?for?future?use
70-7F (U)SIM?Toolkit?Security?Headers
80-9F SME?to?SME?specific?use
A0-BF Reserved?for?future?use
C0-DF SC?specific?use
E0-FF Reserved?for?future?use
Secondly, the expansion that information element in the 3GPP TS 23.040V3.9.0 agreement is identified
In order to realize text content of short message encipherment protection function, require the short message sender in the TP-UD of SMS-SUBMIT message field Header territory, to increase a short message encryption protection information element (Information Element).
This information element comprises following three parts:
1) information element sign:
From as above definition as can be seen, wherein 02,21-6F, A0-BF, E0-FF is retention, i.e. not application in existing short message is realized.So, can consider from these retentions, to choose arbitrarily the identifier of a value as the short message encryption protection information element.
The short message sender increases short message encryption protection information by this identifier in SMS-SUBMIT message, short message recipient obtains short message encryption protection information by this identifier from SMS-DELIVER message.
2) information element size:
By the input password to its mode of encrypting:
Be set to 3, i.e. three eight hytes, promptly data field subsequently comprises three eight hytes.
By selecting cryptographic algorithm and importing the mode that encryption key is encrypted:
Be set to 4, i.e. four eight hytes, promptly data field subsequently comprises four eight hytes.
3) information element data:
The corresponding different information element data of dual mode, by the input password to its mode of encrypting:
First eight hytes:
0:PASSWORD-DISABLE does not enable the short message cipher protection function;
1:PASSWORD-EABLE enables the short message cipher protection function;
Second eight hyte:
Unsigned number between the 0-255;
The 3rd
Unsigned number between the 0-255;
Second eight hyte and the 3rd eight hyte are formed the unsigned number of a sixteen bit according to the organizational form of low eight high eight-bits, the authentication password when enabling the short message cipher protection function.So the scope of this short message protection password is between the 0-65535 just.
By selecting cryptographic algorithm and importing the mode that encryption key is encrypted:
First eight hytes:
0:ENCRYPT-DISABLE does not enable text content of short message encipherment protection function;
1:ENCRYPT-EABLE enables text content of short message encipherment protection function;
Second eight hyte:
Unsigned number between the 0-255 identifies different cryptographic algorithm, promptly can select 256 kinds of different cryptographic algorithm at most;
The 3rd eight hytes:
Unsigned number between the 0-255;
The 4th
Unsigned number between the 0-255;
The 3rd eight hyte and the 4th eight hyte are formed the unsigned number of a sixteen bit according to the organizational form of low eight high eight-bits, as adopting second eight the specified cryptographic algorithm of hyte to carry out encrypted secret key to text content of short message.Promptly the scope of this text content of short message encipherment protection key is between the 0-65535 just.
Short message recipient wants to obtain short message sender's short message enciphered message element, and the SMS-DELIVER message that requires SMSC to send to short message recipient comprises short message enciphered message element same in the SMS-SUBMIT message.
In addition, also need the short message encryption protection user interface be set at protocol layer;
The corresponding different user interface of dual mode, by the input password to its mode of encrypting:
1) short message cryptoguard is provided with interface
This interface is used for the short message sender when sending SMS-SUBMIT message, if the user is provided with the short message cipher protection function, the short message protection password according to user's input increases corresponding short message cryptoguard information element in SMS-SUBMIT message.This information element has identified cipher protection function and corresponding authentication password that whether the short message sender has enabled this short message.
2) interface is obtained in short message cryptoguard
This interface is used for short message recipient when receiving SMS-DELIVER message, extracts corresponding short message cryptoguard information element from SMS-DELIVER message.This information element has identified the short message sender and whether has enabled cipher protection function and corresponding authentication password to this short message.When not having corresponding short message cryptoguard information element in the SMS-DELIVER message, defaultly think that this short message is not provided with cryptoguard.
By selecting cryptographic algorithm and importing the mode that encryption key is encrypted:
1) short message encryption protection is provided with interface
This interface is used for the short message sender when sending SMS-SUBMIT message; if the user is provided with the short message encryption protection function; cryptographic algorithm and input encryption key according to the user selectes increase corresponding short message encryption protection information element in SMS-SUBMIT message.This information element has identified encipherment protection function and respective encrypted algorithm and the encryption key whether the short message sender has enabled this short message.
2) short message encryption protection obtains interface
This interface is used for short message recipient when receiving SMS-DELIVER message, extracts corresponding short message encryption protection information element from SMS-DELIVER message.This information element has identified encipherment protection function and respective encrypted algorithm and the encryption key whether the short message sender has enabled this short message.When not having corresponding short message encryption protection information element in the SMS-DELIVER message, defaultly think that this short message is not provided with encipherment protection.
Above-mentioned implementation mainly is by existing 3GPP is realized the short message encryption protection function about the expansion of SMS related protocol and the cooperation of upper strata SMS related application, can realize the short message encryption protection function equally by following proposal certainly:
By the input password to its mode of encrypting:
1 short message sender can insert a special identifier by the ad-hoc location of the short message text data segment in the TP-UD field, the authentication password whether sign enables short message cryptoguard and this short message when sending SMS-SUBMIT message.
2 short message recipient are after receiving SMS-DELIVER message, and this special identifier is read in the relevant position of the short message text data segment in the TP-UD field, the authentication password whether sign enables short message cryptoguard and this short message.
3 concrete implementation procedure and similar process recited above; the short message cryptoguard information here that different is be by the short message text data district in the TP-UD field of SMS-DELIVER message short message send and the recipient between transmit, rather than by the short message cryptoguard information element among the TP-UD field Header of SMS-DELIVER message.
This scheme need not be to the expansion of existing SMS agreement; realize also simple relatively; but requiring short message to send the reception both sides can reach common understanding to this special identifier; yet reach this common recognition between different terminal suppliers is one and difficult thing, therefore limits the versatility of this short message cipher protection function between each SMS terminal end subscriber.
By selecting cryptographic algorithm and importing the mode that encryption key is encrypted:
1 short message sender is when sending SMS-SUBMIT message; at first cryptographic algorithm and the encryption key of selecting according to the user encrypted text content of short message; ad-hoc location by the short message text data segment in the TP-UD field inserts a special identifier then, and sign is enabled short message encryption protection and cryptographic algorithm and encryption key.
2 short message recipient are after receiving SMS-DELIVER message, and this special identifier is read in the relevant position of the short message text data segment in the TP-UD field, identifies this short message and enables short message encryption protection and cryptographic algorithm and encryption key.When deciphering, earlier this identifier is extracted out, text content of short message is being carried out corresponding decryption processing process then.
3 concrete implementation procedure and similar process recited above; the short message encryption protection information here that different is be by the short message text data district in the TP-UD field of SMS-DELIVER message short message send and the recipient between transmit, rather than by the short message encryption protection information element among the TP-UD field Header of SMS-DELIVE R message.
This scheme need not be to the expansion of existing SMS agreement, realizes also simply relatively, and requiring short message to send the reception both sides can reach common understanding to this special identifier.
The objective of the invention is; by expansion to SMS related protocol among the existing 3GPP (3GPP TS23.040V3.9.0); realization can be selected the text content of short message encipherment protection function of enabling by the short message sender; make the short message sender have bigger control right and chance to the confidentiality of the text content of short message that sends, make short message service can better service in numerous terminal uses.
Above-mentioned text content of short message encryption protecting method makes the sender of short message have bigger initiative and controlled at this content of short message function of keeping secret; simultaneously because password or this cryptographic algorithm and key can independently be provided with at each short message; and have only when the sender of short message and short message recipient to password or this cryptographic algorithm and key is reached common understanding or approximately regularly; that is to say that short message recipient just can correctly be read this short message detailed content when having only password that short message recipient knows that this short message adopts or cryptographic algorithm and key.Above-mentioned text content of short message encryption protecting method is compared with traditional short message cipher code protection method; has confidential nature more reliably; because the initiative of the encipherment protection of content of short message is in short message sender hand; and whether the sender of short message needs encipherment protection more to have a say to content of short message, but also can avoid short message mistake send out or because the content of short message that the general idea of short message recipient causes divulge a secret.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (13)

1, a kind of implementation method of short message encryption protection is characterized in that, comprising:
A, when transmitting terminal sends SMS message, the short message encryption protection information of encipherment protection is carried out in transmission to described short message, described short message encryption protection information is the identification information of the extend information element in the short message service SMS of existing 3GPP, comprises in this identification information: the short message sender encrypts used authentication password or corresponding cryptographic algorithm and encryption key to this short message;
B, receiving terminal are decrypted described short message according to the used authentication password of encryption in the described short message encryption protection information or cryptographic algorithm and key information, and handle described short message after receiving the short message that contains short message encryption protection information.
2, the implementation method of short message encryption protection according to claim 1 is characterized in that, described steps A also comprises:
A1, transmitting terminal require to select cryptographic algorithm and input encryption key according to prompting when sending SMS message;
A2, selected cryptographic algorithm and imported encryption key as confirming the user, then the cryptographic algorithm of selecting according to the user and the encryption key of input carry out encryption to short message, and short message encryption protection information is set, and send this short message.
3, the implementation method of short message encryption protection according to claim 1 is characterized in that, described steps A also comprises:
A3, transmitting terminal require the input password according to prompting when sending SMS message;
A4, inputed password, then, short message has been carried out encryption, short message encryption protection information has been set, sent this short message according to the password of user's input as confirming the user.
4, the implementation method of short message encryption protection according to claim 1 is characterized in that, described step B comprises:
B1, receiving terminal obtain short message encryption protection information earlier after receiving the short message that short message encryption protection information is arranged of transmitting terminal;
B2, could handle described short message after to described short message deciphering according to the requirement of short message encryption protection information.
5, the implementation method of short message encryption protection according to claim 4 is characterized in that, described step B2 comprises:
B21, when not enabling short message encryption protection, the described short message of receiving terminal disposable;
Perhaps,
B22, show that in obtaining short message encryption protection information transmitting terminal is to adopt cryptographic algorithm and encryption key to encrypt, then require receiving terminal to select corresponding decoding algorithm and import decoding key; Decoding algorithm as selection is identical with the cryptographic algorithm and the encryption key of input decoding key and transmitting terminal setting, then described short message is decrypted, but the described short message of receiving terminal disposable; Otherwise receiving terminal can not be handled described short message;
B23, show that in obtaining short message encryption protection information transmitting terminal is to adopt password to encrypt, then require receiving terminal input password; Password as input is identical with the password of transmitting terminal setting, then described short message is decrypted, but the described short message of receiving terminal disposable; Otherwise receiving terminal can not be handled described short message.
6, the implementation method of short message encryption protection according to claim 4 is characterized in that, when described receiving terminal is handled described short message, as transmit described short message should be encrypt and need have same short message encryption protection information; Or, described short message is encrypted again and increased new short message encryption protection information.
7, the implementation method of short message encryption protection according to claim 1 is characterized in that, also comprises: affirmation need be provided with short message encryption protection information, then execution in step A.
8, the implementation method of short message encryption protection according to claim 1 is characterized in that, also comprises: set whether enable the short message encryption protection function at transmitting terminal and/or receiving terminal.
9, a kind of dispensing device of realizing the short message encryption protection of any described method in the claim 1~8 is located at the transmitting terminal of short message, it is characterized in that, comprising:
Short message encryption protection is provided with module: be used for increasing the short message encryption protection setting option at short message; According to the short message encrypting module encrypted form of short message is provided with short message encryption protection information, described short message encryption protection information is the identification information of the extend information element in the short message service SMS of existing 3GPP, comprises in this identification information: the short message sender encrypts used authentication password or corresponding cryptographic algorithm and encryption key to this short message;
The short message encrypting module: one group of text content of short message cryptographic algorithm is provided, and the cryptographic algorithm of selecting according to the user and the encryption key of input are finished the encryption function to short message; Perhaps, the password of importing according to the user is finished the encryption function to short message;
The short message subscriber interface module: the realization user is provided with the setting of short message encryption protection information in the module to short message encryption protection and checks;
The Short Message Mobile Originated module: the short message that will dispose short message encryption protection information is sent to SMSC.
10, the dispensing device of short message encryption protection according to claim 9 is characterized in that, it is that short message at transmitting terminal is provided with a submodule that increases in the module that described short message encryption protection is provided with module; Perhaps, described short message encrypting module is that short message at transmitting terminal is provided with a submodule that increases in the module; Perhaps, described Short Message Mobile Originated module is a submodule that increases in the message function module of transmitting terminal.
11, the receiving system of the short message encryption protection of any described method in a kind of claim 1~8 is located at the receiving terminal of short message, it is characterized in that, comprising:
Short Message Mobile Terminated module: receive the short message that disposes short message encryption protection information that SMSC sends, described short message encryption protection information is the identification information of the extend information element in the short message service SMS of existing 3GPP, comprises in this identification information: the short message sender encrypts used authentication password or corresponding cryptographic algorithm and encryption key to this short message;
Short message subscriber interface module: realize that the user is by checking and confirm short message encryption protection information in the Short Message Mobile Terminated module;
Short message decryption processing module: reception is also judged selected decoding algorithm and imports decoding key identical with the cryptographic algorithm and the encryption key of transmitting terminal setting according to used authentication password of the encryption in the short message encryption protection information or corresponding cryptographic algorithm with encryption key; Or reception also judges whether the password of being inputed is identical with the password of transmitting terminal setting;
As identical, then can be correctly to described short message deciphering; The described short message of receiving terminal disposable; Otherwise receiving terminal can not be handled described short message.
12, the receiving system of short message encryption protection according to claim 11 is characterized in that, described Short Message Mobile Terminated module or short message decryption processing module are submodules that increases in the message function module of receiving terminal.
13, a kind of short message encryption protection system that realizes any described method in the claim 1~8 is characterized in that, comprising:
The dispensing device of short message encryption protection: be located at the transmitting terminal of short message, be used for when sending SMS message short message being encrypted and increasing short message encryption protection information; This short message is sent to SMSC, and the restriction receiving terminal is handled short message, and described short message encryption protection information is the identification information of the extend information element in the short message service SMS of existing 3GPP;
The receiving system of short message encryption protection: the receiving terminal of being located at short message; be used at the short message that short message encryption protection information is arranged of receiving that transmitting terminal is sent by SMSC, and described short message deciphered the described short message of reprocessing according to described short message encryption protection Information Selection.
CNB2005101154633A 2005-11-03 2005-11-03 Short message encryption protection realizing method and system Active CN100450208C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101154633A CN100450208C (en) 2005-11-03 2005-11-03 Short message encryption protection realizing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101154633A CN100450208C (en) 2005-11-03 2005-11-03 Short message encryption protection realizing method and system

Publications (2)

Publication Number Publication Date
CN1867094A CN1867094A (en) 2006-11-22
CN100450208C true CN100450208C (en) 2009-01-07

Family

ID=37425943

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101154633A Active CN100450208C (en) 2005-11-03 2005-11-03 Short message encryption protection realizing method and system

Country Status (1)

Country Link
CN (1) CN100450208C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374251B (en) * 2007-08-21 2012-04-04 康佳集团股份有限公司 Method for encrypting short message and used terminal equipment thereof
CN102083019A (en) * 2009-11-30 2011-06-01 徐克林 Method for encrypting mobile phone short message
CN101778352A (en) * 2009-12-25 2010-07-14 中兴通讯股份有限公司 Realization method and system of technology for protecting multimedia message contents
CN101815267A (en) * 2010-03-05 2010-08-25 惠州Tcl移动通信有限公司 Method for encrypting short message of mobile communication terminal
CN101951570A (en) * 2010-08-25 2011-01-19 惠州Tcl移动通信有限公司 Short message box encrypting method for mobile phone and mobile phone
CN102638776A (en) * 2011-02-14 2012-08-15 苏州巴米特信息科技有限公司 Method for enhancing SMS (Short Message Service) function
CN102523565A (en) * 2011-11-23 2012-06-27 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile communication terminal for encrypting and decrypting message data safely
CN103517224B (en) * 2012-06-27 2019-04-05 中兴通讯股份有限公司 A kind of method and system of control short message forwarding
CN104135725A (en) * 2014-08-01 2014-11-05 天津三星通信技术研究有限公司 Short message sending method and portable terminal
CN106658487B (en) * 2016-09-26 2020-07-14 惠州Tcl移动通信有限公司 Short message secret communication method and system based on chaotic algorithm
WO2018094594A1 (en) * 2016-11-23 2018-05-31 华为技术有限公司 Communication method and device
CN106559765A (en) * 2016-11-30 2017-04-05 努比亚技术有限公司 A kind of implementation method and device of SMS encryption defencive function

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5915021A (en) * 1997-02-07 1999-06-22 Nokia Mobile Phones Limited Method for secure communications in a telecommunications system
US20020035687A1 (en) * 2000-06-07 2002-03-21 Kristofer Skantze Method and device for secure wireless transmission of information
CN1408187A (en) * 1999-11-09 2003-04-02 奥兰格有限公司 System for electronic delivery of personal identification code
CN1543234A (en) * 2003-11-05 2004-11-03 大唐微电子技术有限公司 Short message security method and SIM card for implementing short message security
CN1653746A (en) * 2002-05-07 2005-08-10 无线应用软件有限公司 Method for authenticating and verifying sms communications
CN1652625A (en) * 2005-01-10 2005-08-10 章森 Short message secret technique for cell phone communication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5915021A (en) * 1997-02-07 1999-06-22 Nokia Mobile Phones Limited Method for secure communications in a telecommunications system
CN1408187A (en) * 1999-11-09 2003-04-02 奥兰格有限公司 System for electronic delivery of personal identification code
US20020035687A1 (en) * 2000-06-07 2002-03-21 Kristofer Skantze Method and device for secure wireless transmission of information
CN1653746A (en) * 2002-05-07 2005-08-10 无线应用软件有限公司 Method for authenticating and verifying sms communications
CN1543234A (en) * 2003-11-05 2004-11-03 大唐微电子技术有限公司 Short message security method and SIM card for implementing short message security
CN1652625A (en) * 2005-01-10 2005-08-10 章森 Short message secret technique for cell phone communication

Also Published As

Publication number Publication date
CN1867094A (en) 2006-11-22

Similar Documents

Publication Publication Date Title
CN100450208C (en) Short message encryption protection realizing method and system
CN101203025B (en) Method for transmitting and receiving safe mobile message
TWI241103B (en) Enhanced message security
CN101027869B (en) System and method for determining a security encoding to be applied to outgoing messages
CN101626567A (en) Short message sending and receiving method, short message sending and receiving device and mobile terminal
US10135618B2 (en) Method for using dynamic Public Key Infrastructure to send and receive encrypted messages between software applications
CN101662765A (en) Encryption system and method of short message of mobile telephone
CN101247356B (en) DHCP message passing method and system
EP1142192B1 (en) Method for negotiating weakened keys in encryption systems
EP2549778B1 (en) Method and system for encrypting short message
CN101720071A (en) Short message two-stage encryption transmission and secure storage method based on safety SIM card
CN105357007A (en) Encryption communication method and communication terminal
EP1119132A2 (en) Broadcasting encrypted messages using session keys
CN105208028A (en) Data transmission method and related device and equipment
CN101815267A (en) Method for encrypting short message of mobile communication terminal
CN105281897A (en) File encryption method and device and file decryption method and device
CN101795315A (en) System and method for encrypting short messages by using mobile phone terminal
CN101841785B (en) Method for sending encrypted message by cellphone and system thereof
CN108390755A (en) The safe input method of SIM pasting cards based on built-in security chip
CN102572750A (en) Method and terminal for protecting short messages
CN103067897A (en) Asymmetrical mobile phone short message encryption method
CN101765066A (en) Secret information transmission method based on multimedia message on intelligent mobile communication terminal
CN102523563B (en) Multimedia messaging service (MMS) encrypting method based on identity-based cryptograph (IBC) technology
CN101369887B (en) E-mail enciphered transmission method
CN101262340A (en) MMS encryption method and mobile terminal for transmitting and receiving encrypted MMS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant