CN109992157B - Method and device for adjusting sensitivity of touch keyboard of intelligent door lock - Google Patents

Method and device for adjusting sensitivity of touch keyboard of intelligent door lock Download PDF

Info

Publication number
CN109992157B
CN109992157B CN201910236140.1A CN201910236140A CN109992157B CN 109992157 B CN109992157 B CN 109992157B CN 201910236140 A CN201910236140 A CN 201910236140A CN 109992157 B CN109992157 B CN 109992157B
Authority
CN
China
Prior art keywords
sensitivity
touch operation
strength
touch
standby state
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
CN201910236140.1A
Other languages
Chinese (zh)
Other versions
CN109992157A (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.)
Qingdao Hisense Smart Life Technology Co Ltd
Original Assignee
Qingdao Hisense Smart Home Systems 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 Qingdao Hisense Smart Home Systems Co ltd filed Critical Qingdao Hisense Smart Home Systems Co ltd
Priority to CN201910236140.1A priority Critical patent/CN109992157B/en
Publication of CN109992157A publication Critical patent/CN109992157A/en
Application granted granted Critical
Publication of CN109992157B publication Critical patent/CN109992157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • 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/00944Details of construction or manufacture

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The application provides a method and a device for adjusting sensitivity of a touch keyboard of an intelligent door lock, which can be used for identifying the strength of a first touch operation and judging whether the strength is greater than a preset minimum value or not if the first touch operation is detected when the touch keyboard is in an open standby state; if yes, switching the touch keyboard from a standby state to a working state, if a second touch operation is detected based on the first sensitivity, determining a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation, and replacing the first sensitivity with the second sensitivity to perform touch operation identification; if not, the standby state is maintained. According to the touch control method and the touch control device, the sensitivity of the touch keyboard can be adjusted according to the touch control strength of the user, so that the sensitivity of the touch keyboard can adapt to different touch control strengths, the touch control accuracy can be improved, false triggering is avoided, and the touch control experience of the user is effectively improved.

Description

Method and device for adjusting sensitivity of touch keyboard of intelligent door lock
Technical Field
The application relates to the technical field of intelligent door locks, in particular to a method and a device for adjusting sensitivity of a touch keyboard of an intelligent door lock.
Background
Under the future trend of smart home internet of things, the smart door lock plays an entrance role, and the entrance door is triggered to drive various networking devices in the home of a consumer to enter a servo state to meet the arrival of a host. The current intelligent lock usually adopts multiple modes of unblanking such as touch keyboard, fingerprint, password, radio frequency card and APP, and wherein the touch keyboard mode is a mode that almost all intelligent locks all can use, uses very extensively in scenes such as house, hotel, official working.
However, when the intelligent door lock is unlocked by using the touch keyboard, the sensitivity of the touch keyboard of the intelligent door lock is a fixed value set by a factory, and when the touch force of a user is different, the response of the intelligent door lock is often abnormal. For example, the touch strength of an adult is usually high, the touch strength of a child is low, or when a user holds an article in a hand or is injured by a finger, the touch strength is low, and when the touch strength is high, false triggering is easily caused; when the touch force is small, the operation cannot be identified, and the problem of invalid touch is caused. Therefore, the sensitivity of the existing touch keyboard cannot adapt to different touch strengths, which easily causes the situation of false triggering or invalid touch, thereby resulting in poor touch experience of users.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for adjusting sensitivity of a touch keyboard of an intelligent door lock, so as to solve the problem that the sensitivity of the touch keyboard cannot adapt to different touch strengths.
Specifically, the method is realized through the following technical scheme:
the application provides a method for adjusting the sensitivity of a touch keyboard of an intelligent door lock, which comprises the following steps:
when the standby state is started, if a first touch operation is detected, identifying the strength of the first touch operation, and judging whether the strength is greater than a preset minimum value;
if yes, switching the touch keyboard from a standby state to a working state, if a second touch operation is detected based on a first sensitivity, determining a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation, and replacing the first sensitivity with the second sensitivity to perform touch operation identification, wherein the first sensitivity is a sensitivity level corresponding to historical touch operation strength;
if not, the standby state is maintained.
As an embodiment, determining the second sensitivity according to the strength of the first touch operation and the strength of the second touch operation includes:
calculating the average value of the strength of the first touch operation and the strength of the second touch operation;
and determining a preset force interval where the average value is located, and acquiring the sensitivity corresponding to the force interval as the second sensitivity according to the corresponding relation between the force interval and the sensitivity.
As an embodiment, after performing touch operation identification by replacing the first sensitivity with the second sensitivity, the method further includes:
judging whether historical touch operation within preset time meets preset times;
if so, adjusting the corresponding relation between the strength interval and the sensitivity according to the recorded strength of the historical touch operation, and emptying the record of the strength of the historical touch operation;
and if not, recording the strength of the second touch operation into the historical touch operation strength.
As an embodiment, adjusting the correspondence between the strength interval and the sensitivity according to the recorded strength of the historical touch operation includes:
calculating the average value of the force of the historical touch operation, and multiplying the average value by a preset multiple to obtain a new force range;
and dividing a new force range according to a preset grading number pair based on the new force range to obtain a corresponding relation between the new force range and the sensitivity.
As an embodiment, the method further comprises:
whether the position of the intelligent door lock is close to the position of the intelligent door lock set by the cloud side is judged through GPS positioning of a mobile terminal connected with the intelligent door lock, or whether a person approaches the intelligent door lock is determined according to wireless signal intensity detection, if yes, the touch keyboard is switched from a dormant state to a standby state, the standby state is that the touch panel is not lightened, and the touch panel detects touch operation according to a preset period.
Based on the same design, this application still provides an intelligence lock touch keyboard sensitivity adjusting device, the device includes:
the device comprises an identification unit, a processing unit and a control unit, wherein the identification unit is used for identifying the strength of a first touch operation and judging whether the strength is greater than a preset minimum value or not if the first touch operation is detected when the standby state is started;
the switching unit is used for switching the touch keyboard from a standby state to a working state if the strength is greater than a preset minimum value, determining a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation if the second touch operation is detected based on the first sensitivity, and replacing the first sensitivity with the second sensitivity to perform touch operation identification, wherein the first sensitivity is a sensitivity level corresponding to the historical touch operation strength;
and the maintaining unit is used for maintaining the standby state if the strength is not greater than a preset minimum value.
As an embodiment, the switching unit is specifically configured to calculate an average value of the strength of the first touch operation and the strength of the second touch operation; and determining a preset force interval where the average value is located, and acquiring the sensitivity corresponding to the force interval as the second sensitivity according to the corresponding relation between the force interval and the sensitivity.
As an embodiment, the apparatus further comprises:
the adjusting unit is used for replacing the first sensitivity with the second sensitivity to carry out touch operation identification, and then judging whether historical touch operation within preset time meets preset times; if so, adjusting the corresponding relation between the strength interval and the sensitivity according to the recorded strength of the historical touch operation, and emptying the record of the strength of the historical touch operation; and if not, recording the strength of the second touch operation into the historical touch operation strength.
As an embodiment, the adjusting unit is specifically configured to calculate an average value of the force of the historical touch operation, and multiply the average value by a preset multiple to obtain a new force range; and dividing a new force range according to a preset grading number pair based on the new force range to obtain a corresponding relation between the new force range and the sensitivity.
As an embodiment, the apparatus further comprises:
the detection unit is used for judging whether the position of the intelligent door lock is close to the position of the intelligent door lock set by the cloud end or not through GPS positioning of a mobile terminal connected with the intelligent door lock, or determining whether a person approaches the intelligent door lock according to wireless signal intensity detection, if so, switching the touch keyboard from a dormant state to a standby state, wherein the standby state is that the touch panel is not lightened, and the touch panel detects touch operation according to a preset period.
Based on the same concept, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any one of the steps of the above-mentioned method for adjusting the sensitivity of the touch keyboard of the smart door lock.
Based on the same conception, the application provides an intelligent door lock, which comprises a memory, a processor, a communication interface and a communication bus; the memory, the processor and the communication interface are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is used for executing the computer program stored in the memory, and any step of the method for adjusting the sensitivity of the intelligent door lock touch keyboard is realized when the processor executes the computer program.
Therefore, when the touch keyboard of the intelligent door lock is in a standby state, if a first touch operation is detected, the strength of the first touch operation is identified, and whether the strength is greater than a preset minimum value is judged; if yes, switching the touch keyboard from a standby state to a working state, if a second touch operation is detected based on a first sensitivity corresponding to the historical touch operation strength, determining a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation, and replacing the first sensitivity with the second sensitivity to perform touch operation identification; if not, the standby state is maintained. Compared with the prior art, the sensitivity of the touch keyboard is fixedly set, and the sensitivity of the touch keyboard can be adjusted according to the touch force of the user, so that the sensitivity of the touch keyboard can adapt to different touch forces, the touch accuracy can be improved, false triggering is avoided, and the touch experience of the user is effectively improved.
Drawings
FIG. 1 is a flowchart illustrating a method for adjusting sensitivity of a touch keypad of an intelligent door lock according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for adjusting sensitivity of a touch keypad of an intelligent door lock according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a relationship between touch strength and sensitivity according to an exemplary embodiment of the present disclosure;
fig. 4 is a logic structure diagram of an apparatus for adjusting sensitivity of a touch keypad of an intelligent door lock according to an exemplary embodiment of the present application;
fig. 5 is a hardware configuration diagram of an intelligent door lock according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to solve the problems in the prior art, the application provides a method and a device for adjusting the sensitivity of a touch keyboard of an intelligent door lock, which can identify the strength of a first touch operation if the first touch operation is detected when the touch keyboard of the intelligent door lock is in an open standby state, and judge whether the strength is greater than a preset minimum value; if yes, switching the touch keyboard from a standby state to a working state, if a second touch operation is detected based on a first sensitivity corresponding to the historical touch operation strength, determining a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation, and replacing the first sensitivity with the second sensitivity to perform touch operation identification; if not, the standby state is maintained. Compare in prior art, touch keyboard's sensitivity is fixed the setting, and this application can be according to user's touch-control dynamics adjustment touch keyboard sensitivity to make touch keyboard sensitivity can adapt to different touch-control dynamics, can improve the touch-control degree of accuracy, avoid because of the mistake touch that the keyboard is too quick or too dull causes touches and maloperation, thereby promoted touch keyboard's touch-control and experienced.
Referring to fig. 1, a processing flow chart of a method for adjusting sensitivity of a touch keyboard of an intelligent door lock according to an exemplary embodiment of the present application is shown, where the method includes:
step 101, when a standby state is started, if a first touch operation is detected, identifying the strength of the first touch operation, and judging whether the strength is greater than a preset minimum value;
in this embodiment, the touch keyboard of the smart door lock may be divided into three states, for example, a sleep state, a standby state, and an operating state, where the sleep state refers to that the touch panel of the touch keyboard is turned off at this time, and the touch keyboard does not operate at this time; if the touch keyboard in the dormant state detects that a person approaches, the touch keyboard in the dormant state is switched from the dormant state to a standby state, wherein the standby state refers to that the touch panel is not lightened, but a background program of the touch panel is started, and touch operation can be detected according to a preset period.
As an embodiment, the touch keyboard may detect whether a person approaches in real time, and the specific detection form is, for example, setting the geographical position of the smart door lock in the cloud and detecting the distance between the smart door lock and the mobile phone of the user by matching with the GPS positioning of the bound mobile terminal (e.g., mobile phone); or the distance between a person and the door lock is detected through a distance sensor arranged in the door lock; or whether the mobile phone and the door lock are close to each other is judged by monitoring the wireless (WIFI, Bluetooth and the like) signal strength between the door lock and the mobile phone of the user, and the like, so that whether a person approaches the door lock is determined, and if yes, the touch keyboard is switched from the dormant state to the standby state. If no operation is performed for a period of time, the touch keyboard enters a dormant state, so that the power is saved. The touch panel can save power consumption in a dormant state and a standby state by setting a plurality of states, and the service life of the touch panel can be prolonged.
In this embodiment, when the standby state is started, if the scanning touch panel detects a first touch operation of a user, the strength of the first touch operation is identified, whether the strength is greater than a preset minimum value is determined, if so, it is determined that the first touch operation is an effective operation, and if not, it is determined that the first touch operation is a false trigger.
Step 102, if the force is greater than a preset minimum value, switching the touch keyboard from a standby state to a working state, if a second touch operation is detected based on a first sensitivity, determining a second sensitivity according to the force of the first touch operation and the force of the second touch operation, and replacing the first sensitivity with the second sensitivity to perform touch operation identification;
in this embodiment, if the strength is greater than the preset minimum value, it is determined that the first touch operation is an effective operation, so that the touch keyboard can be switched from a standby state to a working state, where the working state is that the touch panel is turned on, and the touch operation is scanned according to a normal scanning period. In the working state, touch response can be performed based on a first sensitivity, wherein the first sensitivity is a sensitivity level corresponding to historical touch operation strength. The first sensitivity is a sensitivity level corresponding to the historical touch operation strength, and if no historical touch operation strength exists at present, for example, the current operation is the first operation, or the first operation after the historical touch operation strength is cleared, the sensitivity level set by a factory can be used as the first sensitivity; if the historical touch operation strength exists, the sensitivity level determined according to the historical touch operation strength can be used as the first sensitivity.
As an embodiment, a corresponding relationship between the touch strength interval and the sensitivity may be preset, for example, as shown in table 1:
force interval (Unit N) Sensitivity class
10-20 First order sensitivity
21-30 Second order sensitivity
31-40 Third order sensitivity
41-50 Four-stage sensitivity
TABLE 1
The sensitivity levels are divided into four levels, when the force interval is [10,20] N, the corresponding sensitivity level is first-level sensitivity, when the force interval is [21,30] N, the corresponding sensitivity level is second-level sensitivity, when the force interval is [31,40] N, the corresponding sensitivity level is third-level sensitivity, when the force interval is [41,50] N, the corresponding sensitivity level is fourth-level sensitivity, the sensitivities are divided from high to low, the first-level sensitivity is highest, the fourth-level sensitivity is lowest, and the lowest value of the force is 10N. Through dividing a plurality of sensitivity levels, different touch control dynamics can be adapted to, thereby can guarantee that all have corresponding sensitivity to carry out touch control response under different touch control dynamics.
In this embodiment, if the second touch operation is detected based on the first sensitivity, the second sensitivity is determined according to the strength of the first touch operation and the strength of the second touch operation, and the first sensitivity is replaced by the second sensitivity to perform touch operation identification.
For example, when a user opens a door by using a touch keyboard of the smart door lock, a first touch operation (such as a light touch keyboard) may be first input on the touch keyboard of the smart door lock, when the force of the first touch operation is greater than a preset minimum value, the touch keyboard is switched from a standby state to a working state, then the user starts to press a key, the touch keyboard starts to recognize the touch operation with a preset first sensitivity, the operation force of the first key of the user is used as a second touch operation, a second sensitivity is determined according to the force of the first touch operation and the force of the second touch operation, then the first sensitivity is replaced with the second sensitivity to perform subsequent touch operation recognition, assuming that the password of the user has 6 bits, the last five keys of the user are recognized based on the second sensitivity, and finally the touch keyboard compares six key values corresponding to six recognized keys input by the user with the preset password, if the comparison result is consistent, the password input by the user is correct, so that the intelligent door lock is opened; otherwise, the password input by the user is incorrect, the door is not opened, the user can be prompted to have the wrong password, and the user is asked to input the password again.
Compare in prior art and use fixed sensitivity to discern user's touch operation can lead to the condition of false triggering or maloperation more, and the sensitivity of adaptation is confirmed to the dynamics of the first two times touch operation when this application can open the door according to the user at every turn to can improve the touch-control accuracy, avoid touching the maloperation scheduling problem because of the mistake that the keyboard is too nimble or too dull causes.
As an embodiment, after obtaining the strength of the first touch operation and the strength of the second touch operation, an average value of the strength of the first touch operation and the strength of the second touch operation may be calculated; and determining a preset force interval where the average value is located, and acquiring a sensitivity grade corresponding to the force interval as the second sensitivity according to the corresponding relation between the force interval and the sensitivity.
For example, if the strength of the first touch operation is 18N and the strength of the second touch operation is 24N, the average value of the strength of the first touch operation and the strength of the second touch operation is: if (18+24)/2 is 21N, it can be seen from table 1 that the average value 21N is located in the second power range and corresponds to the second sensitivity, and therefore, the second sensitivity is used as the second sensitivity, and the second sensitivity is used instead of the first sensitivity to perform the recognition and response of the subsequent touch operation.
It should be noted that, because the force difference of the keys is usually not too large when the user presses the keys to input the password after waking up the touch panel, the sensitivity adjustment may be performed only for the first key force after waking up the touch panel, that is, if the first touch operation is an operation of waking up the touch panel, the second touch operation is an operation of waking up the first key after waking up the touch panel. The initial sensitivity is a first sensitivity, and aiming at the identification and response of the first touch operation and the second touch operation, subsequent re-keying can be carried out according to the second sensitivity adjusted according to the second touch operation, so that the sensitivity can be continuously adjusted according to the change of the touch force of a user, the accuracy of touch response is further improved, and false triggering is avoided.
As an embodiment, after the first sensitivity is replaced by the second sensitivity to perform touch operation identification, it may further be determined whether a historical touch operation within a preset time meets a preset number of times, where the historical touch operation refers to a record of a first touch operation of waking up the touch panel and a second touch operation of pressing a key for the first time each time within a period of time (e.g., a week); if so, adjusting the corresponding relation between the strength interval and the sensitivity according to the recorded strength of the historical touch operation, and emptying the record of the strength of the historical touch operation; specifically, an average value of the force of the historical touch operation may be calculated, and the average value is multiplied by a preset multiple to obtain a new force range; and dividing a new force range according to a preset grading number pair based on the new force range to obtain a corresponding relation between the new force range and the sensitivity.
For example, the preset number of times of the historical touch operation is set to 10, and if the current second touch operation of the user is added to the historical touch operation record and is exactly 10 times later, the force of the 10 historical touch operations can be obtained, the average value of the force of the historical touch operations is calculated, and the average value is multiplied by the preset multiple to obtain a new force range. Assuming that the average value is 30N, the preset multiple is 2 times, the new upper limit of the dynamics is 30 × 2-60N, and the lower limit of the dynamics is 10 × 2-20N, dividing a new dynamics interval according to the preset number of classes based on the new dynamics range, and according to the corresponding relationship shown in table 1, dividing the dynamics interval into four classes, the lower limit of which is 10N, the upper limit of which is 50N, the lower limit of the new dynamics range is 20N, and the upper limit of which is 60N, obtaining the corresponding relationship between the new dynamics interval and the sensitivity according to the dividing method of table 1, as shown in table 2:
force interval (Unit N) Sensitivity class
20-30 First order sensitivity
31-40 Second order sensitivity
41-50 Third order sensitivity
51-60 Four-stage sensitivity
TABLE 2
The sensitivity levels are divided into four levels, when the force interval is [20,30] N, the corresponding sensitivity level is first-level sensitivity, when the force interval is [31,40] N, the corresponding sensitivity level is second-level sensitivity, when the force interval is [41,50] N, the corresponding sensitivity level is third-level sensitivity, when the force interval is [51,60] N, the corresponding sensitivity level is fourth-level sensitivity, and the lowest value of the force is 20N. Therefore, if the historical touch control strength of the user is large, the range of the strength interval in the corresponding relation between the new strength interval and the sensitivity of the user is increased, the division of the sensitivity can be adjusted according to the actual strength of the key of the user, the strength of the key of the user can be further adapted, and the response experience of the key is improved.
After the corresponding relation between the force interval and the sensitivity is adjusted according to the historical touch force, the first-level sensitivity can be continuously appointed to be used as the first sensitivity to identify the subsequent first touch operation. And then emptying the historical touch operation record.
If the historical touch operation frequency is less than the preset frequency, the strength of the second touch operation can be recorded into the historical touch operation strength.
And 103, if the strength is not greater than a preset minimum value, maintaining the standby state.
In this embodiment, if the strength is not greater than the preset minimum value, it indicates that the current first touch operation is a false trigger, and therefore no response is made and the standby state is maintained.
Compared with the prior art, the sensitivity of the touch keyboard is fixedly set, the sensitivity of the touch keyboard can be adjusted according to the touch control strength of the user, so that the sensitivity of the touch keyboard can adapt to different touch control strengths, the range of the strength interval can be adjusted by recording the strength of historical touch control operation, the habit of the touch control strength of the user can be further adapted, the touch control accuracy can be improved, false triggering is avoided, and the touch control experience of the user is effectively improved.
In order to make the objects, technical solutions and advantages of the present application more apparent, the solution of the present application is further described in detail below with reference to fig. 2 and 3.
Please refer to fig. 2, which is a flowchart illustrating a processing method for adjusting the sensitivity of the touch keyboard of the smart door lock according to another exemplary embodiment of the present application, wherein the method specifically includes:
step 201, detecting whether a person approaches a touch panel in a dormant state; if yes, go to step 202; if not, the sleep state is maintained;
step 202, switching the dormant state of the touch panel to a standby state, and turning to step 203;
step 203, detecting a first touch operation, judging whether the strength of the first touch operation is greater than a preset minimum value, and if so, turning to step 204; if not, maintaining the standby state;
step 204, switching the standby state of the touch panel to a working state, recording the strength of the first touch operation, and turning to step 205;
step 205, identifying and responding to the second touch operation by using the first sensitivity, calculating an average value of the strength of the second touch operation and the strength of the first touch operation, determining a second sensitivity according to the average value, recording the strength of the second touch operation, and turning to step 206;
step 206, judging whether the number of times of the historical touch operation is greater than a preset number of times, if so, turning to step 207; if not, go to step 208;
step 207, adjusting according to the average value of the historical touch operation force to obtain a new corresponding relation between the force interval and the sensitivity, clearing the historical touch operation record, and ending;
and step 208, adding the second touch operation to the historical touch operation record, and ending.
For example, the specific process of obtaining the corresponding relationship between the new force interval and the sensitivity according to the average value of the historical touch operation force is shown in the schematic diagram of the relationship between the user key force and the sensitivity in fig. 3, when the touch keyboard enters into the touch keyboardIn a standby state, if the first key pressing strength of the user is 28N (greater than the lowest value of 10N in table 1), the key pressing strength 28N is recorded as S0, after the user enters a working state, the user can press the touch keyboard for multiple times to perform one round of operation operations such as password input and system setting, and here, the key pressing strength for multiple times in the current round of operation is recorded as S1, for example, 24N; average of S0 and S1
Figure BDA0002008256830000121
The corresponding sensitivity level obtained from table 1 was the secondary sensitivity, which was taken as the sensitivity of the present round of operation. And adding the key operations S0 and S1 of this time into the historical operation record, and if the preset times of the historical operation record are 10 times, not meeting the preset times at present and waiting for the next round of key operation.
For example, in FIG. 3, the forces of the second round buttons S2 and S3 are 19N and 21N, respectively, and the corresponding average values are
Figure BDA0002008256830000122
Then the corresponding sensitivity level of the current round is the first-level sensitivity, and the key operation S2 and S3 of the current time are added into the historical operation record; the forces of the third round keys S4 and S5 are 29N and 33N respectively, and the corresponding average values are
Figure BDA0002008256830000123
Then the corresponding sensitivity level of the current round is three-level sensitivity, and the key operation S4 and S5 of the current time are added into the historical operation record; the forces of the fourth wheel buttons S6 and S7 are 49N and 33N respectively, and the corresponding average value is
Figure BDA0002008256830000124
Then the corresponding sensitivity level of the current round is four-level sensitivity, and the key operation S6 and S7 of the current time are added into the historical operation record; if the force of the fifth round key S9 and S10 is 46N and 58N respectively, the corresponding average value is 46N and 58N, respectively
Figure BDA0002008256830000125
Since the upper limit of the force range shown in table 1 is 50N, the sensitivity level corresponding to this round is four-level sensitivity, and the key operations S9 and S10 of this time are added to the history. So far, when the number of times of the historical operation record reaches 10 times of the preset number of times, calculating the average value of the 10 operations:
Figure BDA0002008256830000126
the new upper limit of the force interval is 33.6N, the integer is 34N, the new upper limit of the force interval is 34 times the preset multiple, and if the new upper limit of the force interval is 2 times, the new upper limit of the force interval is 34 × 2 to 68; the lower limit of the force is 10 × 2 ═ 20, the range of the new force interval is (20, 68), the new force interval is divided into four sub-intervals, each sub-interval corresponds to one sensitivity level, and the force of the user is larger every time according to the new force range, so that the range of the force interval corresponding to the sensitivity level can be adjusted upwards, the sensitivity of the touch keyboard can be properly reduced, and the problem of false triggering caused by over-sensitivity can be avoided when the user uses the same force for touch control subsequently.
Compared with the prior art, the sensitivity of the touch keyboard is fixedly set, and the sensitivity of the touch keyboard can be adjusted according to the touch force of the user, so that the sensitivity of the touch keyboard can adapt to different touch forces, the touch accuracy can be improved, false triggering is avoided, and the touch experience of the user is effectively improved.
Based on the same conception, the application also provides a device for adjusting the sensitivity of the touch keyboard of the intelligent door lock, which can be realized by software and hardware or a mode of combining the software and the hardware. By taking software implementation as an example, the sensitivity adjusting device for the intelligent door lock touch keyboard is used as a logical device and is formed by reading a corresponding computer program instruction in a memory and then running the computer program instruction through a CPU of the device where the device is located.
Referring to fig. 4, a touch keyboard sensitivity adjustment apparatus 400 for an intelligent door lock according to an exemplary embodiment of the present application, the basic operating environment of the apparatus includes a CPU, a memory and other hardware, and from a logic level, a logic structure of the apparatus 400 is as shown in fig. 4, where:
the identification unit 401 is configured to, when the standby state is started, identify a strength of a first touch operation if the first touch operation is detected, and determine whether the strength is greater than a preset minimum value;
a switching unit 402, configured to switch the touch keyboard from a standby state to a working state if the strength is greater than a preset minimum value, determine a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation if the second touch operation is detected based on the first sensitivity, and replace the first sensitivity with the second sensitivity to perform touch operation identification, where the first sensitivity is a sensitivity level corresponding to a historical touch operation strength;
a maintaining unit 403, configured to maintain the standby state if the strength is not greater than a preset minimum value.
As an embodiment, the switching unit 402 is specifically configured to calculate an average value of the strength of the first touch operation and the strength of the second touch operation; and determining a preset force interval where the average value is located, and acquiring the sensitivity corresponding to the force interval as the second sensitivity according to the corresponding relation between the force interval and the sensitivity.
As an embodiment, the apparatus further comprises:
an adjusting unit 404, configured to replace the first sensitivity with the second sensitivity to perform touch operation identification, and then determine whether a historical touch operation within a preset time meets a preset number of times; if so, adjusting the corresponding relation between the strength interval and the sensitivity according to the recorded strength of the historical touch operation, and emptying the record of the strength of the historical touch operation; and if not, recording the strength of the second touch operation into the historical touch operation strength.
As an embodiment, the adjusting unit 404 is specifically configured to calculate an average value of the force of the historical touch operation, and multiply the average value by a preset multiple to obtain a new force range; and dividing a new force range according to a preset grading number pair based on the new force range to obtain a corresponding relation between the new force range and the sensitivity.
As an embodiment, the apparatus further comprises:
the detection unit 405 is configured to determine whether the position of the intelligent door lock set by the cloud is close to the position of the intelligent door lock through GPS positioning of a mobile terminal connected to the intelligent door lock, or determine whether a person approaches the intelligent door lock according to detection of wireless signal intensity, and if so, switch the touch keyboard from a sleep state to a standby state, where the standby state is that the touch panel is not turned on, and the touch panel detects touch operation according to a preset period.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Based on the same concept, the present application also provides an intelligent door lock, as shown in fig. 5, the intelligent door lock includes a memory 51, a processor 52, a communication interface 53 and a communication bus 54; wherein, the memory 51, the processor 52 and the communication interface 53 communicate with each other through the communication bus 54;
the memory 51 is used for storing computer programs;
the processor 52 is configured to execute the computer program stored in the memory 51, and when the processor 52 executes the computer program, any step of the method for adjusting the sensitivity of the touch keyboard of the smart door lock provided in the embodiment of the present application is implemented.
The present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any step of the method for adjusting the sensitivity of the touch keyboard of the smart door lock provided in the embodiment of the present application.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments of the network device and the computer-readable storage medium, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the description of the method embodiments.
In summary, according to the application, when the touch keyboard of the intelligent door lock is in the standby state, if the first touch operation is detected, the strength of the first touch operation is identified, and whether the strength is greater than a preset minimum value is judged; if yes, switching the touch keyboard from a standby state to a working state, if a second touch operation is detected based on a first sensitivity corresponding to the historical touch operation strength, determining a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation, and replacing the first sensitivity with the second sensitivity to perform touch operation identification; if not, the standby state is maintained. Compared with the prior art, the sensitivity of the touch keyboard is fixedly set, and the sensitivity of the touch keyboard can be adjusted according to the touch force of the user, so that the sensitivity of the touch keyboard can adapt to different touch forces, the touch accuracy can be improved, false triggering is avoided, and the touch experience of the user is effectively improved.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A method for adjusting the sensitivity of a touch keyboard of an intelligent door lock is characterized by comprising the following steps:
when a standby state is started, if a first touch operation is detected, identifying the strength of the first touch operation, and judging whether the strength is greater than a preset minimum value, wherein the standby state refers to that the touch panel is not lightened, but a background program of the touch panel is started, and the touch operation is detected according to a preset period;
if yes, switching the touch keyboard from a standby state to a working state, if a second touch operation is detected based on a first sensitivity, determining a second sensitivity according to the strength of the first touch operation and the strength of the second touch operation, and replacing the first sensitivity with the second sensitivity to perform touch operation identification, wherein the first sensitivity is a sensitivity level corresponding to the strength of historical touch operation, and the second touch operation is a first key operation of a user after switching from the standby state to the working state;
if not, the standby state is maintained.
2. The method of claim 1, wherein determining the second sensitivity according to the strength of the first touch operation and the strength of the second touch operation comprises:
calculating the average value of the strength of the first touch operation and the strength of the second touch operation;
and determining a preset force interval where the average value is located, and acquiring the sensitivity corresponding to the force interval as the second sensitivity according to the corresponding relation between the force interval and the sensitivity.
3. The method of claim 2, wherein after replacing the first sensitivity with the second sensitivity for touch operation recognition, the method further comprises:
judging whether historical touch operation within preset time meets preset times;
if so, adjusting the corresponding relation between the strength interval and the sensitivity according to the recorded strength of the historical touch operation, and emptying the record of the strength of the historical touch operation;
and if not, recording the strength of the second touch operation into the historical touch operation strength.
4. The method of claim 3, wherein adjusting the correspondence between the strength interval and the sensitivity according to the recorded strength of the historical touch operation comprises:
calculating the average value of the force of the historical touch operation, and multiplying the average value by a preset multiple to obtain a new force range;
and dividing a new force range according to a preset grading number pair based on the new force range to obtain a corresponding relation between the new force range and the sensitivity.
5. The method of claim 1, further comprising:
whether the position of the intelligent door lock is close to the position of the intelligent door lock set by the cloud side is judged through GPS positioning of a mobile terminal connected with the intelligent door lock, or whether a person approaches the intelligent door lock is determined according to wireless signal intensity detection, if yes, the touch keyboard is switched from a dormant state to a standby state, the standby state is that the touch panel is not lightened, and the touch panel detects touch operation according to a preset period.
6. The utility model provides an intelligence lock touch keyboard sensitivity adjusting device which characterized in that, the device includes:
the touch control system comprises an identification unit, a detection unit and a control unit, wherein the identification unit is used for identifying the strength of a first touch operation and judging whether the strength is greater than a preset minimum value or not when the standby state is started, and the standby state is that the touch panel is not lightened but a background program of the touch panel is started to detect the touch operation according to a preset period;
the switching unit is used for switching the touch keyboard from a standby state to a working state if the force is greater than a preset minimum value, determining a second sensitivity according to the force of the first touch operation and the force of the second touch operation if the second touch operation is detected based on a first sensitivity, replacing the first sensitivity with the second sensitivity to perform touch operation identification, wherein the first sensitivity is a sensitivity level corresponding to the historical touch operation force, and the second touch operation is a first key operation of a user after the standby state is switched to the working state;
and the maintaining unit is used for maintaining the standby state if the strength is not greater than a preset minimum value.
7. The apparatus of claim 6,
the switching unit is specifically configured to calculate an average value of the strength of the first touch operation and the strength of the second touch operation; and determining a preset force interval where the average value is located, and acquiring the sensitivity corresponding to the force interval as the second sensitivity according to the corresponding relation between the force interval and the sensitivity.
8. The apparatus of claim 7, further comprising:
the adjusting unit is used for replacing the first sensitivity with the second sensitivity to carry out touch operation identification, and then judging whether historical touch operation within preset time meets preset times; if so, adjusting the corresponding relation between the strength interval and the sensitivity according to the recorded strength of the historical touch operation, and emptying the record of the strength of the historical touch operation; and if not, recording the strength of the second touch operation into the historical touch operation strength.
9. The apparatus of claim 8,
the adjusting unit is specifically configured to calculate an average value of the force of the historical touch operation, and multiply the average value by a preset multiple to obtain a new force range; and dividing a new force range according to a preset grading number pair based on the new force range to obtain a corresponding relation between the new force range and the sensitivity.
10. The apparatus of claim 6, further comprising:
the detection unit is used for judging whether the position of the intelligent door lock is close to the position of the intelligent door lock set by the cloud end or not through GPS positioning of a mobile terminal connected with the intelligent door lock, or determining whether a person approaches the intelligent door lock according to wireless signal intensity detection, if so, switching the touch keyboard from a dormant state to a standby state, wherein the standby state is that the touch panel is not lightened, and the touch panel detects touch operation according to a preset period.
CN201910236140.1A 2019-03-27 2019-03-27 Method and device for adjusting sensitivity of touch keyboard of intelligent door lock Active CN109992157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910236140.1A CN109992157B (en) 2019-03-27 2019-03-27 Method and device for adjusting sensitivity of touch keyboard of intelligent door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910236140.1A CN109992157B (en) 2019-03-27 2019-03-27 Method and device for adjusting sensitivity of touch keyboard of intelligent door lock

Publications (2)

Publication Number Publication Date
CN109992157A CN109992157A (en) 2019-07-09
CN109992157B true CN109992157B (en) 2022-04-29

Family

ID=67131720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910236140.1A Active CN109992157B (en) 2019-03-27 2019-03-27 Method and device for adjusting sensitivity of touch keyboard of intelligent door lock

Country Status (1)

Country Link
CN (1) CN109992157B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110848905A (en) * 2019-11-25 2020-02-28 珠海格力电器股份有限公司 Sensitivity adaptability adjusting method and device and intelligent equipment
CN112330849B (en) * 2020-06-03 2023-07-25 深圳Tcl新技术有限公司 Intelligent power saving method, device, equipment and computer storage medium
CN112256178A (en) * 2020-10-23 2021-01-22 珠海格力电器股份有限公司 Application icon adjusting method, device and system
CN112994678B (en) * 2021-02-09 2024-07-12 珠海格力电器股份有限公司 Key sensitivity control method and device and electrical equipment
CN112860128B (en) * 2021-04-13 2024-02-27 多玛凯拔科技有限公司 Anti-false triggering interference control method and system for intelligent lock

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989147A (en) * 2010-12-09 2011-03-23 华为终端有限公司 Method and device for regulating touch screen parameter
CN105607784A (en) * 2016-03-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Method for adjusting sensitivity of touch screen, adjusting device and terminal
CN105630227A (en) * 2015-09-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Sensitivity adjustment method and system for touch screen
CN105700809A (en) * 2016-02-22 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Touch detection sensitivity adjusting method and system and terminal
CN106293213A (en) * 2016-08-01 2017-01-04 联想(北京)有限公司 A kind of method adjusting pressure sensitive sensitivity and electronic equipment
CN106296911A (en) * 2016-08-05 2017-01-04 深圳博科智能科技有限公司 A kind of intelligent door lock control method, intelligent terminal and intelligent door lock
CN106529231A (en) * 2016-10-18 2017-03-22 深圳市金立通信设备有限公司 User touch operation identification method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180046319A1 (en) * 2016-08-10 2018-02-15 Lenovo (Singapore) Pte. Ltd. Method to adjust thresholds adaptively via analysis of user's typing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989147A (en) * 2010-12-09 2011-03-23 华为终端有限公司 Method and device for regulating touch screen parameter
CN105630227A (en) * 2015-09-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Sensitivity adjustment method and system for touch screen
CN105700809A (en) * 2016-02-22 2016-06-22 宇龙计算机通信科技(深圳)有限公司 Touch detection sensitivity adjusting method and system and terminal
CN105607784A (en) * 2016-03-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Method for adjusting sensitivity of touch screen, adjusting device and terminal
CN106293213A (en) * 2016-08-01 2017-01-04 联想(北京)有限公司 A kind of method adjusting pressure sensitive sensitivity and electronic equipment
CN106296911A (en) * 2016-08-05 2017-01-04 深圳博科智能科技有限公司 A kind of intelligent door lock control method, intelligent terminal and intelligent door lock
CN106529231A (en) * 2016-10-18 2017-03-22 深圳市金立通信设备有限公司 User touch operation identification method and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Implementation of a Touch Screen Panel With Triangle Twist Sensor Pattern and Controller IC;Hyeokjin Lim;《Journal of Display Technology》;20160519;第12卷(第10期);第1218-1223页 *
投射式电容触摸屏的灵敏度探究;谢江容;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20180315;第I136-114页 *

Also Published As

Publication number Publication date
CN109992157A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109992157B (en) Method and device for adjusting sensitivity of touch keyboard of intelligent door lock
CN109313903A (en) Voice user interface
CN106855785A (en) Method, device and the mobile terminal of screen false-touch prevention are realized during a kind of hands grasping
CN102985897B (en) Efficient gesture processes
CN101149804B (en) Self-adaptive hand-written discrimination system and method
CN106886766B (en) A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN105302301B (en) A kind of awakening method of mobile terminal, device and mobile terminal
CN106020418A (en) Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal
CN107916529B (en) Control method of washing machine
CN107291313A (en) Control method, device, storage medium and mobile terminal that a kind of fingerprint wakes up
CN106662970A (en) Method, apparatus and terminal device for setting interrupt threshold for fingerprint identification device
CN106096356A (en) A kind of solution lock control method and mobile terminal
CN110310391A (en) Touch awakening method, device, electronic equipment and storage medium
CN105354019A (en) Terminal control method, terminal control apparatus and terminal
CN109669566B (en) Method and device for controlling report point output
CN106650383A (en) Terminal control method and terminal control device
CN108399042B (en) Touch identification method, device and system
CN113552995A (en) Mobile terminal false touch prevention method and device, computer equipment and storage medium
CN111954868A (en) Multi-voice assistant control method, device, system and computer readable storage medium
WO2016197714A1 (en) Method for automatically identifying operation mode, and terminal
CN109344586B (en) Unlocking method and device, storage medium and mobile terminal
CN106547380A (en) Maloperation recognition methods and device
WO2024093978A1 (en) Touch-control object identification method, touch-control device and storage medium
CN107477970B (en) Refrigerator door opening control method and refrigerator adopting same
CN106020689A (en) Unlocking method, device for touch screen and wearable equipment

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
CP01 Change in the name or title of a patent holder

Address after: 266061 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee after: Qingdao Hisense Smart Life Technology Co.,Ltd.

Address before: 266061 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Patentee before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd.

CP01 Change in the name or title of a patent holder