CN102693582B - IC card data interaction method and system, and method and system for downloading loss report information - Google Patents
IC card data interaction method and system, and method and system for downloading loss report information Download PDFInfo
- Publication number
- CN102693582B CN102693582B CN201210134982.4A CN201210134982A CN102693582B CN 102693582 B CN102693582 B CN 102693582B CN 201210134982 A CN201210134982 A CN 201210134982A CN 102693582 B CN102693582 B CN 102693582B
- Authority
- CN
- China
- Prior art keywords
- card
- loss
- information
- card reader
- judge
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000003993 interaction Effects 0.000 title claims abstract description 9
- 230000002452 interceptive effect Effects 0.000 claims description 6
- 230000006855 networking Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004377 microelectronic Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Credit Cards Or The Like (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
The invention discloses an IC card data interaction method. The valid period of a card is stored in a card. The method comprises the steps of: S1. reading information of an IC card, judging whether the loss report information of the card is stored in a card reader, if the loss report information is not stored in the card reader, turning to a step 2; S2. judging whether the card reader is accessed to a network, if not, executing a step 3, and if so, executing a step 4; S3. judging whether the IC card is in the valid period, if not, refusing to swipe the card; and S4. judging whether the loss report information of the card is stored in a server database, if not, allowing to swipe the card, and if so, refusing to swipe the card. By the method, the card can be prevented from being improperly used under the condition that the card is lost or stolen, and the loss of a user is reduced as much as possible. The invention also discloses an IC card data interaction system and a method and a system for downloading loss report information of the IC card through the card reader.
Description
Technical field
The present invention relates to a kind of IC-card, especially a kind of IC-card data interactive method and a kind of card reader are downloaded the method that IC-card is reported the loss information.
Background technology
In information society, utilize IC-card from massaging devices such as personal computers, and the example of the electronics completing via the Internet checkout or message exchange is in continuous increase, IC-card loss situation also happens occasionally.Losing or theft in the situation that, also having no idea card holder to verify, can not prevent improper or pretend to be use.If IC loses at present, holder can report the loss on server database, and recording that handle is reported the loss when POS machine is online is downloaded on POS machine.During IC-card bankcard consumption, on POS machine, utilize reporting the loss of downloading to record to verify whether report the loss, then do the operations such as bankcard consumption.If but POS captain's time in off-line state, IC-card is reported the loss record and is not downloaded in time on POS machine, the IC-card that will cause reporting the loss such as can normally consume at the operation, to holder, brings loss.And POS machine is reported the loss while recording in download, the records of reporting the loss all in server-side database all can be downloaded, if just have 100 to report the loss record such as reporting the loss 100 cards in Database Systems, along with reporting the loss the increase of card, the record of reporting the loss that will download on POS machine is also increasing, this is comprising the IC-card of expire, thereby causes the waste of system resource.Please refer to Figure 1A and Figure 1B, Figure 1A is that prior art IC-card is reported the loss process flow diagram, Figure 1B is prior art IC-card bankcard consumption process flow diagram, if POS machine is in long-time off-line state, the record of reporting the loss of IC-card does not download on POS machine immediately, and the IC-card of reporting the loss can the operation such as bankcard consumption on the POS of off-line state machine.During the consumption of brush IC-card, POS machine verifies whether this card is to report the loss card, is to report the loss card, prompting " reporting the loss card "; Not to report the loss card, consume operations.
Summary of the invention
The object of this invention is to provide a kind of IC-card data interactive method, the method can ensure the safe handling of IC-card.
For achieving the above object, the present invention has adopted scheme: a kind of IC-card data interactive method, it is characterized in that, and in this card, store the valid period of card, the method comprises the following steps:
S1. read IC-card information, judge the information of reporting the loss that whether stores this card in card reader, if the determination result is YES, refusal is swiped the card; If the determination result is NO, go to step S2;
S2. judge whether card reader links network, if card reader is not linked network, carry out step S3, if card reader is linked network, carry out step S4;
S3. whether before the deadline to judge described IC-card, if before the deadline, allow to swipe the card; If outside the term of validity, refusal is swiped the card;
S4. judge the information of reporting the loss that whether has described IC-card in server-side database, if the determination result is NO, allow to swipe the card; If the determination result is YES, refusal is swiped the card.
Wherein, in step S4, when the determination result is NO, rewrite the valid period of described IC-card, valid period is extended.
Wherein, server end stores the step-length information of IC, rewrites the valid period of IC-card according to described step-length.
For addressing the above problem, the present invention also discloses a kind of IC-card data interaction system, it is characterized in that, stores the valid period of card in this card, and this system comprises,
The first judge module, in order to judge the information of reporting the loss that whether stores this card in card reader, if the determination result is YES, refusal is swiped the card;
The second judge module, in order to when the determination result is NO, to judge whether card reader links network above-mentioned;
Whether before the deadline the 3rd judge module, in order to when card reader is not linked network, judge described IC-card, if before the deadline, allows to swipe the card; If outside the term of validity, refusal is swiped the card;
The 4th judge module, in order to when card reader is linked network, judges the information of reporting the loss that whether has described IC-card in server-side database, if the determination result is NO, allows to swipe the card; If the determination result is YES, refusal is swiped the card.
Wherein, when the 4th judge module judged result be in server-side database, do not have described IC-card report the loss information time, rewrite valid period of described IC-card, valid period is extended.
Wherein, server end stores the step-length information of IC, rewrites the valid period of IC-card according to described step-length.
The present invention also discloses a kind of card reader and downloads the method that IC-card is reported the loss information, it is characterized in that, comprises the following steps:
(1) card reader is linked network, and stores the IC-card term of validity in the database of IC-card management server end;
(2) the IC-card term of validity in database and the system time of card reader are compared, judge whether expired;
(3) download not out of date IC-card and report the loss information.
Accordingly, the present invention discloses a kind of card reader and downloads the system that IC-card is reported the loss information, it is characterized in that, comprising:
Networking module in order to card reader is linked to network, and stores the IC-card term of validity in the database of IC-card management server end;
Comparison module, in order to the I C card term of validity in database and the system time of card reader are compared, judges whether expired;
Download module, reports the loss information in order to download not out of date IC-card.
Wherein, from card reader, delete expired IC-card and report the loss information.
Wherein, described card reader is POS machine.
Beneficial effect: implement the present invention, losing or stolen in the situation that, can preventing improper use, reduce as far as possible user's loss.
Accompanying drawing explanation
Figure 1A is that prior art IC-card is reported the loss process flow diagram;
Figure 1B is the prior art IC-card process flow diagram of swiping the card;
Fig. 2 A is that the POS machine of one embodiment of the invention is downloaded to report the loss and recorded process flow diagram;
Fig. 2 B is that register system theory diagram is reported the loss in the POS machine download of one embodiment of the invention;
Fig. 3 A is the IC-card data interactive method process flow diagram of one embodiment of the invention;
Fig. 3 B is the IC-card data interaction system theory diagram of one embodiment of the invention.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
IC-card, i.e. integrated circuit card, some countries and regions also claims smart card (smart card), smart card (intelligent card), microcircuit card (microcircuit card) or chip card etc.It is that a microelectronic chip is embedded and met in the card base of ISO 7816 standards, makes card form.IC-card read write line is the bridge between IC-card and application system, is referred to as interfacing equipment IFD (Interface Device) in ISO international standard.In IFD, CPU is connected with IC-card and is communicated by an interface circuit.IC-card interface circuit is vital part in IC-card read write line, according to the difference of real application systems, and the different IC-card read-write chip such as can select parallel communications, half duplex series communication and I2C communicates by letter.Non-contact IC card claims again radio-frequency card.
POS machine is a kind of terminal device that can reading and writing IC card, can store IC-card consumer record, report the loss record etc., be a kind of embodiment in card reader of the present invention.
Refer to Fig. 2 A, for the POS machine of one embodiment of the invention, download to report the loss and record process flow diagram.POS machine is downloaded the method that IC-card is reported the loss information, comprises the following steps:
S20.POS machine is linked network, and stores the IC-card term of validity in the database of IC-card management server end;
S21. the system time of the IC-card term of validity in database and POS machine is compared, judge whether expired;
S22. download not out of date IC-card and report the loss information.
In the method, before downloading, first judge that whether IC-card is expired, if expired, do not download, thereby saving network traffics, and improved POS machine and downloaded and to report the loss writing speed, wherein POS chance is regularly deleted the expired IC-card of downloading and is reported the loss information, to save POS machine storage space.
Please refer to Fig. 2 B, for the POS machine of one embodiment of the invention, download and report the loss register system structured flowchart.This system comprises networking module 1, in order to card reader is linked to network, and in the database of IC-card management server end, stores the IC-card term of validity; Comparison module 2, in order to the IC-card term of validity in database and the system time of card reader are compared, judges whether expired; Download module 3, reports the loss information in order to download not out of date IC-card.And the expired IC-card information of reporting the loss is deleted from card reader.
Please refer to Fig. 3 A, is the IC-card process flow diagram of swiping the card.The valid period that stores card in IC-card, the method comprises the following steps:
S1. read IC-card information, judge the information of reporting the loss that whether stores this card in POS machine, if the determination result is YES, refusal is swiped the card; If the determination result is NO, go to step S2;
S2. judge whether POS machine links network, if card reader is not linked network, carry out step S3, if card reader is linked network, carry out step S4;
S3. whether before the deadline to judge described IC-card, if before the deadline, allow to swipe the card; If outside the term of validity, refusal is swiped the card;
S4. judge the information of reporting the loss that whether has described IC-card in server-side database, if the determination result is NO, allow to swipe the card; If the determination result is YES, refusal is swiped the card.
Wherein, store the step-length information of IC at server end, this step-length information represents that IC-card extends the increasable vast of heaven number of term of validity.In step S4, while not reporting the loss information in the database of server end, can extend the valid period of card according to step-length information.
Please refer to Fig. 3 B, is the IC-card data interaction system theory diagram of one embodiment of the invention.In this card, store the valid period of card, this system comprises, the first judge module 4, and in order to judge the information of reporting the loss that whether stores this card in card reader, if the determination result is YES, refusal is swiped the card; The second judge module 5, in order to when the determination result is NO, to judge whether card reader links network above-mentioned; Whether before the deadline the 3rd judge module 6, in order to when card reader is not linked network, judge described IC-card, if before the deadline, allows to swipe the card; If outside the term of validity, refusal is swiped the card; The 4th judge module 7, in order to when card reader is linked network, judges the information of reporting the loss that whether has described IC-card in server-side database, if the determination result is NO, allows to swipe the card; If the determination result is YES, refusal is swiped the card.Wherein, when the 4th judge module judged result be in server-side database, do not have described IC-card report the loss information time, rewrite valid period of described IC-card, valid period is extended.As an embodiment, server end stores the step-length information of IC, rewrites the valid period of IC-card according to described step-length.
The present invention will be described now to lift an example.In IC-card application management system, a POS (B_POS) machine is in off-line state, and 2011.11.15 day A is stuck in the database of IC-card management system and reports the loss, and reports the loss record and never downloads on the B_POS machine under off-line state.A card can be done the operations such as consumption on B_POS in the prior art.And A card increases valid period in card in the present invention, suppose that B_POS is in off-line state, A card valid period is 2011.11.16, that A card can only 2011.11.16 in the time limit on B_POS consumption wait operation, after 2011.11.16, can not on B_POS, consume operation such as grade.Suppose that B_POS is under on line state, A card is reported the loss and is recorded in 2011.11.16 just need not to download to B_POS upper later, if it is upper to download to B_POS before this, A can be stuck in and on B_POS, reports the loss record deletion.
In the above-described embodiments, in A card application management system database, record the step-length of this card, suppose that this step-length is 5 days, at 2011.11.12 day A card, not yet lose, and A card valid period is to 2011.11.16, when holder swiped the card in 2011.11.12 day, if POS machine is online, the server of IC-card management system end can according to this step-length extend A card valid until 2011.11.21, on 2011.11.16 basis, extend 5 days.
To sum up, owing to being provided with valid period in IC-card, thereby the IC-card that restriction is reported the loss is done the operations such as consumption on the POS machine under long-time off-line state, has reduced user's loss; And the IC-card of only downloading in the term of validity due to POS machine reports the loss information, thereby improve POS machine, download and report the loss writing speed, reduce POS organizational security and deposit the record amount of reporting the loss.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (8)
1. an IC-card data interactive method, is characterized in that, stores the valid period of card in this card, and the method comprises the following steps:
S1. read IC-card information, judge the information of reporting the loss that whether stores this card in card reader, if the determination result is YES, refusal is swiped the card; If the determination result is NO, go to step S2;
S2. judge whether card reader links network, if card reader is not linked network, carry out step S3, if card reader is linked network, carry out step S4;
S3. whether before the deadline to judge described IC-card, if before the deadline, allow to swipe the card; If outside the term of validity, refusal is swiped the card;
S4. judge the information of reporting the loss that whether has described IC-card in server-side database, if the determination result is NO, allow to swipe the card; If the determination result is YES, refusal is swiped the card;
In step S4, when the determination result is NO, rewrite the valid period of described IC-card, valid period is extended;
Wherein, server end stores the step-length information of IC-card, rewrites the valid period of IC-card according to described step-length information, and this step-length information represents that IC-card extends a term of validity, increasable vast of heaven number.
2. an IC-card data interaction system, is characterized in that, stores the valid period of card in this card, and this system comprises,
The first judge module, in order to judge the information of reporting the loss that whether stores this card in card reader, if the determination result is YES, refusal is swiped the card;
The second judge module, in order to when the determination result is NO, to judge whether card reader links network above-mentioned;
Whether before the deadline the 3rd judge module, in order to when card reader is not linked network, judge described IC-card, if before the deadline, allows to swipe the card; If outside the term of validity, refusal is swiped the card;
The 4th judge module, in order to when card reader is linked network, judges the information of reporting the loss that whether has described IC-card in server-side database, if the determination result is NO, allows to swipe the card; If the determination result is YES, refusal is swiped the card.
3. IC-card data interaction system according to claim 2, is characterized in that, when the 4th judge module judged result be in server-side database, do not have described IC-card report the loss information time, rewrite valid period of described IC-card, valid period is extended.
4. IC-card data interaction system according to claim 3, it is characterized in that, server end stores the step-length information of IC, rewrites the valid period of IC-card according to described step-length information, this step-length information represents that IC-card extends a term of validity, increasable vast of heaven number.
5. card reader is downloaded the method that IC-card is reported the loss information, it is characterized in that, comprises the following steps:
(1) card reader is linked network, and stores the IC-card term of validity in the database of IC-card management server end;
(2) the IC-card term of validity in database and the system time of card reader are compared, judge whether expired;
(3) download not out of date IC-card and report the loss information.
6. card reader is downloaded the system that IC-card is reported the loss information, it is characterized in that, comprising:
Networking module in order to card reader is linked to network, and stores the IC-card term of validity in the database of IC-card management server end;
Comparison module, in order to the IC-card term of validity in database and the system time of card reader are compared, judges whether expired;
Download module, reports the loss information in order to download not out of date IC-card.
7. card reader according to claim 6 is downloaded the system that IC-card is reported the loss information, it is characterized in that, deletes expired IC-card and report the loss information from card reader.
8. card reader according to claim 6 is downloaded the system that IC-card is reported the loss information, it is characterized in that, described card reader is POS machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210134982.4A CN102693582B (en) | 2012-05-03 | 2012-05-03 | IC card data interaction method and system, and method and system for downloading loss report information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210134982.4A CN102693582B (en) | 2012-05-03 | 2012-05-03 | IC card data interaction method and system, and method and system for downloading loss report information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102693582A CN102693582A (en) | 2012-09-26 |
CN102693582B true CN102693582B (en) | 2014-04-16 |
Family
ID=46858980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210134982.4A Expired - Fee Related CN102693582B (en) | 2012-05-03 | 2012-05-03 | IC card data interaction method and system, and method and system for downloading loss report information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102693582B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105205886A (en) * | 2014-06-26 | 2015-12-30 | 青岛海尔智能家电科技有限公司 | Server, access control equipment and management terminal and method for community security and protection |
CN105913237B (en) * | 2016-04-12 | 2021-09-17 | 田中 | Charging terminal and working method thereof |
CN111738825B (en) * | 2020-06-17 | 2024-10-15 | 中国银行股份有限公司 | Card validity period extension method and device |
CN112084799B (en) * | 2020-09-01 | 2024-04-26 | 锦江之星旅馆有限公司 | Card making method and system suitable for interlocking hotel door locks |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004178141A (en) * | 2002-11-26 | 2004-06-24 | Hitachi Ltd | Ic card with illicit use preventing function |
WO2004053651A2 (en) * | 2002-12-10 | 2004-06-24 | Telabout, Inc. | Content creation, distribution, interaction, and monitoring system |
US20050223233A1 (en) * | 2004-04-01 | 2005-10-06 | Fujitsu Limited | Authentication method and system |
CN1622107A (en) * | 2004-12-15 | 2005-06-01 | 西南交通大学 | Driver's license intelligent management method and device |
CN101140653A (en) * | 2007-08-15 | 2008-03-12 | 陈向民 | Method for realizing useful-life setting and recognition approach of preferential card |
CN101754213B (en) * | 2008-11-28 | 2012-11-14 | 爱思开电讯投资(中国)有限公司 | Smart card, terminal equipment, and authentication server for guaranteeing application safety and methods thereof |
CN102110316B (en) * | 2009-12-29 | 2013-01-23 | 中国移动通信集团公司 | Method and system for realizing One-Card service |
-
2012
- 2012-05-03 CN CN201210134982.4A patent/CN102693582B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN102693582A (en) | 2012-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100438409C (en) | Intelligent card with financial-transaction message processing ability and its method | |
CN102693582B (en) | IC card data interaction method and system, and method and system for downloading loss report information | |
CN103473851A (en) | Rapid card issuing authorization method and system | |
CN100535935C (en) | CPUCPU and logic encryption double-purpose smart card and its data synchronization method | |
CN102693480A (en) | Mobile terminal with read card function and mobile terminal payment method | |
CN104091188A (en) | Wearable equipment and smart card system | |
CN103106533A (en) | Universal integrated card, integrated card system and information management method thereof | |
CN202142082U (en) | Financial IC card reader-writer | |
CN104573765B (en) | Smart card information processing method and processing device | |
CN103294978A (en) | Method of POS machine for identifying RFID electronic tag | |
CN203825665U (en) | Digital point management information system | |
CN102567009A (en) | Configurable financial smart card operation system architecture | |
CN104951823A (en) | Composite card management method and system | |
CN101354754B (en) | Intelligent memory card built-in with CPU IC and uses thereof | |
CN102542226A (en) | Secure access implementation method applying terminal access intelligent card | |
CN102054184B (en) | A kind of realize the system and method that double-interface smart card real-time transaction data information shows | |
CN1790388A (en) | Contactless CPU card compatible to logic encryption card | |
CN203338402U (en) | RFID and fingerprint identification technology-based mobile payment system | |
CN1805470A (en) | Mobile telephone, fingerprint recognition system utilizing the mobile telephone, and its recognition method | |
CN103020559A (en) | General card reading method of medical insurance medical treatment card terminals | |
CN105096190A (en) | Intelligent card locking method and apparatus | |
CN104008408A (en) | Data card system, data card and read-write method | |
CN109032677A (en) | Bank counter peripheral equipment management method and device | |
CN106780995A (en) | A kind of application processes of PBOC in public transport ticket checking terminal | |
CN203492023U (en) | Mobile terminal having contact card reader |
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 |
Granted publication date: 20140416 |
|
CF01 | Termination of patent right due to non-payment of annual fee |