CN103108322A - Data processing method, safety encryption and decryption method and safety encryption and decryption device - Google Patents

Data processing method, safety encryption and decryption method and safety encryption and decryption device Download PDF

Info

Publication number
CN103108322A
CN103108322A CN2011103621698A CN201110362169A CN103108322A CN 103108322 A CN103108322 A CN 103108322A CN 2011103621698 A CN2011103621698 A CN 2011103621698A CN 201110362169 A CN201110362169 A CN 201110362169A CN 103108322 A CN103108322 A CN 103108322A
Authority
CN
China
Prior art keywords
data
processing module
data processing
mobile phone
encrypted
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.)
Granted
Application number
CN2011103621698A
Other languages
Chinese (zh)
Other versions
CN103108322B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201110362169.8A priority Critical patent/CN103108322B/en
Publication of CN103108322A publication Critical patent/CN103108322A/en
Application granted granted Critical
Publication of CN103108322B publication Critical patent/CN103108322B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a mobile phone data processing method, a mobile phone hardware safety encryption and decryption method and a safety encryption and decryption device. A general upper layer application programming interface (API) of a mobile phone operating system is adopted to achieve communication with a subscriber identity module (SIM) card, and storage and encryption of a hardware certificate of mobile phone software are achieved. A user can achieve the safety hardware encryption of the mobile phone software only through ordinary client software and the corresponding SIM card without using a customized mobile phone.

Description

A kind of method of data processing method and safety encipher, deciphering and device thereof
Technical field
The invention belongs to data processing field, relate to method and the device thereof of a kind of data processing method and safety encipher, deciphering, method and the device thereof of a kind of data in mobile phone processing method of special design, mobile phone hardware safety encipher, deciphering.
Background technology
In recent years in Mobile business, the development of the fields such as mobile payment is swift and violent, because this market, field is huge, the user base number of holding mobile phone is huge, especially at home, and after the granting that third party's payment is taken pictures, Mobile banking and far and near end payment, a few years from now on will become the flashpoint of e-commerce field development, also will become businessman, the hotly contested spot of operator and bank.For this arrival constantly, telecom operators, Unionpay, the third party pays manufacturer and has done technological reserve in this field, has also released different products, but the mobile payment field the most important thing is fail safe, who has solved fail safe, and who will become the bellwether in this field.the product of present stage mainly contains, and some banks complete by mobile phone client software, also realizes by software safely, and just there are some potential safety hazards in this, Unionpay is at present by SD card (Secure Digital Memory Card, safe digital card) realize, having revised some mobile phone operating system bottoms reaches communication with the SD card and realizes that hardware security encrypts, this scheme is owing to having realized hardware encipher, certificate leaves in hardware, reached the purpose that solves fail safe, but brought a problem, revise bottom OS (the Operating System of mobile phone due to needs, operating system) complete realization, need mobile phone again to brush machine or customization special-purpose terminal, caused impact for follow-up popularization, the number of users development can become bottleneck.
Summary of the invention
In view of above background, the present invention uses the general upper strata API of mobile phone operating system (Application Programming Interface, application programming interface) complete and SIM card (Subscriber Identity Module, user identification module) communication, and realize that the hardware certificate of cell phone software deposits and encrypt.By the present invention, the user need not use custom-made mobile phone as long as can realize the secure hardware encryption of cell phone software by common client software and corresponding SIM card.
Data in mobile phone processing method provided by the present invention is characterized in that, comprises the following steps:
Steps A: data processing module obtains mobile phone and uses the data that produce;
Step B: data processing module is processed the data of obtaining;
Step C: the data after data processing module will be processed send and are stored in SIM card.
Preferably, data processing module is processed the data of obtaining, and comprises the following steps:
Step B1-1: data processing module calculates the data length that obtains, the mobile phone application type of definite data of obtaining;
Step B1-2: data processing module is divided into the data of obtaining the multistage that is not more than 14 bytes;
Step B1-3: data processing module is according to the mobile phone application type setting area alias code of the data of obtaining;
Step B1-4: each data segment in data processing module step B1-2 and difference number are set to the form of phone book records.
Preferably, data processing module is processed the data of obtaining, and comprises the following steps:
Step B2-1: data processing module calculates the data length that obtains, the mobile phone application type of definite data of obtaining;
Step B2-2: data processing module is divided into the data of obtaining the multistage that is not more than 137 bytes;
Step B2-2: data processing module is according to the mobile phone application type setting area alias code of the data of obtaining;
Step B2-2: each data segment in data processing module step B2-2 and difference number are set to the form of note record.
The present invention also provides a kind of method of mobile phone hardware safety encipher, comprises the following steps:
Step S401: the user operates a mobile phone and uses, and described application program of mobile phone and data processing module connect;
Step S402: application program of mobile phone sends be-encrypted data to described data processing module, and data processing module is processed described be-encrypted data;
Step S403: the data after data processing module will be encrypted send and are stored in SIM card.
Preferably, the method for mobile phone hardware safety encipher of the present invention, in step S402, data processing module is processed be-encrypted data, comprises the following steps:
Step S4021-1: data processing module receives be-encrypted data;
Step S4021-2: data processing module calculates be-encrypted data length, determines the application type of be-encrypted data;
Step S4021-3: data processing module is divided into described be-encrypted data the multistage that is not more than 14 bytes;
Step S4021-4: data processing module is according to the application type setting area alias code of be-encrypted data;
Step S4021-5: every section be-encrypted data of data processing module and difference number are set to the form of phone book records.
Preferably, the method for mobile phone hardware safety encipher of the present invention, in step S402, data processing module is processed be-encrypted data, comprises the following steps:
Step S4022-1: data processing module receives be-encrypted data;
Step S4022-2: data processing module calculates be-encrypted data length, determines the application type of be-encrypted data;
Step S4022-3: data processing module is divided into described be-encrypted data the multistage that is not more than 137 bytes;
Step S4022-4: data processing module is according to the application type setting area alias code of be-encrypted data;
Step S4022-5: every section be-encrypted data of data processing module and difference number are set to the form of note record.
Preferably, the method for mobile phone hardware safety encipher of the present invention, in step S4021-5, the form of phone book records is specially:
Front 14 bytes store be-encrypted data sections; Rear 14 bytes store data segment, length, difference number, random batch, the total number of records and current record number.
Due to SIM card phone book records GSM (Global System of Mobile communication, global system for mobile communications) only have 28 bytes in standard, 14 of fronts byte is the address list name, rear 14 bytes are phones, and rear 14 numerals that byte can only be stored 1-9, the byte mobile phone operating system in this scope is not thought forbidden character, can't be deposited into telephone directory.
for 3G (3rd-generation, the 3G (Third Generation) Moblie technology) USIM (Universal Subscriber Identity Module, whole world Subscriber Identity Module) card disposition, because 3G has adopted ADF (Application Dedicated File, application dedicated file) telephone directory storage, telephony recording can be stored mail, the information such as group, but the most basic memory contents is consistent with the ADN record of GSM, encryption method of the present invention is just used basic AND (Abbreviated Dialing Numbers, dial number condenses) record and store as data, so being fit to the usim card of 3G equally, encryption method of the present invention processes.
Above-mentioned according to segment length, the difference number, random batch, the total length of the total number of records and current record number is less than or equal to 14 bytes.
Preferably, the method for mobile phone hardware safety encipher of the present invention, in step S1022-5, the form of note record is specially:
Front 36 bytes are for the store status position, the difference number, flag bit, TP-OA (TP-Originating-Address, send the address), TP-PID (TP-Protocol-Identifier, agreement indicates pays) and TP-DCS (TP-Data-Coding-Scheme, data encoding format); Three bytes are used for the storage batch number, note sum and current note index; Last 137 bytes are used for storage be-encrypted data section.
The SIM card of GSM and the usim card of 3G, the file layout that records for note is:
Mode bit, sms center, flag bit, TP-OA, TP-PID, TP-DCS take 36 bytes altogether; Short message content accounts for 140 bytes;
Therefore, encryption method of the present invention with front 36 bytes store mode bits, is distinguished number, flag bit, TP-OA, TP-PID and TP-DCS with note form storage be-encrypted data section the time; Store respectively batch number with three bytes again, note sum and current note index; Use at last 137 bytes store be-encrypted data sections.
Preferably, the method of mobile phone hardware safety encipher of the present invention, step S103: the data after data processing module will be encrypted send and are stored in SIM card, be specially: data processing module is stored in the data after encrypting in the data storage of SIM card with the form of telephone directory or the form of note by mobile phone operating system upper strata API.
The present invention also provides a kind of method of mobile phone hardware secure decryption, comprises the following steps:
Step S1001: the user operates a mobile phone and uses, and application program of mobile phone and data processing module connect;
Step S1002: asking to data processing module of enciphered data read in the application program of mobile phone transmission, and data processing module is read enciphered data and deciphering from SIM card according to read requests;
Step S1003: the data after data processing module transmission deciphering are to application program of mobile phone.
Preferably, the method for mobile phone hardware secure decryption of the present invention, in step S1002, data processing module is read enciphered data and deciphering from SIM card according to read requests, comprise the following steps:
Step S10021-1: data processing module is determined corresponding data difference number according to the mobile phone application type;
Step S10021-2: data processing module is read the data of described data field alias code correspondence from SIM card;
Step S10021-3: data processing module extracts the data segment, length of the data of reading, random batch, the total number of records, current record number, and enciphered data section from SIM card;
Step S10021-4: data processing module is according to above-mentioned data segment, length, and random batch, the total number of records, and the current record number is combined as complete data with the enciphered data section.
Preferably, the method for mobile phone hardware secure decryption of the present invention, in step S1002, data processing module is read enciphered data and deciphering from SIM card according to read requests, comprise the following steps:
Step S10022-1: data processing module is determined corresponding data difference number according to the mobile phone application type;
Step S10022-2: data processing module is read the data of described data field alias code correspondence from SIM card;
Step S10022-3: data processing module extracts the storage batch number of the data of reading from SIM card, note sum, current note index, and enciphered data section;
Step S10022-4: data processing module is according to above-mentioned storage batch number, and note sum and current note index are combined as complete data with the enciphered data section.
The present invention also provides the device of a kind of mobile phone hardware safety encipher, deciphering, comprising: data processing module;
Data processing module is used for the processing of data in mobile phone;
Data processing module comprises: communication module, encrypting module and deciphering module;
Communication module is connected with deciphering module with encrypting module, and is provided with and mobile phone is used and SIM cards of mobile phones is connected port, is used for communicating by letter between data processing module and mobile phone application and SIM cards of mobile phones;
Encrypting module is connected with communication module, is used for the encryption of data in mobile phone;
Deciphering module is connected with communication module, is used for the deciphering of mobile phone cipher data.
Beneficial effect of the present invention is, the present invention completes communication with SIM card with the general upper strata API of mobile phone operating system, and realizes that the hardware certificate of cell phone software deposits and encrypt.By the present invention, the user need not use custom-made mobile phone as long as can realize the secure hardware encryption of cell phone software by common client software and corresponding SIM card.
Description of drawings
Fig. 1 is the flow chart of the data in mobile phone processing method of first embodiment of the invention;
Fig. 2 is the flow chart of the data in mobile phone processing method of second embodiment of the invention;
Fig. 3 is the flow chart of the data processing module deal with data of third embodiment of the invention;
Fig. 4 is the flow chart of the data processing module deal with data of fourth embodiment of the invention;
Fig. 5 is the flow chart that the data encryption of fifth embodiment of the invention is processed;
Fig. 6 is the flow chart that the data encryption of sixth embodiment of the invention is processed;
Fig. 7 is the flow chart of method of the mobile phone hardware secure decryption of seventh embodiment of the invention;
Fig. 8 is the flow chart of the enciphered data decryption processing of eighth embodiment of the invention;
Fig. 9 is the flow chart of the enciphered data decryption processing of ninth embodiment of the invention;
Figure 10 is the structural representation of device of mobile phone hardware safety encipher, the deciphering of tenth embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make Internet of things system of the present invention and its implementation is clearer, below specifically in conjunction with the drawings and the specific embodiments, Internet of things system of the present invention and its implementation are further elaborated.
Fig. 1 is the flow chart of the data in mobile phone processing method of first embodiment of the invention, and as shown in Figure 1, data in mobile phone processing method of the present invention comprises the following steps:
Steps A: data processing module obtains mobile phone and uses the data that produce;
Step B: data processing module is processed the data of obtaining;
Step C: the data after data processing module will be processed send and are stored in SIM card.
Fig. 2 is the flow chart of the data in mobile phone processing method of second embodiment of the invention, and as shown in Figure 2, data processing module is processed the data of obtaining, and comprises the following steps:
Step B1-1: data processing module calculates the data length that obtains, the mobile phone application type of definite data of obtaining;
Step B1-2: data processing module is divided into the data of obtaining the multistage that is not more than 14 bytes;
Step B1-3: data processing module is according to the mobile phone application type setting area alias code of the data of obtaining;
Step B1-4: each data segment in data processing module step B1-2 and difference number are set to the form of phone book records.
Fig. 3 is the flow chart of the data processing module deal with data of third embodiment of the invention, and as shown in Figure 3, data processing module is processed the data of obtaining, and comprises the following steps:
Step B2-1: data processing module calculates the data length that obtains, the mobile phone application type of definite data of obtaining;
Step B2-2: data processing module is divided into the data of obtaining the multistage that is not more than 137 bytes;
Step B2-2: data processing module is according to the mobile phone application type setting area alias code of the data of obtaining;
Step B2-2: each data segment in data processing module step B2-2 and difference number are set to the form of note record.
Fig. 4 is the flow chart of method of the mobile phone hardware safety encipher of fourth embodiment of the invention, and as shown in Figure 4, the method for mobile phone hardware safety encipher of the present invention comprises the following steps:
Step S401: the user operates a mobile phone and uses, and described application program of mobile phone and data processing module connect;
Step S402: application program of mobile phone sends be-encrypted data to described data processing module, and data processing module is processed described be-encrypted data;
Step S403: the data after data processing module will be encrypted send and are stored in SIM card.
Preferably, as a kind of embodiment, the present embodiment adopts the form stored encrypted data with the SIM phone book records of GSM, and as shown in Figure 5, in above-mentioned steps S402, data processing module is processed be-encrypted data, comprises the following steps:
Step S4021-1: data processing module receives be-encrypted data;
Step S4021-2: data processing module calculates be-encrypted data length, determines the application type of be-encrypted data;
Step S4021-3: data processing module is divided into described be-encrypted data according to the length of be-encrypted data the multistage that is not more than 14 bytes;
Step S4021-4: data processing module is according to the application type setting area alias code of be-encrypted data;
Step S4021-5: every section be-encrypted data of data processing module and difference number are set to the form of phone book records.
Owing to only having 28 bytes in SIM card phone book records GSM standard, 14 of fronts byte is the address list name, and rear 14 bytes are phones, and rear 14 numerals that byte can only be stored 1-9, the byte mobile phone operating system in this scope is not thought forbidden character, can't be deposited into telephone directory.For example, the input data are String, by being divided into according to being not more than 14 bytes after character conversion, inSubdata_1, inSubdata_2 ... inSubdata_n, then can define telephone number is that special number is used for special-purpose application, as define number 999999 for certain bank's mobile-phone payment certificate signature, according to the Field Count that is not more than 14 bytes processing, the definition telephony recording is as follows according to the front:
Random batch+total number of records n+ of inSubdata_1+ length+999999+ current record is several 1,
Random batch+total number of records n+ of inSubdata_2+ length+999999+ current record is several 2,
......
N is counted in random batch+total number of records n+ of inSubdata_n+ length+999999+ current record.
Preferably, as a kind of embodiment, the present embodiment adopts the form stored encrypted data with the note record, and as shown in Figure 6, in above-mentioned steps S402, data processing module is processed be-encrypted data, comprises the following steps:
Step S4022-1: data processing module receives be-encrypted data;
Step S4022-2: data processing module calculates be-encrypted data length, determines the application type of be-encrypted data;
Step S4022-3: data processing module is divided into described be-encrypted data according to the length of be-encrypted data the multistage that is not more than 137 bytes;
Step S4022-4: data processing module is according to the application type setting area alias code of be-encrypted data;
Step S4022-5: every section be-encrypted data of data processing module and difference number are set to the form of note record.
The SIM card of GSM and the usim card of 3G, the file layout that records for note is:
Mode bit, sms center, flag bit, TP-OA, TP-PID, TP-DCS take 36 bytes altogether; Short message content accounts for 140 bytes;
Therefore, encryption method of the present invention with front 36 bytes store mode bits, is distinguished number, flag bit, TP-OA, TP-PID and TP-DCS with note form storage be-encrypted data section the time; Store respectively batch number with three bytes again, note sum and current note index; Use at last 137 bytes store be-encrypted data.For example, the input data are String, by being divided into n data segment: inSubdata_1 according to being not more than 137 bytes after character conversion, inSubdata_2, ... inSubdata_n, then can define short message centre number is that special number is used for special-purpose application, is used for certain bank's mobile-phone payment certificate signature as definition number 8613999999999, and the definition note records as follows:
Mode bit+8613999999999+ flag bit+TP-OA+TP-PID+TP-DCS+ storage batch number+current note the index of note sum n+ 1+inSubdata_1;
Mode bit+8613999999999+ flag bit+TP-OA+TP-PID+TP-DCS+ storage batch number+current note the index of note sum n+ 2+inSubdata_2;
......
Mode bit+8613999999999+ flag bit+TP-OA+TP-PID+TP-DCS+ storage batch number+current note the index of note sum n+ n+inSubdata_n.
Fig. 7 is the flow chart of method of the mobile phone hardware secure decryption of seventh embodiment of the invention, and as shown in Figure 7, the method for mobile phone hardware secure decryption of the present invention comprises the following steps:
Step S1001: the user operates a mobile phone and uses, and application program of mobile phone and data processing module connect;
Step S1002: asking to data processing module of enciphered data read in the application program of mobile phone transmission, and data processing module is read enciphered data and deciphering from SIM card according to read requests;
Step S1003: the data after data processing module transmission deciphering are to application program of mobile phone.
Preferably, as a kind of embodiment, the present embodiment is for phone book records form enciphered data, and as shown in Figure 8, in above-mentioned steps S1002, data processing module is read enciphered data and deciphering from SIM card according to read requests, comprise the following steps:
Step S10021-1: data processing module is determined corresponding data difference number according to the mobile phone application type;
Step S10021-2: data processing module is read the data of described data field alias code correspondence from SIM card;
Step S10021-3: data processing module extracts the data segment, length of the data of reading, random batch, the total number of records, current record number, and enciphered data section from SIM card;
Step S10021-4: data processing module is according to above-mentioned data segment, length, and random batch, the total number of records, and the current record number is combined as complete data with the enciphered data section.
Preferably, as a kind of embodiment, the present embodiment is for recording the form enciphered data with note, and as shown in Figure 9, in above-mentioned steps S1002, data processing module is read enciphered data and deciphering from SIM card according to read requests, comprise the following steps:
Step S10022-1: data processing module is determined corresponding data difference number according to the mobile phone application type;
Step S10022-2: data processing module is read the data of described data field alias code correspondence from SIM card;
Step S10022-3: data processing module extracts the storage batch number of the data of reading from SIM card, note sum, current note index, and enciphered data section;
Step S10022-4: data processing module is according to above-mentioned storage batch number, and note sum and current note index are combined as complete data with the enciphered data section.
Figure 10 is the structural representation of device of mobile phone hardware safety encipher, the deciphering of tenth embodiment of the invention, and as shown in figure 10, the device of mobile phone hardware safety encipher of the present invention, deciphering comprises: data processing module;
Data processing module is used for the processing of data in mobile phone;
Data processing module comprises: communication module, encrypting module and deciphering module;
Communication module is connected with deciphering module with encrypting module, and is provided with and mobile phone is used and SIM cards of mobile phones is connected port, is used for communicating by letter between data processing module and mobile phone application and SIM cards of mobile phones;
Encrypting module is connected with communication module, is used for the encryption of data in mobile phone;
Deciphering module is connected with communication module, is used for the deciphering of mobile phone cipher data.
As a kind of embodiment, pass through SQL TestSimCard () in communication module, the device that the testing mobile phone hardware security is encrypted, deciphered and the communication connection between the Sim card; Obtain the data of processing from the Sim card by SQL GetSignedDataFromSIM (), for example, definition GetSignedDataFromSIM (String inData, byte[] outData, int status), wherein inData=" businessman, Taobao; tealeaves, order number: 1110-1; The amount of money: 50.00 "; Encryption to data can be undertaken by 3-DES or RSA scheduling algorithm; Generate OTP (One-Time Password, disposal password/dynamic password) by SQL GenerteOTPPassword ().
Method and the device thereof of mobile phone hardware safety encipher provided by the present invention, deciphering are completed communication with SIM card with the general upper strata API of mobile phone operating system, and realize that the hardware certificate of cell phone software deposits and encrypt.By the present invention, the user need not use custom-made mobile phone as long as can realize the secure hardware encryption of cell phone software by common client software and corresponding SIM card.
Should be noted that at last obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these were revised and modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also was intended to comprise these changes and modification.

Claims (13)

1. a data in mobile phone processing method, is characterized in that, comprises the following steps:
Steps A: data processing module obtains mobile phone and uses the data that produce;
Step B: data processing module is processed the data of obtaining;
Step C: the data after data processing module will be processed send and are stored in SIM card.
2. data in mobile phone processing method according to claim 1, is characterized in that, described data processing module is processed the data of obtaining, and comprises the following steps:
Step B1-1: data processing module calculates the data length that obtains, the mobile phone application type of definite data of obtaining;
Step B1-2: data processing module is divided into the data of obtaining the multistage that is not more than 14 bytes;
Step B1-3: data processing module is according to the mobile phone application type setting area alias code of the data of obtaining;
Step B1-4: each data segment in data processing module step B1-2 and difference number are set to the form of phone book records.
3. data in mobile phone processing method according to claim 1, is characterized in that, described data processing module is processed the data of obtaining, and comprises the following steps:
Step B2-1: data processing module calculates the data length that obtains, the mobile phone application type of definite data of obtaining;
Step B2-2: data processing module is divided into the data of obtaining the multistage that is not more than 137 bytes;
Step B2-2: data processing module is according to the mobile phone application type setting area alias code of the data of obtaining;
Step B2-2: each data segment in data processing module step B2-2 and difference number are set to the form of note record.
4. a method of utilizing the mobile phone hardware safety encipher of data in mobile phone processing method claimed in claim 1, is characterized in that, comprises the following steps:
Step S401: the user operates a mobile phone and uses, and described application program of mobile phone and data processing module connect;
Step S402: described application program of mobile phone sends be-encrypted data to described data processing module, and described data processing module is processed described be-encrypted data;
Step S403: the data after described data processing module will be encrypted send and are stored in SIM card.
5. the method for mobile phone hardware safety encipher according to claim 4, is characterized in that, in described step S402, described data processing module is processed described be-encrypted data, comprises the following steps:
Step S4021-1: data processing module receives be-encrypted data;
Step S4021-2: data processing module calculates be-encrypted data length, determines the application type of be-encrypted data;
Step S4021-3: data processing module is divided into described be-encrypted data the multistage that is not more than 14 bytes;
Step S4021-4: data processing module is according to the application type setting area alias code of be-encrypted data;
Step S4021-5: every section be-encrypted data of data processing module and difference number are set to the form of phone book records.
6. the method for mobile phone hardware safety encipher according to claim 4, is characterized in that, in described step S402, described data processing module is processed described be-encrypted data, comprises the following steps:
Step S4022-1: data processing module receives be-encrypted data;
Step S4022-2: data processing module calculates be-encrypted data length, determines the application type of be-encrypted data;
Step S4022-3: data processing module is divided into described be-encrypted data the multistage that is not more than 137 bytes;
Step S4022-4: data processing module is according to the application type setting area alias code of be-encrypted data;
Step S4022-5: every section be-encrypted data of data processing module and difference number are set to the form of note record.
7. the method for mobile phone hardware safety encipher according to claim 5, is characterized in that, in described step S4021-5, the form of described phone book records is specially:
Front 14 bytes store be-encrypted data sections; Rear 14 bytes store data segment, length, difference number, random batch, the total number of records and current record number;
Described data segment, length, the difference number, random batch, the total number of records, the total length of current record number is less than or equal to 14 bytes.
8. the method for mobile phone hardware safety encipher according to claim 5, is characterized in that, in described step S4022-5, the form of described note record is specially:
Front 36 bytes are distinguished number, flag bit, TP-OA, TP-PID and TP-DCS for the store status position; Three bytes are used for the storage batch number, note sum and current note index; Last 137 bytes are used for storage be-encrypted data section.
9. the method for mobile phone hardware safety encipher according to claim 4, it is characterized in that, described step S403: the data after described data processing module will be encrypted send and are stored in SIM card, be specially: data processing module is stored in the data after described encryption in the data storage of SIM card with the form of telephone directory or the form of note by mobile phone operating system upper strata API.
10. the method for a mobile phone hardware secure decryption, is characterized in that, comprises the following steps:
Step S1001: the user operates a mobile phone and uses, and described application program of mobile phone and data processing module connect;
Step S1002: the request that enciphered data is read in described application program of mobile phone transmission is to described data processing module, and described data processing module is read enciphered data and deciphering according to described read requests from SIM card;
Step S1003: the data after described data processing module transmission deciphering are to application program of mobile phone.
11. the method for mobile phone hardware secure decryption according to claim 10 is characterized in that, in described step S1002, described data processing module is read enciphered data and deciphering according to described read requests from SIM card, comprise the following steps:
Step S10021-1: data processing module is determined corresponding data difference number according to the mobile phone application type;
Step S10021-2: data processing module is read the data of described data field alias code correspondence from SIM card;
Step S10021-3: data processing module extracts the data segment, length of the data of reading, random batch, the total number of records, current record number, and enciphered data section from SIM card;
Step S10021-4: data processing module is according to described data segment, length, and random batch, the total number of records, and the current record number is combined as complete data with the enciphered data section.
12. the method for mobile phone hardware secure decryption according to claim 10 is characterized in that, in described step S1002, described data processing module is read enciphered data and deciphering according to described read requests from SIM card, comprise the following steps:
Step S10022-1: data processing module is determined corresponding data difference number according to the mobile phone application type;
Step S10022-2: data processing module is read the data of described data field alias code correspondence from SIM card;
Step S10022-3: data processing module extracts the storage batch number of the data of reading from SIM card, note sum, current note index, and enciphered data section;
Step S10022-4: data processing module is according to above-mentioned storage batch number, and note sum and current note index are combined as complete data with the enciphered data section.
13. the device of a mobile phone hardware safety encipher, deciphering is characterized in that, comprising: data processing module;
Described data processing module is used for data in mobile phone and processes;
Described data processing module comprises: communication module, encrypting module and deciphering module;
Described communication module is connected with deciphering module with described encrypting module, and is provided with and mobile phone is used and SIM cards of mobile phones is connected port, is used for communicating by letter between data processing module and mobile phone application and SIM cards of mobile phones;
Described encrypting module is connected with described communication module, is used for the encryption of data in mobile phone;
Described deciphering module is connected with described communication module, is used for the deciphering of mobile phone cipher data.
CN201110362169.8A 2011-11-15 2011-11-15 A kind of method of data processing method and safety encipher, deciphering and device thereof Expired - Fee Related CN103108322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110362169.8A CN103108322B (en) 2011-11-15 2011-11-15 A kind of method of data processing method and safety encipher, deciphering and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110362169.8A CN103108322B (en) 2011-11-15 2011-11-15 A kind of method of data processing method and safety encipher, deciphering and device thereof

Publications (2)

Publication Number Publication Date
CN103108322A true CN103108322A (en) 2013-05-15
CN103108322B CN103108322B (en) 2016-03-02

Family

ID=48315826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110362169.8A Expired - Fee Related CN103108322B (en) 2011-11-15 2011-11-15 A kind of method of data processing method and safety encipher, deciphering and device thereof

Country Status (1)

Country Link
CN (1) CN103108322B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106031207A (en) * 2013-12-02 2016-10-12 万事达卡国际股份有限公司 Method and system for secure tranmission of remote notification service messages to mobile devices without secure elements
CN106707978A (en) * 2015-11-13 2017-05-24 北京奇虎科技有限公司 Method of transferring intelligent household control right through address book and the address book

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1538855A2 (en) * 2003-12-01 2005-06-08 Sony Ericsson Mobile Communications Japan, Inc. Method of preventing access to a subscriber identity module in a mobile communication terminal
CN101355740A (en) * 2007-07-27 2009-01-28 佛山市顺德区顺达电脑厂有限公司 Method and system for protecting smart card data
CN101616415A (en) * 2006-09-13 2009-12-30 北京握奇数据系统有限公司 Information directly interactive method for mobile communication subscriber identification recognition card and support equipment thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1538855A2 (en) * 2003-12-01 2005-06-08 Sony Ericsson Mobile Communications Japan, Inc. Method of preventing access to a subscriber identity module in a mobile communication terminal
CN101616415A (en) * 2006-09-13 2009-12-30 北京握奇数据系统有限公司 Information directly interactive method for mobile communication subscriber identification recognition card and support equipment thereof
CN101355740A (en) * 2007-07-27 2009-01-28 佛山市顺德区顺达电脑厂有限公司 Method and system for protecting smart card data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106031207A (en) * 2013-12-02 2016-10-12 万事达卡国际股份有限公司 Method and system for secure tranmission of remote notification service messages to mobile devices without secure elements
CN106031207B (en) * 2013-12-02 2019-12-13 万事达卡国际股份有限公司 method and system for secure delivery of remote notification service messages to mobile devices without secure elements
US11334890B2 (en) 2013-12-02 2022-05-17 Mastercard International Incorporated Method and system for secure authentication of user and mobile device without secure elements
US12093954B2 (en) 2013-12-02 2024-09-17 Mastercard International Incorporated Method and system for secure authentication of user and mobile device without secure elements
CN106707978A (en) * 2015-11-13 2017-05-24 北京奇虎科技有限公司 Method of transferring intelligent household control right through address book and the address book

Also Published As

Publication number Publication date
CN103108322B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN101662765B (en) Encryption system and method of short message of mobile telephone
KR101567902B1 (en) Multi-issuer secure element partition architecture for nfc enabled devices
CN101394615B (en) Mobile payment terminal and payment method based on PKI technique
US20130165117A1 (en) Method and apparatus for registering a computing device with a service provider
CN103079193A (en) Cloud SIM (subscriber identity module) capable of freely downloading network data
CN109039652B (en) Digital certificate generation and application method
CN101329786B (en) Method and system for acquiring bank card magnetic track information or payment application for mobile terminal
WO2013182154A1 (en) Method, system and terminal for encrypting/decrypting application program on communication terminal
CN105991287A (en) Signature data generation and fingerprint authentication request method and device
CN104573551A (en) File processing method and mobile terminal
EP3230917A1 (en) System and method for enabling secure authentication
CN102867157B (en) Mobile terminal and data guard method
CN102866960A (en) Method for realizing encryption in storage card, decrypting method and device
CN102184499A (en) Account information binding method, financial transaction method and mobile terminal
CN101287193A (en) Method of protecting information stored on mobile phone when using correlated user identification card
CN104318286A (en) NFC label data management method and system and terminal
CN101610508A (en) Fingerprint verification system and method based on mobile communications network
CN109801069A (en) A method of based on pad pasting card protection digital encryption currency purse data
CN112862481A (en) Block chain digital asset key management method and system based on SIM card
CN104955029A (en) Address book protection method, address book protection device and communication system
CN105871866B (en) A kind of password management system and method based on computer hardware information
US9277403B2 (en) Authentication method and device
CN104994498B (en) The method and system that a kind of terminal applies are interacted with mobile phone card application
CN103108322B (en) A kind of method of data processing method and safety encipher, deciphering and device thereof
CN102799540A (en) Method, system and terminal for encrypting/decrypting storage card by secret key of subscriber identity module

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160302

Termination date: 20211115