CN102316428A - Method for communication between mobile application client and intelligent card and device - Google Patents

Method for communication between mobile application client and intelligent card and device Download PDF

Info

Publication number
CN102316428A
CN102316428A CN201110293150A CN201110293150A CN102316428A CN 102316428 A CN102316428 A CN 102316428A CN 201110293150 A CN201110293150 A CN 201110293150A CN 201110293150 A CN201110293150 A CN 201110293150A CN 102316428 A CN102316428 A CN 102316428A
Authority
CN
China
Prior art keywords
data
smart card
applications client
short message
module
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
CN201110293150A
Other languages
Chinese (zh)
Other versions
CN102316428B (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.)
BEIJING ZHONGQINGHE SCIENCE AND TECHNOLOGY CO., LTD.
Original Assignee
FUYUAN LIXIN (BEIJING) TECHNOLOGY 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 FUYUAN LIXIN (BEIJING) TECHNOLOGY Co Ltd filed Critical FUYUAN LIXIN (BEIJING) TECHNOLOGY Co Ltd
Priority to CN201110293150.2A priority Critical patent/CN102316428B/en
Publication of CN102316428A publication Critical patent/CN102316428A/en
Application granted granted Critical
Publication of CN102316428B publication Critical patent/CN102316428B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for the data communication between a mobile application client and an intelligent card, which comprises the following processes of: a process of writing data into the intelligent card by the mobile application client, a process of reading the data in the intelligent card by the client through an address book management module, a process of writing data into the intelligent card by the mobile application client and a process of reading the data in the intelligent card by the client through a short message management module. When the method provided by the invention is utilized, the mobile application client can realize the data interaction and the data communication in any length with the intelligent card, the adoption of a third party storage medium with too high cost is avoided, the goal of cost reduction is reached, the private information in the mobile payment service transaction process can be completed in the mobile terminal, the outward information leakage is avoided, and the information security in the mobile payment service is further enhanced.

Description

Communication means and device between a kind of mobile applications client and the smart card
Technical field
The present invention relates to the information security technology of mobile terminal device and mobile payment service, relate in particular to a kind of applications client of mobile terminal device and the data communications method between the smart card.
Background technology
At present, it is very fast for example to carry out the professional expansion development of third party on the mobile phone at portable terminal, for example in fields such as mobile payment, gate inhibition, ticket checking, ticketing, traffic, data interaction transmission, logistics, storages application is arranged all.This technology mainly is to adopt smart card as safe hardware unit, and data are carried out encryption and decryption with the service security property of guaranteeing payment.
But but there is certain limitation in this application; Owing to receive the criteria limit of smart card; Smart card can not receive and send the long data of data length, therefore can't satisfy the reception and the processing and transmitting of some big data, for example special data (transaction data) digital signature is handled.Want to solve this technical problem, mainly will solve the transmission problem of big data exactly, comprise receiving and sending.
In addition; At existing mobile communication terminal (common like mobile phone); Owing to receive the restriction of operator; Adopt the existing data transmission method in smart card, to transmit ultra-long data, therefore, this has also limited the practicality of the technology that adopts smart card to carry out storage and communicate with mobile applications client.Here, said smart card, promptly Subscriber Identity Module (SIM) is commonly called as " kilocalorie ", is processed by a large scale integrated chip, and it can guarantee the versatility with credit card according to the standard size manufacturing of credit card.
Summary of the invention
In view of this, main purpose of the present invention is to provide data communications method and the device between a kind of mobile applications client and the smart card, to realize that moving the data of carrying out random length between applications client and the smart card passes the transmission of especially big data mutually.
For achieving the above object, technical scheme of the present invention is achieved in that
Data communications method between a kind of mobile applications client and the smart card, this method comprises:
A, when the user need carry out business data processing through smart card, send the business data processing instruction to mobile applications client, mobile applications client receives that the business data processing instruction from the user generates request of data information;
B, mobile applications client are discerned the operational order in the said request of data, and judge the type of this operational order, if belong to the type that data is sent to smart card, then get into step C; If belong to from the type of smart card reading of data, then get into step e;
Whether the data length that the needs that C, judgement receive are handled surpasses the predetermined length of portable terminal restriction, and as if exceeding, the data that then will handle split into some the data segments that are less than or equal to predetermined length, and execution in step D; Otherwise, add data length and hop count by mobile subscriber's client in this data front, get into step D again;
D, all data segments that add data lengths and hop count are assembled into the form of associated person information or note; And complete associated person information or note sent to address list management module or short message managing module accordingly, carry out the generation and the process of transmitting of next associated person information or short message then; Or after accomplishing the generation of all associated person informations or note, unified again address list management module or the short message managing module of sending to; Address list management module or short message managing module send to smart card with associated person information or note through system kernel; Smart card is handled the back and is stored with contact person or way of short messages;
E, utilize to move applications client to the address list management module or the short message managing module sends the contact person or note reads request; Again through address list management module or short message managing module and system kernel module read in the smart card associated person information or note, after the completion to be read to said mobile applications client feedback information;
F, move applications client receive accomplish feedback information from reading of address list management module or short message managing module after, judge the bar number of name of contact person or note; If greater than one, then many name of contact persons or note are combined into one; Otherwise, the result that the acquisition of mobile subscriber's client is read.
The said request of data information of steps A is HTTP form, note request form, phone book contact form or user-defined format.
The data that the said needs that will exceed the portable terminal restriction of step C are handled split into some the data segments that are less than or equal to predetermined length, further comprise:
Each data segment after C1, the fractionation mainly comprises data length, hop count and real data;
C2, a plurality of if the said data that need handle have after data split completion, is that the data front that every section quilt splits adds data length and hop count by mobile subscriber's client then.
The process that the said data segment with all interpolation data lengths and hop count of step D is assembled into associated person information comprises:
D1, a newly-built contact person, contact person's field contents comprises name of contact person, telephone number;
D2, the data segment that adds data length and hop count is write in the said newly-built name of contact person;
D3, contact person's telephone number writes the number of agreement, and this number can be identified at smart card one end.
After said step D, further comprise:
Said smart card carries out data processing to associated person information or the short message that receives, and store according to original fractionation rule the back of finishing dealing with, and is convenient to by correct reading.
Further comprise before the step e:
The measuring ability that mobile applications client is called portable terminal to be provided detects whether operate as normal of address list management module or short message managing module, if in proper working order, then gets access to the data after the processing through this module; Otherwise, then to mobile applications client feedback read error.
The present invention also provides a kind of portable terminal, comprises system kernel module, short message managing module and address list management module, also comprises mobile applications client, and the communication process between said mobile applications client and the smart card is following:
A, when the user need carry out business data processing through smart card, send the business data processing instruction to mobile applications client, mobile applications client receives that the business data processing instruction from the user generates request of data information;
B, mobile applications client are discerned the operational order in the said request of data, and judge the type of this operational order, if belong to the type that data is sent to smart card, then get into step C; If belong to from the type of smart card reading of data, then get into step e;
Whether the data length that the needs that C, judgement receive are handled surpasses the predetermined length of portable terminal restriction, and as if exceeding, the data that then will handle split into some the data segments that are less than or equal to predetermined length, and execution in step D; Otherwise, add data length and hop count by mobile subscriber's client in this data front, get into step D again;
D, all data segments that add data lengths and hop count are assembled into the form of associated person information or note; And complete associated person information or note sent to address list management module or short message managing module accordingly, carry out the generation and the process of transmitting of next associated person information or short message then; Or after accomplishing the generation of all associated person informations or note, unified again address list management module or the short message managing module of sending to; Address list management module or short message managing module send to smart card with associated person information or note through system kernel; Smart card is handled the back and is stored with contact person or way of short messages;
E, utilize to move applications client to the address list management module or the short message managing module sends the contact person or note reads request; Again through address list management module or short message managing module and system kernel module read in the smart card associated person information or note, after the completion to be read to said mobile applications client feedback information;
F, move applications client receive accomplish feedback information from reading of address list management module or short message managing module after, judge the bar number of name of contact person or note; If greater than one, then many name of contact persons or note are combined into one; Otherwise, the result that the acquisition of mobile subscriber's client is read.
 
Data communications method between mobile applications client provided by the present invention and the smart card has the following advantages:
Mobile applications client of the present invention can be sent data through the address list management module of mobile device terminal, and receives data through the address list management module; Or the address list management module through mobile device terminal sends data, and receives data through the short message managing module; Or the short message managing module through mobile device terminal sends data, and receives data through the short message managing module; Or the short message managing module through mobile device terminal sends data, and receives data through the address list management module; Like this, cooperate through moving applications client, make move applications client can and smart card between carry out the data communication and the data interaction of random length; Can either avoid the too high third party's storage medium of use cost; Reach the purpose that reduces cost, the most important thing is, can also the security information in the mobile payment service process of exchange be accomplished in portable terminal; Avoid information leakage, further strengthened the information security in the mobile payment service.
Description of drawings
Fig. 1 is the system configuration sketch map of the first embodiment of the present invention;
Fig. 2 is a communication process sketch map between mobile applications client and the address list management module of the embodiment of the invention one;
Fig. 3 is the modular structure sketch map of second embodiment of the invention;
Fig. 4 is a communication process sketch map between mobile applications client and address list management module, the short message managing module of the embodiment of the invention two.
[critical piece symbol description]
10: move applications client
11: the address list management module
12: the system kernel module
121: the cache management submodule
122: the system monitoring submodule
13:SIM card (being smart card)
14: the short message managing module.
Embodiment
Below in conjunction with accompanying drawing and embodiments of the invention method of the present invention is done further detailed explanation.
Embodiment one:
In the present embodiment; Main introduction is moved applications client and is sent data through the address list management module of mobile communication terminal to smart card; After smart card was handled (as encrypting), mobile applications client read the smart card data encrypted through the short message managing module again.
Fig. 1 is the system configuration sketch map of the first embodiment of the present invention; As shown in Figure 1; Functional module or parts that data communications method between mobile client of the present invention and the smart card is related mainly comprise: mobile subscriber's client 10, address list management module 11, system kernel module 12 and SIM 13.Said system kernel module 12 further comprises cache management submodule 121 and system monitoring submodule 122 again.Wherein, address list management module 11 is existing module with system kernel module 12, and the present invention utilizes their work on hand principle to realize the object of the invention.
Said mobile applications client 10; As the control module of whole technical proposal of the present invention, be positioned at user's practical operation aspect, it is professional that the user utilizes this to move applications client 10 travel all overs; Move the instruction generation request of data information of applications client 10 according to the user; And request of data information sent to address list management module 11, if data length has exceeded the limited length of portable terminal, the form that is combined into address book contact after then data being split sends; Receive through reconfiguring after all the sub-segment datas after handling and splitting, obtain data processed.
Said address list management module 11 is provided by mobile phone operating system, and this module further comprises SIM address list and cell phone address book two large divisions.
Said system monitoring submodule 122, the variation of real-time monitoring system caching management module is new situation more, will monitor advisory cache management submodule 121 then, is upgraded the data of SIM 13 by cache management submodule 121.In the whole proposal, have only this module directly to read and write data to SIM 13.
Said cache management submodule 121: actual is the cell phone system database, is used for memory communicating record and note, and the address list management module is come the dereference SIM through this module.
Said SIM 13 belongs to hardware layer, is positioned at the data storage areas of this programme; It also is the core component of whole proposal; Be used to receive contact data, and handle, after analysis, verification, contrast, fractionation data from said mobile applications client 10; Handle to mobile applications client 10 said data indirect transfer, also receive the data processed result that moves applications client 10 simultaneously indirectly.
With reference to figure 1, the effect of described each module and the relation as follows:
Said mobile applications client 10 sends to the storage format of the synthetic phone book contact of data set of smart card 13 with needs, sends to address list management module 11.Address list management module 11 belongs to mobile device terminal inside commonly used and carries module, and its concrete structure and principle do not describe in detail at this.The data of sending need make up in such a way:
Figure 2011102931502100002DEST_PATH_IMAGE001
Wherein, telephone number, available a succession of Arabic numerals are write, and length can be less than or equal to 8 usually, also can set flexibly.Effect is to be convenient to smart card 13 these data fields of identification.As in this scheme implementation example, identifier is 1234567.
Name of contact person: this part further is divided into hop count value indicating bit and real data section, and the real data section is used to deposit actual data.Because this part receives the mobile device terminal length restriction, different mobile device terminal requires for length restriction and is inequality.Therefore, if when real data length surpasses requirement for restriction, then need data be split into a plurality of data segments, each data segment is made up of three parts: data length, hop count and real data.It splits rule as follows:
Field Length Explanation
Data length 4 This segment data length, if first byte highest order is 1, then this section of expression is the final data section
Hop count 2 This segment data belongs to the hop count in the former data, begins from 0x00
Real data N Actual data
Wherein, data length: this explanation of field actual data fields and hop count field are added up, and total what bytes are represented with 1 16 system number, like 0x01, and 0x0F, 0xFF.Through this field, smart card 13 just can be confirmed the size of data that receives.
Hop count: as stated, because actual data fields receives the restriction of length and can split, therefore; Represent that with the hop count field real data is which section that total data is split; Represent with 1 16 system number, as the real data that is split into is second section, is expressed as 0x02 so.Through this field, smart card 13 can distinguish this yellow pages contact person belong to which the section, when all data all receive finish after, smart card 13 will make up data according to this field from small to large.
Real data: this field is to move the real data that applications client is sent to smart card 13.
Said address list management module 11 is after receiving data; Send the data to kernel module; Kernel module among the present invention is exactly the system kernel module 12 of existing mobile communication terminal; Need not make change, this system kernel module 12 mainly is made up of cache management submodule 121 and system monitoring submodule 122 two parts, like Fig. 1.
The data that said address list management module 11 is sent; Be kept in the cache management submodule 121; By the data variation in the said cache management submodule 121 of system monitoring submodule 122 monitoring; There in finding cache management submodule 121, have data to write to be fashionable, just judge the state of smart cards 13 by system monitoring submodule 122, as; Judge whether smart card 13 exists in the current mobile device, whether this smart card 13 meet a series of information such as mobile phone standard, its criterion and determination methods are confirmed by system monitoring submodule 122.Data write in the smart card 13; Carry module because system kernel module 12 is existing cell phone systems, detailed determination methods, criterion are variant according to the difference of mobile device terminal; This module belongs to mobile device terminal scheme of the prior art, so do not describe in detail at this.
When system kernel module 12 is kept at the data that receive in the smart card 13; After smart card 13 receives data, begin data are handled, if multiple segment data; At first make up; Obtain complete real data, judge class of service according to identifier, and the data that receive are done corresponding processing according to the different service classification by this smart card 13.
For example: if the identifier of this segment data representes and need carry out encryption to it by smart card 13 that then smart card 13 is stored in the memory of smart card 13 after it is encrypted; If the identifier of this segment data indicates these data are stored, then with these data with the format of note in smart card 13 memories.
After moving all data of applications client 10 transmission completion; Initiatively suspend preset a period of time; As 0.5 second, send the request of reading smart card 13 enciphered datas to the short message managing module 14 of mobile device terminal then, request content is that the note of a standard reads request; Meaning is to read out the specific note in the smart card 13, and specific distinguishing identifier is gone to specify by the associated data field in the request.The contact number of in this specific fields, inserting the self-built telephone directory in the instance gets final product.The form of note request has detailed Open Standard with encapsulation, can be referring to GSM11.11 and GSM03.04 standard.
After short message managing module 14 receives request; This request is sent to system kernel module 12; According to above-mentioned note request condition; Extract the enciphered data that all were handled by smart card 13 by system kernel module 12, and the data message that extracts is sent to short message managing module 14 with the mode of short message.Assemble by 14 pairs of data that receive of short message managing module again, and will assemble the data of accomplishing and send to and move applications client 10.Here, the method for said data assembling is identical with step S1 with form.
Fig. 2 is a communication process sketch map between mobile applications client and the address list management module of the embodiment of the invention one, and as shown in Figure 2, this process comprises:
Step T1: the user is through moving applications client 10 browse service information; When the user need carry out a certain business data processing through smart card 13; Will give and move applications client 10 transmission business data processing instructions, mobile applications client 10 is received from user's business data processing instruction and (like the instruction that one piece of data is encrypted, is perhaps stored the instruction of one piece of data; Perhaps read the instruction of one piece of data) generation request of data information; This request of data information can be arbitrary format, as being the HTTP(Hypertext Transport Protocol) form, also can be note request form, phone book contact form or user-defined format etc.
Step T2: move the operational order in the applications client 10 recognition data solicited messages, said operational order has two kinds, and a kind of is that data are sent to SIM, and another kind is from the SIM reading of data.If judge it is that data are sent to SIM, then get into step T3; If judge from the SIM reading of data, then get into step T8.
Step T3: judge whether the data real data segment length of the needs processing that receives has surpassed the length of portable terminal restriction, and the length restriction of portable terminal is that each portable terminal manufacturer makes by oneself at present.If exceed predetermined length, then get into step T4, otherwise, get into step T5.
Step T4: the data that will handle are carried out deconsolidation process, and handling process is following:
The data that needs are handled split into some the data segments that are less than or equal to predetermined length, and each data segment is made up of three parts: data length, hop count and real data.If it is a plurality of that the said data that need handle have, after then data segment split and accomplishes, mobile applications client was that the data front that every section quilt splits adds data length and skew, gets into step T6;
Step T5: move applications client and add data length and hop count in the data front.
Step T6: all data segments that add data length and hop count are carried out following steps successively, it is assembled into the form of associated person information.
A. a newly-built contact person, the contact field content comprises name of contact person, telephone number;
B. the data segment that adds data length and hop count is write in the newly-built name of contact person;
C. contact person's telephone number writes the number of special agreement, as 9999999.The number of agreement can accurately be discerned at smart card 13 1 ends.
Step T7: complete associated person information is sent to address list management module 11, carry out the generation and the transmission of next associated person information then; After also can accomplishing the generation of all associated person informations, the unified again address list management module 11 that sends to.
Step T8: mobile applications client is sent the contact person to the address list management module and is read request.
Step T9: the contact person in the address list management module 11 reading system kernel modules 12; This contact person can be through the contact person after the data processing, for example encrypts, signature etc. perhaps pure storage; After reading completion, read completion to mobile applications client 10 feedbacks; Address list management module 11 All Contacts's name that a particular number is corresponding reads in the scratchpad area (SPA), and the scratchpad area (SPA) is specified by mobile device terminal voluntarily, and the functional interface that only need call mobile device terminal provides gets final product.
Step T10: after mobile applications client 10 is received the feedback information that reads completion from address list management module 11, judge the bar number of name of contact person,, get into step T11 if greater than 1; Otherwise, get into step 12;
T11: many name of contact persons are combined into 1;
T12: move applications client and obtain the result.
In the such scheme,, split again after the processing and store if storage just after step T7, after address list management module 11 sends to SIM 13 with complete associated person information, is stored or data processing such as encryption by 13 pairs of above-mentioned data of SIM; And the contact person after splitting can be when address list management module 11 reads this contact person, and the All Contacts that jack per line is corresponding all can read.Guaranteeing to move applications client 10 can the required data of complete acquisition.
Also comprise before the said step T8: move measuring ability that applications client 10 calls mobile device terminal and provide and detect whether operate as normal of address list management module 11.Only under address list management module 11 situation in proper working order, could get access to data encrypted through this module, if undesired, to mobile applications client 10 feedback read error.The measuring ability that mobile device terminal provides is according to different device ends, the difference of system platform and difference by mobile device terminal by oneself, does not describe in detail at this.
 
Embodiment two:
Among the embodiment of this programme, the main introduction moved applications client and sent data through the address list management module of portable terminal, handle (signature, encrypt or storage) by smart card after, read the data after the processing through short message managing module 14 again.
Fig. 3 is the modular structure sketch map of second embodiment of the invention; As shown in the figure; Related functional module or the parts of data communications method that the present invention moves between applications client and the smart card mainly comprise: mobile subscriber's client 10, address list management module 11, short message managing module 14, system kernel module 12 and SIM 13.Said system kernel module 12 further comprises cache management submodule 121 and system monitoring submodule 122.Wherein, short message managing module 14 is prior art with address list management module 11 and system kernel module 12, and they do not make change with the Principle of Communication between the smart card.
Said mobile applications client 10 as the control module of technical scheme of the present invention, is positioned at user's practical operation aspect; It is professional that the user utilizes this to move applications client 10 travel all overs; Move the instruction generation request of data information of applications client 10, and request of data information is sent to address list management module 11, if data length has exceeded the limited length of portable terminal according to the user; The form that is combined into address book contact after then data being split sends to address list management module 11; Address list management module 11 is forwarded to SIM 13 through system kernel module 12, after SIM 13 is handled, splits the back storage according to identical fractionation mode; Move applications client 10 and read through reconfiguring after all the sub-segment datas after handling and splitting, obtain data processed through short message managing module 14.
Said address list management module 11 is provided by mobile phone operating system, and this module further comprises SIM address list and cell phone address book two large divisions.
Said system monitoring submodule 122, the variation of real-time monitoring system cache management submodule 122 is new situation more, will monitor advisory cache management submodule 121 then, is upgraded the data of SIM 13 by cache management submodule 121.In the whole proposal, have only this module that the request that directly reads and writes data to SIM 13 is arranged.Said cache management submodule 121, actual is the cell phone system database, is used for memory communicating record and note, short message managing module 14 is all come dereference SIM 13 through said cache management submodule 121 with address list management module 11.
Said SIM 13; Be used to receive contact data from said mobile applications client 10; And handle; After analysis, verification, contrast, fractionation data, handle to mobile applications client 10 said data indirect transfer, also indirect receives the data processed result that moves applications client 10 simultaneously.
Said short message managing module 14 for existing module, comprises SMS and SIM note two parts, is used for SIM 13 with the communication of read-write way of short messages.
With reference to figure 3, described each module effect and the relation as follows:
Said mobile applications client 10 is synthesized the storage format of an address list with data set, and sends to address list management module 11.
Here, said address list management module 11 belongs to the inner own module of mobile device terminal commonly used, and its concrete structure and principle do not describe in detail at this.The data of sending need make up in such a way:
Figure 2011102931502100002DEST_PATH_IMAGE002
Wherein, telephone number: write with a succession of Arabic numerals, length can be less than or equal to 8 usually, also can set flexibly.Effect is to be convenient to smart card 13 these data fields of identification.As in this scheme implementation example, identifier is 1234567.
Name of contact person: this part further is divided into hop count value indicating bit and real data section, and the real data section is used to deposit actual data.Because this part receives the mobile device terminal length restriction, different mobile device terminal requires for length restriction and is inequality.Therefore, if when real data length surpasses requirement for restriction, then need data be split into a plurality of sections, every segment data has three attributes: data length, hop count and real data.It splits rule as follows:
Field Length Explanation
Data length 4 This segment data length, if first byte highest order is 1, then this section of expression is the final data section
Hop count 2 This segment data belongs to the hop count in the former data, begins from 0x00
Real data N Actual data
Wherein, data length: this explanation of field actual data fields and hop count field are added up, and total what bytes are represented with 1 16 system number, like 0x01, and 0x0F, 0xFF.Through this field, smart card 13 just can confirm to send to the size of data of smart card 13.
Hop count: as stated, because actual data fields receives the restriction of length and can split, therefore; Represent that with the hop count field real data is which section that total data is split; Represent with 1 16 system number, as the real data that is split into is second section, is expressed as 0x02 so.Through this field, smart card 13 can distinguish this yellow pages contact person belong to which the section, when all data all receive finish after, smart card 13 will make up data according to this field from little arrival.
Real data: this field is to move the real data that applications client 10 is sent to smart card 13.
Said address list management module 11 is after receiving data; Send the data to kernel module; This kernel module is exactly the system kernel module 12 of existing mobile communication terminal; Need not do any change, this kernel module 12 mainly is made up of cache management submodule 121 and system monitoring submodule 122 two parts.
The data that said address list management module 11 is sent; Be kept in the cache management submodule 121; System monitoring submodule 122 is used for monitoring in real time the data variation of said cache management submodule 121; There in finding cache management submodule 121, have data to write to be fashionable, then judges, and write data in the smart card 13 and go.Carry module because system kernel module 12 is existing cell phone systems, detailed determination methods, criterion are variant according to the difference of mobile device terminal, and this module belongs to mobile device terminal scheme of the prior art, does not do detailed introduction at this.
Said system kernel module 12 is kept at the data that receive in the smart card 13; After smart card 13 is received data; Begin data are signed, the methods of data signature, different smart cards 13 have nothing in common with each other; Ciphering process and data preservation work are accomplished by smart card 13 voluntarily, also are not described in detail here.
When mobile applications client 10 all data send accomplish after, according to above-mentioned flow process, smart card 13 can be automatically to all data signatures, in this embodiment, will the sign data of completion of smart card 13 are preserved with the form of yellow pages contact person.So far, accomplished the process of mobile applications client 10 to smart card 13 write datas.
After said mobile applications client 10 is sent and is accomplished all data; Initiatively suspend preset a period of time; As 0.5 second, send the request of reading smart card 13 signature back enciphered datas to the address list management module 11 of mobile device terminal then, the form of request and method are decided by smart card 13.
Said address list management module 11 is after the request of receiving; Request is sent to system kernel module 12; Call data message behind the signature in the smart card 13 by system kernel module 12, the data message that extracts sends to address list management module 11 with the mode of yellow pages contact person.Send to by address list management module 11 again and move applications client 10.
Fig. 4 is a communication process sketch map between mobile applications client and address list management module, the short message managing module of the embodiment of the invention two, and as shown in Figure 4, this process comprises:
Step T1: the user is through moving applications client 10 browse service information; When the user need carry out a certain business data processing through smart card 13; Will give and move applications client transmission business data processing instruction, mobile applications client 10 is received from user's business data processing instruction and (like the instruction that one piece of data is encrypted, is perhaps stored the instruction of one piece of data; Perhaps read the instruction of one piece of data) generation request of data information; This request of data information can be arbitrary format, as being the HTTP(Hypertext Transport Protocol) form, also can be note request form, phone book contact form or user-defined format etc.
Step T2: move the operational order in the applications client 10 recognition data solicited messages, said operational order has two kinds, and a kind of is that data are sent to SIM 13, and another kind is from SIM 13 reading of data.If judge it is that data are sent to SIM 13, then get into step T3; If judge from SIM 13 reading of data, then get into step T8.
Step T3: judge whether the data real data segment length of the needs processing that receives has surpassed the length of portable terminal restriction, and the length restriction of portable terminal is that each portable terminal manufacturer makes by oneself at present.If exceed predetermined length, then get into step T4, otherwise, get into step T5.
Step T4: the data that will handle are carried out deconsolidation process, and handling process is following:
The data that needs are handled split into some the data segments that are less than or equal to predetermined length, and each data segment is made up of three parts: data length, hop count and real data.If it is a plurality of that the said data that need handle have, after then data segment split and accomplishes, mobile applications client was that the data front that every section quilt splits adds data length and skew, gets into step T6;
Step T5: move applications client 10 and add data length and hop count in the data front.
Step T6: all data segments that add data length and hop count are carried out following steps successively, it is assembled into the form of associated person information.
A. a newly-built contact person, the contact field content comprises name of contact person, telephone number;
B. the data segment that adds data length and hop count is write in the newly-built name of contact person;
C. contact person's telephone number writes the number of special agreement, as 9999999.The number of agreement can accurately be discerned at smart card 13 1 ends.
Step T7: complete associated person information is sent to address list management module 11, carry out the generation and the transmission of next associated person information then; After also can accomplishing the generation of all associated person informations, the unified again address list management module 11 that sends to.Address list management module 11 sends to smart card through system kernel module 12 with data, and smart card is that messaging format is stored with contact person's format conversion; Perhaps, convert messaging format into and store after the data processing;
Step T8: mobile applications client 10 is sent note to the short message managing module and is read request.
Step T9: the note in the short message managing module 14 reading system kernel modules 12; This note can be through the note after the data processing, for example encrypts, signature etc. perhaps pure storage; After reading completion, read completion to mobile applications client feedback; Short message managing module all notes that a particular number is corresponding read in the scratchpad area (SPA), and the scratchpad area (SPA) is specified by mobile device terminal voluntarily, and the functional interface that only need call mobile device terminal provides gets final product.
Step T10: after mobile applications client 10 is received the feedback information that reads completion from the short message managing module, judge the bar number of note,, get into step T11 if greater than 1; Otherwise, get into step 12.
T11: many notes are combined into 1.
T12: move applications client and obtain the result.
In the such scheme; If be storage, after step T7, after administration module sends to SIM 13 with complete associated person information; Store or data processing such as encryption by 13 pairs of above-mentioned data of SIM; Again split after the processing and store, and the note after splitting can be when short message managing module 14 reads this note, all notes that jack per line is corresponding all can read.Guaranteeing to move applications client can the required data of complete acquisition.
Also comprise before the said step T8: move measuring ability that applications client 10 calls mobile device terminal and provide and detect whether operate as normal of short message managing module 11.Only under short message managing module 14 situation in proper working order, could get access to data encrypted through this module, if undesired, to mobile applications client feedback read error.The measuring ability that mobile device terminal provides is according to different device ends, the difference of system platform and difference by mobile device terminal by oneself, does not describe in detail at this.
Except above-mentioned two embodiment, can also send and read and send through the short message managing module through the short message managing module, read through the address list management module.Because principle is similar, can analogize, just give unnecessary details no longer one by one here.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.

Claims (10)

1. the data communications method between mobile applications client and the smart card is characterized in that this method comprises:
A, when the user need carry out business data processing through smart card, send the business data processing instruction to mobile applications client, mobile applications client receives that the business data processing instruction from the user generates request of data information;
B, mobile applications client are discerned the operational order in the said request of data, and judge the type of this operational order, if belong to the type that data is sent to smart card, then get into step C; If belong to from the type of smart card reading of data, then get into step e;
Whether the data length that the needs that C, judgement receive are handled surpasses the predetermined length of portable terminal restriction, and as if exceeding, the data that then will handle split into some the data segments that are less than or equal to predetermined length, and execution in step D; Otherwise, add data length and hop count by mobile subscriber's client in this data front, get into step D again;
D, all data segments that add data lengths and hop count are assembled into the form of associated person information or note; And complete associated person information or note sent to address list management module or short message managing module accordingly, carry out the generation and the process of transmitting of next associated person information or short message then; Or after accomplishing the generation of all associated person informations or note, unified again address list management module or the short message managing module of sending to; Address list management module or short message managing module send to smart card with associated person information or note through system kernel; Smart card is handled the back and is stored with contact person or way of short messages;
E, utilize to move applications client to the address list management module or the short message managing module sends the contact person or note reads request; Again through address list management module or short message managing module and system kernel module read in the smart card associated person information or note, after the completion to be read to said mobile applications client feedback information;
F, move applications client receive accomplish feedback information from reading of address list management module or short message managing module after, judge the bar number of name of contact person or note; If greater than one, then many name of contact persons or note are combined into one; Otherwise, the result that the acquisition of mobile subscriber's client is read.
2. the data communications method between mobile applications client according to claim 1 and the smart card; It is characterized in that the said request of data information of steps A is HTTP form, note request form, phone book contact form or user-defined format.
3. the data communications method between mobile applications client according to claim 1 and the smart card; It is characterized in that; The data that the said needs that will exceed the portable terminal restriction of step C are handled split into some the data segments that are less than or equal to predetermined length, further comprise:
Each data segment after C1, the fractionation mainly comprises data length, hop count and real data;
C2, a plurality of if the said data that need handle have after data split completion, is that the data front that every section quilt splits adds data length and hop count by mobile subscriber's client then.
4. the data communications method between mobile applications client according to claim 1 and the smart card is characterized in that, the process that the said data segment with all interpolation data lengths and hop count of step D is assembled into associated person information comprises:
D1, a newly-built contact person, contact person's field contents comprises name of contact person, telephone number;
D2, the data segment that adds data length and hop count is write in the said newly-built name of contact person;
D3, contact person's telephone number writes the number of agreement, and this number can be identified at smart card one end.
5. according to the data communications method between claim 1 or 4 described mobile applications client and the smart card, it is characterized in that, then after said step D, further comprise:
Said smart card carries out data processing to associated person information or the short message that receives, and store according to original fractionation rule the back of finishing dealing with, and is convenient to by correct reading.
6. the data communications method between mobile applications client according to claim 1 and the smart card is characterized in that, further comprises before the step e:
The measuring ability that mobile applications client is called portable terminal to be provided detects whether operate as normal of address list management module or short message managing module, if in proper working order, then gets access to the data after the processing through this module; Otherwise, then to mobile applications client feedback read error.
7. a portable terminal comprises system kernel module, short message managing module and address list management module, it is characterized in that, also comprises mobile applications client, and the communication process between said mobile applications client and the smart card is following:
A, when the user need carry out business data processing through smart card, send the business data processing instruction to mobile applications client, mobile applications client receives that the business data processing instruction from the user generates request of data information;
B, mobile applications client are discerned the operational order in the said request of data, and judge the type of this operational order, if belong to the type that data is sent to smart card, then get into step C; If belong to from the type of smart card reading of data, then get into step e;
Whether the data length that the needs that C, judgement receive are handled surpasses the predetermined length of portable terminal restriction, and as if exceeding, the data that then will handle split into some the data segments that are less than or equal to predetermined length, and execution in step D; Otherwise, add data length and hop count by mobile subscriber's client in this data front, get into step D again;
D, all data segments that add data lengths and hop count are assembled into the form of associated person information or note; And complete associated person information or note sent to address list management module or short message managing module accordingly, carry out the generation and the process of transmitting of next associated person information or short message then; Or after accomplishing the generation of all associated person informations or note, unified again address list management module or the short message managing module of sending to; Address list management module or short message managing module send to smart card with associated person information or note through system kernel; Smart card is handled the back and is stored with contact person or way of short messages;
E, utilize to move applications client to the address list management module or the short message managing module sends the contact person or note reads request; Again through address list management module or short message managing module and system kernel module read in the smart card associated person information or note, after the completion to be read to said mobile applications client feedback information;
F, move applications client receive accomplish feedback information from reading of address list management module or short message managing module after, judge the bar number of name of contact person or note; If greater than one, then many name of contact persons or note are combined into one; Otherwise, the result that the acquisition of mobile subscriber's client is read.
8. a kind of portable terminal according to claim 7 is characterized in that, the data that the said needs that will exceed the portable terminal restriction of step C are handled split into some the data segments that are less than or equal to predetermined length, further comprise:
Each data segment after C1, the fractionation mainly comprises data length, hop count and real data;
C2, a plurality of if the said data that need handle have after data split completion, is that the data front that every section quilt splits adds data length and hop count by mobile subscriber's client then.
9. a kind of portable terminal according to claim 7 is characterized in that, the process that the said data segment with all interpolation data lengths and hop count of step D is assembled into associated person information comprises:
D1, a newly-built contact person, contact person's field contents comprises name of contact person, telephone number;
D2, the data segment that adds data length and hop count is write in the said newly-built name of contact person;
D3, contact person's telephone number writes the number of agreement, and this number can be identified at smart card one end.
10. a kind of portable terminal according to claim 7 is characterized in that, then after said step D, further comprises:
Said smart card carries out data processing to associated person information or the short message that receives, and store according to original fractionation rule the back of finishing dealing with, and is convenient to by correct reading.
CN201110293150.2A 2011-09-30 2011-09-30 Method for communication between mobile application client and intelligent card and device Expired - Fee Related CN102316428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110293150.2A CN102316428B (en) 2011-09-30 2011-09-30 Method for communication between mobile application client and intelligent card and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110293150.2A CN102316428B (en) 2011-09-30 2011-09-30 Method for communication between mobile application client and intelligent card and device

Publications (2)

Publication Number Publication Date
CN102316428A true CN102316428A (en) 2012-01-11
CN102316428B CN102316428B (en) 2015-04-15

Family

ID=45429176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110293150.2A Expired - Fee Related CN102316428B (en) 2011-09-30 2011-09-30 Method for communication between mobile application client and intelligent card and device

Country Status (1)

Country Link
CN (1) CN102316428B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933363A (en) * 2016-07-14 2016-09-07 京东方科技集团股份有限公司 Method and device for processing business, and unidirectional digital television set-top box
CN103914712B (en) * 2012-12-29 2017-09-29 北京握奇数据系统有限公司 Realization method and system being applied a kind of contact type intelligent card more
CN110971315A (en) * 2019-12-06 2020-04-07 广东汇泰龙科技股份有限公司 Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock
CN112330452A (en) * 2020-11-17 2021-02-05 杭州大搜车汽车服务有限公司 Transaction data processing method and device, computer equipment and storage medium
CN114679752A (en) * 2022-03-29 2022-06-28 青岛海信移动通信技术股份有限公司 Method for sharing wireless communication capacity by dual systems and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222333A (en) * 2007-12-24 2008-07-16 北京握奇数据系统有限公司 Data transaction processing method and apparatus
CN101594425A (en) * 2009-06-29 2009-12-02 钱袋网(北京)信息技术有限公司 Portable terminal
US7801883B2 (en) * 2005-01-19 2010-09-21 Samsung Electronics Co., Ltd. Method and apparatus for improving data processing speed through storage of record information of identity module
CN101977377A (en) * 2010-09-27 2011-02-16 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for reading digital certificate in SIM (Subscriber Identity Module) card
CN102055833A (en) * 2009-10-31 2011-05-11 比亚迪股份有限公司 Method of event record storage for low-end mobile phone by using SIM card

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7801883B2 (en) * 2005-01-19 2010-09-21 Samsung Electronics Co., Ltd. Method and apparatus for improving data processing speed through storage of record information of identity module
CN101222333A (en) * 2007-12-24 2008-07-16 北京握奇数据系统有限公司 Data transaction processing method and apparatus
CN101594425A (en) * 2009-06-29 2009-12-02 钱袋网(北京)信息技术有限公司 Portable terminal
CN102055833A (en) * 2009-10-31 2011-05-11 比亚迪股份有限公司 Method of event record storage for low-end mobile phone by using SIM card
CN101977377A (en) * 2010-09-27 2011-02-16 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for reading digital certificate in SIM (Subscriber Identity Module) card

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914712B (en) * 2012-12-29 2017-09-29 北京握奇数据系统有限公司 Realization method and system being applied a kind of contact type intelligent card more
CN105933363A (en) * 2016-07-14 2016-09-07 京东方科技集团股份有限公司 Method and device for processing business, and unidirectional digital television set-top box
CN105933363B (en) * 2016-07-14 2017-07-04 京东方科技集团股份有限公司 A kind of method for processing business, device and unidirectional digital television set-top box
CN110971315A (en) * 2019-12-06 2020-04-07 广东汇泰龙科技股份有限公司 Method and system for detecting communication signal between CPU (Central processing Unit) induction card and intelligent lock
CN112330452A (en) * 2020-11-17 2021-02-05 杭州大搜车汽车服务有限公司 Transaction data processing method and device, computer equipment and storage medium
CN112330452B (en) * 2020-11-17 2024-04-23 杭州大搜车汽车服务有限公司 Transaction data processing method, device, computer equipment and storage medium
CN114679752A (en) * 2022-03-29 2022-06-28 青岛海信移动通信技术股份有限公司 Method for sharing wireless communication capacity by dual systems and terminal equipment
CN114679752B (en) * 2022-03-29 2024-04-19 青岛海信移动通信技术有限公司 Method for sharing wireless communication capability by double systems and terminal equipment

Also Published As

Publication number Publication date
CN102316428B (en) 2015-04-15

Similar Documents

Publication Publication Date Title
US20160012272A1 (en) Fingerprint authentication system and a fingerprint authentication method based on nfc
CN102737308A (en) Mobile terminal and method and system for inquiring information of intelligent card
US8955143B1 (en) Use of decoy data in a data store
Kitsos et al. RFID security
CN102316428A (en) Method for communication between mobile application client and intelligent card and device
CN109039652A (en) A kind of number leads to generation and the application method of card
CN101330675B (en) Mobile payment terminal equipment
CN102387255A (en) Method and device for utilizing intelligent card to process third-party expanded service data
CN116226289A (en) Electronic certificate management method, device, equipment and storage medium based on blockchain
CN205318553U (en) Data processing device and system and printer
CN201788511U (en) Safety information exchange device
CN104243691A (en) Business card information obtaining method and system based on NFC tag
CN116738482A (en) Sensitive data processing method, system, computer equipment and storage medium
CN103413155A (en) Electronic anti-counterfeiting tracing tag design compatible with high-frequency RFID and NFC system
CN108243402A (en) A kind of method and device for reading and writing smart card
CN113824845B (en) Method, device, equipment and medium for carrying out call analysis by using ciphertext mobile phone number
CN102469451A (en) Method and system for phone card real-name authentication
US20150005020A1 (en) Managing information about content transmission
Alshahrani et al. NFC performance in mobile payment service compared with a SMS-based solution
CN101330685B (en) Method for ciphering and transmitting short message
Cui et al. A new logistics distribution scheme based on nfc
CN103366124A (en) Terminal and file management method
CN103778530A (en) Industry application account over-the-air transferring method, system and apparatus
CN204650582U (en) A kind of Management of Electron Accounting Files system
CN103442066A (en) Smart poster system based on NFC

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING ZHONGQING YIHE TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: FUJIAN LIXIN (BEIJING) TECHNOLOGY CO., LTD.

Effective date: 20140212

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100094 HAIDIAN, BEIJING TO: 100086 HAIDIAN, BEIJING

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20140212

Address after: 100086, room 12, building 47, hospital B, No. 317-1 West Third Ring Road, Haidian District, Beijing

Applicant after: BEIJING ZHONGQINGHE SCIENCE AND TECHNOLOGY CO., LTD.

Address before: Kim Fu No. 9 building, 100094 Beijing city Haidian District anningzhuang west room 609

Applicant before: Fuyuan Lixin (Beijing) Technology Co., Ltd.

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: 20150415

Termination date: 20200930