CN102306325B - Smart card and method for processing communication messages of smart card - Google Patents
Smart card and method for processing communication messages of smart card Download PDFInfo
- Publication number
- CN102306325B CN102306325B CN 201110231679 CN201110231679A CN102306325B CN 102306325 B CN102306325 B CN 102306325B CN 201110231679 CN201110231679 CN 201110231679 CN 201110231679 A CN201110231679 A CN 201110231679A CN 102306325 B CN102306325 B CN 102306325B
- Authority
- CN
- China
- Prior art keywords
- large volume
- module
- volume data
- communication information
- management unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a smart card and a method for processing communication messages of the smart card, aiming at solving the problem that the realization process is complicated for realizing the purpose that multiple application modules can realize the functions that the smart card analyzes the required communication messages by virtue of an application module and data in a memory on the smart card are processed. The smart card comprises a hardware interface, a driver module connected with the hardware interface, an instruction distribution module connected with the driver module, a high-capacity database application module and a database module, wherein the high-capacity database application module is connected with the database module, and the database module is connected with the driver module.
Description
Technical field
The present invention relates to a kind of smart card and smart card communication information disposal route, relate in particular to a kind of realize large-capacity data storehouse smart card and smart card communication information disposal route simple, highly versatile.
Background technology
At present, smart card has become indispensable information carrier in people's life, is widely used in every field such as mobile communication, bank, social security, public transport, has brought into play very big effect in entire society.
In the prior art, smart card is resolved the communication information that receives from the outside by the application module of inside, and realizes handling for the data that card in the smart card is gone up in the storer by the communication information after resolving.
In the process that smart card uses, there are the following problems:
Every function of smart card realizes that in application module the i.e. execution of the parsing of communication information and data manipulation is all finished by application module, therefore realize complexity at application module, and repeatability is bigger.
Summary of the invention
Embodiments of the invention provide a kind of realization simple, the Large Volume Data storehouse smart card of highly versatile and smart card communication information disposal route.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of smart card comprises hardware interface; The driver module that is connected with described hardware interface, the instruction distribution module that is connected with driver module; Also comprise Large Volume Data storehouse application module and database module; Described Large Volume Data storehouse application module is connected with described database module; This database module is connected with driver module;
Described instruction distribution module is used for communication information is distributed to corresponding Large Volume Data storehouse application module;
Described Large Volume Data storehouse application module is used for the described communication information according to described instruction distribution module distribution, calls database module;
Described database module is used for the communication information that Large Volume Data storehouse application module obtains is resolved, and according to the communication information after resolving the data of blocking in the storer is handled.
A kind of smart card communication information disposal route comprises:
Communication information is distributed to corresponding Large Volume Data storehouse application module;
Described communication information according to described instruction distribution module distribution calls database module;
The communication information that obtains is resolved, and according to the communication information after resolving the data of blocking in the storer are handled.
A kind of smart card that the embodiment of the invention provides and smart card communication information disposal route, on the one hand, each Large Volume Data storehouse application module is realized for the parsing of communication information and for the processing of data in the storer on the card by the database module that arranges in smart card, avoided and to have realized the parsing of communication information and the processing of going up data in the storer for card by application module, shortened the construction cycle of smart card; On the other hand, the processing of data in the storer is resolved and gone up for card to database module to communication information according to unified database instruction standard, avoid the use of privately owned instruction when resolving and handling by application module, strengthened the versatility of smart card.
Description of drawings
Fig. 1 is the structural representation of a kind of smart card of the embodiment of the invention;
Fig. 2 is the process flow diagram of 1 one kinds of smart card communication informations of embodiment of the invention disposal route;
Fig. 3 is the process flow diagram of Large Volume Data safety management unit judges security permission in 2 one kinds of smart card communication informations of embodiment of the invention disposal route.
Embodiment
Below in conjunction with accompanying drawing a kind of smart card of the embodiment of the invention and smart card communication information disposal route are described in detail.
A kind of smart card as shown in Figure 1, comprises hardware interface; The driver module that is connected with described hardware interface, the instruction distribution module that is connected with driver module; Also comprise Large Volume Data storehouse application module and database module; Described Large Volume Data storehouse application module is connected with described database module; This database module is connected with driver module;
Described instruction distribution module is used for communication information is distributed to corresponding Large Volume Data storehouse application module;
Described Large Volume Data storehouse application module is used for the described communication information according to described instruction distribution module distribution, calls database module;
Described database module is used for the communication information that Large Volume Data storehouse application module obtains is resolved, and according to the communication information after resolving the data of blocking in the storer is handled.
Described communication information comprises operational order and security information.
Described database module comprises Large Volume Data library management unit and Large Volume Data storage management unit; Described Large Volume Data library management unit is connected with Large Volume Data storehouse application module with described Large Volume Data storage management unit respectively and is connected; This Large Volume Data storage management unit is connected with driver module;
Described Large Volume Data storage management unit according to the operational order in the communication information after the Large Volume Data library management unit resolves, is handled the data of blocking in the storer.
Described database module comprises Large Volume Data safety management unit, and this Large Volume Data safety management unit is connected with Large Volume Data storage management unit with Large Volume Data library management unit respectively;
Described Large Volume Data safety management unit is used for the security information obtained according to the communication information after the Large Volume Data library management unit resolves, judges whether match operation authority of communication information.
Described driver module comprises communication driver element and storing driver unit; This communication driver element is connected with the instruction distribution module with hardware interface respectively; Described storing driver unit is connected with hardware interface respectively with Large Volume Data storage management unit and is connected;
Described storing driver unit is used for Large Volume Data storage management unit the access that blocks the storer data is supported;
Described communication driver element is used for smart card and outside communication are supported.
Described communication driver element connects and supports one or more contacts and contactless standard interface.
Described smart card also comprises: application module, this application module and instruction distribution module respectively are connected with driver element in the driver module;
Described instruction distribution module also is used for communication information is sent to corresponding application module.
Store the communication protocol of the one or more interface in USB (Universal Serial BUS USB (universal serial bus)) interface, IC_USB, SD (Secure Digital safe digital card) interface, MMC (Multimedia Card multimedia card) interface, ISO 7816-3 (smart card standard interface) contact interface and ISO 14443 non-contact interface in the described communication driver element, make the smart card realization based on the communication of above-mentioned distinct interface.
Smart card provided by the invention can be for comprising the various smart cards of database module, the capacity of this smart card is decided according to the capacity of storer on the card in the smart card, for example the card of capacity big (for example capacity is greater than 1,000,000 or 4,000,000) can be called Large Volume Data storehouse card.
Storer on the described card can be E
2PROM (Electrically Erasable Programmable Read-Only Memory EEPROM (Electrically Erasable Programmable Read Only Memo)), NOR flash memory and nand flash memory, corresponding described storing driver unit can be supported for E
2The access of PROM, NOR flash memory and nand flash memory is to realize that smartcard is according to access.
In described smart card, can be provided with a plurality of application modules and a plurality of Large Volume Datas storehouse application module simultaneously; This Large Volume Data storehouse application module can call database module, realizes based on database instruction blocking the processing of institute's deposit data in the storer; Described application module can be realized the function of application module in the existing smart card, and for example the mobile phone card can be realized the communication of communication apparatus between the user by application module.
Corresponding with above-mentioned a kind of smart card, the present invention also provides a kind of smart card communication information disposal route.
Embodiment 1
A kind of smart card communication information disposal route as shown in Figure 2, comprising:
With external equipment for example: card reader and smart card can be connected or carry out communication by ISO 14443 non-contact interface by USB interface, IC_USB interface, SD interface, MMC interface and ISO 7816-3 interface, namely send communication information to smart card, described communication information comprises operational order and security information; This communication information also comprises sign.
Smart card passes through hardware interface, in driver module under the support of communication driver element, the communication information that obtains is sent to the instruction distribution module, the instruction distribution module is according to the sign in the communication information, communication information is sent to corresponding Large Volume Data storehouse application module, and for example the Large Volume Data storehouse uses 1.
Step 201, according to the described communication information of described instruction distribution module distribution, call database module
Large Volume Data storehouse application module 1 calls database module set in the smart card after receiving the communication information distributed of instruction distribution module.
The communication information that database module is obtained according to Large Volume Data storehouse application module is resolved communication information by the Large Volume Data library management unit in the database module, obtains the operational order in the communication information.
Operational order in the communication information that Large Volume Data storage management unit obtains after according to Large Volume Data library management unit resolves in the database module, in driver module, under the support of storing driver unit, handle blocking the data of storing in the storer.For example this operational order is reading command, is used for reading the data that card is gone up storer; According to reading command, qualified data are searched in the storer in Large Volume Data storage management unit on card; Should qualified data read arrive Large Volume Data storehouse application module; Large Volume Data storehouse application module sends to qualified data by driver module and hardware interface and shows in the card reader or other processing; Realize card reader reading data in the last storer of card in the smart card.
Embodiment 2
In order further to improve the security of smart card, described database module also comprises Large Volume Data safety management unit.By in this Large Volume Data safety management unit, security permission being set, and by this security permission the security information in the communication information is judged, determined whether the communication information that this smart card is received can be handled the data of blocking in the storer.
Corresponding a kind of smart card communication information disposal route after described database management unit is resolved communication information, as shown in Figure 3, also comprises:
After resolve communication information Large Volume Data library management unit, obtain the security information in the communication information, Large Volume Data safety management unit according in advance set security permission security information is judged for example security permission is " password=1234 ".
If step 301 has operating right, then according to the operational order in the communication information that obtains after resolving, the data of blocking in the storer are handled
Security information in the described communication information, security information can be numeral, and character string or other any forms can be imported in card reader by the user, and for example the security information in the communication information is " password=1234 ".At this moment, consistent by the security permission " password=1234 " that sets in advance in the Large Volume Data safety management unit in the security information in the Large Volume Data safety management unit judges communication information and the database module, then notify Large Volume Data storage management unit, this communication information has operating right, can handle the data of blocking in the storer.
If step 302 does not have operating right, then stop to go up for card the processing of data in the storer
When the security information in the communication information that the user inputs is " password=2345 ", inconsistent by the security permission " password=1234 " that sets in advance in the Large Volume Data safety management unit in the security information in the Large Volume Data safety management unit judges communication information and the database module, determine that then communication information does not have operating right, stops according to communication information blocking the processing of data in the storer.
Further, can send by Large Volume Data storehouse application module and report an error information to card reader, show that the password of inputing is wrong, can't complete operation.
A kind of smart card that the embodiment of the invention provides and smart card communication information disposal route, on the one hand, each Large Volume Data storehouse application module is realized for the parsing of communication information and for the processing of data in the storer on the card by the database module that arranges in smart card, avoided and to have realized the parsing of communication information and the processing of going up data in the storer for card by application module, shortened the construction cycle of smart card; On the other hand, the processing of data in the storer is resolved and gone up for card to database module to communication information according to unified database instruction standard, avoid the use of privately owned instruction when resolving and handling by application module, strengthened the versatility of smart card.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.
Claims (5)
1. a smart card comprises hardware interface; The driver module that is connected with described hardware interface and the instruction distribution module that is connected with driver module is characterized in that, also comprise Large Volume Data storehouse application module and database module; Described Large Volume Data storehouse application module is connected with described database module; This database module is connected with driver module;
Described database module comprises Large Volume Data library management unit, Large Volume Data storage management unit and Large Volume Data safety management unit;
Described Large Volume Data library management unit is connected with Large Volume Data storehouse application module with described Large Volume Data storage management unit respectively and is connected; This Large Volume Data storage management unit is connected with driver module;
This Large Volume Data safety management unit is connected with Large Volume Data storage management unit with Large Volume Data library management unit respectively;
Described instruction distribution module is used for communication information is distributed to corresponding Large Volume Data storehouse application module, and described communication information comprises operational order and security information;
Described Large Volume Data storehouse application module is used for the described communication information according to described instruction distribution module distribution, calls database module;
In described database module,
Described Large Volume Data library management unit is used for the communication information that Large Volume Data storehouse application module obtains is resolved, and obtains described operational order and described security information;
Described Large Volume Data safety management unit is used for the security information obtained according to the communication information after the Large Volume Data library management unit resolves, judges whether match operation authority of communication information;
If operating right is arranged, then described Large Volume Data storage management unit according to the operational order in the communication information after the Large Volume Data library management unit resolves, is handled the data of blocking in the storer;
If there is not operating right, then stop to go up for card the processing of data in the storer.
2. a kind of smart card according to claim 1 is characterized in that, described driver module comprises communication driver element and storing driver unit; This communication driver element is connected with the instruction distribution module with hardware interface respectively; Described storing driver unit is connected with hardware interface respectively with Large Volume Data storage management unit and is connected;
Described storing driver unit is used for Large Volume Data storage management unit the access that blocks the storer data is supported;
Described communication driver element is used for smart card and outside communication are supported.
3. a kind of smart card according to claim 2 is characterized in that, described communication driver element connects and supports one or more contacts and contactless standard interface.
4. a kind of smart card according to claim 2 is characterized in that, also comprises: application module, this application module and instruction distribution module respectively are connected with storing driver unit in the driver module;
Described instruction distribution module also is used for communication information is sent to corresponding application module.
5. a smart card communication information disposal route is characterized in that, comprising:
Communication information is distributed to corresponding Large Volume Data storehouse application module, and described communication information comprises operational order and security information;
Described communication information according to the distribution of instruction distribution module calls database module;
According to the security information that the communication information after resolving obtains, judge whether match operation authority of communication information;
If operating right is arranged, then according to the operational order in the communication information that obtains after resolving, the data of blocking in the storer are handled;
If there is not operating right, then stop to go up for card the processing of data in the storer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110231679 CN102306325B (en) | 2011-08-12 | 2011-08-12 | Smart card and method for processing communication messages of smart card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110231679 CN102306325B (en) | 2011-08-12 | 2011-08-12 | Smart card and method for processing communication messages of smart card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102306325A CN102306325A (en) | 2012-01-04 |
CN102306325B true CN102306325B (en) | 2013-08-21 |
Family
ID=45380185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110231679 Active CN102306325B (en) | 2011-08-12 | 2011-08-12 | Smart card and method for processing communication messages of smart card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102306325B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101609582A (en) * | 2008-06-18 | 2009-12-23 | 中兴通讯股份有限公司 | Be used to realize terminal, and the implementation method of terminal payment of wallet payment |
CN101727457A (en) * | 2008-10-30 | 2010-06-09 | 爱思开电讯投资(中国)有限公司 | Database management system and method used for smart cards |
CN102136085A (en) * | 2011-02-17 | 2011-07-27 | 北京握奇数据系统有限公司 | Telecom smart card and telecom smart card-based non-contact application management method |
-
2011
- 2011-08-12 CN CN 201110231679 patent/CN102306325B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101609582A (en) * | 2008-06-18 | 2009-12-23 | 中兴通讯股份有限公司 | Be used to realize terminal, and the implementation method of terminal payment of wallet payment |
CN101727457A (en) * | 2008-10-30 | 2010-06-09 | 爱思开电讯投资(中国)有限公司 | Database management system and method used for smart cards |
CN102136085A (en) * | 2011-02-17 | 2011-07-27 | 北京握奇数据系统有限公司 | Telecom smart card and telecom smart card-based non-contact application management method |
Also Published As
Publication number | Publication date |
---|---|
CN102306325A (en) | 2012-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104125342B (en) | The communication that a kind of mobile communication terminal separates with user identity smart card uses way | |
CN106155596B (en) | Data writing method and device | |
CN102136085B (en) | Telecom smart card and telecom smart card-based non-contact application management method | |
US10128910B2 (en) | Mobile device with near field communication function | |
CN103200293A (en) | Method of automatically combining tautonomy contacts in process of guiding contacts into contact list | |
CN102609741B (en) | A kind of method of exchanges data between mobile device and inside and outside portion storage card thereof | |
CN105447549A (en) | Intelligent card-based data method and system | |
CN104766206A (en) | NFC payment method and device based on mobile terminal | |
CN105827666A (en) | Radio communication devices and methods for controlling a radio communication device | |
CN105678355A (en) | Smart card background management method and system | |
CN202058194U (en) | Mobile terminal subscriber identify module (SIM) card packaging structure thereof | |
CN105224418A (en) | A kind of data back up method and device | |
CN103870511A (en) | Shared memory-based information inquiring equipment and method | |
CN105120451A (en) | Method for realizing card-less operation of mobile terminal, operator business platform and mobile terminal | |
CN104143996A (en) | Radio communication devices and methods for controlling a radio communication device | |
CN104281862A (en) | Segmented continuous writing and protecting method of ultrahigh frequency RFID memory zone | |
CN102306325B (en) | Smart card and method for processing communication messages of smart card | |
CN105162782A (en) | User biological characteristic storage method, device and terminal | |
CN105574124A (en) | Data storage system based on product information | |
CN102693582A (en) | IC card data interaction method and system and method and system for downloading loss report information | |
CN104951823A (en) | Composite card management method and system | |
CN110633288B (en) | On-site database access device | |
CN201522717U (en) | Intelligence card data processing device | |
CN103679959A (en) | Ticket buying and checking system and method | |
US20090235365A1 (en) | Data access system |
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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100015 Beijing city Chaoyang District Dongzhimen West eight Street No. 2 room Wanhong Yan Dong Business Garden Patentee after: Beijing Watchdata Limited by Share Ltd Address before: 100015 Beijing city Chaoyang District Dongzhimen West eight Street No. 2 room Wanhong Yan Dong Business Garden Patentee before: Beijing Woqi Data System Co., Ltd. |