CN108549480B - Trigger judgment method and device based on multi-channel data - Google Patents

Trigger judgment method and device based on multi-channel data Download PDF

Info

Publication number
CN108549480B
CN108549480B CN201810265674.2A CN201810265674A CN108549480B CN 108549480 B CN108549480 B CN 108549480B CN 201810265674 A CN201810265674 A CN 201810265674A CN 108549480 B CN108549480 B CN 108549480B
Authority
CN
China
Prior art keywords
sensor electrode
time
trigger
triggering
sensor
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
CN201810265674.2A
Other languages
Chinese (zh)
Other versions
CN108549480A (en
Inventor
杜志祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201810265674.2A priority Critical patent/CN108549480B/en
Publication of CN108549480A publication Critical patent/CN108549480A/en
Application granted granted Critical
Publication of CN108549480B publication Critical patent/CN108549480B/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/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Abstract

The invention provides a triggering judgment method and a triggering judgment device based on multi-channel data, which are used for determining a plurality of sensor electrodes corresponding to a target triggering condition; when each sensor electrode meets the corresponding trigger condition, respectively judging whether the variation trend of each sensor electrode in the corresponding trigger duration is in the corresponding preset range; if so, calculating a starting time difference value between the latest starting trigger time and the earliest starting trigger time in the plurality of sensor electrodes, and calculating an ending time difference value between the latest ending trigger time and the earliest ending trigger time in the plurality of sensor electrodes; judging whether the difference value of the starting time is smaller than a first preset value or not and whether the difference value of the finishing time is smaller than a second preset value or not; and if so, judging that the plurality of sensor electrodes meet the target triggering condition. The accuracy of triggering judgment of the multi-channel data is improved.

Description

Trigger judgment method and device based on multi-channel data
Technical Field
The invention relates to the technical field of data processing, in particular to a triggering judgment method and device based on multi-channel data.
Background
With the development of electronic devices in vehicles, there are many new switch devices for controlling electrical devices on vehicles, which can be opened by a specific contact or non-contact action of a user, such as: the user holds the door handle and pulls it outward to open the door, and the user's specific kicking action opens the trunk door and the like without contact.
A typical data processing method compares the variation Δ C of the real-time data Ctime detected by the sensor with a preset threshold value. Under the normal condition, the real-time data variation is very little, and in case there is the trigger action, real-time data can change by a wide margin in the twinkling of an eye, and Δ C can grow, can regard as opening the trigger judgement when Δ C surpasses the threshold value, and when this duration Δ t that surpasses the threshold value surpasses the limit of settlement, can regard as satisfying the trigger condition to trigger the back operation.
The data processing method has the advantages of simple algorithm and fast data processing, and is more suitable for processing single-channel data. However, in a switch device for acquiring multi-channel data involving a combination of a plurality of sensors, for example, a non-contact switch device having a plurality of sensor electrodes, it is necessary to recognize whether or not a door opening operation (kicking, holding, or the like) is specific to a user by data processing of a plurality of channels, and it is easy to cause false triggering or non-triggering by using a conventional trigger determination method.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for determining triggering based on multi-channel data, so as to solve the problem of false triggering or no triggering caused when the existing method for determining triggering determines the complex switching action of multi-channel data.
In order to achieve the above purpose, the invention provides the following specific technical scheme:
a trigger judgment method based on multi-channel data comprises the following steps:
determining a plurality of sensor electrodes corresponding to a target trigger condition;
when each sensor electrode meets the corresponding trigger condition, respectively judging whether the variation trend of each sensor electrode in the corresponding trigger duration is in the corresponding preset range;
if so, calculating a starting time difference value between the latest starting trigger time and the earliest starting trigger time in the plurality of sensor electrodes, and calculating an ending time difference value between the latest ending trigger time and the earliest ending trigger time in the plurality of sensor electrodes;
judging whether the difference value of the starting time is smaller than a first preset value or not and whether the difference value of the finishing time is smaller than a second preset value or not;
if yes, judging that the sensor electrodes meet the target trigger condition.
Preferably, after determining the plurality of sensor electrodes corresponding to the target trigger condition, the method further includes:
judging whether each sensor electrode enters into triggering judgment or not according to real-time data acquired by each sensor electrode in the current data acquisition period;
and respectively judging whether each sensor electrode entering triggering judgment meets corresponding triggering conditions.
Preferably, the determining whether each sensor electrode enters the trigger determination according to the real-time data acquired by each sensor electrode in the current data acquisition cycle includes:
calculating the current data variation of each sensor electrode according to the real-time data acquired by each sensor electrode in the current data acquisition period;
respectively judging whether the current data variation of each sensor electrode is larger than a corresponding first data variation threshold value;
for each sensor electrode, when the current data variation of the sensor electrode is larger than the corresponding first data variation threshold, determining that the sensor electrode enters triggering judgment.
Preferably, the determining whether each of the sensor electrodes entering the triggering determination satisfies the corresponding triggering condition includes:
recording the moment when each sensor electrode enters triggering judgment as the moment of starting triggering;
recording the moment when the data variation of each sensor electrode is smaller than the corresponding second data variation threshold value for the first time as the end triggering moment;
calculating the trigger duration of each sensor electrode according to the difference value between the end trigger time and the start trigger time of each sensor electrode;
for each sensor electrode, if the trigger duration of the sensor electrode is greater than the corresponding preset time threshold, determining that the corresponding sensor electrode meets the trigger condition.
Preferably, before the separately determining whether the trend of each of the sensor electrodes during the corresponding trigger duration is within the corresponding preset range, the method further includes:
for each sensor electrode, calling real-time data acquired by the sensor electrode in each data acquisition period within a trigger duration to generate a variation trend of the sensor electrode within the trigger duration;
and calling a preset range of the variation trend of the sensor electrode when the triggering condition is met, wherein the preset range comprises the variation trend of the data of the sensor electrode in different time periods when the triggering condition is met.
A trigger judgment device based on multi-channel data comprises:
the determining unit is used for determining a plurality of sensor electrodes corresponding to the target trigger condition;
the first judging unit is used for respectively judging whether the variation trend of each sensor electrode in the corresponding trigger duration is in the corresponding preset range when each sensor electrode meets the corresponding trigger condition; if yes, triggering a calculation unit;
the calculating unit is used for calculating a starting time difference value between the latest starting trigger time and the earliest starting trigger time in the plurality of sensor electrodes and calculating an ending time difference value between the latest ending trigger time and the earliest ending trigger time in the plurality of sensor electrodes;
the second judging unit is used for judging whether the difference value of the starting time is smaller than a first preset value or not and whether the difference value of the finishing time is smaller than a second preset value or not; if yes, judging that the sensor electrodes meet the target trigger condition.
Preferably, the apparatus further comprises:
the third judging unit is used for judging whether each sensor electrode enters into triggering judgment or not according to the real-time data acquired by each sensor electrode in the current data acquisition period;
and the fourth judging unit is used for respectively judging whether each sensor electrode entering triggering judgment meets the corresponding triggering condition.
Preferably, the third judging unit includes:
the first calculating subunit is used for calculating the current data variation of each sensor electrode according to the real-time data acquired by each sensor electrode in the current data acquisition cycle;
the first judging subunit is used for respectively judging whether the current data variation of each sensor electrode is larger than a corresponding first data variation threshold;
the first judgment subunit is configured to, for each sensor electrode, judge that the sensor electrode enters triggering judgment when a current data variation of the sensor electrode is greater than a corresponding first data variation threshold.
Preferably, the fourth judging unit includes:
the first recording subunit is used for recording the moment when each sensor electrode enters the triggering judgment as the moment of starting triggering;
the second recording subunit is used for recording the moment when the data variation of each sensor electrode is smaller than the corresponding second data variation threshold value for the first time as the end triggering moment;
the second calculating subunit is used for calculating the trigger duration of each sensor electrode according to the difference value between the end trigger time and the start trigger time of each sensor electrode;
and the second judgment subunit is configured to, for each sensor electrode, judge that the corresponding sensor electrode satisfies a trigger condition if the trigger duration of the sensor electrode is greater than a corresponding preset time threshold.
Preferably, the apparatus further comprises:
the generating unit is used for calling real-time data acquired by the sensor electrodes in each data acquisition period in the trigger duration for each sensor electrode, and generating a variation trend of the sensor electrodes in the trigger duration;
the calling unit is used for calling a preset range of the variation trend of the sensor electrode when the triggering condition is met, and the preset range comprises the variation trend of data of the sensor electrode in different time periods when the triggering condition is met.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a triggering judgment method and a device based on multi-channel data, which determine a plurality of sensor electrodes corresponding to a target triggering condition, respectively judge whether each sensor electrode meets the corresponding triggering condition, when the triggering condition is met, each sensor electrode is effectively triggered, respectively judge whether the variation trend of each sensor electrode in the corresponding triggering duration is in the corresponding preset range, accurately identify complex switching action, eliminate the influence of misoperation, finally calculate the difference value of the latest starting triggering time and the earliest starting triggering time in the plurality of sensor electrodes, calculate the difference value of the latest ending triggering time and the earliest ending triggering time in the plurality of sensor electrodes, and when the difference value of the starting time is smaller than a first preset value and the difference value of the ending time is smaller than a second preset value, the triggering action detected by each sensor electrode is synchronous, the problem of false triggering caused by triggering each sensor electrode at different time periods under the non-design working condition is avoided, and the accuracy of triggering judgment of multi-channel data is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a multi-channel data-based trigger determination method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another multi-channel data-based triggering determination method disclosed in the embodiment of the present invention;
fig. 3 is a triggering representation diagram of two-channel data of the multi-channel data-based triggering determination method disclosed in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a multi-channel data-based trigger determination apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a multi-channel data-based triggering determination method according to the present disclosure, which specifically includes the following steps:
s101: determining a plurality of sensor electrodes corresponding to a target trigger condition;
the target trigger condition is a preset trigger condition under a specific working condition, for example: a kicking action trigger condition, a holding action trigger condition, a lifting action trigger condition, etc. After the target trigger condition is set, a plurality of sensor electrodes corresponding to the target trigger condition are set, that is, the target trigger condition and the plurality of sensor electrodes have a one-to-many correspondence relationship.
It should be noted that the plurality of sensor electrodes corresponding to the target trigger condition specifically refer to: the target trigger condition corresponds to more than one sensor electrode. The number of sensor electrodes corresponding to different trigger conditions is different, for example, trigger condition 1 corresponds to two sensor electrodes, and trigger condition 2 corresponds to three sensor electrodes.
Each sensor electrode corresponds to one channel, and one sensor can detect data of a plurality of electrodes.
S102: when each sensor electrode meets the corresponding trigger condition, respectively judging whether the variation trend of each sensor electrode in the corresponding trigger duration is in the corresponding preset range; if yes, executing S103, otherwise, returning to executing S102;
it should be noted that, according to actual needs, it may be set that, after a certain sensor electrode corresponding to the target trigger condition meets the corresponding trigger condition, it is determined whether the variation trend of the sensor electrode in the corresponding trigger duration is within the corresponding preset range.
The method for judging whether the sensor electrode meets the corresponding trigger condition can be the existing single-channel trigger judgment method.
Preferably, before S102, the method further includes:
for each sensor electrode, calling real-time data acquired by the sensor electrode in each data acquisition period within a trigger duration to generate a variation trend of the sensor electrode within the trigger duration;
and calling a preset range of the variation trend of the sensor electrode when the triggering condition is met, wherein the preset range comprises the variation trend of the data of the sensor electrode in different time periods when the triggering condition is met.
It should be noted that, the trend of the data change of the sensor electrode in different time periods when the trigger condition is met is stored in the processor in advance, the real-time data acquired by the sensor electrode in each data acquisition cycle in the trigger duration is stored in the processor in segments, and the real-time data in each data acquisition cycle is stored as one segment.
In order to reduce the memory occupation amount in the processor, the data corresponding to the executed target trigger condition is deleted, so that the data stored in the processor in a segmented mode are always the data needing trigger judgment at present.
The change trend of the sensor electrode in the corresponding trigger duration is the change trend of the data size of the sensor electrode in the corresponding trigger duration, such as a kick action, and the change trend of the sensor electrode in the corresponding trigger duration is firstly larger and then smaller.
S103: calculating a start time difference between a latest start trigger time and an earliest start trigger time in the plurality of sensor electrodes, and calculating an end time difference between a latest end trigger time and an earliest end trigger time in the plurality of sensor electrodes;
taking 3 sensor electrodes corresponding to the target trigger condition as an example, the start trigger times of the sensor electrode 1, the sensor electrode 2 and the sensor electrode 3 are t1, t2 and t3 respectively, the end trigger times of the sensor electrode 1, the sensor electrode 2 and the sensor electrode 3 are t1', t2 ' and t3 respectively, and the trigger durations of the sensor electrode 1, the sensor electrode 2 and the sensor electrode 3 are respectively Δ t1 ═ t1' -t1Δ t2 ═ t2 '-t 2 and Δ t3 ═ t 3' -t 3. If the latest starting trigger time among the sensor electrodes 1, 2 and 3 is t3, the earliest starting trigger time is t1, the latest ending trigger time is t3 'and the earliest ending trigger time is t1', the difference between the latest starting trigger time and the earliest starting trigger time among the sensor electrodes 1, 2 and 3 is Δ tstartT3-t1, the end time difference between the latest and earliest end trigger time is Δ tend=t3′-t1′。
S104: judging whether the difference value of the starting time is smaller than a first preset value or not and whether the difference value of the finishing time is smaller than a second preset value or not; if yes, executing S105, otherwise, returning to execute S102;
Δtstartis the time difference at which the plurality of sensor electrodes begin to recognize an external trigger action. Generally, two sensor electrodes respectively arranged on a bumper and the bottom of a vehicle are needed for kicking actions which are expected to open a trunk. The two sensor electrodes begin to recognize that the trigger action is nearly simultaneous, so Δ tstartAnd very small, the threshold value set is also very small. Judging this time difference can algorithmically avoid false triggering for some special cases. For example: the water flow (which can be considered as a trigger action) during rain flows from the bumper to the bottom of the vehicle. The sensor electrode 1 is arranged on the bumper, and the sensor electrode 2 is arranged on the bottom of the vehicle. Since water slowly flows from the bumper to the vehicle bottom, the difference Δ t between the time t1 when the sensor electrode 1 recognizes the start of the trigger operation and the time t2 when the sensor electrode 2 recognizes the start of the trigger operationstartObviously greater than the first preset value T set by the triggering condition of the intention of opening the trunkSAnd the triggering condition is not met, so that the condition that water flows from the bumper to the bottom of the vehicle in the rainy period is avoided, and the false triggering of the trunk is avoided.
ΔtendIs the time difference at which the plurality of sensors recognizes the end of the external triggering action. The function is also to avoid false triggering in special cases, while more accurately identifying user-specific switching actions.
The mutual processing of the multi-channel data can ensure that the switching device adapts to more complex external environments and more accurately identifies complex switching actions.
S105: determining that a plurality of the sensor electrodes satisfy the target trigger condition.
The embodiment of the disclosure relates to a multi-channel data-based trigger determination method, which determines a plurality of sensor electrodes corresponding to a target trigger condition, first respectively determines whether each sensor electrode meets the corresponding trigger condition, when the trigger condition is met, each sensor electrode is effectively triggered, then respectively determines whether a variation trend of each sensor electrode within a corresponding trigger duration is within a corresponding preset range, accurately identifies a complex switch action, eliminates an influence of a misoperation, finally calculates a start time difference between a latest start trigger time and an earliest start trigger time in the plurality of sensor electrodes, calculates an end time difference between a latest end trigger time and an earliest end trigger time in the plurality of sensor electrodes, and when the start time difference is smaller than a first preset value and the end time difference is smaller than a second preset value, the triggering action detected by each sensor electrode is synchronous, the problem of false triggering caused by triggering each sensor electrode at different time periods under the non-design working condition is avoided, and the accuracy of triggering judgment of multi-channel data is improved.
Referring to fig. 2, the present embodiment discloses another triggering determination method based on multi-channel data, which specifically includes the following steps:
s201: determining a plurality of sensor electrodes corresponding to a target trigger condition;
s202: respectively acquiring real-time data of each sensor electrode in a current data acquisition cycle;
or 3 sensor electrodes with target trigger conditions: the sensor electrode 1, the sensor electrode 2, and the sensor electrode 3 will be described as an example.
The current real-time data collected by the sensor electrode 1, the sensor electrode 2 and the sensor electrode 3 are respectively C1time、C2timeAnd C3time
S203: judging whether each sensor electrode enters into triggering judgment; if yes, executing S204, otherwise, executing S202;
specifically, whether each sensor electrode enters triggering judgment is judged according to real-time data acquired by each sensor electrode in the current data acquisition period.
Calculating the current data variation of each sensor electrode according to the real-time data acquired by each sensor electrode in the current data acquisition period;
respectively judging whether the current data variation of each sensor electrode is larger than a corresponding first data variation threshold value;
for each sensor electrode, when the current data variation of the sensor electrode is larger than the corresponding first data variation threshold, determining that the sensor electrode enters triggering judgment.
For the sensor electrode 1, the currently acquired real-time data C1timeMean value data C1 of all real-time data in current data acquisition periodavrThe absolute value of the difference of (a) is taken as the data change amount Δ C1.
Note that, the mean value data C1avrThe calculation method of (2) may be: all real-time data in the current data acquisition period are used as input data, and average data C1 is obtained through calculation of a preset exponential functionavr. Of course, the mean data C1avrThe average data C1 can be calculated by other averaging or modifying calculation methodsavrThe purpose of (1) is to eliminate the noise from interfering with the variable quantity.
Normally, the Δ C1 is small, and when there is a trigger action, such as a user-specific switch action or other external influence, it will result in real-time data C1timeWhen the Δ C1 is larger than the first data variation threshold C1 at a certain time, it is determined that the sensor electrode 1 enters the trigger judgment.
The data processing method of other sensor electrodes is the same as that of the touch sensor electrode 1, and is not described in detail herein.
S204: respectively judging whether each sensor electrode entering triggering judgment meets corresponding triggering conditions; if yes, executing S205, otherwise, returning to execute S203;
recording the moment when each sensor electrode enters triggering judgment as the moment of starting triggering;
recording the moment when the data variation of each sensor electrode is smaller than the corresponding second data variation threshold value for the first time as the end triggering moment;
calculating the trigger duration of each sensor electrode according to the difference value between the end trigger time and the start trigger time of each sensor electrode;
for each sensor electrode, if the trigger duration of the sensor electrode is greater than the corresponding preset time threshold, determining that the corresponding sensor electrode meets the trigger condition.
It should be noted that, after all the sensor electrodes corresponding to the target trigger condition enter the trigger judgment, it may be judged whether each sensor electrode meets the corresponding trigger condition; it is also not necessary to determine whether each sensor electrode meets the corresponding trigger condition after all sensor electrodes corresponding to the target trigger condition enter the trigger determination, that is, for each sensor electrode corresponding to the target trigger condition, it can be determined whether the corresponding trigger condition is met only by entering the trigger determination, and it is not necessary to determine whether the corresponding trigger condition is met after other sensor electrodes also enter the trigger determination.
3 sensor electrodes are mapped with the target trigger condition: the sensor electrode 1, the sensor electrode 2, and the sensor electrode 3 will be described as an example.
The start trigger time t1 at which the data change of the sensor electrode 1 exceeds the first data change threshold C1 and the end trigger time t1 'at which the data change of the sensor electrode 1 is first less than the corresponding second data change threshold C1' are recorded.
The arrangement positions of the sensor electrodes 1, 2 are different, a specific opening action by a user is generally not possible to be recognized by both sensor electrodes at the same time, and the opening action is a process, not possible to be a momentary matter. It is therefore determined whether the time difference between the start triggering time and the end triggering time of the sensor electrode 1 exceeds a preset time threshold and whether the time difference between the start time and the end time of the sensor electrode 2 exceeds a preset time threshold.
The first data change amount threshold C1 at the start trigger time and the second data change amount threshold C1' at the end trigger time of the same sensor electrode may be equal to or different from each other. The first data variation thresholds C1 of different sensor electrodes may be equal or different, and the second data variation thresholds C1' of different sensor electrodes may be equal or different, and the setting of these thresholds needs to be determined according to the sensitivity of the capacitance value of the electrode in practical application to the change of the distance between the user and the electrode.
S205: respectively judging whether the variation trend of each sensor electrode in the corresponding trigger duration is in a corresponding preset range; if yes, executing S206, otherwise, returning to execute S204;
s206: calculating a start time difference between a latest start trigger time and an earliest start trigger time in the plurality of sensor electrodes, and calculating an end time difference between a latest end trigger time and an earliest end trigger time in the plurality of sensor electrodes;
s207: judging whether the difference value of the starting time is smaller than a first preset value or not and whether the difference value of the finishing time is smaller than a second preset value or not; if yes, executing S208, otherwise, returning to execute S204;
s208: determining that a plurality of the sensor electrodes satisfy the target trigger condition.
The method for judging triggering based on multi-channel data disclosed by the embodiment comprises the steps of firstly judging whether each sensor electrode enters triggering judgment according to real-time data acquired by each sensor electrode in a current data acquisition period, eliminating noise interference, and then judging whether each sensor electrode entering triggering judgment meets corresponding triggering conditions, so as to avoid false triggering caused by external noise. And then, the triggering action is accurately identified through the variation trend of the sensor electrodes in the triggering duration time, and after the triggering synchronism of each sensor electrode is judged, whether the plurality of sensor electrodes meet the target triggering condition is judged, so that the accuracy of triggering judgment of multi-channel data is improved.
Fig. 3 is a trigger rendering diagram of two-channel data of the multi-channel data-based trigger determination method disclosed in the above embodiment. As can be understood in connection with fig. 3, the switching device recognizes the entire process of the triggering action and other extraneous actions.
Wherein the dashed lines indicate that the sensor electrodes recognize a trigger action or other extraneous action. From fig. 3, it can be analyzed that the user's trigger action is to approach the sensor electrode 2 first and then approach the sensor electrode 1; and then away from the sensor electrode 1 and then away from the sensor electrode 2. The data trend caused by the trigger action is first larger and then smaller. Taking a non-contact kick switch as an example, data of two parts, namely a leg part and a foot part, are collected. It is assumed that the sensor electrode 1 collects data of the foot and the sensor electrode 2 collects data of the leg. When the user performs a leg kicking action, the user's legs approach the sensor electrodes before the feet, and when the user performs a leg retracting action, the user's feet leave the sensor electrodes before the legs. The embodiment of the technical scheme can accurately identify the specific door opening action of the user. The action that a user or an animal approaches two sensor electrodes simultaneously does not cause triggering, which is exactly the phenomenon of false triggering which is difficult to avoid in the prior art.
This embodiment is only directed to the processing of two-channel data, and those skilled in the art can develop other implementation methods with this embodiment to recognize the trigger actions of other switch devices. Such as increasing the number of sensor electrodes, changing the threshold value of the time difference, etc., but this is just another example based on the present solution. Thus, the present teachings are not intended to be limited to the embodiments shown herein but are to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Referring to fig. 4, the embodiment correspondingly discloses a triggering determination device based on multi-channel data, which specifically includes:
a determining unit 401, configured to determine a plurality of sensor electrodes corresponding to the target trigger condition;
a first determining unit 402, configured to determine whether a variation trend of each sensor electrode in a corresponding trigger duration is within a corresponding preset range when each sensor electrode satisfies a corresponding trigger condition; if yes, triggering the calculation unit 403;
the calculating unit 403 is configured to calculate a start time difference between the latest start trigger time and the earliest start trigger time in the plurality of sensor electrodes, and calculate an end time difference between the latest end trigger time and the earliest end trigger time in the plurality of sensor electrodes;
a second determining unit 404, configured to determine whether the starting time difference is smaller than a first preset value and whether the ending time difference is smaller than a second preset value; if yes, judging that the sensor electrodes meet the target trigger condition.
Preferably, the apparatus further comprises:
the third judging unit is used for judging whether each sensor electrode enters into triggering judgment or not according to the real-time data acquired by each sensor electrode in the current data acquisition period;
and the fourth judging unit is used for respectively judging whether each sensor electrode entering triggering judgment meets the corresponding triggering condition.
Preferably, the third judging unit includes:
the first calculating subunit is used for calculating the current data variation of each sensor electrode according to the real-time data acquired by each sensor electrode in the current data acquisition cycle;
the first judging subunit is used for respectively judging whether the current data variation of each sensor electrode is larger than a corresponding first data variation threshold;
the first judgment subunit is configured to, for each sensor electrode, judge that the sensor electrode enters triggering judgment when a current data variation of the sensor electrode is greater than a corresponding first data variation threshold.
Preferably, the fourth judging unit includes:
the first recording subunit is used for recording the moment when each sensor electrode enters the triggering judgment as the moment of starting triggering;
the second recording subunit is used for recording the moment when the data variation of each sensor electrode is smaller than the corresponding second data variation threshold value for the first time as the end triggering moment;
the second calculating subunit is used for calculating the trigger duration of each sensor electrode according to the difference value between the end trigger time and the start trigger time of each sensor electrode;
and the second judgment subunit is configured to, for each sensor electrode, judge that the corresponding sensor electrode satisfies a trigger condition if the trigger duration of the sensor electrode is greater than a corresponding preset time threshold.
Preferably, the apparatus further comprises:
the generating unit is used for calling real-time data acquired by the sensor electrodes in each data acquisition period in the trigger duration for each sensor electrode, and generating a variation trend of the sensor electrodes in the trigger duration;
the calling unit is used for calling a preset range of the variation trend of the sensor electrode when the triggering condition is met, and the preset range comprises the variation trend of data of the sensor electrode in different time periods when the triggering condition is met.
Compared with the prior art, the invention has the following beneficial effects:
the multi-channel data-based trigger determination device disclosed in this embodiment determines a plurality of sensor electrodes corresponding to a target trigger condition, first respectively determines whether each sensor electrode meets the corresponding trigger condition, when all the sensor electrodes meet the trigger condition, each sensor electrode is effectively triggered, then respectively determines whether a variation trend of each sensor electrode within a corresponding trigger duration is within a corresponding preset range, accurately identifies a complex switching action, eliminates an influence of a misoperation, finally calculates a start time difference between a latest start trigger time and an earliest start trigger time in the plurality of sensor electrodes, calculates an end time difference between a latest end trigger time and an earliest end trigger time in the plurality of sensor electrodes, and when the start time difference is smaller than a first preset value and the end time difference is smaller than a second preset value, the triggering action detected by each sensor electrode is synchronous, the problem of false triggering caused by triggering each sensor electrode at different time periods under the non-design working condition is avoided, and the accuracy of triggering judgment of multi-channel data is improved.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A trigger judgment method based on multi-channel data is characterized by comprising the following steps:
determining a plurality of sensor electrodes corresponding to a target trigger condition;
when each sensor electrode meets the corresponding trigger condition, respectively judging whether the variation trend of each sensor electrode in the corresponding trigger duration is in the corresponding preset range;
if so, calculating a starting time difference value between the latest starting trigger time and the earliest starting trigger time in the plurality of sensor electrodes, and calculating an ending time difference value between the latest ending trigger time and the earliest ending trigger time in the plurality of sensor electrodes; determining the starting triggering time of each sensor electrode according to the same standard; and the criteria for determining the end triggering time of each sensor electrode are the same;
judging whether the difference value of the starting time is smaller than a first preset value or not and whether the difference value of the finishing time is smaller than a second preset value or not;
if yes, judging that the sensor electrodes meet the target trigger condition.
2. The method of claim 1, wherein after determining the plurality of sensor electrodes to which the target trigger condition corresponds, the method further comprises:
judging whether each sensor electrode enters into triggering judgment or not according to real-time data acquired by each sensor electrode in the current data acquisition period;
and respectively judging whether each sensor electrode entering triggering judgment meets corresponding triggering conditions.
3. The method of claim 2, wherein said determining whether each of said sensor electrodes enters a trigger determination based on real-time data acquired by each of said sensor electrodes during a current data acquisition cycle, respectively, comprises:
calculating the current data variation of each sensor electrode according to the real-time data acquired by each sensor electrode in the current data acquisition period;
respectively judging whether the current data variation of each sensor electrode is larger than a corresponding first data variation threshold value;
for each sensor electrode, when the current data variation of the sensor electrode is larger than the corresponding first data variation threshold, determining that the sensor electrode enters triggering judgment.
4. The method of claim 2, wherein said separately determining whether each of said sensor electrodes entering triggering determination satisfies a corresponding triggering condition comprises:
recording the moment when each sensor electrode enters triggering judgment as the moment of starting triggering;
recording the moment when the data variation of each sensor electrode is smaller than the corresponding second data variation threshold value for the first time as the end triggering moment;
calculating the trigger duration of each sensor electrode according to the difference value between the end trigger time and the start trigger time of each sensor electrode;
for each sensor electrode, if the trigger duration of the sensor electrode is greater than the corresponding preset time threshold, determining that the corresponding sensor electrode meets the trigger condition.
5. The method of claim 1, wherein before the separately determining whether the trend of each of the sensor electrodes during the corresponding trigger duration is within the corresponding preset range, the method further comprises:
for each sensor electrode, calling real-time data acquired by the sensor electrode in each data acquisition period within a trigger duration to generate a variation trend of the sensor electrode within the trigger duration;
and calling a preset range of the variation trend of the sensor electrode when the triggering condition is met, wherein the preset range comprises the variation trend of the data of the sensor electrode in different time periods when the triggering condition is met.
6. A trigger judgment device based on multi-channel data is characterized by comprising:
the determining unit is used for determining a plurality of sensor electrodes corresponding to the target trigger condition;
the first judging unit is used for respectively judging whether the variation trend of each sensor electrode in the corresponding trigger duration is in the corresponding preset range when each sensor electrode meets the corresponding trigger condition; if yes, triggering a calculation unit;
the calculating unit is used for calculating a starting time difference value between the latest starting trigger time and the earliest starting trigger time in the plurality of sensor electrodes and calculating an ending time difference value between the latest ending trigger time and the earliest ending trigger time in the plurality of sensor electrodes; determining the starting triggering time of each sensor electrode according to the same standard; and the criteria for determining the end triggering time of each sensor electrode are the same;
the second judging unit is used for judging whether the difference value of the starting time is smaller than a first preset value or not and whether the difference value of the finishing time is smaller than a second preset value or not; if yes, judging that the sensor electrodes meet the target trigger condition.
7. The apparatus of claim 6, further comprising:
the third judging unit is used for judging whether each sensor electrode enters into triggering judgment or not according to the real-time data acquired by each sensor electrode in the current data acquisition period;
and the fourth judging unit is used for respectively judging whether each sensor electrode entering triggering judgment meets the corresponding triggering condition.
8. The apparatus according to claim 7, wherein the third determining unit comprises:
the first calculating subunit is used for calculating the current data variation of each sensor electrode according to the real-time data acquired by each sensor electrode in the current data acquisition cycle;
the first judging subunit is used for respectively judging whether the current data variation of each sensor electrode is larger than a corresponding first data variation threshold;
the first judgment subunit is configured to, for each sensor electrode, judge that the sensor electrode enters triggering judgment when a current data variation of the sensor electrode is greater than a corresponding first data variation threshold.
9. The apparatus according to claim 7, wherein the fourth determination unit comprises:
the first recording subunit is used for recording the moment when each sensor electrode enters the triggering judgment as the moment of starting triggering;
the second recording subunit is used for recording the moment when the data variation of each sensor electrode is smaller than the corresponding second data variation threshold value for the first time as the end triggering moment;
the second calculating subunit is used for calculating the trigger duration of each sensor electrode according to the difference value between the end trigger time and the start trigger time of each sensor electrode;
and the second judgment subunit is configured to, for each sensor electrode, judge that the corresponding sensor electrode satisfies a trigger condition if the trigger duration of the sensor electrode is greater than a corresponding preset time threshold.
10. The apparatus of claim 6, further comprising:
the generating unit is used for calling real-time data acquired by the sensor electrodes in each data acquisition period in the trigger duration for each sensor electrode, and generating a variation trend of the sensor electrodes in the trigger duration;
the calling unit is used for calling a preset range of the variation trend of the sensor electrode when the triggering condition is met, and the preset range comprises the variation trend of data of the sensor electrode in different time periods when the triggering condition is met.
CN201810265674.2A 2018-03-28 2018-03-28 Trigger judgment method and device based on multi-channel data Active CN108549480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810265674.2A CN108549480B (en) 2018-03-28 2018-03-28 Trigger judgment method and device based on multi-channel data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810265674.2A CN108549480B (en) 2018-03-28 2018-03-28 Trigger judgment method and device based on multi-channel data

Publications (2)

Publication Number Publication Date
CN108549480A CN108549480A (en) 2018-09-18
CN108549480B true CN108549480B (en) 2021-05-18

Family

ID=63517139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810265674.2A Active CN108549480B (en) 2018-03-28 2018-03-28 Trigger judgment method and device based on multi-channel data

Country Status (1)

Country Link
CN (1) CN108549480B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111554079A (en) * 2020-04-26 2020-08-18 成都铭钛科技有限公司 Trigger judgment method and device based on multi-channel data
CN111949468B (en) * 2020-09-18 2023-07-18 苏州浪潮智能科技有限公司 Dual-port disk management method, dual-port disk management device, terminal and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4434571A1 (en) * 1993-10-01 1995-04-06 Marquardt Gmbh Electronic door-locking system on a motor vehicle
WO2013138791A1 (en) * 2012-03-16 2013-09-19 Secureall Corporation Non-contact electronic door locks having specialized radio frequency beam formation
CN103713735B (en) * 2012-09-29 2018-03-16 华为技术有限公司 A kind of method and apparatus that terminal device is controlled using non-contact gesture
CN104181823B (en) * 2014-07-02 2017-02-15 北京奥特易电子科技有限责任公司 Automobile door or trunk non-contact opening/closing controller and method and automobile
CN204028591U (en) * 2014-07-02 2014-12-17 北京奥特易电子科技有限责任公司 The contactless starting controller of arrangements for automotive doors or boot and automobile
CN104238394A (en) * 2014-09-16 2014-12-24 杭州古北电子科技有限公司 Universal control method including triggering conditions, state judgment conditions and judgment implementation conditions
CN106774887A (en) * 2016-12-15 2017-05-31 芯海科技(深圳)股份有限公司 A kind of non-contact gesture identifying device and recognition methods

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
2016年大众途观L尾门感应开启功能失效;林隆江;《汽车维修技师》;20170930;第76-78页 *
Development, Control, and Evaluation of an Actuated Car Door;Michael Strolz; Alexander Mortl; Michael Graf; Martin Buss;;《IEEE transactions on haptics》;20090526;第170-180页 *

Also Published As

Publication number Publication date
CN108549480A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN107919130B (en) Cloud-based voice processing method and device
KR102321235B1 (en) Water robustness and detection of capacitive buttons
US9459723B2 (en) Detection algorithm for an infrared proximity sensor of a touch screen mobile phone
CN108549480B (en) Trigger judgment method and device based on multi-channel data
JP6176337B2 (en) Faucet device
JP2014526913A5 (en)
CN110420025A (en) Surface electromyogram signal processing method, device and wearable device
WO2017185701A1 (en) Distance sensor antifouling method and system on mobile terminal
CN105487809A (en) Terminal control method and device
US10983633B2 (en) Key detecting method and apparatus
CN103324373A (en) Method for preventing conductive liquid from causing misoperation of touch screen
KR20160024858A (en) Voice data recognition method, device and server for distinguishing regional accent
CN104182145A (en) Method and device for preventing faulty operation of touch screen and mobile equipment
KR20140053134A (en) Evaluation method and evaluation device for a capacitive contact sensor
CN108512542A (en) Touch key-press signal processing method and device, computer readable storage medium
CN114914973A (en) Gun returning control method and device for charging pile, charging pile and medium
CN106930039A (en) The method and washing machine of a kind of washing machine midway addition detergent
CN114198977B (en) Method for detecting human body approach of refrigerator and refrigerator adopting method
CN107024975B (en) Interaction method and device
CN115549680B (en) Anti-interference detection method and detection chip for touch keys
CN111578439A (en) Wet hand detection device, drive-by-wire ware and air conditioner of touch button
CN108683981B (en) Loudspeaker drainage method and device of electronic equipment, electronic equipment and storage medium
CN111404534B (en) Triggering judgment method and device of capacitive touch switch
CN111026296A (en) Response control method and device for touch key and electric appliance
CN110196354B (en) Method and device for detecting switching event of load

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Applicant after: Beijing Jingwei Hengrun Technology Co., Ltd

Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101

Applicant before: Beijing Jingwei HiRain Technologies Co.,Ltd.

GR01 Patent grant
GR01 Patent grant