CN110610563A - Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock - Google Patents

Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock Download PDF

Info

Publication number
CN110610563A
CN110610563A CN201910723287.3A CN201910723287A CN110610563A CN 110610563 A CN110610563 A CN 110610563A CN 201910723287 A CN201910723287 A CN 201910723287A CN 110610563 A CN110610563 A CN 110610563A
Authority
CN
China
Prior art keywords
distance
wake
awakening
electronic lock
historical
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
Application number
CN201910723287.3A
Other languages
Chinese (zh)
Other versions
CN110610563B (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910723287.3A priority Critical patent/CN110610563B/en
Publication of CN110610563A publication Critical patent/CN110610563A/en
Application granted granted Critical
Publication of CN110610563B publication Critical patent/CN110610563B/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
    • 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
    • G07C2009/00634Power supply for the lock
    • G07C2009/00642Power supply for the lock by battery

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to a method, a device, equipment and a storage medium for adjusting wake-up distance of an electronic lock, wherein the wake-up distance recorded by a distance sensor when a wake-up object for waking up the electronic lock is detected in a preset detection range is obtained by acquiring historical wake-up distances between a plurality of wake-up objects recorded by history and the electronic lock; determining a target wake-up distance according to the plurality of historical wake-up distances; the initial awakening distance of the distance sensor is adjusted to the target awakening distance, so that the distance between an awakening object and the electronic lock when the electronic lock is awakened by a large number of users is calculated, the optimal awakening distance which does not exceed the maximum distance detection threshold value of the distance sensor and can reduce the power consumption of the sensor to the maximum degree is calculated, the distance sensor is prevented from scanning the awakening object in a certain range according to the fixed awakening distance, the distance sensor is always in a high-energy-consumption working state, the battery is quickly consumed, and the cruising ability of the electronic lock is prolonged.

Description

Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock
Technical Field
The application relates to the technical field of intelligent door locks, in particular to a method, a device, equipment and a storage medium for adjusting an awakening distance of an electronic lock.
Background
The capacitive touch password input is the most user authentication mode adopted by the current electronic lock products, the realization mode is simple, the use is convenient, and the user acceptance is high, but the electronic lock using the capacitive touch password input generally adopts a battery for power supply, and the capacitive touch password touch pad is used as a module for awakening and inputting the intelligent door lock, is an important component of the electronic lock, and is also a main power consumption module.
The distance sensor used for approaching wake-up is arranged in a common electronic lock, when a touch pad is in sleep, the distance sensor can scan whether a user acts within a preset scanning range, if the user acts, the touch pad is woken up, so that the purpose that the touch pad works only when the user needs to use is achieved, and the electric quantity of a battery is saved.
Disclosure of Invention
In order to solve the technical problems that the awakening distance of the electronic lock with the distance sensor is fixed, the distance sensor scans awakened objects in a fixed range according to the awakening distance, so that the distance sensor is always in a high-energy-consumption working state and the battery loss is high, the method, the device, the equipment and the storage medium for adjusting the awakening distance of the electronic lock are provided.
In a first aspect, the present application provides a method for adjusting an awakening distance of an electronic lock, where the electronic lock includes: the method for adjusting the wake-up distance of the electronic lock comprises the following steps:
acquiring historical awakening distances between a plurality of historical awakening objects and the electronic lock, wherein the historical awakening distances are recorded when the distance sensor detects the awakening objects for awakening the electronic lock within a preset detection range;
determining a target wake-up distance according to the plurality of historical wake-up distances;
and adjusting the initial wake-up distance of the distance sensor to the target wake-up distance.
Optionally, before the step of obtaining the historical wake-up distances between the plurality of historical wakeups and the electronic lock, the method further includes:
when the electronic lock is unlocked, controlling the distance sensor to detect a wake-up object for waking up the electronic lock within the range of the initial wake-up distance;
and when the distance sensor detects the awakening object within the range of the initial awakening distance, recording the awakening distance between the awakening object and the electronic lock.
Optionally, after the step of adjusting the initial wake-up distance of the distance sensor to the target wake-up distance, the method further includes:
controlling the distance sensor to detect the awakening object within the range of the target awakening distance;
when the number of times of recording the distance between the awakening object and the electronic lock reaches a first preset number of times, determining a new target awakening distance according to the distances between the awakening objects and the electronic lock;
and if the new target wake-up distance is smaller than the target wake-up distance, adjusting the target wake-up distance of the sensor to the new target wake-up distance.
Optionally, the method for adjusting the wake-up distance of the electronic lock further includes:
and if the new target wake-up distance is equal to the target wake-up distance, adjusting the new target wake-up distance of the sensor to be a preset wake-up distance, wherein the preset wake-up distance is greater than the new target wake-up distance and is less than or equal to the initial wake-up distance.
Optionally, the step of determining a target wake-up distance according to a plurality of historical wake-up distances includes:
when the frequency of recording the historical awakening distance reaches a second preset frequency, determining a weight corresponding to each historical awakening distance according to the plurality of historical awakening distances;
and calculating a target wake-up distance according to the plurality of historical wake-up distances and each weight value corresponding to the historical wake-up distances.
Optionally, the step of determining a weight corresponding to each historical wake-up distance according to the plurality of historical wake-up distances includes:
calculating the sum of the historical awakening distances to obtain a distance sum;
and determining the ratio of the historical awakening distance to the sum of the distances as a weight, wherein the weight is a weight corresponding to the historical awakening distance.
Optionally, the calculation formula used for determining the target wake-up distance according to the plurality of historical wake-up distances is as follows:
wherein the content of the first and second substances,and n is the target wake-up distance and is larger than 0 and smaller than the maximum distance detection threshold value of the distance sensor, and n is the historical wake-up distance.
In a second aspect, the present application provides an apparatus for adjusting an electronic lock wake-up distance, including:
the acquisition module is used for acquiring historical awakening distances between a plurality of historical awakening objects and the electronic lock, wherein the historical awakening distances are recorded when the distance sensor detects the awakening objects for awakening the electronic lock within a preset detection range;
the determining module is used for determining a target awakening distance according to the plurality of historical awakening distances;
and the adjusting module is used for adjusting the initial wake-up distance of the distance sensor to the target wake-up distance.
In a third aspect, the present application provides an apparatus for adjusting an electronic lock wake-up distance, including a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements the steps of the method according to any one of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any of the first aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method, historical awakening distances between a plurality of awakening objects and an electronic lock in historical records are obtained, wherein the historical awakening distances are recorded when the distance sensor detects the awakening objects for awakening the electronic lock in a preset detection range; determining a target wake-up distance according to the plurality of historical wake-up distances; the initial awakening distance of the distance sensor is adjusted to the target awakening distance, so that the distance between an awakening object and the electronic lock when the electronic lock is awakened by a large number of users is calculated, the optimal awakening distance which does not exceed the maximum distance detection threshold of the distance sensor and can reduce the power consumption of the sensor to the maximum degree is calculated, the detection range of the distance sensor in the electronic lock is adjusted through the awakening distance, the distance sensor is prevented from scanning the awakening object in a certain range according to the fixed awakening distance, the distance sensor is enabled to be in a high-energy-consumption working state all the time, the battery loss is fast, and the cruising ability of the electronic lock is prolonged.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a method for adjusting an electronic lock wake-up distance according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method of step S101 according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method of step S103 according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method of step S102 according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a method of step S401 provided in an embodiment of the present application;
fig. 6 is a schematic block diagram of a device for adjusting an electronic lock wake-up distance according to an embodiment of the present disclosure.
Icon:
01-an acquisition module; 02-determining module; 03-adjusting module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Firstly, the application provides a method for adjusting an electronic lock wake-up distance, wherein the electronic lock comprises: the method for adjusting the wake-up distance of the electronic lock comprises the following steps:
step S101, historical awakening distances between a plurality of awakening objects and the electronic lock, which are recorded in a historical manner, are obtained, wherein the historical awakening distances are recorded when the distance sensor detects the awakening objects for awakening the electronic lock within a preset detection range;
in the embodiment of the invention, the electronic lock is provided with the distance sensor, the distance sensor can be an infrared sensor, an ultrasonic sensor or other sensors with a distance measuring function, the invention is not particularly limited to this, in the traditional electronic lock, a wake-up distance is often fixed for the distance sensor, so that the distance sensor detects whether the hand, the face or other wake-up objects capable of waking up the electronic lock exist in the fixed wake-up distance range, some users are used to wake up the keyboard at a position closer to the electronic lock and input passwords, but because the wake-up distance of the distance sensor cannot be changed, the distance sensor is in a large-range scanning state for a long time, the whole electric energy consumption of the electronic lock is too large, the change of the wake-up range of the distance sensor according to the habits cannot be realized, and the users can wake up in a period of time, based on the fact that the user is more inclined to be close to the keyboard of the electronic lock awakening electronic lock, and the user is more inclined to awaken the keyboard of the electronic lock at a far place in another period of time, the historical awakening distance recorded in the period of time represents the awakening habit distance of the user in the period of time by acquiring the historical awakening distances between a plurality of awakening objects in the historical record and the electronic lock, and the awakening distance of the user can be intelligently adjusted by processing and calculating the historical awakening distance.
In this embodiment of the present invention, as shown in fig. 2, before obtaining the historical wake-up distances between the plurality of wake-up objects in the history and the electronic lock in step S101, the method further includes:
step S201, when the electronic lock is opened, controlling the distance sensor to detect a wake-up object for waking up the electronic lock within the range of the initial wake-up distance;
step S202, when the distance sensor detects the awakening object within the range of the initial awakening distance, recording the awakening distance between the awakening object and the electronic lock.
In the embodiment of the invention, after the electronic lock is installed, an initial wake-up distance is set for the distance sensor, and the initial wake-up distance is set as the maximum wake-up distance which can be met by the distance sensor in priority, so that the wake-up distance can be gradually shortened from the maximum wake-up distance according to habits of users. When the electronic lock is unlocked, the distance sensor is controlled to detect the awakening object for awakening the electronic lock within the range of the initial awakening distance, when the awakening object is detected, the distance between the awakening object and the electronic lock is recorded, although the distance sensor is arranged in the electronic lock, the distance between the distance sensor and the outer wall of the electronic lock is far smaller than the distance between the awakening object and the outer wall of the electronic lock, and therefore the distance between the distance sensor and the outer wall of the electronic lock can be ignored.
Step S102, determining a target awakening distance according to a plurality of historical awakening distances;
in the embodiment of the invention, historical awakening distances between a plurality of awakening objects and the electronic lock in the historical record are acquired, the historical awakening distances recorded in a period of time represent awakening habit distances of a user in a period of time, and the target awakening distance is obtained by processing and calculating the historical awakening distances.
And step S103, adjusting the initial wake-up distance of the distance sensor to the target wake-up distance.
In the embodiment of the invention, the target wake-up distance is an optimized value obtained by calculation and represents a wake-up habit distance value of a user in a period of time, the initial wake-up distance of the distance sensor is adjusted to be the target wake-up distance, so that the optimal wake-up distance which does not exceed the maximum distance detection threshold of the distance sensor and can reduce the power consumption of the sensor to the maximum extent is calculated according to the distance between a wake-up object and an electronic lock when a large number of users wake up the electronic lock, the detection range of the distance sensor in the electronic lock is adjusted through the wake-up distance, the distance sensor is prevented from scanning the wake-up object in a certain range according to the fixed wake-up distance, the distance sensor is always in a high-energy consumption working state, the battery loss is fast, and the cruising ability of the.
In this embodiment of the present invention, as shown in fig. 3, after the step of adjusting the initial wake-up distance of the range sensor to the target wake-up distance in step S103, the method further includes:
step S301, controlling the distance sensor to detect the awakening object within the range of the target awakening distance;
in the embodiment of the invention, after the step of adjusting the initial wake-up distance of the distance sensor to the target wake-up distance, the distance sensor is controlled to detect the wake-up object within the range of the target wake-up distance, so that when the habit of the user changes, the wake-up distance of the distance sensor can be adjusted again according to the habit of the user within a certain time or when the recorded wake-up times reach a certain number, and the user experience is optimized.
Step S302, when the number of times of recording the distance between the awakening object and the electronic lock reaches a first preset number of times, determining a new target awakening distance according to the distances between the awakening objects and the electronic lock;
in the embodiment of the present invention, the first preset number of times is a value set manually, for example, the first preset number of times is 10 times, the distance between the wake-up object used by the user and the electronic lock is recorded each time the user wakes up the keyboard of the electronic lock, the total number of times is 10 times, a new target wake-up distance is determined again according to the 10 times of wake-up distance, and the wake-up distance of the distance sensor is adjusted again.
Step S303, if the new target wake-up distance is smaller than the target wake-up distance, adjusting the target wake-up distance of the sensor to the new target wake-up distance;
in the embodiment of the present invention, after determining the new target wake-up distance, the new target wake-up distance needs to be compared with the target wake-up distance being used by the range sensor, in case one: if the new target wake-up distance is smaller than the target wake-up distance, the fact that the habitual wake-up distance of the user is closer to the electronic lock in the period of time is indicated, and the target wake-up distance of the sensor is adjusted to be the new target wake-up distance.
The embodiment of the present invention further provides a second case: if the new target wake-up distance is equal to the target wake-up distance, adjusting the new target wake-up distance of the sensor to a preset wake-up distance, where the preset wake-up distance is greater than the new target wake-up distance and less than or equal to the initial wake-up distance, which indicates that the user is used to wake-up distance during the period of time, and is longer than the target wake-up distance currently used by the sensor, because the user cannot wake-up when trying to wake-up the keyboard of the electronic lock at a position exceeding the target wake-up distance, the user will slowly move the user's hand or other wake-up object in a direction closer to the electronic lock, and therefore the number of times recorded during the period of time is equal to the value of the target wake-up distance, and a new wake-up distance, that is, the preset wake-up distance, should be adjusted accordingly, where the preset wake-up distance is greater than the new, the specific value of the preset wake-up distance may be determined according to actual situations, which is not limited in the present invention.
In another embodiment of the present invention, as shown in fig. 4, step S102, determining a target wake-up distance according to a plurality of historical wake-up distances includes:
step S401, when the number of times of recording the historical awakening distance reaches a second preset number, determining a weight corresponding to each historical awakening distance according to the plurality of historical awakening distances;
in the embodiment of the present invention, the second preset number is a value set manually, for example, the second preset number is 10, the distance between the wake-up object used by the user and the electronic lock is recorded each time the user wakes up the keyboard of the electronic lock, the total number of the wake-up objects is recorded 10 times, a target wake-up distance is determined again according to the 10 historical wake-up distances, and the wake-up distance of the distance sensor is adjusted again. And determining a weight value corresponding to each historical awakening distance according to the plurality of historical awakening distances, configuring a weight value for each historical awakening distance, and calculating the plurality of historical awakening distances to obtain a more preferable awakening distance.
In this embodiment of the present invention, as shown in fig. 5, step S401, determining a weight corresponding to each historical wake-up distance according to a plurality of historical wake-up distances includes:
step S501, calculating the sum of a plurality of historical awakening distances to obtain the sum of the distances;
step S502, determining the ratio of the historical wake-up distance to the sum of the distances as a weight, wherein the weight is a weight corresponding to the historical wake-up distance.
In the embodiment of the present invention, the smaller the threshold of the distance sensor is, the larger the wake-up distance is, and at the same time, the power consumption is also increased, so that it is required to calculate a wake-up distance that does not increase the performance consumption of the distance sensor too much, and also can meet the habit of the user, the design idea of determining the weight according to the self follows the above requirement, and assuming that there are 3 recorded sensing distances A, B, C, the ratio of the number a in the sum of the three numbers can be used as the weight of a, because the smaller a is, the smaller the ratio of the number a in the sum of the three numbers is, that is, the smaller the weight is, the more power saving can be described, but in order to ensure the experience of the user (only if the wake-up distance should be set a little far, the wake-up object can be ensured to be detected in a larger range), the weight of the distance, and then a plurality of historical wake-up distances are calculated to obtain a more preferable wake-up distance.
Step S402, calculating a target wake-up distance according to a plurality of historical wake-up distances and each weight value corresponding to the historical wake-up distances.
In the embodiment of the present invention, a more preferable wake-up distance may be obtained by configuring a weight for each historical wake-up distance and then calculating a plurality of historical wake-up distances, and specifically, the following formula may be referred to, where the calculation formula used for determining the target wake-up distance according to the plurality of historical wake-up distances is:
wherein the content of the first and second substances,for the target wake-up distance, n is greater than 0 and less than the maximum distance detection threshold of the distance sensor, n is the historical wake-up distance, a weight is allocated to each historical wake-up distance, and an optimization algorithm of the target wake-up distance is further optimized, for example: the method comprises the steps that 5 historical awakening distances are respectively 5cm, 10cm and 10cm, the most intuitive angle shows that a user is more prone to awaken a keyboard of an electronic lock at the 10cm position, but if the target awakening distance obtained by using an average value algorithm is 8cm, and if the target awakening distance obtained by calculation through the weight adding formula is 8.9cm, the target awakening distance is closer to the habit tendency of the user, in addition, the larger weight is configured for the historical awakening distance with the larger value, the target awakening distance can be ensured to be increased under the condition that more power consumption of a distance sensor is not increased, and the user experience is optimized.
The present application further provides a device for adjusting the wake-up distance of an electronic lock, as shown in fig. 6, including:
the acquiring module 01 is configured to acquire historical wake-up distances between a plurality of wake-up objects and the electronic lock, where the historical wake-up distances are recorded when the distance sensor detects wake-up objects for waking up the electronic lock within a preset detection range;
a determining module 02, configured to determine a target wake-up distance according to a plurality of historical wake-up distances;
an adjusting module 03, configured to adjust the initial wake-up distance of the range sensor to the target wake-up distance.
It can be clearly understood by those skilled in the art in the embodiments of the present invention that, for convenience and brevity of description, the specific working processes of the systems, apparatuses and units described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The application provides a device for adjusting the wake-up distance of an electronic lock, which comprises a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, and the processor executes the computer program to realize the steps of the method.
The present application provides a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform any of the methods described above.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for adjusting an electronic lock wake-up distance, the electronic lock comprising: the method for adjusting the wake-up distance of the electronic lock is characterized by comprising the following steps:
acquiring historical awakening distances between a plurality of historical awakening objects and the electronic lock, wherein the historical awakening distances are recorded when the distance sensor detects the awakening objects for awakening the electronic lock within a preset detection range;
determining a target wake-up distance according to the plurality of historical wake-up distances;
and adjusting the initial wake-up distance of the distance sensor to the target wake-up distance.
2. The method of adjusting an electronic lock wake-up distance according to claim 1, wherein the step of obtaining historical wake-up distances between the plurality of historical wakes and the electronic lock is preceded by the step of:
when the electronic lock is unlocked, controlling the distance sensor to detect a wake-up object for waking up the electronic lock within the range of the initial wake-up distance;
and when the distance sensor detects the awakening object within the range of the initial awakening distance, recording the awakening distance between the awakening object and the electronic lock.
3. The method for adjusting the wake-up distance of an electronic lock according to claim 1, wherein after the step of adjusting the initial wake-up distance of the distance sensor to the target wake-up distance, the method further comprises:
controlling the distance sensor to detect the awakening object within the range of the target awakening distance;
when the number of times of recording the distance between the awakening object and the electronic lock reaches a first preset number of times, determining a new target awakening distance according to the distances between the awakening objects and the electronic lock;
and if the new target wake-up distance is smaller than the target wake-up distance, adjusting the target wake-up distance of the sensor to the new target wake-up distance.
4. The method of adjusting an electronic lock wake-up distance of claim 3, further comprising:
and if the new target wake-up distance is equal to the target wake-up distance, adjusting the new target wake-up distance of the sensor to be a preset wake-up distance, wherein the preset wake-up distance is greater than the new target wake-up distance and is less than or equal to the initial wake-up distance.
5. The method according to claim 1, wherein the step of determining a target wake-up distance from a plurality of the historical wake-up distances comprises:
when the frequency of recording the historical awakening distance reaches a second preset frequency, determining a weight corresponding to each historical awakening distance according to the plurality of historical awakening distances;
and calculating a target wake-up distance according to the plurality of historical wake-up distances and each weight value corresponding to the historical wake-up distances.
6. The method of adjusting an electronic lock wake-up distance according to claim 5,
determining a weight value corresponding to each historical awakening distance according to the plurality of historical awakening distances, wherein the step comprises the following steps:
calculating the sum of the historical awakening distances to obtain a distance sum;
and determining the ratio of the historical awakening distance to the sum of the distances as a weight, wherein the weight is a weight corresponding to the historical awakening distance.
7. The method according to claim 1, wherein the determining a target wake-up distance from the plurality of historical wake-up distances is performed using the following formula:
wherein the content of the first and second substances,and n is the target wake-up distance and is larger than 0 and smaller than the maximum distance detection threshold value of the distance sensor, and n is the historical wake-up distance.
8. An apparatus for adjusting wake-up distance of an electronic lock, comprising:
the acquisition module is used for acquiring historical awakening distances between a plurality of historical awakening objects and the electronic lock, wherein the historical awakening distances are recorded when the distance sensor detects the awakening objects for awakening the electronic lock within a preset detection range;
the determining module is used for determining a target awakening distance according to the plurality of historical awakening distances;
and the adjusting module is used for adjusting the initial wake-up distance of the distance sensor to the target wake-up distance.
9. Device for adjusting the wake-up distance of an electronic lock, comprising a memory, a processor, in which a computer program is stored which is executable on the processor, characterized in that the processor implements the steps of the method according to any of the preceding claims 1 to 7 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 7.
CN201910723287.3A 2019-08-06 2019-08-06 Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock Active CN110610563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910723287.3A CN110610563B (en) 2019-08-06 2019-08-06 Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910723287.3A CN110610563B (en) 2019-08-06 2019-08-06 Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock

Publications (2)

Publication Number Publication Date
CN110610563A true CN110610563A (en) 2019-12-24
CN110610563B CN110610563B (en) 2020-09-22

Family

ID=68890470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910723287.3A Active CN110610563B (en) 2019-08-06 2019-08-06 Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock

Country Status (1)

Country Link
CN (1) CN110610563B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103890675A (en) * 2011-10-21 2014-06-25 耐斯特实验公司 Adjusting proximity thresholds for activating device user interface
CN103959649A (en) * 2011-10-12 2014-07-30 微晶片科技德国第二公司 Method for adapting the sensitivity of a sensor system
CN104202480A (en) * 2014-09-12 2014-12-10 深圳市邦华电子有限公司 Adaptively-calibrated distance measurement method and handheld calling type communication equipment
CN104570144A (en) * 2013-10-24 2015-04-29 展讯通信(上海)有限公司 Self-adaptive induction threshold adjusting system and method for proximity sensor
CN104809488A (en) * 2015-04-14 2015-07-29 天津七一二通信广播有限公司 Internet of things terminal capable of automatic adjusting launch power by using ultrasonic measured distance
WO2017032693A1 (en) * 2015-08-24 2017-03-02 Iee International Electronics & Engineering S.A. Adaptive signal threshold for triggering kick detection
CN107625304A (en) * 2017-09-18 2018-01-26 江西省火电建设公司 A kind of portable multi-functional data management aid
CN108595213A (en) * 2018-04-11 2018-09-28 广州视源电子科技股份有限公司 The method, apparatus and electronic equipment of the threshold value of adjustable range sensor
US10175741B2 (en) * 2016-03-03 2019-01-08 Atmel Corporation Touch sensor mode transitioning

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103959649A (en) * 2011-10-12 2014-07-30 微晶片科技德国第二公司 Method for adapting the sensitivity of a sensor system
CN103890675A (en) * 2011-10-21 2014-06-25 耐斯特实验公司 Adjusting proximity thresholds for activating device user interface
CN104570144A (en) * 2013-10-24 2015-04-29 展讯通信(上海)有限公司 Self-adaptive induction threshold adjusting system and method for proximity sensor
CN104202480A (en) * 2014-09-12 2014-12-10 深圳市邦华电子有限公司 Adaptively-calibrated distance measurement method and handheld calling type communication equipment
CN104809488A (en) * 2015-04-14 2015-07-29 天津七一二通信广播有限公司 Internet of things terminal capable of automatic adjusting launch power by using ultrasonic measured distance
WO2017032693A1 (en) * 2015-08-24 2017-03-02 Iee International Electronics & Engineering S.A. Adaptive signal threshold for triggering kick detection
US10175741B2 (en) * 2016-03-03 2019-01-08 Atmel Corporation Touch sensor mode transitioning
CN107625304A (en) * 2017-09-18 2018-01-26 江西省火电建设公司 A kind of portable multi-functional data management aid
CN108595213A (en) * 2018-04-11 2018-09-28 广州视源电子科技股份有限公司 The method, apparatus and electronic equipment of the threshold value of adjustable range sensor

Also Published As

Publication number Publication date
CN110610563B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US11009933B2 (en) Apparatus and method for waking up a processor
US10743182B2 (en) User identification in cell phones based on skin contact
CN110310391B (en) Touch wake-up method and device, electronic equipment and storage medium
TWI614661B (en) Scan method for a touch panel and touch device
CA2378042A1 (en) Proximity based method and apparatus for reducing electrical energy consumed by a personal computer with a sleep mode
US20160085360A1 (en) Method for controlling state of touch screen, touch screen, and portable touch terminal
CN104603724A (en) Scalable touchscreen processing with realtime role negotiation among asymmetric processing cores
CN108259044A (en) Touch key scanning method and device, computer readable storage medium
CN104110769A (en) Air conditioner running temperature control method and air conditioner
CN102141866B (en) Method and device for adjusting touch parameters
WO2016004773A1 (en) Full-touch system activation method and system thereof
CN104461327A (en) Information processing method and electronic device
CN108845727B (en) Mutual capacitance type touch screen based awakening method and device
CN109388225A (en) Key triggers energy-saving control method, storage medium, control device and its terminal
CN105589611A (en) Parameter adjusting method and touch controller
CN108678564B (en) Awakening method and device of intelligent lock
CN110610563B (en) Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock
WO2020096562A1 (en) Fingerprint sensor controls based on operating states
CN105302278B (en) The control method and device and mobile terminal of fingerprint sensor Serial Peripheral Interface (SPI)
CN109766136A (en) A kind of wake-up screen method
CN108597068A (en) A kind of electronic lock open method
CN108762473A (en) A kind of method that can effectively reduce smart lock stand-by power consumption
CN110264605A (en) A kind of low power-consumption intelligent door lock and Low-power-consumptiocontrol control method
CN105320875A (en) Control method and mobile terminal
CN108897672B (en) Method and system for judging use state of intelligent mobile terminal by using large and small windows

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