[go: up one dir, main page]

CN107122639B - Terminal control method and device - Google Patents

Terminal control method and device Download PDF

Info

Publication number
CN107122639B
CN107122639B CN201610103963.3A CN201610103963A CN107122639B CN 107122639 B CN107122639 B CN 107122639B CN 201610103963 A CN201610103963 A CN 201610103963A CN 107122639 B CN107122639 B CN 107122639B
Authority
CN
China
Prior art keywords
operation information
preset
terminal
user
absolute value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610103963.3A
Other languages
Chinese (zh)
Other versions
CN107122639A (en
Inventor
方腾飞
管维刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201610103963.3A priority Critical patent/CN107122639B/en
Publication of CN107122639A publication Critical patent/CN107122639A/en
Application granted granted Critical
Publication of CN107122639B publication Critical patent/CN107122639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

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

Abstract

The invention relates to a terminal control method and a device, wherein the method comprises the following steps: acquiring a trigger operation of a user on a terminal touch screen; extracting operation information generated on the terminal touch screen by the trigger operation; judging whether the operation information is matched with preset operation information or not; and when the operation information is not matched with the preset operation information, controlling the terminal to enter a locking state. Therefore, illegal operation of the terminal by an illegal user can be effectively avoided, and property loss and other losses of the legal user can be prevented.

Description

终端控制方法及装置Terminal control method and device

技术领域technical field

本发明涉及终端技术领域,尤其涉及一种终端控制方法及装置。The present invention relates to the technical field of terminals, and in particular, to a terminal control method and device.

背景技术Background technique

随着技术的不断发展,日常生活中用户越来越离不开终端,用户可以很方便通过终端进行网上购物、转账等操作。然而,一旦用户终端被窃取,且窃取者获取到该用户终端的支付密码等重要信息,那么很可能会造成用户财产等方面的损失。因此,需要进一步来识别终端的操作者是否为合法用户。With the continuous development of technology, users are more and more inseparable from the terminal in daily life, and users can easily conduct online shopping, transfer and other operations through the terminal. However, once the user terminal is stolen, and the thief obtains important information such as the payment password of the user terminal, it is likely to cause loss of the user's property and other aspects. Therefore, it is necessary to further identify whether the operator of the terminal is a legitimate user.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本发明提供一种终端控制方法及装置。In order to overcome the problems existing in the related art, the present invention provides a terminal control method and device.

根据本发明实施例的第一方面,提供一种终端控制方法,包括:According to a first aspect of the embodiments of the present invention, a terminal control method is provided, including:

获取用户在终端触屏上的触发操作;Obtain the trigger operation of the user on the touch screen of the terminal;

提取所述触发操作在所述终端触屏上产生的操作信息;extracting the operation information generated by the trigger operation on the touch screen of the terminal;

判断所述操作信息是否与预设操作信息相匹配;judging whether the operation information matches the preset operation information;

当所述操作信息与预设操作信息不匹配时,控制所述终端进入锁定状态。When the operation information does not match the preset operation information, the terminal is controlled to enter a locked state.

根据本发明实施例的第二方面,提供一种终端控制装置,包括:According to a second aspect of the embodiments of the present invention, a terminal control apparatus is provided, including:

触发操作获取单元,用于获取用户在终端触屏上的触发操作;a trigger operation acquisition unit, which is used to acquire the trigger operation of the user on the touch screen of the terminal;

操作信息提取单元,用于提取所述触发操作在所述终端触屏上产生的操作信息;an operation information extraction unit, configured to extract the operation information generated by the trigger operation on the touch screen of the terminal;

匹配判断单元,用于判断所述操作信息是否与预设操作信息相匹配;a matching judging unit for judging whether the operation information matches the preset operation information;

终端控制单元,用于在所述操作信息与预设操作信息不匹配时,控制所述终端进入锁定状态。A terminal control unit, configured to control the terminal to enter a locked state when the operation information does not match the preset operation information.

本发明的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:

本发明提供的终端控制方法及装置,通过获取用户在终端触屏上的触发操作,并提取该触发操作在终端触屏上产生的操作信息,进而通过该操作信息判断是否与预设操作信息相匹配,在该操作信息与预设操作信息不匹配时,说明操作该终端的用户很可能是非法用户,这时需要控制终端进入锁定状态,可以有效避免非法用户对终端产生非法操作,防止给合法用户造成财产等方面的损失。The terminal control method and device provided by the present invention obtain the trigger operation of the user on the touch screen of the terminal, extract the operation information generated by the trigger operation on the touch screen of the terminal, and then judge whether it is consistent with the preset operation information through the operation information. Matching, when the operation information does not match the preset operation information, it means that the user who operates the terminal is likely to be an illegal user. At this time, it is necessary to control the terminal to enter the locked state, which can effectively prevent illegal users from performing illegal operations on the terminal and prevent illegal users from Damage to property caused by the user.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.

图1是根据一示例性实施例示出的一种终端控制方法的流程图;FIG. 1 is a flowchart of a method for controlling a terminal according to an exemplary embodiment;

图2是图1中步骤S130的流程图;Fig. 2 is the flow chart of step S130 in Fig. 1;

图3是一示例性实施例中提供的场景示意图;3 is a schematic diagram of a scenario provided in an exemplary embodiment;

图4是图1中步骤S130的流程图;Fig. 4 is the flow chart of step S130 in Fig. 1;

图5是图1中步骤S130的流程图;Fig. 5 is the flowchart of step S130 in Fig. 1;

图6是图1中步骤S130的流程图;Fig. 6 is the flow chart of step S130 in Fig. 1;

图7是图1中步骤S130的流程图;Fig. 7 is the flowchart of step S130 in Fig. 1;

图8是一示例性实施例中示出的手机三维坐标示意图;8 is a schematic diagram of three-dimensional coordinates of a mobile phone shown in an exemplary embodiment;

图9是根据一示例性实施例示出的一种终端控制方法的流程图;FIG. 9 is a flowchart of a method for controlling a terminal according to an exemplary embodiment;

图10是根据一示例性实施例示出的一种终端控制装置的结构示意图;FIG. 10 is a schematic structural diagram of a terminal control apparatus according to an exemplary embodiment;

图11是图10中匹配判断单元的示意图;Fig. 11 is the schematic diagram of the matching judgment unit in Fig. 10;

图12是图10中匹配判断单元的示意图;Fig. 12 is the schematic diagram of the matching judgment unit in Fig. 10;

图13是图10中匹配判断单元的示意图;Fig. 13 is the schematic diagram of the matching judgment unit in Fig. 10;

图14是图10中匹配判断单元的示意图;Fig. 14 is the schematic diagram of the matching judgment unit in Fig. 10;

图15是图10中匹配判断单元的示意图;Fig. 15 is the schematic diagram of the matching judgment unit in Fig. 10;

图16是一示例性实施例示出的一种终端控制装置的结构示意图。FIG. 16 is a schematic structural diagram of a terminal control apparatus according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.

随着科技的不断发展,可供用户选择使用终端的数量和种类也越来越多,常见的如手机、平板电脑和电子书等终端。用户也可以很方便的通过终端进行转账、付款等操作,因此终端的安全问题变得尤为重要。With the continuous development of technology, there are more and more terminals available for users to choose from, such as mobile phones, tablet computers, and e-books. Users can also easily perform operations such as transfer and payment through the terminal, so the security of the terminal becomes particularly important.

由于目前绝大多数终端给用户提供触屏控制,用户可以通过如手指对终端显示屏的触摸操作就可以控制终端。因此,本发明通过收集用户对终端的习惯性操作,生成预设操作信息,在用户对终端产生新的触发操作时,通过将新产生的触发操作与预先生成的操作信息(即预设操作信息)进行比对,可快速判断操作该终端的用户是否为非法用户,避免合法用户财产等方面的损失。Since most terminals currently provide users with touch screen control, the user can control the terminal through, for example, a finger touch operation on the display screen of the terminal. Therefore, the present invention generates preset operation information by collecting the user's habitual operation on the terminal, and when the user generates a new trigger operation on the terminal, by combining the newly generated trigger operation with the pre-generated operation information (that is, the preset operation information ) to compare, can quickly determine whether the user operating the terminal is an illegal user, and avoid the loss of legal user property and other aspects.

为了详细阐述本发明提供的技术方案,本发明一实施例中首先提供了一种终端控制方法,如图1所示,该方法可以包括如下步骤:In order to elaborate the technical solution provided by the present invention, an embodiment of the present invention first provides a terminal control method. As shown in FIG. 1 , the method may include the following steps:

在步骤S110中,获取用户在终端触屏上的触发操作。In step S110, a trigger operation of the user on the touch screen of the terminal is acquired.

该触发操作指用户在终端触屏上的触控操作,如用户通过手指在终端触屏上的点击、滑动或拖动等操作。由于终端的触屏上装有传感器,用户在终端触屏上产生触发操作时,触屏上的传感器可以获取到用户在触屏上的相关操作。The trigger operation refers to a touch operation performed by the user on the touch screen of the terminal, for example, operations such as clicking, sliding, or dragging by the user on the touch screen of the terminal with a finger. Since the touch screen of the terminal is equipped with a sensor, when the user generates a trigger operation on the touch screen of the terminal, the sensor on the touch screen can acquire the relevant operation of the user on the touch screen.

在步骤S120中,提取触发操作在终端触屏上产生的操作信息。In step S120, the operation information generated by the trigger operation on the touch screen of the terminal is extracted.

用户在终端触屏上的触发操作可以产生很多的信息,如滑动轨迹、按压力度、点击速率或用户手指在终端触屏上的实时接触区域面积等等,在该实施例中,本发明需提取触发操作中相关所需的操作信息,通过下述对该操作信息的验证,进而判断当前用户是否为非法用户。The user's trigger operation on the terminal touch screen can generate a lot of information, such as sliding track, pressing force, click rate or real-time contact area area of the user's finger on the terminal touch screen, etc. In this embodiment, the present invention needs to extract The operation information required in the trigger operation is verified through the following verification of the operation information, and then it is judged whether the current user is an illegal user.

在步骤S130中,判断操作信息是否与预设操作信息相匹配。In step S130, it is determined whether the operation information matches the preset operation information.

当操作信息与预设操作信息不匹配时,在步骤S140中,控制终端进入锁定状态。When the operation information does not match the preset operation information, in step S140, the terminal is controlled to enter a locked state.

该预设操作信息是用户之前对终端触屏的触发操作中包括的操作信息,即用户对终端触屏的习惯性操作,通过将用户当前对终端触屏产生的操作信息与用户以往的习惯性操作信息进行比对,来判断用户当前的操作信息是否与预设操作信息相匹配。另外,也可以将用户的习惯性操作信息作为标准操作信息,将用户当前对终端触屏操作产生的操作信息与标准操作信息进行匹配。The preset operation information is the operation information included in the user's previous triggering operation on the terminal touch screen, that is, the user's habitual operation on the terminal touch screen. The operation information is compared to determine whether the user's current operation information matches the preset operation information. In addition, the user's habitual operation information may also be used as the standard operation information, and the operation information generated by the user's current touch-screen operation of the terminal is matched with the standard operation information.

在用户对终端触屏产生的操作信息与预设操作信息不匹配时,很有可能是其他的非法用户在操作该终端,这时为了避免给合法用户造成财产等方面的安全隐患,需要控制终端进入锁定状态,避免非法用户对该终端产生进一步的操作。When the operation information generated by the user touching the screen of the terminal does not match the preset operation information, it is very likely that other illegal users are operating the terminal. At this time, in order to avoid potential security risks to legitimate users in terms of property and other aspects, it is necessary to control the terminal. Enter the locked state to prevent illegal users from further operations on the terminal.

本发明提供的终端控制方法,通过获取用户在终端触屏上的触发操作,并提取该触发操作在终端触屏上产生的操作信息,进而通过该操作信息判断是否与预设操作信息相匹配,在该操作信息与预设操作信息不匹配时,说明操作该终端的用户很可能是非法用户,这时需要控制终端进入锁定状态,避免非法用户对终端产生非法操作,防止给合法用户造成财产等方面的损失。The terminal control method provided by the present invention obtains the trigger operation of the user on the touch screen of the terminal, extracts the operation information generated by the trigger operation on the touch screen of the terminal, and then judges whether it matches the preset operation information according to the operation information. When the operation information does not match the preset operation information, it indicates that the user operating the terminal is likely to be an illegal user. At this time, it is necessary to control the terminal to enter a locked state to prevent illegal users from performing illegal operations on the terminal and prevent legal users from causing property, etc. loss in terms of.

为了详细说明如何判断操作信息是否与预设操作信息相匹配,作为图1方法的细化,在本发明提供的又一实施例中,如图2所示,该操作信息包括互动轨迹,步骤S130可以包括如下步骤:In order to describe in detail how to determine whether the operation information matches the preset operation information, as a refinement of the method in FIG. 1 , in another embodiment provided by the present invention, as shown in FIG. 2 , the operation information includes an interaction track, step S130 Can include the following steps:

在步骤S131中,将滑动轨迹与预设滑动轨迹匹配,得到滑动轨迹与预设滑动轨迹之间的匹配度。In step S131, the sliding track is matched with the preset sliding track to obtain the matching degree between the sliding track and the preset sliding track.

用户在通过触屏控制终端时,很多时候都需要在终端上进行滑动操作,而对于用户而言,例如,在需要调取终端屏幕上的下拉菜单时,一般用户习惯用大拇指滑动终端触屏,进行相关操作,而由于同一个用户的手掌面积和手指长度一定,加上用户对终端的习惯性握持方式,那么用户一般对相同的滑动操作,每次在终端触屏上产生的滑动轨迹一致。因此,可以通过用户在终端触屏上的滑动轨迹来判断用户的操作信息是否与预设操作信息相匹配。When users control the terminal through the touch screen, they often need to perform sliding operations on the terminal. For users, for example, when they need to call the drop-down menu on the terminal screen, the general user is used to sliding the terminal touch screen with the thumb. , and perform related operations, and because the same user's palm area and finger length are constant, and the user's habitual way of holding the terminal, the user generally performs the same sliding operation, and the sliding track generated on the terminal touch screen each time Consistent. Therefore, whether the user's operation information matches the preset operation information can be determined by the user's sliding track on the touch screen of the terminal.

在步骤S132中,判断匹配度是否小于第一预设阈值。In step S132, it is determined whether the matching degree is less than a first preset threshold.

当匹配度小于第一预设阈值时,在步骤S133中,确定操作信息与预设操作信息不匹配。When the matching degree is less than the first preset threshold, in step S133, it is determined that the operation information does not match the preset operation information.

示例性的,结合图3,在终端的显示屏上建立二维坐标系,图3中包括x轴、y轴和原点(0,0),用户在对终端进行某一预设操作时,100为用户在终端触屏上的滑动轨迹,200为预设滑动轨迹,将滑动轨迹与预设滑动轨迹匹配,得到滑动轨迹与预设滑动轨迹之间的匹配度可以是100和200在终端触屏上的重合度,如果二者完全重合,那么说明匹配度为1;如果完全没有重合,那么匹配度为0;如果100和200重合一半,那么匹配度为0.5。在计算100和200之间的匹配度时,可以通过计算100和200之间的重合面积与200所占面积的比例得到。例如,在100和200之间的重合面积占200的面积比例大于0.7时,确定操作信息与预设操作信息不匹配。Exemplarily, with reference to FIG. 3, a two-dimensional coordinate system is established on the display screen of the terminal, and FIG. 3 includes the x-axis, the y-axis and the origin (0, 0). When the user performs a certain preset operation on the terminal, 100 is the sliding track of the user on the touch screen of the terminal, 200 is the preset sliding track, and the sliding track is matched with the preset sliding track, and the matching degree between the sliding track and the preset sliding track can be 100 and 200 on the touch screen of the terminal. If the two are completely coincident, then the matching degree is 1; if there is no overlap at all, then the matching degree is 0; if 100 and 200 overlap half, then the matching degree is 0.5. When calculating the matching degree between 100 and 200, it can be obtained by calculating the ratio of the overlapping area between 100 and 200 to the area occupied by 200. For example, when the ratio of the overlapping area between 100 and 200 to the area of 200 is greater than 0.7, it is determined that the operation information does not match the preset operation information.

为了详细说明如何判断操作信息是否与预设操作信息相匹配,作为图1方法的细化,在本发明提供的又一实施例中,如图4所示,操作信息包括所述用户在终端屏幕上产生的实时按压力度值,步骤S130可以包括如下步骤:In order to describe in detail how to determine whether the operation information matches the preset operation information, as a refinement of the method in FIG. 1 , in another embodiment provided by the present invention, as shown in FIG. The real-time pressing force value generated on the above, step S130 may include the following steps:

在步骤S134中,根据实时按压力度值,计算用户在终端触屏上产生的平均按压力度值。In step S134, the average pressing force value generated by the user on the touch screen of the terminal is calculated according to the real-time pressing force value.

示例性的,用户在终端触屏上进行滑动操作时,会对终端触屏上产生持续性的按压,而按压产生的力度值在滑动操作过程中不可能一直不变,因此需要获取用户在终端屏幕上产生的实时按压力度值。Exemplarily, when the user performs a sliding operation on the touch screen of the terminal, a continuous pressure is generated on the touch screen of the terminal, and the force value generated by the pressing cannot remain unchanged during the sliding operation. The real-time compression force value generated on the screen.

为了简化计算,可以获取到的一系列按压力度值中抽样某几个值,然后求这几个值的平均值即可得到平均按压力度值。In order to simplify the calculation, some values can be sampled from a series of obtained pressing force values, and then the average value of these values can be obtained to obtain the average pressing force value.

在步骤S135中,计算平均按压力度值与预设按压力度值之间按压力度差值的绝对值。In step S135, the absolute value of the pressing force difference between the average pressing force value and the preset pressing force value is calculated.

将平均按压力度值与预设按压力度值做差,然后求绝对值,即可得到平均按压力度值与预设按压力度值之间按压力度差值的绝对值。The difference between the average pressing force value and the preset pressing force value is calculated, and then the absolute value is obtained to obtain the absolute value of the pressing force difference between the average pressing force value and the preset pressing force value.

在步骤S136中,判断按压力度差值的绝对值是否大于第二预设阈值。In step S136, it is determined whether the absolute value of the pressing force difference is greater than a second preset threshold.

当按压力度差值的绝对值大于第二预设阈值时,在步骤S137中,确定操作信息与预设操作信息不匹配。When the absolute value of the pressing force difference is greater than the second preset threshold, in step S137, it is determined that the operation information does not match the preset operation information.

如果按压力度差值的绝对值大于第二预设阈值,说明平均按压力度值与预设按压力度值相差太大,那么可以确定操作信息与预设操作信息不匹配。If the absolute value of the difference in pressing force is greater than the second preset threshold, it means that the difference between the average pressing force and the preset pressing force is too large, and it can be determined that the operation information does not match the preset operation information.

为了详细说明如何判断操作信息是否与预设操作信息相匹配,作为图1方法的细化,在本发明提供的又一实施例中,如图5所示,操作信息包括用户在所述终端触屏上产生的实时滑动速率,步骤S130可以包括如下步骤:In order to describe in detail how to determine whether the operation information matches the preset operation information, as a refinement of the method in FIG. 1 , in another embodiment provided by the present invention, as shown in FIG. 5 , the operation information includes: The real-time sliding rate generated on the screen, step S130 may include the following steps:

在步骤S1371中,根据实时滑动速率,计算用户在终端触屏上产生的平均滑动速率。In step S1371, the average sliding rate generated by the user on the touch screen of the terminal is calculated according to the real-time sliding rate.

一般情况下,用户在终端触屏上做滑动操作时,速率从0开始变大,达到峰值后又逐渐变小至0。因此,需要获取用户在终端触屏上的实时滑动速率。为了计算简便,可以对获取到的实时滑动速率进行抽样,从获取到的实时滑动速率中抽取某几个数值,然后求这几个数值的平均值即为平均滑动速率。Under normal circumstances, when the user performs a sliding operation on the terminal touch screen, the rate starts to increase from 0, and then gradually decreases to 0 after reaching a peak value. Therefore, it is necessary to obtain the real-time sliding rate of the user on the touch screen of the terminal. In order to simplify the calculation, the obtained real-time sliding rate can be sampled, some values are extracted from the obtained real-time sliding rate, and the average value of these values is calculated as the average sliding rate.

在步骤S1372中,计算平均滑动速率与预设滑动速率之间速率差值的绝对值。In step S1372, the absolute value of the speed difference between the average sliding speed and the preset sliding speed is calculated.

将平均滑动速率与预设滑动速率做差,得到差值,并求该差值的绝对值即为平均滑动速率与预设滑动速率之间速率差值的绝对值。The difference between the average sliding rate and the preset sliding rate is obtained, and the absolute value of the difference is obtained as the absolute value of the rate difference between the average sliding rate and the preset sliding rate.

在步骤S1373中,判断速率差值的绝对值是否大于第三预设阈值。In step S1373, it is determined whether the absolute value of the rate difference is greater than a third preset threshold.

当速率差值的绝对值大于第三预设阈值时,在步骤S1374中,确定操作信息与预设操作信息不匹配。When the absolute value of the rate difference is greater than the third preset threshold, in step S1374, it is determined that the operation information does not match the preset operation information.

如果速率差值的绝对值大于第三预设阈值,说明平均滑动速率与预设滑动速率之间相差太大,那么可以确定操作信息与预设操作信息不匹配。If the absolute value of the rate difference is greater than the third preset threshold, indicating that the difference between the average sliding rate and the preset sliding rate is too large, it can be determined that the operation information does not match the preset operation information.

为了详细说明如何判断操作信息是否与预设操作信息相匹配,作为图1方法的细化,在本发明提供的又一实施例中,如图6所示,操作信息包括所述用户在终端屏幕上的点击频率,步骤S130可以包括如下步骤:In order to describe in detail how to determine whether the operation information matches the preset operation information, as a refinement of the method in FIG. 1 , in another embodiment provided by the present invention, as shown in FIG. The click frequency on the above, step S130 may include the following steps:

在步骤S1381中,计算点击频率与预设点击频率之间频率差值的绝对值。In step S1381, the absolute value of the frequency difference between the click frequency and the preset click frequency is calculated.

示例性的,用户在对终端触屏进行双击或三击等操作时,由于不同的用户对终端触屏点击的频率也可能不同,因此,可以获取用户对终端触屏的点击频率,然后将该点击频率与预设点击频率做差,得到差值,然后求出该差值的绝对值即为点击频率与预设点击频率之间频率差值的绝对值。Exemplarily, when the user double-clicks or triple-clicks the terminal touch screen, since different users may have different clicks on the terminal touch screen, the frequency of the user's click on the terminal touch screen can be obtained, and then the The difference between the click frequency and the preset click frequency is obtained to obtain the difference, and then the absolute value of the difference is obtained as the absolute value of the frequency difference between the click frequency and the preset click frequency.

在步骤S1382中,判断频率差值的绝对值是否大于第四预设阈值。In step S1382, it is determined whether the absolute value of the frequency difference is greater than a fourth preset threshold.

当频率差值的绝对值大于第四预设阈值时,在步骤S1383中,确定操作信息与预设操作信息不匹配。When the absolute value of the frequency difference is greater than the fourth preset threshold, in step S1383, it is determined that the operation information does not match the preset operation information.

如果频率差值的绝对值是否大于第四预设阈值,说明用户的点击频率与预设点击频率相比,相差太大,很可能为非法用户在操作用户的终端,那么可以确定操作信息与预设操作信息不匹配。If the absolute value of the frequency difference is greater than the fourth preset threshold, it means that the difference between the user's click frequency and the preset click frequency is too large, and it is likely that an illegal user is operating the user's terminal. The set operation information does not match.

为了详细说明如何判断操作信息是否与预设操作信息相匹配,作为图1方法的细化,在本发明提供的又一实施例中,如图7所示,操作信息包括终端的倾斜度,步骤S130可以包括如下步骤:In order to describe in detail how to determine whether the operation information matches the preset operation information, as a refinement of the method in FIG. 1 , in another embodiment provided by the present invention, as shown in FIG. 7 , the operation information includes the inclination of the terminal. Steps S130 may include the following steps:

在步骤S1391中,计算倾斜度与预设倾斜度之间倾斜度差值的绝对值。In step S1391, the absolute value of the inclination difference between the inclination and the preset inclination is calculated.

结合图8,以终端为手机为例,目前手机上基本上都安装有加速度传感器,建立手机上以x、y和z三个方向的三维坐标系,通过加速度传感器可以计算出手机在x、y和z三个方向上的分量,在手机处于无加速度状态时(如处于静止或匀速直线运动状态时),只有重力加速度会分解到x、y和z三个坐标上。With reference to Figure 8, taking the terminal as a mobile phone as an example, at present, acceleration sensors are basically installed on mobile phones, and a three-dimensional coordinate system in the three directions of x, y and z is established on the mobile phone. The components in the three directions of and z, when the mobile phone is in a state of no acceleration (such as when it is stationary or in a state of uniform linear motion), only the acceleration of gravity will be decomposed into three coordinates of x, y and z.

手机的倾斜度,可以理解为手机屏幕与水平面的夹角,结合图8所示,由于z轴与手机屏幕垂直(夹角为90°),并且z轴与水平面的夹角、手机屏幕与水平面的夹角互余,那么手机屏幕与水平面的夹角,可以通过计算z轴与水平面的夹角得到,而z轴与水平面的夹角可以通过根据加速度传感器检测到的数据得到,因此可以很容易计算出手机的倾斜度。The inclination of the mobile phone can be understood as the angle between the mobile phone screen and the horizontal plane. As shown in Figure 8, since the z-axis is perpendicular to the mobile phone screen (the angle is 90°), and the angle between the z-axis and the horizontal plane, the mobile phone screen and the horizontal plane Then the angle between the mobile phone screen and the horizontal plane can be obtained by calculating the angle between the z-axis and the horizontal plane, and the angle between the z-axis and the horizontal plane can be obtained according to the data detected by the acceleration sensor, so it can be easily Calculate the tilt of the phone.

在步骤S1392中,判断倾斜度差值的绝对值是否大于第五预设阈值。In step S1392, it is determined whether the absolute value of the gradient difference is greater than a fifth preset threshold.

由于每个用户都有自己操作终端的习惯,一般情况下用户手持或摆放终端的倾斜度也一定,因此,可以通过判断用户在使用终端时终端的倾斜度来判断该用户是否为非法用户。Since each user has his own habit of operating the terminal, generally the user holds or places the terminal at a certain inclination. Therefore, whether the user is an illegal user can be determined by judging the inclination of the terminal when the user uses the terminal.

当倾斜度差值的绝对值大于第五预设阈值大于第五预设阈值时,在步骤S1393中,确定操作信息与预设操作信息不匹配。When the absolute value of the gradient difference is greater than the fifth preset threshold and greater than the fifth preset threshold, in step S1393, it is determined that the operation information does not match the preset operation information.

如果终端的倾斜度与预设倾斜度相比,相差过大,那么使用该终端的当前用户很可能为非法用户,可以确定操作信息与预设操作信息不匹配。If the difference between the inclination of the terminal and the preset inclination is too large, the current user using the terminal is likely to be an illegal user, and it can be determined that the operation information does not match the preset operation information.

作为图1方法的细化,如图9所示,在步骤S140之后,该方法还可以包括如下步骤:As a refinement of the method in FIG. 1, as shown in FIG. 9, after step S140, the method may further include the following steps:

在步骤S150中,提示用户输入身份认证信息,以便终端在获取到用户输入的身份认证信息之后,对用户输入的身份认证信息进行认证。In step S150, the user is prompted to input the identity authentication information, so that the terminal authenticates the identity authentication information input by the user after acquiring the identity authentication information input by the user.

在终端进入锁定状态时,可以在终端的显示界面弹出信息输入框,使得用户在该信息输入框中输入身份认证信息,防止用户因改变操作习惯而应用用户正常使用终端。其中,该身份认证信息可以是一个安全密码,该安全密码是用户预留的,这个密码同登录密码和支付密码不一样,即便在用户中的登陆密码和支付密码被盗之后,还可以通过该安全密码对用户身份进行验证。When the terminal enters the locked state, an information input box can be popped up on the display interface of the terminal, so that the user can input the identity authentication information in the information input box, so as to prevent the user from changing the operation habit and using the user to use the terminal normally. The identity authentication information may be a security password, which is reserved by the user. This password is different from the login password and payment password. Even after the login password and payment password of the user are stolen, the security password can still be used for A secure password authenticates the user's identity.

需要说明的是,上述各实施例可以相互结合,例如,可以分别判断上述用户的滑动轨迹、实时按压力度值、实时滑动速率、点击频率或手机倾斜度中的一种或几种组合对用户当前的操作进行判断。例如,在上述判断同时都不满足条件时,可以说明该用户为非法用户,在进一步验证并通过该用户的身份之后,才能够继续操作终端,避免该用户造成如财产等损失。当然,上述判断的各种因素可以根据具体情况进行设定,选择所需结合使用判断是否为非法用户,本发明不局限于此。It should be noted that the above-mentioned embodiments can be combined with each other. For example, one or more combinations of the above-mentioned user's sliding trajectory, real-time pressing force value, real-time sliding rate, click frequency or mobile phone inclination can be judged respectively. operation to be judged. For example, when the above judgments do not meet the conditions at the same time, it can be indicated that the user is an illegal user, and after further verification and passing the identity of the user, the terminal can continue to be operated to avoid losses such as property caused by the user. Of course, various factors for the above judgment can be set according to specific conditions, and the user can be judged whether it is an illegal user by selecting the required combination, and the present invention is not limited to this.

本发明提供的终端控制方法,通过获取用户在终端触屏上的触发操作,并提取该触发操作在终端触屏上产生的操作信息,进而通过该操作信息判断是否与预设操作信息相匹配,在该操作信息与预设操作信息不匹配时,说明操作该终端的用户很可能是非法用户,这时需要控制终端进入锁定状态,避免非法用户对终端产生非法操作,防止给合法用户造成财产等方面的损失。The terminal control method provided by the present invention obtains the trigger operation of the user on the touch screen of the terminal, extracts the operation information generated by the trigger operation on the touch screen of the terminal, and then judges whether it matches the preset operation information according to the operation information. When the operation information does not match the preset operation information, it indicates that the user operating the terminal is likely to be an illegal user. At this time, it is necessary to control the terminal to enter a locked state to prevent illegal users from performing illegal operations on the terminal and prevent legal users from causing property, etc. loss in terms of.

另外,可以对用户的滑动轨迹、实时按压力度值、实时滑动速率或点击频率中的一种或几种组合对用户当前的操作进行判断,如果该判断都不满足条件,很可能说明当前操作终端的用户为非法用户。In addition, one or several combinations of the user's sliding trajectory, real-time pressing force value, real-time sliding rate or click frequency can be used to judge the user's current operation. If the judgment does not meet the conditions, it is likely to indicate that the terminal is currently operating. The user is an illegal user.

通过以上的方法实施例的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:只读存储器(ROM)、随机存取存储器(RAM)、磁碟或者光盘等各种可以存储程序代码的介质。From the description of the above method embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on such understanding, the technical solutions of the present invention essentially or the parts that contribute to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes several instructions for making a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: read only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes.

另外,作为对上述各实施例的实现,本发明实施例还提供了一种终端控制装置,该装置位于终端中,如图10所示,该装置包括:触发操作获取单元10、操作信息提取单元20、匹配判断单元30和终端控制单元40,其中,In addition, as an implementation of the above embodiments, an embodiment of the present invention further provides a terminal control device, which is located in a terminal. As shown in FIG. 10 , the device includes: a trigger operation acquisition unit 10 and an operation information extraction unit 20. The matching judgment unit 30 and the terminal control unit 40, wherein,

触发操作获取单元10,用于获取用户在终端触屏上的触发操作;a trigger operation acquisition unit 10, configured to acquire a user's trigger operation on the touch screen of the terminal;

操作信息提取单元20,用于提取所述触发操作在所述终端触屏上产生的操作信息;an operation information extraction unit 20, configured to extract the operation information generated by the trigger operation on the touch screen of the terminal;

匹配判断单元30,用于判断所述操作信息是否与预设操作信息相匹配;a matching judging unit 30, configured to judge whether the operation information matches the preset operation information;

终端控制单元40,用于在所述操作信息与预设操作信息不匹配时,控制所述终端进入锁定状态。The terminal control unit 40 is configured to control the terminal to enter a locked state when the operation information does not match the preset operation information.

在本发明又一实施例中,基于图10,如图11所示,所述操作信息包括滑动轨迹;所示匹配判断单元30,包括:In yet another embodiment of the present invention, based on FIG. 10 , as shown in FIG. 11 , the operation information includes a sliding track; the shown matching determination unit 30 includes:

滑动轨迹匹配模块31,用于将所述滑动轨迹与预设滑动轨迹匹配,得到所述滑动轨迹与所述预设滑动轨迹之间的匹配度;a sliding track matching module 31, configured to match the sliding track with a preset sliding track to obtain a degree of matching between the sliding track and the preset sliding track;

第一阈值判断模块32,用于判断所述匹配度是否小于第一预设阈值;a first threshold judgment module 32, configured to judge whether the matching degree is less than a first preset threshold;

第一操作信息确定模块33,用于在所述匹配度小于第一预设阈值时,确定所述操作信息与所述预设操作信息不匹配。The first operation information determination module 33 is configured to determine that the operation information does not match the preset operation information when the matching degree is less than a first preset threshold.

在本发明又一实施例中,基于图10,如图12所示,所述操作信息包括所述用户在终端屏幕上产生的实时按压力度值;所述匹配判断单元30,包括:In yet another embodiment of the present invention, based on FIG. 10 , as shown in FIG. 12 , the operation information includes the real-time pressing force value generated by the user on the terminal screen; the matching determination unit 30 includes:

平均按压力度值计算模块34,用于根据所述实时按压力度值,计算所述用户在所述终端触屏上产生的平均按压力度值;an average pressing force value calculation module 34, configured to calculate the average pressing force value generated by the user on the touch screen of the terminal according to the real-time pressing force value;

第一绝对值计算模块35,用于计算所述平均按压力度值与预设按压力度值之间按压力度差值的绝对值;The first absolute value calculation module 35 is used to calculate the absolute value of the pressing force difference between the average pressing force value and the preset pressing force value;

第二阈值判断模块36,用于判断所述按压力度差值的绝对值是否大于第二预设阈值;The second threshold judgment module 36 is configured to judge whether the absolute value of the pressing force difference is greater than the second preset threshold;

第二操作信息确定模块37,用于在所述按压力度差值的绝对值大于第二预设阈值时,确定所述操作信息与所述预设操作信息不匹配。The second operation information determination module 37 is configured to determine that the operation information does not match the preset operation information when the absolute value of the pressing force difference is greater than a second preset threshold.

在本发明又一实施例中,基于图10,如图13所示,所述操作信息包括所述用户在所述终端触屏上产生的实时滑动速率;所述匹配判断单元30,包括:In yet another embodiment of the present invention, based on FIG. 10 , as shown in FIG. 13 , the operation information includes the real-time sliding rate generated by the user on the touch screen of the terminal; the matching determination unit 30 includes:

平均滑动速率计算模块381,用于根据所述实时滑动速率,计算所述用户在所述终端触屏上产生的平均滑动速率;an average sliding rate calculation module 381, configured to calculate the average sliding rate generated by the user on the touch screen of the terminal according to the real-time sliding rate;

第二绝对值计算模块382,用于计算所述平均滑动速率与预设滑动速率之间速率差值的绝对值;The second absolute value calculation module 382 is configured to calculate the absolute value of the rate difference between the average sliding rate and the preset sliding rate;

第三阈值判断模块383,用于判断所述速率差值的绝对值是否大于第三预设阈值;A third threshold judgment module 383, configured to judge whether the absolute value of the rate difference is greater than a third preset threshold;

第三操作信息确定模块384,用于在所述速率差值的绝对值大于第三预设阈值时,确定所述操作信息与所述预设操作信息不匹配。The third operation information determination module 384 is configured to determine that the operation information does not match the preset operation information when the absolute value of the rate difference is greater than a third preset threshold.

在本发明又一实施例中,基于图10,如图14所示,所述操作信息包括所述用户在所述终端屏幕上的点击频率;所述匹配判断单元30,包括:In yet another embodiment of the present invention, based on FIG. 10 , as shown in FIG. 14 , the operation information includes the click frequency of the user on the terminal screen; the matching determination unit 30 includes:

第三绝对值计算模块391,用于计算所述点击频率与预设点击频率之间频率差值的绝对值;The third absolute value calculation module 391 is configured to calculate the absolute value of the frequency difference between the click frequency and the preset click frequency;

第四阈值判断模块392,用于判断所述频率差值的绝对值是否大于第四预设阈值;a fourth threshold judgment module 392, configured to judge whether the absolute value of the frequency difference is greater than a fourth preset threshold;

第四操作信息确定模块393,用于在所述频率差值的绝对值大于第四预设阈值时,确定所述操作信息与所述预设操作信息不匹配。The fourth operation information determination module 393 is configured to determine that the operation information does not match the preset operation information when the absolute value of the frequency difference is greater than a fourth preset threshold.

在本发明又一实施例中,基于图10,如图15所示,所述操作信息包括所述终端的倾斜度;所述匹配判断单元30,包括:In yet another embodiment of the present invention, based on FIG. 10 , as shown in FIG. 15 , the operation information includes the inclination of the terminal; the matching determination unit 30 includes:

第四绝对值计算模块394,用于计算所述倾斜度与预设倾斜度之间倾斜度差值的绝对值;a fourth absolute value calculation module 394, configured to calculate the absolute value of the difference in inclination between the inclination and a preset inclination;

第五阈值判断模块395,用于判断所述倾斜度差值的绝对值是否大于第五预设阈值;a fifth threshold judgment module 395, configured to judge whether the absolute value of the gradient difference is greater than the fifth preset threshold;

第五操作信息确定模块396,用于在所述倾斜度差值的绝对值大于第五预设阈值大于第五预设阈值时,确定所述操作信息与所述预设操作信息不匹配。The fifth operation information determination module 396 is configured to determine that the operation information does not match the preset operation information when the absolute value of the gradient difference is greater than the fifth preset threshold and greater than the fifth preset threshold.

在本发明又一实施例中,基于图10,如图16,该装置还可以包括:In yet another embodiment of the present invention, based on FIG. 10 , as shown in FIG. 16 , the apparatus may further include:

提示单元50,用于提示用户输入身份认证信息,以便所述终端在获取到用户输入的身份认证信息之后,对用户输入的身份认证信息进行认证。The prompting unit 50 is configured to prompt the user to input the identity authentication information, so that the terminal authenticates the identity authentication information input by the user after acquiring the identity authentication information input by the user.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

本发明提供的终端控制装置,通过获取用户在终端触屏上的触发操作,并提取该触发操作在终端触屏上产生的操作信息,进而通过该操作信息判断是否与预设操作信息相匹配,在该操作信息与预设操作信息不匹配时,说明操作该终端的用户很可能是非法用户,这时需要控制终端进入锁定状态,避免非法用户对终端产生非法操作,防止给合法用户造成财产等方面的损失。The terminal control device provided by the present invention obtains the trigger operation of the user on the touch screen of the terminal, extracts the operation information generated by the trigger operation on the touch screen of the terminal, and then judges whether it matches the preset operation information according to the operation information. When the operation information does not match the preset operation information, it indicates that the user operating the terminal is likely to be an illegal user. At this time, it is necessary to control the terminal to enter a locked state to prevent illegal users from performing illegal operations on the terminal and prevent legal users from causing property, etc. loss in terms of.

另外,可以对用户的滑动轨迹、实时按压力度值、实时滑动速率或点击频率中的一种或几种组合对用户当前的操作进行判断,如果该判断都不满足条件,很可能说明当前操作终端的用户为非法用户。In addition, one or several combinations of the user's sliding trajectory, real-time pressing force value, real-time sliding rate or click frequency can be used to judge the user's current operation. If the judgment does not meet the conditions, it is likely to indicate that the terminal is currently operating. The user is an illegal user.

可以理解的是,本发明可用于众多通用或专用的计算系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。It will be appreciated that the present invention may be employed in numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, and the like.

本发明可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本发明,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or conventional techniques in the art not disclosed by the invention . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.

Claims (10)

1.一种终端控制方法,其特征在于,包括:1. a terminal control method, is characterized in that, comprises: 获取用户在终端触屏上的触发操作;Obtain the trigger operation of the user on the touch screen of the terminal; 提取所述触发操作在所述终端触屏上产生的操作信息;extracting the operation information generated by the trigger operation on the touch screen of the terminal; 判断所述操作信息是否与预设操作信息相匹配;judging whether the operation information matches the preset operation information; 当所述操作信息与预设操作信息不匹配时,控制所述终端进入锁定状态;When the operation information does not match the preset operation information, controlling the terminal to enter a locked state; 所述操作信息包括所述用户在所述终端触屏上产生的实时滑动速率;所述判断所述操作信息是否与预设操作信息相匹配,包括:The operation information includes the real-time sliding rate generated by the user on the touch screen of the terminal; the judging whether the operation information matches the preset operation information includes: 根据所述实时滑动速率,计算所述用户在所述终端触屏上产生的平均滑动速率;According to the real-time sliding rate, calculate the average sliding rate generated by the user on the touch screen of the terminal; 计算所述平均滑动速率与预设滑动速率之间速率差值的绝对值;calculating the absolute value of the rate difference between the average sliding rate and the preset sliding rate; 判断所述速率差值的绝对值是否大于第三预设阈值;judging whether the absolute value of the rate difference is greater than a third preset threshold; 当所述速率差值的绝对值大于第三预设阈值时,确定所述操作信息与所述预设操作信息不匹配;When the absolute value of the rate difference is greater than a third preset threshold, determining that the operation information does not match the preset operation information; 所述操作信息包括所述终端的倾斜度;所述判断所述操作信息是否与预设操作信息相匹配,包括:The operation information includes the inclination of the terminal; and the judging whether the operation information matches the preset operation information includes: 计算所述倾斜度与预设倾斜度之间倾斜度差值的绝对值;calculating the absolute value of the inclination difference between the inclination and a preset inclination; 判断所述倾斜度差值的绝对值是否大于第五预设阈值;judging whether the absolute value of the gradient difference is greater than a fifth preset threshold; 当所述倾斜度差值的绝对值大于第五预设阈值大于第五预设阈值时,确定所述操作信息与所述预设操作信息不匹配。When the absolute value of the gradient difference value is greater than the fifth preset threshold value and greater than the fifth preset threshold value, it is determined that the operation information does not match the preset operation information. 2.根据权利要求1所述的终端控制方法,其特征在于,所述操作信息包括滑动轨迹;所述判断所述操作信息是否与预设操作信息相匹配,包括:2 . The terminal control method according to claim 1 , wherein the operation information comprises a sliding track; and the judging whether the operation information matches the preset operation information comprises: 2 . 将所述滑动轨迹与预设滑动轨迹匹配,得到所述滑动轨迹与所述预设滑动轨迹之间的匹配度;matching the sliding track with a preset sliding track to obtain a degree of matching between the sliding track and the preset sliding track; 判断所述匹配度是否小于第一预设阈值;judging whether the matching degree is less than a first preset threshold; 当所述匹配度小于第一预设阈值时,确定所述操作信息与所述预设操作信息不匹配。When the matching degree is less than a first preset threshold, it is determined that the operation information does not match the preset operation information. 3.根据权利要求1所述的终端控制方法,其特征在于,所述操作信息包括所述用户在终端屏幕上产生的实时按压力度值;所述判断所述操作信息是否与预设操作信息相匹配,包括:3 . The terminal control method according to claim 1 , wherein the operation information comprises a real-time pressing force value generated by the user on the terminal screen; the judgment is made as to whether the operation information is consistent with the preset operation information. 4 . matches, including: 根据所述实时按压力度值,计算所述用户在所述终端触屏上产生的平均按压力度值;According to the real-time pressing force value, calculate the average pressing force value generated by the user on the touch screen of the terminal; 计算所述平均按压力度值与预设按压力度值之间按压力度差值的绝对值;Calculate the absolute value of the pressing force difference between the average pressing force value and the preset pressing force value; 判断所述按压力度差值的绝对值是否大于第二预设阈值;judging whether the absolute value of the pressing force difference is greater than a second preset threshold; 当所述按压力度差值的绝对值大于第二预设阈值时,确定所述操作信息与所述预设操作信息不匹配。When the absolute value of the pressing force difference is greater than a second preset threshold, it is determined that the operation information does not match the preset operation information. 4.根据权利要求1所述的终端控制方法,其特征在于,所述操作信息包括所述用户在所述终端屏幕上的点击频率;所述判断所述操作信息是否与预设操作信息相匹配,包括:4 . The terminal control method according to claim 1 , wherein the operation information comprises the click frequency of the user on the terminal screen; and the judging whether the operation information matches preset operation information ,include: 计算所述点击频率与预设点击频率之间频率差值的绝对值;Calculate the absolute value of the frequency difference between the click frequency and the preset click frequency; 判断所述频率差值的绝对值是否大于第四预设阈值;judging whether the absolute value of the frequency difference is greater than a fourth preset threshold; 当所述频率差值的绝对值大于第四预设阈值时,确定所述操作信息与所述预设操作信息不匹配。When the absolute value of the frequency difference is greater than a fourth preset threshold, it is determined that the operation information does not match the preset operation information. 5.根据权利要求1所述的终端控制方法,其特征在于,还包括:5. The terminal control method according to claim 1, further comprising: 提示用户输入身份认证信息,以便所述终端在获取到用户输入的身份认证信息之后,对用户输入的身份认证信息进行认证。The user is prompted to input the identity authentication information, so that the terminal authenticates the identity authentication information input by the user after acquiring the identity authentication information input by the user. 6.一种终端控制装置,其特征在于,包括:6. A terminal control device, comprising: 触发操作获取单元,用于获取用户在终端触屏上的触发操作;a trigger operation acquisition unit, which is used to acquire the trigger operation of the user on the touch screen of the terminal; 操作信息提取单元,用于提取所述触发操作在所述终端触屏上产生的操作信息;an operation information extraction unit, configured to extract the operation information generated by the trigger operation on the touch screen of the terminal; 匹配判断单元,用于判断所述操作信息是否与预设操作信息相匹配;a matching judging unit for judging whether the operation information matches the preset operation information; 终端控制单元,用于在所述操作信息与预设操作信息不匹配时,控制所述终端进入锁定状态;a terminal control unit, configured to control the terminal to enter a locked state when the operation information does not match the preset operation information; 所述操作信息包括所述用户在所述终端触屏上产生的实时滑动速率;所述匹配判断单元,包括:The operation information includes the real-time sliding rate generated by the user on the touch screen of the terminal; the matching judging unit includes: 平均滑动速率计算模块,用于根据所述实时滑动速率,计算所述用户在所述终端触屏上产生的平均滑动速率;an average sliding rate calculation module, configured to calculate the average sliding rate generated by the user on the touch screen of the terminal according to the real-time sliding rate; 第二绝对值计算模块,用于计算所述平均滑动速率与预设滑动速率之间速率差值的绝对值;a second absolute value calculation module, configured to calculate the absolute value of the rate difference between the average sliding rate and the preset sliding rate; 第三阈值判断模块,用于判断所述速率差值的绝对值是否大于第三预设阈值;a third threshold judgment module, configured to judge whether the absolute value of the rate difference is greater than a third preset threshold; 第三操作信息确定模块,用于在所述速率差值的绝对值大于第三预设阈值时,确定所述操作信息与所述预设操作信息不匹配;a third operation information determination module, configured to determine that the operation information does not match the preset operation information when the absolute value of the rate difference is greater than a third preset threshold; 所述操作信息包括所述终端的倾斜度;所述匹配判断单元,包括:The operation information includes the inclination of the terminal; the matching determination unit includes: 第四绝对值计算模块,用于计算所述倾斜度与预设倾斜度之间倾斜度差值的绝对值;a fourth absolute value calculation module, configured to calculate the absolute value of the difference in inclination between the inclination and a preset inclination; 第五阈值判断模块,用于判断所述倾斜度差值的绝对值是否大于第五预设阈值;a fifth threshold judgment module, configured to judge whether the absolute value of the gradient difference is greater than a fifth preset threshold; 第五操作信息确定模块,用于在所述倾斜度差值的绝对值大于第五预设阈值大于第五预设阈值时,确定所述操作信息与所述预设操作信息不匹配。A fifth operation information determination module, configured to determine that the operation information does not match the preset operation information when the absolute value of the inclination difference is greater than a fifth preset threshold and greater than a fifth preset threshold. 7.根据权利要求6所述的终端控制装置,其特征在于,所述操作信息包括滑动轨迹;所述匹配判断单元,包括:7. The terminal control device according to claim 6, wherein the operation information comprises a sliding track; and the matching judgment unit comprises: 滑动轨迹匹配模块,用于将所述滑动轨迹与预设滑动轨迹匹配,得到所述滑动轨迹与所述预设滑动轨迹之间的匹配度;a sliding track matching module, configured to match the sliding track with a preset sliding track to obtain a degree of matching between the sliding track and the preset sliding track; 第一阈值判断模块,用于判断所述匹配度是否小于第一预设阈值;a first threshold judgment module, configured to judge whether the matching degree is less than a first preset threshold; 第一操作信息确定模块,用于在所述匹配度小于第一预设阈值时,确定所述操作信息与所述预设操作信息不匹配。A first operation information determination module, configured to determine that the operation information does not match the preset operation information when the matching degree is less than a first preset threshold. 8.根据权利要求6所述的终端控制装置,其特征在于,所述操作信息包括所述用户在终端屏幕上产生的实时按压力度值;所述匹配判断单元,包括:8. The terminal control device according to claim 6, wherein the operation information comprises a real-time pressing force value generated by the user on the terminal screen; the matching determination unit comprises: 平均按压力度值计算模块,用于根据所述实时按压力度值,计算所述用户在所述终端触屏上产生的平均按压力度值;an average pressing force value calculation module, configured to calculate the average pressing force value generated by the user on the touch screen of the terminal according to the real-time pressing force value; 第一绝对值计算模块,用于计算所述平均按压力度值与预设按压力度值之间按压力度差值的绝对值;a first absolute value calculation module, configured to calculate the absolute value of the difference in pressing force between the average pressing force value and the preset pressing force value; 第二阈值判断模块,用于判断所述按压力度差值的绝对值是否大于第二预设阈值;a second threshold judgment module, configured to judge whether the absolute value of the pressing force difference is greater than a second preset threshold; 第二操作信息确定模块,用于在所述按压力度差值的绝对值大于第二预设阈值时,确定所述操作信息与所述预设操作信息不匹配。A second operation information determination module, configured to determine that the operation information does not match the preset operation information when the absolute value of the pressing force difference is greater than a second preset threshold. 9.根据权利要求6所述的终端控制装置,其特征在于,所述操作信息包括所述用户在所述终端屏幕上的点击频率;所述匹配判断单元,包括:9 . The terminal control device according to claim 6 , wherein the operation information comprises the click frequency of the user on the terminal screen; the matching determination unit comprises: 第三绝对值计算模块,用于计算所述点击频率与预设点击频率之间频率差值的绝对值;The third absolute value calculation module is used to calculate the absolute value of the frequency difference between the click frequency and the preset click frequency; 第四阈值判断模块,用于判断所述频率差值的绝对值是否大于第四预设阈值;a fourth threshold judgment module, configured to judge whether the absolute value of the frequency difference is greater than a fourth preset threshold; 第四操作信息确定模块,用于在所述频率差值的绝对值大于第四预设阈值时,确定所述操作信息与所述预设操作信息不匹配。A fourth operation information determination module, configured to determine that the operation information does not match the preset operation information when the absolute value of the frequency difference is greater than a fourth preset threshold. 10.根据权利要求6所述的终端控制装置,其特征在于,还包括:10. The terminal control device according to claim 6, further comprising: 提示单元,用于提示用户输入身份认证信息,以便所述终端在获取到用户输入的身份认证信息之后,对用户输入的身份认证信息进行认证。The prompting unit is configured to prompt the user to input the identity authentication information, so that the terminal authenticates the identity authentication information input by the user after acquiring the identity authentication information input by the user.
CN201610103963.3A 2016-02-25 2016-02-25 Terminal control method and device Active CN107122639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610103963.3A CN107122639B (en) 2016-02-25 2016-02-25 Terminal control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610103963.3A CN107122639B (en) 2016-02-25 2016-02-25 Terminal control method and device

Publications (2)

Publication Number Publication Date
CN107122639A CN107122639A (en) 2017-09-01
CN107122639B true CN107122639B (en) 2020-10-30

Family

ID=59717693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610103963.3A Active CN107122639B (en) 2016-02-25 2016-02-25 Terminal control method and device

Country Status (1)

Country Link
CN (1) CN107122639B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316265A (en) * 2018-07-31 2020-06-19 华为技术有限公司 Fingerprint authentication method, equipment, storage medium and computer program product
CN112182519B (en) * 2020-10-10 2021-05-11 上海威固信息技术股份有限公司 Computer storage system security access method and access system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102203705A (en) * 2011-06-10 2011-09-28 华为终端有限公司 A touch-off method and wireless hand-held device
CN103870180A (en) * 2012-12-13 2014-06-18 腾讯科技(武汉)有限公司 Method and device for unlocking touch screen
CN104573576A (en) * 2015-01-13 2015-04-29 北京乐动卓越科技有限公司 Mobile terminal and screen locking protection method for same
CN104992089A (en) * 2015-07-23 2015-10-21 广东欧珀移动通信有限公司 Security verification method and system based on touch screen technology
CN105204763A (en) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 Unlocking method of terminal and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007148999A (en) * 2005-11-30 2007-06-14 Fujitsu Ltd Mobile device, IC card function lock control program, and IC card function lock control method
CN102662594B (en) * 2012-04-17 2017-12-22 中兴通讯股份有限公司 A kind of unlocking method, device and electric terminal
US20140115725A1 (en) * 2012-10-22 2014-04-24 Crucialsoft Company File using restriction method, user device and computer-readable storage
CN103019442B (en) * 2012-12-03 2016-03-30 深圳市金立通信设备有限公司 A kind of method of touch-screen response and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102203705A (en) * 2011-06-10 2011-09-28 华为终端有限公司 A touch-off method and wireless hand-held device
CN103870180A (en) * 2012-12-13 2014-06-18 腾讯科技(武汉)有限公司 Method and device for unlocking touch screen
CN104573576A (en) * 2015-01-13 2015-04-29 北京乐动卓越科技有限公司 Mobile terminal and screen locking protection method for same
CN104992089A (en) * 2015-07-23 2015-10-21 广东欧珀移动通信有限公司 Security verification method and system based on touch screen technology
CN105204763A (en) * 2015-08-27 2015-12-30 广东欧珀移动通信有限公司 Unlocking method of terminal and terminal

Also Published As

Publication number Publication date
CN107122639A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
US10747305B2 (en) Method, system, and device of authenticating identity of a user of an electronic device
US11194594B2 (en) Methods and systems for detecting a user and intelligently altering user device settings
US20220138301A1 (en) User identity authentication using virtual reality
US9526006B2 (en) System, method, and device of detecting identity of a user of an electronic device
US8938787B2 (en) System, device, and method of detecting identity of a user of a mobile electronic device
EP3526718B1 (en) Virtual reality identity verification
US9497312B1 (en) Dynamic unlock mechanisms for mobile devices
CN104378343B (en) The password method for retrieving of network account, Apparatus and system
US20120204257A1 (en) Detecting fraud using touchscreen interaction behavior
KR20160045633A (en) Authentication system
US20130104227A1 (en) Advanced authentication technology for computing devices
CN108319826A (en) A kind of method, apparatus and equipment of authentication
CN107122639B (en) Terminal control method and device
US12079935B2 (en) Securing communication sessions in the metaverse
EP3011483B1 (en) System, device, and method of detecting identity of a user of a mobile electronic device
CN105844124A (en) Processing method and device for password data
CN105807919B (en) control method and electronic equipment
CN105306721A (en) Mobile phone, and method and system for triggering application program to perform response thereof
CN102999292B (en) Method and device for quickly applying unlocking program of mobile terminal
CN106326720A (en) Unlocking method and device
WO2018132970A1 (en) Private information handling method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Grand Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant