CN110232762B - Anti-copy method for electronic lock of M1 card cabinet door - Google Patents

Anti-copy method for electronic lock of M1 card cabinet door Download PDF

Info

Publication number
CN110232762B
CN110232762B CN201910551097.8A CN201910551097A CN110232762B CN 110232762 B CN110232762 B CN 110232762B CN 201910551097 A CN201910551097 A CN 201910551097A CN 110232762 B CN110232762 B CN 110232762B
Authority
CN
China
Prior art keywords
card
password
cabinet door
lock
opening
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910551097.8A
Other languages
Chinese (zh)
Other versions
CN110232762A (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.)
Shenyang Tiger Technology Development Co ltd
Original Assignee
Shenyang Tiger Technology Development 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 Shenyang Tiger Technology Development Co ltd filed Critical Shenyang Tiger Technology Development Co ltd
Priority to CN201910551097.8A priority Critical patent/CN110232762B/en
Publication of CN110232762A publication Critical patent/CN110232762A/en
Application granted granted Critical
Publication of CN110232762B publication Critical patent/CN110232762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • 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/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • 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/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00841Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed by a portable device

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses an anti-copy method for an electronic lock of an M1 card cabinet door, which comprises the following steps: firstly, a visitor arrives at a shop and makes a brand at a bar counter; swiping the card when opening the card, and reporting the card number by the card reader for the account hanging of the financial software; the financial software sends the card opening information to the card reader through a USB line; fourthly, the card reader writes 'opening flag bit' into the hand card; fifthly, the bather swipes a card at the position of the cabinet door lock, continues going downwards if the passwords are the same, and gives an alarm if the passwords are different; writing random cipher into the card and erasing the card opening mark if the card opening mark is identified after the card is read by the cabinet door lock; seventhly, unlocking the cabinet door lock after confirming that the card writing is successful; and when the bather subsequently swipes the card and unlocks the lock, the password is not changed until the hand card is settled and then the card is played for the next bather to use, and the password is changed according to the 'playing flag bit' written in the playing of the card. The invention does not increase the using links of the user, has strong precaution and no increase of using burden, and can not cause user congestion due to complex use. The method of the invention has high safety.

Description

Anti-copy method for electronic lock of M1 card cabinet door
Technical Field
The invention relates to an electronic lock of an M1 card cabinet door, in particular to an anti-copying method of the electronic lock of an M1 card cabinet door.
Background
The M1 card has good universality, is extremely widely applied to bath centers, hot springs and water orchards, and has a position difficult to replace. However, the safety of the M1 card is poor, the M1 card cannot solve the problem of copy prevention, a handheld M1 card duplicator is easily bought in the market, and lawless persons can easily copy a door opening card of a wardrobe lock of a bath center by using the M1 card duplicator, so that theft is implemented. The bathing center, the hot spring and the water park wardrobe changing area can not be installed and monitored due to the privacy of users, and are public use areas. The mobile phone, the wallet, the watch and other personal articles of the user are all stored in the wardrobe, once the door opening card is copied by a lawless person, the user is disastrous, the reputation of a shop is seriously damaged, and a suspect is difficult to lock. The M1 card handheld duplicator does not relate to high-difficulty technology and is sold by a plurality of small factories, the encryption technology of the M1 card reaches the bottleneck, and the duplication cannot be defended by the encryption of the M1 card.
At present, the general lawbreaker theft process comprises the following steps:
firstly, a lawless person arrives at a store, a bar counter is used for opening a card, the card is swiped on a card reader once, the financial software is used for hanging account, and a hand card is drawn.
② lawless persons copy the hand card by using a hand-held copier.
And thirdly, lawless persons can find various borrowings to change hands so as to copy a plurality of hands.
And fourthly, the lawless persons wait for other bathers to use the wardrobe with the copied hand cards.
Fifthly, the thief takes the bath and bath machine by a lawless person to steal.
In summary, the duplication problem of the M1 card has been a long-standing problem in the industry and is difficult to solve.
Disclosure of Invention
The invention aims to provide an anti-copying method for an electronic lock of an M1 card cabinet door, which improves necessary links of a locker lock using process in the existing bathing center, hot spring and water park projects, and solves the problem of stealing the locker electronic lock by copying the M1 card in principle.
In order to solve the problems in the prior art, the invention adopts the technical scheme that:
the anti-copy method of the electronic lock of the M1 card cabinet door comprises the following steps:
firstly, a visitor arrives at a shop and makes a brand at a bar counter;
secondly, when opening cards, a waiter holds the cards and swipes the cards on a card reader, and the card reader reports the card numbers for the financial software to hang up accounts;
the financial software identifies the hand as the newly played hand and sends the information to the card reader through a USB line;
fourthly, after receiving the information, the card reader writes a 'card opening flag bit', namely data, into the hand card;
the bather uses the opened hand to punch the card on the cabinet door lock, the cabinet door lock compares whether the password in the card is the same as the password stored in the lock, if so, the bather continues to go downwards, and if not, the bather gives an alarm;
writing a random password into the card and erasing the opening sign in the card immediately if the opening sign bit is recognized after the card is read by the cabinet door lock, storing the password in the lock memory, and reading the card again by the cabinet door lock after the card is written, checking and writing conditions;
seventhly, unlocking the cabinet door lock after confirming that the card writing is successful;
and when the bather subsequently swipes the card to unlock the card, the lock still compares whether the password in the card is the same as the password stored in the lock, but the card does not have a 'opening flag bit', the password is not changed until the hand card is settled and then the card is opened for the next bather to use, and then the password is changed according to the 'opening flag bit' written in the card opening process.
And further, when the card is played by the bar counter card reader, writing a 'playing flag bit' into the hand card, reading the data once again to ensure successful writing, reporting the information to financial software on a computer if the writing fails, and prompting a waiter to operate again by the computer.
Further, after reading the card, if the 'opening mark bit' is recognized, the cabinet door lock immediately writes a random password into the card, erases the 'opening mark' in the card, then reads the data in the card to ensure the data to be written successfully, and if the data cannot be written, the cabinet door lock does not unlock and prompts the user to swipe the card again by sound; the cabinet door lock rechecks the passwords, the new password and the old password need to be verified at the moment, and if one password is matched, the verification is considered to be successful; then, the task of writing a new password and erasing the 'opening flag bit' is executed.
The invention has the advantages and beneficial effects that:
the invention relates to an anti-copying method of an electronic lock of an M1 card cabinet door, which improves necessary links of a locker lock using process in the existing bathing center, hot spring and water park projects, and solves the problem of stealing the locker electronic lock by copying the M1 card in principle. The method does not increase the using link of the user, has strong precaution and no increase of using burden, and can not cause user congestion due to complicated use. The method of the invention is high in safety and is difficult to crack even by the inventor of the invention. The invention has good reliability and can not increase the product failure rate because of increasing too many complex operations. The invention has the advantages of good compatibility, no damage to multiple sectors of the M1 card and wide application. The invention does not add new hardware and product cost.
Drawings
The invention is described in further detail below with reference to the accompanying drawings:
FIG. 1 is a schematic structural diagram of a bar counter system and a cabinet door electronic lock system related to the anti-copy method of the M1 card cabinet door electronic lock of the present invention;
FIG. 2 is a flowchart of a method for preventing copying of an electronic lock of an M1 card cabinet door according to the present invention.
Detailed Description
The present invention is further described in detail with reference to the following specific examples, but the scope of the present invention is not limited by the specific examples, which are defined by the claims. In addition, any modification or change that can be easily made by a person having ordinary skill in the art without departing from the technical solution of the present invention will fall within the scope of the claims of the present invention.
The invention discloses an anti-copy method for an electronic lock of an M1 card cabinet door, which relates to a bar counter system and an electronic lock system of a cabinet door, wherein the bar counter system and the electronic lock system of the cabinet door are shown in figure 1 as an example, and the bar counter system comprises a computer, a card reader and a hand card with an M1 card inside. The cabinet door electronic lock system comprises a cabinet door lock and a hand plate with an M1 card arranged inside,
as shown in fig. 2, the method for preventing the electronic lock of the M1 card cabinet door of the invention comprises the following steps:
firstly, a visitor arrives at a shop and makes a brand at a bar counter;
secondly, when opening cards, a waiter holds the cards and swipes the cards on a card reader, and the card reader reports the card numbers for the financial software to hang up accounts;
the financial software identifies the hand as the newly played hand and sends the information to the card reader through a USB line;
fourthly, after receiving the information, the card reader writes a 'card opening flag bit', namely data, into the hand card; since the M1 card in the hand card is a non-contact radio frequency card, the steps 2-4 can be completed in half a second.
The bather uses the opened hand to punch the card on the cabinet door lock, the cabinet door lock compares whether the password in the card is the same as the password stored in the lock, if so, the bather continues to go downwards, and if not, the bather gives an alarm;
writing a random password into the card and erasing the opening sign in the card immediately if the opening sign bit is recognized after the card is read by the cabinet door lock, storing the password in the lock memory, and reading the card again by the cabinet door lock after the card is written, checking and writing conditions;
seventhly, unlocking the cabinet door lock after confirming that the card writing is successful;
and when the bather subsequently swipes the card to unlock the card, the lock still compares whether the password in the card is the same as the password stored in the lock, but the card does not have a 'opening flag bit', the password is not changed until the hand card is settled and then the card is opened for the next bather to use, and then the password is changed according to the 'opening flag bit' written in the card opening process.
And fourthly, when the card reader of the bar counter plays the cards, writing the 'playing flag bit' into the hand card, reading the data once again to ensure successful writing, reporting the information to financial software on a computer if the writing fails, and prompting a waiter to operate again by the computer.
Writing a random password into the card and erasing a card opening mark in the card immediately after recognizing the card opening mark bit after the cabinet door lock reads the card, then reading data in the card again to ensure that the data is successfully written in, and if the data cannot be written in, not unlocking and prompting a user to swipe the card again by sound; the cabinet door lock rechecks the passwords, the new password and the old password need to be verified at the moment, and if one password is matched, the verification is considered to be successful; then, the task of writing a new password and erasing the 'opening flag bit' is executed.
If the password stored in the lock is different from the password of the bath visitor hand in normal use due to other accidents such as card faults and the like, the waiter can change the passwords in the lock and the card and make the passwords the same by using a method for managing the card matching, which is the conventional operation of the bath cabinet door lock industry.
If a lawbreaker copies the hand after using the cabinet door lock. At this time the password in the copy card is the old password. The bather opens the license again after arriving at the place, and lawless persons can unlock by swiping the copy card before the bather uses the cabinet door lock, but the bather does not deposit the object yet, and the lawless persons can not steal the object, and the normal use of the bather after arriving at the place is not influenced by swiping the copy card to unlock. After the bather uses the cabinet door lock, the lock can write new passwords into the lock again, and the old passwords are invalid. Lawless persons can not unlock by using the copy card.
If lawless persons copy the hand before using the cabinet door lock, the password in the copy card is the old password but has the 'opening mark bit'. If a lawbreaker uses the copy card to unlock the lock after copying the hand cards, the hand cards can not open the door, and the horse feet can be exposed. At the moment, a waiter is called to resynchronize the password, the password can still be changed after the synchronization, and a lawbreaker cannot steal the property. If a lawbreaker swipes the copy card after using the cabinet door, although the card is internally provided with the 'opening mark bit', the password is changed when the bather swipes the card for the first time, the old password cannot be unlocked, and the lawbreaker cannot steal the card.
If a lawbreaker directly copies another person's hand to effect theft. Although the M1 card is a non-contact radio frequency card, the card reading distance of a handheld copying machine is generally not more than 15mm, the time for the copying machine to break the self security key of the M1 card and copy data is generally more than 2 minutes, and the card is required to be reliably read all the time during the breaking period. Therefore, continuous card reading for 2 minutes at a short distance is difficult to realize, and if a lawbreaker can steal the bather card, the bather card can be unlocked directly without copying.
If the method of 'opening the license flag' is adopted, the password in the card is changed only when the bather uses the cabinet door lock for the first time, compared with the scheme of 'changing the password every time of card swiping', the erasing and writing times of data in the card can be reduced, the service life of the M1 card is prolonged, the reaction time of the lock when the user swipes the card to open the door is shortened, and the possibility that the password in the lock and the password in the card is out of synchronization is reduced. Generally, a single person needs to use the cabinet door lock for a plurality of times, and compared with the scheme that the password is changed every time when the user swipes the card, the stability of the method is improved by a plurality of times. The behavior of the lawbreaker copy card cannot influence the normal use of bathers and the normal business of shops under most conditions by adopting the method. If the scheme of changing the password every time the card is swiped is adopted, a lawler can not unlock the normal bather card and disturb the business if the lawler copies one card and tests the swiping card to unlock the lock. The card reader, the cabinet door lock and the M1 card related by the method are not limited to specific models, styles and internal circuit structures, and the method is within the protection scope of the invention. The data transmission between the card reader and financial software, the data transmission between the card reader and the M1 card, the data transmission between the lock and the M1 card, the data storage in the M1 card and the data storage in the lock are not limited to the specific protocol format, the storage format and the hardware interface, and the scheme of the method is within the protection scope of the invention.
While the preferred embodiments of the present invention have been illustrated and described, it will be appreciated by those skilled in the art that various modifications and additions may be made to the specific embodiments described and illustrated, and such modifications and additions are intended to be covered by the scope of the present invention.

Claims (1)

1. An anti-copy method for an electronic lock of an M1 card cabinet door is characterized by comprising the following steps:
firstly, a visitor arrives at a shop and makes a brand at a bar counter;
secondly, when opening cards, a waiter holds the cards and swipes the cards on a card reader, and the card reader reports the card numbers for the financial software to hang up accounts;
the financial software identifies the hand as the newly played hand and sends the information to the card reader through a USB line;
fourthly, after receiving the information, the card reader writes a 'card opening flag bit', namely data, into the hand card;
the bather uses the opened hand to punch the card on the cabinet door lock, the cabinet door lock compares whether the password in the card is the same as the password stored in the lock, if so, the bather continues to go downwards, and if not, the bather gives an alarm;
writing a random password into the card and erasing the opening sign in the card immediately if the opening sign bit is recognized after the card is read by the cabinet door lock, storing the password in the lock memory, and reading the card again by the cabinet door lock after the card is written, checking and writing conditions;
seventhly, unlocking the cabinet door lock after confirming that the card writing is successful;
when the bather subsequently swipes the card to unlock the lock, the lock still compares whether the password in the card is the same as the password stored in the lock, but the card does not have a 'opening flag bit', the password is not changed until the hand card is settled and then the card is opened for the next bather to use, and then the password is changed according to the 'opening flag bit' written in the card opening process;
when the card is played by the bar counter card reader, writing a 'playing flag bit' into the hand card, reading the data once again to ensure successful writing, reporting the information to financial software on a computer if the writing fails, and prompting a waiter to operate again by the computer;
writing a random password into the card and erasing a card opening mark in the card immediately after recognizing the card opening mark bit after the cabinet door lock reads the card, then reading data in the card again to ensure that the data is successfully written in, and if the data cannot be written in, not unlocking and prompting a user to swipe the card again by sound; the cabinet door lock rechecks the passwords, the new password and the old password need to be verified at the moment, and if one password is matched, the verification is considered to be successful; then, the task of writing a new password and erasing the 'opening flag bit' is executed.
CN201910551097.8A 2019-06-24 2019-06-24 Anti-copy method for electronic lock of M1 card cabinet door Active CN110232762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910551097.8A CN110232762B (en) 2019-06-24 2019-06-24 Anti-copy method for electronic lock of M1 card cabinet door

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910551097.8A CN110232762B (en) 2019-06-24 2019-06-24 Anti-copy method for electronic lock of M1 card cabinet door

Publications (2)

Publication Number Publication Date
CN110232762A CN110232762A (en) 2019-09-13
CN110232762B true CN110232762B (en) 2021-07-20

Family

ID=67857309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910551097.8A Active CN110232762B (en) 2019-06-24 2019-06-24 Anti-copy method for electronic lock of M1 card cabinet door

Country Status (1)

Country Link
CN (1) CN110232762B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110675543B (en) * 2019-10-24 2024-02-13 珠海格力电器股份有限公司 Method for configuring access card, control method of door lock and door lock
CN111768523B (en) * 2020-06-10 2022-07-26 福建新大陆通信科技股份有限公司 CTID-based NFC intelligent door lock unlocking method, system, equipment and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2422685Y (en) * 2000-04-01 2001-03-07 肖金根 IC card deposit box
CN1461995A (en) * 2002-05-31 2003-12-17 李存进 Method for rewriting key card for induction electronic door lock
JP2007213296A (en) * 2006-02-09 2007-08-23 Omron Corp Ic medium and ic medium processing apparatus
CN101079009A (en) * 2007-07-06 2007-11-28 北京飞天诚信科技有限公司 Method and storage device for limiting read of sensitive information
CN101798889B (en) * 2010-03-15 2013-05-01 郎孙俊 Electronic code unlocking method and electronic code lock device
CN106898062A (en) * 2015-12-21 2017-06-27 广州科升信息科技有限公司 The M1 toll bars lock control and its method of a kind of anti-copying
CN105912964B (en) * 2016-04-08 2018-09-04 厦门科安达智能科技有限公司 What IC reading head devices and IC card dynamic code were mutually authenticated, which open, takes installation method

Also Published As

Publication number Publication date
CN110232762A (en) 2019-09-13

Similar Documents

Publication Publication Date Title
US6068184A (en) Security card and system for use thereof
KR100259458B1 (en) Electronic money storage device and ic card control method
CN110232762B (en) Anti-copy method for electronic lock of M1 card cabinet door
CN106022181B (en) A kind of system for preventing IC card from stealing brush
US6775398B1 (en) Method and device for the user-controlled authorisation of chip-card functions
WO2006017648A1 (en) Apparatus and method for preventing credit card fraud
JP2007328388A (en) Vending machine having function of preventing unauthorized use with positioning method using gps (global positioning system), and method of preventing unauthorized use of vending machine with positioning method using gps
CN101406350A (en) Fingerprint file cabinet system and control method thereof
JP2007213105A (en) Cabinet control system
US5902981A (en) Method and system for securing and restoring data of a portable chip-card if lost or stolen
JP4942392B2 (en) Vending machines with functions for preventing unauthorized use and methods for preventing unauthorized use of vending machines
CN107305660A (en) A kind of mobile phone financial trade method and mobile phone are double to put bank card
CN206100048U (en) Smart card system and high in clouds transaction server based on high in clouds theftproof
JP2008176493A (en) Equipment access management system
US6000606A (en) Method and system for securing and restoring data of a portable chip-card if lost or stolen
CN102129742A (en) Method for preventing embezzlement of bank card
CN101730276A (en) Anti-counterfeiting method for network terminal device
JP2005150925A (en) Security system
CN106157039B (en) Bank IC card-oriented anti-theft swiping device and method thereof
JP2001040924A (en) Integrated control system for entry/exit and apparatus usage
JP2007115058A (en) Automatic transaction device
JP2015045983A (en) Tamper resistant device and method
CN102129741A (en) Anti-theft system for bank card
JPS60128764A (en) Locking release system of lock
JP3921470B2 (en) Electronic money handling apparatus and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant