CN105225316B - A kind of dormancy of electron key low-power consumption power supply plan and awakening method - Google Patents
A kind of dormancy of electron key low-power consumption power supply plan and awakening method Download PDFInfo
- Publication number
- CN105225316B CN105225316B CN201510610289.3A CN201510610289A CN105225316B CN 105225316 B CN105225316 B CN 105225316B CN 201510610289 A CN201510610289 A CN 201510610289A CN 105225316 B CN105225316 B CN 105225316B
- Authority
- CN
- China
- Prior art keywords
- electron key
- lockset
- dormancy
- key
- serial port
- 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
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Lock And Its Accessories (AREA)
Abstract
Dormancy and awakening method the present invention relates to a kind of electron key low-power consumption power supply plan, when electron key monitors its serial ports to represent that the electron key is in the first level of idle condition, the timing module for starting electron key carries out timing, when clocking value reaches the threshold value of setting, the serial port pin of electron key is configured to I/O mouthfuls, and be configured to external interrupt function by the I/O mouthfuls and enable, electron key is entered sleep mode;When electron key is contacted with lockset, electron key is powered for lockset, and the serial ports of lockset to electron key transmission second electrical level, which shakes hands to instruct, is used as start bit signal, the serial port pin of electron key is produced external interrupt, electron key is waken up to operating mode.The present invention can effectively reduce power consumption, extend the stand-by time of electron key, and can efficiently and accurately realize the dormancy and wake-up of electron key.
Description
Technical field
The present invention relates to a kind of electron key low-power consumption power supply plan, relate to use the battery-powered electronics key of in-built electrical
The dormancy of spoon and the low-power consumption power supply plan of wake-up mechanism, so as to fulfill lower power consumption, extend the stand-by time of electron key,
Improve user experience.
Background technology
Electron key is powered using internal battery at present, in order to increase user experience and easy to carry, the body of electron key
Product is smaller.In view of current battery technology and the space of electron key, the battery capacity inside electron key can not be done excessive.
Frequently charging will substantially reduce the experience of user.In order to improve the single charge usage time of electron key, can not increase
Under the background of battery capacity, it is a kind of more preferable solution to reduce power consumption.In practice, electron key is only in moment of unlocking
Working status, other mosts of the time are in holding state.If electron key is only placed in normal work shape in operating instant
State, during other holding states, is set to the resting state of low-power consumption, will substantially reduce the average power consumption of electron key.
And electron key wakes up to normal operating conditions from resting state, enter resting state from normal operating conditions, need
A kind of working mechanism is wanted, the technology which uses directly influences the time of dormancy and wake-up states switching, accuracy.Call out
Time effects of waking up are to the experience of user, if overlong time, user experience is poor, to user cause the key it is slow in reacting,
The illusion of key damage.If what is waken up is excessively sensitive, cause frequently to wake up key, situations such as false wake-up, can not preferably drop
The power consumption of low electron key.If electron key can identify work and holding state exactly, enter dormancy in time
State, can substantially reduce the power consumption of electron key.Therefore, the good dormancy of electron key and wake-up mechanism, can substantially reduce electricity
The normal working hours of sub- key, more accurately, reason efficiently, more quickly enter low-power consumption resting state, reduce wake-up when
Between, user experience is improved, the power consumption of electron key is reduced, extends in the case of certain battery capacity, the electron key of single charge
Usage time.
Therefore, how to realize the electron key low-power consumption power supply plan dormancy for possessing above-mentioned function, wake-up mechanism be there is an urgent need for
Solve the problems, such as.
Electron key is suitable for passive electronic lockset.Passive electronic lockset possesses without power-supply wiring, applied widely,
Possess the features such as form is more, gather the advantages of tradition machinery lock is with modern access control system, and perfectly shield both
Shortcoming.First, passive electronic lockset can possess the forms such as traditional padlock, door lock, substitute conventional lock available for transformation, together
When possess the traceable journal function of access control system again, have benefited from the form identical with conventional lock, its expense step and use
Method is consistent, can substantially reduce learning cost.Secondly, passive electronic lockset is passive system, without arranging dedicated power supply, leading to
Believe line, substantially increase suitable environment flexibility, it is remote, widespread area is especially suitable.Maintenance free access control system
Cable, the advantages that malice opens gate inhibition is realized without having to worry about by destroying cable.
The content of the invention
The present invention is to the electron key suitable for passive electronic lockset, there is provided a kind of side of electron key low-power consumption power supply
Case, and can efficiently and accurately realize the dormancy and wake-up of electron key, so as to fulfill energy saving, reduces the purpose of power consumption.
In order to achieve the above object, the technical scheme is that providing a kind of stopping for electron key low-power consumption power supply plan
Sleep and awakening method, electron key monitor that its serial ports is when representing that the electron key is in the first level of idle condition, to open
The timing module of dynamic electron key carries out timing, and when clocking value reaches the threshold value of setting, the serial port pin of electron key is matched somebody with somebody
I/O mouthfuls are set to, and is configured to external interrupt function by the I/O mouthfuls and enables, electron key is entered sleep mode;
When electron key is contacted with lockset, electron key is powered for lockset, and lockset sends second electrical level to electron key
Serial ports, which shakes hands to instruct, is used as start bit signal, the serial port pin of electron key is produced external interrupt, electron key is waken up to
Operating mode.
Preferably, first level is the high level for representing logic 1;
The second electrical level is the low level for representing logical zero.
Preferably, serial port pin is configured to the I/O mouths of external interrupt with trailing edge interruption before dormancy;Dormancy
The serial port pin of electron key under pattern is the first level, trailing edge is produced by the start bit signal of second electrical level, to electricity
The serial port pin of sub- key produces the external interrupt for waking up it.
Preferably, after wake-up, the serial port pin of electron key is gone here and there from I/O mouthfuls with serial ports pattern is put back into lockset
Port communications.
Preferably, lockset is passive electronic lockset, when being contacted with electron key, is by the internal battery of electron key
Passive electronic lockset is powered.
The advantage of the invention is that:Supplied using the dormancy of the battery-powered electron key of in-built electrical and the low-power consumption of wake-up mechanism
Electric scheme, is common I/O mouthfuls by the serial port setting of electron key, and the interface is enabled in outside before electron key dormancy
Disconnected function, so as to reduce power consumption.After electron key is contacted with lockset, electron key be lockset power supply, lockset by serial ports to
Electron key transmission serial ports, which shakes hands to instruct, is used as start bit, and an external interrupt is produced by electronics to the serial port pin of electron key
Key wakes up.The present invention realizes lower power consumption in the case where not increasing hardware configuration, extend electron key it is standby when
Between, improve user experience.
Brief description of the drawings
Fig. 1 is the schematic diagram of dormancy awakening system of the present invention.
Embodiment
The present invention provides a kind of dormancy of electron key low-power consumption power supply plan and awakening method, the electron key are suitable for
Passive electronic lockset.
Passive electronic lockset realizes that the method for " passive " is installation in lock similar to the control panel of access control system, power supply
It is partially integrated in electron key, while electron key has been internally integrated the key that can open lockset.When electron key goes to open
During lockset, while electron key is powered to lockset, lockset communicates with key, and key is downloaded to lockset by electron key
Interior, lockset judges whether key is correct, and key can be recorded if correct, opens door lock.Therefore, electron key is being not in contact with
The resting state that it is low-power consumption during its power supply that lockset, which is,.When electron key touches lockset, for lockset power supply, communication when, it is necessary to
Wake up to normal operating conditions.Electron key and lockset sign off, after leaving lockset or time-out, reenter resting state.
Therefore, the dormancy of electron key is the starting that electron key communicates with lockset and end time-out with the trigger condition waken up.
The mode that communication between electron key and corresponding passive lockset uses is serial communication.So pass through detection
The serial ports of electron key i.e. can determine whether electron key contacts with passive lockset, if need to wake up, if complete unlock into
Enter resting state.
The communication protocol process of serial ports is that serial ports is logical one, i.e. high level in the idle condition not communicated.Work as production
During raw communication, a start bit signal is produced first.Start bit signal is the signal of a logical zero, i.e. low level, represents logical
Believe the beginning of transmission.After being transmitted across initial signal, the transmission of data is carried out according to the baud rate of agreement.After being transmitted, it is set to
High level, is idle condition.
According to above-mentioned serial communication protocol, after it is idle condition to detect serial ports, start timing, the time exceedes setting
Threshold value after, electron key is set to resting state.When detecting serial communication, electron key is waken up from resting state
To normal operating conditions, with lockset into row data communication.
When using serial ports wake-up mechanism, the serial ports of electron key is also required in running order, and the power consumption of serial ports
It is higher.So this battery saving mode is also not up to minimum power consumption.Therefore, in order to further reduce the power consumption of electron key,
Under sleep mode, the serial ports of electron key is also inserted into resting state.At this time, serial ports can no longer wake up electron key, electricity
Work is will be unable to after sub- key dormancy.
Electron key also supports external interrupt wakeup after dormancy.According to the communication protocol of serial ports, serial communication is in the free time
State is high level, and start bit is low level, and a trailing edge is generated on this process nature, meets external interrupt wakeup
Condition.,, will before electron key dormancy in order to realize the function of waking up electron key in the case where not increasing hardware configuration
The serial port setting of electron key is common I/O mouthfuls, and the interface is enabled external interrupt function.When electron key is contacted with lockset
After arriving, electron key is lockset power supply, and lockset sends serial ports to electron key by serial ports and shakes hands instruction, i.e. start bit, to electricity
The serial port pin of sub- key produces a trailing edge, produces an external interrupt, inside can wake up electron key.
As shown in Figure 1, the dormancy of the electron key is as follows with waking up workflow:
Dormancy:Assuming that Current electronic key is in normal operating conditions.Electron key monitors serial communication.If current key
Communicating with lockset, then electron key continues current work, communicates with lockset, completes unlocking, information communication, duplicated record
Etc. function.When electron key communicates completion with lockset, or key is left lockset by user, monitors that serial ports is high level, electronics
After key communicates with lockset no data, start timing module inside electron key, will after timing module reaches the threshold value of setting
The serial port pin of key is configured to common I/O mouths, and the external interrupt function of configuring trailing edge by the I/O mouthfuls.At this time, electronics
Key completes this task, it is entered sleep mode.Under sleep mode, electron key closes all peripheral hardwares, low into power saving
Power consumption mode.Complete sleep procedure.
Wake up:Assuming that Current electronic key is in the sleep mode of low-power consumption power saving.When user uses electron key and lock
Tool is contacted by probe, and electron key is powered to lockset, and serial ports between the two is connected by probe.Lockset and electron key into
Row serial ports is shaken hands, and start bit is sent to electron key.The serial port pin of electron key is currently configured as I/O mouthfuls common, and possesses
The external interrupt function that trailing edge interrupts.Serial port pin is high level in the dormant state, and start bit is low level, that is, is generated
One trailing edge.At this time, electron key carries out electron key by external interrupt to wake up to normal mode of operation.After wake-up,
The serial port pin configuration of electron key is matched somebody with somebody from common I/O mouths and puts back into serial ports pattern.After the completion of configuration, electron key recovers string
Mouth function, continues serial communication with lockset.Complete wakeup process.
Although present disclosure is discussed in detail by above preferred embodiment, but it should be appreciated that above-mentioned
Description is not considered as limitation of the present invention.After those skilled in the art have read the above, for the present invention's
A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.
Claims (5)
1. dormancy and the awakening method of a kind of electron key low-power consumption power supply plan, it is characterised in that
When electron key monitors its serial ports to represent that the electron key is in the first level of idle condition, start electron key
Timing module carry out timing, when clocking value reaches the threshold value of setting, the serial port pin of electron key is configured to I/O mouthfuls,
And be configured to external interrupt function by the I/O mouthfuls and enable, electron key is entered sleep mode;
When electron key is contacted with lockset, the serial ports that lockset sends second electrical level to electron key shakes hands instruction as start bit letter
Number, the serial port pin of electron key is produced external interrupt, electron key is waken up into operating mode.
2. dormancy as claimed in claim 1 and awakening method, it is characterised in that
First level is the high level for representing logic 1;
The second electrical level is the low level for representing logical zero.
3. dormancy as claimed in claim 2 and awakening method, it is characterised in that
Serial port pin is configured to have the function of to the I/O mouths for the external interrupt that trailing edge interrupts before dormancy;
The serial port pin of electron key under sleep mode is the first level, and decline is produced by the start bit signal of second electrical level
Edge, the external interrupt for waking up it is produced to the serial port pin of electron key.
4. dormancy as claimed in claim 1 and awakening method, it is characterised in that
After wake-up, by the serial port pin of electron key from I/O mouthfuls with serial ports pattern is put back into, serial communication is carried out with lockset.
5. dormancy and awakening method as described in any one in claim 1 ~ 4, it is characterised in that
Lockset is passive electronic lockset, when being contacted with electron key, is locked by the internal battery of electron key for passive electronic
Tool power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510610289.3A CN105225316B (en) | 2015-09-23 | 2015-09-23 | A kind of dormancy of electron key low-power consumption power supply plan and awakening method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510610289.3A CN105225316B (en) | 2015-09-23 | 2015-09-23 | A kind of dormancy of electron key low-power consumption power supply plan and awakening method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105225316A CN105225316A (en) | 2016-01-06 |
CN105225316B true CN105225316B (en) | 2018-04-27 |
Family
ID=54994261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510610289.3A Active CN105225316B (en) | 2015-09-23 | 2015-09-23 | A kind of dormancy of electron key low-power consumption power supply plan and awakening method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105225316B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239422A (en) * | 2017-06-15 | 2017-10-10 | 威海市天罡仪表股份有限公司 | A kind of lossless method for receiving bursty data of TTL serial ports under low-power consumption mode |
JP6791048B2 (en) * | 2017-07-25 | 2020-11-25 | トヨタ自動車株式会社 | Electronic key system and electronic key control method |
CN107663974A (en) | 2017-09-21 | 2018-02-06 | 云丁网络技术(北京)有限公司 | A kind of automatic locking method of smart lock and smart lock |
CN109102594A (en) * | 2018-06-06 | 2018-12-28 | 咕咚网络(北京)有限公司 | A kind of working method of low-consumption wireless networked electronic door lock and electronic lock |
CN109326030B (en) * | 2018-09-29 | 2021-09-28 | 安徽南瑞中天电力电子有限公司 | Metering box lock control management system with functions of evidence obtaining, alarming and authority management |
CN113496560A (en) * | 2020-03-21 | 2021-10-12 | 云丁网络技术(北京)有限公司 | Intelligent lock control method and system |
CN111624915A (en) * | 2020-06-01 | 2020-09-04 | 上海移柯通信技术股份有限公司 | Method for awakening microcontroller by upper computer through serial port |
CN111857841A (en) * | 2020-06-16 | 2020-10-30 | 恒天益科技(深圳)有限公司 | Awakening method of main control chip, storage medium and intelligent terminal |
CN112034973B (en) * | 2020-09-08 | 2022-06-14 | 杭州万高科技股份有限公司 | Serial port communication device |
CN112530056B (en) * | 2020-11-18 | 2023-07-25 | 深圳Tcl新技术有限公司 | Method for reducing power consumption of intelligent door lock, intelligent door lock and storage medium |
CN114035477A (en) * | 2021-11-11 | 2022-02-11 | 北京润科通用技术有限公司 | Equipment awakening method, device and system |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0735706B2 (en) * | 1987-02-23 | 1995-04-19 | 国際技術開発株式会社 | Electric lock |
CN1484203A (en) * | 2002-09-18 | 2004-03-24 | 中国科学院金属研究所 | Intelligent theft-proof alarm deivce for theft-proof door |
CN201092778Y (en) * | 2007-09-28 | 2008-07-30 | 安徽省电力公司淮南供电公司 | Low-power consumption electronic lock pipe control circuit and key circuit |
US8912884B2 (en) * | 2010-09-16 | 2014-12-16 | Sentrilock, Llc | Electronic key lockout control in lockbox system |
CN201991319U (en) * | 2011-02-28 | 2011-09-28 | 比亚迪股份有限公司 | Electronic key system |
CN102436717B (en) * | 2011-10-10 | 2013-08-14 | 陕西科技大学 | Apparatus possessing function of intelligently prompting to carry key and realization method thereof |
CN202887285U (en) * | 2012-10-12 | 2013-04-17 | 深圳市航天华拓科技有限公司 | Low power consumption RFID (radio frequency identification device) electronic lock and RFID electronic lock device |
CN202899814U (en) * | 2012-10-12 | 2013-04-24 | 深圳市航天华拓科技有限公司 | Highly reliable electronic lock device |
CN103806754A (en) * | 2012-11-13 | 2014-05-21 | 四川润智兴科技有限公司 | Micro-power-consumption intelligent electronic lock head |
CN202870952U (en) * | 2012-11-13 | 2013-04-10 | 四川润智兴科技有限公司 | Electronic key |
CN202956821U (en) * | 2012-12-03 | 2013-05-29 | 桂林卡尔曼通信技术有限公司 | Electronic access control system for implementing remote wireless monitoring in passive environment |
CN204496592U (en) * | 2015-03-27 | 2015-07-22 | 郑州天迈科技股份有限公司 | A kind of smart lock with power saving management function |
-
2015
- 2015-09-23 CN CN201510610289.3A patent/CN105225316B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105225316A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105225316B (en) | A kind of dormancy of electron key low-power consumption power supply plan and awakening method | |
CN104516296B (en) | A kind of awakening method and peripheral module of the micro controller system based on peripheral module | |
CN106097523A (en) | A kind of wireless low-power consumption intelligent door lock and method of work thereof | |
CN106020721B (en) | Memory device and energy-saving control method thereof | |
CN101686283A (en) | Method for reducing power consumption of radio-frequency SIM card in standby mode | |
CN108775204B (en) | Low-power-consumption intelligent door lock and low-power-consumption standby method thereof | |
CN102692948B (en) | The real-time clock low power consumpting controling circuit that SOC (system on a chip) realizes | |
CN204496592U (en) | A kind of smart lock with power saving management function | |
CN106740587A (en) | A kind of pure electric vehicle controller can standby controlling method and device | |
CN206358095U (en) | A kind of Low-power-consumptiodormancy dormancy circuit of new-energy automobile electronics VCU modules | |
CN204066009U (en) | A kind of system of fingerprints reducing power consumption and complicacy | |
CN107977050A (en) | The control method and equipment of a kind of turnover type notebook | |
CN204098628U (en) | Sliding cover type fingerprint lock | |
CN201092778Y (en) | Low-power consumption electronic lock pipe control circuit and key circuit | |
CN105320905B (en) | A kind of multi-function device for ensureing Computer Data Security | |
CN207601693U (en) | A kind of turnover type notebook | |
CN203596892U (en) | Earphone system with automatic induction detection and control functions | |
CN211773905U (en) | Low-power consumption simple and easy general type cable well lid monitoring devices | |
CN107562176A (en) | A kind of Automated library system energy-saving control system | |
CN102156527A (en) | Power adapter and portable computer | |
CN101608516A (en) | Key-powered electric lock control system | |
CN219831808U (en) | Wake-up device | |
CN218953026U (en) | Embedded intelligent electric lock of serial communication | |
CN208220414U (en) | A kind of intelligent wireless patch lock | |
CN202431071U (en) | Door lock control circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20161031 Address after: 200002 Nanjing East Road, Shanghai, No. 181, No. Applicant after: State Grid Shanghai Municipal Electric Power Company Applicant after: Zeng Songfeng Address before: 200127 Pudong New Area Dongfang Road, Shanghai, No. 1369 17C Applicant before: Zeng Songfeng |
|
GR01 | Patent grant | ||
GR01 | Patent grant |