A startup method, device, electronic device and storage medium
By obtaining the induction quantity and compensation capacitance value in the terminal to judge the false touch, the problem of false triggering of wake-up in the prior art is solved, and the accuracy and reliability of device startup are achieved.
Patent Information
- Application Number
- CN202010580689.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-23
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2040-06-23
AI Technical Summary
When the identification algorithm mechanism is used as the only criterion for wake-up in the prior art, it is easy to accidentally trigger the wake-up mechanism due to the collection of wrong data, resulting in the device being turned on.
By obtaining the induction amount of the touch area in the terminal and determining whether the device start-up condition is met, obtaining the compensation capacitance value used to indicate the degree of stress in the touch area, and determining the false touch judgment result based on the induction amount and compensation capacitance value. If it is not a false touch Control the terminal starts.
It effectively avoids the problem of accidentally triggering wake-up caused by collecting incorrect data, and ensures the accuracy and reliability of device startup.
Smart Images

Figure CN111782079B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of touch and display technology, and in particular to a startup method, device, electronic device and storage medium. Background Art
[0002] With the upgrading of electronic products, the method of unlocking devices using biometric information (fingerprints, palm prints) has gradually replaced the password unlocking method in the power-on system of electronic devices. Among them, identifying the touch action is a key step in unlocking the device using the biometric information of the target object. In the prior art, a recognition algorithm mechanism is generally used to compare the induction amount of the touch screen (when pressed, the induction amount of the pressed area on the touch screen increases) with a preset threshold, so as to decide whether to wake up the screen to start the next step of biometric information collection.
[0003] However, the inventors discovered during the research process that when the recognition algorithm mechanism is used as the sole wake-up criterion in the prior art, the wake-up mechanism will be mistakenly triggered due to the collection of erroneous data (for example, during the ESD detection process, the full-screen data will jump irregularly. In theory, any data pattern may appear. At this time, the sensing amount collected by the sensor is not the sensing amount generated by a person's actual touch, which leads to the chip collecting the sensing amount and mistakenly identifying it as a palm pressure power-on mode), causing the device to turn on. Summary of the invention
[0004] In order to solve the technical problem in the above-mentioned prior art that when using the recognition algorithm mechanism as the only wake-up criterion, the wake-up mechanism will be mistakenly triggered due to the collection of erroneous data, resulting in the device being turned on, the present application provides a startup method, device, electronic device and storage medium.
[0005] In a first aspect, the present application provides a startup method, applied to a terminal, the method comprising:
[0006] Acquire the sensing amount of the touch area in the terminal, and determine whether the sensing amount meets the device startup condition, wherein the sensing amount is used to represent the touch amount of the touch area;
[0007] When the sensing quantity meets the device startup condition, obtaining a compensation capacitance value for indicating the force degree of the touch area;
[0008] Determine a false touch judgment result according to the sensing amount and the compensation capacitance value;
[0009] If the false touch judgment result is not a false touch trigger, the terminal is controlled to start up.
[0010] Optionally, the step of determining a false touch judgment result according to the induction amount and the compensation capacitance value includes:
[0011] Determine a first reference touch area in the touch area corresponding to the sensing amount;
[0012] Determine a second reference touch area in the touch area corresponding to the compensation capacitance value;
[0013] The false touch judgment result is determined according to the first reference touch area and the second reference touch area.
[0014] Optionally, the step of determining a false touch judgment result according to the first reference touch area and the second reference touch area includes:
[0015] Acquire a preset mapping relationship, where the mapping relationship is used to represent a corresponding relationship between the induction quantity and the compensation capacitance value;
[0016] Converting the second reference touch area into a standard touch area according to the mapping relationship, wherein the arrangement mode of the standard touch area is the same as that of the first reference area;
[0017] A false touch judgment result is determined according to the standard touch area and the first reference touch area.
[0018] Optionally, the step of determining the false touch judgment result according to the standard touch area and the first reference touch area includes:
[0019] If the standard touch area is located in a preset edge area of the touch area, and the similarity between the first reference touch area and the standard touch area is greater than a preset similarity threshold, then determining that the false touch judgment result is a non-false touch trigger;
[0020] If the standard touch area is not located in a preset edge area of the touch area, traverse a plurality of compensation capacitance values in the standard touch area;
[0021] When it is determined that the compensation capacitance value meets the preset condition, determining the compensation capacitance value as the starting compensation capacitance value;
[0022] In the standard touch area, the number of compensation capacitance values greater than the starting compensation capacitance value in four quadrants centered on the starting compensation capacitance value is calculated to obtain the starting compensation capacitance;
[0023] Calculating the similarity of the first reference touch area;
[0024] If the similarity of the first reference touch area is greater than a first similarity threshold, and the initial compensation capacitance is greater than a maximum compensation capacitance reference amount corresponding to the first similarity threshold, the false touch judgment result is determined to be a non-false touch trigger.
[0025] Optionally, it also includes:
[0026] If the similarity of the first reference touch area is greater than the second similarity threshold and less than the first similarity threshold, determining whether the initial compensation capacitance is greater than a preset minimum compensation capacitance reference value corresponding to the second similarity threshold;
[0027] If the initial compensation capacitance is greater than a preset minimum compensation capacitance reference, the false touch judgment result is determined to be a non-false touch trigger. Optionally, the preset condition includes one of the following:
[0028] The difference between the currently traversed compensation capacitance value and the traversed compensation capacitance value in the compensation capacitance value array and located in the same column and / or the same row is greater than a first preset threshold;
[0029] The difference between the currently traversed compensation capacitance value and the compensation capacitance value that has been traversed in the compensation capacitance value array and is located in the same column and / or the same row is greater than a second preset threshold, wherein the second preset threshold is less than the first preset threshold. Optionally, the step of determining whether the induction quantity meets the device startup condition includes:
[0030] Determining whether the sensing amount is greater than a preset sensing amount threshold;
[0031] If the sensing amount is greater than a preset sensing amount threshold, determining whether the number of frames for which the sensing amount is greater than the preset sensing amount threshold is greater than a preset duration;
[0032] If the number of frames for which the sensing amount is greater than a preset sensing amount threshold is greater than a preset duration, it is determined whether the similarity feature of the sensing amount meets the similarity feature threshold.
[0033] In a second aspect, the present application provides a device for preventing accidental touch startup, which is applied to a terminal and includes:
[0034] A first acquisition module, configured to acquire a sensing amount of a touch area in the terminal and determine whether the sensing amount meets a device startup condition, wherein the sensing amount is used to represent a touch amount of the touch area;
[0035] A second acquisition module, configured to acquire a compensation capacitance value indicating a force level of the touch area when the sensing quantity meets the device startup condition;
[0036] A determination module, used to determine a false touch judgment result according to the sensing amount and the compensation capacitance value;
[0037] The control module is used for controlling the terminal to start up if the false touch judgment result is not a false touch trigger.
[0038] In a third aspect, the present application provides an anti-mis-touch startup device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the steps of any one of the methods described in the first aspect are implemented.
[0039] According to a fourth aspect, a computer-readable medium having a non-volatile program code executable by a processor, wherein the program code enables the processor to execute any method according to the first aspect.
[0040] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the embodiment of the present application obtains the sensing amount of the touch area in the terminal and determines whether the sensing amount meets the device startup condition; when the sensing amount meets the device startup condition, obtains the compensation capacitance value used to represent the force degree of the touch area; determines the false touch judgment result according to the sensing amount and the compensation capacitance value; if the false touch judgment result is not a false touch trigger, controls the terminal to start, and by obtaining the compensation capacitance value of the force degree of the touch area, the pressure area in the physical touch area can be determined, and combined with the sensing amount, it is determined whether the startup device instruction is a false trigger, which can effectively avoid the problem of false triggering of the wake-up mechanism due to the collection of erroneous data. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 A flowchart of a startup method provided in an embodiment of the present application;
[0044] Figure 2 Provided in the embodiments of this application Figure 1 Flow chart of step S103;
[0045] Figure 3 Provided in the embodiments of this application Figure 2 Flow chart of step S203;
[0046] Figure 4 Provided in the embodiments of this application Figure 3 Flow chart of step S303;
[0047] Figure 5 A schematic diagram of a compensation capacitance value array provided in an embodiment of the present application;
[0048] Figure 6 Provided in the embodiments of this application Figure 1 Flow chart of step S101 in FIG.
[0049] Figure 7 A schematic diagram of a module of a device for preventing accidental touch start-up provided in an embodiment of the present application;
[0050] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0052] With the upgrading of electronic products, the method of unlocking devices using biometric information (fingerprints, palm prints) has gradually replaced the password unlocking method in the power-on system of electronic devices. Among them, identifying the touch action of the target object is a key step in unlocking the device using the biometric information of the target object (for example, in the prior art, a fingerprint recognition area is set under the screen of the mobile phone to verify the identity information of the unlocking user). At present, it is generally judged whether the user has the intention to unlock by judging whether the induction amount of the touch screen exceeds the threshold. The principle that the induction amount of the pressed area on the touch screen increases when the touch screen is pressed is used to judge whether to wake up the screen to start the next step of biometric information collection.
[0053] However, the inventors found during the research process that when the recognition algorithm mechanism is used as the only wake-up standard in the prior art, the wake-up mechanism may be triggered by mistake due to the collection of erroneous data, causing the device to turn on. For example, during the ESD detection of the touch screen (the ESD standard is a specific requirement for the electrostatic discharge protection control system based on ISO9001), the screen sensing quantity collected by the sensor may change, so there is a possibility of false triggering of the power-on action. Based on this, the present invention provides a startup method, which is applied to a terminal, such as Figure 1 As shown, the method includes:
[0054] Step S101, obtaining the sensing amount of the touch area in the terminal, and determining whether the sensing amount meets the device startup condition;
[0055] In the embodiment of the present invention, the sensing amount is used to represent the touch amount of the touch area, and the sensing amount (Difdata) is a value used to represent the state change amplitude of the touch area in the terminal. In actual applications, the action of obtaining the sensing amount of the touch area in the terminal is completed by the IC circuit in the terminal. Specifically, the sensor in the IC circuit collects the state amount of the touch area as basic data (Basedata), and then the chip in the IC circuit (such as TDDI) subtracts the raw data (Rawdata) collected by the sensor in the next frame from the basic data to obtain the sensing amount reflecting the state change amplitude of the touch area, and then sets the current raw data as the basic data, continues to collect the raw data of the next frame and makes a difference, so as to calculate the sensing amount repeatedly.
[0056] In actual applications, when no one touches the touch area on the terminal, the sensing amount does not change. When someone presses the touch area with a finger or palm, the sensing amount changes. This feature can be used as an initial judgment condition for starting the terminal.
[0057] If yes, executing step S102, obtaining a compensation capacitance value for indicating the force degree of the touch area;
[0058] In an embodiment of the present invention, when the sensing quantity meets the device startup condition, the IC circuit can be used to collect the compensation capacitance value (Cneg value) used to represent the degree of force applied to the touch area, wherein the compensation capacitance value can directly reflect the degree of force applied to the touch area, that is, it can directly and accurately determine whether the touch area is subjected to force at the physical level, and the situation in which the device is started due to electromagnetic interference or dirty data can be ruled out.
[0059] Step S103, determining a false touch judgment result according to the sensing amount and the compensation capacitance value;
[0060] In practical applications, the sensing amount is the state value of the touch area collected by the IC circuit, and the compensation capacitance value is the force degree value of the touch area collected by the IC circuit. Further, by determining whether the pressure change area corresponds to the state change area, false triggering can be avoided, or by comparing the mapping relationship between the pressure change area and the state change area to determine whether there is a false trigger. The specific settings can be determined according to the actual situation.
[0061] Step S104: If the false touch judgment result is not a false touch trigger, control the terminal to start up.
[0062] In an embodiment of the present invention, if the false touch judgment result is a false touch trigger, the compensation capacitance value collected by the IC circuit compensation sensor can be used to update the original data so that the subsequent original data and sensing quantity return to normal and ensure normal use by the user.
[0063] The embodiment of the present application obtains the sensing amount of the touch area in the terminal and determines whether the sensing amount meets the device startup condition; when the sensing amount meets the device startup condition, obtains the compensation capacitance value used to represent the force degree of the touch area; determines the false touch judgment result according to the sensing amount and the compensation capacitance value, and by obtaining the compensation capacitance value of the force degree of the touch area, the pressure area in the physical touch area can be determined, and combined with the sensing amount to determine whether the startup device instruction is a false trigger, which can effectively avoid the problem of false triggering of the wake-up mechanism due to the collection of erroneous data.
[0064] The conventional palm pressure startup process generally only adopts a single data level recognition algorithm, while the present invention obtains the compensation capacitance value used to represent the force degree of the touch area, and can determine the pressure area in the physical touch area, so as to avoid the terminal startup being triggered by the wrong data collected. Therefore, it is further possible to determine whether the pressure change area corresponds to the state change area. Specifically, as in step S103, the step of determining the false touch judgment result according to the induction amount and the compensation capacitance value is as follows. Figure 2 As shown, including:
[0065] Step S201, determining a first reference touch area in the touch area corresponding to the sensing amount;
[0066] Step S202, determining a second reference touch area in the touch area corresponding to the compensation capacitance value;
[0067] Step S203: determining a false touch judgment result according to the first reference touch area and the second reference touch area.
[0068] In an embodiment of the present invention, a specific method for determining a false touch judgment result based on the sensing amount and the compensation capacitance value is to determine whether the pressure change area corresponds to the state change area, that is, first determine the first reference touch area in the touch area corresponding to the sensing amount, and then determine the second reference touch area in the touch area corresponding to the compensation capacitance value. The order of executing the steps in the embodiment of the present invention is variable, and the above process is only an enumeration. The final purpose is to determine whether the actual pressure change area is the touch state change area collected by the IC circuit by comparing the first reference touch area and the second reference touch area, so as to solve the false triggering problem caused by data collection errors in combination with the compensation capacitance value.
[0069] Furthermore, due to the different layout designs of IC circuits, there is often a mapping relationship between the collected compensation capacitance value and the induction value. Based on this, step S203 is a step of determining the false touch judgment result according to the first reference touch area and the second reference touch area, such as Figure 3 As shown, including:
[0070] Step S301, obtaining a preset mapping relationship;
[0071] In an embodiment of the present invention, a mapping relationship may be provided by a manufacturer of an IC circuit, and the mapping relationship is used to represent the correspondence between the sensing quantity and the compensation capacitance value. In practical applications, the array composed of the compensation capacitance values collected by the sensor in the IC circuit often does not correspond to the array composed of the sensing quantity. For example, the element in the i-th row and j-th column of the compensation capacitance array corresponds to the first module in the touch control area, while the element in the i-th row and j-th column of the sensing quantity array corresponds to the second module in the touch control area.
[0072] Step S302, converting the second reference touch area into a standard touch area according to the mapping relationship;
[0073] In an embodiment of the present invention, in order to make the corresponding position elements and modules in the first reference touch area and the second reference touch area correspond to each other, the second reference touch area is converted into a standard touch area according to the mapping relationship so that the arrangement pattern of the standard touch area is the same as that of the first reference area.
[0074] Step S303: determining a false touch judgment result according to the standard touch area and the first reference touch area.
[0075] In the embodiment of the present invention, the second reference touch area is converted into a standard touch area according to the mapping relationship, so as to directly determine whether the standard touch area and the first reference touch area correspond to the same touch area (screen module).
[0076] Further, step S303 is a step of determining a false touch judgment result according to the standard touch area and the first reference touch area, such as Figure 4 As shown, including:
[0077] Step S401, if the standard touch area is not located in a preset edge area of the touch area, traverse a plurality of compensation capacitance values in the standard touch area;
[0078] In an embodiment of the present invention, the edge area is an area that at least includes modules at the edge (top, bottom, rightmost, leftmost) of the touch area, but is not limited to only the top, bottom, rightmost, and leftmost modules, and for the case where the standard touch area is not located in the preset edge area of the touch area, multiple compensation capacitance values in the standard touch area are traversed (i.e., traversal starts from the first row and first column in the compensation capacitance array of the standard touch area).
[0079] Step S402, when it is determined that the compensation capacitance value meets a preset condition, determining the compensation capacitance value as a starting compensation capacitance value;
[0080] In an embodiment of the present invention, the preset condition can be determined based on a posteriori knowledge, that is, the compensation capacitance value of the pressed area in the touch area is recorded during multiple implementations. When the compensation capacitance value is found to be within the preset condition range, the compensation capacitance value can be determined as the starting compensation capacitance value to further determine the pressing range.
[0081] Furthermore, in another embodiment of the present invention, a preferred setting implementation manner of a preset condition is also provided, and the preset condition includes one of the following:
[0082] The difference between the currently traversed compensation capacitance value and the traversed compensation capacitance value in the compensation capacitance value array and located in the same column and / or the same row is greater than a first preset threshold;
[0083] The difference between the currently traversed compensation capacitance value and the traversed compensation capacitance value in the compensation capacitance value array and located in the same column and / or the same row is greater than a second preset threshold, wherein the second preset threshold is less than the first preset threshold.
[0084] For example, Figure 5 As shown, for example, the first preset threshold is 2, and the compensation capacitance value is traversed from the first row and the first column until the seventh row is traversed. When traversing to the sixth column of the eighth row, "50" in the sixth column of the eighth row is greater than "47" in the fifth column of the eighth row that has been traversed, and greater than "47" in the sixth column of the seventh row, that is, the difference between the compensation capacitance value currently traversed and the compensation capacitance value that has been traversed and is located in the same column and / or the same row is greater than the first preset threshold.
[0085] Similarly, the second preset threshold value needs to be smaller than the first preset threshold value. In order to ensure the universality of the algorithm, it can be determined according to the empirical value. The specific implementation method is as described above. Specifically, in practical applications, it is possible to traverse to the middle part (for example, the 17th row and the 18th row). If the current compensation capacitance and the traversed compensation capacitance values are sequentially subtracted, the algorithm complexity will be increased. Therefore, preferably, the preset conditions are as follows:
[0086] Condition 1: CnegNew(i,j)-CnegNew(i-1,j)>CnegNewRowGap
[0087] Condition 2: CnegNew(i,j)-CnegNew(i-2,j)>CnegNewRowGap
[0088] Condition 3: CnegNew(i,j)-CnegNew(i,j-1)>CnegNewRowGap
[0089] Condition 4: CnegNew(i,j)-CnegNew(i,j-1)>CnegNewColGap
[0090] Condition 5: CnegNew(i, j)<CnegNew(i+1, j)
[0091] Wherein, CnegNew(i, j) is the compensation capacitance value of the i-th row and j-th column in the standard touch area, and CnegNewRowGap and CnegNewColGap are preset thresholds;
[0092] Accordingly, the step of determining whether the compensation capacitance value meets a preset condition includes:
[0093] Determine the position of the compensation capacitance value in the standard touch area as CnegNew(i, j);
[0094] If the compensation capacitance value satisfies condition 1, condition 3 and condition 5, it is determined that the compensation capacitance value satisfies a preset condition;
[0095] Alternatively, if the compensation capacitance value satisfies condition 2, condition 3, and condition 5, it is determined that the compensation capacitance value satisfies a preset condition;
[0096] Alternatively, if the compensation capacitance value satisfies condition 1, condition 4, and condition 5, it is determined that the compensation capacitance value satisfies a preset condition;
[0097] Alternatively, if the compensation capacitance value satisfies condition 2, condition 4, and condition 5, it is determined that the compensation capacitance value satisfies a preset condition.
[0098] Wherein, i and j are both positive integers.
[0099] In this step, since the compensation capacitance values of different touch modules (display screens) are different, the embodiment of the present invention compares the current compensation capacitance value in the traversal mechanism with the adjacent compensation capacitance value. While achieving the purpose of quickly determining whether the current compensation capacitance value is the edge of the pressed area, it also improves the universality of the algorithm and can be applied to different touch modules.
[0100] Step S403, in the standard touch area, calculating the number of compensation capacitance values greater than the initial compensation capacitance value in four quadrants centered on the initial compensation capacitance value to obtain an initial compensation capacitance;
[0101] In the embodiment of the present invention, a rectangular coordinate system (such as Figure 5 As shown, the area traversed is taken as "50" as the initial compensation capacitance value), and the number of compensation capacitance values with the same numerical value as the initial compensation capacitance value is counted to obtain the initial compensation capacitance.
[0102] Step S404, calculating the similarity of the first reference touch area;
[0103] Step S405: if the similarity of the first reference touch area is greater than a first similarity threshold, and the initial compensation capacitance is greater than a maximum compensation capacitance reference value corresponding to the first similarity threshold, then determining that the false touch judgment result is not a false touch trigger.
[0104] In the embodiment of the present invention, the similarity is calculated as follows: data set A = (i, j, R), data set B = (i, j, D), then the similarity of three-dimensional data sets A and B is
[0105]
[0106] Among them, i, j and n are all positive integers, R is the original data, that is, R = (x1, x2, x3, ..., xn-1, xn); D is the sensing amount, that is, D = (y1, y2, y3, ..., yn-1, yn). The embodiment of the present invention can determine whether there is a palm pressing and the size of the pressing area based on the similarity. In theory, the larger the single sensing amount (pressing force), the larger the touch area (the raised part in the compensation capacitance value array), and the greater the similarity between the two. According to the similarity, it can be judged whether to enter the processing mechanism (that is, corresponding to different compensation capacitance) under different pressing situations (such as large-area palm pressing, or light touch by a single finger, etc.).
[0107] Among them, the maximum compensation capacitor reference (Cneghith value) is an a posteriori empirical value, and the corresponding minimum compensation capacitor reference (Cnegloth value) is also provided. Specifically, both the Cnegloth value and the Cneghith value can be determined according to the actual configuration of the terminal, and it is usually required that the Cneghith value is greater than the Cnegloth value.
[0108] In addition, if the similarity of the first reference touch area is greater than the second similarity threshold and less than the first similarity threshold, determining whether the initial compensation capacitance is greater than a preset minimum compensation capacitance reference value corresponding to the second similarity threshold;
[0109] If the initial compensation capacitance is greater than a preset minimum compensation capacitance reference value, the false touch judgment result is determined to be a non-false touch trigger.
[0110] In the embodiment of the present invention, taking into account the situation where the user presses lightly, in order to ensure the accuracy of false trigger detection, a second similarity threshold that is less than the first similarity threshold and a Cnegloth value that is less than the Cneghith value are further provided. The execution process is the same as the above embodiment and will not be repeated here. The specific process can refer to the above embodiment. The purpose is to provide the minimum guarantee conditions for triggering the start. The specific parameters can be determined based on a posteriori knowledge, and the embodiment of the present invention does not make specific limitations on this.
[0111] In an embodiment of the present invention, if the standard touch area is located in a preset edge area of the touch area, and the similarity between the first reference touch area and the standard touch area is greater than a preset similarity threshold, then the false touch judgment result is determined to be a non-false touch trigger;
[0112] In an embodiment of the present invention, for the case where the standard touch area is located in a preset edge area of the touch area, since it is impossible to compare the compensation capacitance value in the standard touch area with the adjacent value (if it is at the edge, there is no adjacent value) according to the preset conditions, the false touch judgment result can be directly determined as a non-false touch trigger.
[0113] However, in actual applications, even if the standard touch area is located in the preset edge area of the touch area, different condition combinations can be set to determine whether the currently traversed compensation capacitance value is a raised edge value (starting compensation capacitance value).
[0114] For example: Assume that the edge area is the edge row at the top, bottom, left and right, and the number of rows and columns is (i, j), where i∈(0, RowMax), j∈(0, ColMax). If it is at the left edge (i.e., i∈(1, RowMax-1), j=0), then determine whether conditions 1 and 5 are met; if it is at the top edge (i.e., j∈(1, ColMax-1), i=0), then determine whether conditions 3, 4, and 5 are met; if it is at the right edge (i.e., i∈(1, RowMax-1), j=ColMax), then determine whether conditions 1, 3, 4, and 5 are met; if it is at the bottom edge (i.e., j∈(1, RowMax-1) , i=RowMax), then determine whether conditions 1, 2, 3, and 4 are met; if it is in the upper left corner (i=0, j=0), then determine whether condition 5 is met; if it is in the upper right corner (i=0, j=ColMax), then determine whether conditions 3, 4, and 5 are met; if it is in the lower left corner (i=RowMax, j=0), then determine whether conditions 1 and 2 are met; if it is in the lower right corner (i=0, j=ColMax), then determine whether conditions 1, 2, 3, and 4 are met. In the above cases, if they are met, it is set as the compensation capacitance value to determine the starting compensation capacitance value, and the subsequent processing flow is equivalent to the non-edge area, which will not be repeated here.
[0115] In another embodiment of the present invention, step S101 is a step of determining whether the sensing quantity satisfies a device startup condition. Figure 6 As shown, including:
[0116] Step S601, determining whether the sensing amount is greater than a preset sensing amount threshold;
[0117] In the embodiment of the present invention, the sensing amount threshold is a threshold value determined based on a posteriori knowledge. In practical applications, the sensing amount (Difdata) is a value used to represent the amplitude of the state change of the touch area in the terminal. In practical applications, the action of obtaining the sensing amount of the touch area in the terminal is completed by the IC circuit in the terminal. Specifically, the sensor in the IC circuit collects the state amount of the touch area as basic data (Basedata), and then the chip in the IC circuit (such as TDDI) subtracts the raw data (Rawdata) collected by the sensor in the next frame from the basic data to obtain the sensing amount reflecting the amplitude of the state change of the touch area, and then sets the current raw data as the basic data, continues to collect the raw data of the next frame and makes a difference, and calculates the sensing amount in a reciprocating manner.
[0118] The embodiment of the present invention can exclude the pressing situation of daily non-active touch behavior (such as being squeezed in a pocket) by preliminarily determining whether the sensing amount is greater than a preset sensing amount threshold.
[0119] If yes, step S602, determining whether the number of frames for which the sensing amount is greater than a preset sensing amount threshold is greater than a preset time length;
[0120] In the embodiment of the present invention, in order to avoid the situation where the sensing amount suddenly changes due to instantaneous pressing, a step is provided to determine whether the number of frames that lasts when the sensing amount is greater than a preset sensing amount threshold is greater than a preset duration.
[0121] If so, in step S603, it is determined whether the similarity feature of the sensing quantity meets a similarity feature threshold.
[0122] In an embodiment of the present invention, if the number of frames that continue when the sensing amount is greater than the preset sensing amount threshold is greater than the preset time length, the method for calculating the similarity can refer to the above embodiment and will not be repeated here. According to the theory that the larger the sensing amount (pressing force) of a single sensor, the larger the touch area (the more sensors are pressed), the greater the similarity between the two. The similarity is used to determine whether to enter the processing mechanism under different pressing situations (such as large-area pressing of the palm, or light touching of a single finger, etc.).
[0123] In another embodiment of the present invention, a device for preventing accidental touch start is provided, which is applied to a terminal, such as Figure 7 As shown, including:
[0124] A first acquisition module 01 is used to acquire the sensing amount of the touch area in the terminal and determine whether the sensing amount meets the device startup condition, wherein the sensing amount is used to represent the touch amount of the touch area;
[0125] A second acquisition module 02, used for acquiring a compensation capacitance value representing the force degree of the touch area when the sensing quantity meets the device startup condition;
[0126] A determination module 03, configured to determine a false touch judgment result according to the sensing amount and the compensation capacitance value;
[0127] The control module 04 is configured to control the terminal to start up if the false touch judgment result is not a false touch trigger.
[0128] In another embodiment of the present invention, there is also provided an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0129] Memory, used to store computer programs;
[0130] The processor is used to implement the startup method described in the method embodiment when executing the program stored in the memory.
[0131] In the electronic device provided by the embodiment of the present invention, the processor executes the program stored in the memory to obtain the sensing amount of the touch area in the terminal and judge whether the sensing amount meets the device startup condition; when the sensing amount meets the device startup condition, obtain the compensation capacitance value used to represent the force degree of the touch area; determine the false touch judgment result according to the sensing amount and the compensation capacitance value; if the false touch judgment result is not a false touch trigger, control the terminal to start, by obtaining the compensation capacitance value of the force degree of the touch area, the pressure area in the physical touch area can be determined, and combined with the sensing amount to judge whether the startup device instruction is a false trigger, which can effectively avoid the problem of false triggering of the wake-up mechanism due to the collection of erroneous data.
[0132] The communication bus 1140 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0133] The communication interface 1120 is used for communication between the above electronic device and other devices.
[0134] The memory 1130 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0135] The above-mentioned processor 1110 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0136] In another embodiment of the present invention, a computer-readable storage medium is provided, on which a program of the information transmission method is stored. When the program of the information transmission method is executed by a processor, the steps of the startup method described in the method embodiment are implemented.
[0137] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidStateDisk (SSD)), etc.
[0138] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0139] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A startup method, applied to a terminal, characterized in that: The method comprises: Acquire the sensing amount of the touch area in the terminal, and determine whether the sensing amount meets the device startup condition, wherein the sensing amount is used to represent the touch amount of the touch area; When the sensing quantity meets the device startup condition, obtaining a compensation capacitance value for indicating the force degree of the touch area; Determine a false touch judgment result according to the sensing amount and the compensation capacitance value; If the false touch judgment result is not a false touch trigger, controlling the terminal to start; The step of determining the false touch judgment result according to the induction amount and the compensation capacitance value includes: Determine a first reference touch area in the touch area corresponding to the sensing amount; Determine a second reference touch area in the touch area corresponding to the compensation capacitance value; Determine a false touch judgment result according to the first reference touch area and the second reference touch area; The step of determining a false touch judgment result according to the first reference touch area and the second reference touch area includes: Acquire a preset mapping relationship, where the mapping relationship is used to represent a corresponding relationship between the induction quantity and the compensation capacitance value; Converting the second reference touch area into a standard touch area according to the mapping relationship, wherein the arrangement mode of the standard touch area is the same as that of the first reference area; Determine a false touch judgment result according to the standard touch area and the first reference touch area; The step of determining the false touch judgment result according to the standard touch area and the first reference touch area includes: If the standard touch area is located in a preset edge area of the touch area, and the similarity between the first reference touch area and the standard touch area is greater than a preset similarity threshold, then determining that the false touch judgment result is a non-false touch trigger; If the standard touch area is not located in a preset edge area of the touch area, traverse a plurality of compensation capacitance values in the standard touch area; When it is determined that the compensation capacitance value meets the preset condition, determining the compensation capacitance value as the starting compensation capacitance value; In the standard touch area, the number of compensation capacitance values greater than the starting compensation capacitance value in four quadrants centered on the starting compensation capacitance value is calculated to obtain the starting compensation capacitance; Calculating the similarity of the first reference touch area; If the similarity of the first reference touch area is greater than a first similarity threshold, and the initial compensation capacitance is greater than a maximum compensation capacitance reference value corresponding to the first similarity threshold, then determining that the false touch judgment result is a non-false touch trigger; The startup method further includes: If the similarity of the first reference touch area is greater than the second similarity threshold and less than the first similarity threshold, determining whether the initial compensation capacitance is greater than a preset minimum compensation capacitance reference value corresponding to the second similarity threshold; If the initial compensation capacitance is greater than the preset minimum compensation capacitance reference value, the false touch judgment result is determined to be a non-false touch trigger; The preset condition includes one of the following: The difference between the currently traversed compensation capacitance value and the traversed compensation capacitance value in the compensation capacitance value array and located in the same column and / or the same row is greater than a first preset threshold; The difference between the currently traversed compensation capacitance value and the traversed compensation capacitance value in the compensation capacitance value array and located in the same column and / or the same row is greater than a second preset threshold, wherein the second preset threshold is less than the first preset threshold.
2. The startup method according to claim 1, characterized in that: The step of determining whether the sensing quantity meets the device startup condition comprises: Determining whether the sensing amount is greater than a preset sensing amount threshold; If the sensing amount is greater than a preset sensing amount threshold, determining whether the number of frames for which the sensing amount is greater than the preset sensing amount threshold is greater than a preset duration; If the number of frames for which the sensing amount is greater than a preset sensing amount threshold is greater than a preset duration, it is determined whether the similarity feature of the sensing amount meets the similarity feature threshold.
3. A device, applied to a terminal, characterized in that: include: A first acquisition module, configured to acquire a sensing amount of a touch area in the terminal and determine whether the sensing amount meets a device startup condition, wherein the sensing amount is used to represent a touch amount of the touch area; A second acquisition module, configured to acquire a compensation capacitance value indicating a force level of the touch area when the sensing quantity meets the device startup condition; A determination module, used to determine a false touch judgment result according to the sensing amount and the compensation capacitance value; A control module, configured to control the terminal to start up if the false touch judgment result is not a false touch trigger; The device executes the method described in any one of claims 1 to 2.
4. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.
5. A computer-readable medium having a non-volatile program code executable by a processor, characterized in that: The program code enables the processor to execute the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Fingerprint detection method and device and mobile terminal
CN106873849A
Fingerprint recognition control method, mobile terminal, and storage medium
CN108108683A
Fingerprint acquisition method and apparatus, electronic device and storage medium
CN108921134A
Application notification processing method and device, storage medium and electronic equipment
CN110109549A
Fingerprint identification method, electronic device and storage medium
CN110555333A
