CN113920621B - NFC-based access control of Internet of things and setting method thereof - Google Patents

NFC-based access control of Internet of things and setting method thereof Download PDF

Info

Publication number
CN113920621B
CN113920621B CN202111160194.8A CN202111160194A CN113920621B CN 113920621 B CN113920621 B CN 113920621B CN 202111160194 A CN202111160194 A CN 202111160194A CN 113920621 B CN113920621 B CN 113920621B
Authority
CN
China
Prior art keywords
nfc
period
sleep
setting
entrance guard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111160194.8A
Other languages
Chinese (zh)
Other versions
CN113920621A (en
Inventor
姚贵军
欧曦
李萌
白俊华
董俊丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Vip Infinite Intelligent Technology Co ltd
Original Assignee
Beijing Vip Infinite Intelligent 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 Beijing Vip Infinite Intelligent Technology Co ltd filed Critical Beijing Vip Infinite Intelligent Technology Co ltd
Priority to CN202111160194.8A priority Critical patent/CN113920621B/en
Publication of CN113920621A publication Critical patent/CN113920621A/en
Application granted granted Critical
Publication of CN113920621B publication Critical patent/CN113920621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0258Power 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
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing 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 access control of the Internet of things and a setting method thereof. The setting method comprises the following steps: initializing the entrance guard of the Internet of things; selecting a use scene through an I/O interface to set different NFC dormancy wakeup periods according to different use scenes; when the usage scenario is a first scenario, setting a dormancy wakeup period of NFC in a first mode; when the usage scenario is a second scenario, setting a sleep wakeup period of NFC in a second mode; and when the access control of the Internet of things is powered off or the battery needs to be replaced, reentering the power-on initialization stage of the access control of the Internet of things. Therefore, the aim of increasing the sleep time of the NFC chip can be achieved through a software control mode, so that electricity consumption is reduced on the premise that normal use is not affected, the service time of a battery in an access control is prolonged, the replacement frequency of the battery is reduced, and maintenance cost is saved.

Description

NFC-based access control of Internet of things and setting method thereof
Technical Field
The invention relates to an NFC-based internet of things access control, and simultaneously relates to a corresponding access control setting method, belonging to the technical field of intelligent access control.
Background
The gate inhibition refers to the forbidden authority of the gate, and is the guard and the guard of the gate. A door herein broadly includes various passages that can be accessed, including a person-accessed door, a vehicle-accessed door, and the like. The access control system is also called as an access management control system (Access Control System), and is an intelligent management system for the access of management personnel.
In the prior art, an access control system widely uses an RFID (radio frequency identification) technology to perform non-contact bidirectional data communication, and a wireless radio frequency mode is utilized to read and write a recording medium (an electronic tag or a radio frequency card), so that the purposes of identification target and data exchange are achieved. Some access control systems may also use NFC (near field communication) technology to enable two-way communication. The working frequency of the NFC technology is 13.56MHz, so that two devices carrying the NFC technology can perform data interaction when approaching, and identity recognition is realized.
At present, most access control systems check card in a mode that after a user wakes up an access control, card checking data is periodically transmitted to wait for the response of the other party, and the card checking step is completed once a response signal is received. However, in the current NFC technology standard, the sleep-wake cycle is mostly set automatically by the system, and cannot be adjusted according to different usage 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 provide an NFC-based access control of the Internet of things, which can adjust the dormancy wakeup period of NFC according to different use scenes so as to increase the dormancy time of an NFC chip and reduce the consumption of electric energy.
The invention aims to provide a setting method of the NFC-based access control of the Internet of things.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
According to a first aspect of an embodiment of the present invention, there is provided an NFC-based access control for opening an intelligent door lock, including:
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 access control;
an I/O interface electrically connected with the central processing unit 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 the unlocking source, opening the access control under the condition that the data interaction is successful, and entering a dormancy awakening state under the condition that the data interaction is failed; under different use scenes, the dormancy wakeup periods of the NFC chip are different.
Wherein, preferably, the access control of the Internet of things also 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 alarm signals sent by the central processing unit and executing alarm programs.
Preferably, the NFC chip performs a cyclic 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 and awakening state.
Wherein preferably, the unlocking source at least comprises a mobile phone and a forbidden card.
According to a second aspect of the embodiment of the present invention, there is provided a method for setting an access control of an internet of things based on NFC, including the following steps:
Initializing the entrance guard of the Internet of things;
Selecting a use scene through an I/O interface to set different NFC dormancy wakeup periods according to different use scenes;
when the use scene is a first scene, setting a dormancy wakeup period of NFC in a first mode;
when the use scene is a second scene, setting a dormancy wakeup period of NFC in a second mode;
and when the access control of the Internet of things is powered off or the battery needs to be replaced, reentering the power-on initialization stage of the access control of the Internet of things.
Preferably, the first scenario is a home scenario, and the setting the sleep-wake cycle of NFC by the first mode specifically includes:
initializing a clock and a counter, wherein after each power-on initialization, the dormancy wakeup period of NFC is a default period of the system;
Counting the opening times of the door control in one day through a counter, wherein the counter is increased by one every time the door control is opened, and the counter is cleared every early morning and restarted to count;
the NFC dormancy wakeup period of the new day is automatically matched according to the door access opening times of the previous day.
Preferably, the automatic matching of the NFC sleep wake-up period of the new day according to the door control opening times of the previous day specifically includes:
When the opening times of the entrance guard per hour in the current day are smaller than X, setting the dormancy wakeup period of NFC as a first duration corresponding to the hour;
When the opening times of the entrance guard per hour in the current day are more than or equal to X and less than Y, setting the dormancy wakeup period of NFC as a second duration corresponding to the hour;
when the opening times of the entrance guard per hour in the current day are more than or equal to Y and less than Z, setting the dormancy wakeup period of NFC as a third duration corresponding to the hour;
When the opening times of the entrance guard per hour in the current day are larger than or equal to Z, setting the dormancy wakeup period of NFC to be a fourth duration corresponding to the hour; wherein X is less than Y and less than Z, and X, Y, Z is a positive integer;
When the entrance guard is not opened after three continuous days, the entrance guard is set to be in a home departure mode, the NFC function is disabled, the entrance guard is required to be opened through the input of a password by an I/O interface when the entrance guard is used again, the normal mode is entered again, and the dormancy awakening period of NFC is automatically matched according to the entrance guard opening times of the previous day.
Preferably, the second scenario is a public entertainment or office scenario, and the setting the sleep-wake cycle of NFC by the second method specifically includes:
Initializing a clock and a counter;
Under voice prompt, manually setting a dormancy period through an I/O interface;
Aiming at different dormancy periods, automatically matching the dormancy wakeup period of NFC through a system, or manually and automatically setting the dormancy wakeup period of NFC through an I/O interface;
And when the entrance guard is not opened after two continuous days, setting the entrance guard to be in an offline mode, disabling the NFC function, inputting a password through an I/O interface to open the entrance guard when the entrance guard is used again, entering a normal mode again, and automatically matching the dormancy awakening period of NFC according to a default time period of the system.
Preferably, the sleep and wake-up period of the automatic matching NFC through the system specifically includes:
Automatically detecting the opening times of the door access in different dormancy periods through a counter, wherein the counter is increased by one every time the door access is opened, and the counter is cleared every early morning and begins to count again;
the NFC dormancy wakeup period of the new day is automatically matched according to the door access opening times of the previous day.
Preferably, the sleep wakeup period of NFC is set by manual self specifically includes:
After entering the sleep-wake-up period setting stage of NFC, starting timing through an I/O interface under voice prompt, and recording the starting time t 1;
When the expected duration passes, finishing timing through the I/O interface, and recording the finishing time t 2;
The duration between the ending time t 2 and the starting time t 1 is the manually set NFC sleep-wake-up period.
Compared with the prior art, after the entrance guard of the Internet of things is electrified and initialized, the entrance guard can select a use scene (such as a family scene or an office scene) through the I/O interface, and then the dormancy awakening period of the NFC chip is set in different modes according to different use scenes, so that the aim of increasing the dormancy time of the NFC chip is fulfilled in a software control mode, the electricity consumption is reduced on the premise of not affecting normal use, the service time of a battery in the entrance guard can be prolonged, the replacement frequency of the battery is reduced, and the maintenance cost is saved.
Drawings
Fig. 1 is a schematic structural diagram of an access control device based on the internet of things and provided by the embodiment of the invention;
Fig. 2 is a schematic diagram of the operation of the NFC chip;
FIG. 3 is a single cycle timing diagram of an NFC chip;
fig. 4 is a flowchart of a method for setting an access control of an 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 with reference to the accompanying drawings and specific examples.
Referring to fig. 1, an NFC-based access control for internet of things provided by the embodiment of the invention is used for unlocking an intelligent door lock, and is mostly applied to hotels, families or office places. The access control device of the Internet of things 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. Wherein, the central processing unit 1 is connected with the intelligent door lock 7 through the controller 10; the battery 2 is electrically connected with the central processing unit 1 and is used for supplying power to the access control; the I/O interface 3 is electrically connected with the central processing unit 1 for input or output, so that man-machine interaction can be performed, and further the use scene of the access control can be selected, the dormancy wakeup 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, is used for carrying out data interaction with an unlocking source, and is used for opening an access control under the condition that the data interaction is successful, and enters a dormancy awakening state under the condition that the data interaction is failed, wherein dormancy awakening periods of the NFC chip 6 are different under different use scenes.
Referring to fig. 2, the operation principle of the NFC chip 6 is shown, specifically, the NFC chip 6 performs a cyclic operation according to a set sleep-wakeup period (for example, 500ms or 1 s), 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-wake cycle, during the sleep-wake cycle of 500ms, the NFC chip 6 is in a sleep state for the first 490ms, and at this time, the NFC chip 6 does not work, and does not consume or consumes little power of the battery 2; the NFC chip 6 is in an emission state in the last 10ms, at this time, the NFC chip 6 emits 52 a card searching instruction to find an unlocking source to perform data interaction, after the data interaction is successful, the access control is opened, and after the data interaction fails, the sleep state of the next sleep wakeup period is entered again, so that the data interaction is repeated.
It can be understood that when the sleep-wake periods are different, the duration of the transmitting state and the sleep state will also be different, and in this embodiment, the transmitting state duration of the NFC chip 6 is always 10ms, and the sleep state duration will be changed along with the change of the sleep-wake period. For example: when the dormancy wakeup period is 1s, the dormancy state is 990ms, and the emission state is 10ms; when the dormancy wakeup period is 2s, the dormancy state is 1990ms, and the emission state is 10ms; when the sleep-wake period is 3s, the sleep state is 2990ms, and the emission state is 10ms. Of course, in other embodiments, the duration of the transmitting state and the sleep state may be set as desired, for example: when the sleep-wake period is 1s, the sleep state may be 980ms and the transmit state 20ms.
In the above embodiment, the unlocking source at least includes a mobile phone and a disallowing card, for example: an NFC chip is arranged in the mobile phone and used for carrying out data interaction with an NFC chip 6 of the access control.
In the above embodiment, the access control of the internet of things further comprises 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 cpu 1, and is used for detecting a remaining power of the battery 2, where the remaining power of the battery 2 may be displayed in data (e.g., displayed in data through a display screen) through the I/O interface 3. When the electricity amount detection device 8 detects that the remaining electricity amount of the battery 2 is lower than the set value (for example, 5%), the central processor 1 transmits an alarm signal to the alarm device 9, and the alarm device 9 is electrically connected with the central processor 1, so as to receive the alarm signal transmitted by the central processor 1 and execute an alarm program, thereby giving an alarm prompt to a user, wherein the alarm prompt can be a sound prompt, an indicator lamp prompt or the like, and the indicator lamp prompt is preferred in consideration of that the sound prompt may affect daily life or work.
When the method is specifically used, after the entrance guard 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 dormancy wakeup period of the NFC chip 6 can be set in different modes according to different use scenes, so that the purposes of increasing the dormancy time of the NFC chip 6 and reducing the power consumption are achieved in a software control mode. Meanwhile, when the door access is not powered or the residual electric quantity of the battery 2 is too low, the alarm device 9 can be used for warning so as to prompt a user to replace the battery 2 in time.
The following describes in detail a method for setting the access control of the internet of things based on NFC in the present invention with reference to fig. 4:
Referring to fig. 4, a method for setting an access control of an internet of things based on NFC provided by an embodiment of the present invention specifically includes the following steps:
s1: and (5) initializing the access control of the Internet of things.
Specifically, when the access control of the internet of things needs to be used, the access control of the internet of things is electrified and initialized, and at the moment, the access control of the internet of things can be indicated to start to be used, and the access control of the internet of things can be used for the first time or used for the second time after the battery 2 is replaced.
S2: the usage scenario is selected through the I/O interface 3 to set different NFC sleep wakeup periods according to the different usage scenarios.
Specifically, after the entrance guard of the internet of things is powered on and initialized, a usage scenario can be selected through the I/O interface 3, for example: input 1 represents a home scenario, input 2 represents a public entertainment or office scenario, and when different usage scenarios are entered, the setting of the NFC sleep wakeup period may be performed in different ways.
Specifically comprises the steps S21-S22:
S21: and when the use scene is a first scene, setting a dormancy wakeup period of NFC in a first mode.
Specifically, in this embodiment, the first scenario is a home scenario, and the setting of the sleep-wake cycle of NFC by the first mode specifically includes steps S211-S212:
S211: initializing a clock 4 and a counter 5, wherein after each power-on initialization, the sleep-wake-up period of NFC is a default period of the system (for example, 500 ms), namely: after power-on initialization, the NFC chip 6 can work circularly by taking 500ms as a dormancy wakeup period, and the default period of the system can be set automatically according to the requirement;
s212: counting the opening times of the door control in one day through a counter 5, wherein the counter is increased by one every time the door control is opened, the counter is cleared 24:00 in the morning every day, and the counting is restarted;
s213: the NFC dormancy wakeup period of the new day is automatically matched according to the door access opening times of the previous day.
Specifically, when the opening times of the entrance guard per hour of the current day are smaller than X, the sleep-wake-up period of NFC is set to a first time length (for example, 500 ms) corresponding to this hour;
when the opening times of the entrance guard per hour in the current day are more than or equal to X and less than Y, setting the dormancy wakeup period of NFC to be a second duration (for example, 1 s) corresponding to the hour;
The opening times of the entrance guard per hour in the current day are larger than or equal to Y and smaller than Z (when the entrance guard per hour is corresponding to the current day, the dormancy wakeup period of NFC is set to be a third duration (for example, 2 s);
When the opening times of the entrance guard per hour in the current day are larger than or equal to Z, setting the dormancy wakeup period of NFC to be a fourth time length (for example, 3 s) corresponding to the hour; wherein X < Y < Z, and X, Y, Z are positive integers (e.g., X=2, Y=5, Z=10);
when the entrance guard is not opened after three continuous days, the entrance guard is set to be in a home departure mode, the NFC function is disabled, the entrance guard is required to be opened through inputting a password through the I/O interface 3 when the entrance guard is used again, the normal mode is entered again, and the dormancy awakening period of NFC is automatically matched according to the entrance guard opening times of the previous day.
Thus, under the first scenario, the sleep wakeup period setting of the NFC chip 6 is completed.
Meanwhile, when the door access is not powered or the battery 2 needs to be replaced, the step S1 needs to be re-entered to perform the power-on initialization operation.
S22: and when the usage scenario is a second scenario, setting a sleep wakeup period of NFC in a second mode.
Specifically, in this embodiment, the second scenario is a public entertainment or office scenario, and the setting the sleep wakeup period of NFC in the second manner specifically includes steps S221-S223:
s221: initializing a clock 4 and a counter 5;
s222: under voice prompt, the dormancy period is set manually through the I/O interface 3;
Specifically, after initializing the clock 4 and the counter 5, the sleep period setting stage is entered, in which the user can set the sleep period through the I/O interface 3 according to his own demand under voice prompt. For example: setting the dormancy start time to be 10:00 a.m. after hearing one sound of 'drop', and setting the dormancy end time to be 5:00 a.m. after hearing two sounds of 'drop', wherein the manually set dormancy period is 10:00 a.m. to 5:00 a.m. It can be understood that the setting manner of the sleep period in this embodiment is only one simpler implementation manner, and in other embodiments, other manners of setting may be performed through the I/O interface, so long as the same effect can be achieved.
Similarly, by the same method, other times of the day may be set, for example: setting 5:00 PM-10:00 PM as a second sleep period, setting 10:00 PM-5:00 AM as a third sleep period, and setting 5:00 PM-10:00 AM as a fourth sleep period.
Thus, different NFC sleep wakeup periods may be set in different sleep periods to reduce the power consumption of the NFC chip 6.
S223: aiming at different dormancy periods, the dormancy wakeup period of NFC is automatically matched through the system, or manually and automatically set through an I/O interface.
The sleep wakeup period of automatically matching NFC through the system specifically includes:
Automatically detecting the opening times of the door access in different dormancy periods through a counter 5, wherein the counter is reset every 24:00 a day when the door access is opened once, and restarting counting;
the NFC dormancy wakeup period of the new day is automatically matched according to the door access opening times of the previous day.
And counting the opening times of the access control per hour in each dormancy period by taking the unit of each hour, and taking the opening times as a dormancy wakeup period setting standard of the hour. The setting process may refer to the sleep wakeup period setting process in the home scenario, and will not be described herein.
The dormancy wakeup period through manual self-setting NFC specifically comprises:
After entering the sleep-wake-up period setting stage of NFC, under voice prompt, timing is started through the I/O interface, for example: starting timing after hearing the sound of the drop, and recording the starting time t 1;
When the expected duration passes, finishing timing through the I/O interface, and recording the finishing time t 2; the duration between the ending time t 2 and the starting time t 1 is the manually set NFC sleep-wake-up period. The expected duration is a waiting duration that the user can bear, and the longer the waiting duration is, the longer the sleep wakeup period is, otherwise, the shorter the sleep wakeup period is. Therefore, the dormancy wakeup period meeting the use requirement of the user can be set according to the self condition of the user.
When the entrance guard is not opened after two continuous days, the entrance guard is set to be in an offline mode, the NFC function is disabled, the entrance guard is required to be opened by inputting a password through the I/O interface 3 when the entrance guard is used again, the normal mode is entered again, and the dormancy awakening period of NFC is automatically matched according to the default time period of the system. At this time, the manual setting of the NFC sleep wakeup period may be performed again.
Thus, in the second scenario, the sleep wakeup period setting of the NFC chip 6 is completed.
Meanwhile, when the door access is not powered or the battery 2 needs to be replaced, the step S1 needs to be re-entered to perform the power-on initialization operation.
It can be appreciated that, in another embodiment, in the first scenario, the sleep-wake period of the NFC chip 6 may also be set in the second mode (i.e., manually set), and the specific process may refer to the setting process of the second scenario, which is not described herein.
In summary, the NFC-based access control of the Internet of things and the setting method thereof select the use scene (such as a home scene or an office scene) through the I/O interface, and then the dormancy wakeup period of the NFC chip can be set in different modes according to the different use scenes, so that the aim of increasing the dormancy time of the NFC chip is fulfilled in a software-controlled mode, and the power consumption is reduced on the premise of not affecting normal use, the service time of a battery in the access control is prolonged, the replacement frequency of the battery is reduced, and the maintenance cost is saved.
The NFC-based access control of the Internet of things and the setting method thereof provided by the invention are described in detail. Any obvious modifications to the present invention, without departing from the spirit thereof, would constitute an infringement of the patent rights of the invention and would take on corresponding legal liabilities.

Claims (7)

1. NFC-based access control for the Internet of things is used for unlocking an intelligent door lock, and is characterized by comprising:
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 access control;
an I/O interface electrically connected with the central processing unit 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 the unlocking source, opening the access control under the condition that the data interaction is successful, and entering a dormancy awakening state under the condition that the data interaction is failed; wherein under different use scenes, the dormancy wakeup periods of the NFC chip are different,
When the use scene is a first scene, setting a dormancy wakeup period of NFC in a first mode;
when the use scene is a second scene, setting a dormancy wakeup period of NFC in a second mode;
When the access control of the Internet of things is powered off or a battery needs to be replaced, reentering an access control power-on initialization stage of the Internet of things;
The first scenario is a home scenario, and the setting of the sleep wakeup period of NFC through the first mode specifically includes:
initializing a clock and a counter, wherein after each power-on initialization, the dormancy wakeup period of NFC is a default period of the system;
Counting the opening times of the door control in one day through a counter, wherein the counter is increased by one every time the door control is opened, and the counter is cleared every early morning and restarted to count;
The NFC dormancy wakeup period of the new day is automatically matched according to the door access opening times of the previous day;
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:
Initializing a clock and a counter;
Under voice prompt, manually setting a dormancy period through an I/O interface;
at least one part of sleep time periods in different sleep time periods is to manually set a sleep and wake-up period of NFC through an I/O interface;
when the entrance guard is not opened after two consecutive days, the entrance guard is set to be in an offline mode, the NFC function is disabled, the entrance guard is required to be opened by inputting a password through an I/O interface when the entrance guard is used again, so that the entrance guard enters a normal mode again, the dormancy wakeup period of NFC is automatically matched according to the default time period of the system,
The manually and automatically setting the dormancy wakeup period of the NFC through the I/O interface comprises the following steps: after entering the sleep-wake-up period setting stage of NFC, starting timing through an I/O interface under voice prompt, and recording the starting time t1; when the expected duration passes, finishing timing through the I/O interface, and recording the finishing time t2; the duration between the end time t2 and the start time t1 is an artificially set NFC sleep-wake-up period, and the expected duration is a waiting duration that the user can bear, where the longer the waiting duration is, the longer the sleep-wake-up period is.
2. The internet of things access control of claim 1, further comprising an electrical 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 alarm signals sent by the central processing unit and executing alarm programs.
3. The entrance guard of the internet of things according to claim 1, wherein the NFC chip performs a cyclic 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 and awakening state.
4. The internet of things access control of claim 1, wherein the unlocking source comprises at least a cell phone and a disallowing card.
5. A method for setting an access control based on the internet of things according to any one of claims 1 to 4, comprising the steps of:
Initializing the entrance guard of the Internet of things;
Selecting a use scene through an I/O interface to set different NFC dormancy wakeup periods according to different use scenes;
when the use scene is a first scene, setting a dormancy wakeup period of NFC in a first mode;
when the use scene is a second scene, setting a dormancy wakeup period of NFC in a second mode;
When the access control of the Internet of things is powered off or a battery needs to be replaced, reentering an access control power-on initialization stage of the Internet of things;
The first scenario is a home scenario, and the setting of the sleep wakeup period of NFC through the first mode specifically includes:
initializing a clock and a counter, wherein after each power-on initialization, the dormancy wakeup period of NFC is a default period of the system;
Counting the opening times of the door control in one day through a counter, wherein the counter is increased by one every time the door control is opened, and the counter is cleared every early morning and restarted to count;
The NFC dormancy wakeup period of the new day is automatically matched according to the door access opening times of the previous day;
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:
Initializing a clock and a counter;
Under voice prompt, manually setting a dormancy period through an I/O interface;
at least one part of sleep time periods in different sleep time periods is to manually set a sleep and wake-up period of NFC through an I/O interface;
when the entrance guard is not opened after two consecutive days, the entrance guard is set to be in an offline mode, the NFC function is disabled, the entrance guard is required to be opened by inputting a password through an I/O interface when the entrance guard is used again, so that the entrance guard enters a normal mode again, the dormancy wakeup period of NFC is automatically matched according to the default time period of the system,
The manually and automatically setting the dormancy wakeup period of the NFC through the I/O interface comprises the following steps: after entering the sleep-wake-up period setting stage of NFC, starting timing through an I/O interface under voice prompt, and recording the starting time t1; when the expected duration passes, finishing timing through the I/O interface, and recording the finishing time t2; the duration between the end time t2 and the start time t1 is an artificially set NFC sleep-wake-up period, and the expected duration is a waiting duration that the user can bear, where the longer the waiting duration is, the longer the sleep-wake-up period is.
6. The setting method as set forth in claim 5, wherein the automatic matching of the NFC sleep wakeup period of the new day according to the number of times of opening the entrance guard of the previous day specifically includes:
When the opening times of the entrance guard per hour in the current day are smaller than X, setting the dormancy wakeup period of NFC as a first duration corresponding to the hour;
When the opening times of the entrance guard per hour in the current day are more than or equal to X and less than Y, setting the dormancy wakeup period of NFC as a second duration corresponding to the hour;
when the opening times of the entrance guard per hour in the current day are more than or equal to Y and less than Z, setting the dormancy wakeup period of NFC as a third duration corresponding to the hour;
When the opening times of the entrance guard per hour in the current day are larger than or equal to Z, setting the dormancy wakeup period of NFC to be a fourth duration corresponding to the hour; wherein X is less than Y and less than Z, and X, Y, Z is a positive integer;
When the entrance guard is not opened after three continuous days, the entrance guard is set to be in a home departure mode, the NFC function is disabled, the entrance guard is required to be opened through the input of a password by an I/O interface when the entrance guard is used again, the normal mode is entered again, and the dormancy awakening period of NFC is automatically matched according to the entrance guard opening times of the previous day.
7. The setup method of claim 6, wherein at least a part of the sleep periods among the different sleep periods is a sleep wakeup period of NFC automatically matched by a system,
The sleep wakeup period for automatically matching NFC through the system specifically comprises the following steps:
Automatically detecting the opening times of the door access in different dormancy periods through a counter, wherein the counter is increased by one every time the door access is opened, and the counter is cleared every early morning and begins to count again;
the NFC dormancy wakeup period of the new day is automatically matched according to the door access opening times of the previous day.
CN202111160194.8A 2021-09-30 2021-09-30 NFC-based access control of Internet of things and setting method thereof Active CN113920621B (en)

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 CN113920621A (en) 2022-01-11
CN113920621B true 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN113920621A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
EP3623776A2 (en) Dynamic power consumption management and wake-up method and application system therefor
CN109803224B (en) Low-power-consumption positioning method and system, positioning terminal, service platform and control terminal
US9609600B2 (en) Wireless communication system with enhanced power management
CN102612122A (en) Low-power-consumption wireless sensor network system and controlling and awaking method thereof
US20080092248A1 (en) Wan module based remote wakeup system and terminal thereof
CN1991683B (en) Notebook computer
CN110424831A (en) Low power-consumption intelligent door lock
CN103857021A (en) Method for controlling Bluetooth device, Bluetooth device and electronic device
CN102081745B (en) Active electronic tags as well as system and method applying active electronic tags
CN109283995B (en) Method and system for reducing power consumption of terminal user identification card of Internet of things
CN113920621B (en) NFC-based access control of Internet of things and setting method thereof
CN102801871B (en) Radio frequency smart card and control method thereof
KR102251629B1 (en) Ultra low power wireless sensor module for being selectively connected to various sensors
CN113724429A (en) Access control
CN114430542A (en) Energy saving method and terminal equipment
CN113687711B (en) Terminal wake-up circuit and wake-up method
CN109996319B (en) Beacon signal processing device
CN109427116B (en) Multi-node power-saving wireless intelligent lock system with proximity sensing alarm function
CN111818621A (en) Bluetooth device awakening method, device and system and electronic device
CN112948312B (en) Chip control method and device, intelligent terminal and computer readable storage medium
CN111555947B (en) MCU low-power consumption dormancy awakening system
CN204496590U (en) A kind of smart electronics lock control system
CN111427443B (en) Method for realizing autonomous dynamic linkage power consumption reduction of peripheral equipment by MCU (microprogrammed control Unit)
CN220067703U (en) NB+BLE combined function module
CN205080729U (en) Instrument end device and wireless meter reading system

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