Movatterモバイル変換


[0]ホーム

URL:


CN110310391A - Touch awakening method, device, electronic equipment and storage medium - Google Patents

Touch awakening method, device, electronic equipment and storage medium
Download PDF

Info

Publication number
CN110310391A
CN110310391ACN201910424063.2ACN201910424063ACN110310391ACN 110310391 ACN110310391 ACN 110310391ACN 201910424063 ACN201910424063 ACN 201910424063ACN 110310391 ACN110310391 ACN 110310391A
Authority
CN
China
Prior art keywords
signal
touch
value
subchannel
door lock
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
CN201910424063.2A
Other languages
Chinese (zh)
Other versions
CN110310391B (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.)
Shenzhen Lumi United Technology Co Ltd
Original Assignee
Shenzhen Lumi United 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 Shenzhen Lumi United Technology Co LtdfiledCriticalShenzhen Lumi United Technology Co Ltd
Priority to CN201910424063.2ApriorityCriticalpatent/CN110310391B/en
Publication of CN110310391ApublicationCriticalpatent/CN110310391A/en
Application grantedgrantedCritical
Publication of CN110310391BpublicationCriticalpatent/CN110310391B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

This application discloses a kind of touch awakening method, device, electronic equipment and storage mediums, this method comprises: acquisition acts on the first touch signal of touch area, obtain the first signal intensity value of the first touch signal;Judge whether the first signal intensity value meets first threshold condition;When the first signal intensity value meets first threshold condition, acquisition acts on multiple second touch signals of touch area, obtains the multiple second signal changing values for corresponding to multiple second touch signals;Judge whether multiple second signal changing values meet second threshold condition;When multiple second signal changing values meet second threshold condition, wake up instruction is generated.The application passes through setting multiple thresholds, and increase sampling number when meeting first threshold condition to collect multiple second signal changing values, and when multiple second signal changing values meet second threshold condition, generate wake up instruction, to improve the judging nicety rate to wake events, the probability of false wake-up is reduced.

Description

Touch awakening method, device, electronic equipment and storage medium
Technical field
This application involves Smart Home technical fields, set more particularly, to a kind of touch awakening method, device, electronicsStandby and storage medium.
Background technique
Welcome of the intelligent door lock due to its convenience, increasingly by market.Door lock is usually battery powered at present, becauseThe requirement of cost and space, battery capacity will not be very big, and for power saving, door lock is generally in sleep state, only in door lock shapeState just wakes up door-locking system after changing, and user is allowed to verify unlocking.And based on different door latch structures, doorIt is also different to lock the mode waken up.Such as flip lid wake-up mode, slip lid wake-up mode and touch wake-up mode etc..Wherein,The mode for touching wake-up generally requires door lock and periodically scans for multiple touch channels, so as to when touch operation occursDoor lock can be waken up in time, but how this reduces the probability of false wake-up for controlling door to the more demanding of door lock power consumptionIt is significant to lock power consumption.
Summary of the invention
It in view of the above problems, can present applicant proposes a kind of touch awakening method, device, electronic equipment and storage mediumTo reduce the probability of false wake-up.
In a first aspect, the embodiment of the present application provides a kind of touch awakening method, this method comprises: acquisition acts on touchFirst touch signal in region obtains the first signal intensity value of the first touch signal;Judge whether the first signal intensity value is fullSufficient first threshold condition;When the first signal intensity value meets first threshold condition, acquisition acts on multiple the of touch areaTwo touch signals obtain the multiple second signal changing values for corresponding to multiple second touch signals;Judge that multiple second signals becomeWhether change value meets second threshold condition;When multiple second signal changing values meet second threshold condition, wake up instruction is generated.
Second aspect, the embodiment of the present application provide a kind of touch Rouser, which includes: the first acquisition module,For acquiring the first touch signal for acting on touch area, the corresponding first signal intensity value of the first touch signal is obtained;TheOne judgment module, for judging whether the first signal intensity value meets first threshold condition;Second acquisition module, for firstWhen signal intensity value meets first threshold condition, acquisition acts on multiple second touch signals of touch area, and acquisition corresponds toMultiple second signal changing values of multiple second touch signals;Second judgment module, for judging multiple second signal changing valuesWhether second threshold condition is met;Directive generation module, for when multiple second signal changing values meet second threshold condition,Generate wake up instruction.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, which includes: processor, memoryAnd the computer program that can be run on a memory and on a processor is stored, it is realized such as when computer program is executed by processorThe step of touch awakening method of above-mentioned first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage mediumComputer program is stored in matter, is realized when computer program is executed by processor such as the touch awakening method of above-mentioned first aspectStep.
Touch awakening method, device, electronic equipment and storage medium provided by the embodiments of the present application are acted on by acquisitionFirst touch signal of touch area obtains the first signal intensity value of the first touch signal, then judges the first signal intensityWhether value meets first threshold condition, and when the first signal intensity value meets first threshold condition, and acquisition acts on Petting AreaMultiple second touch signals in domain obtain the multiple second signal changing values for corresponding to multiple second touch signals, then judgeWhether multiple second signal changing values meet second threshold condition, finally meet second threshold item in multiple second signal changing valuesWhen part, wake up instruction is generated.The application by setting multiple thresholds, and when meeting first threshold condition increase sampling number withMultiple second signal changing values are collected, and when multiple second signal changing values meet second threshold condition, generates and wake upInstruction reduces the probability of false wake-up to improve the judging nicety rate to wake events.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodimentAttached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, forFor those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attachedFigure.
Fig. 1 shows a kind of application environment schematic diagram suitable for the embodiment of the present application;
Fig. 2 shows the flow diagrams for the touch awakening method that the application one embodiment provides;
Fig. 3 shows the flow diagram of the touch awakening method of another embodiment of the application offer;
Fig. 4 shows the flow diagram of the touch awakening method of another embodiment of the application offer;
Fig. 5 shows the flow diagram of the touch awakening method of the application further embodiment offer;
Fig. 6 shows the module frame chart of the touch Rouser of the application one embodiment offer;
Fig. 7 shows the embodiment of the present application for executing the electronic equipment of the apparatus control method according to the embodiment of the present applicationHardware block diagram;
Fig. 8 shows the embodiment of the present application can according to the computer of the apparatus control method of the embodiment of the present application for executingRead the module frame chart of storage medium.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present applicationAttached drawing, the technical scheme in the embodiment of the application is clearly and completely described.It should be appreciated that specific reality described hereinIt applies example to be only used for explaining the application, is not used to limit the application.
It is situated between to be best understood from a kind of touch awakening method, device, electronic equipment and storage provided by the embodiments of the present applicationMatter is below first described the application environment for being suitable for the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is a kind of door lock schematic diagram suitable for the embodiment of the present application.It is provided by the embodiments of the present applicationTouching awakening method can be applied in door lock 10 as shown in Figure 1.Fig. 1 shows the touch panel of door lock 10.Specifically, touchingThe touch area for touching panel includes 13 touch subregions, i.e., 13 touch subchannels.
Wherein, when door lock is in sleep state, door lock is scanned 13 touch subchannels, logical in any touchWhen the signal value that road samples touch signal and touch signal meets preset threshold condition, it is believed that there are wake events,Door-locking system is waken up at this time, so that door lock enters working condition.When door lock is in running order, door lock is according to the letter sampledNumber corresponding touch area obtains corresponding instruction.
Specifically, door lock measures capacitor by the quantity of electric charge accumulated on detection touch area, when external object such as fingerWhen close to a touch subregion, the capacitor of the corresponding electrode of touch subregion can be caused to increase, so that door lock can basisCollected capacitance variations, and determine at least one of touch event and touch location, thus sleep state is in door lockWhen, door lock can have touch event to occur to waking up door lock, or when door lock is in running order by determining, door lock can be withThe password of user's input is obtained by successively determining each touch location.For example, working as door lock when door lock is in running orderSuccessively collect corresponding to key " 2 ", key " 3 ", key " 3 ", key " 0 " electrode capacitor increase when, door lock can obtainThe password for taking family input is 2330.
In one embodiment, respectively touching the corresponding electrode of subregion has corresponding signal criterion value and firing levelValue, door lock pass through judge the difference of collected signal value and signal criterion value whether be more than activation threshold value to determine whether have byKey pressing event occurs.Specifically, the capacitor of the electrode at this time can be sampled when electrode of the door lock scanning to a corresponding keyValue is worked as when the difference of the corresponding capacitance of the key sampled and signal criterion value is more than pre-set activation threshold valueWhen the corresponding capacitance variations value of the key sampled is more than pre-set activation threshold value, door lock thinks there is key press event,Then when the difference for detecting next capacitance and signal criterion value is less than activation threshold value, i.e., next capacitance variations ought be detectedWhen value is less than activation threshold value, door lock thinks that key is released.For example, sampling obtains when the electrode of door lock scanning to key " 1 "The capacitance S of key " 1 " at this time1, judge capacitance S1With signal criterion value R1Difference whether be more than that key " 1 " is corresponding pressKey activation threshold value Rh1, as (S1-R1)>Rh1When, door lock thinks that key " 1 " is pressed, then as (S1-R1)<Rh1When, door lock is recognizedIt is released for key " 1 ".
It should be noted that key press event may include that physical button is pressed and generates in the embodiment of the present applicationThe event of the displacement of specific degrees also may include the event that key is touched but is not subjected to displacement, can also include external rightEvent as not touching close to key but key.It is understood that when door lock can sample the corresponding capacitance of key,And when the corresponding capacitance variations value of the key is more than corresponding key activation threshold value, door lock thinks there is key press event.
In some embodiments, 13 touch subchannels may include 12 key channels and 1 close to channel.ItsIn, 12 key channels can correspond to key " < ", key " √ " and digital keys 0-9.Specifically, being in sleep in door lockWhen state, touches any key and door lock is made to collect corresponding capacitance, and work as the capacitor in the corresponding key channel of the keyWhen changing value is more than corresponding key activation threshold value, triggering wakes up door-locking system, so that door lock enters working condition.At door lockIt when working condition, touches corresponding key and can trigger door lock and obtain the corresponding instruction of the key, such as touch digital keys" 9 " can make door lock obtain digital " 9 ", and touching digital keys " √ " for another example can make door lock obtain password currently enteredAnd verifying unlocking is carried out according to the password of acquisition.As a kind of mode, key " < " can also correspond to deletion instruction, so that userPassword currently entered can be deleted and be modified.
Wherein, it can correspond to close to channel close to wake-up region.Specifically, when door lock is under sleep state, in outsideWhen object such as finger is close to this close to channel, door lock can sample the corresponding capacitance close to channel, and when close to channelWhen capacitance variations value is more than corresponding activation threshold value, triggering wakes up door-locking system, so that door lock enters working condition;In some realitiesIt applies in mode, NFC (Near Field Communication, near-field communication) module can be correspondingly arranged on close to channel, madeWhen proper door lock is in running order, door lock carries out verifying unlocking by that can read close signal close to channel, such as willThe mobile phone for having NFC module can carry out verifying unlocking close to channel close on door lock.In some embodiments, close to logicalRoad can refer to the region other than 12 key channels.
It is understood that use above environment only understands the exemplary description that following embodiments are made for convenience, notTo the embodiment of the present application, actually enforceable application environment constitutes any restriction.
Currently, door lock, which mainly passes through each subchannel that touches of detection, corresponds to the variation of capacitance to determine whether waking up door lock systemSystem, still, door lock may be subjected to the influence of many factors, such as the change of environment temperature to the accuracy of judgement degree of wake eventsChange, the outside noise detection that will affect to capacitance such as excessive, door lock is caused to be difficult to judge whether there is correct wake events hairIt is raw, it is easy false triggering and wakes up or be difficult to trigger wake-up, influence user experience.
Based on the above issues, inventor has found after having carried out a series of researchs to existing touch awakening method, at presentMethod without reducing false wake-up probability well, and excessive false wake-up will affect the power consumption and user experience of door lock itself,The ever more important so probability for how reducing false wake-up seems.In the course of the study, inventor has studied to touch at present and call outAwake difficulty even more comprehensively considers the demand of several scenes, propose the touch awakening method of the embodiment of the present application, device,Electronic equipment and storage medium.
Below will by specific embodiment to touch awakening method provided by the embodiments of the present application, device, electronic equipment andStorage medium is described in detail.
Referring to Fig. 2, the application one embodiment provides a kind of touch awakening method, above-mentioned door lock can be applied to.UnderFace will be explained in detail for process shown in Fig. 2, and above-mentioned touch awakening method specifically may comprise steps of:
Step S210: acquisition acts on the first touch signal of touch area, obtains the first signal of the first touch signalChanging value.
In the present embodiment, touch area includes at least a touch subchannel, and when door lock is in sleep state, scanning is touchedSubchannel is respectively touched on region, and when collecting the first touch signal, determine the corresponding touch subchannel of the first touch signal,Using the difference between the capacitance of collected first touch signal and the signal criterion value of the touch subchannel as the first letterNumber changing value, to obtain the first signal intensity value of the first touch signal.Wherein, the influence of noise as present in environment,Each capacitance for touching subchannel in the case where no touch event occurs also is not zero, and occurs in order to avoid no touch eventIn the case of the noise that there is triggering waken up impact, door lock is provided with signal criterion value according to each touch subchannel,So that door lock filters out the noise that door lock there is in the case where no touch event occurs when detection triggering wakes up.
It should be noted that the signal criterion value for respectively touching subchannel can be systemic presupposition, it is also possible to user certainlyDefinition, it can also be and adaptively adjusted according to environmental change, and the signal criterion value for respectively touching subchannel can be identical,It can also be different, the present embodiment is not limited in any way this.Further, by adjusting each signal criterion for touching subchannelValue, adjustable each detection accuracy for touching subchannel, allows and respectively touches interference tune of the subchannel based on ambient noiseEntire signal a reference value is to promote the accuracy of respective signal detection, to improve door lock for the adaptability and door lock pair of environmentThe accuracy of signal detection.
In a kind of specific embodiment, for example, when door lock is in sleep state, user's touch key-press " 1 ", so thatDoor lock collects the signal value S of the touch signal corresponding to key " 1 "1, and by collected signal value S1It is corresponding with key " 1 "Signal criterion value R1Between signal intensity value (S of the difference as the touch signal1-R1), so that door lock obtains basisCollected signal value obtains corresponding signal intensity value.
Step S220: judge whether the first signal intensity value meets first threshold condition.
In the present embodiment, when the first signal intensity value is greater than the first signal threshold value, it is believed that the first signal intensity value is fullSufficient first threshold condition, when the first signal intensity value is not greater than the first signal threshold value, it is believed that the first signal intensity value is notMeet first threshold condition.Wherein, the first signal threshold value can be systemic presupposition, and it is customized to be also possible to user.When firstWhen signal intensity value meets first threshold condition, door lock can determine that the corresponding touch subchannel of the first touch signal has triggeringA possibility that wake-up.
It should be noted that the signal threshold value for respectively touching subchannel is systemic presupposition, it is customized to be also possible to user,It can also be according to environment self-adaption adjustment, and the signal threshold value for respectively touching subchannel may be the same or different, thisEmbodiment is not limited in any way this.
It is understood that the sensitivity for touching wake-up is lower when signal threshold value is configured higher, such as user utilizesWhen finger close to channel by being waken up, finger need lean on it is closer could trigger, cause the wake-up that should be triggered but to failTriggering, influences user experience;And signal threshold value, when being configured lower, the sensitivity for touching wake-up is higher, touches subchannel at this timeIt is lower for the stability of external interference such as environmental change, it is easy false wake-up, influences to also increase door lock while user experiencePower consumption.For this purpose, the present embodiment passes through setting first threshold condition, and the first signal threshold value in first threshold condition is configuredIt is lower, door lock is reduced to correct touch event without response, the coverage rate of door lock response touch event is improved, fromAnd user experience is promoted, reduce user's uncaging time.
In a kind of specific embodiment, each the first signal threshold value for touching subchannel can be set to the 2 of noiseTimes, i.e., the first signal threshold value is configured lower, so that door lock is easier to trigger, reduced to wake events without the general of responseRate, improves the coverage rate of door lock response touch event, to promote user experience, reduces user's uncaging time.As a kind of sideFormula, respectively the first signal threshold value of touch subchannel can be identical, and the signal criterion value for respectively touching subchannel can beIt is different, allow it is each touch subchannel signal intensity value obtained according to respective signal criterion value, and then with the first signalThreshold value is compared, in the case where the first signal threshold value is constant, so that standard of the door lock to each signal detection for touching subchannelExactness can be adjusted based on the difference of signal criterion value, to be conducive to improve the stability and accuracy to signal detectionWith the adaptability to environment.
In some embodiments, the signal threshold value for respectively touching subchannel is different, so that door lock can be adjusted targetedlyWhole each wakeup sensitivity for touching subchannel.Specifically, the wakeup sensitivity of part key may have when in door lock use processReduced, and the wakeup sensitivity of other keys be still properly without adjustment in the case where, at this point, user can pass through terminalThe signal threshold value of corresponding key is adjusted, so that the wakeup sensitivity of corresponding key is improved, so as to which door lock is adjusted flexiblyWakeup sensitivity, improve the availability of door-locking system.
In some possible embodiments, when the first signal intensity value is unsatisfactory for first threshold condition, can continueTouch area is scanned, step S210 is executed, door lock is waited and wakes up detection next time.
Step S230: when the first signal intensity value meets first threshold condition, acquisition acts on the multiple of touch areaSecond touch signal obtains the multiple second signal changing values for corresponding to multiple second touch signals.
In the present embodiment, when the first signal intensity value meets first threshold condition, acquisition acts on the more of touch areaA second touch signal obtains the multiple second signal changing values for corresponding to multiple second touch signals, so that door lock determination is worked asWhen preceding a possibility that being waken up in the presence of triggering, continues to acquire multiple second touch signals and obtains corresponding second signal changing value,To carry out next step judgement, to improve the detection accuracy to wake events.
The first touch signal pair is only scanned when the first signal intensity value meets first threshold condition as a kind of modeThe touch subchannel answered, acquisition act on multiple second touch signals of the touch subchannel, so that door lock is according to the first touchingAfter touching the determining touch subchannel with triggering of signal, the sample frequency of the touch subchannel is improved, to improveTo the detection efficiency of wake events, and then improve the wake-up efficiency of door lock.
Further, in some embodiments, when the first signal intensity value meets first threshold condition, is only scannedThe corresponding touch subchannel of one touch signal, door lock can also further increase the sample frequency to the touch subchannel at this time,To which more second touch signals can be acquired in the shorter time, the detection efficiency for touching and waking up is further increased, is improvedResponse speed.
Alternatively, it when the first signal intensity value meets first threshold condition, continues to scan in touch areaAll touch signals for touching subchannel, and acquire and act on each touch signal for touching subchannel, so that door lock is collectingAfter first touch signal, other touch signals for touching subchannel can also be obtained, to touch in door lock collected firstWhen signal touch subchannel corresponding with the second touch signal is inconsistent, door lock can also obtain other touches for touching subchannelSignal continues the judgement of wake events, improves system availability.
Specifically, for example, finger is from the corresponding touch of key " 5 " as shown in Figure 1, user is during waking up door lockSubchannel is mobile toward the corresponding touch subchannel direction of key " 1 ", and is parked on the corresponding touch subchannel of key " 1 ", at this timeIf door lock collects the first touch signal, and first by the corresponding touch subchannel of key " 5 " in finger moving processWhen the signal intensity value of touch signal meets first threshold condition, door lock acquires the second touch signal, and finger has moved at this timeTo key " 1 ", then the second touch signal needs are collected by the corresponding touch subchannel of key " 1 ", key " 5 " is correspondingThe second touch signal can not be collected by touching subchannel.Thus by when the first signal intensity value meets first threshold condition,All touch signals for touching subchannels in touch area are continued to scan on, it can be in collected first touch signal of door lock and theWhen the corresponding touch subchannel of two touch signals is inconsistent, door lock, which can also obtain the touch signal that other touch subchannel, to be continuedThe judgement of wake events is carried out, system availability is improved.
Further, in some embodiments, door lock is when the first signal intensity value meets first threshold condition, can be withThe touch signal of touch area is acted on higher frequency scanning, to determine in door lock by collecting the first touch signalWhen a possibility that waking up in the presence of triggering, the detection efficiency to wake events is improved, and then improve the wake-up efficiency of door lock.
Step S240: judge whether multiple second signal changing values meet second threshold condition.
In the present embodiment, second threshold condition includes second signal threshold value, wherein second signal threshold value is not less than the first letterNumber threshold value.
In a kind of specific embodiment, second signal threshold value can be set to the 80% of normal key capacitance variations valueAbove numerical value so as to filter more noises, and makes wakeup sensitivity moderate, both reduced to wake events withoutThe probability of response, and improve the Detection accuracy to wake events.Wherein, it is pre- to can be system for normal key capacitance variations valueIf numerical value, be also possible to detect capacitance variations value when touch event in the operating condition according to door lock.Specifically, conductA kind of mode, normal key capacitance variations value are the collected electricity of institute in user's touch key-press under door lock is in running orderHold changing value.For example, as shown in Figure 1, when door lock is in running order, user's touch key-press " 1 ", the corresponding touching of key " 1 "Touching the collected capacitance variations value of subchannel institute is normal key capacitance variations value.
In some embodiments, second threshold condition can also include preset ratio quantity, i.e., when multiple second signalsWhen being greater than second signal threshold value in the presence of the second signal changing value more than preset ratio quantity in changing value, door lock can consider moreA second signal changing value meets second threshold condition, is otherwise unsatisfactory for.Specifically, such as preset ratio is 80%, door lock existsWhen first signal intensity value meets first threshold condition, sampled 20 times and got 20 second signal changing values, when this 20When there is more than 80% second signal changing value in a second signal changing value and being greater than second signal threshold value, i.e., when in the presence of being more thanWhen 16 second signal changing values are greater than second signal threshold value, door lock can consider that multiple second signal changing values meet the second thresholdValue condition, is otherwise unsatisfactory for.To prevent noise jamming, the Detection accuracy of wake events is improved.
In other embodiments, second threshold condition may include preset quantity, i.e., when in multiple second changing valuesWhen being greater than second signal threshold value in the presence of the second signal changing value for being more than preset quantity, door lock can consider that multiple second signals becomeChange value meets second threshold condition, is otherwise unsatisfactory for.Specifically, preset quantity is 18, door lock is full in the first signal intensity valueWhen sufficient first threshold condition, 20 second signal changing values are sampled 20 times and have got, when this 20 second signal changing valuesWhen middle more than 18 second signal changing values of presence are greater than second signal threshold value, door lock can consider multiple second signal changing valuesMeet second threshold condition, is otherwise unsatisfactory for.
In a specific embodiment, for example, the first signal threshold value is Rh1, second signal threshold value is Rh2, whereinRh1<Rh2, preset ratio 80%, when the first letter that door lock collects the first touch signal corresponding to key " 1 " and obtainsNumber changing value (S1-R1) > Rh1When, door lock thinks that the first signal intensity value meets first threshold condition, right to key " 1 " at this timeThe touch subchannel answered is sampled, and is sampled 20 times, that is, is acquired 20 the second touch signals and obtained corresponding 20 second lettersNumber changing value S2, as i.e. more than the 16 second signal changing value (S more than 80%2-R1)>Rh2When, door lock thinks multiple secondSignal intensity value meets second threshold condition, is otherwise unsatisfactory for.
It in some possible embodiments, can be with when multiple second signal changing values are unsatisfactory for second threshold conditionTouch area is continued to scan on, step S210 is executed, so that door lock, which waits, wakes up detection next time.
Step S250: when multiple second signal changing values meet second threshold condition, wake up instruction is generated.
In the present embodiment, when multiple second signal changing values meet second threshold condition, wake up instruction is generated, to call outAwake door-locking system waits the information of user's input to be obtained to carry out verifying unlocking so that door lock enters working condition.Wherein, userThe information of input may include the information such as fingerprint, password, face, and door lock is allowed to pass through fingerprint matching, password match, faceThe modes such as matching are unlocked.
Touch awakening method provided in this embodiment, by the way that multiple thresholds are arranged, and in collected first touch signalSignal intensity value when meeting first threshold condition, the touch subchannel for collecting first touch signal is repeatedly adoptedSample collects multiple second signal changing values, and when multiple second signal changing values meet second threshold condition, just wakes upDoor-locking system improves the Detection accuracy to wake events, reduces the probability of false wake-up so as to prevent noise jamming.AndAnd by the way that the first signal threshold value is configured lower, in the coverage rate for improving door lock response touch event, by second signal threshold valueIt is configured higher, more noises can also be filtered, and make wakeup sensitivity moderate, both reduced to wake events without soundThe probability answered, the user experience is improved, and improves the Detection accuracy to wake events, substantially reduces the probability of false wake-up,Advantageously reduce door lock power consumption.
Referring to Fig. 3, the application can be applied to above-mentioned door lock another embodiment provides for a kind of touch awakening method.It will be explained in detail below for process shown in Fig. 3, above-mentioned touch awakening method specifically may include following stepIt is rapid:
Step S310: being based on the first sample frequency, according to multiple touches on preset scan orders scanning touch areaChannel.
In the present embodiment, touch area includes multiple touch subchannels, and door lock is within the single pass period at least to eachTouch subchannel run-down.It is understood that door lock is completed once to sweep to spent by all scannings for touching subchannelIt is longer to retouch the period, is more difficult to collect maximum signal intensity value, the probability that door lock loses wake events is higher.
Wherein, the first sample frequency be door lock within each scan period to the scanning times of touch area, such as can be withEvery 15ms is set and scans a touchs subchannel, touch area includes 13 touch subchannels (including 12 key channels and 1Close to channel) when, all touch subchannel at least time-consuming 15ms × 13=195ms are scanned, i.e. the every 195ms of door lock is a scanningPeriod.
Wherein, preset scan orders can be systemic presupposition, and it is customized to be also possible to user.Specifically, as oneKind mode, door lock can be accustomed to setting scanning sequency according to user;Alternatively, door lock can be according to touch areaMultiple scanning sequencies touched between subchannel are arranged in each area for touching subchannel or relative position.
As a kind of mode, the number that door lock can be waken up according to each touch subchannel of touch area is arranged moreScanning sequency between a touch subchannel, to improve the touch subchannel for detecting most wake events in a scan periodInterior scanned number increases wakeup sensitivity, improves the response speed that door lock response wakes up.For example, based on as shown in Figure 1Door lock, every 15ms scans a touchs subchannel, and 3 key channels of every scanning can be set in door lock, is scanned for 1 time and approaches to lead toRoad, when so that door lock scanning through other 12 key channels, to close to Channel scan 4 times, door lock scans all touches at this timeSubchannel time-consuming 15ms × 16=240ms.
Alternatively, door lock can area according to each touch subchannel of touch area or relative position,Scanning sequency between multiple touch subchannels is set.Specifically, door lock can increase it is bigger to area within a scan periodTouch subchannel scanning times, to improve to the touch subchannel for having more maximum probability that can be detected wake eventsScan frequency is conducive to faster judge wake events, increases wakeup sensitivity.Door lock can also be according to each touch subchannelIt is logical successively to scan adjacent touch while increasing the scanning times of the touch subchannel bigger to area in relative positionRoad, for example, from left to right successively scan 3 touch subchannels after, run-down possesses the touch subchannel of larger area, thusFurther improve the detection efficiency to wake events.
In a specific application scenarios, for example, touch area includes 13 touches based on door lock as shown in Figure 1Subchannel, respectively 12 key channels and 1 are greater than the face in 1 key channel close to channel, 1 area close to channelProduct, in some embodiments, 1 area close to channel are greater than ten times of the area in 1 key channel, therefore examine close to channelThe probability for measuring signal intensity is greater than key channel.It is often to sweep that 13 each scanning sequencies touched between subchannel can be set at this timeIt retouches 3 key channels to be scanned for once close to channel, when so that door lock scanning through 12 key channels, to close to Channel scan4 times, i.e., in door lock in all touch scan periods being scanned of subchannels, door lock to close to Channel scan 4 times,More than every the scanned number in key channel, if door lock scans each touch subchannel time-consuming 15ms at this time, door lock is scannedAll touch subchannel time-consuming 15ms × 16=240ms.Specifically, door lock first successively scans key within a scan period" 1 ", key " 2 " and key " 3 " then scan the 1st time close to channel, then successively scan key " 4 ", key " 5 " and pressKey " 6 " then scans the 2nd time close to channel, then successively scans key " 7 ", key " 8 " and key " 9 ", then scans the 3rdIt is secondary then successively to scan key " < ", key " 0 " and key " √ " close to channel, the 4th is finally scanned close to channel.To logicalArea and the relative position of each touch subchannel according to touch area are crossed, multiple scanning sequencies for touching subchannel are set,Increase door lock scanning times close to channel bigger to area within each scan period, it is sensitive can effectively to increase wake-upDegree promotes user experience, can also further reduce user so that door lock is easier, detects wake events more quicklyUncaging time.
Step S320: acquisition acts on the first touch signal of current touch subchannel, obtains the of the first touch signalOne signal intensity value.
Wherein, current touch subchannel is that touch of Current Scan to the first touch signal in door lock scanning process is logicalRoad, door lock acquire the first touch signal for acting on current touch subchannel, obtain the first signal intensity of the first touch signalValue.Wherein, the first signal intensity value is the signal value of collected first touch signal of door lock and the letter of current touch subchannelDifference between number a reference value, for example, door lock scanning is led to corresponding touchs of key " 1 " when door lock is in sleep stateWhen road, the signal value S corresponding to the corresponding touch signal for touching subchannel of current touch subchannel i.e. key " 1 " is collected1,And by collected signal value S1Signal criterion value R corresponding with current touch subchannel1Between difference as the touch signalSignal intensity value (S1-R1)。
Step S330: judge whether the first signal intensity value is greater than the first signal threshold value.
In the present embodiment, each subchannel that touches has a corresponding signal threshold value, and threshold value can be identical, is also possible to difference's.When the corresponding first signal intensity value of collected first touch signal of door lock is greater than the first signal threshold value, door lock can be withThink that current touch subchannel has a possibility that triggering wakes up.
Wherein, the specific descriptions of step S330 can refer to step S220, and details are not described herein for the present embodiment.
In the present embodiment, judge whether the first signal intensity value is greater than after the first signal threshold value, may include:
When the first signal intensity value is greater than the first signal threshold value, step S340 can be executed;
When the first signal intensity value is not more than the first signal threshold value, step S310 can be executed.
Step S340: using current touch subchannel as target subchannel, it is based on the second sample frequency, acquisition acts on meshMultiple second touch signals of subchannel are marked, the multiple second signal changing values for corresponding to multiple second touch signals are obtained.
In the present embodiment, when the corresponding first signal intensity value of collected first touch signal of door lock is greater than the first signalWhen threshold value, door lock can consider that current touch subchannel has a possibility that triggering wakes up, to further determine that current touchChannel whether there is wake events, using current touch subchannel as target subchannel.
As a kind of mode, door lock only samples target subchannel, acquisition acts on after determining target subchannelMultiple second touch signals of target subchannel obtain the multiple second signal changing values for corresponding to multiple second touch signals.Door lock is allowed only to make further detection to the touch subchannel with triggering wake-up, so as to faster determineTarget subchannel whether there is correct wake events, improve the efficiency for waking up detection.Wherein, when multiple second touch signals meetSecond threshold condition, when wake up instruction can be generated, there are correct wake events for door lock.
In one embodiment, the second sample frequency can be set higher than the first sample frequency, to improve to meshThe sample frequency for marking subchannel, allow door lock shorter time sampling more times, improve inspection of the door lock to wake eventsEfficiency is surveyed, wake-up efficiency is further increased.
In a specific application scenarios, for example, door lock as shown in Figure 1 is based on the first sample frequency, every 15ms is sweptA touch subchannel is retouched, 3 key channels of every scanning are scanned for 1 time close to channel, when scanning through 12 key channels, dockNearly Channel scan 4 times, therefore scan all touch subchannel time-consuming 15ms × 16=240ms.Door lock scanning is corresponding to key " 1 "Touch subchannel when, collect the first touch signal in the corresponding touch subchannel of key " 1 ", and obtain it is corresponding first letterNumber changing value, when the first signal intensity value is greater than the first signal threshold value, door lock thinks that the corresponding touch subchannel of key " 1 " is depositedA possibility that waking up is being triggered, is determining it as target subchannel, and adopt to target subchannel based on the second sample frequencySample continuous sampling 20 times, samples door lock 20 times to target subchannel in every 20ms specifically, every 1ms is sampled 1 time,The sample frequency to target subchannel is improved, the detection efficiency to wake events is improved, further increases wake-up efficiency.
Further, if there are correct wake events for target subchannel, i.e., this wakes up detection and is unable to satisfy second thresholdWhen condition, door lock can shorten the time for waking up and detecting by improving sampling, improve wake-up efficiency;If target subchannel is currentDetection is false wake event, i.e., when this wake-up detection is unable to satisfy second threshold condition, door lock can faster terminate thisSecondary wake-up detection, continues the first new touch signal of acquisition, waits and wake up detection next time, avoid due to false wake eventDetection time too long door lock is caused to lose detection to correct wake events.To by improving the sampling to target subchannelFrequency substantially increases door lock to the detection efficiency of wake events, and reduces the losing probability to correct wake events, into oneStep, which improves, wakes up efficiency, promotes user experience.
Step S350: judge to become in multiple second signal changing values with the presence or absence of the second signal more than preset ratio quantityChange value is greater than second signal threshold value.
Wherein, preset ratio can be systemic presupposition, be also possible to that user is customized, and the present embodiment does not limit thisIt is fixed.It is understood that preset ratio is excessively high will to increase user's wake-up difficulty, user needs to stop on a touch subchannelTime enough allows door lock to collect sufficient amount of second signal changing value greater than second signal threshold value;And it presetsRatio is too low will to reduce user's wake-up difficulty, detect although door lock can faster be completed to wake up and wake up system, too lowPreset ratio will also improve the probability of false wake-up.Therefore preset ratio need to combine and wake up difficulty and false wake-up probability, oneIn kind specific embodiment, preset ratio can be set to 80%, to reach on the basis of keeping lower false wake-up probability,It reduces and wakes up difficulty, reduce the losing probability to correct wake events, improve user experience.
In the present embodiment, second signal threshold value is greater than the first signal threshold value, in a kind of specific embodiment, the first letterNumber threshold value is configured lower, can be set to 2 times of noise, so that the lower signal of signal value, which can also trigger door lock, to be corresponded toTouch subchannel be determined as target subchannel, to carry out next step judgement, improve the coverage rate of door lock response touch event, dropLow door lock loses the probability of wake events;Second signal threshold value is configured higher, can be set to normal key capacitance variations value80% or more, allow door lock to carry out more careful judgement to target subchannel, so that the present embodiment is dual by being arrangedThreshold value, and the first weight threshold value is configured lower, the second weight threshold value is configured higher, improves detection spirit of the door lock to touch eventWhile sensitivity, door lock is improved to the determination requirement of wake events, so that door lock is reducing the base for losing the probability of wake eventsOn plinth, the probability of false wake-up can also be reduced.
In the present embodiment, door lock is collecting the second touch signal, and after obtaining corresponding second signal changing value, judgementWhether second signal changing value is greater than second signal threshold value, and judges that second signal changing value is greater than the number of second signal threshold valueWhether the ratio of the total sampling number of Zhan is more than preset ratio.Specifically, door lock is based on second and adopts for example, preset ratio is 80%Sample frequency samples target subchannel 20 times, by the second signal changing value sampled every time and second signal threshold value comparison, andAccumulative second signal changing value is more than the number of second signal threshold value, if the number is more than the 80% of total sampling number, wherein alwaysSampling number is 20 times, and when the number is more than 20 × 80%=16 times, door lock thinks exist in multiple second signal changing valuesThe second signal changing value of preset ratio quantity is greater than second signal threshold value.To by being more than the multiple of preset ratio quantitySecond signal changing value just generates wake up instruction when being greater than second signal threshold value, can prevent noise jamming, improves wake eventsDetection accuracy.
In the present embodiment, judge in multiple second signal changing values with the presence or absence of the second letter more than preset ratio quantityNumber changing value is greater than after second signal threshold value, may include:
It is greater than the second letter when there is the second signal changing value more than preset ratio quantity in multiple second signal changing valuesWhen number threshold value, step S360 can be executed;
When there is no the second signal changing values more than preset ratio quantity to be greater than second in multiple second signal changing valuesWhen signal threshold value, step S310 can be executed, so that door lock continues to be scanned all touch subchannels, and is waited next timeWake up detection.
Step S360: when multiple second signal changing values meet second threshold condition, wake up instruction is generated.
In the present embodiment, when in multiple second signal changing values exist more than preset ratio quantity second signal changing valueWhen greater than second signal threshold value, multiple second signal changing values meet second threshold condition, generate wake up instruction at this time, wake up doorLock system, so that the in running order information that can receive user's input of door lock carries out verifying unlocking.
Wherein, the specific descriptions of step S360 can refer to step S250, and details are not described herein for the present embodiment.
Further, in some embodiments, the present embodiment can also be arranged three signal threshold values, respectively numerical value according toFirst weight signal threshold value of secondary increase, the second weight signal threshold value and third weight signal threshold value, when the signal intensity that sampling obtainsWhen value is more than third weight signal threshold value, just think there are wake events.It is understood that method step based on the above embodimentSuddenly, more than two signal threshold values can also be arranged in the present embodiment, further increase the Detection accuracy to wake events, reduceThe probability of false wake-up.Since two signals are arranged in the logical AND previous embodiment for the method that more than two signal threshold values are arrangedThe logic of the method for threshold value is roughly the same, and details are not described herein.
Further, it after the signal intensity value that will be sampled is compared with signal threshold value, is carried out based on higher sample frequencySampling, and the signal intensity value sampled based on higher sample frequency is made comparisons with next signal threshold value.To mentionHigh door lock on the basis of the probability for reducing false wake-up, further increases to wake events the Detection accuracy of wake eventsDetection efficiency reduces the response time, promotes user experience.
It should be noted that the part being not described in detail in the present embodiment, can refer to previous embodiment, it is no longer superfluous hereinIt states.
Touch awakening method provided by the embodiments of the present application, by be arranged multiple thresholds, and by first weight threshold value setting compared withLow, the second weight threshold value setting is higher, while improving detection sensitivity of the door lock to touch event, improves door lock to wake eventsDetermination requirement so that door lock reduce lose wake events probability on the basis of, the probability of false wake-up can also be reduced;It is logicalIt crosses when door lock is in sleep state, touch area is scanned based on lower first sample frequency, and determining targetAfter subchannel, target subchannel is scanned based on higher second sample frequency, improves inspection of the door lock to wake eventsEfficiency is surveyed, the losing probability to correct wake events is reduced, promotes user experience, and by being more than preset ratio quantityMultiple second signal changing values just generate wake up instruction when being greater than second signal threshold value, can prevent noise jamming, improve and wake upThe Detection accuracy of event;Further, by area according to each touch subchannel of touch area and relative position, ifMultiple scanning sequencies for touching subchannel are set, door lock scanning close to channel bigger to area within each scan period is increasedNumber can effectively increase wakeup sensitivity, so that door lock is easier, detects wake events more quickly, promote userExperience, can also further reduce the uncaging time of user.
Referring to Fig. 4, another embodiment of the application provides a kind of touch awakening method, above-mentioned door lock can be applied to.It will be explained in detail below for process shown in Fig. 4, it is provided in this embodiment to touch awakening method stream shown in Fig. 3On the basis of journey, can with the following steps are included:
Step S410: based on the default update cycle, it is corresponding in multiple scan periods to obtain current touch subchannelMultiple signal values.
In the present embodiment, due to environmental change, such as the variation of temperature, humidity, the touch signal that door lock detects is correspondingCapacitance can change, such as under the high environment of temperature, door lock is for capacitance detected by same touch operationIt is different with capacitance detected under the low environment of temperature.Therefore the present embodiment is by each default update cycle, it is rightThe signal criterion value for touching subchannel is updated adjustment, and each signal criterion value for touching subchannel can be made to be adapted to ringBorder variation, so that respectively touching subchannel copes with varying environment, adjustable signal criterion value guarantees the wake-up inspection under varying environmentThe accuracy rate of survey improves the overall usability of the stability and door-locking system that wake up detection.
Wherein, the default update cycle can be systemic presupposition, and it is customized to be also possible to user.It is understood thatThe default update cycle is too long, and the sensitivity for adapting to environment will be too low, presets that the update cycle is too short, adapt to environment sensitivity incited somebody to actionHeight will cause biggish power consumption to door lock.Therefore to take into account door lock power consumption and adapting to the sensitivity of environment, in a kind of specific realityIt applies in mode, based on door lock as shown in Figure 1,3 key channels of every scanning are scanned for once scanning 12 keys close to channelTo close to Channel scan 4 times when channel, the every 15ms of door lock scans a touch subchannel, and door lock is complete to all touch subchannelsAt single pass time-consuming 14ms × 16=240ms, 240ms × 16=3.84s can be set by the default update cycle at this time, i.e.,16 scan periods are set as, that is, after door lock completes 16 times to all scannings for touching subchannel, obtain each touchChannel collected signal value in 16 scan periods.
Step S420: according to corresponding multiple signal values of multiple scan periods, it is corresponding to update current touch subchannelSignal criterion value.
Multiple signal values can be taken according to corresponding multiple signal values of multiple scan periods as a kind of modeAverage value updates the corresponding signal criterion value of current touch subchannel, as the new signal criterion value of current touch subchannel,For the signal value that door lock is acquired according to current touch subchannel, corresponding signal intensity value is obtained.To by periodicallyAccording to collected signal value of multiple scan periods, update each signal criterion value for touching subchannel, allow door lock according toCurrent environment, adjustment signal a reference value guarantee the accuracy rate of the wake-up detection under varying environment, improve the stability for waking up detectionAnd the overall usability of door-locking system.
Alternatively, according to current touch subchannel in corresponding multiple signal values of multiple scan periods,The maximum value that multiple signal values can be taken, using maximum value as the new signal criterion value of current touch subchannel, furtherGround prevents the interference of ambient noise, improves the accuracy rate for waking up detection.To by periodically being adopted according to multiple scan periodsThe signal value collected updates each signal criterion value for touching subchannel, allows door lock according to current environment, adjustment signal baseQuasi- value guarantees the accuracy rate of the wake-up detection under varying environment, improves the entirety of the stability and door-locking system that wake up detectionAvailability.
In the present embodiment, after step S330, when the first signal intensity value is not more than the first signal threshold value, it can holdRow step S410 to step S420.
In the present embodiment, after step S350, with the presence or absence of more than default in judging multiple second signal changing valuesWhen the second signal changing value of ratio quantity is greater than second signal threshold value, step S410 can be executed to step S420.
It is understood that step S410 to step S420 is only performed once in each default update cycle.
It should be noted that the part being not described in detail in the present embodiment, can refer to previous embodiment, it is no longer superfluous hereinIt states.
Touch awakening method provided in this embodiment, on the basis of previous embodiment, by each default update weekPhase is updated adjustment to the signal criterion value for touching subchannel, it is also possible that each signal criterion value for touching subchannel canTo adapt to environmental change, so that respectively touching subchannel copes with varying environment, adjustable signal criterion value guarantees under varying environmentWake-up detection accuracy rate, improve wake up detection stability and door-locking system overall usability.
Referring to Fig. 5, the application further embodiment provides a kind of touch awakening method, above-mentioned door lock can be applied to.It will be explained in detail below for process shown in fig. 5, it is provided in this embodiment to touch awakening method stream shown in Fig. 3On the basis of journey, can with the following steps are included:
Step S510: based on the default update cycle, it is corresponding in multiple scan periods to obtain current touch subchannelMultiple signal values.
Wherein, the specific descriptions of step S510 can refer to step S410, and details are not described herein for the present embodiment.
Step S520: according to maximum value in corresponding multiple signal values of multiple scan periods and corresponding originalSignal criterion value obtains the benchmark changing value of current touch subchannel.
In the present embodiment, original signal a reference value is the signal criterion value before this update of current touch subchannel, according toMaximum of the current touch subchannel in corresponding multiple signal values of multiple scan periods, available multiple signal valuesValue, and according to maximum value and original signal a reference value, obtain the benchmark changing value of current touch subchannel.Wherein, benchmark changesValue can be the absolute value of the difference between maximum value and original signal a reference value, be also possible to maximum value and original signal benchmarkDifference (maximum value-original signal a reference value) between value.
Step S530: judge whether benchmark changing value is more than the default amplification upper limit.
Wherein, presetting the amplification upper limit can be systemic presupposition, and it is customized to be also possible to user.The present embodiment to this notIt limits.In a kind of specific embodiment, the default amplification upper limit can be set to 2 capacitances, judge that benchmark becomes at this timeChange value whether more than 2 capacitances.By the way that benchmark changing value is made comparisons with the default amplification upper limit, conducive to signal criterion valueMore new work amplitude limiting processing improves the stability of capacitance detecting and the availability of system.
In the present embodiment, after judging whether benchmark changing value is more than the default amplification upper limit, may include:
When benchmark changing value is more than the default amplification upper limit, step S540 can be executed;
When benchmark changing value is less than the default amplification upper limit, step S550 can be executed.
Step S540: according to the default amplification upper limit and original signal a reference value, it is corresponding to update current touch subchannelSignal criterion value.
In the present embodiment, when benchmark changing value is more than the default amplification upper limit, according to the default amplification upper limit and original letterNumber a reference value, is updated to original signal a reference value for the corresponding signal criterion value of current touch subchannel and increases or decreases default increasingNumerical value after the width upper limit.To make amplitude limiting processing to the adjustment of signal criterion value, so that it is more stable to the adjustment of signal criterion value,It avoids causing the update amplitude of signal criterion value excessive because of excessive noise, it is subsequent to capacitance detecting to influence current touch subchannelAccuracy and sensitivity, improve the stability and system availability of capacitance detecting.
Specifically, when benchmark changing value is more than the default amplification upper limit, if the maximum value in multiple signal values is not less than originalThe corresponding signal criterion value of current touch subchannel is updated to corresponding original signal a reference value and increased in advance by beginning signal criterion valueIf the numerical value after the amplification upper limit, for example, working as maximum value Smax>=(original signal a reference value R0+ preset the amplification upper limit) when, after updateSignal criterion value=original signal a reference value R0+ preset the amplification upper limit;If the maximum value in multiple signal values is less than original letterWhen number a reference value, by the corresponding signal criterion value of current touch subchannel be updated to corresponding original signal a reference value subtract it is defaultNumerical value after the amplification upper limit, for example, working as maximum value Smax< (original signal a reference value R0The default amplification upper limit) when, it is updatedSignal criterion value=original signal a reference value R0The default amplification upper limit.So that the situation that door lock is excessive in benchmark changing valueUnder, be updated according to the default amplification upper limit, limit the update amplitude of signal criterion value so as to the adjustment of signal criterion value compared withStablize, avoids causing the update amplitude of signal criterion value excessive because of excessive noise, it is subsequent to electricity to influence current touch subchannelThe accuracy and sensitivity for holding detection, improve the stability and system availability of capacitance detecting.
Step S550: according to benchmark changing value and original signal a reference value, the corresponding letter of current touch subchannel is updatedNumber a reference value.
In the present embodiment, when benchmark changing value is less than the default amplification upper limit, according to benchmark changing value and original letterNumber a reference value, updating the corresponding signal criterion value of current touch subchannel is the maximum value in multiple signal values, so that door lock rootAccording to environmental change, adjustable signal criterion value improves the judgement in the case where not having to environment to wake events to adapt to environmental changeAccuracy rate.And in the case where benchmark changing value is little, it is updated according to benchmark changing value, improves current touch subchannel pairThe accuracy and sensitivity of capacitance detecting.
It should be noted that the part being not described in detail in the present embodiment, can refer to previous embodiment, it is no longer superfluous hereinIt states.
Touch awakening method provided by the embodiments of the present application, on the basis of previous embodiment, by obtaining each touchMaximum value of the channel in corresponding multiple signal values of multiple scan periods, and judge whether benchmark changing value is more than defaultThe amplification upper limit, and when benchmark changing value is less than the default amplification upper limit, each signal criterion value for touching subchannel is updated toCorresponding maximum value updates corresponding signal base according to the default amplification upper limit when benchmark changing value is more than the default amplification upper limitQuasi- value.To also make clipping to the adjustment amplitude of signal criterion value when signal criterion value can be adjusted according to varying environmentProcessing, so that it is more stable to the adjustment of signal criterion value, avoid the update amplitude mistake for leading to signal criterion value because of excessive noiseGreatly, influence the subsequent accuracy and sensitivity to capacitance detecting of current touch subchannel, improve capacitance detecting stability andSystem availability.
It should be understood that although each step in the flow diagram of Fig. 2 to Fig. 5 is successively shown according to the instruction of arrowShow, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, thisThere is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, Fig. 2 is into Fig. 5At least part step may include multiple sub-steps perhaps these sub-steps of multiple stages or stage be not necessarilySynchronization executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage also need notBe so successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn orPerson alternately executes.
Referring to Fig. 6, Fig. 6 shows a kind of module frame chart for touching Rouser provided by the embodiments of the present application.BelowIt will be illustrated for module frame chart shown in fig. 6, the touch Rouser 600 includes: the first acquisition module 610, firstJudgment module 620, the second acquisition module 630, the second judgment module 640 and directive generation module 650, in which:
First acquisition module 610 obtains the first touch signal for acquiring the first touch signal for acting on touch areaThe first signal intensity value.
First judgment module 620, for judging whether the first signal intensity value meets first threshold condition.
Second acquisition module 630, for when the first signal intensity value meets first threshold condition, acquisition to act on touchMultiple second touch signals in region obtain the multiple second signal changing values for corresponding to multiple second touch signals.
Second judgment module 640, for judging whether multiple second signal changing values meet second threshold condition.
Directive generation module 650 refers to for when multiple second signal changing values meet second threshold condition, generating to wake upIt enables.
Further, the first judgment module 620 includes the first judging unit, in which:
First judging unit, for judging whether the first signal intensity value is greater than the first signal threshold value.
Further, second judgment module 640 includes second judgment unit, in which:
Second judgment unit, for judging in multiple second signal changing values with the presence or absence of the more than preset ratio quantityBinary signal changing value is greater than second signal threshold value.
Further, touch area includes multiple touch subchannels, and first acquisition module 610 includes that the first scanning is singleMember and the first acquisition unit, in which:
First scanning element, for being based on the first sample frequency, according to more on preset scan orders scanning touch areaA touch subchannel.
First acquisition unit obtains first and touches for acquiring the first touch signal for acting on current touch subchannelFirst signal intensity value of signal.
Further, second acquisition module 630 includes the second acquisition unit, in which:
Second acquisition unit, for when the first signal intensity value meets first threshold condition, by current touch subchannelAs target subchannel, it is based on the second sample frequency, acquisition acts on multiple second touch signals of target subchannel, acquisition pairIt should be in multiple second signal changing values of multiple second touch signals.
Further, the second sample frequency is higher than the first sample frequency.
Further, the touch Rouser 600 further include: scan setting module updates scan module and benchmarkUpdate module, in which:
Scan setting module, for according to each touch subchannel of touch area area or relative position, be arranged moreScanning sequency between a touch subchannel.
Scan module is updated, for obtaining current touch subchannel in multiple scan periods point based on the default update cycleNot corresponding multiple signal values.
Datum renewal module, for updating current touch according to corresponding multiple signal values of multiple scan periodsThe corresponding signal criterion value in channel.
Further, the datum renewal module includes benchmark changing value acquiring unit, amplification judging unit, the first updateUnit and the second updating unit, in which:
Benchmark changing value acquiring unit, for according to the maximum value in corresponding multiple signal values of multiple scan periodsAnd corresponding original signal a reference value, obtain the benchmark changing value of current touch subchannel.
Amplification judging unit, for judging whether benchmark changing value is more than the default amplification upper limit.
First updating unit, if being more than the default amplification upper limit for benchmark changing value, according to the default amplification upper limit and originalBeginning signal criterion value updates the corresponding signal criterion of current touch subchannel.
Second updating unit, if the default amplification upper limit is less than for benchmark changing value, according to benchmark changing value and originalBeginning signal criterion value updates the corresponding signal criterion value of current touch subchannel.
Touch Rouser provided by the embodiments of the present application is for realizing touch wakes up accordingly in preceding method embodimentMethod, and the beneficial effect with corresponding embodiment of the method, details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device andThe specific work process of module, can be refering to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of shown or discussed module or direct couplingIt closes or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module can be electrical property, mechanicalOr other forms.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the applicationIt is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mouldBlock both can take the form of hardware realization, can also be realized in the form of software function module.
The embodiment of the present application provides a kind of electronic equipment, and the electronic equipment includes processor and memory, the storageAt least one instruction, at least a Duan Chengxu, code set or instruction set are stored in device, at least one instruction, this at least one sectionProgram, the code set or instruction set are loaded as the processor and are executed to realize as provided by above method embodiment such as Fig. 2To touch awakening method described in Fig. 5.In the present embodiment, electronic equipment, which can be door lock etc., can run the electronics of application programEquipment.
Memory can be used for storing software program and module, and processor is stored in the software program of memory by operationAnd module, thereby executing various function application and data processing.Memory can mainly include storing program area and storage numberAccording to area, wherein storing program area can application program needed for storage program area, function etc.;Storage data area can store basisThe equipment uses created data etc..In addition, memory may include high-speed random access memory, can also includeNonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.PhaseYing Di, memory can also include Memory Controller, to provide access of the processor to memory.
Fig. 7 is a kind of hardware configuration frame of the electronic equipment 700 for touch awakening method that the application one embodiment providesFigure.Specifically, electronic equipment, which can be door lock etc., can run the electronic equipment of application program, it can execute and realize as above-mentionedTouch awakening method provided by embodiment of the method as described in Fig. 2 to Fig. 5.
As shown in fig. 7, the electronic equipment 700 can generate bigger difference because configuration or performance are different, may include(processor 710 can include but is not limited to Micro-processor MCV or programmable logic device to one or more processors 710The processing unit of FPGA etc.), memory 730 for storing data, one or more storage application programs 723 or data722 storage medium 720 (such as one or more mass memory units).Wherein, memory 730 and storage medium 720It can be of short duration storage or persistent storage.The program for being stored in storage medium 720 may include one or more modules, oftenA module may include to the series of instructions operation in electronic equipment 700.Further, processor 710 can be set toIt is communicated with storage medium 720, the series of instructions operation in storage medium 720 is executed on electronic equipment 700.Electronic equipment700 can also include one or more power supplys 760, one or more wired or wireless network interfaces 750, one orMore than one input/output interface 740, and/or, one or more operating systems 721, such as WindowsServerTM,MacOSXTM, UnixTM, LinuxTM, FreeBSDTM etc..
It should be noted that the power supply 760 can be comprising independent current source module to power to electronic equipment 700,It can be for connecting external power supply to power to electronic equipment 700.
Input/output interface 740 can be used for that data are received or sent via a network.Above-mentioned network is specifically realExample may include the wireless network that the communication providers of electronic equipment 700 provide.In an example, input/output interface 740 wrapsA network adapter (NetworkInterfaceController, NIC) is included, base station and other network equipment phases can be passed throughEven so as to be communicated with internet.In an example, input/output interface 740 can be radio frequency(RadioFrequency, RF) module is used to wirelessly be communicated with internet.
It will appreciated by the skilled person that structure shown in Fig. 7 is only to illustrate, not to above-mentioned electronic equipmentStructure cause to limit.For example, electronic equipment 700 may also include the more perhaps less component than shown in Fig. 7 or haveThe configuration different from shown in Fig. 7.
The embodiment of the present application also provides a kind of computer readable storage medium.Fig. 8 is that the application one embodiment providesA kind of module frame chart for the computer readable storage medium 800 touching awakening method.It is stored on computer readable storage medium 800There is computer program 810, which is executed by processor each mistake for realizing above-mentioned touch awakening method embodimentJourney, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage mediumMatter 800, such as read-only memory (Read-OnlyMemory, abbreviation ROM), random access memory(RandomAccessMemory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be intelligent gateway, mobile phone calculatesMachine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Each embodiment of the application is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, it when not departing from the application objective and scope of the claimed protection, can also make very muchForm belongs within the protection scope of the application.

Claims (10)

CN201910424063.2A2019-05-212019-05-21Touch wake-up method and device, electronic equipment and storage mediumActiveCN110310391B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910424063.2ACN110310391B (en)2019-05-212019-05-21Touch wake-up method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910424063.2ACN110310391B (en)2019-05-212019-05-21Touch wake-up method and device, electronic equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN110310391Atrue CN110310391A (en)2019-10-08
CN110310391B CN110310391B (en)2021-11-30

Family

ID=68075446

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910424063.2AActiveCN110310391B (en)2019-05-212019-05-21Touch wake-up method and device, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN110310391B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110928443A (en)*2019-10-312020-03-27维沃移动通信有限公司Touch position detection method and electronic equipment
CN110959256A (en)*2019-10-312020-04-03深圳市汇顶科技股份有限公司Control method, MCU, touch control equipment and storage medium
CN113659975A (en)*2021-07-222021-11-16无锡小净共享网络科技有限公司Touch identification method, device, equipment and storage medium of touch key
CN114023335A (en)*2021-11-082022-02-08阿波罗智联(北京)科技有限公司 Voice control method, device, electronic device and storage medium
CN114090087A (en)*2021-11-242022-02-25北京珠穆朗玛移动通信有限公司Equipment awakening method, equipment awakening system and electronic equipment
CN114320029A (en)*2021-12-172022-04-12上海爱信诺航芯电子科技有限公司Low-power-consumption anti-interference intelligent door lock and awakening method
CN114422881A (en)*2022-01-182022-04-29宁波东海集团有限公司Low-power communication method, system, storage medium and intelligent terminal
CN114954352A (en)*2021-08-112022-08-30长城汽车股份有限公司Method and device for controlling electronic induction module of door handle
CN119142172A (en)*2023-06-152024-12-17比亚迪股份有限公司Charging cover of electric vehicle, control method and system thereof and electric vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103019796A (en)*2012-12-282013-04-03深圳市汇顶科技股份有限公司Wakening method and system for touch terminal and touch terminal
CN104571922A (en)*2015-01-132015-04-29小米科技有限责任公司Touch response method, touch response device and terminal
CN104636065A (en)*2014-12-312015-05-20小米科技有限责任公司Method and device for awakening terminal
CN107294522A (en)*2017-07-052017-10-24广东欧珀移动通信有限公司Response method, device, storage medium and electronic equipment based on touch key-press
CN108845727A (en)*2018-08-312018-11-20出门问问信息科技有限公司Awakening method and device based on mutual capacitance type touch screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103019796A (en)*2012-12-282013-04-03深圳市汇顶科技股份有限公司Wakening method and system for touch terminal and touch terminal
CN104636065A (en)*2014-12-312015-05-20小米科技有限责任公司Method and device for awakening terminal
CN104571922A (en)*2015-01-132015-04-29小米科技有限责任公司Touch response method, touch response device and terminal
CN107294522A (en)*2017-07-052017-10-24广东欧珀移动通信有限公司Response method, device, storage medium and electronic equipment based on touch key-press
CN108845727A (en)*2018-08-312018-11-20出门问问信息科技有限公司Awakening method and device based on mutual capacitance type touch screen

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110928443B (en)*2019-10-312024-01-12维沃移动通信有限公司 A touch position detection method and electronic device
CN110959256A (en)*2019-10-312020-04-03深圳市汇顶科技股份有限公司Control method, MCU, touch control equipment and storage medium
WO2021081890A1 (en)*2019-10-312021-05-06深圳市汇顶科技股份有限公司Control method, mcu, touch control device, and storage medium
CN110928443A (en)*2019-10-312020-03-27维沃移动通信有限公司Touch position detection method and electronic equipment
CN110959256B (en)*2019-10-312024-01-23深圳市汇顶科技股份有限公司Control method, MCU, touch equipment and storage medium
CN113659975A (en)*2021-07-222021-11-16无锡小净共享网络科技有限公司Touch identification method, device, equipment and storage medium of touch key
CN114954352A (en)*2021-08-112022-08-30长城汽车股份有限公司Method and device for controlling electronic induction module of door handle
CN114023335A (en)*2021-11-082022-02-08阿波罗智联(北京)科技有限公司 Voice control method, device, electronic device and storage medium
CN114090087A (en)*2021-11-242022-02-25北京珠穆朗玛移动通信有限公司Equipment awakening method, equipment awakening system and electronic equipment
CN114320029A (en)*2021-12-172022-04-12上海爱信诺航芯电子科技有限公司Low-power-consumption anti-interference intelligent door lock and awakening method
CN114422881B (en)*2022-01-182023-08-25宁波东海集团有限公司Low-power communication method, system, storage medium and intelligent terminal
CN114422881A (en)*2022-01-182022-04-29宁波东海集团有限公司Low-power communication method, system, storage medium and intelligent terminal
CN119142172A (en)*2023-06-152024-12-17比亚迪股份有限公司Charging cover of electric vehicle, control method and system thereof and electric vehicle

Also Published As

Publication numberPublication date
CN110310391B (en)2021-11-30

Similar Documents

PublicationPublication DateTitle
CN110310391A (en)Touch awakening method, device, electronic equipment and storage medium
CN108259044B (en)Touch key scanning method and device and computer readable storage medium
US8031046B2 (en)Finger sensing device with low power finger detection and associated methods
KR101857933B1 (en)Fingerprint recognition system and method
US8311514B2 (en)Prevention of accidental device activation
US8913991B2 (en)User identification in cell phones based on skin contact
CN102667690B (en)Methods and apparatus for performing capacitive touch sensing and proximity detection
CN106020418A (en)Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal
KR101912412B1 (en) Fingerprint detection circuit and electronic device
CN108073885A (en)Fingerprint identification method and electronic device
CN109844764B (en)Fingerprint sensor function verification method and terminal
KR102652844B1 (en) Method for detecting missing finger and fingerprint detection device
CN106096358B (en) A kind of unlocking control method and mobile terminal
CN106096356A (en) An unlocking control method and mobile terminal
CN102968256A (en)Awakening method and system for touch screen hand-holding device after entering dormancy mode
CN106959386A (en)A kind of creepage detection method and mobile terminal
CN110491005A (en)Fingerprint gate lock awakening method, device, MCU, fingerprint gate lock and storage medium
CN102833830B (en)One wakes up mobile intelligent terminal method and mobile intelligent terminal up
CN106055953A (en)Unlocking control method and mobile terminal
WO2023231968A1 (en)Smart lock control method, smart lock control system, and smart lock
CN106200871B (en)Terminal control method and terminal
CN104184449A (en)Capacitive touch control apparatus, method, and system
CN105446639A (en)Terminal awakening method and device
CN105320875B (en)control method and mobile terminal
CN108476540B (en) Terminal, terminal control method, and wireless communication system using the same

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp