WO2018036120A1 - 一种设备控制方法及装置 - Google Patents

一种设备控制方法及装置 Download PDF

Info

Publication number
WO2018036120A1
WO2018036120A1 PCT/CN2017/074393 CN2017074393W WO2018036120A1 WO 2018036120 A1 WO2018036120 A1 WO 2018036120A1 CN 2017074393 W CN2017074393 W CN 2017074393W WO 2018036120 A1 WO2018036120 A1 WO 2018036120A1
Authority
WO
WIPO (PCT)
Prior art keywords
average
preset
threshold
difference
deviation
Prior art date
Application number
PCT/CN2017/074393
Other languages
English (en)
French (fr)
Inventor
尹瀚
董建飞
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to KR1020197008089A priority Critical patent/KR20190042047A/ko
Priority to EP17842546.8A priority patent/EP3499356A4/en
Publication of WO2018036120A1 publication Critical patent/WO2018036120A1/zh
Priority to US16/283,199 priority patent/US20190188370A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Definitions

  • the present invention relates to the field of data processing, and in particular, to a device control method and apparatus.
  • terminals such as mobile phones and iPads have become more and more popular. These terminals can realize functions such as communication and storage. People can use these terminals to communicate with each other and store phone numbers and private files on these terminals. And other information.
  • the user sets a pattern password or a symbol (number, letter, punctuation, etc.) password as an unlock password in advance on the terminal. Once these unlock passwords are compromised, others can use the unlock password to unlock the terminal.
  • the embodiment of the invention provides an unlocking method and device, so as to reduce the risk that the privacy stored by the user in the terminal is leaked.
  • an embodiment of the present invention provides a device control method, which is applied to a terminal, where the method includes: acquiring an operation rhythm feature when an operation gesture on the touch screen of the terminal passes through at least one preset area; The operation rhythm features of the preset area are respectively matched with the corresponding preset rhythm features to obtain a matching result; when the matching result of all the preset areas satisfies the execution condition, the terminal is controlled to perform the operation corresponding to the operation gesture Preset action.
  • the touch screen of the terminal may be a capacitive touch screen or a resistive touch screen.
  • the operation gesture may be a pattern password, a symbol (number, letter, punctuation, etc.) password, etc.
  • the preset action corresponding to the operation gesture may be an unlock operation, a lock screen operation, or the like.
  • the user needs to perform the setting operation in advance. Specifically, the user needs to perform a specific operation such as clicking, sliding, etc.
  • the historical verification operation gesture, and the history verification operation gesture input multiple times passes through the same button area, and the key area that the multiple history verification operation gesture passes is the preset area described in the embodiment of the present invention.
  • the operation rhythm feature of each of the preset regions corresponds to a preset rhythm feature
  • the operation rhythm feature may include: a temporal feature and/or a spatial feature
  • the operational rhythm feature is used for Representing the biological habits of the user performing the operational gesture, which may be calculated based on temporal features and/or location features of the plurality of historical verification operational gestures.
  • each preset rhythm feature is obtained according to the temporal feature and/or the position feature calculation of the plurality of historical verification operation gestures, each preset rhythm feature may reflect the biological habit of the user who is set in advance in the corresponding preset region. Therefore, when the technical solution of the embodiment of the present invention determines whether the matching result of all the preset areas meets the preset condition, whether the user who performs the operation gesture and the user who performs the setting operation in advance is determined by the biological habit of the user. For the same user.
  • the technical solution of the embodiment of the present invention performs the preset action corresponding to the operation gesture only when the user who performs the operation gesture and the user who performs the setting operation in advance are the same user. Therefore, the technical solution of the embodiment of the present invention can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the terminal first acquires an operation rhythm feature when the operation gesture on the touch screen of the terminal passes through at least one preset area, and respectively selects an operation rhythm feature of each of the preset areas and a corresponding preset rhythm feature. After the matching is performed, a matching result is obtained. When the matching result of all the preset areas meets the execution condition, the terminal is controlled to perform a preset action corresponding to the operation gesture.
  • the technical solution of the present invention matches the operation rhythm features of each preset area on which the operation gesture on the touch screen of the terminal is matched with the corresponding preset rhythm features to obtain a matching result, and only the matching result of all the preset areas is obtained. When the execution condition is satisfied, the preset action corresponding to the operation gesture is performed on the terminal.
  • the terminal performs a preset operation, that is, the technical solution of the present invention can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the operating rhythm feature includes: a spatial feature; and acquiring an operation rhythm feature when the operation gesture on the touch screen of the terminal passes through the at least one preset region, including: Obtaining coordinate coordinates of the plurality of touch points on the operation gesture and boundary coordinates of each of the preset regions; determining, by interpolation, entry coordinates and/or leaving coordinates of each of the preset regions Entering the entry coordinates and/or the departure coordinates of each of the preset regions as spatial features corresponding to the preset regions.
  • the operation gesture corresponding to the implementation is a pattern password.
  • position coordinates of one touch point may be acquired at a specific length on the operation gesture, or may be performed on the operation gesture. Get the position coordinates of a touch point for a specific length of time. And then using the acquired position coordinates of the plurality of touch points in combination with the boundary coordinates of each of the preset regions, using interpolation method to determine the entering coordinates and/or leaving coordinates of the operation gesture through each of the preset regions, and The entering coordinates and/or the leaving coordinates of each of the preset areas are determined to correspond to spatial features of the preset area.
  • the entry coordinates and/or the departure coordinates of each of the preset regions are more or less different when different users perform the same operation gesture, the entry coordinates and/or the departure coordinates of each of the preset regions may be Reflects the biological habits of the user performing the gesture of operation. It should be noted that, in the implementation of the implementation manner, the touch points acquired on the operation gesture need to be sufficient, so that the terminal can according to the acquired position coordinates of the multiple touch points and each preset.
  • the boundary coordinates of the region determine the entry coordinates and/or the exit coordinates of the operational gesture through each of the predetermined regions using interpolation.
  • the operating rhythm features of each of the preset regions are respectively matched with the corresponding preset rhythm features.
  • the matching result includes: calculating a first distance between the entry coordinates of each of the preset regions and the corresponding preset entry coordinates, and/or calculating a departure coordinate of each of the preset regions and a corresponding preset And leaving a second distance between the coordinates; and calculating the first distance and/or the second distance calculated by each of the preset regions as a matching result.
  • the preset entering coordinates and/or the preset leaving coordinates of each of the preset areas are preset tempo features of the same preset area.
  • the preset entry coordinates of each of the preset areas are average entry coordinates obtained by averaging the entry coordinates of each of the preset areas by a plurality of historical verification operation gestures, and pre-preparations of each of the preset areas Letting the leaving coordinates be the average leaving coordinates obtained by averaging the departure coordinates of each of the preset areas for a plurality of historical verification operation gestures.
  • a first distance between an entry coordinate of each of the preset regions and a corresponding preset entry coordinate is calculated, and/or a departure coordinate of each of the preset regions and a corresponding preset departure coordinate are calculated.
  • the second distance between the user performing the operation gesture and the user performing the setting operation may implement a comparison of the biological habits in each of the preset areas, and subsequently determine that the matching result of all the preset areas is satisfied. Conditions are convenient.
  • the third possible implementation in the first aspect includes: calculating an average value of all the first distances to obtain a first average distance; determining whether the first average distance is smaller than a first average distance. a threshold, the first average distance threshold is obtained by calculating an average of all first distances corresponding to each historical verification operation gesture, and averaging the calculated plurality of average values; when the first average distance is When less than the first average distance threshold, it is determined that the matching result of all the preset areas satisfies the execution condition.
  • the first average distance corresponding to each historical verification operation gesture is calculated, and then the plurality of first average distances obtained are averaged to obtain a first average distance threshold. Since the first average distance threshold is obtained by averaging a plurality of first average distances corresponding to the plurality of historical verification operation gestures, the first average distance threshold can represent a deviation range of the user performing the setting operation when performing the setting operation . Therefore, when the first average distance is smaller than the first average distance threshold, indicating that the operation gesture is within a deviation range allowed by the multiple history verification operation gesture, and determining the user who performs the operation gesture and performing setting The user who operates is the same user. Therefore, the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the method further includes: calculating all the second distances An average value of the second average distance; determining whether the second average distance is less than a second average distance threshold, wherein the second average distance threshold is an average of all second distances corresponding to each historical verification operation gesture And calculating the obtained plurality of average values again; and when the second average distance is smaller than the second average distance threshold, determining that the matching result of all the preset regions satisfies an execution condition.
  • the second average distance corresponding to each historical verification operation gesture is calculated, and then the plurality of second average distances obtained are averaged to obtain a second average distance threshold. Since the second average distance threshold is obtained by averaging a plurality of second average distances corresponding to the plurality of historical verification operation gestures, the second average distance threshold can represent a deviation range of the setting operation user when performing the operation gesture . Therefore, when the second average distance is smaller than the second average distance threshold, indicating that the operation gesture is within a deviation range allowed by the multiple history verification operation gesture, and determining the user who performs the operation gesture and performing setting The user who operates is the same user. Therefore, the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the method further includes: calculating all the first distances The average value of the first average distance is obtained; the average of all the second distances is calculated to obtain a second average distance; whether the first average distance is smaller than the first average distance threshold, and the second average is determined Whether the distance is smaller than the second average distance threshold; when the first average distance is smaller than the first average distance threshold, and the second average distance is smaller than the second average distance threshold, determining that the matching result of all the preset areas satisfies execution condition.
  • the first average distance and the second average distance of all the preset regions are simultaneously determined, only when the first average distance is smaller than the first average distance threshold, and the second average distance is smaller than
  • the second average distance threshold is determined, it is determined that the matching result of all the preset areas satisfies the execution condition, that is, the user who performs the operation gesture and the user who performs the setting operation are determined to be the same user. Therefore, the present embodiment can further reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the operation rhythm feature includes: a time feature; and acquiring an operation rhythm feature when the operation gesture on the touch screen of the terminal passes through the at least one preset area, including: Obtaining coordinate coordinates of the plurality of touch points on the operation gesture and boundary coordinates of each of the preset regions; determining, by interpolation, entry coordinates and/or leaving coordinates of each of the preset regions Obtaining an entry time corresponding to the entry coordinates of each of the preset areas and/or an exit time corresponding to the departure coordinates; determining an entry time and/or a departure time interval of each of the preset areas as corresponding to the preset area Time characteristics.
  • the operation gesture corresponding to the implementation manner is still a pattern password.
  • the entry coordinates of each of the preset regions are corresponding.
  • the entry time and/or the departure time corresponding to the departure coordinate are determined as the temporal characteristics of the corresponding preset area.
  • the operation gesture may be calculated according to the entry time and/or the departure time of each of the preset areas through each of the preset areas.
  • the speed of each other when different users perform the same operation gesture, the speed of each of the preset areas is more or less different, so the entry time and/or departure time of each of the preset areas may reflect the execution operation. Gesture of the user's biological habits.
  • the operating rhythm features of each of the preset regions are respectively matched with the corresponding preset rhythm features.
  • Matching the result comprising: calculating a first time interval between the departure time and the entry time of each of the preset areas, and/or calculating the operation gesture in each of the operation gesture sliding directions a second time interval between the preset area and the next adjacent preset area; calculating a first time difference between the first time interval of each of the preset areas and the corresponding first time threshold, And/or calculating a second time difference between the second time interval of each of the preset areas and the corresponding second time threshold; calculating the first time difference value of each of the preset areas and / or the second time difference as a match result.
  • the first time threshold and/or the second time threshold of each of the preset areas is a preset rhythm feature of the same preset area.
  • the first time threshold of each of the preset areas is an average first time interval obtained by averaging the first time intervals of each of the preset areas by a plurality of historical verification operation gestures
  • each of the pre- The second time threshold of the region is an average second time interval obtained by averaging the second time interval of each of the preset regions by a plurality of historical verification operation gestures.
  • the first time interval of each of the preset areas is equal to the difference between the departure time and the entry time of the preset area
  • the second time interval of each of the preset areas is equal to the departure of the preset area.
  • the difference between the moment and the entry moment of the next adjacent preset area is calculated, and/or each of the preset regions is calculated. Comparing the second time difference between the second time interval and the corresponding second time threshold to achieve a comparison of the biological habits of the user performing the preset operation gesture and the user performing the setting operation in each of the preset areas It is convenient for the subsequent judgment that the matching result of all the preset regions satisfies the execution condition.
  • the method further includes: calculating all the first time The average of the difference values is obtained to obtain a first average time difference value; determining whether the first average time difference value is smaller than a first average time difference value threshold, and the first average time difference value threshold is calculated by calculating each historical verification operation An average of all the first time differences corresponding to the gestures, and averaging the calculated plurality of average values; and determining, when the first average time difference is less than the first average time difference threshold The matching result of the preset area satisfies the execution condition.
  • the first average time difference value corresponding to each historical verification operation gesture is calculated, and the plurality of first average time difference values obtained are averaged to obtain a first average time difference threshold. Since the first average time difference threshold is obtained by averaging a plurality of first average time differences corresponding to the plurality of historical verification operation gestures, the first average time difference threshold can be characterized by performing the setting operation by the user. The range of deviation when manipulating gestures. Therefore, when the first average distance is smaller than the first average distance threshold, indicating that the operation gesture is within a deviation range allowed by the multiple history verification operation gesture, and determining the user who performs the operation gesture and performing setting The user who operates is the same user. Therefore, the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the method further includes: calculating all the second time The average of the differences is obtained to obtain a second average time difference value; determining whether the second average time difference value is smaller than a second average time difference threshold value, and the second average time difference value threshold is calculated by calculating each historical verification operation An average of all the second time differences corresponding to the gesture, and averaging the calculated plurality of average values; and when the second average time difference is less than the second average time difference threshold, determining all The matching result of the preset area satisfies the execution condition.
  • the second average time difference value corresponding to each historical verification operation gesture is calculated, and the obtained second average time difference values are averaged to obtain a second average time difference threshold. Since the second average time difference threshold is obtained by averaging a plurality of second average time differences corresponding to the plurality of historical verification operation gestures, the second average time difference threshold can be characterized by the user performing the setting operation. The range of deviation when the gesture is operated. Therefore, when the second average distance is smaller than the second average distance threshold, indicating that the operation gesture is within a deviation range allowed by the multiple history verification operation gesture, and determining the user who performs the operation gesture and performing setting The user who operates is the same user. Therefore, the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the method further includes: calculating all the first time An average value of the differences, a first average time difference value is obtained; an average value of all the second time difference values is calculated to obtain a second average time difference value; and determining whether the first average time difference value is less than the first average time value a difference threshold, and determining whether the second average time difference is less than a second average time difference threshold; when the first average time difference is less than a first average time difference threshold, and the second average time difference When the value is less than the second average time difference threshold, it is determined that the matching result of all the preset areas satisfies the execution condition.
  • the first average time difference and the second average time difference of all the preset regions are simultaneously determined, only when the first average time difference is smaller than the first average time difference threshold, and When the second average time difference is less than the second average time difference threshold, it is determined that the matching result of all the preset areas meets the execution condition, that is, the user who performs the operation gesture and the user who performs the setting operation are determined as The same user. Therefore, the present embodiment can further reduce the risk that the privacy stored by the user in the terminal is leaked.
  • Obtaining a matching result comprising: calculating a first time interval between the leaving time and the entering time of each of the preset areas; calculating a sum of all the first time intervals to obtain a first total time interval; calculating each of the pre-preparations Setting a first ratio of the first time interval of the region to the first total time interval; calculating a first ratio difference between the first ratio of each of the preset regions and the corresponding first ratio threshold, each The first ratio threshold corresponding to the preset area is an average value of all first ratios calculated by the plurality of historical verification operation gestures in the same preset area; and/or; calculating the sliding direction of the operation gesture a second time interval when the operation gesture slides between each of the preset areas and a next adjacent preset area; calculating a sum of all the second time intervals to obtain a
  • the first ratio threshold and/or the second ratio threshold of each of the preset regions is a preset rhythm feature of the same preset region.
  • the first ratio threshold of each of the preset areas is passed And an average first ratio obtained by averaging the first ratio of each of the preset regions by the plurality of historical verification operation gestures, and the second ratio threshold of each of the preset regions is by performing a gesture for multiple history verification operations An average second ratio obtained after averaging the second ratio of each of the predetermined regions.
  • the first time interval of each of the preset areas is equal to the difference between the departure time and the entry time of the preset area, and the second time interval of each of the preset areas is equal to the departure of the preset area.
  • a second ratio difference between the corresponding second ratio thresholds is used to compare the biological habits of the user performing the preset operation gesture and the user performing the setting operation in each of the preset regions, for subsequent determination of all the It is convenient to provide a matching result of the preset area to satisfy the execution condition.
  • the method further includes: calculating all the foregoing An average of the ratio difference values to obtain a first average ratio difference value; determining whether the first average ratio difference value is smaller than a first average ratio difference threshold value, wherein the first average ratio difference value threshold is calculated by calculating each history Verifying an average of all the first ratio differences corresponding to the operation gestures, and averaging the calculated plurality of average values; and determining when the first average ratio difference is smaller than the first average ratio difference threshold The matching result of all the preset areas satisfies the execution condition.
  • the first average ratio difference value corresponding to each historical verification operation gesture is calculated, and then the obtained plurality of first average ratio differences are averaged to obtain a first average ratio difference threshold. Since the first average ratio difference threshold is obtained by averaging a plurality of first average ratio differences corresponding to the plurality of historical verification operation gestures, the first average ratio difference threshold can be characterized by performing the setting operation by the user. The range of deviation when manipulating gestures. Therefore, when the first average ratio difference is smaller than the first average ratio difference threshold, indicating that the operation gesture is within a deviation range allowed by the plurality of history verification operation gestures, thereby determining that the operation gesture is performed. The user and the user who performs the setup operation are the same user. Therefore, the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the method further includes: Sorting a ratio difference, and calculating a first limit rhythm deviation of the operation gesture according to the sort result; determining whether a difference between the first limit rhythm deviation and the first preset limit rhythm deviation is less than the first deviation a threshold value, where the first deviation threshold is a maximum difference obtained by obtaining a difference between the first limited tempo deviation corresponding to the plurality of historical verification operation gestures and the first preset limit tempo deviation, respectively When the difference between the limit cadence deviation and the first preset limit tempo deviation is less than the first deviation threshold, it is determined that the matching result of all the preset regions satisfies the execution condition.
  • the two first ratio difference values that are ranked first in the positive number and first in the last number are divided into one group, and the ranking is located in the second and last numbers of the positive numbers.
  • the second two first ratio difference values are divided into a group, and so on, all the first ratio difference values are grouped, and then the square of the difference between the two first ratio differences in each group is obtained, and finally the difference between the groups is obtained.
  • the squared summation can be used to obtain the first limited rhythm deviation of the operational gesture.
  • the operation gesture passes through a total of six preset regions, and the first ratio differences of the six preset regions are sd1, sd2, sd3, sd4, sd5, and sd6, respectively, and the ascending order is sd1 ⁇ sd2 ⁇ sd3 ⁇ sd4 ⁇ sd5 ⁇ sd6, the first limited tempo deviation of the operation gesture is equal to (sd6-sd1) 2 +(sd5-sd2) 2 +(sd4-sd3) 2 .
  • the number of the first ratio difference is an odd number, the remaining one of the first ratio differences may be discarded, or the method of directly obtaining the difference between the first ratio difference and zero may be obtained.
  • the first preset limit tempo deviation is equal to an average value of the first limit cadence deviation corresponding to the multiple history verification operation gestures.
  • the first deviation threshold value in the implementation manner is the maximum difference obtained by obtaining the absolute difference between the first thresholding rhythm deviation corresponding to the plurality of historical verification operation gestures and the first preset limiting rhythm deviation, so The first deviation threshold can be indicative of an allowable range in which the user performing the setting operation deviates from the first preset limit rhythm deviation when performing the operation gesture.
  • the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the implementation takes into account the difference between the statistical result of the user's multiple operations (multiple historical verification operation gestures) and the result of each operation of the user when the user performs the operation gesture, so the judgment result of the implementation manner is more accurate and can be The risk of the user's stored privacy in the terminal being compromised is further reduced.
  • the method further includes: calculating all the foregoing An average of the two ratio differences to obtain a second average ratio difference; determining whether the second average ratio difference is smaller than a second average ratio difference threshold, wherein the second average ratio difference threshold is calculated by calculating each history Verifying an average of all second ratio differences corresponding to the operation gestures, and averaging the calculated plurality of average values; and determining when the second average ratio difference is smaller than the second average ratio difference threshold
  • the matching result of all the preset areas satisfies the execution condition.
  • the second average ratio difference value corresponding to each historical verification operation gesture is calculated, and the obtained second average ratio difference values are averaged to obtain a second average ratio difference threshold.
  • the second average ratio difference threshold is a plurality of second average ratio differences corresponding to the plurality of historical verification operation gestures The values are averaged, so the second average ratio difference threshold can characterize the deviation range of the user performing the set gesture when performing the setup operation. Therefore, when the second average ratio difference is smaller than the second average ratio difference threshold, indicating that the operation gesture is within a deviation range allowed by the multiple history verification operation gesture, and determining that the operation gesture is performed The user and the user who performs the setup operation are the same user. Therefore, the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the method further includes: And calculating a second limit difference tempo deviation of the operation gesture according to the sort result; determining whether a difference between the second limit tempo deviation and the second preset limit tempo deviation is less than a second deviation a threshold value, where the first deviation threshold is a maximum difference obtained by obtaining a difference between the first limited tempo deviation corresponding to the plurality of historical verification operation gestures and the first preset limit tempo deviation respectively; When the difference between the second limit rhythm deviation and the second preset limit rhythm deviation is less than the second deviation threshold, it is determined that the matching result of all the preset regions satisfies the execution condition.
  • the two second ratio differences that are ranked first in the positive number and first in the last number are divided into one group, and the ranking is located in the second and last numbers of the positive numbers.
  • the second two ratio difference values are divided into a group, and so on, all the second ratio differences are grouped, and then the square of the difference between the two second ratio differences in each group is obtained, and finally the difference between the groups is obtained.
  • the squared summation results in a second limited rhythm deviation of the operational gesture.
  • the operation gesture passes through a total of six preset regions, and the second ratio differences of the six preset regions are sd1, sd2, sd3, sd4, sd5, and sd6, respectively, and the ascending order is sd1 ⁇ sd2 ⁇ sd3 ⁇ sd4 ⁇ sd5 ⁇ sd6, the second limited tempo deviation of the operation gesture is equal to (sd6-sd1) 2 +(sd5-sd2) 2 +(sd4-sd3) 2 .
  • the number of the second ratio difference is an odd number, the remaining one of the second ratio differences may be discarded, or the method of directly obtaining the difference between the second ratio difference and zero may be obtained.
  • the second preset limit tempo deviation is equal to an average of the second limit cadence deviation corresponding to the plurality of historical verification operation gestures.
  • the second deviation threshold in the implementation manner is the maximum difference obtained by obtaining the absolute difference between the second thresholding rhythm deviation corresponding to the plurality of historical verification operation gestures and the second preset limiting rhythm deviation, so The second deviation threshold can represent an allowable range in which the user performing the setting operation deviates from the second preset limit rhythm deviation when performing the operation gesture.
  • the present embodiment can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the user who performs the operation gesture and performs the setting operation are judged by comparing the difference between the difference between the second limit-limit tempo deviation and the second preset limit-loop cadence deviation and the second difference threshold. Whether the user is the same user. That is, the implementation takes into account the difference between the statistical result of the user's multiple operations (multiple historical verification operation gestures) and the result of each operation of the user when the user performs the operation gesture, so the judgment result of the implementation manner is more accurate and can be The risk of the user's stored privacy in the terminal being compromised is further reduced.
  • the method further includes: calculating all the foregoing An average value of the ratio difference is obtained, a first average ratio difference is obtained; an average of all the second ratio differences is calculated to obtain a second average ratio difference; and determining whether the first average ratio difference is smaller than the first An average ratio difference threshold, and determining whether the second average ratio difference is less than a second average ratio difference threshold; when the first average ratio difference is less than a first average ratio difference threshold, and the second average When the ratio difference is smaller than the second average ratio difference threshold, it is determined that the matching result of all the preset regions satisfies the execution condition.
  • the first average ratio difference and the second average ratio difference of all the preset regions are simultaneously determined, only when the first average ratio difference is smaller than the first average ratio difference threshold, and When the second average ratio difference is smaller than the second average ratio difference threshold, it is determined that the matching result of all the preset areas meets the execution condition, that is, the user who performs the operation gesture and the user who performs the setting operation are determined as The same user. Therefore, the present embodiment can further reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the method further includes: Sorting a ratio difference, and calculating a first limited rhythm deviation of the operation gesture according to the sorting result; sorting all the second ratio differences, and calculating a second limit of the operation gesture according to the sorting result a rhythm deviation; determining whether a difference between the first limited rhythm deviation and the first preset limit rhythm deviation is less than a first deviation threshold, and determining the second limited rhythm deviation and a second preset limit rhythm deviation Whether the difference is less than the second deviation threshold; when the difference between the first thresholding rhythm deviation and the first preset limit rhythm deviation is less than the first deviation threshold, and the second limiting rhythm deviation and the second pre- When the difference between the limit rhythm deviations is less than the second deviation threshold, it is determined that the matching result of all the preset regions satisfies the execution condition.
  • the first limited rhythm deviation and the second limited rhythm deviation of the operation gesture are simultaneously determined, and only when the first limited rhythm deviation is different from the first preset limit rhythm deviation
  • the difference between the second thresholding rhythm deviation and the second preset limit rhythm deviation is less than the second deviation threshold, determining that the matching result of all the preset regions meets the execution condition, that is, It is determined that the user who performs the operation gesture and the user who performs the setting operation are the same user. Therefore, the present embodiment can further reduce the risk that the privacy stored by the user in the terminal is leaked.
  • a time when each of the preset areas is clicked may be defined as an entry time of the preset area, and a time of leaving each of the preset areas is defined as the preset area. The moment of departure.
  • the device control method implemented by using the time feature in the embodiment of the present invention is implemented.
  • the definition of each threshold in the foregoing embodiment may be replaced to form a new implementation.
  • the first average distance threshold in the third possible implementation manner of the first aspect may be defined as the largest one of the plurality of first average distances corresponding to the plurality of historical verification operation gestures;
  • the first average time difference threshold in the seventh possible implementation manner of the aspect is defined as the smallest one of the plurality of first average time differences corresponding to the plurality of historical verification operation gestures, and the like.
  • the matching result of all the preset areas meets the execution condition
  • the first distance threshold is equal to an average value of the first distances of the plurality of historical verification operation gestures in the same preset area
  • the second distance threshold is equal to the second distance of the plurality of historical verification operation gestures in the same preset area. average value.
  • the number threshold can be set according to the number of preset areas and privacy protection requirements. The more the number of preset areas, the higher the privacy protection requirements and the larger the number threshold. For example, when there are 3 preset areas, the first preset number threshold may be set to 2; when there are 6 preset areas, the first preset number threshold may be set to 4; when there are 6 preset areas and When the privacy protection requirement is high, the first preset number threshold may be set to 5.
  • the matching of all the preset areas may be jointly determined by combining the time feature and the spatial feature.
  • the result satisfies the execution condition, and only when the time feature and the spatial feature indicate that the user who performs the operation gesture and the user who performs the setting operation are the same user, it is determined that the matching result of all the preset regions satisfies the execution condition.
  • the deviation range of the time feature and the spatial feature may also be integrated, and all the pre-determinations are determined according to the combined result.
  • the matching result of the region satisfies the execution condition, for example, calculating a ratio of the first average distance to the first average distance threshold to obtain a value, and calculating a ratio of the first average time difference value to the first time difference threshold value to another value Determining all of the preset regions when the sum of the two values is less than an average of the plurality of sums corresponding to the plurality of historical verification operation gestures The matching result satisfies the execution condition.
  • the value corresponding to the time feature ( That is, the ratio of the first average time difference value to the first average time difference threshold value is equipped with an adjustment coefficient that is positively correlated with the operation speed (eg, the base value of the adjustment coefficient is set to 1, and the operation speed of the operation gesture is multiple times each time)
  • the average operation speed of the historical verification operation gesture is 10% faster or slower, and the adjustment coefficient is increased by 0.05 or minus 0.05).
  • the product of the adjustment coefficient and the value corresponding to the time characteristic is the final value corresponding to the time feature.
  • an embodiment of the present invention provides a device control apparatus, where the apparatus includes a module for performing the method steps of the first aspect and the implementation manners of the first aspect.
  • an embodiment of the present invention provides a terminal, including: a touch screen and a processor; the processor is configured to acquire, by using the touch screen, an operation rhythm feature when an operation gesture on the touch screen of the terminal passes through at least one preset area; The processor is further configured to: match an operation rhythm feature of each of the preset regions to a corresponding preset rhythm feature to obtain a matching result; when a matching result of all the preset regions meets an execution condition, Controlling the terminal to perform a preset action corresponding to the operation gesture.
  • FIG. 1 is a schematic diagram of a password setting scenario of a mobile phone according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an unlocking scenario of a mobile phone according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a device control method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of another device control method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of still another device control method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of still another device control method according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of still another device control method according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a device control apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a structural block diagram of a mobile phone according to an embodiment of the present invention.
  • the user pre-sets a “Z”-shaped pattern password on the nine-square grid pattern of the mobile phone display according to the prompt on the mobile phone, and when the user needs to unlock the mobile phone, the mobile phone again You can unlock it by entering the zigzag pattern on the nine-square grid pattern on the display.
  • the unlocking method can protect the privacy of the user from being leaked.
  • the attacker can know the "Z"-shaped unlock pattern by peeking, and can also know the "Z"-shaped unlock pattern according to the smear trace left on the mobile phone when the user inputs the pattern password, and can also hit the collision pattern.
  • the way of the library ie, the user uses the "Z” shaped unlock pattern in other occasions and is known by the attacker
  • the attacker can unlock the user's terminal according to the known "Z"-shaped unlock pattern, thereby viewing the user's privacy, resulting in leakage of user privacy.
  • the present invention has studied this problem, and the inventors found in the research that when different users input the same pattern password, the passing positions of the respective preset areas (such as the circular areas through which the "Z"-shaped pattern passes in FIG. 1) Different rules are presented, and different users have different rules in the time rhythm of each preset area when inputting the same pattern password. For example, referring to the "Z"-shaped pattern password input by the user A and the user B in FIG.
  • the present invention provides a device control method.
  • the device control method uses the previously discovered rules to determine whether a user performing an operation gesture such as unlocking or locking a screen and a user performing a setting operation are the same user, and only when unlocking,
  • an operation gesture such as unlocking or locking a screen and a user performing a setting operation are the same user, and only when unlocking.
  • the preset action corresponding to the operation gesture (such as unlocking, lock screen, etc.) is executed.
  • FIG. 3 is a flowchart of a method for controlling a device according to an embodiment of the present invention.
  • the embodiment of the present invention is specifically applied to a terminal that can set a pattern password or a symbol password, such as a mobile phone or an ipad.
  • the embodiment may include the following steps:
  • step S310 an operation rhythm feature when the operation gesture on the touch screen of the terminal passes through at least one preset area is acquired.
  • the terminal touch screen may be a suitable device such as a capacitive touch screen or a resistive touch screen, and the operation gesture may be a pattern password, a symbol (number, letter, punctuation, etc.) password.
  • the user needs to perform the setting operation in advance. Specifically, the user needs to perform a specific operation such as clicking, sliding, etc.
  • the history verification operation gesture, and the history verification operation gesture input multiple times passes through the same button area, and the button area that the multiple history verification operation gesture passes is the preset area described in the embodiment of the present invention, and the preset area
  • the number is at least one.
  • the shape of each of the preset regions in FIG. 1 and FIG. 2 is a circular shape.
  • the shape of each preset region may also be other graphics, for example, The present invention is not limited thereto, and is a square, a triangle, a pentagonal star, or the like.
  • the operational cadence features of each of the predetermined regions may include: temporal features and/or spatial features.
  • the time feature of each of the preset areas may include an entry time of the operation gesture into the preset area and/or an departure time of the operation gesture from the preset area, and each of the preset areas
  • the position feature may include an entry position of the operation gesture into the preset area and/or an exit position of the operation gesture away from the preset area. Referring to the "Z"-shaped operation gesture input by the user A or the user B in FIG.
  • each person has more or less difference in the entry position and the departure position of each of the preset areas when performing the same operation gesture. Therefore, the entry position and/or the exit position of each of the preset areas can characterize the biological habits of the user performing the operation gesture.
  • the speed of the operation gesture in the preset area may be obtained, and the speed of each person is different, so each of the pre-presences It is also possible to set the entry and/or departure time of the region to characterize the biological habits of the user performing the operational gesture.
  • the entry time, departure time, entry position and departure position here can be defined according to actual conditions.
  • the operation gesture and the first intersection of each preset area may be used as the entry position of the preset area.
  • the second intersection of the operation gesture and each preset area is used as the departure position of the preset area, and the time corresponding to the entry position is taken as the entry time, and the time corresponding to the departure position is taken as the departure time.
  • the step S310 can obtain the operation rhythm features of each of the preset regions in multiple manners. The following describes the manners for acquiring the time features and the spatial features:
  • the operational rhythm feature comprises: a spatial feature.
  • step S310 can include:
  • the entering coordinates and/or the leaving coordinates of each of the preset areas are determined to correspond to spatial features of the preset area.
  • the operation gesture corresponding to the implementation is a pattern password.
  • the position coordinates of one touch point may be acquired every specific length or every specific length of time on the operation gesture.
  • a touch point may be recorded every 1 mm, 2 mm according to actual conditions, and the position coordinates of the touch point may be acquired, or a touch point may be recorded every 0.03 s, 0.06 s, and the position coordinates of the touch point may be acquired.
  • the specific length or the specific duration may be determined according to the preset area size and the interval between the preset areas.
  • the determining principle is that the terminal can use the interpolation according to the acquired position coordinates of the multiple touch points and the boundary coordinates of each preset area.
  • the method determines an entry gesture and/or a departure coordinate of the operational gesture through each of the predetermined regions.
  • the line segments may be used to connect adjacent touch points of the plurality of touch points to find a boundary intersecting each preset region.
  • the line segment extracts the position coordinates of the corresponding touch point, and then calculates the entry coordinates and/or the departure coordinates of each preset area by interpolation according to the extracted position coordinates of the touch point and the boundary coordinates of the preset area.
  • the following describes the second preset area on the operation gesture.
  • the fifth line segment and the seventh line segment respectively intersect at the second preset area, and then extract Position coordinates of touch points at both ends of the fifth and seventh line segments, and then calculating the second preset area by interpolation according to the boundary coordinates of the second preset area and the position coordinates of the touch points at both ends of the fifth line segment Entering the coordinates, calculating the leaving coordinates of the second preset area by using the interpolation method according to the boundary coordinates of the second preset area and the position coordinates of the touch points at the two ends of the seventh line segment.
  • the operating rhythm feature includes: a time feature.
  • step S310 can include:
  • the entry time and/or departure time of each of the preset areas is determined as a time feature corresponding to the preset area.
  • the corresponding operation gesture is also a pattern password.
  • the implementation needs to acquire the touch moment of each touch point.
  • the touch moments of the touch points utilized when calculating the entering coordinates and/or leaving the coordinates and using the calculation to enter the coordinates and/or leaving are utilized.
  • the distance between the touch point utilized in the coordinates and the entry coordinates and/or the departure coordinates is calculated as the entry time corresponding to the entry coordinates and/or the departure time corresponding to the departure coordinates.
  • the calculation of the entry time of each preset area is taken as an example.
  • the touch points used when calculating the entering coordinates are P and Q, and the touch moments corresponding to P and Q are respectively T1 and T2, and the P distance is calculated by calculation.
  • the touch time corresponding to P is taken as the corresponding entering time.
  • the ratio is taken as the touch time T1 of the touched point P and the time between the incoming time and the touched time T2 of the touched point Q.
  • Enter the ratio of the duration between the moments and then calculate the entry moment of the preset area.
  • the entry time and/or departure time of each of the preset areas is determined as a time feature corresponding to the preset area.
  • each of the preset regions may be acquired by using other methods.
  • the operational rhythm characteristics For example, for a symbol password, the time when the user clicks on each preset area may be used as the entry time of the preset area, and the time of leaving each preset area is taken as the departure time of the preset area; The position of the preset area serves as an entry position or an exit position of the preset area.
  • step S310 acquires an operation rhythm feature of all preset regions through which the operation gesture passes.
  • the operation rhythm feature of the partial preset area through which the operation gesture passes may be acquired.
  • the operation tempo feature of the preset area at the corner of the "Z"-shaped operation gesture shown in FIG. 1 or FIG. 2 is taken as an example for description.
  • the angle threshold may be 70 degrees, 80 degrees, 90 degrees, or the like.
  • the third preset area and the fifth preset may be respectively searched.
  • the position coordinates of the point, and then the interpolation coordinates and/or the departure coordinates of the third (fifth) preset area are calculated by interpolation according to the extracted position coordinates of the touched point and the third (fifth) preset area.
  • step S320 the operation rhythm features of each of the preset regions are respectively matched with the corresponding preset rhythm features to obtain a matching result.
  • step S320 corresponds to different implementation manners according to different operating rhythm features. The following distances are explained:
  • the step S320 may include the following steps:
  • the first distance and/or the second distance calculated by each of the preset areas is used as a matching result.
  • the step S320 may include the following steps, in the second specific implementation manner of step S320, when the entry time and/or the departure time of each of the preset areas are determined as the time features of the corresponding preset area. :
  • the first time difference value and/or the second time difference value calculated by each of the preset areas is used as a matching result.
  • the step S320 may include the following steps:
  • the first ratio difference and/or the second ratio difference calculated by each of the preset areas are used as a matching result.
  • the first ratio and the second ratio actually reflect the relative tempo of the operation gesture in each preset area.
  • the speed at which the user performs the same operation gesture in different states is likely to be different, and the relative time of the operation gesture in each preset region (ie, the first ratio and the second ratio) is relatively stable, so the steps are
  • the third specific implementation manner of the S320 is compared with the second specific implementation manner, wherein the first ratio and/or the second ratio of each of the preset regions are more capable of embodying the habit of performing the preset operation user, each The first ratio threshold and/or the second ratio threshold of the preset area are also more responsive to the habit of setting the operation user. Therefore, it is more reasonable to use the first ratio difference and/or the second ratio difference calculated by each of the preset regions as a matching result, and the comparison of the biological habit characteristics is more accurate.
  • step S330 when the matching result of all the preset areas satisfies the execution condition, the terminal is controlled to perform a preset action corresponding to the operation gesture.
  • the terminal determines whether the matching result of all the preset areas meets the execution condition according to the matching result of each preset area.
  • the control terminal performs a preset operation (such as an unlocking operation, a lock screen operation, and the like) corresponding to the operation gesture.
  • a preset operation such as an unlocking operation, a lock screen operation, and the like
  • determining all preset areas Whether the matching result satisfies the execution condition may include the following steps:
  • step S410 an average of all the first distances is calculated to obtain a first average distance.
  • step S420 it is determined whether the first average distance is smaller than a first average distance threshold.
  • the first average distance threshold is obtained by calculating an average of all the first distances corresponding to each historical verification operation gesture, and averaging the calculated plurality of average values again.
  • step S430 it is determined that the matching result of all the preset areas satisfies an execution condition.
  • step S440 it is determined that the matching result of all the preset areas does not satisfy the execution condition.
  • the specific implementation manner shown in FIG. 4 is to determine whether the matching result of all the preset areas meets the execution condition by using the first distance of each of the preset areas as a matching result. It can be understood that, similarly, the second distance of each of the preset areas is used as a matching result to determine whether the matching result of all the preset areas meets the execution condition, and even the first of each of the preset areas may be simultaneously A distance and a second distance are used as a matching result to determine whether the matching result of all the preset areas meets the execution condition. Since the determining process is similar to the specific implementation manner shown in FIG. 4, details are not described herein again.
  • Whether the matching result of the preset area satisfies the execution condition may include the following steps:
  • step S510 an average of all the first time difference values is calculated to obtain a first average time difference value.
  • step S520 it is determined whether the first average time difference value is smaller than a first average time difference threshold.
  • the first average time difference threshold is obtained by calculating an average of all the first time differences corresponding to each historical verification operation gesture, and averaging the calculated plurality of average values again.
  • step S530 it is determined that the matching result of all the preset areas satisfies the execution condition.
  • step S540 it is determined that the matching result of all the preset areas does not satisfy the execution condition.
  • the specific implementation manner shown in FIG. 5 is to determine whether the matching result of all the preset areas meets the execution condition by using the first time difference value of each of the preset areas as a matching result. It can be understood that the second time difference value of each of the preset areas can be similarly used as a matching result to determine whether the matching result of all the preset areas meets the execution condition, and even each of the preset areas can be simultaneously First time difference and number The two time difference values are used as the matching result to determine whether the matching result of all the preset areas meets the execution condition.
  • the judgment process is similar to the specific implementation mode shown in FIG. 5, and details are not described herein again.
  • Whether the matching result of the preset area satisfies the execution condition may include the following steps:
  • step S610 an average of all the first ratio difference values is calculated to obtain a first average ratio difference value.
  • step S620 it is determined whether the first average ratio difference is smaller than the first average ratio difference threshold.
  • the first average ratio difference threshold is obtained by calculating an average value of all first ratio differences corresponding to each history verification operation gesture, and averaging the calculated plurality of average values again;
  • step S630 it is determined that the matching result of all the preset regions satisfies the execution condition.
  • step S640 it is determined that the matching result of all the preset regions does not satisfy the execution condition.
  • the specific implementation manner shown in FIG. 6 is to determine whether the matching result of all preset regions meets the execution condition by using the first ratio difference value of each of the preset regions as a matching result. It can be understood that the second ratio difference value of each of the preset regions can be similarly used as a matching result to determine whether the matching result of all the preset regions meets the execution condition, and even each of the preset regions can be simultaneously The first ratio difference and the second ratio difference are used as the matching result to determine whether the matching result of all the preset areas meets the execution condition. Since the judgment process is similar to the specific implementation manner shown in FIG. 6, it will not be described here.
  • Whether the matching result of the preset area satisfies the execution condition may include the following steps:
  • step S710 all of the first ratio difference values are sorted, and a first limited rhythm deviation of the operation gesture is calculated according to the sorting result.
  • step S720 it is determined whether the difference between the first limited rhythm deviation and the first preset limit rhythm deviation is less than the first deviation threshold.
  • the first deviation threshold is a maximum difference obtained by obtaining a difference between the first limited tempo deviation corresponding to the plurality of historical verification operation gestures and the first preset limit tempo deviation respectively;
  • step S730 it is determined that the matching result of all the preset regions satisfies the execution condition.
  • step S740 it is determined that the matching result of all the preset regions does not satisfy the execution condition.
  • the specific implementation manner shown in FIG. 7 is to determine whether the matching result of all the preset regions meets the execution condition by using the first ratio difference value of each of the preset regions as a matching result. It can be understood that the second ratio difference value of each of the preset regions can be similarly used as a matching result to determine whether the matching result of all the preset regions meets the execution condition, and even each of the preset regions can be simultaneously The first ratio difference and the second ratio difference are used as the matching result to determine whether the matching result of all the preset areas meets the execution condition. Since the judgment process is similar to the specific implementation manner shown in FIG. 7, it will not be described here.
  • the terminal first acquires an operation rhythm feature when the operation gesture on the touch screen of the terminal passes through at least one preset area, and respectively selects an operation rhythm feature of each of the preset areas and a corresponding preset rhythm feature. After the matching is performed, a matching result is obtained. When the matching result of all the preset areas meets the execution condition, the terminal is controlled to perform a preset action corresponding to the operation gesture.
  • the technical solution of the present invention matches the operation rhythm features of each preset area on which the operation gesture on the touch screen of the terminal is matched with the corresponding preset rhythm features to obtain a matching result, and only the matching result of all the preset areas is obtained. When the execution condition is satisfied, the preset action corresponding to the operation gesture is performed on the terminal.
  • the terminal performs a preset operation, that is, the technical solution of the present invention can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the embodiment of the present invention further provides a device control device.
  • FIG. 8 is a schematic structural diagram of a device control apparatus according to an embodiment of the present invention.
  • the device is configured to execute the device control method as shown in FIG. 3-7, and is applied to a terminal that can set a pattern password or a symbol password, such as a mobile phone or an ipad.
  • the apparatus can include an acquisition module 810, a matching module 820, and a control module 830.
  • the obtaining module 810 is configured to acquire an operation rhythm feature when the operation gesture on the touch screen of the terminal passes through at least one preset area;
  • the matching module 820 is configured to match the operation rhythm features of each of the preset regions with the corresponding preset rhythm features to obtain a matching result;
  • the control module 830 is configured to control when a matching result of all the preset areas meets an execution condition.
  • the terminal performs a preset action corresponding to the operation gesture.
  • the terminal first acquires an operation rhythm feature when the operation gesture on the touch screen of the terminal passes through at least one preset area, and respectively selects an operation rhythm feature of each of the preset areas and a corresponding preset rhythm feature. After the matching is performed, a matching result is obtained. When the matching result of all the preset areas meets the execution condition, the terminal is controlled to perform a preset action corresponding to the operation gesture.
  • the technical solution of the present invention matches the operation rhythm features of each preset area on which the operation gesture on the touch screen of the terminal is matched with the corresponding preset rhythm features to obtain a matching result, and only the matching result of all the preset areas is obtained. When the execution condition is satisfied, the preset action corresponding to the operation gesture is performed on the terminal.
  • the terminal performs a preset operation, that is, the technical solution of the present invention can reduce the risk that the privacy stored by the user in the terminal is leaked.
  • the operation rhythm feature includes: a spatial feature; the acquiring module 810 is specifically configured to acquire a position coordinate of each of the plurality of touch points on the operation gesture, and each of the locations Determining boundary coordinates of the preset area; determining, by interpolation, entry coordinates and/or leaving coordinates of each of the preset areas; entering coordinates and/or leaving coordinates of each of the preset areas Determined to correspond to the spatial characteristics of the preset area.
  • the matching module 820 is specifically configured to calculate a first distance between an entry coordinate of each of the preset regions and a corresponding preset entry coordinate, and/ Or calculating a second distance between the departure coordinates of each of the preset regions and the corresponding preset departure coordinates; using the first distance and/or the second distance calculated by each of the preset regions as a match result.
  • the number of the preset areas is at least two, and the apparatus further includes: a first calculating module, a first determining module, and a first determining module.
  • the first calculation module is configured to calculate an average value of all the first distances to obtain a first average distance
  • the first determining module is configured to determine whether the first average distance is smaller than a first average distance threshold, where the first average distance threshold is an average value of all first distances corresponding to each historical verification operation gesture, and A plurality of calculated average values are averaged again;
  • the first determining module is configured to determine that a matching result of all the preset regions meets an execution condition when the first average distance is less than a first average distance threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: a second calculating module, a second determining module, and a second determining module.
  • the second calculating module is configured to calculate an average value of all the second distances to obtain a second average distance
  • the second determining module is configured to determine whether the second average distance is smaller than a second average distance threshold, where the second average distance threshold is an average value of all second distances corresponding to each historical verification operation gesture. A plurality of calculated average values are averaged again;
  • the second determining module is configured to determine that a matching result of all the preset regions satisfies an execution condition when the second average distance is less than a second average distance threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: a third calculating module, a third determining module, and a third determining module.
  • the third calculating module is configured to calculate an average value of all the first distances to obtain a first average distance; calculate an average value of all the second distances to obtain a second average distance;
  • the third determining module is configured to determine whether the first average distance is less than a first average distance threshold, and determine whether the second average distance is less than a second average distance threshold;
  • the third determining module is configured to: when the first average distance is less than the first average distance threshold, and the second average distance is less than the second average distance threshold, determine that the matching result of all the preset areas meets an execution condition .
  • the operation rhythm feature includes: a time feature; the acquiring module 810 is specifically configured to acquire position coordinates of each of the plurality of touch points on the operation gesture, and each location Determining the boundary coordinates of the preset area; determining, by using an interpolation method, the entering coordinates and/or leaving coordinates of the operation gesture through each of the preset areas; acquiring an entry time corresponding to the entering coordinates of each of the preset areas, and And/or leaving the departure time corresponding to the coordinates; determining the entry time and/or departure time of each of the preset areas as the time feature of the corresponding preset area.
  • the matching module 820 is specifically configured to calculate a first time interval between a departure time and an entry time of each of the preset areas, and/or Calculating, in the sliding direction of the operation gesture, a second time interval when the operation gesture slides between each of the preset regions and a next adjacent preset region; calculating a first of each of the preset regions Calculating a first time difference between the time interval and the corresponding first time threshold, and/or calculating a second time difference between the second time interval of each of the preset areas and the corresponding second time threshold And calculating, as a matching result, the first time difference value and/or the second time difference value calculated by each of the preset areas.
  • the number of the preset areas is at least two, and the apparatus further includes: a fourth calculating module, a fourth determining module, and a fourth determining module.
  • the fourth calculation module is configured to calculate an average value of all the first time difference values to obtain a first An average time difference
  • the fourth determining module is configured to determine whether the first average time difference value is smaller than a first average time difference threshold, where the first average time difference threshold is calculated by calculating all the first corresponding to each historical verification operation gesture The average of the time differences, and the calculated multiple averages are averaged again;
  • the fourth determining module is configured to determine that a matching result of all the preset regions meets an execution condition when the first average time difference value is less than a first average time difference threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: a fifth calculating module, a fifth determining module, and a fifth determining module.
  • the fifth calculating module is configured to calculate an average value of all the second time difference values to obtain a second average time difference value
  • the fifth determining module is configured to determine whether the second average time difference value is smaller than a second average time difference threshold, and the second average time difference threshold is calculated by calculating all the seconds corresponding to each historical verification operation gesture. The average of the time differences, and the calculated multiple averages are averaged again;
  • the fifth determining module is configured to determine that a matching result of all the preset regions satisfies an execution condition when the second average time difference value is less than a second average time difference threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: a sixth calculating module, a sixth determining module, and a sixth determining module.
  • the sixth calculating module is configured to calculate an average value of all the first time difference values to obtain a first average time difference value, and calculate an average value of all the second time difference values to obtain a second average time difference. value;
  • the sixth determining module is configured to determine whether the first average time difference value is less than a first average time difference threshold, and determine whether the second average time difference is less than a second average time difference threshold;
  • the sixth determining module is configured to determine, when the first average time difference value is less than a first average time difference threshold, and the second average time difference is less than a second average time difference threshold, Let the matching result of the region satisfy the execution condition.
  • the matching module 820 is specifically configured to calculate a first time interval between an exit time and an entry time of each of the preset areas; calculate all the first time a sum of intervals, obtaining a first total time interval; calculating a first ratio of the first time interval of each of the preset regions to the first total time interval; calculating a first ratio of each of the preset regions a first ratio difference between the corresponding first ratio thresholds, and the first ratio threshold corresponding to each of the preset regions is all the first calculated by the plurality of historical verification operation gestures in the same preset region An average of the ratios; and/or; calculating the sliding direction of the operation gesture, the operation gesture being in each of the preset regions and next a second time interval when sliding between adjacent preset areas; calculating a sum of all the second time intervals to obtain a second total time interval; calculating a second time interval of each of the preset areas and the a second ratio of the second total time interval; calculating a second ratio difference
  • the number of the preset areas is at least two, and the apparatus further includes: a seventh calculating module, a seventh determining module, and a seventh determining module.
  • the seventh calculation module is configured to calculate an average value of all the first ratio difference values to obtain a first average ratio difference value
  • the seventh determining module is configured to determine whether the first average ratio difference value is smaller than a first average ratio difference threshold, where the first average ratio difference threshold is calculated by calculating all the first corresponding to each historical verification operation gesture The average of the difference values, and the calculated multiple averages are averaged again;
  • the seventh determining module is configured to determine that a matching result of all the preset regions satisfies an execution condition when the first average ratio difference is smaller than a first average ratio difference threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: an eighth calculating module, an eighth determining module, and an eighth determining module.
  • the eighth calculating module is configured to sort all the first ratio difference values, and calculate a first limited rhythm deviation of the operation gesture according to the sorting result;
  • the eighth determining module is configured to determine whether a difference between the first limited tempo deviation and the first preset limit tempo deviation is less than a first deviation threshold, where the first deviation threshold is a multiple history verification operation gesture corresponding to a maximum difference obtained by obtaining a difference between the first limiting rhythm deviation and the first preset limiting rhythm deviation;
  • the eighth determining module is configured to determine that a matching result of all the preset regions satisfies an execution condition when a difference between the first limited rhythm deviation and the first preset limit rhythm deviation is less than a first deviation threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: a ninth calculation module, a ninth determination module, and a ninth determination module.
  • the ninth calculation module is configured to calculate an average value of all the second ratio difference values to obtain a second average ratio difference value
  • the ninth judging module is configured to determine whether the second average ratio difference is smaller than a second average ratio a difference threshold, wherein the second average ratio difference threshold is obtained by calculating an average of all second ratio differences corresponding to each history verification operation gesture, and averaging the calculated plurality of average values again;
  • the ninth determining module is configured to determine that a matching result of all the preset regions satisfies an execution condition when the second average ratio difference is smaller than a second average ratio difference threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: a tenth calculation module, a tenth determination module, and a tenth determination module.
  • the tenth calculation module is configured to sort all the second ratio difference values, and calculate a second limited rhythm deviation of the operation gesture according to the sorting result;
  • the tenth determining module is configured to determine whether a difference between the second limited tempo deviation and the second preset tempo deviation is less than a second deviation threshold, where the second deviation threshold is a multiple history verification operation gesture corresponding to a maximum difference obtained by subtracting an absolute value difference from the second preset limit rhythm deviation;
  • the tenth determining module is configured to determine that a matching result of all the preset regions satisfies an execution condition when a difference between the second limited tempo deviation and the second preset tempo deviation is less than a second deviation threshold.
  • the number of the preset areas is at least two, and the apparatus further includes: an eleventh calculation module, an eleventh judgment module, and an eleventh determination module. .
  • the eleventh calculation module is configured to calculate an average value of all the first ratio difference values to obtain a first average ratio difference value, and calculate an average value of all the second ratio difference values to obtain a second average ratio value.
  • the eleventh judging module is configured to determine whether the first average ratio difference is smaller than a first average ratio difference threshold, and determine whether the second average ratio difference is smaller than a second average ratio difference threshold;
  • the eleventh determining module is configured to determine, when the first average ratio difference is less than a first average ratio difference threshold, and the second average ratio difference is less than a second average ratio difference threshold The matching result of the preset area satisfies the execution condition.
  • the number of the preset areas is at least two, and the apparatus further includes: a twelfth calculation module, a twelfth judgment module, and a twelfth determination module. .
  • the twelfth calculation module is configured to sort all the first ratio difference values, and calculate a first limited rhythm deviation of the operation gesture according to the sorting result; sort all the second ratio difference values And calculating a second limited rhythm deviation of the operation gesture according to the sorting result;
  • the twelfth judging module is configured to determine the first limit rhythm deviation and the first preset limit Whether the difference of the tempo deviation is less than the first deviation threshold, and determining whether the difference between the second tempo deviation and the second preset tempo deviation is less than the second deviation threshold;
  • the twelfth determining module is configured to: when the difference between the first limited rhythm deviation and the first preset limit rhythm deviation is less than a first deviation threshold, and the second limited rhythm deviation and the second preset When the difference of the limit rhythm deviation is less than the second deviation threshold, it is determined that the matching result of all the preset regions satisfies the execution condition.
  • An embodiment of the present invention provides a terminal, including: a touch screen and a processor; the processor is configured to acquire, by using the touch screen, an operation rhythm feature when an operation gesture on the touch screen of the terminal passes through at least one preset area; And a method for matching the operation rhythm features of each of the preset regions with the corresponding preset rhythm features to obtain a matching result; and when the matching result of all the preset regions meets the execution condition, controlling the terminal A preset action corresponding to the operation gesture is performed.
  • the terminal may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like.
  • a mobile phone a tablet computer
  • PDA Personal Digital Assistant
  • POS Point of Sales
  • vehicle-mounted computer and the like.
  • FIG. 9 is a block diagram showing a part of the structure of the mobile phone 900 related to the embodiment of the present invention.
  • the mobile phone 900 can execute the device control method shown in the foregoing various method embodiments.
  • the mobile phone 900 includes an RF (Radio Frequency) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a WiFi (Wireless Fidelity) module 970, and a processor. 980, and power supply 990 and other components.
  • RF Radio Frequency
  • the structure of the handset shown in FIG. 9 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the components of the mobile phone 900 will be specifically described below with reference to FIG. 9:
  • the RF circuit 910 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 980; in addition, transmitting the designed uplink data to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • RF circuitry 910 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • the memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone 900 by running software programs and modules stored in the memory 920.
  • the memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data created according to the use of the mobile phone 900 (such as audio data, phone book, etc.) and the like.
  • memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 900.
  • the input unit 930 may include a touch panel 931 and other input devices 932.
  • the touch panel 931 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 931 or near the touch panel 931. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 931 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 980 is provided and can receive commands from the processor 980 and execute them.
  • the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 930 may also include other input devices 932.
  • other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 940 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 900.
  • the display unit 940 may include a display panel 941.
  • the display panel 941 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 931 can cover the display panel 941. When the touch panel 931 detects a touch operation on or near the touch panel 931, the touch panel 931 transmits to the processor 980 to determine the type of the touch event, and then the processor 980 according to the touch event. The type provides a corresponding visual output on display panel 941.
  • touch panel 931 and the display panel 941 are used as two independent components to implement the input and input functions of the mobile phone 900 in FIG. 9, in some embodiments, the touch panel 931 can be integrated with the display panel 941. The input and output functions of the mobile phone 900 are implemented.
  • the handset 900 can also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may close the display panel 941 when the mobile phone 900 moves to the ear / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.
  • Other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors are not described here.
  • An audio circuit 960, a speaker 961, and a microphone 962 can provide an audio interface between the user and the handset 900.
  • the audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961 for conversion to the sound signal output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal by the audio circuit 960. After receiving, it is converted to audio data, and the audio data is output to the RF circuit 908 for transmission to, for example, another mobile phone, or the audio data is output to the memory 920 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone 900 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides wireless broadband Internet access for users.
  • FIG. 9 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone 900, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 980 is the control center of handset 900, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 920, and recalling data stored in memory 920, The mobile phone 900 performs various functions and processing data to perform overall monitoring of the mobile phone.
  • the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
  • the handset 900 also includes a power source 990 (such as a battery) that supplies power to the various components.
  • a power source 990 such as a battery
  • the power source can be logically coupled to the processor 980 via a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the mobile phone 900 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. , a disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供了一种设备控制方法及装置,应用于终端。所述控制方法包括:获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。由于不同人的操作手势在每个预设区域的操作节奏特征一般或多或少的具有差异,所以即使操作手势因为撞库、偷窥、涂抹等原因泄露,攻击者也不能利用泄露的操作手势对终端进行预设操作,即本发明的技术方案能够降低用户存储在终端中的隐私被泄露的风险。

Description

一种设备控制方法及装置
本申请要求于2016年08月23日提交中国专利局、申请号为201610711292.9、申请名称为“一种设备控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及数据处理领域,尤其涉及一种设备控制方法及装置。
背景技术
随着经济和科技的发展,手机、iPad等终端变得越来越普及,这些终端能够实现通信、存储等功能,人们可以利用这些终端进行相互通信,并在这些终端上存储电话号码、私密文件等信息。
因此,一旦这些终端被主人之外的人使用很可能会泄露主人的隐私。基于此种情况,目前大多数终端都允许用户预先设置一些认证手段,只有用户输入正确的解锁口令对终端进行解锁后,才允许用户对相应的终端进行操作。
具体地,用户会预先在终端上设置图案密码或符号(数字、字母、标点等)密码作为解锁口令。一旦这些解锁口令泄漏,其他人就可以利用该解锁口令对终端进行解锁。
如何在解锁口令泄漏的情况下,减少终端中的信息的泄漏是目前亟待解决为问题。
发明内容
本发明实施例提供了一种解锁方法及装置,以降低用户存储在终端中的隐私被泄露的风险。
第一方面,本发明实施例提供了一种设备控制方法,应用于终端,所述方法包括:获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。
在本发明实施例中,所述终端的触摸屏可以为电容式触摸屏、电阻式触摸屏 等合适的装置,所述操作手势可以为图案密码、符号(数字、字母、标点等)密码等,与所述操作手势对应的预设动作可以为解锁操作、锁屏操作等。在本发明实施例实施之前,用户需提前进行设置操作。具体地,用户需执行如点击、滑动等特定操作在所述终端的触摸屏上呼出多个具有固定边界的按键区域,然后在触摸屏上输入多次(如2次、3次、4次等等)历史验证操作手势,且多次输入的历史验证操作手势经过相同的按键区域,多次历史验证操作手势经过的按键区域即为本发明实施例所描述的预设区域。
在本发明具体实施的过程中,每个所述预设区域的操作节奏特征对应一个预设节奏特征,所述操作节奏特征可以包括:时间特征和/或空间特征,所述操作节奏特征用于表示执行所述操作手势的用户的生物习惯,所述预设节奏特征可根据多次历史验证操作手势的时间特征和/或位置特征计算获得。在将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配时,根据操作节奏特征以及与其对应的预设节奏特征的不同,可以有不同的匹配方式。针对每种匹配方式,可以设计相应的执行条件,当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。由于每个预设节奏特征是根据多次历史验证操作手势的时间特征和/或位置特征计算获得,所以每个预设节奏特征可以反映提前进行设置的用户在对应预设区域的生物习惯。所以本发明实施例的技术方案在确定所有所述预设区域的匹配结果是否满足预设条件时,实际是在通过用户的生物习惯判断执行所述操作手势的用户和提前进行设置操作的用户是否为同一用户。即本发明实施例的技术方案仅当执行所述操作手势的用户和提前进行设置操作的用户是同一用户时,终端才执行与所述操作手势对应的预设动作。因此,本发明实施例的技术方案够降低用户存储在终端中的隐私被泄露的风险。
本发明实施例中,终端首先获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征,并将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。本发明的技术方案将所述终端触摸屏上操作手势经过的每个预设区域的操作节奏特征与各自对应的预设节奏特征进行匹配后得到匹配结果,仅当所有所述预设区域的匹配结果满足执行条件时,才对所述终端执行与所述操作手势对应的预设动作。由于不同人的操作手势在每个预设区域的操作节奏特征一般或多或少的具有差异,所以即使操作手势因为撞库、偷窥、涂抹等原因泄露,攻击者也不能利用泄露的操作手势对终端进行预设操作,即本发明的技术方案能够降低用户存储在终端中的隐私被泄露的风险。
结合第一方面,在第一方面第一种可能的实现方式中,所述操作节奏特征包括:空间特征;获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征,包括:获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;将每个所述预设区域的进入坐标和/或离开坐标确定为对应预设区域的空间特征。
该实现方式对应的操作手势为图案密码,在该实现方式具体实施的过程中,可在所述操作手势上每隔特定长度获取一个触摸点的位置坐标,也可在所述操作手势上每隔特定时长获取一个触摸点的位置坐标。然后利用获取的多个触摸点的位置坐标结合每个所述预设区域的边界坐标利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标,并将每个所述预设区域的进入坐标和/或离开坐标确定为对应预设区域的空间特征。由于不同用户执行同一操作手势时,经过每个所述预设区域的进入坐标和/或离开坐标有或多或少的不同,所以每个所述预设区域的进入坐标和/或离开坐标可以反映执行操作手势的用户的生物习惯。这里需要说明的是,在该实现方式具体实施的过程中,在所述操作手势上获取的触摸点需要足够多,以使终端能够根据所获取的多个触摸点的位置坐标和每个预设区域的边界坐标利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标。
结合第一方面第一种可能的实现方式,在第一方面第二种可能的实现方式中,将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,包括:计算每个所述预设区域的进入坐标与对应的预设进入坐标之间的第一距离,和/或,计算每个所述预设区域的离开坐标与对应的预设离开坐标之间的第二距离;将每个所述预设区域计算所得的第一距离和/或第二距离作为一个匹配结果。
在该实现方式中,每个所述预设区域的预设进入坐标和/或预设离开坐标即为同一所述预设区域的预设节奏特征。每个所述预设区域的预设进入坐标是通过对多次历史验证操作手势在每个所述预设区域的进入坐标求平均后得到的平均进入坐标,每个所述预设区域的预设离开坐标是通过对多次历史验证操作手势在每个所述预设区域的离开坐标求平均后得到的平均离开坐标。该实现方式中计算每个所述预设区域的进入坐标与对应的预设进入坐标之间的第一距离,和/或,每个所述预设区域的离开坐标与对应的预设离开坐标之间的第二距离,可以对执行所述操作手势的用户和进行设置操作的用户在每个所述预设区域实现生物习惯的对比,为后续判断所有所述预设区域的匹配结果满足执行条件提供方便。
结合第一方面第二种可能的实现方式,在第一方面第三种可能的实现方式 中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第一距离的平均值,得到第一平均距离;判断所述第一平均距离是否小于第一平均距离阈值,所述第一平均距离阈值是通过计算每次历史验证操作手势对应的所有第一距离的平均值,并将计算所得的多个平均值再次求平均得到的;当所述第一平均距离小于第一平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
在该实现方式中,通过计算每次历史验证操作手势对应的第一平均距离,再对求取的多个第一平均距离求平均获取第一平均距离阈值。由于第一平均距离阈值是对多次历史验证操作手势对应的多个第一平均距离求平均得到的,所以第一平均距离阈值能够表征出进行设置操作用户在进行所述操作手势时的偏离范围。因此,当所述第一平均距离小于第一平均距离阈值时,表明所述操作手势在多次历史验证操作手势所允许的偏离范围内,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第二种可能的实现方式,在第一方面第四种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第二距离的平均值,得到第二平均距离;判断所述第二平均距离是否小于第二平均距离阈值,所述第二平均距离阈值是通过计算每次历史验证操作手势对应的所有第二距离的平均值,并将计算所得的多个平均值再次求平均得到的;当所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
在该实现方式中,通过计算每次历史验证操作手势对应的第二平均距离,再对求取的多个第二平均距离求平均获取第二平均距离阈值。由于第二平均距离阈值是对多次历史验证操作手势对应的多个第二平均距离求平均得到的,所以第二平均距离阈值能够表征出进行设置操作用户在进行所述操作手势时的偏离范围。因此,当所述第二平均距离小于第二平均距离阈值时,表明所述操作手势在多次历史验证操作手势所允许的偏离范围内,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第二种可能的实现方式,在第一方面第五种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第一距离的平均值,得到第一平均距离;计算所有所述第二距离的平均值,得到第二平均距离;判断所述第一平均距离是否小于第一平均距离阈值,以及,判断所述第二平均距离是否小于第二平均距离阈值;当所述第一平均距离小于第一平均距离阈值,且所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
该实现方式中,利用所有所述预设区域的第一平均距离和第二平均距离同时进行判定,仅当所述第一平均距离小于第一平均距离阈值时,且所述第二平均距离小于第二平均距离阈值时,才确定所有所述预设区域的匹配结果满足执行条件,即确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够更进一步降低用户存储在终端中的隐私被泄露的风险。
结合第一方面,在第一方面第六种可能的实现方式中,所述操作节奏特征包括:时间特征;获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征,包括:获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;获取每个所述预设区域的进入坐标对应的进入时刻和/或离开坐标对应的离开时刻;将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域的时间特征。
该实现方式对应的操作手势依然为图案密码,该实现方式中,在确定每个所述预设区域的进入坐标和/或离开坐标的基础上,将每个所述预设区域的进入坐标对应的进入时刻和/或离开坐标对应的离开时刻确定为对应预设区域的时间特征。由于在获取每个所述预设区域的进入时刻和/或离开时刻后,可根据每个所述预设区域的进入时刻和/或离开时刻计算所述操作手势经过每个所述预设区域快慢程度,而不同用户执行同一操作手势时,经过每个所述预设区域的快慢有或多或少的不同,所以每个所述预设区域的进入时刻和/或离开时刻可以反映执行操作手势的用户的生物习惯。
结合第一方面第六种可能的实现方式,在第一方面第七种可能的实现方式中,将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,包括:计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔,和/或,在所述操作手势滑动方向上,计算所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;计算每个所述预设区域的第一时间间隔与对应的第一时间阈值之间的第一时间差值,和/或,计算每个所述预设区域的第二时间间隔与对应的第二时间阈值之间的第二时间差值;将每个所述预设区域计算所得的第一时间差值和/或第二时间差值作为一个匹配结果。
在该实现方式中,每个所述预设区域的第一时间阈值和/或第二时间阈值即为同一所述预设区域的预设节奏特征。每个所述预设区域的第一时间阈值是通过对多次历史验证操作手势在每个所述预设区域的第一时间间隔求平均后得到的平均第一时间间隔,每个所述预设区域的第二时间阈值是通过对多次历史验证操作手势在每个所述预设区域的第二时间间隔求平均后得到的平均第二时间间隔。 其中,每个所述预设区域的第一时间间隔等于该预设区域的离开时刻与进入时刻之间的差值,每个所述预设区域的第二时间间隔等于该预设区域的离开时刻与下一个相邻预设区域的进入时刻之间的差值。该实现方式中通过计算每个所述每个所述预设区域的第一时间间隔与对应的第一时间阈值之间的第一时间差值,和/或,计算每个所述预设区域的第二时间间隔与对应的第二时间阈值之间的第二时间差值,实现对执行所述预设操作手势的用户和进行设置操作的用户在每个所述预设区域生物习惯的对比,为后续判断所有所述预设区域的匹配结果满足执行条件提供方便。
结合第一方面第七种可能的实现方式,在第一方面第八种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第一时间差值的平均值,得到第一平均时间差值;判断所述第一平均时间差值是否小于第一平均时间差值阈值,所述第一平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第一时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;当所述第一平均时间差值小于第一平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
在该实现方式中,通过计算每次历史验证操作手势对应的第一平均时间差值,再对求取的多个第一平均时间差值求平均获取第一平均时间差值阈值。由于第一平均时间差值阈值是对多次历史验证操作手势对应的多个第一平均时间差值求平均得到的,所以第一平均时间差值阈值能够表征出进行设置操作用户在进行所述操作手势时的偏离范围。因此,当所述第一平均距离小于第一平均距离阈值时,表明所述操作手势在多次历史验证操作手势所允许的偏离范围内,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第七种可能的实现方式,在第一方面第九种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第二时间差值的平均值,得到第二平均时间差值;判断所述第二平均时间差值是否小于第二平均时间差值阈值,所述第二平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第二时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;当所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
在该实现方式中,通过计算每次历史验证操作手势对应的第二平均时间差值,再对求取的多个第二平均时间差值求平均获取第二平均时间差值阈值。由于第二平均时间差值阈值是对多次历史验证操作手势对应的多个第二平均时间差值求平均得到的,所以第二平均时间差值阈值能够表征出进行设置操作用户在进 行所述操作手势时的偏离范围。因此,当所述第二平均距离小于第二平均距离阈值时,表明所述操作手势在多次历史验证操作手势所允许的偏离范围内,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第七种可能的实现方式,在第一方面第十种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第一时间差值的平均值,得到第一平均时间差值;计算所有所述第二时间差值的平均值,得到第二平均时间差值;判断所述第一平均时间差值是否小于第一平均时间差值阈值,以及判断所述第二平均时间差值是否小于第二平均时间差值阈值;当所述第一平均时间差值小于第一平均时间差值阈值,且所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
该实现方式中,利用所有所述预设区域的第一平均时间差值和第二平均时间差值同时进行判定,仅当所述第一平均时间差值小于第一平均时间差值阈值,且所述第二平均时间差值小于第二平均时间差值阈值时,才确定所有所述预设区域的匹配结果满足执行条件,即确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够更进一步降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第六种可能的实现方式,在第一方面第十一种可能的实现方式中,将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,包括:计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔;计算所有第一时间间隔的和,得到第一总时间间隔;计算每个所述预设区域的第一时间间隔与所述第一总时间间隔的第一比值;计算每个所述预设区域的第一比值与对应的第一比值阈值之间的第一比值差值,每个所述预设区域对应的所述第一比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第一比值的平均值;和/或;计算所述操作手势滑动方向上,所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;计算所有所述第二时间间隔的和,得到第二总时间间隔;计算每个所述预设区域的第二时间间隔与所述第二总时间间隔的第二比值;计算每个所述预设区域的第二比值与对应的第二比值阈值之间的第二比值差值,每个所述预设区域对应的所述第二比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第二比值的平均值;将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果。
在该实现方式中,每个所述预设区域的第一比值阈值和/或第二比值阈值即为同一所述预设区域的预设节奏特征。每个所述预设区域的第一比值阈值是通过 对多次历史验证操作手势在每个所述预设区域的第一比值求平均后得到的平均第一比值,每个所述预设区域的第二比值阈值是通过对多次历史验证操作手势在每个所述预设区域的第二比值求平均后得到的平均第二比值。其中,每个所述预设区域的第一时间间隔等于该预设区域的离开时刻与进入时刻之间的差值,每个所述预设区域的第二时间间隔等于该预设区域的离开时刻与下一个相邻预设区域的进入时刻之间的差值。该实现方式中通过计算每个所述预设区域的第一比值与对应的第一比值阈值之间的第一比值差值,和/或,计算每个所述预设区域的第二比值与对应的第二比值阈值之间的第二比值差值,实现对执行所述预设操作手势的用户和进行设置操作的用户在每个所述预设区域生物习惯的对比,为后续判断所有所述预设区域的匹配结果满足执行条件提供方便。
结合第一方面第十一种可能的实现方式,在第一方面第十二种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第一比值差值的平均值,得到第一平均比值差值;判断所述第一平均比值差值是否小于第一平均比值差值阈值,所述第一平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第一比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;当所述第一平均比值差值小于第一平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
在该实现方式中,通过计算每次历史验证操作手势对应的第一平均比值差值,再对求取的多个第一平均比值差值求平均获取第一平均比值差值阈值。由于第一平均比值差值阈值是对多次历史验证操作手势对应的多个第一平均比值差值求平均得到的,所以第一平均比值差值阈值能够表征出进行设置操作用户在进行所述操作手势时的偏离范围。因此,当所述第一平均比值差值小于第一平均比值差值阈值时,表明所述操作手势在多次历史验证操作手势所允许的偏离范围内,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第十一种可能的实现方式,在第一方面第十三种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值,所述第一偏差阈值是多次历史验证操作手势对应的第一极限化节奏偏差分别与所述第一预设极限化节奏偏差求绝对值差后得到的最大差值,当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
该实现方式中,在对所有第一比值差值进行排序之后,将排序位于正数第一 和倒数第一的两个第一比值差值划分为一组,将排序位于正数第二和倒数第二的两个第一比值差值划分为一组,依次类推,将所有第一比值差值进行分组,然后求取每组中两个第一比值差值差的平方,最后对各个组差的平方求和即可得到所述操作手势的第一极限化节奏偏差。例如,所述操作手势一共经过6个预设区域,这6个预设区域的第一比值差值分别为sd1,sd2,sd3,sd4,sd5和sd6,升序排列为sd1<sd2<sd3<sd4<sd5<sd6,则所述操作手势的第一极限化节奏偏差等于(sd6-sd1)2+(sd5-sd2)2+(sd4-sd3)2。另外,当第一比值差值的个数为奇数时,可将剩余的一个第一比值差值舍弃,或者直接求取该第一比值差值与零的差的方法等。所述第一预设极限化节奏偏差等于多次历史验证操作手势对应的第一极限化节奏偏差的平均值。由于该实现方式中所述第一偏差阈值是多次历史验证操作手势对应的第一极限化节奏偏差分别与所述第一预设极限化节奏偏差求绝对值差后得到的最大差值,所以所述第一偏差阈值能够表征出进行设置操作用户在进行所述操作手势时偏离第一预设极限化节奏偏差的允许范围。因此,当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值时,表明所述操作手势对应的第一极限化节奏偏差偏离第一预设极限化节奏偏差的范围与进行设置操作用户一致,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
该实现方式,通过比较第一极限化节奏偏差与第一预设极限环节奏偏差的差值与第一差值阈值的大小关系判断执行所述操作手势的用户和进行设置操作的用户是否为同一用户。即该实现方式考虑到了用户在执行所述操作手势时,用户多次操作(多次历史验证操作手势)的统计结果与用户每次操作结果的差异,所以该实现方式的判断结果更准确,能够更进一步降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第十一种可能的实现方式,在第一方面第十四种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第二比值差值的平均值,得到第二平均比值差值;判断所述第二平均比值差值是否小于第二平均比值差值阈值,所述第二平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第二比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;当所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
在该实现方式中,通过计算每次历史验证操作手势对应的第二平均比值差值,再对求取的多个第二平均比值差值求平均获取第二平均比值差值阈值。由于第二平均比值差值阈值是对多次历史验证操作手势对应的多个第二平均比值差 值求平均得到的,所以第二平均比值差值阈值能够表征出进行设置操作用户在进行所述操作手势时的偏离范围。因此,当所述第二平均比值差值小于第二平均比值差值阈值时,表明所述操作手势在多次历史验证操作手势所允许的偏离范围内,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第十一种可能的实现方式,在第一方面第十五种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值,所述第一偏差阈值是多次历史验证操作手势对应的第一极限化节奏偏差分别与所述第一预设极限化节奏偏差求绝对值差后得到的最大差值;当所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
该实现方式中,在对所有第二比值差值进行排序之后,将排序位于正数第一和倒数第一的两个第二比值差值划分为一组,将排序位于正数第二和倒数第二的两个第二比值差值划分为一组,依次类推,将所有第二比值差值进行分组,然后求取每组中两个第二比值差值差的平方,最后对各个组差的平方求和即可得到所述操作手势的第二极限化节奏偏差。例如,所述操作手势一共经过6个预设区域,这6个预设区域的第二比值差值分别为sd1,sd2,sd3,sd4,sd5和sd6,升序排列为sd1<sd2<sd3<sd4<sd5<sd6,则所述操作手势的第二极限化节奏偏差等于(sd6-sd1)2+(sd5-sd2)2+(sd4-sd3)2。另外,当第二比值差值的个数为奇数时,可将剩余的一个第二比值差值舍弃,或者直接求取该第二比值差值与零的差的方法等。所述第二预设极限化节奏偏差等于多次历史验证操作手势对应的第二极限化节奏偏差的平均值。由于该实现方式中所述第二偏差阈值是多次历史验证操作手势对应的第二极限化节奏偏差分别与所述第二预设极限化节奏偏差求绝对值差后得到的最大差值,所以所述第二偏差阈值能够表征出进行设置操作用户在进行所述操作手势时偏离第二预设极限化节奏偏差的允许范围。因此,当所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,表明所述操作手势对应的第二极限化节奏偏差偏离第二预设极限化节奏偏差的范围与进行设置操作用户一致,也就确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够降低用户存储在终端中的隐私被泄露的风险。
该实现方式,通过比较第二极限化节奏偏差与第二预设极限环节奏偏差的差值与第二差值阈值的大小关系判断执行所述操作手势的用户和进行设置操作的 用户是否为同一用户。即该实现方式考虑到了用户在执行所述操作手势时,用户多次操作(多次历史验证操作手势)的统计结果与用户每次操作结果的差异,所以该实现方式的判断结果更准确,能够更进一步降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第十一种可能的实现方式,在第一方面第十六种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:计算所有所述第一比值差值的平均值,得到第一平均比值差值;计算所有所述第二比值差值的平均值,得到第二平均比值差值;判断所述第一平均比值差值是否小于第一平均比值差值阈值,以及判断所述第二平均比值差值是否小于第二平均比值差值阈值;当所述第一平均比值差值小于第一平均比值差值阈值,且所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
该实现方式中,利用所有所述预设区域的第一平均比值差值和第二平均比值差值同时进行判定,仅当所述第一平均比值差值小于第一平均比值差值阈值,且所述第二平均比值差值小于第二平均比值差值阈值时,才确定所有所述预设区域的匹配结果满足执行条件,即确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够更进一步降低用户存储在终端中的隐私被泄露的风险。
结合第一方面第十一种可能的实现方式,在第一方面第十七种可能的实现方式中,所述预设区域的数量为至少两个,所述方法还包括:将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值,以及判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值;当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值,且所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
该实现方式中,利用所述操作手势的第一极限化节奏偏差和第二极限化节奏偏差同时进行判定,仅当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值,且所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,才确定所有所述预设区域的匹配结果满足执行条件,即确定出执行所述操作手势的用户和进行设置操作的用户为同一用户。所以本实施方式能够更进一步降低用户存储在终端中的隐私被泄露的风险。
另外,需要补充说明的是,前述实现方式仅仅是本发明实施例的部分实现方式,而不是全部的实现方式。下面举例进行说明:
例如,当所述操作手势为符号密码时,可将点击每个所述预设区域的时刻定义为该预设区域的进入时刻,离开每个所述预设区域的时刻定义为该预设区域的离开时刻。在此基础上,实现本发明实施例中利用时间特征实现的设备控制方法。
又例如,在本发明实施例具体实施的过程中,也可以将前述实施方式中的各个阈值的定义进行替换,形成新的实现方式。例如,可以将第一方面第三种可能的实现方式中的第一平均距离阈值定义为多次历史验证操作手势对应的多个第一平均距离中最大的一个第一平均距离;可以将第一方面第七种可能的实现方式中的第一平均时间差值阈值定义为多次历史验证操作手势对应的多个第一平均时间差值中最小的一个第一平均时间差值,等等。
还例如,在本发明实施例具体实施的过程中,在判断所有所述预设区域的匹配结果是否满足执行条件时,还可以有其他的实现方式。例如,可针对每个所述预设区域,判断该预设区域的第一距离是否小于第一距离阈值,或者判断该预设区域的第一时间差值是否小于第一时间差值阈值,然后统计第一距离小于第一距离阈值的预设区域的数量,或者统计第一时间差值小于第一时间差值阈值的预设区域的数量,当统计出的数量大于数量阈值时,确定所有所述预设区域的匹配结果满足执行条件。其中,第一距离阈值等于多次历史验证操作手势在同一所述预设区域的第一距离的平均值,第二距离阈值等于多次历史验证操作手势在同一所述预设区域的第二距离的平均值。数量阈值可根据预设区域的数量以及隐私保护要求设定,预设区域的数量越多,隐私保护要求要高,数量阈值越大。例如,当有3个预设区域时,第一预设数量阈值可设置为2;当有6个预设区域时,第一预设数量阈值可设置为4;当有6个预设区域且隐私保护要求较高时,第一预设数量阈值可设置为5。
再例如,为了更好地降低用户存储在终端中的隐私被泄露的风险,在本发明实施例具体实施的过程中,也可以结合时间特征和空间特征共同进行判断所有所述预设区域的匹配结果满足执行条件,仅当时间特征和空间特征都表明执行所述操作手势的用户和进行设置操作的用户为同一用户时,才确定所有所述预设区域的匹配结果满足执行条件。另外,在结合时间特征和空间特征共同判断所有所述预设区域的匹配结果满足执行条件时,也可对时间特征和空间特征的偏离范围做一个综合,根据综合后的结果判断所有所述预设区域的匹配结果是否满足执行条件,例如,可计算第一平均距离与第一平均距离阈值的比值得到一个数值,计算第一平均时间差值与第一时间差值阈值的比值等到另外一个数值,当两个数值的和小于多次历史验证操作手势对应的多个和的平均值时,确定所有所述预设区域 的匹配结果满足执行条件。此时,由于在通常情况下,用户在执行所述操作手势时,操作的越快,时间特征的偏离程度可能性越大,因此,在此种情况下,可为时间特征所对应的数值(即第一平均时间差值与第一平均时间差值阈值的比值)配备一个与操作速度正相关的调整系数(如调整系数的基值设置为1,所述操作手势的操作速度每比多次历史验证操作手势的平均操作速度快或慢10%,调整系数加0.05或减0.05),该调整系数与时间特征对应的数值的乘积即为时间特征对应的最终的数值。
第二方面,本发明实施例提供了一种设备控制装置,所述装置包括用于执行第一方面及第一方面各实现方式的中方法步骤的模块。
第三方面,本发明实施例提供了一种终端,包括:触摸屏和处理器;所述处理器用于通过所述触摸屏获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;所述处理器还用于将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的手机的一种密码设置场景示意图;
图2为本发明实施例提供的手机的一种解锁场景示意图;
图3为本发明实施例提供的一种设备控制方法的流程图;
图4为本发明实施例提供的另一种设备控制方法的流程图;
图5为本发明实施例提供的又一种设备控制方法的流程图;
图6为本发明实施例提供的又一种设备控制方法的流程图;
图7为本发明实施例提供的又一种设备控制方法的流程图;
图8为本发明实施例提供的一种设备控制装置的结构示意图;
图9为本发明实施例提供的一种手机的结构框图。
具体实施方式
为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实施例的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明实施例中的技术方案作进一步详细的说明。
为方便理解,下面结合手机的图案密码解锁方式对本发明技术方案的技术构思做简要说明。
参见图1所示具体实例,为防止图示手机被他人使用,用户按照手机上的提示预先在手机显示屏的九宫格图案上设置“Z”字形图案密码,在用户需要解锁手机时,再次在手机显示屏的九宫格图案上输入“Z”字形图案即可解锁。如背景技术所述,通常情况下,该解锁方式能够保护用户的隐私不被泄露。然而,在实际使用中,攻击者可通过偷窥的方式获知“Z”字形解锁图案,也可根据用户输入图案密码时在手机上留下的涂抹痕迹获知“Z”字形解锁图案,还可以通过撞库的方式(即用户在其他场合使用了“Z”字形解锁图案并被攻击者获知)获知“Z”字形解锁图案。此时,攻击者可根据其获知的“Z”字形解锁图案解锁用户的终端,进而查看用户的隐私,导致用户隐私的泄露。本发明对该问题进行了研究,发明人在研究中发现,不同用户在输入同一图案密码时在各个预设区域(如图1中“Z”字形图案所经过的各个圆形区域)的经过位置呈现不同的规律,不同用户在输入同一图案密码时在各个预设区域的时间节奏也呈现不同的规律。例如,参见图2中用户A和用户B输入的“Z”字形图案密码,可发现:与用户A输入的“Z”字形图案密码相比,用户B输入的“Z”字形图案密码偏向各个预设区域的上方。本发明还研究了符号(数字、字母、标点等)密码的解锁方式,同样发现不同用户在输入同一符号密码时在各个预设区域的经过位置呈现不同的规律,不同用户在输入同一符号密码时在各个预设区域的时间节奏也呈现不同的规律。基于前述发现,本发明提出了一种设备控制方法,该设备控制方法利用前述发现的规律判断进行解锁、锁屏等操作手势的用户和进行设置操作的用户是否为同一用户,仅当进行解锁、锁屏等操作手势的用户和进行设置操作的用户是同一用户时,才执行与操作手势对应的预设动作(如解锁、锁屏等)。下面结合具体实施例对本发明的技术方案进行说明。
参见图3,为本发明实施例提供的一种设备控制方法的流程图,本发明实施例具体应用于手机、ipad等可设置图案密码或符号密码的终端。具体地,本实施例可以包括以下步骤:
在步骤S310中,获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征。
其中,所述终端触摸屏可以为电容式触摸屏、电阻式触摸屏等合适的装置,所述操作手势可以为图案密码、符号(数字、字母、标点等)密码等。在本发明实施例实施之前,用户需提前进行设置操作。具体地,用户需执行如点击、滑动等特定操作在所述终端的触摸屏上呼出多个具有固定边界的按键区域,然后在触摸屏上输入多次(如2次、3次、4次等等)历史验证操作手势,且多次输入的历史验证操作手势经过相同的按键区域,多次历史验证操作手势经过的按键区域即为本发明实施例所描述的预设区域,所述预设区域的个数为至少一个。例如,当多次历史验证操作手势和所述操作手势为图1和图2中的“Z”字形时,则“Z”字形所经过的七个圆形按键区域即为预设区域。需要说明的是,图1和图2中每个所述预设区域的形状为圆形,在本发明实施例具体实施的过程中,每个预设区域的形状还可以为其他图形,例如可以为方形、三角形、五角星形等,本发明对此不做限定。
用户在所述终端上进行设置操作之后,当所述终端的触摸屏检测到经过多次历史验证操作手势所经过的预设区域的操作手势时,获取每个所述预设区域的操作节奏特征,每个所述预设区域的操作节奏特征可以包括:时间特征和/或空间特征。其中,每个所述预设区域的时间特征可以包括所述操作手势进入该预设区域的进入时刻和/或所述操作手势离开该预设区域的离开时刻,每个所述预设区域的位置特征可以包括所述操作手势进入该预设区域的进入位置和/或所述操作手势离开该预设区域的离开位置。参见图2中用户A或者用户B输入的“Z”字形操作手势,每个人在执行同一操作手势时,在每个所述预设区域的进入位置和离开位置都会有或多或少的差异,所以每个所述预设区域的进入位置和/或离开位置能够表征执行所述操作手势的用户的生物习惯。另外,根据每个所述预设区域的进入时刻和/或离开时刻可以得出所述操作手势在该预设区域的快慢节奏,而每个人的快慢节奏也是不同的,所以每个所述预设区域的进入时刻和/或离开时刻也能够表征执行所述操作手势的用户的生物习惯。
这里的进入时刻、离开时刻、进入位置和离开位置可以根据实际情况进行定义。如在图2中,当用户A或者用户B输入的“Z”字形操作手势时,可将所述操作手势与每个预设区域的第一个交点作为该预设区域的进入位置,将所述操作手势与每个预设区域的第二个交点作为该预设区域的离开位置,将进入位置对应的时刻作为进入时刻,离开位置对应的时刻作为离开时刻。在本发明实施例具体实施的过程中,步骤S310可以通过多种方式获取每个所述预设区域的操作节奏特征,下面对获取时间特征和空间特征的方式举例进行说明:
例如,在本发明的一种具体实现方式中,所述操作节奏特征包括:空间特征。相应地,步骤S310可以包括:
获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;
利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;
将每个所述预设区域的进入坐标和/或离开坐标确定为对应预设区域的空间特征。
该实现方式对应的操作手势为图案密码,在该实现方式具体实施的过程中,可在所述操作手势上每隔特定长度或者每隔特定时长获取一个触摸点的位置坐标。例如,可根据实际情况每隔1mm、2mm记录一个触摸点,并获取该触摸点的位置坐标,或者每隔0.03s、0.06s记录一个触摸点,并获取该触摸点的位置坐标。其中,可根据预设区域大小和预设区域之间的间隔确定特定长度或特定时长,确定原则为终端能够根据所获取的多个触摸点的位置坐标和每个预设区域的边界坐标利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标。
其中,在该实现方式确定每个所述预设区域的进入坐标和/或离开坐标过程中,可用线段连接多个触摸点中的相邻触摸点,查找与每个预设区域的边界相交的线段,并提取相应的触摸点的位置坐标,然后根据所提取的触摸点的位置坐标和该预设区域的边界坐标利用插值法计算每个预设区域的进入坐标和/或离开坐标。下面针对所述操作手势上的第二个预设区域进行说明,用线段连接相邻触摸点后,发现第五个线段与第七个线段分别于所述第二个预设区域相交,则提取第五个和第七个线段两端的触摸点的位置坐标,然后根据第二个预设区域的边界坐标和第五个线段两端的触摸点的位置坐标利用插值法计算第二个预设区域的进入坐标,根据第二个预设区域的边界坐标和第七个线段两端的触摸点的位置坐标利用插值法计算第二个预设区域的离开坐标。
又例如,在本发明的一种具体实现方式中,所述操作节奏特征包括:时间特征。相应地,步骤S310可以包括:
获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;
利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;
获取每个所述预设区域的进入坐标对应的进入时刻和/或离开坐标对应的离开时刻;
将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域的时间特征。
该实现方式中,对应的操作手势也为图案密码,该实现方式中除获取每个触摸点的位置坐标外,还需获取每个触摸点的触摸时刻。进一步地,在获取每个所述预设区域的进入坐标和/或离开坐标的基础上,利用计算进入坐标和/或离开坐标时利用的触摸点的触摸时刻以及利用计算进入坐标和/或离开坐标时利用的触摸点与进入坐标和/或离开坐标之间的距离计算进入坐标对应的进入时刻和/或离开坐标对应的离开时刻。这里以计算每个预设区域的进入时刻为例进行说明,如计算进入坐标时利用的触摸点为P和Q,P和Q对应的触摸时刻分别为T1和T2,通过计算得知,P距离进入坐标比较近,则将P对应的触摸时刻作为对应的进入时刻。又例如,可通过计算P和进入坐标之间距离与Q和进入坐标之间距离的比值,将该比值作为触摸点P的触摸时刻T1和进入时刻之间时长与触摸点Q的触摸时刻T2与进入时刻之间时长的比值,进而计算该预设区域的进入时刻。最后,将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域的时间特征。
需要说明的是,上述获取每个所述预设区域的操作节奏特征的方式仅仅是示例性的,在本发明实施例具体实施的过程中,还可以利用其他方式获取每个所述预设区域的操作节奏特征。例如,对于符号密码来说,可以将用户点击每个预设区域的时刻作为该预设区域的进入时刻,离开每个预设区域的时刻作为该预设区域的离开时刻;可将用户点击每个预设区域的位置作为该预设区域的进入位置或离开位置。
另外,前述步骤S310的具体实现方式获取的是所述操作手势所经过的所有预设区域的操作节奏特征。特别地,在预设区域较多时,为减少终端的数据处理量,也可仅获取所述操作手势所经过的部分预设区域的操作节奏特征。下面以获取图1或图2所示的“Z”字形操作手势的拐角处预设区域的操作节奏特征为例进行说明。
在用线段连接“Z”字形操作手势多个触摸点中的相邻触摸点之后,判断相邻线段之间的夹角是否小于角度阈值,当相邻线段之间的夹角小于角度阈值时,获取与对应的夹角处触摸点最近的预设区域的操作节奏特征。对于“Z”字形操作手势,角度阈值可以为70度、80度、90度等。在确定获取操作节奏特征的预设区域之后,可以利用前述实现方式类似的方法获取相应的预设区域的进入时刻、离开时刻、进入位置、离开位置等特征。例如,在确定出“Z”字形操作手势获取操作节奏特征的预设区域为第三个预设区域和第五个预设区域时,可分别查找与第三个预设区域和第五个预设区域的边界相交的线段,并提取相应的触摸 点的位置坐标,然后根据所提取的触摸点的位置坐标和第三个(第五个)预设区域利用插值法计算第三个(第五个)预设区域的进入坐标和/或离开坐标,进而利用计算进入坐标和/或离开坐标时利用的触摸点的触摸时刻以及利用计算进入坐标和/或离开坐标时利用的触摸点与进入坐标和/或离开坐标之间的距离计算进入坐标对应的进入时刻和/或离开坐标对应的离开时刻。
在步骤S320中,将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果。
具体地,在本发明实施例具体实施的过程中,随着操作节奏特征的不同,步骤S320对应不同的实现方式。下面距离进行说明:
例如,在将每个所述预设区域的进入坐标和/或离开坐标确定为对应预设区域的空间特征时,在步骤S320的第一种具体实现方式中,步骤S320可以包括以下步骤:
计算每个所述预设区域的进入坐标与对应的预设进入坐标之间的第一距离,和/或,计算每个所述预设区域的离开坐标与对应的预设离开坐标之间的第二距离;
将每个所述预设区域计算所得的第一距离和/或第二距离作为一个匹配结果。
又例如,在将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域的时间特征时,在步骤S320的第二种具体实现方式中,步骤S320可以包括以下步骤:
计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔,和/或,在所述操作手势滑动方向上,计算所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;
计算每个所述预设区域的第一时间间隔与对应的第一时间阈值之间的第一时间差值,和/或,计算每个所述预设区域的第二时间间隔与对应的第二时间阈值之间的第二时间差值;
将每个所述预设区域计算所得的第一时间差值和/或第二时间差值作为一个匹配结果。
或者,在将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域的时间特征时,在步骤S320的第三种具体实现方式中,步骤S320可以包括以下步骤:
计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔;计算所有第一时间间隔的和,得到第一总时间间隔;计算每个所述预设区域的第一时间间隔与所述第一总时间间隔的第一比值;计算每个所述预设区域的第一比值与对应的第一比值阈值之间的第一比值差值,每个所述预设区域对应的所述第一比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第一比值的平均值;和/或;计算所述操作手势滑动方向上,所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;计算所有所述第二时间间隔的和,得到第二总时间间隔;计算每个所述预设区域的第二时间间隔与所述第二总时间间隔的第二比值;计算每个所述预设区域的第二比值与对应的第二比值阈值之间的第二比值差值,每个所述预设区域对应的所述第二比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第二比值的平均值;
将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果。
其中,在步骤S320的第三种具体实现方式中,第一比值和第二比值实际上反应的是所述操作手势在各个预设区域的相对节奏。通常情况下,用户在不同状态下执行同一操作手势时的快慢很可能是不同的,而操作手势在各个预设区域的相对时间(即第一比值和第二比值)是较稳定的,所以步骤S320的第三种具体实现方式与第二种具体实现方式相比,每个所述预设区域的第一比值和/或第二比值更能体现执行所述预设操作用户的习惯,每个所述预设区域的第一比值阈值和/或第二比值阈值也更能体现进行设置操作用户的习惯。因此,将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果更加合理,生物习惯特征的对比也更加准确。
在步骤S330中,当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。
步骤S320获取每个预设区域的匹配结果后,终端会根据每个预设区域的匹配结果判断所有预设区域的匹配结果是否满足执行条件。当所有所述预设区域的匹配结果满足执行条件时,控制终端执行与操作手势对应的预设操作(如解锁操作、锁屏操作等)。其中,在本发明实施例具体实施的过程中,根据实际情况的不同,判断所有预设区域的匹配结果是否满足执行条件的方式有多种。下面举例进行说明:
如图4所示,在预设区域的数量为至少两个,且将每个所述预设区域计算所得的第一距离和/或第二距离作为一个匹配结果时,判断所有预设区域的匹配结果是否满足执行条件可以包括以下步骤:
在步骤S410中,计算所有所述第一距离的平均值,得到第一平均距离。
在步骤S420中,判断所述第一平均距离是否小于第一平均距离阈值。
其中,所述第一平均距离阈值是通过计算每次历史验证操作手势对应的所有第一距离的平均值,并将计算所得的多个平均值再次求平均得到的。
当所述第一平均距离小于第一平均距离阈值时,在步骤S430中,确定所有所述预设区域的匹配结果满足执行条件。
当所述第一平均距离不小于第一平均距离阈值时,在步骤S440中,确定所有所述预设区域的匹配结果不满足执行条件。
图4所示具体实现方式是以每个所述预设区域的第一距离作为匹配结果判断所有预设区域的匹配结果是否满足执行条件的。可以理解的是,也可以类似的以每个所述预设区域的第二距离作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,甚至可以同时以每个所述预设区域的第一距离和第二距离作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,由于判断过程与图4所示具体实现方式类似,这里不再赘述。
如图5所示,在预设区域的数量为至少两个,且将每个所述预设区域计算所得的第一时间差值和/或第二时间差值作为一个匹配结果时,判断所有预设区域的匹配结果是否满足执行条件可以包括以下步骤:
在步骤S510中,计算所有所述第一时间差值的平均值,得到第一平均时间差值。
在步骤S520中,判断所述第一平均时间差值是否小于第一平均时间差值阈值。
其中,所述第一平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第一时间差值的平均值,并将计算所得的多个平均值再次求平均得到的。
当所述第一平均时间差值小于第一平均时间差值阈值时,在步骤S530中,确定所有所述预设区域的匹配结果满足执行条件。
当所述第一平均时间差值不小于第一平均时间差值阈值时,在步骤S540中,确定所有所述预设区域的匹配结果不满足执行条件。
图5所示具体实现方式是以每个所述预设区域的第一时间差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件的。可以理解的是,也可以类似的以每个所述预设区域的第二时间差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,甚至可以同时以每个所述预设区域的第一时间差值和第 二时间差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,由于判断过程与图5所示具体实现方式类似,这里不再赘述。
如图6所示,在预设区域的数量为至少两个,且将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果时,判断所有预设区域的匹配结果是否满足执行条件可以包括以下步骤:
在步骤S610中,计算所有所述第一比值差值的平均值,得到第一平均比值差值。
在步骤S620中,判断所述第一平均比值差值是否小于第一平均比值差值阈值。
其中,所述第一平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第一比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;
当所述第一平均比值差值小于第一平均比值差值阈值时,在步骤S630中,确定所有所述预设区域的匹配结果满足执行条件。
当所述第一平均比值差值不小于第一平均比值差值阈值时,在步骤S640中,确定所有所述预设区域的匹配结果不满足执行条件。
图6所示具体实现方式是以每个所述预设区域的第一比值差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件的。可以理解的是,也可以类似的以每个所述预设区域的第二比值差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,甚至可以同时以每个所述预设区域的第一比值差值和第二比值差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,由于判断过程与图6所示具体实现方式类似,这里不再赘述。
如图7所示,在预设区域的数量为至少两个,且将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果时,判断所有预设区域的匹配结果是否满足执行条件可以包括以下步骤:
在步骤S710中,将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差。
在步骤S720中,判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值。
其中,所述第一偏差阈值是多次历史验证操作手势对应的第一极限化节奏偏差分别与所述第一预设极限化节奏偏差求绝对值差后得到的最大差值;
当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏 差阈值时,在步骤S730中,确定所有所述预设区域的匹配结果满足执行条件。
当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值不小于第一偏差阈值时,在步骤S740中,确定所有所述预设区域的匹配结果不满足执行条件。
图7所示具体实现方式是以每个所述预设区域的第一比值差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件的。可以理解的是,也可以类似的以每个所述预设区域的第二比值差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,甚至可以同时以每个所述预设区域的第一比值差值和第二比值差值作为匹配结果判断所有预设区域的匹配结果是否满足执行条件,由于判断过程与图7所示具体实现方式类似,这里不再赘述。
本发明实施例中,终端首先获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征,并将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。本发明的技术方案将所述终端触摸屏上操作手势经过的每个预设区域的操作节奏特征与各自对应的预设节奏特征进行匹配后得到匹配结果,仅当所有所述预设区域的匹配结果满足执行条件时,才对所述终端执行与所述操作手势对应的预设动作。由于不同人的操作手势在每个预设区域的操作节奏特征一般或多或少的具有差异,所以即使操作手势因为撞库、偷窥、涂抹等原因泄露,攻击者也不能利用泄露的操作手势对终端进行预设操作,即本发明的技术方案能够降低用户存储在终端中的隐私被泄露的风险。
相对于前述实施例中的设备控制方法,本发明实施例还提供了一种设备控制装置。
参见图8,为本发明实施例提供的一种设备控制装置的结构示意图。该装置用于执行如图3-图7所示的设备控制方法,应用于手机、ipad等可设置图案密码或符号密码的终端。该装置可以包括:获取模块810、匹配模块820和控制模块830。
其中,所述获取模块810用于获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;
所述匹配模块820用于将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;
所述控制模块830用于当所有所述预设区域的匹配结果满足执行条件时,控 制所述终端执行与所述操作手势对应的预设动作。
本发明实施例中,终端首先获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征,并将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。本发明的技术方案将所述终端触摸屏上操作手势经过的每个预设区域的操作节奏特征与各自对应的预设节奏特征进行匹配后得到匹配结果,仅当所有所述预设区域的匹配结果满足执行条件时,才对所述终端执行与所述操作手势对应的预设动作。由于不同人的操作手势在每个预设区域的操作节奏特征一般或多或少的具有差异,所以即使操作手势因为撞库、偷窥、涂抹等原因泄露,攻击者也不能利用泄露的操作手势对终端进行预设操作,即本发明的技术方案能够降低用户存储在终端中的隐私被泄露的风险。
可选地,在本发明的一种具体实施方式中,所述操作节奏特征包括:空间特征;所述获取模块810具体用于获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;将每个所述预设区域的进入坐标和/或离开坐标确定为对应预设区域的空间特征。
可选地,在本发明的一种具体实施方式中,所述匹配模块820具体用于计算每个所述预设区域的进入坐标与对应的预设进入坐标之间的第一距离,和/或,计算每个所述预设区域的离开坐标与对应的预设离开坐标之间的第二距离;将每个所述预设区域计算所得的第一距离和/或第二距离作为一个匹配结果。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第一计算模块、第一判断模块和第一确定模块。
其中,所述第一计算模块用于计算所有所述第一距离的平均值,得到第一平均距离;
所述第一判断模块用于判断所述第一平均距离是否小于第一平均距离阈值,所述第一平均距离阈值是通过计算每次历史验证操作手势对应的所有第一距离的平均值,并将计算所得的多个平均值再次求平均得到的;
所述第一确定模块用于当所述第一平均距离小于第一平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第二计算模块、第二判断模块和第二确定模块。
所述第二计算模块用于计算所有所述第二距离的平均值,得到第二平均距离;
所述第二判断模块用于判断所述第二平均距离是否小于第二平均距离阈值,所述第二平均距离阈值是通过计算每次历史验证操作手势对应的所有第二距离的平均值,并将计算所得的多个平均值再次求平均得到的;
所述第二确定模块用于当所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第三计算模块、第三判断模块和第三确定模块。
所述第三计算模块用于计算所有所述第一距离的平均值,得到第一平均距离;计算所有所述第二距离的平均值,得到第二平均距离;
所述第三判断模块用于判断所述第一平均距离是否小于第一平均距离阈值,以及,判断所述第二平均距离是否小于第二平均距离阈值;
所述第三确定模块用于当所述第一平均距离小于第一平均距离阈值,且所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述操作节奏特征包括:时间特征;所述获取模块810具体用于获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;获取每个所述预设区域的进入坐标对应的进入时刻和/或离开坐标对应的离开时刻;将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域的时间特征。
可选地,在本发明的一种具体实施方式中,所述匹配模块820具体用于计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔,和/或,在所述操作手势滑动方向上,计算所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;计算每个所述预设区域的第一时间间隔与对应的第一时间阈值之间的第一时间差值,和/或,计算每个所述预设区域的第二时间间隔与对应的第二时间阈值之间的第二时间差值;将每个所述预设区域计算所得的第一时间差值和/或第二时间差值作为一个匹配结果。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第四计算模块、第四判断模块和第四确定模块。
其中,所述第四计算模块用于计算所有所述第一时间差值的平均值,得到第 一平均时间差值;
所述第四判断模块用于判断所述第一平均时间差值是否小于第一平均时间差值阈值,所述第一平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第一时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;
所述第四确定模块用于当所述第一平均时间差值小于第一平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第五计算模块、第五判断模块和第五确定模块。
其中,所述第五计算模块用于计算所有所述第二时间差值的平均值,得到第二平均时间差值;
所述第五判断模块用于判断所述第二平均时间差值是否小于第二平均时间差值阈值,所述第二平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第二时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;
所述第五确定模块用于当所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第六计算模块、第六判断模块和第六确定模块。
其中,所述第六计算模块用于计算所有所述第一时间差值的平均值,得到第一平均时间差值;计算所有所述第二时间差值的平均值,得到第二平均时间差值;
所述第六判断模块用于判断所述第一平均时间差值是否小于第一平均时间差值阈值,以及判断所述第二平均时间差值是否小于第二平均时间差值阈值;
所述第六确定模块用于当所述第一平均时间差值小于第一平均时间差值阈值,且所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述匹配模块820具体用于计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔;计算所有第一时间间隔的和,得到第一总时间间隔;计算每个所述预设区域的第一时间间隔与所述第一总时间间隔的第一比值;计算每个所述预设区域的第一比值与对应的第一比值阈值之间的第一比值差值,每个所述预设区域对应的所述第一比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第一比值的平均值;和/或;计算所述操作手势滑动方向上,所述操作手势在每个所述预设区域与下一 个相邻预设区域之间滑动时的第二时间间隔;计算所有所述第二时间间隔的和,得到第二总时间间隔;计算每个所述预设区域的第二时间间隔与所述第二总时间间隔的第二比值;计算每个所述预设区域的第二比值与对应的第二比值阈值之间的第二比值差值,每个所述预设区域对应的所述第二比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第二比值的平均值;将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第七计算模块、第七判断模块和第七确定模块。
其中,所述第七计算模块用于计算所有所述第一比值差值的平均值,得到第一平均比值差值;
所述第七判断模块用于判断所述第一平均比值差值是否小于第一平均比值差值阈值,所述第一平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第一比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;
所述第七确定模块用于当所述第一平均比值差值小于第一平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第八计算模块、第八判断模块和第八确定模块。
其中,所述第八计算模块用于将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;
所述第八判断模块用于判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值,所述第一偏差阈值是多次历史验证操作手势对应的第一极限化节奏偏差分别与所述第一预设极限化节奏偏差求绝对值差后得到的最大差值;
所述第八确定模块用于当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第九计算模块、第九判断模块和第九确定模块。
其中,所述第九计算模块用于计算所有所述第二比值差值的平均值,得到第二平均比值差值;
所述第九判断模块用于判断所述第二平均比值差值是否小于第二平均比值 差值阈值,所述第二平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第二比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;
所述第九确定模块用于当所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第十计算模块、第十判断模块和第十确定模块。
其中,所述第十计算模块用于将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;
所述第十判断模块用于判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值,所述第二偏差阈值是多次历史验证操作手势对应的第二极限化节奏偏差分别与所述第二预设极限化节奏偏差求绝对值差后得到的最大差值;
所述第十确定模块用于当所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第十一计算模块、第十一判断模块和第十一确定模块。
其中,所述第十一计算模块用于计算所有所述第一比值差值的平均值,得到第一平均比值差值;计算所有所述第二比值差值的平均值,得到第二平均比值差值;
所述第十一判断模块用于判断所述第一平均比值差值是否小于第一平均比值差值阈值,以及判断所述第二平均比值差值是否小于第二平均比值差值阈值;
所述第十一确定模块用于当所述第一平均比值差值小于第一平均比值差值阈值,且所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
可选地,在本发明的一种具体实施方式中,所述预设区域的数量为至少两个,所述装置还包括:第十二计算模块、第十二判断模块和第十二确定模块。
其中,所第十二计算模块用于将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;
所述第十二判断模块用于判断所述第一极限化节奏偏差与第一预设极限化 节奏偏差的差值是否小于第一偏差阈值,以及判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值;
所述第十二确定模块用于当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值,且所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
本发明实施例提供了一种终端,包括:触摸屏和处理器;所述处理器用于通过所述触摸屏获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;所述处理器还用于将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。
其中,所述终端可以包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等。
以终端为手机为例,图9示出的是与本发明实施例相关的手机900的部分结构的框图,手机900可执行前述各个方法实施例所示的设备控制方法。参考图9,手机900包括、RF(Radio Frequency,射频)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、WiFi(wireless fidelity,无线保真)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图9中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图9对手机900的各个构成部件进行具体的介绍:
RF电路910可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器980处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机900的各种功能应用以及数据处理。 存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据手机900的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元930可用于接收输入的数字或字符信息,以及产生与手机900的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控面板931以及其他输入设备932。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上或在触控面板931附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机900的各种菜单。显示单元940可包括显示面板941,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板941。进一步的,触控面板931可覆盖显示面板941,当触控面板931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图9中,触控面板931与显示面板941是作为两个独立的部件来实现手机900的输入和输入功能,但是在某些实施例中,可以将触控面板931与显示面板941集成而实现手机900的输入和输出功能。
手机900还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在手机900移动到耳边时,关闭显示面板941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机900还可 配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路960、扬声器961,麦克风962可提供用户与手机900之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,麦克风962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出至RF电路908以发送给比如另一手机,或者将音频数据输出至存储器920以便进一步处理。
WiFi属于短距离无线传输技术,手机900通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了WiFi模块970,但是可以理解的是,其并不属于手机900的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器980是手机900的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机900的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。
手机900还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。
尽管未示出,手机900还可以包括摄像头、蓝牙模块等,在此不再赘述。
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统及装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述的本发明实施方式,并不构成对本发明保护范围的限定。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (37)

  1. 一种设备控制方法,其特征在于,应用于终端,所述方法包括:
    获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;
    将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;
    当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。
  2. 根据权利要求1所述的方法,其特征在于,所述操作节奏特征包括:空间特征;
    获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征,包括:
    获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;
    利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;
    将每个所述预设区域的进入坐标和/或离开坐标确定为对应预设区域的空间特征。
  3. 根据权利要求2所述的方法,其特征在于,将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,包括:
    计算每个所述预设区域的进入坐标与对应的预设进入坐标之间的第一距离,和/或,计算每个所述预设区域的离开坐标与对应的预设离开坐标之间的第二距离;
    将每个所述预设区域计算所得的第一距离和/或第二距离作为一个匹配结果。
  4. 根据权利要求3所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第一距离的平均值,得到第一平均距离;
    判断所述第一平均距离是否小于第一平均距离阈值,所述第一平均距离 阈值是通过计算每次历史验证操作手势对应的所有第一距离的平均值,并将计算所得的多个平均值再次求平均得到的;
    当所述第一平均距离小于第一平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  5. 根据权利要求3所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第二距离的平均值,得到第二平均距离;
    判断所述第二平均距离是否小于第二平均距离阈值,所述第二平均距离阈值是通过计算每次历史验证操作手势对应的所有第二距离的平均值,并将计算所得的多个平均值再次求平均得到的;
    当所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  6. 根据权利要求3所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第一距离的平均值,得到第一平均距离;计算所有所述第二距离的平均值,得到第二平均距离;
    判断所述第一平均距离是否小于第一平均距离阈值,以及,判断所述第二平均距离是否小于第二平均距离阈值;
    当所述第一平均距离小于第一平均距离阈值,且所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  7. 根据权利要求1所述的方法,其特征在于,所述操作节奏特征包括:时间特征;
    获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征,包括:
    获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;
    利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;
    获取每个所述预设区域的进入坐标对应的进入时刻和/或离开坐标对应的离开时刻;
    将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域 的时间特征。
  8. 根据权利要求7所述的方法,其特征在于,将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,包括:
    计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔,和/或,在所述操作手势滑动方向上,计算所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;
    计算每个所述预设区域的第一时间间隔与对应的第一时间阈值之间的第一时间差值,和/或,计算每个所述预设区域的第二时间间隔与对应的第二时间阈值之间的第二时间差值;
    将每个所述预设区域计算所得的第一时间差值和/或第二时间差值作为一个匹配结果。
  9. 根据权利要求8所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第一时间差值的平均值,得到第一平均时间差值;
    判断所述第一平均时间差值是否小于第一平均时间差值阈值,所述第一平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第一时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    当所述第一平均时间差值小于第一平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  10. 根据权利要求8所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第二时间差值的平均值,得到第二平均时间差值;
    判断所述第二平均时间差值是否小于第二平均时间差值阈值,所述第二平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第二时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    当所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  11. 根据权利要求8所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第一时间差值的平均值,得到第一平均时间差值;计算所 有所述第二时间差值的平均值,得到第二平均时间差值;
    判断所述第一平均时间差值是否小于第一平均时间差值阈值,以及判断所述第二平均时间差值是否小于第二平均时间差值阈值;
    当所述第一平均时间差值小于第一平均时间差值阈值,且所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  12. 根据权利要求7所述的方法,其特征在于,将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果,包括:
    计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔;计算所有第一时间间隔的和,得到第一总时间间隔;计算每个所述预设区域的第一时间间隔与所述第一总时间间隔的第一比值;计算每个所述预设区域的第一比值与对应的第一比值阈值之间的第一比值差值,每个所述预设区域对应的所述第一比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第一比值的平均值;和/或;计算所述操作手势滑动方向上,所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;计算所有所述第二时间间隔的和,得到第二总时间间隔;计算每个所述预设区域的第二时间间隔与所述第二总时间间隔的第二比值;计算每个所述预设区域的第二比值与对应的第二比值阈值之间的第二比值差值,每个所述预设区域对应的所述第二比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第二比值的平均值;
    将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果。
  13. 根据权利要求12所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第一比值差值的平均值,得到第一平均比值差值;
    判断所述第一平均比值差值是否小于第一平均比值差值阈值,所述第一平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第一比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    当所述第一平均比值差值小于第一平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  14. 根据权利要求12所述的方法,其特征在于,所述预设区域的数量 为至少两个,所述方法还包括:
    将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;
    判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值,所述第一偏差阈值是多次历史验证操作手势对应的第一极限化节奏偏差分别与所述第一预设极限化节奏偏差求绝对值差后得到的最大差值;
    当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  15. 根据权利要求12所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第二比值差值的平均值,得到第二平均比值差值;
    判断所述第二平均比值差值是否小于第二平均比值差值阈值,所述第二平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第二比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    当所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  16. 根据权利要求12所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;
    判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值,所述第二偏差阈值是多次历史验证操作手势对应的第二极限化节奏偏差分别与所述第二预设极限化节奏偏差求绝对值差后得到的最大差值;
    当所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  17. 根据权利要求12所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    计算所有所述第一比值差值的平均值,得到第一平均比值差值;计算所有所述第二比值差值的平均值,得到第二平均比值差值;
    判断所述第一平均比值差值是否小于第一平均比值差值阈值,以及判断所述第二平均比值差值是否小于第二平均比值差值阈值;
    当所述第一平均比值差值小于第一平均比值差值阈值,且所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  18. 根据权利要求12所述的方法,其特征在于,所述预设区域的数量为至少两个,所述方法还包括:
    将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;
    判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值,以及判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值;
    当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值,且所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  19. 一种设备控制装置,其特征在于,应用于终端,所述装置包括:
    获取模块,用于获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;
    匹配模块,用于将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;
    控制模块,用于当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。
  20. 根据权利要求19所述的装置,其特征在于,所述操作节奏特征包括:空间特征;
    所述获取模块具体用于获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;将每个所述预设区域的进入坐标和/或离开坐标确定为对应预设区域的空间特征。
  21. 根据权利要求20所述的装置,其特征在于,所述匹配模块具体用于计算每个所述预设区域的进入坐标与对应的预设进入坐标之间的第一距离,和/或,计算每个所述预设区域的离开坐标与对应的预设离开坐标之间 的第二距离;将每个所述预设区域计算所得的第一距离和/或第二距离作为一个匹配结果。
  22. 根据权利要求21所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第一计算模块,用于计算所有所述第一距离的平均值,得到第一平均距离;
    第一判断模块,用于判断所述第一平均距离是否小于第一平均距离阈值,所述第一平均距离阈值是通过计算每次历史验证操作手势对应的所有第一距离的平均值,并将计算所得的多个平均值再次求平均得到的;
    第一确定模块,用于当所述第一平均距离小于第一平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  23. 根据权利要求21所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第二计算模块,用于计算所有所述第二距离的平均值,得到第二平均距离;
    第二判断模块,用于判断所述第二平均距离是否小于第二平均距离阈值,所述第二平均距离阈值是通过计算每次历史验证操作手势对应的所有第二距离的平均值,并将计算所得的多个平均值再次求平均得到的;
    第二确定模块,用于当所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  24. 根据权利要求21所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第三计算模块,用于计算所有所述第一距离的平均值,得到第一平均距离;计算所有所述第二距离的平均值,得到第二平均距离;
    第三判断模块,用于判断所述第一平均距离是否小于第一平均距离阈值,以及,判断所述第二平均距离是否小于第二平均距离阈值;
    第三确定模块,用于当所述第一平均距离小于第一平均距离阈值,且所述第二平均距离小于第二平均距离阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  25. 根据权利要求19所述的装置,其特征在于,所述操作节奏特征包括:时间特征;
    所述获取模块具体用于获取所述操作手势上多个触摸点的位置坐标和每个所述预设区域的边界坐标;利用插值法确定所述操作手势穿过每个所述预设区域的进入坐标和/或离开坐标;获取每个所述预设区域的进入坐标对应的进入时刻和/或离开坐标对应的离开时刻;将每个所述预设区域的进入时刻和/或离开时刻隔确定为对应预设区域的时间特征。
  26. 根据权利要求25所述的装置,其特征在于,所述匹配模块具体用于计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔,和/或,在所述操作手势滑动方向上,计算所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;计算每个所述预设区域的第一时间间隔与对应的第一时间阈值之间的第一时间差值,和/或,计算每个所述预设区域的第二时间间隔与对应的第二时间阈值之间的第二时间差值;将每个所述预设区域计算所得的第一时间差值和/或第二时间差值作为一个匹配结果。
  27. 根据权利要求26所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第四计算模块,用于计算所有所述第一时间差值的平均值,得到第一平均时间差值;
    第四判断模块,用于判断所述第一平均时间差值是否小于第一平均时间差值阈值,所述第一平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第一时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    第四确定模块,用于当所述第一平均时间差值小于第一平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  28. 根据权利要求26所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第五计算模块,用于计算所有所述第二时间差值的平均值,得到第二平均时间差值;
    第五判断模块,用于判断所述第二平均时间差值是否小于第二平均时间差值阈值,所述第二平均时间差值阈值是通过计算每次历史验证操作手势对应的所有第二时间差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    第五确定模块,用于当所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  29. 根据权利要求26所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第六计算模块,用于计算所有所述第一时间差值的平均值,得到第一平均时间差值;计算所有所述第二时间差值的平均值,得到第二平均时间差值;
    第六判断模块,用于判断所述第一平均时间差值是否小于第一平均时间差值阈值,以及判断所述第二平均时间差值是否小于第二平均时间差值阈值;
    第六确定模块,用于当所述第一平均时间差值小于第一平均时间差值阈值,且所述第二平均时间差值小于第二平均时间差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  30. 根据权利要求25所述的装置,其特征在于,所述匹配模块具体用于计算每个所述预设区域的离开时刻和进入时刻之间的第一时间间隔;计算所有第一时间间隔的和,得到第一总时间间隔;计算每个所述预设区域的第一时间间隔与所述第一总时间间隔的第一比值;计算每个所述预设区域的第一比值与对应的第一比值阈值之间的第一比值差值,每个所述预设区域对应的所述第一比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第一比值的平均值;和/或;计算所述操作手势滑动方向上,所述操作手势在每个所述预设区域与下一个相邻预设区域之间滑动时的第二时间间隔;计算所有所述第二时间间隔的和,得到第二总时间间隔;计算每个所述预设区域的第二时间间隔与所述第二总时间间隔的第二比值;计算每个所述预设区域的第二比值与对应的第二比值阈值之间的第二比值差值,每个所述预设区域对应的所述第二比值阈值是多次历史验证操作手势在同一所述预设区域计算所得的所有第二比值的平均值;将每个所述预设区域计算所得的第一比值差值和/或第二比值差值作为一个匹配结果。
  31. 根据权利要求30所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第七计算模块,用于计算所有所述第一比值差值的平均值,得到第一平均比值差值;
    第七判断模块,用于判断所述第一平均比值差值是否小于第一平均比值差值阈值,所述第一平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第一比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    第七确定模块,用于当所述第一平均比值差值小于第一平均比值差值阈 值时,确定所有所述预设区域的匹配结果满足执行条件。
  32. 根据权利要求30所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第八计算模块,用于将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;
    第八判断模块,用于判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值,所述第一偏差阈值是多次历史验证操作手势对应的第一极限化节奏偏差分别与所述第一预设极限化节奏偏差求绝对值差后得到的最大差值;
    第八确定模块,用于当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  33. 根据权利要求30所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第九计算模块,用于计算所有所述第二比值差值的平均值,得到第二平均比值差值;
    第九判断模块,用于判断所述第二平均比值差值是否小于第二平均比值差值阈值,所述第二平均比值差值阈值是通过计算每次历史验证操作手势对应的所有第二比值差值的平均值,并将计算所得的多个平均值再次求平均得到的;
    第九确定模块,用于当所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  34. 根据权利要求30所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第十计算模块,用于将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;
    第十判断模块,用于判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值,所述第二偏差阈值是多次历史验证操作手势对应的第二极限化节奏偏差分别与所述第二预设极限化节奏偏差求绝对值差后得到的最大差值;
    第十确定模块,用于当所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执 行条件。
  35. 根据权利要求30所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第十一计算模块,用于计算所有所述第一比值差值的平均值,得到第一平均比值差值;计算所有所述第二比值差值的平均值,得到第二平均比值差值;
    第十一判断模块,用于判断所述第一平均比值差值是否小于第一平均比值差值阈值,以及判断所述第二平均比值差值是否小于第二平均比值差值阈值;
    第十一确定模块,用于当所述第一平均比值差值小于第一平均比值差值阈值,且所述第二平均比值差值小于第二平均比值差值阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  36. 根据权利要求30所述的装置,其特征在于,所述预设区域的数量为至少两个,所述装置还包括:
    第十二计算模块,用于将所有所述第一比值差值进行排序,并根据排序结果计算所述操作手势的第一极限化节奏偏差;将所有所述第二比值差值进行排序,并根据排序结果计算所述操作手势的第二极限化节奏偏差;
    第十二判断模块,用于判断所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值是否小于第一偏差阈值,以及判断所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值是否小于第二偏差阈值;
    第十二确定模块,用于当所述第一极限化节奏偏差与第一预设极限化节奏偏差的差值小于第一偏差阈值,且所述第二极限化节奏偏差与第二预设极限化节奏偏差的差值小于第二偏差阈值时,确定所有所述预设区域的匹配结果满足执行条件。
  37. 一种终端,其特征在于,包括:触摸屏和处理器;
    所述处理器用于通过所述触摸屏获取所述终端触摸屏上操作手势经过至少一个预设区域时的操作节奏特征;
    所述处理器还用于将每个所述预设区域的操作节奏特征分别与各自对应的预设节奏特征进行匹配后得到匹配结果;当所有所述预设区域的匹配结果满足执行条件时,控制所述终端执行与所述操作手势对应的预设动作。
PCT/CN2017/074393 2016-08-23 2017-02-22 一种设备控制方法及装置 WO2018036120A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020197008089A KR20190042047A (ko) 2016-08-23 2017-02-22 디바이스 제어 방법 및 장치
EP17842546.8A EP3499356A4 (en) 2016-08-23 2017-02-22 DEVICE CONTROL METHOD AND APPARATUS
US16/283,199 US20190188370A1 (en) 2016-08-23 2019-02-22 Device control method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610711292.9A CN106372488B (zh) 2016-08-23 2016-08-23 一种设备控制方法及装置
CN201610711292.9 2016-08-23

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/283,199 Continuation US20190188370A1 (en) 2016-08-23 2019-02-22 Device control method and apparatus

Publications (1)

Publication Number Publication Date
WO2018036120A1 true WO2018036120A1 (zh) 2018-03-01

Family

ID=57878070

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074393 WO2018036120A1 (zh) 2016-08-23 2017-02-22 一种设备控制方法及装置

Country Status (5)

Country Link
US (1) US20190188370A1 (zh)
EP (1) EP3499356A4 (zh)
KR (1) KR20190042047A (zh)
CN (1) CN106372488B (zh)
WO (1) WO2018036120A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372488B (zh) * 2016-08-23 2019-05-24 华为技术有限公司 一种设备控制方法及装置
CN107466407A (zh) * 2017-07-20 2017-12-12 深圳市汇顶科技股份有限公司 一种指纹认证方法、装置及电子设备
CN109618342A (zh) * 2018-12-27 2019-04-12 上海碳蓝网络科技有限公司 一种用于确定用户的操作权限信息的方法与设备
CN112577456B (zh) * 2020-12-14 2022-05-24 欣旺达电子股份有限公司 测量设备点检方法及运行控制装置、计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068632A (zh) * 2015-09-07 2015-11-18 小米科技有限责任公司 终端的充电方法、装置及终端
CN105068746A (zh) * 2015-07-31 2015-11-18 Tcl移动通信科技(宁波)有限公司 一种基于触摸屏的应用图标操作方法及系统
US20160216788A1 (en) * 2015-01-27 2016-07-28 Danzhi Cai Electronic device and scoring system and scoring method using same
CN106372488A (zh) * 2016-08-23 2017-02-01 华为技术有限公司 一种设备控制方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8683582B2 (en) * 2008-06-16 2014-03-25 Qualcomm Incorporated Method and system for graphical passcode security
US20130212674A1 (en) * 2010-06-25 2013-08-15 Passtouch, Llc System and method for signature pathway authentication and identification
CN103034429A (zh) * 2011-10-10 2013-04-10 北京千橡网景科技发展有限公司 用于触摸屏的身份验证方法和装置
CN102854982B (zh) * 2012-08-01 2015-06-24 华平信息技术(南昌)有限公司 一种识别自定义手势轨迹的方法
CN103995665A (zh) * 2014-04-14 2014-08-20 深圳市汇顶科技股份有限公司 移动终端及其在待机状态进入应用程序的实现方法、系统
CN104007929B (zh) * 2014-05-26 2016-03-02 南京泰锐斯通信科技有限公司 基于手势识别的移动终端解锁方法及移动终端
CN105574396A (zh) * 2014-10-14 2016-05-11 深圳富泰宏精密工业有限公司 电子设备解锁系统及方法
CN105243317A (zh) * 2015-10-27 2016-01-13 上海斐讯数据通信技术有限公司 一种电子设备及其应用的解密方法
CN105550559A (zh) * 2015-12-03 2016-05-04 深圳市汇顶科技股份有限公司 手势解锁方法、装置及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160216788A1 (en) * 2015-01-27 2016-07-28 Danzhi Cai Electronic device and scoring system and scoring method using same
CN105068746A (zh) * 2015-07-31 2015-11-18 Tcl移动通信科技(宁波)有限公司 一种基于触摸屏的应用图标操作方法及系统
CN105068632A (zh) * 2015-09-07 2015-11-18 小米科技有限责任公司 终端的充电方法、装置及终端
CN106372488A (zh) * 2016-08-23 2017-02-01 华为技术有限公司 一种设备控制方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3499356A4 *

Also Published As

Publication number Publication date
CN106372488B (zh) 2019-05-24
KR20190042047A (ko) 2019-04-23
CN106372488A (zh) 2017-02-01
EP3499356A4 (en) 2019-08-21
EP3499356A1 (en) 2019-06-19
US20190188370A1 (en) 2019-06-20

Similar Documents

Publication Publication Date Title
US11269981B2 (en) Information displaying method for terminal device and terminal device
CN106778707B (zh) 指纹识别方法、显示屏以及移动终端
US11176235B2 (en) Permission control method and related product
US20150294101A1 (en) Running applications, and authenticating users
CN106778175B (zh) 一种界面锁定方法、装置和终端设备
US11184754B2 (en) Data sharing method and terminal
WO2017084288A1 (zh) 身份验证方法及装置
WO2018036120A1 (zh) 一种设备控制方法及装置
CN106445596B (zh) 一种设置项的管理方法及装置
WO2016078504A1 (zh) 身份鉴权方法和装置
CN107657163B (zh) 一种应用程序启动方法及移动终端
CN107451450B (zh) 生物识别方法及相关产品
CN109446775A (zh) 一种声控方法及电子设备
WO2019019837A1 (zh) 生物识别方法及相关产品
CN108710806B (zh) 一种终端解锁方法、移动终端
CN106453840A (zh) 移动终端的性能调整方法及移动终端
CN111313114B (zh) 一种充电方法及电子设备
WO2014094456A1 (zh) 页面切换方法、装置及终端
CN107967086B (zh) 一种移动终端的图标排列方法及装置、移动终端
CN107895108B (zh) 一种操作管理方法和移动终端
CN110113486B (zh) 一种应用图标的移动方法及终端
CN109600514B (zh) 解锁控制方法、装置、移动终端及存储介质
CN108108608B (zh) 一种移动终端的控制方法及移动终端
CN108959963A (zh) 一种应用程序的管理方法及终端设备
CN112380520B (zh) 屏幕解锁方法、装置、存储介质及移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17842546

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20197008089

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017842546

Country of ref document: EP

Effective date: 20190313