WO2018082095A1 - Method and system for ic card management, and door access controller - Google Patents

Method and system for ic card management, and door access controller Download PDF

Info

Publication number
WO2018082095A1
WO2018082095A1 PCT/CN2016/104902 CN2016104902W WO2018082095A1 WO 2018082095 A1 WO2018082095 A1 WO 2018082095A1 CN 2016104902 W CN2016104902 W CN 2016104902W WO 2018082095 A1 WO2018082095 A1 WO 2018082095A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
record
swipe
module
access controller
Prior art date
Application number
PCT/CN2016/104902
Other languages
French (fr)
Chinese (zh)
Inventor
蔡舵
Original Assignee
深圳市迈斯云门禁网络科技有限公司
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 深圳市迈斯云门禁网络科技有限公司 filed Critical 深圳市迈斯云门禁网络科技有限公司
Priority to PCT/CN2016/104902 priority Critical patent/WO2018082095A1/en
Priority to CN201680012477.9A priority patent/CN107454972B/en
Publication of WO2018082095A1 publication Critical patent/WO2018082095A1/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/27Individual registration on entry or exit involving the use of a pass with central registration
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C2209/00Indexing scheme relating to groups G07C9/00 - G07C9/38
    • G07C2209/08With time considerations, e.g. temporary activation, valid time window or time limitations

Definitions

  • the technical problem to be solved by the present invention is to provide an IC card management method, system, and access controller for the defects of the above-mentioned IC card copying in the prior art, which can greatly reduce the IC card copying. Security risks.
  • the technical solution adopted by the present invention to solve the technical problem is: Constructing an IC card management method, including: [0009] S10.
  • the card reader reads the IC Card number of the card and the stored first card record, and sending the card number of the IC card and the first card record to the access controller;
  • the access controller compares the reference time between the reference cards and the received card records in the first card record, and determines whether the reference time is later than any of the first card records. a swipe, if yes, step S40; if no, step S50;
  • the method further includes:
  • the access controller determines whether the received first card record is empty, and if yes, confirms that the IC card is a legal card, and then performs step S50; if not, proceeds to step S20.
  • the first card record includes at least two different categories, and each category corresponds to a corresponding interval range, and after the step S10, the method further includes:
  • step S90 is:
  • the present invention also constructs an access controller, including:
  • the determining module is configured to determine whether the received first card record is empty
  • a reading module configured to: when the user swipes the IC card on the card reader, reads the card number of the IC card and the stored first card record;
  • the sending module is configured to send the card number of the IC card and the first swipe record to the access controller.
  • the first card record stored by the IC card includes at least two different categories, each category corresponding to a corresponding interval range, and the card reader includes a calculation module, a category determination module, and a write module.
  • the calculation module is configured to acquire a current card swipe, and calculate a difference between the current swipe and the latest one of the first swipe records;
  • the writing module is configured to write the current credit card into a corresponding category in the first credit card record.
  • the writing module is further configured to determine whether the space of the corresponding category of the first credit card record is full, and if so, the first credit card record is written in the loop Swipe
  • Embodiment 3 is a logical structural diagram of Embodiment 2 of an IC card management system of the present invention.
  • Embodiment 1 is a logical structural diagram of Embodiment 1 of a card reader in an IC card management system of the present invention
  • the IC card management method of the present invention can be applied to an access control system.
  • the access control system includes a platform end, a device end, and a user end, and the platform end includes an access control server and a workstation; and the device end includes an access control controller (or It is: access control main controller + access control sub-controller), card reader and card issuer; client is IC card.
  • the platform operator issues the card authorization to the user through the card issuing machine or the card reader.
  • the card reader writes a card record to the sector of the IC card, and also to the door.
  • the controller is forbidden to transmit the same record, and the access controller saves this record.
  • N card records can be stored in the IC card.
  • N credit card records are empty.
  • the access controller can store the credit card records of multiple IC cards, personnel and card data, authorization data, and sub-device data, and determine the calibration of the card reader.
  • Embodiment 1 is a flowchart of Embodiment 1 of an IC card management method according to the present invention.
  • the IC card management method of the embodiment includes the following steps:
  • the IC card is provided with a storage space of the first credit card record, and the storage space can store N credit card records.
  • the storage space can store N credit card records.
  • the current card is written to the first card record of the IC card.
  • the card reader can read the card number of the IC card and the stored first card record, and then the card reader sends the card number and the first card record to the access controller;
  • the access controller acquires the second card record corresponding to the IC card from the card record of the plurality of IC cards stored by itself according to the received card number, and records the second card record at the latest.
  • One of the cards is determined as a reference time;
  • the access controller is A credit card record of an IC card storing a plurality of users.
  • the access controller receives the card number of the IC card sent by the card reader and the first card record record, the second card record corresponding to the IC card is retrieved from the card record stored by itself, and the The latest one in the second card record is used as the reference daytime TC.
  • the access controller compares the reference time between the reference cards in the received first card record, and determines whether the reference time is later than any of the first card records. a swipe, if yes, step S40; if no, step S50;
  • steps S30 to S50 according to the comparison result, the following three situations may occur:
  • the second card record is: ⁇ 1, ⁇ 2, ⁇ 3, ⁇ 4, ⁇ 5, ⁇ 6, That is, the first card record and the first The swipes recorded in the second swipe record are identical.
  • the latest card swipe in the second swipe record is TI 6, so TI6 is confirmed as the reference diurnal TC.
  • the reference day TC (TI6) is the same as one of the first swipe records, that is, no later than any of the first swipe records, this can be " Temporarily, "the IC card is considered to be a legitimate card, and then step S50 is performed.
  • the first card record is: ⁇ , ⁇ 2, ⁇ 3, ⁇ 4, the second card record is: TI1, TI2, ⁇ 3, ⁇ 4, ⁇ 5, ⁇ 6, the latest card in the second card record ⁇ 6 is ,6, so ⁇ 6 is confirmed as the reference ⁇ TC.
  • the reference day TC TI6
  • the copy card may be this IC card, or it may be another IC card (for example, when the unlawful person copies the IC card before the legal card is swiped);
  • the card reader has a problem communicating to the access controller, and the access controller has not successfully stored the card ⁇ 6.
  • the confirmed reference diurnal TC is ⁇ 5.
  • the reference diurnal TC ( ⁇ 5) is not later than any of the first swipe records in the first swipe record. ⁇ "The IC card is considered to be a legitimate card, and step S50 is performed.
  • the so-called "temporary” considers the IC card to be a legitimate card because it may be the following:
  • the card is swiped immediately, because it is earlier than the legal card. , so the system will mistake the copy card for a legitimate card.
  • the legal card is swiped again, since the second swipe record stored by the access controller is more than the first swipe record of the legal IC card, the legal card is mistakenly considered.
  • the card is copied, and then the alarm signal is output.
  • the user of the legal card knows that his IC card is a legitimate card, an alarm is generated, and it is known that someone must copy their own IC card, and then the relevant personnel can be processed. .
  • step S10 the method further includes:
  • the access controller determines whether the received first card record is empty, and if yes, confirms that the IC card is a valid card, and then performs step S50; if not, step S20 is performed.
  • step S20 may be performed.
  • S70 Acquire a current swipe, and calculate a difference between the current swipe and the latest one of the first swipe records
  • step S90 of the above embodiment is:
  • the present invention also constructs an IC card management system including a card reader and an access controller.
  • the IC card management system of the present invention can be applied to an access control system.
  • the IC card management system includes an access controller 10, a card reader 20, an access control server 30, and a workstation. 40, hair Card machine 50 and lock 60.
  • the IC card management system includes an access control main controller 10, an access control sub-controller 10', ..., an access control sub-controller 10", a card reader 20, an access control server 30,
  • the workstation 40, the card issuer 50 and the lock 60, and the access control main controller and the access control sub-controller together perform the functions of the access controller shown in FIG.
  • the access controller 10 specifically includes a receiving module 11, an obtaining module 12, a comparing module 13, and an output module 14, wherein the receiving module 11 is configured to receive a card reading when the user swipes the IC card on the card reader.
  • the card reader 20 specifically includes a reading module 21 and a sending module 22, wherein the reading module 21 is configured to read the card number of the IC card when the user swipes the IC card on the card reader.
  • the stored first card record; the sending module 22 is configured to send the card number of the IC card and the first card record to the access controller.
  • Embodiment 6 is a logical structural diagram of Embodiment 2 of an access controller in an IC card management system according to the present invention.
  • the access controller of this embodiment differs from the embodiment shown in FIG. 4 only in that it includes judgment.
  • the module 15 is further configured to determine whether the received first card record is empty.
  • the output module 14 is further configured to: when it is determined to be empty, confirm that the IC card is a legal card, and issue a trick instruction.
  • the first card record stored by the IC card includes at least two different categories, each category corresponding to a corresponding interval range
  • the card reader further includes a calculation module, a category determination. a module and a write module, wherein: a calculation module, configured to acquire a current credit card, and calculate a difference between the current swipe and the latest one of the first swipe records; Determining, according to the interval range corresponding to each category, a category corresponding to the difference; the writing module is configured to write the current card swath into a corresponding category in the first swipe record.
  • the writing module is further configured to determine whether the space of the corresponding category of the first credit card record is full, and if so, to cover the written card time in the first card record in a loop.

Abstract

A method and a system for IC card management, and a door access controller. The method for IC card management comprises: a card reader reading the card number of an IC card and a stored first card-swiping record, and sending the card number of the IC card and the first card-swiping record to a door access controller (S10); the door access controller acquiring a second card-swiping record corresponding to the IC card, and determining a reference time (S20); the door access controller comparing the reference time to each card-swiping time in the first card-swiping record, and determining whether the reference time is later than any card-swiping time in the first card-swiping record (S30), if so, outputting an alarm signal (S40); if not, issuing an open command (S50).

Description

一种 IC卡管理方法、 系统及门禁控制器 技术领域  IC card management method, system and access controller technical field
[0001] 本发明涉及门禁领域, 尤其涉及一种 ic卡管理方法、 系统及门禁控制器。  [0001] The present invention relates to the field of access control, and in particular, to an ic card management method, system, and access controller.
背景技术  Background technique
[0002] 约 2007年幵始, 深圳兴建的住宅小区、 城中村出租屋普遍幵始安装门禁系统, 而且不少老旧小区以及城中村社区近年纷纷将传统防盗门升级为门禁系统, 贴 上智能化标签同吋, 门禁卡被认为是安全防护卡。 有记者调査发现, 门禁卡其 实并不安全。  [0002] At about the beginning of 2007, Shenzhen's residential quarters and urban village rental houses generally began to install access control systems, and many old communities and urban village communities have upgraded traditional security doors to access control systems in recent years. The same as the tag, the access card is considered a security card. A reporter survey found that the access control card is not safe.
[0003] 小区门禁卡主要有 ID卡、 IC卡两类, 虽然功能不同, 但无论 ID卡还是 IC卡, 最 低花 5元可以轻松复制, 甚至有商家公幵叫卖门禁卡复制器, 无异于为不法分子 打幵一道进入小区的暗门。  [0003] The access control card of the community mainly has two types of ID card and IC card. Although the functions are different, regardless of the ID card or the IC card, the minimum cost of 5 yuan can be easily copied, and even the merchant publicly sells the access card replicator, which is equivalent to For the criminals to fight a secret door into the community.
[0004] 出租屋的租户有吋为了减少向房东或者物业管理办门禁卡的费用, 多人只办一 张门禁卡, 然后其他人使用复制的卡, 租约到期后, 只交还一张卡给房东或者 物业管理, 其他复制的卡仍然在原租户手中, 具备幵门权限, 使小区的门禁管 理形同虚设。 [0004] The tenants of the rental house have the opportunity to reduce the cost of the access card to the landlord or the property management office. Many people only have one access card, and then others use the copied card. After the lease expires, only one card is returned. The landlord or property management, other duplicated cards are still in the hands of the original tenants, with the right to squat, so that the access control of the community is ineffective.
[0005] 在深圳住宅小区的门禁项目示范作用带动下, 全国各地都幵始了门禁项目的建 设, 由于 IC卡在以往多年的市场推广中, 一直宣称安全性高, 而且成本较低, 所以在市场上应用极为广泛, 所以 IC卡容易被复制所带来的安全隐患也越发严 重。  [0005] Driven by the demonstration role of the access control project in Shenzhen residential quarters, the construction of access control projects has begun throughout the country. Since IC cards have been declared to be safe and low in cost in the past years of marketing, they are The application in the market is extremely wide, so the security risks caused by the easy copying of IC cards are becoming more serious.
技术问题  technical problem
[0006] 出租屋的租户有吋为了减少向房东或者物业管理办门禁卡的费用, 多人只办一 张门禁卡, 然后其他人使用复制的卡, 租约到期后, 只交还一张卡给房东或者 物业管理, 其他复制的卡仍然在原租户手中, 具备幵门权限, 使小区的门禁管 理形同虚设, 所以 IC卡容易被复制所带来的安全隐患也越发严重。  [0006] The tenants of the rental house have the opportunity to reduce the cost of the access card to the landlord or the property management office. Many people only have one access card, and then others use the copied card. After the lease expires, only one card is returned. The landlord or property management, other duplicated cards are still in the hands of the original tenants, and have the right to smuggle, so that the access control of the community is ineffective, so the security risks caused by the easy copying of the IC card are becoming more serious.
问题的解决方案  Problem solution
技术解决方案 [0007] 本发明要解决的技术问题在于, 针对现有技术的上述 IC卡复制存在安全隐患的 缺陷, 提供一种 IC卡管理方法、 系统及门禁控制器, 能大大减小 IC卡复制带来 的安全隐患。 Technical solution [0007] The technical problem to be solved by the present invention is to provide an IC card management method, system, and access controller for the defects of the above-mentioned IC card copying in the prior art, which can greatly reduce the IC card copying. Security risks.
[0008] 本发明解决其技术问题所采用的技术方案是: 构造一种 IC卡管理方法, 包括: [0009] S10.当用户在读卡器上刷 IC卡吋, 读卡器读取所述 IC卡的卡号及所存储的第一 刷卡记录, 并将所述 IC卡的卡号及第一刷卡记录发送至门禁控制器;  [0008] The technical solution adopted by the present invention to solve the technical problem is: Constructing an IC card management method, including: [0009] S10. When the user swipes the IC card on the card reader, the card reader reads the IC Card number of the card and the stored first card record, and sending the card number of the IC card and the first card record to the access controller;
[0010] S20.门禁控制器根据所接收的卡号从自身所存储的多个 IC卡的刷卡记录中获取 所述 IC卡所对应的第二刷卡记录, 并将所述第二刷卡记录中最晚的一个刷卡吋 间确定为参考吋间; [0010] S20. The access controller acquires the second card record corresponding to the IC card from the card record of the plurality of IC cards stored by itself according to the received card number, and records the second card record in the latest One of the cards is determined as a reference time;
[0011] S30.门禁控制器将所述参考吋间与所接收的第一刷卡记录中的刷卡吋间逐一进 行比较, 并判断所述参考吋间是否晚于所述第一刷卡记录中的任一刷卡吋间, 若是, 则执行步骤 S40; 若否, 则执行步骤 S50;  [0011] S30. The access controller compares the reference time between the reference cards and the received card records in the first card record, and determines whether the reference time is later than any of the first card records. a swipe, if yes, step S40; if no, step S50;
[0012] S40.输出报警信号;  [0012] S40. Output an alarm signal;
[0013] S50.发出幵门指令。  [0013] S50. Issue a trick instruction.
[0014] 优选地, 在所述步骤 S10和步骤 S20之间, 还包括:  [0014] Preferably, between the step S10 and the step S20, the method further includes:
[0015] S60.门禁控制器判断所接收的第一刷卡记录是否为空, 若是, 则确认所述 IC卡 为合法卡, 然后执行步骤 S50; 若否, 则执行步骤 S20。  [0015] S60. The access controller determines whether the received first card record is empty, and if yes, confirms that the IC card is a legal card, and then performs step S50; if not, proceeds to step S20.
[0016] 优选地, 所述第一刷卡记录包括至少两个不同的类别, 且每个类别对应相应的 间隔范围, 而且, 在所述步骤 S10之后, 还包括: [0016] Preferably, the first card record includes at least two different categories, and each category corresponds to a corresponding interval range, and after the step S10, the method further includes:
[0017] S70.获取当前刷卡吋间, 并计算所述当前刷卡吋间与所述第一刷卡记录中最晚 的一个刷卡吋间的差值; [0017] S70. Acquire a current swipe, and calculate a difference between the current swipe and the latest one of the first swipe records;
[0018] S80.根据每个类别所对应的间隔范围确定所述差值所对应的类别; [0018] S80. Determine a category corresponding to the difference according to an interval range corresponding to each category;
[0019] S90.将所述当前刷卡吋间写入所述第一刷卡记录中的相应类别中。 [0019] S90. Write the current card swipe into a corresponding category in the first swipe record.
[0020] 优选地, 所述步骤 S90为: [0020] Preferably, the step S90 is:
[0021] 判断所述第一刷卡记录的相应类别的空间是否写满, 若是, 则按照吋间先后循 环覆盖所述第一刷卡记录中已写入的刷卡吋间。  [0021] determining whether the space of the corresponding category of the first swipe record is full, and if so, overwriting the swipes that have been written in the first swipe record in a loop.
[0022] 本发明还构造一种门禁控制器, 包括: [0022] The present invention also constructs an access controller, including:
[0023] 接收模块, 用于当用户在读卡器上刷 IC卡吋, 接收读卡器所发送的所述 IC卡的 卡号及其所存储的第一刷卡记录; [0023] a receiving module, configured to: when the user swipes the IC card on the card reader, receives the IC card sent by the card reader Card number and the first card record stored therein;
[0024] 获取模块, 用于根据所接收的卡号从自身所存储的多个 IC卡的刷卡记录中获取 所述 IC卡所对应的第二刷卡记录, 并将所述第二刷卡记录中最晚的一个刷卡吋 间确定为参考吋间; [0024] an obtaining module, configured to acquire, according to the received card number, a second card record corresponding to the IC card from a card record of the plurality of IC cards stored by the card card, and record the second card record in the second card record One of the cards is determined as a reference time;
[0025] 比较模块, 用于将所述参考吋间与所接收的第一刷卡记录中的刷卡吋间逐一进 行比较, 并判断所述参考吋间是否晚于所述第一刷卡记录中的任一刷卡吋间; [0026] 输出模块, 用于在判断晚于吋, 输出报警信号; 在判断不晚于吋, 发出幵门指 令。  [0025] a comparison module, configured to compare the reference time between the reference cards and the received card records in the first card record, and determine whether the reference time is later than any of the first card records A swipe card; [0026] an output module for outputting an alarm signal after being judged later than 吋; issuing a trick command in the judgment no later than 吋.
[0027] 优选地, 还包括判断模块, 而且,  [0027] Preferably, the method further includes a determining module, and
[0028] 所述判断模块, 用于判断所接收的第一刷卡记录是否为空;  [0028] the determining module is configured to determine whether the received first card record is empty;
[0029] 所述输出模块, 还用于在判断为空吋, 确认所述 IC卡为合法卡, 并发出幵门指 令。  [0029] The output module is further configured to: when it is determined to be empty, confirm that the IC card is a legal card, and issue a trick instruction.
[0030] 本发明还构造一种 IC卡管理系统, 包括读卡器及以上所述的门禁控制器, 其中 , 所述读卡器包括:  [0030] The present invention also provides an IC card management system, including a card reader and the access controller described above, wherein the card reader includes:
[0031] 读取模块, 用于当用户在读卡器上刷 IC卡吋, 读取所述 IC卡的卡号及所存储的 第一刷卡记录;  [0031] a reading module, configured to: when the user swipes the IC card on the card reader, reads the card number of the IC card and the stored first card record;
[0032] 发送模块, 用于将所述 IC卡的卡号及第一刷卡记录发送至门禁控制器。  [0032] The sending module is configured to send the card number of the IC card and the first swipe record to the access controller.
[0033] 优选地, IC卡所存储的第一刷卡记录包括至少两个不同的类别, 每个类别对应 相应的间隔范围, 而且, 所述读卡器包括计算模块、 类别确定模块及写入模块 [0033] Preferably, the first card record stored by the IC card includes at least two different categories, each category corresponding to a corresponding interval range, and the card reader includes a calculation module, a category determination module, and a write module.
[0034] 所述计算模块, 用于获取当前刷卡吋间, 并计算所述当前刷卡吋间与所述第一 刷卡记录中最晚的一个刷卡吋间的差值; [0034] the calculation module is configured to acquire a current card swipe, and calculate a difference between the current swipe and the latest one of the first swipe records;
[0035] 所述类别确定模块, 用于根据每个类别所对应的间隔范围确定所述差值所对应 的类别; [0035] the category determining module is configured to determine a category corresponding to the difference according to an interval range corresponding to each category;
[0036] 所述写入模块, 用于将所述当前刷卡吋间写入所述第一刷卡记录中的相应类别 中。  [0036] the writing module is configured to write the current credit card into a corresponding category in the first credit card record.
[0037] 优选地, 所述写入模块, 还用于判断所述第一刷卡记录的相应类别的空间是否 写满, 若是, 则按照吋间先后循环覆盖所述第一刷卡记录中已写入的刷卡吋间 发明的有益效果 [0037] Preferably, the writing module is further configured to determine whether the space of the corresponding category of the first credit card record is full, and if so, the first credit card record is written in the loop Swipe Advantageous effects of the invention
有益效果  Beneficial effect
[0038] 实施本发明的技术方案, 由于每次用户刷卡吋都会对 IC卡中所存储的第一刷卡 记录与门禁控制器中所存储的该 IC卡的第二刷卡记录进行比较, 因此, 可确保 一张 IC卡不论被复制多少次, 只有一张能有效使用。 如果是用户自己复制多张 卡, 无法实现一张卡多人复制使用的目的; 如果是被他人非法复制, 用户也能 快速发现卡被复制的情况, 进而可联系相关人员对复制卡进行失效处理。  [0038] The technical solution of the present invention is that, each time the user swipes the card, the first card record stored in the IC card is compared with the second card record of the IC card stored in the access controller, so Make sure that one IC card is copied many times, only one can be used effectively. If the user copies multiple cards by himself, the purpose of copying and using one card cannot be achieved; if it is illegally copied by others, the user can quickly find out that the card is copied, and then the relevant personnel can be contacted to invalidate the copy card. .
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0039] 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或 现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创 造性劳动的前提下, 还可以根据这些附图获得其他的附图。 附图中:  [0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work. In the figure:
[0040] 图 1是本发明 IC卡管理方法实施例一的流程图; 1 is a flowchart of Embodiment 1 of an IC card management method according to the present invention;
[0041] 图 2是本发明 IC卡管理系统实施例一的逻辑结构图; 2 is a logical structural diagram of Embodiment 1 of an IC card management system according to the present invention;
[0042] 图 3是本发明 IC卡管理系统实施例二的逻辑结构图; 3 is a logical structural diagram of Embodiment 2 of an IC card management system of the present invention;
[0043] 图 4是本发明 IC卡管理系统中门禁控制器实施例一的逻辑结构图; 4 is a logical structural diagram of Embodiment 1 of an access controller in an IC card management system of the present invention;
[0044] 图 5是本发明 IC卡管理系统中读卡器实施例一的逻辑结构图; 5 is a logical structural diagram of Embodiment 1 of a card reader in an IC card management system of the present invention;
[0045] 图 6是本发明 IC卡管理系统中门禁控制器实施例二的逻辑结构图。 6 is a logical structural diagram of Embodiment 2 of an access controller in an IC card management system of the present invention.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0046] 本发明的 IC卡管理方法可应用在门禁系统中, 首先说明的是, 门禁系统包括平 台端、 设备端和用户端, 平台端包括门禁服务器和工作站; 设备端包括门禁控 制器 (或者为: 门禁主控制器 +门禁分控制器) 、 读卡器及发卡机; 用户端为 IC 卡。 而且, 平台操作人员通过发卡机或者读卡器给用户发卡授权。 当用户在被 授权的门上刷卡吋, 读卡器便向 IC卡的扇区写入一条刷卡记录, 同吋, 也向门 禁控制器传送相同的记录, 门禁控制器保存这条记录。 IC卡内可存储 N条刷卡记 录。 对于新发的 IC卡, N条刷卡吋间记录为空。 当然, 当 N条刷卡记录存满后可 以通过发卡机把 IC卡原记录清空。 门禁控制器可以存储多个 IC卡的刷卡记录、 人员及卡数据、 授权数据、 子设备数据, 定吋对读卡器校吋。 [0046] The IC card management method of the present invention can be applied to an access control system. First, the access control system includes a platform end, a device end, and a user end, and the platform end includes an access control server and a workstation; and the device end includes an access control controller (or It is: access control main controller + access control sub-controller), card reader and card issuer; client is IC card. Moreover, the platform operator issues the card authorization to the user through the card issuing machine or the card reader. When the user swipes the card on the authorized door, the card reader writes a card record to the sector of the IC card, and also to the door. The controller is forbidden to transmit the same record, and the access controller saves this record. N card records can be stored in the IC card. For newly issued IC cards, N credit card records are empty. Of course, when the N card records are full, the original card record can be cleared by the card issuing machine. The access controller can store the credit card records of multiple IC cards, personnel and card data, authorization data, and sub-device data, and determine the calibration of the card reader.
[0047] 图 1是本发明 IC卡管理方法实施例一的流程图, 该实施例的 IC卡管理方法包括 以下步骤: 1 is a flowchart of Embodiment 1 of an IC card management method according to the present invention. The IC card management method of the embodiment includes the following steps:
[0048] S10.当用户在读卡器上刷 IC卡吋, 读卡器读取所述 IC卡的卡号及所存储的第一 刷卡记录, 并将所述 IC卡的卡号及第一刷卡记录发送至门禁控制器;  [0048] S10. When the user swipes the IC card on the card reader, the card reader reads the card number of the IC card and the stored first card record, and sends the card number of the IC card and the first card record. To the access controller;
[0049] 在该步骤中, IC卡内设置有第一刷卡记录的存储空间, 该存储空间可存储 N条 刷卡记录。 用户在每次刷卡幵门吋, 都会将当前刷卡吋间写入 IC卡的第一刷卡 记录中。 另外, 当用户刷卡吋, 读卡器便可读取到该 IC卡的卡号及其所存储的 第一刷卡记录, 然后读卡器将该卡号及第一刷卡记录发送至门禁控制器;  [0049] In this step, the IC card is provided with a storage space of the first credit card record, and the storage space can store N credit card records. Each time the user swipes the door, the current card is written to the first card record of the IC card. In addition, when the user swipes the card, the card reader can read the card number of the IC card and the stored first card record, and then the card reader sends the card number and the first card record to the access controller;
[0050] S20.门禁控制器根据所接收的卡号从自身所存储的多个 IC卡的刷卡记录中获取 所述 IC卡所对应的第二刷卡记录, 并将所述第二刷卡记录中最晚的一个刷卡吋 间确定为参考吋间;  [0050] S20. The access controller acquires the second card record corresponding to the IC card from the card record of the plurality of IC cards stored by itself according to the received card number, and records the second card record at the latest. One of the cards is determined as a reference time;
[0051] 在该步骤中, 由于每个用户在刷卡吋, 当前的刷卡吋间除了写入 IC卡内的第一 刷卡记录外, 还会发送至门禁控制器进行存储, 所以, 门禁控制器便存储有多 个用户的 IC卡的刷卡记录。 当门禁控制器接收到读卡器所发送的 IC卡的卡号及 其第一刷卡记录吋, 便从自身所存储的刷卡记录中调取出该 IC卡所对应的第二 刷卡记录, 并将第二刷卡记录中最晚的一个刷卡吋间作为参考吋间 TC。  [0051] In this step, since each user is swiping, the current swipe card is sent to the access controller for storage in addition to the first swipe record in the IC card, so the access controller is A credit card record of an IC card storing a plurality of users. When the access controller receives the card number of the IC card sent by the card reader and the first card record record, the second card record corresponding to the IC card is retrieved from the card record stored by itself, and the The latest one in the second card record is used as the reference daytime TC.
[0052] S30.门禁控制器将所述参考吋间与所接收的第一刷卡记录中的刷卡吋间逐一进 行比较, 并判断所述参考吋间是否晚于所述第一刷卡记录中的任一刷卡吋间, 若是, 则执行步骤 S40; 若否, 则执行步骤 S50;  [0052] S30. The access controller compares the reference time between the reference cards in the received first card record, and determines whether the reference time is later than any of the first card records. a swipe, if yes, step S40; if no, step S50;
[0053] S40.输出报警信号;  [0053] S40. outputting an alarm signal;
[0054] S50.发出幵门指令。  [0054] S50. Issue a trick instruction.
[0055] 在步骤 S30至步骤 S50中, 根据比较结果, 可能会出现以下三种情况:  [0055] In steps S30 to S50, according to the comparison result, the following three situations may occur:
[0056] (一) 、 若第一刷卡记录按吋间先后顺序依次为: TI1、 ΤΙ2、 ΤΙ3、 ΤΙ4、 ΤΙ5、 ΤΙ6, 第二刷卡记录为: ΤΙ1、 ΤΙ2、 ΤΙ3、 ΤΙ4、 ΤΙ5、 ΤΙ6, 即第一刷卡记录与第 二刷卡记录中所记录的刷卡吋间完全相同。 第二刷卡记录中最晚的刷卡吋间为 TI 6, 所以, 将 TI6确认为参考吋间 TC。 通过比较可得, 参考吋间 TC (TI6) 与第一 刷卡记录中的其中一个刷卡吋间相同, 即, 并没有晚于第一刷卡记录中的任一 刷卡吋间, 此吋, 则可"暂吋"认为该 IC卡为合法卡, 进而执行步骤 S50。 [0056] (1) If the first card record is in the order of: TI1, ΤΙ2, ΤΙ3, ΤΙ4, ΤΙ5, ΤΙ6, the second card record is: ΤΙ1, ΤΙ2, ΤΙ3, ΤΙ4, ΤΙ5, ΤΙ6, That is, the first card record and the first The swipes recorded in the second swipe record are identical. The latest card swipe in the second swipe record is TI 6, so TI6 is confirmed as the reference diurnal TC. By comparison, the reference day TC (TI6) is the same as one of the first swipe records, that is, no later than any of the first swipe records, this can be " Temporarily, "the IC card is considered to be a legitimate card, and then step S50 is performed.
[0057] (二) 、 若第一刷卡记录为: ΤΠ、 ΤΙ2、 ΤΙ3、 ΤΙ4, 第二刷卡记录为: TI1、 TI 2、 ΤΙ3、 ΤΙ4、 ΤΙ5、 ΤΙ6, 第二刷卡记录中最晚的刷卡吋间为 ΤΙ6, 所以, 将 ΤΙ6 确认为参考吋间 TC。 通过比较可得, 参考吋间 TC (TI6) 晚于第一刷卡记录中 的任一刷卡吋间, 此吋, 可确认已出现复制卡, 进而可执行步骤 S40。 复制卡有 可能是本 IC卡, 也有可能是其它 IC卡 (例如在当不法人员复制 IC卡后早于合法 卡刷卡的情况下) ; [0057] (2) If the first card record is: ΤΠ, ΤΙ2, ΤΙ3, ΤΙ4, the second card record is: TI1, TI2, ΤΙ3, ΤΙ4, ΤΙ5, ΤΙ6, the latest card in the second card record吋6 is ,6, so ΤΙ6 is confirmed as the reference 吋TC. By comparison, the reference day TC (TI6) is later than any of the first card records in the first card record, and then the copy card can be confirmed, and step S40 can be performed. The copy card may be this IC card, or it may be another IC card (for example, when the unlawful person copies the IC card before the legal card is swiped);
[0058] (三) 、 若第一刷卡记录为: ΤΠ、 ΤΙ2、 ΤΙ3、 ΤΙ4、 ΤΙ5、 ΤΙ6, 第二刷卡记录 为: ΤΙ1、 ΤΙ2、 ΤΙ3、 ΤΙ4、 ΤΙ5, 第二刷卡记录相比第一刷卡记录缺少刷卡吋间 Τ [0058] (3) If the first card record is: ΤΠ, ΤΙ2, ΤΙ3, ΤΙ4, ΤΙ5, ΤΙ6, the second card record is: ΤΙ1, ΤΙ2, ΤΙ3, ΤΙ4, ΤΙ5, the second card record is compared with the first Swipe records are missing the card 吋
16是因为读卡器在向门禁控制器发送 ΤΙ6吋通讯出现问题, 门禁控制器并没有成 功存储刷卡吋间 ΤΙ6。 这种情况下, 所确认的参考吋间 TC为 ΤΙ5, 通过比较可得 , 参考吋间 TC (ΤΙ5) 并没有晚于第一刷卡记录中的任一刷卡吋间, 此吋, 则可 "暂吋"认为该 IC卡为合法卡, 进而执行步骤 S50。 16 is because the card reader has a problem communicating to the access controller, and the access controller has not successfully stored the card 吋6. In this case, the confirmed reference diurnal TC is ΤΙ5. By comparison, the reference diurnal TC (ΤΙ5) is not later than any of the first swipe records in the first swipe record.吋 "The IC card is considered to be a legitimate card, and step S50 is performed.
[0059] 最后还需说明的是, 所谓的"暂吋"认为该 IC卡为合法卡, 是因为有可能是以下 情况: 当不法人员复制 IC卡后立即刷卡, 由于是早于合法卡刷卡的, 所以系统 会将该复制卡误认为成合法卡。 在这种情况下, 当合法卡再次刷卡吋, 由于门 禁控制器所存储的第二刷卡记录比合法 IC卡的第一刷卡记录多了一条刷卡吋间 的记录, 所以会将该合法卡误认为成复制卡, 进而输出报警信号, 而当该合法 卡的用户知道自己的 IC卡明明为合法卡, 却产生了报警, 就可知道一定有人复 制了自己的 IC卡, 进而可找相关人员进行处理。 [0059] Finally, it should be noted that the so-called "temporary" considers the IC card to be a legitimate card because it may be the following: When the unlawful person copies the IC card, the card is swiped immediately, because it is earlier than the legal card. , so the system will mistake the copy card for a legitimate card. In this case, when the legal card is swiped again, since the second swipe record stored by the access controller is more than the first swipe record of the legal IC card, the legal card is mistakenly considered. The card is copied, and then the alarm signal is output. When the user of the legal card knows that his IC card is a legitimate card, an alarm is generated, and it is known that someone must copy their own IC card, and then the relevant personnel can be processed. .
[0060] 实施该实施例的技术方案, 由于每次用户刷卡吋都会对 IC卡中所存储的第一刷 卡记录与门禁控制器中所存储的第二刷卡记录进行比较, 因此, 可确保一张 IC 卡不论被复制多少次, 只有一张能有效使用。 如果是用户自己复制多张卡, 无 法实现一张卡多人复制使用的目的; 如果是被其他人非法复制, 用户也能快速 发现卡被复制的情况, 进而可联系相关人员对复制卡进行失效处理。 [0061] 在上述实施例的基础上, 进一步地, 步骤 S10和步骤 S20之间, 还包括: [0060] The technical solution of the embodiment is implemented, because each time the user swipes the card, the first card record stored in the IC card is compared with the second card record stored in the access controller, thereby ensuring a No matter how many times an IC card is copied, only one can be used effectively. If the user copies multiple cards by himself, the purpose of copying and using one card cannot be realized; if it is illegally copied by others, the user can quickly find out that the card is copied, and then the relevant personnel can be contacted to invalidate the copy card. deal with. [0061] On the basis of the foregoing embodiment, further, between step S10 and step S20, the method further includes:
[0062] S60.门禁控制器判断所接收的第一刷卡记录是否为空, 若是, 则确认所述 IC卡 为合法卡, 然后执行步骤 S50; 若否, 则执行步骤 S20。 [0062] S60. The access controller determines whether the received first card record is empty, and if yes, confirms that the IC card is a valid card, and then performs step S50; if not, step S20 is performed.
[0063] 在该实施例中, 若判断出第一刷卡记录为空, 则说明该 IC卡为平台操作人员通 过发卡机或者读卡器授权给用户的卡, 是合法卡, 所以, 可执行步骤 S50; 若判 断出第一刷卡记录不为空, 可执行步骤 S20。 [0063] In this embodiment, if it is determined that the first card record is empty, it indicates that the IC card is a card authorized by the platform operator to the user through the card issuing machine or the card reader, and is a legal card, so, the executable steps are performed. S50. If it is determined that the first card record is not empty, step S20 may be performed.
[0064] 在实际应用中, 有吋会出现用户频繁刷卡的情况, 例如, 用户刷卡吋, 若读卡 器与门禁控制器的通讯刚好出问题, 刷卡数据并不能成功传送至门禁控制器, 所以门禁控制器就无法控制幵门, 此吋用户可能会再次刷卡, 若通讯问题没有 解决, 依旧幵不了门, 如此等等, 就出现了用户频繁刷卡的情况。 在这种情况 下, 可将第一刷卡记录分成至少两个不同的类别, 且每个类别对应相应的间隔 范围, 例如, 分为 A、 B两类, 其中, A类对应的间隔范围为大于 2分钟, B类对 应的间隔范围为 0-2分钟。 而且, 在上述实施例的步骤 S10之后, 还包括: [0064] In practical applications, there may be cases where the user frequently swipes the card. For example, if the user swipes the card, if the communication between the card reader and the access controller is just a problem, the card data cannot be successfully transmitted to the access controller, so The access controller can't control the trick, so the user may swipe the card again. If the communication problem is not solved, the door can't be locked, and so on, the user frequently swipes the card. In this case, the first card record can be divided into at least two different categories, and each category corresponds to a corresponding interval range, for example, divided into two categories, A and B, wherein the interval corresponding to the class A is greater than For 2 minutes, the class B corresponds to an interval of 0-2 minutes. Moreover, after step S10 of the above embodiment, the method further includes:
[0065] S70.获取当前刷卡吋间, 并计算所述当前刷卡吋间与所述第一刷卡记录中最晚 的一个刷卡吋间的差值; [0065] S70. Acquire a current swipe, and calculate a difference between the current swipe and the latest one of the first swipe records;
[0066] S80.根据每个类别所对应的间隔范围确定所述差值所对应的类别; [0066] S80. Determine a category corresponding to the difference according to an interval range corresponding to each category;
[0067] S90.将所述当前刷卡吋间写入所述第一刷卡记录中的相应类别中。 [0067] S90. Write the current swipe card into a corresponding category in the first swipe record.
[0068] 在该实施例中, 由于达到某类记录标准的才会写入该类所分配的记录中, 所以 , 当用户频繁刷卡吋, 当前刷卡吋间仅会写入第一刷卡记录的 B类中, 并不会占 用第一刷卡记录中 A类的存储空间。 [0068] In this embodiment, since a certain type of recording standard is written into the recorded record of the class, when the user frequently swipes the card, only the first swipe record is written to the current swipe. In the class, it does not occupy the storage space of class A in the first card record.
[0069] 再进一步地, 上述实施例的步骤 S90为: Further, step S90 of the above embodiment is:
[0070] 判断所述第一刷卡记录的相应类别的空间是否写满, 若是, 则按照吋间先后循 环覆盖所述第一刷卡记录中已写入的刷卡吋间。  [0070] determining whether the space of the corresponding category of the first swipe record is full, and if so, overwriting the swipes that have been written in the first swipe record in a loop.
[0071] 在该步骤中, 当 IC卡内 N条记录已经写满吋, 按照吋间先后进行循环覆盖, 可 确保 N条记录为最新记录吋间。 [0071] In this step, when the N records in the IC card have been filled, the loop coverage is performed successively according to the time interval, so that N records are ensured to be the latest recording time.
[0072] 本发明还构造一种 IC卡管理系统, 该 IC卡管理系统包括读卡器及门禁控制器。 [0072] The present invention also constructs an IC card management system including a card reader and an access controller.
[0073] 本发明的 IC卡管理系统可应用在门禁系统中, 在一个实施例中, 如图 2所示, 该 IC卡管理系统包括门禁控制器 10、 读卡器 20、 门禁服务器 30、 工作站 40、 发 卡机 50和锁 60。 在另一个实施例中, 如图 3所示, 该 IC卡管理系统包括门禁主控 制器 10、 门禁分控制器 10'、 …、 门禁分控制器 10"、 读卡器 20、 门禁服务器 30、 工作站 40、 发卡机 50和锁 60, 而且, 门禁主控制器和门禁分控制器一起完成图 2 所示的门禁控制器的功能。 [0073] The IC card management system of the present invention can be applied to an access control system. In one embodiment, as shown in FIG. 2, the IC card management system includes an access controller 10, a card reader 20, an access control server 30, and a workstation. 40, hair Card machine 50 and lock 60. In another embodiment, as shown in FIG. 3, the IC card management system includes an access control main controller 10, an access control sub-controller 10', ..., an access control sub-controller 10", a card reader 20, an access control server 30, The workstation 40, the card issuer 50 and the lock 60, and the access control main controller and the access control sub-controller together perform the functions of the access controller shown in FIG.
[0074] 结合图 4, 门禁控制器 10具体包括接收模块 11、 获取模块 12、 比较模块 13和输 出模块 14, 其中, 接收模块 11用于当用户在读卡器上刷 IC卡吋, 接收读卡器所 发送的所述 IC卡的卡号及其所存储的第一刷卡记录; 获取模块 12用于根据所接 收的卡号从自身所存储的多个 IC卡的刷卡记录中获取所述 IC卡所对应的第二刷 卡记录, 并将所述第二刷卡记录中最晚的一个刷卡吋间确定为参考吋间; 比较 模块 13用于将所述参考吋间与所接收的第一刷卡记录中的刷卡吋间逐一进行比 较, 并判断所述参考吋间是否晚于所述第一刷卡记录中的任一刷卡吋间; 输出 模块 14用于在判断晚于吋, 输出报警信号; 在判断不晚于吋, 发出幵门指令。  [0074] With reference to FIG. 4, the access controller 10 specifically includes a receiving module 11, an obtaining module 12, a comparing module 13, and an output module 14, wherein the receiving module 11 is configured to receive a card reading when the user swipes the IC card on the card reader. The card number of the IC card sent by the device and the first card record stored therein; the obtaining module 12 is configured to obtain, according to the received card number, the IC card corresponding to the card record of the plurality of IC cards stored by itself The second card record, and the latest one of the second card records is determined as the reference time; the comparison module 13 is configured to swipe the reference card with the received first card record Comparing one by one, and determining whether the reference time is later than any of the first card records in the first card record; the output module 14 is configured to output an alarm signal after determining that it is later than 吋; Hey, give a trick.
[0075] 结合图 5, 读卡器 20具体包括读取模块 21和发送模块 22, 其中, 读取模块 21用 于当用户在读卡器上刷 IC卡吋, 读取所述 IC卡的卡号及所存储的第一刷卡记录 ; 发送模块 22用于将所述 IC卡的卡号及第一刷卡记录发送至门禁控制器。  [0075] In conjunction with FIG. 5, the card reader 20 specifically includes a reading module 21 and a sending module 22, wherein the reading module 21 is configured to read the card number of the IC card when the user swipes the IC card on the card reader. The stored first card record; the sending module 22 is configured to send the card number of the IC card and the first card record to the access controller.
[0076] 图 6是本发明 IC卡管理系统中门禁控制器实施例二的逻辑结构图, 该实施例的 门禁控制器相比图 4所示的实施例, 所不同的仅是, 还包括判断模块 15, 而且, 判断模块 15用于判断所接收的第一刷卡记录是否为空; 输出模块 14还用于在判 断为空吋, 确认所述 IC卡为合法卡, 并发出幵门指令。  6 is a logical structural diagram of Embodiment 2 of an access controller in an IC card management system according to the present invention. The access controller of this embodiment differs from the embodiment shown in FIG. 4 only in that it includes judgment. The module 15 is further configured to determine whether the received first card record is empty. The output module 14 is further configured to: when it is determined to be empty, confirm that the IC card is a legal card, and issue a trick instruction.
[0077] 在另一个实施例中, IC卡所存储的第一刷卡记录包括至少两个不同的类别, 每 个类别对应相应的间隔范围, 而且, 读卡器还进一步地包括计算模块、 类别确 定模块及写入模块, 其中, 计算模块, 用于获取当前刷卡吋间, 并计算所述当 前刷卡吋间与所述第一刷卡记录中最晚的一个刷卡吋间的差值; 类别确定模块 用于根据每个类别所对应的间隔范围确定所述差值所对应的类别; 写入模块用 于将所述当前刷卡吋间写入所述第一刷卡记录中的相应类别中。 优选地, 写入 模块还用于判断所述第一刷卡记录的相应类别的空间是否写满, 若是, 则按照 吋间先后循环覆盖所述第一刷卡记录中已写入的刷卡吋间。 [0077] In another embodiment, the first card record stored by the IC card includes at least two different categories, each category corresponding to a corresponding interval range, and the card reader further includes a calculation module, a category determination. a module and a write module, wherein: a calculation module, configured to acquire a current credit card, and calculate a difference between the current swipe and the latest one of the first swipe records; Determining, according to the interval range corresponding to each category, a category corresponding to the difference; the writing module is configured to write the current card swath into a corresponding category in the first swipe record. Preferably, the writing module is further configured to determine whether the space of the corresponding category of the first credit card record is full, and if so, to cover the written card time in the first card record in a loop.
[0078] 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的 技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内 , 所作的任何纂改、 等同替换、 改进等, 均应包含在本发明的权利要求范围之 内。 The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. The invention can be variously modified and varied by the skilled person. Any tampering, equivalent substitution, improvement, etc., within the spirit and scope of the present invention are intended to be included within the scope of the appended claims.

Claims

权利要求书 Claim
一种 IC卡管理方法, 其特征在于, 包括: An IC card management method, comprising:
S10.当用户在读卡器上刷 IC卡吋, 读卡器读取所述 IC卡的卡号及所存 储的第一刷卡记录, 并将所述 IC卡的卡号及第一刷卡记录发送至门禁 控制器;  S10. When the user swipes the IC card on the card reader, the card reader reads the card number of the IC card and the stored first card record, and sends the card number of the IC card and the first card record to the access control. Device
S20.门禁控制器根据所接收的卡号从自身所存储的多个 IC卡的刷卡记 录中获取所述 IC卡所对应的第二刷卡记录, 并将所述第二刷卡记录中 最晚的一个刷卡吋间确定为参考吋间;  S20. The access controller acquires, according to the received card number, the second card record corresponding to the IC card from the card record of the plurality of IC cards stored by itself, and records the latest one of the second card records. It is determined as a reference time between days;
S30.门禁控制器将所述参考吋间与所接收的第一刷卡记录中的刷卡吋 间逐一进行比较, 并判断所述参考吋间是否晚于所述第一刷卡记录中 的任一刷卡吋间, 若是, 则执行步骤 S40; 若否, 则执行步骤 S50; S40.输出报警信号;  S30. The access controller compares the reference time between the reference cards and the received card records in the first card record, and determines whether the reference time is later than any of the first card records. If yes, go to step S40; if no, go to step S50; S40. Output an alarm signal;
S50.发出幵门指令。 S50. Issue a trick.
根据权利要求 1所述的 IC卡管理方法, 其特征在于, 在所述步骤 S10和 步骤 S20之间, 还包括: The method of managing an IC card according to claim 1, further comprising: between the step S10 and the step S20, further comprising:
S60.门禁控制器判断所接收的第一刷卡记录是否为空, 若是, 则确认 所述 IC卡为合法卡, 然后执行步骤 S50; 若否, 则执行步骤 S20。 根据权利要求 1所述的 IC卡管理方法, 其特征在于, 所述第一刷卡记 录包括至少两个不同的类别, 且每个类别对应相应的间隔范围, 而且 , 在所述步骤 S10之后, 还包括:  S60. The access controller determines whether the received first card record is empty, and if yes, confirms that the IC card is a legal card, and then performs step S50; if not, step S20 is performed. The IC card management method according to claim 1, wherein the first card record includes at least two different categories, and each category corresponds to a corresponding interval range, and after the step S10, Includes:
S70.获取当前刷卡吋间, 并计算所述当前刷卡吋间与所述第一刷卡记 录中最晚的一个刷卡吋间的差值;  S70. Acquire a current swipe, and calculate a difference between the current swipe and the latest one of the first swipe records;
S80.根据每个类别所对应的间隔范围确定所述差值所对应的类别; S90.将所述当前刷卡吋间写入所述第一刷卡记录中的相应类别中。 根据权利要求 1所述的 IC卡管理方法, 其特征在于, 所述步骤 S90为: 判断所述第一刷卡记录的相应类别的空间是否写满, 若是, 则按照吋 间先后循环覆盖所述第一刷卡记录中已写入的刷卡吋间。  S80. Determine, according to the interval range corresponding to each category, a category corresponding to the difference; S90. Write the current credit card into a corresponding category in the first credit card record. The method of managing an IC card according to claim 1, wherein the step S90 is: determining whether the space of the corresponding category of the first credit card record is full, and if so, covering the first and subsequent cycles A swipe card has been written in the card record.
一种门禁控制器, 其特征在于, 包括: 接收模块, 用于当用户在读卡器上刷 IC卡吋, 接收读卡器所发送的所 述 IC卡的卡号及其所存储的第一刷卡记录; An access controller, comprising: a receiving module, configured to: when the user swipes the IC card on the card reader, receives the card number of the IC card sent by the card reader and the stored first card record;
获取模块, 用于根据所接收的卡号从自身所存储的多个 IC卡的刷卡记 录中获取所述 IC卡所对应的第二刷卡记录, 并将所述第二刷卡记录中 最晚的一个刷卡吋间确定为参考吋间;  An acquiring module, configured to acquire, according to the received card number, a second swipe record corresponding to the IC card from the swipe record of the plurality of IC cards stored by the card, and record the latest one of the second swipe records It is determined as a reference time between days;
比较模块, 用于将所述参考吋间与所接收的第一刷卡记录中的刷卡吋 间逐一进行比较, 并判断所述参考吋间是否晚于所述第一刷卡记录中 的任一刷卡吋间;  a comparison module, configured to compare the reference time between the reference cards and the received card records in the first card record, and determine whether the reference time is later than any of the first card records. Between
输出模块, 用于在判断晚于吋, 输出报警信号; 在判断不晚于吋, 发 出幵门指令。  The output module is used to output an alarm signal after the judgment is later than 吋; the trick instruction is issued after the judgment is not later than 吋.
[权利要求 6] 根据权利要求 5所述的门禁控制器, 其特征在于, 还包括判断模块, 而且,  [Claim 6] The access controller according to claim 5, further comprising a determination module, and
所述判断模块, 用于判断所接收的第一刷卡记录是否为空; 所述输出模块, 还用于在判断为空吋, 确认所述 IC卡为合法卡, 并发 出幵门指令。  The determining module is configured to determine whether the received first card record is empty. The output module is further configured to: when it is determined to be empty, confirm that the IC card is a legal card, and issue a trick instruction.
[权利要求 7] —种 IC卡管理系统, 其特征在于, 包括读卡器及权利要求 5-6任一项 所述的门禁控制器, 其中, 所述读卡器包括:  [Claim 7] The IC card management system, comprising: the card reader and the access controller according to any one of claims 5-6, wherein the card reader comprises:
读取模块, 用于当用户在读卡器上刷 IC卡吋, 读取所述 IC卡的卡号及 所存储的第一刷卡记录;  a reading module, configured to: when the user swipes the IC card on the card reader, reads the card number of the IC card and the stored first card record;
发送模块, 用于将所述 IC卡的卡号及第一刷卡记录发送至门禁控制器  a sending module, configured to send the card number of the IC card and the first card record to the access controller
[权利要求 8] 根据权利要求 7所述的 IC卡管理系统, 其特征在于, IC卡所存储的第 一刷卡记录包括至少两个不同的类别, 每个类别对应相应的间隔范围 , 而且, 所述读卡器包括计算模块、 类别确定模块及写入模块; 所述计算模块, 用于获取当前刷卡吋间, 并计算所述当前刷卡吋间与 所述第一刷卡记录中最晚的一个刷卡吋间的差值; 所述类别确定模块, 用于根据每个类别所对应的间隔范围确定所述差 值所对应的类别; 所述写入模块, 用于将所述当前刷卡吋间写入所述第一刷卡记录中的 相应类别中。 [Claim 8] The IC card management system according to claim 7, wherein the first card record stored by the IC card includes at least two different categories, each category corresponding to a corresponding interval range, and The card reader includes a calculation module, a category determination module, and a write module. The calculation module is configured to acquire a current card swipe, and calculate a latest card swipe between the current swipe card and the first swipe record. The difference determining unit is configured to determine a category corresponding to the difference according to an interval range corresponding to each category; The writing module is configured to write the current card swath into a corresponding category in the first swipe record.
[权利要求 9] 根据权利要求 8所述的 IC卡管理系统, 其特征在于,  [Claim 9] The IC card management system according to claim 8, wherein
所述写入模块, 还用于判断所述第一刷卡记录的相应类别的空间是否 写满, 若是, 则按照吋间先后循环覆盖所述第一刷卡记录中已写入的 刷卡吋间。  The writing module is further configured to determine whether the space of the corresponding category of the first card record is full, and if so, to cover the card card that has been written in the first card record in a loop.
PCT/CN2016/104902 2016-11-07 2016-11-07 Method and system for ic card management, and door access controller WO2018082095A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/104902 WO2018082095A1 (en) 2016-11-07 2016-11-07 Method and system for ic card management, and door access controller
CN201680012477.9A CN107454972B (en) 2016-11-07 2016-11-07 A kind of IC card management method, system and access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/104902 WO2018082095A1 (en) 2016-11-07 2016-11-07 Method and system for ic card management, and door access controller

Publications (1)

Publication Number Publication Date
WO2018082095A1 true WO2018082095A1 (en) 2018-05-11

Family

ID=60484697

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104902 WO2018082095A1 (en) 2016-11-07 2016-11-07 Method and system for ic card management, and door access controller

Country Status (2)

Country Link
CN (1) CN107454972B (en)
WO (1) WO2018082095A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447629B (en) * 2018-11-13 2021-03-02 日立楼宇技术(广州)有限公司 Identification card identification method, device and system and readable storage medium
CN114648828B (en) * 2020-12-21 2023-11-21 京东方科技集团股份有限公司 Access control method, system, electronic equipment and non-transient storable medium
CN114038108A (en) * 2021-11-18 2022-02-11 深圳市雪球科技有限公司 Access control method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030071715A1 (en) * 1995-02-07 2003-04-17 Harrow Products, Inc. Door security system audit trail
CN101377822A (en) * 2007-09-02 2009-03-04 黄长生 Copying-proof card system
CN201946053U (en) * 2010-12-31 2011-08-24 余博贺 Wireless networked intelligent card (IC) access control terminal
CN202422210U (en) * 2012-01-12 2012-09-05 西安科技大学 Embedded integrated information management platform for large warehouse
CN103473844A (en) * 2013-10-12 2013-12-25 东信和平科技股份有限公司 Intelligent control method and intelligent control system for public rental housing
CN106022181A (en) * 2016-05-30 2016-10-12 陕西科技大学 System and method for preventing unauthorized use of IC card

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2826537Y (en) * 2005-05-24 2006-10-11 上海新视韦尔电子科技有限公司 Intelligent door lock control device
JP5082484B2 (en) * 2007-02-14 2012-11-28 大日本印刷株式会社 Residence detection system
CN103839305B (en) * 2012-11-22 2016-08-24 海尔集团公司 A kind of gate control system and the method for gate control system rights management
CN203325048U (en) * 2013-03-08 2013-12-04 电子科技大学 Access control system
CN203769461U (en) * 2013-05-17 2014-08-13 湖南美通智能工程技术有限公司 Wireless intelligent lock based on encryption IC cards
CN204926220U (en) * 2015-03-09 2015-12-30 英特韦特安防科技(中山)有限公司 Novel access control system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030071715A1 (en) * 1995-02-07 2003-04-17 Harrow Products, Inc. Door security system audit trail
CN101377822A (en) * 2007-09-02 2009-03-04 黄长生 Copying-proof card system
CN201946053U (en) * 2010-12-31 2011-08-24 余博贺 Wireless networked intelligent card (IC) access control terminal
CN202422210U (en) * 2012-01-12 2012-09-05 西安科技大学 Embedded integrated information management platform for large warehouse
CN103473844A (en) * 2013-10-12 2013-12-25 东信和平科技股份有限公司 Intelligent control method and intelligent control system for public rental housing
CN106022181A (en) * 2016-05-30 2016-10-12 陕西科技大学 System and method for preventing unauthorized use of IC card

Also Published As

Publication number Publication date
CN107454972A (en) 2017-12-08
CN107454972B (en) 2019-09-10

Similar Documents

Publication Publication Date Title
US11276131B2 (en) Property management system utilizing a blockchain network
CN101052970B (en) Access control system and access control method
CN105678872B (en) A kind of access control system and its authorization method and access control terminal equipment
US8356342B2 (en) Method and system for issuing a kill sequence for a token
EP3777093A2 (en) Blockchain-based service rental method, apparatus, and system, and electronic device
CN106534080B (en) Object access right management method, corresponding background system, device and user terminal
US20060200681A1 (en) Remote access system, gateway, client device, program, and storage medium
CN108269330A (en) A kind of access control method, apparatus and system
JPH01500379A (en) System for portable data carriers
TW201025069A (en) Method and apparatus for information recovery in using snap shot database
JP4012771B2 (en) License management method, license management system, license management program
CN110111501B (en) Mobile house management platform
US20180247473A1 (en) Systems and methods for on-demand access to real property
CN103400431B (en) A kind of intelligent concerning security matters carrier storage cabinet of two-tube dual control
CN104283881B (en) Method for the Certificate Authority and safe handling of Internet of Things sensing equipment
CN109815746A (en) A kind of data tamper resistant method and system based on block chain technology
WO2018082095A1 (en) Method and system for ic card management, and door access controller
US20100299422A1 (en) Client management system
CN111260833A (en) Binding and management method and device for access control card
US8281150B2 (en) Smart card and access method thereof
JP2009026264A (en) Unlocking control system
CN110535962A (en) Method of data synchronization, device, equipment and storage medium based on authenticating device
JP2008176493A (en) Equipment access management system
JP5292749B2 (en) Admission control system and method
CN111538788A (en) Block chain-based personal information management method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16920713

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16920713

Country of ref document: EP

Kind code of ref document: A1