CN113920621A - NFC-based Internet of things access control and setting method thereof - Google Patents
NFC-based Internet of things access control and setting method thereof Download PDFInfo
- Publication number
- CN113920621A CN113920621A CN202111160194.8A CN202111160194A CN113920621A CN 113920621 A CN113920621 A CN 113920621A CN 202111160194 A CN202111160194 A CN 202111160194A CN 113920621 A CN113920621 A CN 113920621A
- Authority
- CN
- China
- Prior art keywords
- nfc
- sleep
- period
- access control
- setting
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000007958 sleep Effects 0.000 claims abstract description 100
- 230000004622 sleep time Effects 0.000 claims abstract description 8
- 238000012545 processing Methods 0.000 claims description 29
- 230000005059 dormancy Effects 0.000 claims description 23
- 230000003993 interaction Effects 0.000 claims description 17
- 238000001514 detection method Methods 0.000 claims description 10
- 230000006855 networking Effects 0.000 claims description 4
- 230000008454 sleep-wake cycle Effects 0.000 claims 1
- 238000012423 maintenance Methods 0.000 abstract description 5
- 230000002035 prolonged effect Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0258—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
-
- 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
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses an NFC-based Internet of things access control and a setting method thereof. The setting method comprises the following steps: the entrance guard of the Internet of things is electrified and initialized; selecting a use scene through an I/O interface to set different NFC sleep and wake-up periods according to different use scenes; when the use scene is a first scene, setting a sleep wakeup cycle of the NFC in a first mode; when the use scene is a second scene, setting a sleep wakeup cycle of the NFC in a second mode; and when the Internet of things access control is out of power or the battery needs to be replaced, re-entering the power-on initialization stage of the Internet of things access control. Therefore, the purpose of increasing the sleep time of the NFC chip can be achieved through a software control mode, so that the power consumption is reduced on the premise of not influencing normal use, the service time of a battery in the entrance guard is further prolonged, the replacement frequency of the battery is reduced, and the maintenance cost is saved.
Description
Technical Field
The invention relates to an NFC-based Internet of things entrance guard, and simultaneously relates to a corresponding entrance guard setting method, belonging to the technical field of intelligent entrance guard.
Background
The entrance guard refers to the forbidden right of the door and is the guard and precaution against the door. The door herein, in a broad sense, includes various passages that can pass, including a door through which people pass, a door through which vehicles pass, and the like. The Access Control System is also called Access Control System (Access Control System), and is an intelligent management System for managing the entrance and exit of people.
In the prior art, an access control system widely uses an RFID (radio frequency identification) technology to perform non-contact bidirectional data communication, and reads and writes a recording medium (an electronic tag or a radio frequency card) in a radio frequency manner, thereby achieving the purposes of identifying a target and exchanging data. Some access control systems may also use NFC (near field communication) technology to implement two-way communication. The working frequency of the NFC technology is 13.56MHz, and two devices carrying the NFC technology can perform data interaction when approaching, so that identity recognition is realized.
At present, most access control systems employ a card detection method that after a user wakes up an access control, card detection data is periodically transmitted, the user waits for the response of the other party, and once receiving a response signal, the card detection step is completed. However, in the current NFC technical standard, the sleep wakeup period is mostly set automatically by the system, and cannot be adjusted according to different use conditions, so that the sleep time of the NFC chip cannot be adjusted, and thus the electric energy of the battery is easily wasted, resulting in more maintenance times and higher maintenance cost.
Disclosure of Invention
The invention aims to solve the primary technical problem of providing an NFC-based Internet of things access control, which can adjust an NFC dormancy wakeup cycle according to different use scenes so as to increase the dormancy time of an NFC chip and reduce the consumption of electric energy.
Another technical problem to be solved by the present invention is to provide a method for setting an access control of an internet of things based on NFC.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
according to a first aspect of the embodiments of the present invention, an NFC-based internet of things access control is provided, which is used for unlocking an intelligent door lock, and includes:
the central processing unit is connected with the intelligent door lock through a controller;
the battery is electrically connected with the central processing unit and used for supplying power to the entrance guard;
the I/O interface is electrically connected with the central processing unit and is used for inputting or outputting so as to select a use scene;
the clock is electrically connected with the central processing unit and used for recording time;
the counter is electrically connected with the central processing unit and is used for counting the opening times of the access control;
the NFC chip is electrically connected with the central processing unit and used for carrying out data interaction with an unlocking source, opening the access control when the data interaction is successful and entering a dormant awakening state when the data interaction is failed; and under different use scenes, the sleep and wake-up periods of the NFC chip are different.
Preferably, the internet of things access control further comprises an electric quantity detection device and an alarm device;
the electric quantity detection device is electrically connected with the battery through the central processing unit and is used for detecting the residual electric quantity of the battery;
the alarm device is electrically connected with the central processing unit and is used for receiving the alarm signal sent by the central processing unit and executing an alarm program.
Preferably, the NFC chip performs a cycle operation according to a set sleep wakeup period, where one sleep wakeup period includes an emission state and a sleep state;
and when the NFC chip is in the transmitting state, transmitting 52 a card searching instruction to search the unlocking source for data interaction, and when the NFC chip is in the dormant state, entering a dormant awakening state.
Preferably, the unlocking source at least comprises a mobile phone and an unlocking card.
According to a second aspect of the embodiments of the present invention, a setting method for an NFC-based internet of things access control is provided, which includes the following steps:
the entrance guard of the Internet of things is electrified and initialized;
selecting a use scene through an I/O interface to set different NFC sleep and wake-up periods according to different use scenes;
when the use scene is a first scene, setting a sleep wakeup cycle of the NFC in a first mode;
when the use scene is a second scene, setting a sleep wakeup cycle of the NFC in a second mode;
and when the Internet of things access control is in power failure or the battery needs to be replaced, re-entering the power-on initialization stage of the Internet of things access control.
Preferably, the first scenario is a home scenario, and setting the sleep/wake-up period of the NFC in the first manner specifically includes:
initializing a clock and a counter, wherein after each power-on initialization, a sleep wakeup period of the NFC is a system default period;
counting the opening times of the access control in one day by a counter, wherein the counter is increased by one every time the access control is opened, and the counter is reset every morning and starts to count again;
and the NFC dormancy awakening period of the new day is automatically matched according to the access control opening times of the previous day.
Preferably, the NFC sleep wakeup cycle of the new day specifically includes according to the number of times of opening the door access of the previous day, in an automatic matching manner:
when the opening times of the access control in one day per hour is smaller than X, setting the sleep awakening period of the NFC to be a first time length corresponding to the hour;
when the opening times of the access control in one day per hour is larger than or equal to X and smaller than Y, setting the sleep awakening period of the NFC to be a second time length corresponding to the hour;
when the opening times of the access control in one day per hour is more than or equal to Y and less than Z, setting the sleep awakening period of the NFC to be a third time length corresponding to the hour;
when the opening times of the access control in one day per hour is larger than or equal to Z, setting the sleep wakeup period of the NFC to be fourth time length corresponding to the hour; wherein X is more than Y and less than Z, and X, Y, Z are positive integers;
when the fact that the entrance guard is not opened is retrieved for three consecutive days, the entrance guard is set to be in the leaving mode, the NFC function is forbidden, when the entrance guard is used again, the entrance guard needs to be opened by inputting a password through an I/O interface, so that the entrance guard enters the normal mode again, and the dormancy awakening period of the NFC is automatically matched according to the entrance guard opening times of the previous day.
Preferably, the second scene is a public entertainment or office scene, and the setting of the sleep wake-up period of the NFC in the second manner specifically includes:
initializing a clock and a counter;
under the voice prompt, manually setting a sleep time interval through an I/O interface;
aiming at different sleep periods, automatically matching the sleep and wake-up period of the NFC through a system, or manually and automatically setting the sleep and wake-up period of the NFC through an I/O interface;
and when the door control is not opened after retrieval for two consecutive days, setting the door control to be in an offline mode, forbidding the NFC function, inputting a password through the I/O interface to open the door control when the door control is used again so as to enter a normal mode again, and automatically matching the dormancy awakening period of the NFC according to the default time period of the system.
Preferably, the automatically matching the sleep/wake-up period of the NFC by the system specifically includes:
automatically detecting the opening times of the entrance guard in different dormancy periods through a counter, wherein the number of the counter is increased when the entrance guard is opened once, the counter is reset every morning, and counting is started again;
and the NFC dormancy awakening period of the new day is automatically matched according to the access control opening times of the previous day.
Preferably, the setting of the sleep wakeup period of the NFC by the manual operation includes:
after entering the sleep wakeup period setting stage of NFC, under the voice prompt, the timing is started through an I/O interface, and the start time t is recorded1;
When the expected time length is passed, the timing is ended through the I/O interface, and the ending time t is recorded2;
Wherein the end time t2And a start time t1The time length between the first and second periods is the manually set NFC sleep wakeup period.
Compared with the prior art, the internet of things access control provided by the invention can select a use scene (such as a family scene or an office scene) through the I/O interface after the access control is electrified and initialized, and then the dormancy awakening period of the NFC chip is set in different modes according to different use scenes so as to achieve the purpose of increasing the dormancy time of the NFC chip in a software control mode, thereby reducing the power consumption on the premise of not influencing the normal use, further prolonging the use time of a battery in the access control, reducing the replacement frequency of the battery and saving the maintenance cost.
Drawings
Fig. 1 is a schematic structural diagram of an NFC-based internet of things access control provided in an embodiment of the present invention;
fig. 2 is a working schematic diagram of an NFC chip;
fig. 3 is a timing diagram of a single cycle of the NFC chip;
fig. 4 is a flowchart of a setting method of an access control of the internet of things based on NFC according to an embodiment of the present invention.
Detailed Description
The technical contents of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, an NFC-based internet of things access control provided by an embodiment of the present invention is used for unlocking an intelligent door lock, and is often applied to hotels, homes, or office places. The internet of things entrance guard comprises a central processing unit 1, a battery 2, an I/O interface 3, a clock 4, a counter 5 and an NFC chip 6. The central processing unit 1 is connected with the intelligent door lock 7 through a controller 10; the battery 2 is electrically connected with the central processing unit 1 and used for supplying power to the entrance guard; the I/O interface 3 is electrically connected with the central processing unit 1 and used for input or output, so that man-machine interaction can be carried out, the use scene of the access control can be selected, the sleep awakening period of the NFC chip 6 can be set, and the like; the clock 4 is electrically connected with the central processing unit 1 and used for recording time; the counter 5 is electrically connected with the central processing unit 1 and is used for counting the opening times of the access control; the NFC chip 6 is electrically connected with the central processing unit 1 and used for carrying out data interaction with an unlocking source, opening the entrance guard under the successful data interaction and entering a dormancy awakening state under the failure of data interaction, wherein the dormancy awakening period of the NFC chip 6 is different under different use scenes.
Referring to fig. 2, the working principle of the NFC chip 6 is shown, specifically, the NFC chip 6 performs a cyclic operation according to a sleep wakeup period (e.g., 500ms or 1s) that is set to be completed, where one sleep wakeup period includes an emission state and a sleep state. Referring to fig. 3, taking 500ms as an example of a sleep-wakeup period for explanation, in the sleep-wakeup period of 500ms, the NFC chip 6 is in a sleep state in the previous 490ms, and at this time, the NFC chip 6 does not operate and consumes no or little electric energy of the battery 2; the NFC chip 6 is in a transmitting state in the last 10ms, at the moment, the NFC chip 6 transmits a 52 card searching instruction to search an unlocking source for data interaction, after the data interaction is successful, the entrance guard is opened, and after the data interaction is failed, the NFC chip enters a sleeping state of the next sleeping awakening period again to circulate.
It can be understood that, when the sleep wakeup period is different, the time lengths of the emission state and the sleep state are also different, in this embodiment, the time length of the emission state of the NFC chip 6 is always 10ms, and the time length of the sleep state changes with the change of the sleep wakeup period. For example: when the sleep wakeup period is 1s, the sleep state is 990ms, and the emission state is 10 ms; when the sleep wakeup period is 2s, the sleep state is 1990ms, and the emission state is 10 ms; when the sleep wakeup period is 3s, the sleep state is 2990ms, and the emission state is 10 ms. Of course, in other embodiments, the duration of the transmitting state and the sleep state may also be set according to needs, for example: when the sleep wakeup period is 1s, the sleep state may be 980ms and the transmit state is 20 ms.
In the above embodiment, the unlocking source includes at least a mobile phone and an unlocking card, for example: and an NFC chip is arranged in the mobile phone and used for data interaction with an NFC chip 6 of the entrance guard.
In the above embodiment, the internet of things access control further includes an electric quantity detection device 8 and an alarm device 9. The power detection device 8 is electrically connected to the battery 2 through the central processing unit 1 for detecting the remaining power of the battery 2, and the remaining power of the battery 2 can be displayed through the I/O interface 3 (for example, data display is performed through a display screen). When the electric quantity detection device 8 detects that the residual electric quantity of the battery 2 is lower than a set value (for example, 5%), the central processing unit 1 transmits an alarm signal to the alarm device 9, the alarm device 9 is electrically connected with the central processing unit 1 and is used for receiving the alarm signal transmitted by the central processing unit 1 and executing an alarm program, so that an alarm prompt is given to a user, the alarm prompt can be in a sound prompt mode, an indicator light prompt mode and the like, and the alarm prompt is preferably an indicator light prompt mode in consideration of the fact that the sound prompt may affect daily life or work.
When the door control device is used specifically, after the door control device is electrified and initialized, a use scene (such as a family scene or an office scene) can be selected through the I/O interface 3, and then the sleep awakening period of the NFC chip 6 can be set in different modes according to different use scenes, so that the purposes of increasing the sleep time of the NFC chip 6 and reducing the power consumption are achieved in a software control mode. Meanwhile, when the entrance guard is out of power or the residual capacity of the battery 2 is too low, the alarm device 9 can warn to prompt the user to replace the battery 2 in time.
The method for setting the NFC-based internet of things access control in the present invention is described in detail below with reference to fig. 4:
referring to fig. 4, a setting method for an NFC-based internet of things access control provided in an embodiment of the present invention specifically includes the following steps:
s1: and E, electrifying and initializing the entrance guard of the Internet of things.
Specifically speaking, when thing networking entrance guard need use, with thing networking entrance guard power-on initialization, at this moment, show that thing networking entrance guard can begin to use, it can be first use, also can be the secondary usage after changing battery 2.
S2: the use scenario is selected through the I/O interface 3 to set different NFC sleep wakeup periods according to different use scenarios.
Specifically, after the internet of things access control is powered on and initialized, a use scene can be selected through the I/O interface 3, for example: input 1 represents a home scene, input 2 represents a public entertainment or office scene, and when entering different use scenes, the setting of the NFC sleep-wakeup period can be carried out in different modes.
The method specifically comprises the following steps of S21-S22:
s21: and when the use scene is a first scene, setting a sleep wakeup period of the NFC in a first mode.
Specifically, in this embodiment, the first scenario is a home scenario, and setting the sleep/wake-up period of NFC in the first manner specifically includes steps S211 to S212:
s211: initializing a clock 4 and a counter 5, wherein after each power-on initialization, a sleep wakeup period of NFC is a system default period (for example: 500ms), that is: after power-on initialization, the NFC chip 6 can circularly work by taking 500ms as a sleep wakeup period, and the default period of the system can be set according to needs;
s212: counting the opening times of the entrance guard in one day by a counter 5, wherein the counter is increased by one every time the entrance guard is opened, the counter is reset every morning at 24:00, and counting is started again;
s213: and the NFC dormancy awakening period of the new day is automatically matched according to the access control opening times of the previous day.
Specifically, when the opening times of the access control in one day per hour is smaller than X, corresponding to the hour, the sleep-wakeup period of the NFC is set to be a first duration (for example, 500 ms);
when the opening times of the access control in one day per hour is more than or equal to X and less than Y, setting the sleep and wake-up period of the NFC to be a second time length (for example, 1s) corresponding to the hour;
the opening times of the access control in one day per hour are more than or equal to Y and less than Z (when the time is longer than the hour, the sleep and wake-up period of the NFC is set to be a third time length (for example: 2 s);
when the opening times of the access control in one day per hour is more than or equal to Z, corresponding to the hour, setting the sleep and wake-up period of the NFC to be a fourth time (for example, 3 s); wherein X < Y < Z, and X, Y, Z are all positive integers (e.g., X ═ 2, Y ═ 5, and Z ═ 10);
when the fact that the entrance guard is not opened is retrieved for three consecutive days, the entrance guard is set to be in the leaving mode, the NFC function is forbidden, when the entrance guard is used again, the entrance guard needs to be opened by inputting a password through the I/O interface 3, so that the entrance guard enters the normal mode again, and the dormancy awakening period of the NFC is automatically matched according to the entrance guard opening times of the previous day.
Thus, the sleep wakeup period setting of the NFC chip 6 is completed in the first scenario.
Meanwhile, when the door lock is not powered or the battery 2 needs to be replaced, the process re-enters the step S1 to perform the power-on initialization operation.
S22: and when the use scene is a second scene, setting the sleep wakeup period of the NFC in a second mode.
Specifically, in this embodiment, the second scenario is a public entertainment or office scenario, and the setting of the sleep wakeup period of NFC in the second manner specifically includes steps S221 to S223:
s221: initializing a clock 4 and a counter 5;
s222: under the voice prompt, the sleep time interval is manually set through an I/O interface 3;
specifically, after the clock 4 and the counter 5 are initialized, a sleep period setting stage is entered, in which a user can set a sleep period through the I/O interface 3 according to his/her own needs under a voice prompt. For example: after hearing the 'dripping', the sleep starting time is set to be 10:00 in the morning, and after hearing the 'dripping', the sleep ending time is set to be 5:00 in the afternoon, so that the sleep time period set manually at this time is 10:00 in the morning and 5:00 in the afternoon. It can be understood that the setting manner of the sleep period described in this embodiment is only one of the simpler implementation manners, and in other embodiments, other manners of setting may be performed through the I/O interface as long as the same effect can be achieved.
Similarly, other times of day may be set by the same method, for example: setting 5:00 pm-10:00 pm as the second sleep period, setting 10:00 pm-5:00 am as the third sleep period, and setting 5:00 am-10:00 am as the fourth sleep period.
Thus, different NFC sleep wakeup cycles can be set at different sleep periods to reduce power consumption of the NFC chip 6.
S223: and aiming at different sleep periods, automatically matching the sleep and wake-up period of the NFC through the system, or manually and automatically setting the sleep and wake-up period of the NFC through an I/O interface.
The sleep wakeup period for automatically matching the NFC through the system specifically includes:
automatically detecting the opening times of the entrance guard in different dormancy periods through a counter 5, wherein the number of the opening times of the entrance guard is increased by one every time the entrance guard is opened, the counter is reset every morning at 24:00, and counting is restarted;
and the NFC dormancy awakening period of the new day is automatically matched according to the access control opening times of the previous day.
And in each sleep period, counting the opening times of the entrance guard in each hour by taking the hour as a unit, and taking the counted opening times as the sleep and wake-up cycle setting standard of the hour. Specifically, the setting process may refer to a sleep/wake cycle setting process in a home scenario, which is not described herein again.
Setting the sleep wakeup period of the NFC by a manual method specifically includes:
after entering the sleep wakeup period setting phase of NFC, under the voice prompt, the timing is started through the I/O interface, for example: the timing is started after hearing the sound of the 'drop' and the starting time t is recorded1;
When the expected time length is passed, the timing is ended through the I/O interface, and the ending time t is recorded2(ii) a Wherein the end time t2And a start time t1The time length between the first and second periods is the manually set NFC sleep wakeup period. When the expectation comesThe length is the waiting time that the user can bear, the longer the waiting time is, the longer the dormancy awakening period is, and otherwise, the shorter the dormancy awakening period is. Therefore, the sleep and wake-up period which meets the use requirement of the user can be set according to the self condition of the user.
And when the door control is not opened after retrieval for two consecutive days, setting the door control to be in an off-line mode, forbidding the NFC function, inputting a password through the I/O interface 3 to open the door control when the door control is used again so as to enter a normal mode again, and automatically matching the dormancy awakening period of the NFC according to the default time period of the system. At this point, manual setting of the NFC sleep wakeup period may be performed again.
And therefore, the sleep and wake-up cycle setting of the NFC chip 6 is completed in the second scene.
Meanwhile, when the door lock is not powered or the battery 2 needs to be replaced, the process re-enters the step S1 to perform the power-on initialization operation.
It can be understood that, in another embodiment, in the first scenario, the sleep/wake-up period of the NFC chip 6 may also be set in a second manner (i.e., a manual setting manner), and the specific process may refer to the setting process in the second scenario, which is not described herein again.
In summary, according to the NFC-based internet of things access control and the setting method thereof provided by the invention, a use scene (for example, a home scene or an office scene) is selected through the I/O interface, and then, the sleep wakeup period of the NFC chip can be set in different manners according to different use scenes, so that the purpose of increasing the sleep time of the NFC chip is achieved through a software control manner, and therefore, on the premise of not affecting normal use, power consumption is reduced, the use time of a battery in the access control can be prolonged, the replacement frequency of the battery is reduced, and the maintenance cost is saved.
The NFC-based internet of things access control and the setting method thereof provided by the present invention are explained in detail above. It will be apparent to those skilled in the art that any obvious modifications thereof can be made without departing from the spirit of the invention, which infringes the patent right of the invention and bears the corresponding legal responsibility.
Claims (10)
1. The utility model provides a thing networking entrance guard based on NFC for open intelligent lock, its characterized in that includes:
the central processing unit is connected with the intelligent door lock through a controller;
the battery is electrically connected with the central processing unit and used for supplying power to the entrance guard;
the I/O interface is electrically connected with the central processing unit and is used for inputting or outputting so as to select a use scene;
the clock is electrically connected with the central processing unit and used for recording time;
the counter is electrically connected with the central processing unit and is used for counting the opening times of the access control;
the NFC chip is electrically connected with the central processing unit and used for carrying out data interaction with an unlocking source, opening the access control when the data interaction is successful and entering a dormant awakening state when the data interaction is failed; and under different use scenes, the sleep and wake-up periods of the NFC chip are different.
2. The internet of things access control of claim 1, further comprising an electric quantity detection device and an alarm device;
the electric quantity detection device is electrically connected with the battery through the central processing unit and is used for detecting the residual electric quantity of the battery;
the alarm device is electrically connected with the central processing unit and is used for receiving the alarm signal sent by the central processing unit and executing an alarm program.
3. The internet-of-things access control device of claim 1, wherein the NFC chip performs a cycle operation according to a set sleep wakeup period, wherein one sleep wakeup period includes an emission state and a sleep state;
and when the NFC chip is in the transmitting state, transmitting 52 a card searching instruction to search the unlocking source for data interaction, and when the NFC chip is in the dormant state, entering a dormant awakening state.
4. The internet of things access control of claim 1, wherein the unlocking source comprises at least a mobile phone and an unlocking card.
5. A setting method of an Internet of things entrance guard based on any one of claims 1-4 is characterized by comprising the following steps:
the entrance guard of the Internet of things is electrified and initialized;
selecting a use scene through an I/O interface to set different NFC sleep and wake-up periods according to different use scenes;
when the use scene is a first scene, setting a sleep wakeup cycle of the NFC in a first mode;
when the use scene is a second scene, setting a sleep wakeup cycle of the NFC in a second mode;
and when the Internet of things access control is in power failure or the battery needs to be replaced, re-entering the power-on initialization stage of the Internet of things access control.
6. The setting method according to claim 5, wherein the first scenario is a home scenario, and the setting of the sleep-wake cycle of NFC in the first manner specifically includes:
initializing a clock and a counter, wherein after each power-on initialization, a sleep wakeup period of the NFC is a system default period;
counting the opening times of the access control in one day by a counter, wherein the counter is increased by one every time the access control is opened, and the counter is reset every morning and starts to count again;
and the NFC dormancy awakening period of the new day is automatically matched according to the access control opening times of the previous day.
7. The setting method of claim 6, wherein the step of automatically matching the NFC sleep wakeup period of the new day according to the number of door access openings of the previous day specifically comprises:
when the opening times of the access control in one day per hour is smaller than X, setting the sleep awakening period of the NFC to be a first time length corresponding to the hour;
when the opening times of the access control in one day per hour is larger than or equal to X and smaller than Y, setting the sleep awakening period of the NFC to be a second time length corresponding to the hour;
when the opening times of the access control in one day per hour is more than or equal to Y and less than Z, setting the sleep awakening period of the NFC to be a third time length corresponding to the hour;
when the opening times of the access control in one day per hour is larger than or equal to Z, setting the sleep wakeup period of the NFC to be fourth time length corresponding to the hour; wherein X is more than Y and less than Z, and X, Y, Z are positive integers;
when the fact that the entrance guard is not opened is retrieved for three consecutive days, the entrance guard is set to be in the leaving mode, the NFC function is forbidden, when the entrance guard is used again, the entrance guard needs to be opened by inputting a password through an I/O interface, so that the entrance guard enters the normal mode again, and the dormancy awakening period of the NFC is automatically matched according to the entrance guard opening times of the previous day.
8. The setting method according to claim 5, wherein the second scenario is a public entertainment or office scenario, and the setting of the sleep-wake-up period of the NFC in the second manner specifically includes:
initializing a clock and a counter;
under the voice prompt, manually setting a sleep time interval through an I/O interface;
aiming at different sleep periods, automatically matching the sleep and wake-up period of the NFC through a system, or manually and automatically setting the sleep and wake-up period of the NFC through an I/O interface;
and when the door control is not opened after retrieval for two consecutive days, setting the door control to be in an offline mode, forbidding the NFC function, inputting a password through the I/O interface to open the door control when the door control is used again so as to enter a normal mode again, and automatically matching the dormancy awakening period of the NFC according to the default time period of the system.
9. The setting method according to claim 8, wherein the automatically matching, by the system, the sleep-wake-up period of NFC specifically comprises:
automatically detecting the opening times of the entrance guard in different dormancy periods through a counter, wherein the number of the counter is increased when the entrance guard is opened once, the counter is reset every morning, and counting is started again;
and the NFC dormancy awakening period of the new day is automatically matched according to the access control opening times of the previous day.
10. The setting method according to claim 8, wherein the setting of the sleep/wake-up period of the NFC by the manual self-operation specifically includes:
after entering the sleep wakeup period setting stage of NFC, under the voice prompt, the timing is started through an I/O interface, and the start time t is recorded1;
When the expected time length is passed, the timing is ended through the I/O interface, and the ending time t is recorded2;
Wherein the end time t2And a start time t1The time length between the first and second periods is the manually set NFC sleep wakeup period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111160194.8A CN113920621B (en) | 2021-09-30 | 2021-09-30 | NFC-based access control of Internet of things and setting method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111160194.8A CN113920621B (en) | 2021-09-30 | 2021-09-30 | NFC-based access control of Internet of things and setting method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113920621A true CN113920621A (en) | 2022-01-11 |
CN113920621B CN113920621B (en) | 2024-04-26 |
Family
ID=79237493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111160194.8A Active CN113920621B (en) | 2021-09-30 | 2021-09-30 | NFC-based access control of Internet of things and setting method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113920621B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10366556B1 (en) * | 2018-08-07 | 2019-07-30 | LockState, Inc. | Intelligent lock |
CN110889911A (en) * | 2018-08-15 | 2020-03-17 | 杭州海康威视数字技术股份有限公司 | Low-power-consumption control method and device based on intelligent lock dormancy awakening |
CN111046687A (en) * | 2019-12-23 | 2020-04-21 | 珠海格力电器股份有限公司 | Method for reducing NFC scanning power consumption, storage medium and application equipment |
CN112350906A (en) * | 2020-11-03 | 2021-02-09 | 珠海格力电器股份有限公司 | Method and system for judging whether user leaves home for long time |
CN112732341A (en) * | 2020-11-30 | 2021-04-30 | 北京百度网讯科技有限公司 | Sleep control method and device for vehicle-mounted computing platform and readable storage medium |
-
2021
- 2021-09-30 CN CN202111160194.8A patent/CN113920621B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10366556B1 (en) * | 2018-08-07 | 2019-07-30 | LockState, Inc. | Intelligent lock |
CN110889911A (en) * | 2018-08-15 | 2020-03-17 | 杭州海康威视数字技术股份有限公司 | Low-power-consumption control method and device based on intelligent lock dormancy awakening |
CN111046687A (en) * | 2019-12-23 | 2020-04-21 | 珠海格力电器股份有限公司 | Method for reducing NFC scanning power consumption, storage medium and application equipment |
CN112350906A (en) * | 2020-11-03 | 2021-02-09 | 珠海格力电器股份有限公司 | Method and system for judging whether user leaves home for long time |
CN112732341A (en) * | 2020-11-30 | 2021-04-30 | 北京百度网讯科技有限公司 | Sleep control method and device for vehicle-mounted computing platform and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113920621B (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102905355B (en) | Low duty cycle network controller | |
CN109803224B (en) | Low-power-consumption positioning method and system, positioning terminal, service platform and control terminal | |
CN104574538B (en) | Board units and its management system, bluetooth start method and recharge method | |
WO2021233219A1 (en) | Automatic wake-up and diagnosis method for battery management system, battery management system, and vehicle | |
CN108615287A (en) | Low power-consumption intelligent lock administration system | |
CN103857021A (en) | Method for controlling Bluetooth device, Bluetooth device and electronic device | |
CN106648021B (en) | The data broadcasting method and low consumption circuit of low consumption circuit | |
CN106652206B (en) | A kind of electricity consumption interactive terminal | |
CN109283995B (en) | Method and system for reducing power consumption of terminal user identification card of Internet of things | |
CN202331688U (en) | Low-power-consumption wireless door magnetic device | |
CN212113216U (en) | Computer capable of waking up work by voice | |
WO2021180162A1 (en) | Power consumption control method and device, mode configuration method and device, vad method and device, and storage medium | |
CN110490288A (en) | A kind of electronic labelling system that low-power consumption multi-protocols are compatible | |
CN102801871B (en) | Radio frequency smart card and control method thereof | |
CN113920621A (en) | NFC-based Internet of things access control and setting method thereof | |
CN113687711B (en) | Terminal wake-up circuit and wake-up method | |
JP2000506649A (en) | Method and apparatus for managing power using a power controller | |
CN109427116B (en) | Multi-node power-saving wireless intelligent lock system with proximity sensing alarm function | |
CN111555947B (en) | MCU low-power consumption dormancy awakening system | |
CN111967281B (en) | CPC card and power management method thereof | |
CN115237009A (en) | Low-power-consumption wireless switch panel and using method | |
CN209879601U (en) | Fingerprint lock low-power consumption circuit | |
CN112104995B (en) | Mushroom growth environment monitoring equipment and system capable of being awakened remotely | |
CN109802480B (en) | Device for entering dormant or factory mode | |
CN220067703U (en) | NB+BLE combined function module |
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 |