CN107093241A - Electric locking and lock control method - Google Patents

Electric locking and lock control method Download PDF

Info

Publication number
CN107093241A
CN107093241A CN201710303247.4A CN201710303247A CN107093241A CN 107093241 A CN107093241 A CN 107093241A CN 201710303247 A CN201710303247 A CN 201710303247A CN 107093241 A CN107093241 A CN 107093241A
Authority
CN
China
Prior art keywords
identification code
module
card
identification card
identification
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.)
Pending
Application number
CN201710303247.4A
Other languages
Chinese (zh)
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.)
Code Door Technology Co Ltd
Original Assignee
Code Door 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 Code Door Technology Co Ltd filed Critical Code Door Technology Co Ltd
Priority to CN201710303247.4A priority Critical patent/CN107093241A/en
Publication of CN107093241A publication Critical patent/CN107093241A/en
Pending legal-status Critical Current

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/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • G07F17/0057Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs

Abstract

The invention provides a kind of electric locking and lock control method, wherein in electric locking, card detection mechanism is arranged inside the neck, for after the identification card triggering being inserted into the neck, generating the first notification signal;Tag read module is connected with the control module, for after the second notification signal is received, reading the identification code of identification card;Control module, for after the first notification signal is received, sending the second notification signal to tag read module, identification code being sent into wireless communication module;Dead bolt control signal is generated according to unlocking instruction;Wireless communication module, for identification code to be sent into server, the unlocking instruction that the reception server is returned;Lock tongue linking mechanism, for opening dead bolt according to the dead bolt control signal, determines dead bolt state;Power module, for each module for power supply for more than.Power consumption in reduction scooter is reached, extends the technique effect of the continuous use time of scooter.

Description

Electric locking and lock control method
Technical field
The present invention relates to electric lockset technical field, more particularly, to a kind of electric locking and lock control method.
Background technology
Shared bicycle refers to that enterprise carries in campus, subway station, bus station, residential block, shopping centre, common service area etc. Bicycle shared service of driving a vehicle is provided from, is a kind of timesharing leasehold mode.After the shared hot streets and lanes of bicycle, another is emerging Trip mode -- shared automobile, at present shared bicycle and shared automobile mostly using mobile device scan setting in shared bicycle or The mode that person shares the Quick Response Code on automobile is unlocked, it is necessary to user downloads related application first, system of real name registration, pay cash pledge it Rear can be used.
If however, existing near field communication (NFC) is applied in electric locking, due to using closely without Need to be provided with continuous always or interval very short time transmitting scanning signal scanning mould in the electric locking of line mechanics of communication Block, can cause electric energy largely to waste, especially because scooter typically uses storage battery power supply, this will largely effect on scooter Continuous use time.
The content of the invention
In view of this, it is an object of the invention to provide a kind of electric locking and lock control method, to solve existing skill The technical problem that unlocking mode largely expends electric energy is scanned present in art.
In a first aspect, the embodiments of the invention provide a kind of electric locking, including:Neck, card detection mechanism, label are read Writing module, control module, lock tongue linking mechanism, wireless communication module and power module;
The card detection mechanism is arranged inside the neck, in the identification card being inserted into the neck After triggering, the first notification signal is generated;
The tag read module is connected with the control module, for after the second notification signal is received, reading institute State the identification code of identification card;
The control module, for after the first notification signal is received, sending second to the tag read module and leading to Know signal, the identification code is sent to wireless communication module;Dead bolt control signal is generated according to unlocking instruction;
The wireless communication module, for the identification code to be sent into server, receives the institute that the server is returned State unlocking instruction;
The lock tongue linking mechanism, for opening dead bolt according to the dead bolt control signal, determines dead bolt state;
The power module, for for the card detection mechanism, the tag read module, the control module, institute Lock tongue linking mechanism, the wireless communication module is stated to power.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, institute State be additionally provided with electric locking be triggered after generation scanning trigger signal scanning control mechanism;
The control module, is additionally operable to according to the scanning trigger signal generation scanning notification signal;
The tag read module, is additionally operable to start the identification card in scanning preset range according to the scanning notification signal Piece, reads the identification code of the identification card.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of second of first aspect, wherein,
The wireless communication module, is additionally operable to the recharge notification information of the reception server transmission, the recharge notification information At least include:Recharge amount and identification code;
The control module, is additionally operable to the recharge notification information being sent to the tag read module;
The tag read module, is additionally operable to the identification card belonging to the identification code according to the recharge notification information Write the recharge amount.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the third of first aspect, wherein, institute Stating electric locking also includes:Accounting module and/or security module:
The security module is connected with the control module, for storing for the tag read module, the charging mould Transportation card consumption key, key information and digital certificate that block and the wireless communication module are used;
The accounting module, is connected with the control module, for according to the original balance in identification card and default rule Then determine the write-in remaining sum after charging;
The wireless communication module, is additionally operable to the charging instruction of the reception server transmission, and the charging instruction at least includes The write-in amount of money after charging;
The control module, is additionally operable to generate advice of charge signal according to the unlocking instruction;
The tag read module, is additionally operable in the identification card read the original balance, more than said write Volume is written in the identification card.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 4th of first aspect kind, wherein, institute Stating electric locking also includes:Ejecting mechanism;
The ejecting mechanism, is arranged inside the neck, for identification card to be ejected into neck according to pop instruction.
Second aspect, the present invention also provides a kind of lock control method, applied to electric locking as described in relation to the first aspect, Including:
When it is determined that identification card is inserted into neck, the identification code of the identification card is obtained;
If dead bolt is currently at closed mode, the identification code is sent to server;
If receiving the unlocking instruction that the server is returned, unlocking control signal is generated, so that the dead bolt Open.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, institute Stating method also includes:
If detecting dead bolt to be closed, the identification code of the identification card is obtained;
The identification code is sent to server;
If receiving the charging instruction that the server is returned, the write-in amount of money during the charging is instructed writes To the identification card, object information is written;
Control identification card is ejected from the neck, and/or, write-in object information is sent to the server.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of second of second aspect, wherein, institute Stating method also includes:
If the scanning control mechanism is triggered or received first the scanning trigger signal of server transmission, pre- If the identification card in the period in scanning preset range;
If identification card is arrived in scanning, the identification code of the identification card is read, identification code storage is deposited to default Storage area domain;
The identification code is sent to server;
If receiving the unlocking instruction that the server is returned, generation unlocking control signal and advice of charge signal.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the third of second aspect, wherein, institute Stating method also includes:
If the scanning control mechanism is triggered again, the identification card in preset range is scanned in preset time period Piece;
If identification card is arrived in scanning, the identification code of the identification card is read;
If the identification code is identical with the identification code stored, the mark is deleted in the default storage region Code;
Write-in remaining sum after charging is written in the identification card, and controls the dead bolts such as lock tongue linking mechanism to close;
Said write remaining sum is sent to the server.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the 4th of second aspect kind, wherein, institute Stating method also includes:
The recharge notification information that the reception server is sent, the recharge notification information at least includes:Recharge amount and mark Code;
If detecting the identification card for including the identification code, according to the recharge notification information to the identification card Send charging request;
If receive the identification card supplements response with money, charging information is sent to the server, it is described to supplement letter with money Breath includes:Lock mark, recharge amount and identification code;
If receive the server transmission supplements mandate with money, the recharge amount is write to the identification card, is obtained What is produced during to the write-in recharge amount supplements voucher with money;
The voucher of supplementing with money produced during the write-in recharge amount is issued into server.
The third aspect, the present invention also provides a kind of lock control method, applied to server, including:
If receive electric locking transmission identification code, judge the identification code whether with default registered tags set Any default identification code it is identical;
If the identification code is identical with any default identification code in default registered tags set, the electronics car is judged The lock of lock identifies whether to belong to the corresponding any default association classification of the identification code;
If the lock mark belongs to the corresponding any default association classification of the identification code, it is knowledge to determine the result Other card has unlocking authority;
Unlocking signal is sent to the electric locking.
With reference to the third aspect, the embodiments of the invention provide the possible embodiment of the first of the third aspect, wherein, institute Stating method also includes:
If receiving card charging request, recharge notification information, the recharge notification letter are sent to the electric locking Breath at least includes:Recharge amount and identification code;
If receiving charging information, the charging information includes:Lock mark, recharge amount and identification code, according to institute Charging information is stated to determine whether to supplement the identification card with money;
When allowing to supplement the identification card with money, sent to the electric locking and supplement mandate with money;
Receive the electric locking and be sent to and supplement voucher with money, and supplement voucher with money described in storing.
The embodiment of the present invention brings following beneficial effect:The embodiment of the present invention can pass through the card detection machine in neck Structure detects whether there is identification card to be read, when there is identification card to be read, reads the identification code of identification card And server is sent to, after the unlocking signal of server transmission is received, control is unlocked, and the present invention passes through card detection mechanism It is triggered to determine whether there is identification card, can avoids constantly launching a large amount of electric energy of scanning signal consuming, reduce scooter Interior power consumption, extends the continuous use time of scooter.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the structure chart of electric locking provided in an embodiment of the present invention;
Fig. 2 is the structural representation of the dead bolt closed mode of lock tongue linking mechanism provided in an embodiment of the present invention;
Fig. 3 is the structural representation of the dead bolt opening of lock tongue linking mechanism provided in an embodiment of the present invention;
Fig. 4 is a kind of a kind of flow chart of lock control method provided in an embodiment of the present invention;
Fig. 5 is a kind of another flow chart of lock control method provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of another lock control method provided in an embodiment of the present invention.
Icon:11- card detection mechanisms;12- tag read modules;13- control modules;14- lock tongue linking mechanisms;15- Wireless communication module;16- power modules;17- locating modules;18- security modules;19- scan modules;20- display modules;21- Cam;The touching switch of 22- first;23- locking bars;The touching switch of 24- second;25- dead bolts.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention Technical scheme be clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
At present due to present in prior art scan unlocking mode largely expend electric energy, based on this, the embodiment of the present invention A kind of electric locking and lock control method provided, can be detected whether to exist by the card detection mechanism in neck and continued The identification card taken, when there is identification card to be read, reading the identification code of identification card and being sent to server, connecing After the unlocking signal for receiving server transmission, control is unlocked, and the present invention is triggered to determine whether to deposit by card detection mechanism In identification card, it can avoid constantly launching a large amount of electric energy of scanning signal consuming, reduce power consumption in scooter, extension is ridden instead of walk The continuous use time of car.
For ease of understanding the present embodiment, a kind of electric locking disclosed in the embodiment of the present invention is carried out first detailed Thin to introduce, electric locking can apply in shared bicycle, the shared scooter such as automobile and shared electric car, as shown in figure 1, The electric locking, including:Neck, card detection mechanism 11, tag read module 12, control module 13, lock tongue linking mechanism 14th, wireless communication module 15 and power module 16;
The card detection mechanism 11 is arranged inside the neck, in the identification card being inserted into the neck After piece triggering, the first notification signal is generated;
In embodiments of the present invention, card detection mechanism can include Kato and by the electronic device such as compress switch, in card Support carrying identification card is when being inserted into neck bottom, and identification card can extrude pressing switch motion, by compressing switch and control module The connection of processor any I/O pins, send the first notification signal to processor after pressing switch motion.
The tag read module 12 is connected with the control module, for after the second notification signal is received, reading The identification code of the identification card;
In embodiments of the present invention, tag read module can refer to NFC (Near Field Communication, low coverage From wireless communication technique) module, noncontact ic card module for reading and writing etc., identification card can be arranged in card, can also be set In in terminal device.
In embodiments of the present invention, tag read module can be after the second notification signal be received, in preset time period Inside continuously launch scanning signal, scanning signal can also be launched according to prefixed time interval, when the hair in scanning range During existing identification card, the identification code of identification card is read.
The control module 13, for after the first notification signal is received, second to be sent to the tag read module Notification signal, wireless communication module is sent to by the identification code;Dead bolt control signal is generated according to unlocking instruction;
The wireless communication module 15, for the identification code to be sent into server, receives what the server was returned The unlocking instruction;
In embodiments of the present invention, wireless communication module can refer to zigbee wireless communication modules, wireless data transmission module etc..
The lock tongue linking mechanism 14, for opening dead bolt according to the dead bolt control signal, determines dead bolt state;
In embodiments of the present invention, lock tongue linking mechanism can control to believe after dead bolt control signal is received according to dead bolt Number action so that dead bolt is turned on or off.Determine that dead bolt state refers to determine that dead bolt is currently at the state of being turned on or off.
As shown in Fig. 2 be a kind of dead bolt closed mode structure chart of lock tongue linking mechanism provided in an embodiment of the present invention, figure 2 include:Cam 21, the first touching switch 22, locking bar 23, the second touching switch 24 and dead bolt 25, when cam 21 is by control mould When block control turns to the position of the first touching switch 22, the first touching switch 22 can be pressed, the second touching switch 24 is flicked, Now cam stops operating.Dead bolt 25 bites locking bar 23, and dead bolt is closed.
When fare is paid successfully, cam 21 turns to the position of the first touching switch 22, and the first touching switch 22 can quilt Press, the second touching switch 24 is flicked, now cam 21 stops operating, dead bolt can bite locking bar in the presence of drop-down spring, State diagram equally can be as shown in Figure 2 after action.
As shown in figure 3, be a kind of dead bolt opening structure chart of lock tongue linking mechanism provided in an embodiment of the present invention, figure 3 include:Cam 21, the first touching switch 22, locking bar 23, the second touching switch 24 and dead bolt 25, when the mark of identification card Code is through server authentication after, and when control module control cam 21 turns to the position of the second touching switch 24, second touches Switch 24 can be pressed, the first touching switch 22 is flicked, and now cam 21 stops operating, and dead bolt unclamps locking bar, and lock is opened, now locked Tongue is closed.
The power module 16, for for the card detection mechanism, the tag read module, the control module, The lock tongue linking mechanism, the wireless communication module are powered.
In another embodiment of the present invention, generation scanning trigger signal after being triggered is additionally provided with the electric locking Scanning control mechanism;In embodiments of the present invention, scanning control mechanism can refer to the button that is arranged on electric locking or Control-rod etc., button or control-rod and the processor I/O pins of control module are connected, and are pressed or control-rod quilt in button When mobile, scanning starting signal can be produced and be sent to control module.
The control module, is additionally operable to according to the scanning trigger signal generation scanning notification signal;
The tag read module, is additionally operable to start the identification card in scanning preset range according to the scanning notification signal Piece, reads the identification code of the identification card.
In embodiments of the present invention, tag read module starts to scan preset range after scanning notification signal is received It is interior to whether there is identification card, and read the identification code of identification card.
In another embodiment of the present invention, the wireless communication module is additionally operable to supplementing with money for the reception server transmission logical Know information, the recharge notification information at least includes:Recharge amount and identification code;
In embodiments of the present invention, user can access service by modes such as webpage, mobile phone application, wechat public numbers Device, charging request is sent to server, and after server sends response, recharge amount then is sent into server, server Recharge amount is sent to electric locking again.
The control module, is additionally operable to the recharge notification information being sent to the tag read module;
The tag read module, is additionally operable to the identification card belonging to the identification code according to the recharge notification information Write the recharge amount.
Another in the present invention is implemented, and the electric locking also includes:Accounting module:
The accounting module, is connected with the control module, for according to the original balance in identification card and default rule Then determine the write-in remaining sum after charging;
In embodiments of the present invention, original balance can refer to when tag read module is reading identification card first time Remaining sum in identification card, write-in remaining sum can refer to be written to when tag read module is reading the identification card for the second time It is in the identification card, deduct remaining sum after this scooter cost of use, in embodiments of the present invention, dead bolt closed mode When read the operation of identification card to read for the first time, the operation of identification card is read during dead bolt opening and is read for second Take, read and do not include between reading for second the operation of other reading identification cards for the first time, and after second is read, Label number of times will be read to reset, i.e., the identification card of same identification code is read in first time, read for second after, quilt for the third time Still believe that it is to read for the first time during reading, read and completed between reading for the second time the mistake once unlocked with locking for the first time Journey.
The wireless communication module, is additionally operable to the charging instruction of the reception server transmission, and the charging instruction at least includes The write-in amount of money after charging;
The control module, is additionally operable to generate advice of charge signal according to the unlocking instruction;
The tag read module, is additionally operable in the identification card read the original balance, more than said write Volume is written in the identification card.
In embodiments of the present invention, for the ease of can understand in time in identification card using during identification card next time Remaining sum situation using (after namely shutting) is finished in scooter by the write-in remaining sum after charging, it is necessary to be written to electronic tag It is interior.
On the basis of previous embodiment, in another embodiment of the present invention, the electric locking also includes:Positioning mould Block 17, security module 18, scan module 19 and/or display module 20;
The locating module 17 is connected with the control module, the positional information for gathering the electric locking;At this In inventive embodiments, for the ease of providing group's understanding scooter present position of scooter, it can be set in electric locking Locating module, locating module can at regular intervals be spaced to server and return positional information.
The security module 18 is connected with the control module, for storing for the tag read module, the charging Transportation card consumption key, key information and digital certificate that module and the wireless communication module are used;
In order to ensure the safety of information in electric locking, include transportation card consumption the embodiments of the invention provide inside close The security module of key, key information and digital certificate, stroke expense and channel radio are calculated reading identification card, accounting module When news module is wirelessly transferred, first data can be encrypted with/decryption processing, to guarantee data security.Key information The attribute of key is consumed for transportation card, be mainly used to distinguish transportation card consumption key be Department of Transportation's key or house and Town and country construction portion key either self-defined key.
Transportation card consumption key is to protect a key being deducted fees of transportation card, its algorithm include the close algorithm SM4 of state with International DES algorithms, are distinguished by the issuer of key, mainly include house and town and country construction portion, Department of Transportation and city Card sending mechanism.The consumption key wherein issued by house and town and country construction portion and Department of Transportation, it is every with national versatility The transportation card of the consumption key of this Liang great ministries and commissions is employed, can be general in the whole nation.Consumption key be divided into from top to bottom it is national, City-level, the common three-level of card level.Wherein national key can derive City-level key and card level key.City-level key Card level key can be derived.Consumption key is only capable of deriving from the top down, it is impossible to reversely derive.Due to being deposited in security module Be national consumption key, therefore the general of national transportation card can be realized.Meanwhile, security module can also load City-level Key is consumed, thus can be flexibly general in city.
In embodiments of the present invention, transportation card consumption key also includes self-defined key, and self-defined key is handed over by distribution The consumption key of the card sending mechanism self-defining of logical card, the key is also the process of deducting fees for protecting transportation card.And use certainly The transportation card for defining key does not possess versatility, can only be used in the terminal of deducting fees that card sending mechanism is voluntarily disposed.It is self-defined close What key such as Hongkong Octopus Card was used is exactly self-defined consumption key, and Octopus card can only carry out disappearing by bus in the range of Hong Kong Take, and cannot be used to the country.Transportation card is also mass transit card, and transportation card may be used as the public trip work such as bus, subway The paying of tool.
Due to having national all-purpose card consumption key or the self-defined key in city in security module, user can be directly using friendship Paying is unlocked and shut to logical card, while the background system that the result for shutting paying can be directly sent to by lock, finally by Result of deducting fees is sent to the allocation settlement that the operation system of ministerial level or the operation system of City-level are traded by background system.
The scan module 19 is connected with the control module, and for scanning the identification code on user equipment, scanning is arrived Identification code be sent to the control module;
Scan module can refer to two-dimensional code scanning device etc., after scanning to the identification code on user equipment, will can mark Know code and be sent to control module, state is further presently according to dead bolt by control module, Authority Verification is carried out, by when open Lock, otherwise closes dead bolt after charging.
The display module 20, for showing the identification code for external scan device scan, installs the electric locking The movable information of scooter, and/or, the original balance.
Display module can refer to LCD display etc., in LCD display, and scooter can be shown according to actual needs Movable information, such as operating range, travel speed, and/or, the original balance, one side user is understood in Current electronic label Remaining sum situation.
In another embodiment of the present invention, the electric locking also includes:Ejecting mechanism;
The ejecting mechanism, is arranged inside the neck, for identification card to be ejected into neck according to pop instruction.
In embodiments of the present invention, the ejecting mechanism can include motor, drive link etc., and motor receives pop instruction After rotate, and then drive with drive link on nut fix Kato move, in actual applications, ejecting mechanism can also basis Need to design other structures, the embodiment of the present invention is not limited.
As shown in figure 4, in another embodiment of the present invention, a kind of lock control method is also provided, applied to such as foregoing Electric locking described in embodiment, comprises the following steps.
In step S101, when it is determined that identification card is inserted into neck, the identification code of the identification card is obtained;
In embodiments of the present invention, it can detect whether that there is identification card has been inserted into card by card detection mechanism Inside groove.
In step s 102, if dead bolt is currently at closed mode, the identification code is sent to server;
In this step, it can determine whether dead bolt is currently closed by lock tongue linking mechanism.
In step s 103, if receiving the unlocking instruction that the server is returned, unlocking control signal is generated, So that the dead bolt is opened.
In step S104, it is closed if detecting dead bolt, obtains the identification code of the identification card;
In embodiments of the present invention, if lock tongue linking mechanism determines that dead bolt is closed, the read-write of controller abstract factory Module reads the identification code of identification card
In step S105, the identification code is sent to server;
Controller is sent to server by controlling wireless communication module by identification code.
In step s 106, if the charging instruction that the server is returned is received, during the charging is instructed The write-in amount of money be written to the identification card, be written object information;
In embodiments of the present invention, server starts charging after identification code is received, and identical is being received again Stop charging after identification code, and determined according to duration received twice between identification code etc. after charging, finally given Write the amount of money.
In step s 107, control identification card is ejected from the neck, and/or, write-in object information is sent to institute State server.
In this step, control module control ejecting mechanism ejection, and then drive identification card to be ejected from neck.
In embodiments of the present invention, after transportation card (i.e. identification card) is inserted, the information read is dealt into backstage by lockset System, background system starts charging and returns to the instruction for allowing to unlock;As when parking, user shuts trigger control module simultaneously and opened Beginning Card Reader, runs through and background server is delivered to after card, and server returns to fare information to control module, and control module is according to backstage The amount of money of return calls module for reading and writing, completes to deduct fees.Then, control module automatic spring card is called;Shut after finishing, lock The result that will deduct fees passes to background system.
In another embodiment of the present invention, as shown in figure 5, methods described is further comprising the steps of.
In step s 201, if the scanning control mechanism is triggered or received first the scanning of server transmission Trigger signal, scans the identification card in preset range in preset time period;
In embodiments of the present invention, if neck is by artificial destruction, background system can be directly to lockset hair scanning triggering Signal.
In step S202, if identification card is arrived in scanning, the identification code of the identification card is read, by the identification code Store default storage region;
In step S203, the identification code is sent to server;
In step S204, if receiving the unlocking instruction that the server is returned, generation unlocking control signal and meter Take notification signal.
In step S205, if the scanning control mechanism is triggered again, default model is scanned in preset time period Enclose interior identification card;
In step S206, if identification card is arrived in scanning, the identification code of the identification card is read;
In step S207, if the identification code is identical with the identification code stored, in the default storage region Delete the identification code;
In step S208, the write-in remaining sum after charging is written in the identification card, and control tongue linked machine The dead bolts such as structure are closed;
In step S209, said write remaining sum is sent to the server.
In embodiments of the present invention, when using car, first have to press a control button on lockset, now lockset starts Card Reader, and the card information read is issued into background system in time, background system informs control mould after the legitimacy of card is checked Whether this card of block can use car, and then charging opens lock simultaneously by the accounting module in lockset;When user is stopped, It is first to press control button, control module calls module for reading and writing to read card number, by the amount of money of accounting module calculating car, so Complete to complete to deduct fees by module for reading and writing afterwards, finally, just allow user to shut.Shut after finishing, lock will deduct fees result transmission To background system.
In another embodiment of the present invention, methods described is further comprising the steps of.
The recharge notification information that the reception server is sent, the recharge notification information at least includes:Recharge amount and mark Code;
If detecting the identification card for including the identification code, according to the recharge notification information to the identification card Send charging request;
In this step, it is possible to use tag read module reads the identification code for being inserted into identification card in neck, in mark When knowledge code is identical with the identification code in recharge notification information, charging request is sent to identification card;
Identification card can return to control module one after charging request is received and supplement response with money;
If receive the identification card supplements response with money, charging information is sent to the server, it is described to supplement letter with money Breath includes:Lock mark, recharge amount and identification code;
If receive the server transmission supplements mandate with money, the recharge amount is write to the identification card, is obtained What is produced during to the write-in recharge amount supplements voucher with money;
The voucher of supplementing with money produced during the write-in recharge amount is issued into server.
In another embodiment of the present invention, as shown in fig. 6, a kind of lock control method is also provided, applied to server, Comprise the following steps.
In step S301, if receive electric locking transmission identification code, judge the identification code whether with default note Any default identification code in volume tag set is identical;
In embodiments of the present invention, presetting registered tags set includes multiple chartered identification codes, this step mesh Be in order to verify whether identification card has registered scooter provider, just only registered user can unlock.
In step S302, if the identification code is identical with any default identification code in default registered tags set, sentence The lock of the disconnected electric locking identifies whether to belong to the corresponding any default association classification of the identification code;
In embodiments of the present invention, preset association classification to may refer to walk brand, type of car etc., for example, scooter belongs to Bicycle provider is shared in a, or car provider etc. is shared for b.
In step S303, if lock mark belongs to the corresponding any default association classification of the identification code, it is determined that The result is that identification card has unlocking authority;
In step S304, unlocking signal is sent to the electric locking.
In another embodiment of the present invention, methods described is further comprising the steps of.
If receiving card charging request, recharge notification information, the recharge notification letter are sent to the electric locking Breath at least includes:Recharge amount and identification code;
In embodiments of the present invention, user to server can send recharge amount and knowledge by log-on webpage or APP The identification code of other card.
If receiving charging information, the charging information includes:Lock mark, recharge amount and identification code, according to institute Charging information is stated to determine whether to supplement the identification card with money;
When allowing to supplement the identification card with money, sent to the electric locking and supplement mandate with money;
Receive the electric locking and be sent to and supplement voucher with money, and supplement voucher with money described in storing.
In another embodiment of the present invention, a kind of lock control device is also provided, including:Acquisition module, sending module And generation module.
Acquisition module, for when it is determined that identification card is inserted into neck, obtaining the identification code of the identification card;
Sending module, if being currently at closed mode for dead bolt, server is sent to by the identification code;
Generation module, if for receiving the unlocking instruction that the server is returned, generating unlocking control signal, So that the dead bolt is opened.
Electric locking that the embodiment of the present invention is provided, the computer program product of lock control, including store program The computer-readable recording medium of code, the instruction that described program code includes can be used for performing described in previous methods embodiment Method, implement can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description With the specific work process of device, the corresponding process in preceding method embodiment is may be referred to, be will not be repeated here.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected to by intermediary, Ke Yishi The connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this Concrete meaning in invention.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ", The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to Be easy to the description present invention and simplify description, rather than indicate or imply signified device or element must have specific orientation, With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ", " the 3rd " is only used for describing purpose, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, is only the embodiment of the present invention, to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (12)

1. a kind of electric locking, it is characterised in that including:Neck, card detection mechanism, tag read module, control module, lock Tongue link gear, wireless communication module and power module;
The card detection mechanism is arranged inside the neck, in the identification card triggering being inserted into the neck Afterwards, the first notification signal is generated;
The tag read module is connected with the control module, for after the second notification signal is received, reading the knowledge The identification code of other card;
The control module, for after the first notification signal is received, sending second to the tag read module and notifying to believe Number, the identification code is sent to wireless communication module;Dead bolt control signal is generated according to unlocking instruction;
The wireless communication module, for the identification code to be sent into server, receives the described of server return and opens Lock instruction;
The lock tongue linking mechanism, for opening dead bolt according to the dead bolt control signal, determines dead bolt state;
The power module, for for the card detection mechanism, the tag read module, the control module, the lock Tongue link gear, the wireless communication module are powered.
2. electric locking according to claim 1, it is characterised in that be additionally provided with the electric locking after being triggered raw Into the scanning control mechanism of scanning trigger signal;
The control module, is additionally operable to according to the scanning trigger signal generation scanning notification signal;
The tag read module, is additionally operable to start the identification card in scanning preset range according to the scanning notification signal, Read the identification code of the identification card.
3. electric locking according to claim 2, it is characterised in that
The wireless communication module, is additionally operable to the recharge notification information of the reception server transmission, the recharge notification information is at least Including:Recharge amount and identification code;
The control module, is additionally operable to the recharge notification information being sent to the tag read module;
The tag read module, is additionally operable to the identification card write-in belonging to the identification code according to the recharge notification information The recharge amount.
4. electric locking according to claim 3, it is characterised in that the electric locking also includes:Accounting module and/or Security module:
The security module is connected with the control module, for store for the tag read module, the accounting module and Transportation card consumption key, key information and digital certificate that the wireless communication module is used;
The accounting module, is connected with the control module, for true according to the original balance and preset rules in identification card The write-in remaining sum devised a stratagem after taking;
The wireless communication module, is additionally operable to the charging instruction of the reception server transmission, and the charging instruction at least includes charging The write-in amount of money afterwards;
The control module, is additionally operable to generate advice of charge signal according to the unlocking instruction;
The tag read module, is additionally operable in the identification card read the original balance, said write remaining sum is write Enter into the identification card.
5. electric locking according to claim 4, it is characterised in that the electric locking also includes:Ejecting mechanism;
The ejecting mechanism, is arranged inside the neck, for identification card to be ejected into neck according to pop instruction.
6. a kind of lock control method, it is characterised in that applied to electric locking as claimed in claim 5, including:
When it is determined that identification card is inserted into neck, the identification code of the identification card is obtained;
If dead bolt is currently at closed mode, the identification code is sent to server;
If receiving the unlocking instruction that the server is returned, unlocking control signal is generated, so that the dead bolt is opened.
7. lock control method according to claim 6, it is characterised in that methods described also includes:
If detecting dead bolt to be closed, the identification code of the identification card is obtained;
The identification code is sent to server;
If receiving the charging instruction that the server is returned, the write-in amount of money during the charging is instructed is written to institute Identification card is stated, object information is written;
Control identification card is ejected from the neck, and/or, write-in object information is sent to the server.
8. lock control method according to claim 7, it is characterised in that methods described also includes:
If the scanning control mechanism is triggered or received first the scanning trigger signal of server transmission, when default Between identification card in section in scanning preset range;
If identification card is arrived in scanning, the identification code of the identification card is read, by identification code storage to default memory block Domain;
The identification code is sent to server;
If receiving the unlocking instruction that the server is returned, generation unlocking control signal and advice of charge signal.
9. lock control method according to claim 8, it is characterised in that methods described also includes:
If the scanning control mechanism is triggered again, the identification card in preset range is scanned in preset time period;
If identification card is arrived in scanning, the identification code of the identification card is read;
If the identification code is identical with the identification code stored, the identification code is deleted in the default storage region;
Write-in remaining sum after charging is written in the identification card, and controls the dead bolts such as lock tongue linking mechanism to close;
Said write remaining sum is sent to the server.
10. according to any described lock control method of claim 6 to 9, it is characterised in that methods described also includes:
The recharge notification information that the reception server is sent, the recharge notification information at least includes:Recharge amount and identification code;
If detecting the identification card for including the identification code, sent according to the recharge notification information to the identification card Charging request;
If receive the identification card supplements response with money, charging information, the charging information bag are sent to the server Include:Lock mark, recharge amount and identification code;
If receive the server transmission supplements mandate with money, the recharge amount is write to the identification card, is write Enter produce during the recharge amount supplement voucher with money;
The voucher of supplementing with money produced during the write-in recharge amount is issued into server.
11. a kind of lock control method, it is characterised in that applied to server, including:
If receive electric locking transmission identification code, judge the identification code whether with default registered tags set times One default identification code is identical;
If the identification code is identical with any default identification code in default registered tags set, the electric locking is judged Lock identifies whether to belong to the corresponding any default association classification of the identification code;
If the lock mark belongs to the corresponding any default association classification of the identification code, it is identification card to determine the result Piece has unlocking authority;
Unlocking signal is sent to the electric locking.
12. lock control method according to claim 11, it is characterised in that methods described also includes:
If receiving card charging request, recharge notification information is sent to the electric locking, the recharge notification information is extremely Include less:Recharge amount and identification code;
If receiving charging information, the charging information includes:Lock mark, recharge amount and identification code, fill according to described Value information determines whether to supplement the identification card with money;
When allowing to supplement the identification card with money, sent to the electric locking and supplement mandate with money;
Receive the electric locking and be sent to and supplement voucher with money, and supplement voucher with money described in storing.
CN201710303247.4A 2017-05-02 2017-05-02 Electric locking and lock control method Pending CN107093241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710303247.4A CN107093241A (en) 2017-05-02 2017-05-02 Electric locking and lock control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710303247.4A CN107093241A (en) 2017-05-02 2017-05-02 Electric locking and lock control method

Publications (1)

Publication Number Publication Date
CN107093241A true CN107093241A (en) 2017-08-25

Family

ID=59638367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710303247.4A Pending CN107093241A (en) 2017-05-02 2017-05-02 Electric locking and lock control method

Country Status (1)

Country Link
CN (1) CN107093241A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491742A (en) * 2018-01-26 2018-09-04 上海实创信息科技有限公司 A kind of visualization integral type high frequency reader
CN109345659A (en) * 2018-08-08 2019-02-15 深圳信息职业技术学院 A kind of smart lock, shared bicycle and shared system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739771A (en) * 2009-12-01 2010-06-16 孙伟 One-card multi-transit service system and method for realizing same
CN201757904U (en) * 2010-05-04 2011-03-09 华为终端有限公司 External device of a card reader and a card reader
CN102622704A (en) * 2012-02-14 2012-08-01 吴厚林 Self-service vehicle renting management system and self-service vehicle renting management method
CN106157108A (en) * 2016-06-17 2016-11-23 浙江右边数字科技有限公司 Electric bicycle rental system and method
CN106408730A (en) * 2016-11-28 2017-02-15 北京拜克洛克科技有限公司 Vehicle lock and vehicle
CN106447793A (en) * 2016-08-16 2017-02-22 武克易 Intelligent popup method of card-taking turnstile
CN206757734U (en) * 2017-05-02 2017-12-15 支码开门科技有限公司 Electric locking and scooter

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739771A (en) * 2009-12-01 2010-06-16 孙伟 One-card multi-transit service system and method for realizing same
CN201757904U (en) * 2010-05-04 2011-03-09 华为终端有限公司 External device of a card reader and a card reader
CN102622704A (en) * 2012-02-14 2012-08-01 吴厚林 Self-service vehicle renting management system and self-service vehicle renting management method
CN106157108A (en) * 2016-06-17 2016-11-23 浙江右边数字科技有限公司 Electric bicycle rental system and method
CN106447793A (en) * 2016-08-16 2017-02-22 武克易 Intelligent popup method of card-taking turnstile
CN106408730A (en) * 2016-11-28 2017-02-15 北京拜克洛克科技有限公司 Vehicle lock and vehicle
CN206757734U (en) * 2017-05-02 2017-12-15 支码开门科技有限公司 Electric locking and scooter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491742A (en) * 2018-01-26 2018-09-04 上海实创信息科技有限公司 A kind of visualization integral type high frequency reader
CN109345659A (en) * 2018-08-08 2019-02-15 深圳信息职业技术学院 A kind of smart lock, shared bicycle and shared system

Similar Documents

Publication Publication Date Title
US10109006B2 (en) Vehicle-mounted terminal, charging pile, electric bicycle, and rental system and method thereof
US8589216B2 (en) Intelligent charging system and method for use in a parking lot
CN101870277B (en) Vehicle charging authorization
CN110415367A (en) Vehicle mobile-payment system and method
CN205507987U (en) Electric automobile fills application system of electric pile on public bicycle website
US20120286972A1 (en) Parking management and billing
CN102968825A (en) Multivocal route charging method, vehicle-mounted unit and system
TW201320523A (en) Power supply device, method, and program
CN103646567A (en) Intelligent garage management system
CN101482982A (en) Wireless handset and system used for ETC lane and its implementing method
CN204990313U (en) Disposition of equipment mandate device
CN108806002A (en) Vehicle and electronic bill payment equipment, method, computer readable storage medium
TW201308816A (en) Power supply device, method, and program
CN101964124A (en) Charging method of parking as well as terminal, parking meter, management server and system thereof
CN106887048A (en) A kind of subway bales catch charge system and method
CN107093241A (en) Electric locking and lock control method
CN107093240A (en) Electric locking, lock control method and device
CN107274566A (en) A kind of application system of electric automobile charging pile on public bicycles website
CN113978291A (en) Charging system, charging method and integrated equipment
KR20120009923A (en) Method for charging electric car in public housing and system therefor
CN206757734U (en) Electric locking and scooter
CN107798758A (en) Information processing method, electronic equipment and storage medium
CN206639266U (en) A kind of subway bales catch charge system
CN203232480U (en) Door control system
CN206757733U (en) Electric locking and scooter

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170825

RJ01 Rejection of invention patent application after publication