CN101546453B - Method and device for authenticating IC card - Google Patents

Method and device for authenticating IC card Download PDF

Info

Publication number
CN101546453B
CN101546453B CN 200810084118 CN200810084118A CN101546453B CN 101546453 B CN101546453 B CN 101546453B CN 200810084118 CN200810084118 CN 200810084118 CN 200810084118 A CN200810084118 A CN 200810084118A CN 101546453 B CN101546453 B CN 101546453B
Authority
CN
China
Prior art keywords
card
authentication
physical address
storage unit
storer
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
Application number
CN 200810084118
Other languages
Chinese (zh)
Other versions
CN101546453A (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.)
Haier Group Corp
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Original Assignee
Haier Group Corp
Qingdao Haier Intelligent Home Appliance 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 Haier Group Corp, Qingdao Haier Intelligent Home Appliance Technology Co Ltd filed Critical Haier Group Corp
Priority to CN 200810084118 priority Critical patent/CN101546453B/en
Publication of CN101546453A publication Critical patent/CN101546453A/en
Application granted granted Critical
Publication of CN101546453B publication Critical patent/CN101546453B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention provides a method for authenticating an IC card, which comprises the following steps: prestoring a physical address of a storing device of an authentication device distributed to the card in the IC card; reading the physical address stored in the IC card by a singlechip on the authentication device, and accessing the physical address of the storing device according to the physical address; and authenticating the IC card according to the content in a storing unit of the physical address, wherein the content recorded in the storing unit of the physical address comprises an IC card number, and the authentication is performed according to whether the recorded card number is consistent with the number of the IC card. The invention also provides a device for authenticating the IC card, which comprises the storing device, a reading unit and an authenticating unit. By using the method and the device, the recorded physical address can be accessed directly, and the authentication time is shortened.

Description

Method for authenticating and authentication device to IC-card
Technical field
The present invention relates to the authentication techniques field, refer to especially a kind of method for authenticating to IC-card and authentication device.
Background technology
Application number be 200520030648.X Patent Application Publication a kind of self-service washing machine, this washing machine can with upper machine communication.For the self-service washing machine of network type, the mode that the IC-card that the user is used carries out authentication mainly comprises two kinds of centralized authentication and distributed authentications.Centralized authentication is that the information of the IC-card that obtains during with user card punching of each washing machine is uploaded to management center server (host computer) and unifies authentication.Distributed authentication is namely realized by each washing machine the authentication of user card punching.Distributed authentication is not owing to need to carry out uploading of authentication information, so authentication process is more quick.
For distributed authentication, need to arrange a storer at each washing machine, store effective IC-card that management center server issues by network number and corresponding authentication information.When user card punching, be arranged on the card number that card reader on the washing machine is obtained user's IC-card, retrieve data in the described storer by the single-chip microcomputer that is arranged on the washing machine according to card number, whether effective to judge this card number.
But along with increasing of user, the quantity of IC-card number is also in continuous increase, and because the computing power of single-chip microcomputer is limited, seeking the target data required time in mass data can be longer, has prolonged the authentication time of washing machine to IC-card.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method for authenticating and authentication device of IC-card, to shorten the authentication time to IC-card.
Method for authenticating to IC-card provided by the invention may further comprise the steps:
A, in IC-card, be stored as the physical address of the storer of the authentication device that this IC-card distributes in advance; The memory cell of pointing at this physical address of authentication device storer is stored up the authentication information of described IC-card;
When B, authentication, authentication device reads the physical address that IC-card is stored, and accesses its storer according to this physical address;
C, authentication device carry out authentication according to the content of the cell stores that its physical address points to IC-card.
The content of storing in the storage unit that wherein, the described physical address of described authentication device storer points to comprises IC-card number; The step of the described authentication of step C comprises: judge whether the card number of storing in the storage unit of described physical address sensing is identical with the card number of described IC-card.
The content of storing in the storage unit that optionally, the described physical address of described authentication device storer points to comprises: whether expression blocks active data; The step of the described authentication of step C comprises: judge the expression of storing in the storage unit of described physical address sensing blocks whether whether active data is expressed as effectively.
The content of storing in the storage unit that optionally, the described physical address of described authentication device storer points to comprises: the data whether the expression card is reported the loss; The step of the described authentication of step C comprises: judge whether data that whether the expression card stored in the storage unit that described physical address points to is reported the loss are expressed as and do not report the loss.
Better, the content of storing in the storage unit that described IC-card described physical address interior and the authentication device storer points to comprises: institute's attributed region; The step of the described authentication of step C comprises: judge whether institute's attributed region of storing in the storage unit of described physical address sensing is identical with institute's attributed region in the IC-card.
Accordingly, also provide a kind of authentication device to IC-card, having comprised: storer, the memory cell of its different physical addresss is stored up the authentication information of different IC-cards; Reading unit is used for reading the physical address that IC-card is stored when authentication, according to this physical address reference-to storage; Authenticating unit is used for according to the content of the cell stores of accessing IC-card being carried out authentication.
Wherein, the authentication information stored of described storer comprises IC-card number; Described authenticating unit comprises card number authentication subelement, and whether the card number of storing for the storage unit of judging described physical address is identical with the card number of described IC-card.
Optionally, the authentication information stored of described storer comprises that whether expression blocks active data; Described authenticating unit comprises the effective authentication subelement of IC-card, and the expression of storing for the storage unit of judging described physical address blocks whether whether active data is expressed as effectively.
Optionally, the authentication information stored of described storer comprises the data whether the expression card is reported the loss; Described authenticating unit comprises that IC-card reports the loss the authentication subelement, is used for judging whether data that whether expression card that the storage unit of described physical address is stored is reported the loss are expressed as does not report the loss.
Better, the authentication information that described storer is stored comprises the attributed region of corresponding IC-card; Described authenticating unit comprises IC-card attributed region authentication subelement, and whether institute's attributed region of storing for the storage unit of judging described physical address is identical with institute's attributed region in the IC-card.
As seen from the above, the present invention is owing to can directly read out the physical address of washing machine memory stores authentication information from IC-card, therefore single-chip microcomputer can directly be accessed the washing machine storer according to this physical address, read the information of the storage unit record of this physical address sensing and go to carry out authentication, shortened the authentication time.
Wherein, the authentication information of the storage unit record that described physical address points to can be IC-card whether effectively, the information such as whether report the loss, can carry out quick authentication by these authentication informations.
In addition, the storage unit that described physical address points to can also record this IC-card that distributes this physical address number, thereby can determine effectively whether described card is effective IC-card.Passed through by the mistake authentication behind the physical address of avoiding invalid IC-card access to put down in writing.
In addition, can also store the area information of dividing in IC-card and the washing machine storer and be used for authentication, thereby the storage unit that the same physical address of the storer of zones of different washing machine is pointed to can be stored the authentication information of certain IC-card in the zone separately, needn't store the authorization data of non-IC-card in should the zone, reduce the data volume of the IC-card authentication information that storer will store, saved the space of storer.
Description of drawings
Fig. 1 is IC-card authorizing procedure figure;
Fig. 2 is the structural drawing of the storage area of washing machine storer;
Fig. 3 is IC-card authentication device synoptic diagram.
Embodiment
The present invention is stored as the physical address of the storer of the washing machine that this card distributes in IC-card; When IC-card is carried out authentication, read out card number and the physical address of IC-card record as the washing machine of authentication device, carry out authentication according to the direct read memory of this physical address.Below with reference to the IC-card authorizing procedure figure shown in Fig. 1, the present invention is described in detail.May further comprise the steps:
Step 11: the storer with each washing machine carries out initialization in advance, as shown in Figure 2, can be divided into a plurality of storage unit with pre-sizing, is used for the authentication information of each IC-card of storage.
Wherein, can will be issued to for the configuration file of initializes memory each washing machine by management center server, by washing machine according to its storer of configuration file initialization.
Step 12: initialization IC-card when hair fastener comprises: for it distributes a storage unit of washing machine storer, and the physical address that this storage unit is pointed to deposits in the memory element of IC-card.
Wherein, can be to finish in administrative center to the initialization of IC-card, for example, when administrative center's hair fastener, by writing the card device physical address that distributes is write in the memory element of IC-card.
Step 13: in the storage unit that the above-mentioned physical address that distributes that will be deposited into to the authentication information of this IC-card each washing machine storer points to.
Wherein, writing also of this authentication information can write each washing machine storer by the mode that management center server issues configuration file.
Step 14: when the user used IC-card to swipe the card, the card reader that is arranged on the washing machine read IC-card, obtained the physical address of putting down in writing in the card number of IC-card and the memory element.
Step 15: directly access its storer by the single-chip microcomputer that is arranged on the washing machine according to the physical address that card reader reads out, and according to the data that read out the storage unit of pointing to from described physical address IC-card is carried out authentication.
Wherein, according to the different information of putting down in writing in this storage unit, can carry out the authentication of different modes, the below describes for example, and wherein following several authentication modes can use separately also and can be combined with:
Whether effectively the content of record can comprise expression card information in the storage unit: can represent with a bit, as block when effective that this bit is 1; After card cancelled, this bit was set to 0, represented that the data in storage unit of the corresponding physical address sensing of this card number is invalid, and this storage unit can reclaim the IC-card of distributing to other.
The content of record can comprise the information whether the expression card is reported the loss in the storage unit: can represent that with a bit be in such as card and do not report the loss, this bit is 1; When card is in the state of reporting the loss, this bit is set to 0, and the authorization data that represents the storage unit that physical address corresponding to this card number is pointed is unavailable, and will refuse the authentication to this card this moment; Behind the cancel loss report, this bit is set to 1, and the expression authorization data can be used.
The content of record can comprise the card number of corresponding IC-card in the storage unit, to be used for the corresponding authentication object of data in definite this storage unit, avoids being misapplied by other IC-cards.After distributing to other IC-cards uses when the storage unit of the corresponding physical address sensing of invalid IC-card, differentiate this authorization data and whether can be used for current I C card by judge that the IC-card that reads from storage unit number and the IC-card that reads number be whether identical from IC-card, thereby can avoid former invalid IC-card by the mistake authentication.
The below is illustrated with concrete card number and physical address, comprises that the normal authentication of card, card report the loss and block again and handle, block several examples that cancel.
Storer is divided into a plurality of storage unit, the first bit of the data of each cell stores is used for representing whether card is effective, the second bit represents whether card is reported the loss, remaining bit is used for recording card number, the meaning of each bit of describing with reference to preamble is exemplified below.
When card number 123456 and the IC-card that stores physical address 32000H were swiped the card operation, washing machine read card number 123456 and physical address 32000H from IC-card; Then data in the storage unit pointed to of DASD physical address 32000H, when the first bit and the second bit are 1, and the card number in the storage unit that reads is 123456 o'clock, and then authentication is passed through, if do not satisfy any one condition, then the authentication of this IC-card is not passed through.
Wherein, after the user loses IC-card 123456, need to report the loss to administrative center, it is 0 that administrative center revises corresponding to the second bit among the physical address 32000H of this card, and is issued in the storer of each washing machine.Behind user's cancel loss report, then administrative center's modification is 1 corresponding to the second bit among the physical address 32000H of this card, and is issued in the storer of each washing machine.
When after the user reports the loss, handling neocaine by administrative center, a new card number 654321 and original physical address 32000H join for the user in administrative center, then administrative center's modification is 1 corresponding to the second bit among the physical address 32000H of this card, and the card number in the memory address is revised as 654321, then be issued in the storer of each washing machine.
After IC-card 123456 cancels (as the term of life of blocking expire, block interior remaining sum be 0 and the stipulated time in do not supplement with money), send instructions under the administrative center the first bit in each washing machine physical address 32000H is revised as 0, the storage unit that this physical address points to can reclaim distributes to other IC-cards.
In addition, also can comprise other information in the storage unit, for example, washing machine can be carried out dividing by the zone, corresponding IC-card is also divided by the zone, and IC-card can only use the washing machine in the affiliated area.At this moment, the affiliated zone of a byte records can be set, and on IC-card and in the storage unit of the corresponding physical address sensing of washing machine storer, all store.When carrying out above-mentioned IC-card authentication, read out data in the storage unit of pointing to from described physical address, at first the content of definite area byte with read from IC-card consistent, and then other data that use reads out are carried out authentication.The storage unit pointed to of the same physical address of the washing machine storer of zones of different can be stored the authentication information of certain IC-card in the zone separately like this, and needn't store the authorization data of non-IC-card in should the zone, can reduce the data volume of the IC-card authentication information that storer will store, save the space of storer.
Fig. 3 also shows the authentication device that above-mentioned IC-card is carried out authentication, comprises storer, reading unit, authenticating unit.Wherein, the memory cell of the different physical addresss of storer is stored up the authentication information of different IC-cards; Reading unit is used for reading the physical address that IC-card is stored when authentication, according to this physical address reference-to storage; Authenticating unit is used for according to the content of the cell stores of accessing IC-card being carried out authentication.Wherein, when the authentication information of the IC-card of memory cell storage comprised that IC-card number, expression block the attributed region of active data whether, data that whether the expression card is reported the loss and/or IC-card, corresponding authenticating unit comprised that card number authentication subelement, the effective authentication subelement of IC-card, IC-card report the loss authentication subelement and/or IC-card attributed region authentication subelement.Wherein:
Whether the card number that card number authentication subelement is stored for the storage unit of judging described physical address is identical with the card number of described IC-card.The expression that the effective authentication subelement of IC-card is stored for the storage unit of judging described physical address blocks whether whether active data is expressed as effectively.Whether IC-card is reported the loss data that whether expression card that the authentication subelement is used for judging that the storage unit of described physical address is stored report the loss and is expressed as and does not report the loss.Whether institute's attributed region that IC-card attributed region authentication subelement is stored for the storage unit of judging described physical address is identical with institute's attributed region in the IC-card.

Claims (6)

1. method for authenticating to IC-card is applied to the authentication of washing machine, and authentication device is washing machine; It is characterized in that, comprise step:
A, in IC-card its attributed region of storage, in IC-card, be stored as in advance the physical address of the storer of the authentication device that this IC-card distributes; Store up the authentication information of described IC-card in the memory cell of this physical address of authentication device storer; Described authentication information comprises attributed region and IC-card number;
When B, authentication, authentication device reads the physical address that IC-card is stored, and accesses the storage unit of its storer according to this physical address; Judge the attributed region stored in the storage unit of described physical address and card number whether respectively with described IC-card in attributed region and the card number of described IC-card identical.
2. method according to claim 1 is characterized in that, the content of storing in the storage unit of the described physical address of described authentication device storer comprises: whether expression blocks active data;
The step of the described authentication of step B comprises: judge the expression of storing in the storage unit of described physical address blocks whether whether active data is expressed as effectively.
3. method according to claim 2 is characterized in that, the content of storing in the storage unit of the described physical address of described authentication device storer comprises: the data whether the expression card is reported the loss;
The step of the described authentication of step B comprises: judge whether data that whether the expression card stored in the storage unit of described physical address is reported the loss are expressed as and do not report the loss.
4. authentication device to IC-card, described authentication device is washing machine; It is characterized in that, comprising:
Storer, the memory cell of its different physical addresss is stored up the authentication information of different IC-cards, and authentication information comprises the attributed region, IC-card number of corresponding IC-card;
Reading unit is used for reading the physical address that IC-card is stored when authentication, according to the storage unit of this physical address reference-to storage;
Authenticating unit is used for according to the content of the cell stores of accessing IC-card being carried out authentication;
Described authenticating unit comprises IC-card attributed region authentication subelement, is used for judging that attributed region that the storage unit of described physical address stores is whether identical with attributed region in the IC-card;
Described authenticating unit comprises card number authentication subelement, and whether the card number of storing for the storage unit of judging described physical address is identical with the card number of described IC-card.
5. device according to claim 4 is characterized in that, the authentication information that described storer is stored comprises that whether expression blocks active data;
Described authenticating unit comprises the effective authentication subelement of IC-card, and the expression of storing for the storage unit of judging described physical address blocks whether whether active data is expressed as effectively.
6. device according to claim 5 is characterized in that, the authentication information that described storer is stored comprises the data whether the expression card is reported the loss;
Described authenticating unit comprises that IC-card reports the loss the authentication subelement, is used for judging whether data that whether expression card that the storage unit of described physical address is stored is reported the loss are expressed as does not report the loss.
CN 200810084118 2008-03-25 2008-03-25 Method and device for authenticating IC card Expired - Fee Related CN101546453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810084118 CN101546453B (en) 2008-03-25 2008-03-25 Method and device for authenticating IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810084118 CN101546453B (en) 2008-03-25 2008-03-25 Method and device for authenticating IC card

Publications (2)

Publication Number Publication Date
CN101546453A CN101546453A (en) 2009-09-30
CN101546453B true CN101546453B (en) 2013-02-06

Family

ID=41193571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810084118 Expired - Fee Related CN101546453B (en) 2008-03-25 2008-03-25 Method and device for authenticating IC card

Country Status (1)

Country Link
CN (1) CN101546453B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794813B (en) * 2014-01-16 2018-09-04 浙江融创信息产业有限公司 IC card card sending system, read-write implement, black and white lists processing method and processing device
CN115225293B (en) * 2021-04-16 2024-03-08 中国移动通信集团辽宁有限公司 Authentication method, system, device, equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259802A (en) * 1999-03-04 2000-09-22 Nippon Telegr & Teleph Corp <Ntt> Ic card, ic card access device and recording medium stored with ic card program and ic card access program
CN1564515A (en) * 2004-03-31 2005-01-12 刘学明 Status authentication system based on double dynamic passwords
CN101093594A (en) * 2007-07-06 2007-12-26 普天信息技术研究院有限公司 IC card, service data process system and method based on the IC card
CN101110667A (en) * 2006-07-19 2008-01-23 华为技术有限公司 User authentication method and user authentication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000259802A (en) * 1999-03-04 2000-09-22 Nippon Telegr & Teleph Corp <Ntt> Ic card, ic card access device and recording medium stored with ic card program and ic card access program
CN1564515A (en) * 2004-03-31 2005-01-12 刘学明 Status authentication system based on double dynamic passwords
CN101110667A (en) * 2006-07-19 2008-01-23 华为技术有限公司 User authentication method and user authentication system
CN101093594A (en) * 2007-07-06 2007-12-26 普天信息技术研究院有限公司 IC card, service data process system and method based on the IC card

Also Published As

Publication number Publication date
CN101546453A (en) 2009-09-30

Similar Documents

Publication Publication Date Title
CN106548789B (en) Method and apparatus for operating stacked tile type magnetic recording equipment
US7392358B2 (en) Delivery of a message to a user of a portable data storage device as a condition of its use
CN100377172C (en) Collation device and collation method for authenticating users
CN101789019B (en) Method for controlling removable disk under Windows
US20100039726A1 (en) Managing data storage media and multiple cartridge memories of a data storage cartridge
CN102317924A (en) Programming method and device for a buffer cache in a solid-state disk system
CN100424626C (en) Method and system for power management in a distributed file system
CN108319496A (en) resource access method, service server, distributed system and storage medium
CN109634873A (en) Solid-state disk host system log information method, apparatus, equipment and medium
CN100401409C (en) Entry point for digital rights management data
CN105446848B (en) The test method and device of the data processing performance of electronic equipment
CN108694022A (en) The system and method for solid-state disk for identification with the delay of minimum tail
US20030033496A1 (en) File management method, and memory card and terminal apparatus that make use of the method
CN101546453B (en) Method and device for authenticating IC card
CN101241469B (en) Method and device for storing and reading data in embedded system
JP2529868B2 (en) Recording method of information recording medium
CN102955951A (en) Radio frequency card area configuration method, radio frequency card read-write method, radio frequency card and cross-area utilization system for radio frequency card
CN201946021U (en) Novel intelligent card read-write device
CN101464938A (en) Apparatus and method for managing user memory of RFID tag
JP2006227928A (en) Storage area lending and borrowing system, server device and program
CN107544751A (en) A kind of method and apparatus for remotely accessing disk
CN101470873A (en) Method for implementing interaction with intelligent memory card in multi-file read-write mode
JP2008139953A (en) Apparatus and method for transmitting money amount changing information
CN101625902B (en) Method, system and device for acquiring service life of semiconductor storage medium
JP2608319B2 (en) IC card 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130206

Termination date: 20180325

CF01 Termination of patent right due to non-payment of annual fee