CN108681665B - Operation execution method and device and mobile terminal - Google Patents

Operation execution method and device and mobile terminal Download PDF

Info

Publication number
CN108681665B
CN108681665B CN201810305043.9A CN201810305043A CN108681665B CN 108681665 B CN108681665 B CN 108681665B CN 201810305043 A CN201810305043 A CN 201810305043A CN 108681665 B CN108681665 B CN 108681665B
Authority
CN
China
Prior art keywords
included angle
mobile terminal
specified
user
sliding track
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
CN201810305043.9A
Other languages
Chinese (zh)
Other versions
CN108681665A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810305043.9A priority Critical patent/CN108681665B/en
Publication of CN108681665A publication Critical patent/CN108681665A/en
Application granted granted Critical
Publication of CN108681665B publication Critical patent/CN108681665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an operation execution method, which aims to solve the problems of complex process and low efficiency in a mode of triggering a mobile terminal to execute specified operation in the prior art. The method comprises the following steps: when the electronic equipment is in a user interface locking state, if touch operation is detected, judging whether the specified characteristic of the included angle of the sliding track corresponding to the touch operation is matched with the preset specified characteristic of the included angle; if yes, executing specified operation; the specifying operation includes: running a specified application and/or triggering entry into a specified user mode. According to the method, when the electronic equipment is in the user interface locking state, if the specified characteristic of the included angle of the sliding track is judged to be matched with the preset specified characteristic of the included angle, the specified operation can be executed, the user does not need to implement complicated actions, and therefore the specified operation can be triggered and executed with high efficiency. The invention also discloses an operation execution device and a mobile terminal.

Description

Operation execution method and device and mobile terminal
Technical Field
The present invention relates to the field of communications/terminals, and in particular, to an operation execution method and apparatus, and a mobile terminal.
Background
With the development of intelligent mobile terminals, user interface locking of mobile terminals is a common basic function for avoiding user information leakage and misoperation.
After the mobile terminal enters the user interface lock state, if a user desires to trigger the mobile terminal to perform some specified operations, such as triggering the mobile terminal to enter a user mode (for example, "user self use mode" or "guest mode") or running an application, the actions that the user needs to complete sequentially include:
firstly, the mobile terminal is unlocked in an unlocking mode such as manual input of a digital password, nine-square unlocking, fingerprint identification unlocking and the like.
If the user expects the mobile terminal to enter the tourist mode, after the mobile terminal releases the user interface locking state, the user clicks a user mode setting button to trigger the mobile terminal to display a user mode setting interface, and selects the tourist mode on the interface to trigger the mobile terminal to enter the mode;
if the user expects the mobile terminal to run a certain application, after the mobile terminal releases the user interface locking state, the user searches the icon of the application on the application icon display interface, and triggers the mobile terminal to run the application by clicking the icon of the application.
The above-mentioned manner for triggering the mobile terminal to execute the designated operation has the following disadvantages: the actions required to be manually operated by a user are more, the operation process is more complicated, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention provides an operation execution method, which aims to solve the problems of complicated operation process and low operation efficiency in a mode of triggering a mobile terminal to execute specified operation in the prior art.
The embodiment of the invention also provides an operation execution device, the mobile terminal and a storage medium.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an operation execution method is provided, and the method includes: when the electronic equipment is in a user interface locking state, if touch operation is detected, judging whether the specified characteristic of the included angle of the sliding track corresponding to the touch operation is matched with the preset included angle specified characteristic or not; if yes, executing specified operation; the specifying operation includes: running a specified application installed on the electronic device and/or triggering the electronic device to enter a specified user mode.
In a second aspect, there is provided an operation execution apparatus including: the judging unit is used for judging whether the specified characteristic of the included angle of the sliding track corresponding to the touch operation is matched with the preset specified characteristic of the included angle or not if the touch operation is detected when the electronic equipment is in a user interface locking state; a designated operation execution unit configured to execute a designated operation when the determination result obtained by the determination unit is yes; the specifying operation includes: running a specified application installed on the electronic device and/or triggering the electronic device to enter a specified user mode.
In a third aspect, a mobile terminal is provided, including: memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of operation execution as described above.
In a fourth aspect, a storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the above-described operation performing method.
In the embodiment of the invention, when the electronic equipment is in the user interface locking state, if the specified characteristic of the included angle of the sliding track is judged to be matched with the preset specified characteristic of the included angle, the specified operation can be executed without the need of the user to implement complicated actions, so that the specified operation can be triggered and executed with higher efficiency, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1a is a flowchart illustrating an operation performing method according to an embodiment of the present invention;
FIG. 1b is a schematic diagram of a sliding track 1 corresponding to a touch operation of a user according to an embodiment of the present invention;
FIG. 1c is a schematic diagram of a sliding track 2 corresponding to a touch operation of a user according to an embodiment of the present invention;
FIG. 1d is a schematic diagram of the location of the pixel traversed by the sliding trajectory in the coordinate system, in accordance with an embodiment of the present invention;
FIG. 1e is a schematic diagram of the position of the pixel passed by the sliding track in the coordinate system according to another embodiment of the present invention;
FIG. 1f is a schematic view of a user interface displayed by the mobile terminal in one embodiment of the present invention;
FIG. 1g is a schematic interface diagram of the mobile terminal after entering a mode of setting a reference trigger password according to an embodiment of the present invention;
FIG. 1h is a diagram of a sliding track input by a user in a mode of setting a reference trigger password in an embodiment of the present invention;
FIG. 1i is a diagram illustrating an interface including application icons displayed by a mobile terminal in accordance with an embodiment of the present invention;
FIG. 2a is a schematic representation of the overall process flow provided in example 2;
FIG. 2b is a diagram showing a mobile terminal in embodiment 2 displaying "associated application" and "associated user mode" options;
FIG. 2c is a diagram showing selectable user mode options of the mobile terminal in embodiment 2;
fig. 2d is a diagram showing a mobile terminal in embodiment 2 displaying a confirm save option;
FIG. 3a is a schematic representation of the overall process flow provided in example 3;
fig. 3b is a diagram showing a mobile terminal in embodiment 3 displaying a confirm save option;
fig. 4 is a schematic structural diagram of an operation execution device provided in embodiment 4;
fig. 5 is a schematic structural diagram of a mobile terminal provided in embodiment 5.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
Example 1
In order to solve the problems of a complicated process and low efficiency of a manner for triggering a mobile terminal to execute a specific operation provided in the prior art, embodiment 1 of the present invention provides an operation execution method. The execution main body of the operation execution method may be an electronic device of a mobile terminal type, such as a mobile phone, a personal computer or a tablet computer with a touch-sensitive display, a smart wearable device with a touch-sensitive display, or the like, or the execution main body of the operation execution method may also be an Application (APP) installed on the electronic device, or the execution main body of the operation execution method may also be an "external" electronic device capable of performing information transmission with the electronic device or the like.
For convenience of describing embodiment 1 of the present invention, the method will be described below by taking the implementation subject of the scheme as an example of a mobile terminal.
Referring to fig. 1a of the specification, a specific flow diagram of the operation execution method provided in embodiment 1 of the present invention is shown, where the flow specifically includes the following steps:
step 11: detecting touch operation on a touch-sensitive display of the mobile terminal when the mobile terminal is in a user interface locking state;
generally, a mobile terminal may have different user interface states. The user interface lock state as referred to herein is one of the user interface states. The mobile terminal may be operated in a user interface lock state, but the mobile terminal in this state does not substantially respond according to the operation except for displaying the lock screen interface. Of course, according to the current technology, some mobile terminals may run applications such as video and weather forecast in the user interface lock state.
In the embodiment of the invention, when the mobile terminal is in the user interface locking state, the touch operation of the touch-sensitive display of the mobile terminal can be detected. Touch sensitive displays, as used herein, are also referred to as "touch screens" or "touch screens". Touch screens are used in many electronic devices to display graphics and text, as well as to provide a user interface through which a user may interact with the device.
The touch operation described in the embodiment of the present invention may be, for example, a touch operation triggered by a finger of a user. The touch operation may be a click operation or a gesture operation, wherein the click operation may include a single click and a double click, and the gesture operation may include a slide, a zoom, a long press, and the like.
Step 12: if the touch operation on the touch-sensitive display of the mobile terminal is detected, the mobile terminal judges whether the specified feature of the included angle of the sliding track corresponding to the touch operation is matched with the specified feature of the preset included angle, if so, the step 13 is executed, and if the included angle does not exist in the sliding track, or the specified feature of the included angle of the sliding track is judged not to be matched with the specified feature of the preset included angle, the flow can be ended, or the step 14 is executed;
as described above, the touch operation triggered by the user's finger may be a click operation or a gesture operation. In the embodiment of the invention, after the mobile terminal detects the touch operation on the touch-sensitive display, the specific type of the detected touch operation can be further judged. If the type of the touch operation is determined to be a sliding operation, the mobile terminal can further determine whether an included angle exists in the sliding track because the sliding track can be generated by the sliding operation.
Referring to fig. 1b of the specification, it can be assumed that the touch operation of the user corresponds to a sliding track 1, and the sliding track 1 is a sliding track with an included angle (one of the included angles is numbered 001 in the figure). Referring to fig. 1c of the specification, it can be assumed that the touch operation of the user corresponds to a sliding track 2, and the sliding track 2 is a sliding track without an included angle.
In embodiment 1 of the present invention, how the mobile terminal determines whether the sliding track has an included angle is described in detail below.
Please refer to fig. 1d in the specification, which is a schematic diagram of positions of pixels in a coordinate system X0Y, where a portion of a sliding track corresponding to a touch operation of a user passes through. Each square in the figure represents a pixel in the display interface of the touch sensitive display. White squares, representing pixels that the sliding trajectory has not passed; and the black squares represent the pixels passed by the sliding rail. For example, a0, a1, and a2 represent pixels through which the slide trajectory passes.
Based on fig. 1d, a method for determining whether an included angle exists in a sliding track provided in the embodiment of the present invention specifically includes: calculating a 'left derivative' and a 'right derivative' of a pixel through which the sliding track passes; pixels for which the "left derivative" and the "right derivative" are not equal are determined as "corners". If the corner points exist in the pixels passed by the sliding track, judging that the sliding track has included angles; and if the corner points do not exist in the pixels passed by the sliding track, judging that the sliding track does not have included angles.
The corner point in the embodiment of the invention refers to a point with a maximum curvature value on a curve. In the embodiment of the invention, the concept of the corner point is introduced, and the corner point is considered as an important characteristic of the sliding track to reflect the shape characteristic of the sliding track.
The manner in which the "left derivative" and the "right derivative" are calculated is described below.
Assuming that pixel N0 is present, the left derivative of N0 can be calculated by the following equation [1 ]:
Figure BDA0001620713040000061
wherein D isLN0Represents the left derivative of pixel N0; XN0 and YN0 represent coordinate values of pixel N0, respectively, on the X-axis and Y-axis of a specified image coordinate system (e.g., the X0Y coordinate system); XN1 and YN1 are coordinate values on the X and Y axes of a pixel adjacent to N0 and located to the left of N0 among pixels through which the slide locus passes in the designated image coordinate system.
Similarly, the right derivative of N0 can be calculated by the following equation [2 ]:
Figure BDA0001620713040000062
wherein D isRN0Represents the right derivative of pixel N0; XN0 and YN0 represent coordinate values of pixel N0, respectively, on the X-axis and Y-axis of a specified image coordinate system (e.g., the X0Y coordinate system); XN2 and YN2 are coordinate values on the X and Y axes of pixels adjacent to N0 and located to the right of N0 among pixels passed by the slide locus in the designated image coordinate system.
Taking the pixel A0 in FIG. 1d as an example, assuming that the coordinates of A0 in the coordinate system XOY are (X0, Y0), the formula [1] is shown]As can be seen, the "left derivative" D of A0LA0The calculation method of (C) is specifically as follows [3 ]]Shown in the figure:
Figure BDA0001620713040000071
wherein, X1 and Y1 are coordinate values of a pixel a1 adjacent to a0 and located at the left side of a0 on the X and Y axes among pixels through which the sliding trajectory passes in the coordinate system XOY.
"Right derivative" D of A0RA0The calculation method of (C) is specifically as shown in the following formula [4]Shown in the figure:
Figure BDA0001620713040000072
wherein, X2 and Y2 are coordinate values of pixels a2 adjacent to a0 and located at the right side of a0 in the X and Y axes among the pixels through which the sliding trajectory passes in the coordinate system XOY.
Assuming that the coordinate values of A0, A1 and A2 are (5, 5), (4, 4) and (6, 4), respectively, then the above formula [1] is followed]And [2]]Can calculate DLA0=1,DRA0Is-1. Due to DLA0≠DRA0Thus, a0 can be judged as a corner point.
It should be noted that, for the pixel A3 in fig. 1d, since the pixels adjacent to A3 and on the right side of A3 do not exist in the pixels where the sliding track passes through the coordinate system X0Y, the mobile terminal can directly determine that A3 is not the corner point. Alternatively, the mobile terminal may determine the right derivative of A3 directly as the same value as the left derivative, thereby determining that A3 is not a corner point. Similarly, since the pixels where the sliding trajectory passes in X0Y do not exist in the pixels adjacent to a4 and on the left side of a4, the mobile terminal may also determine that a4 is not a corner point.
It should be noted that, for the pixel B0 in fig. 1d, the mobile terminal determines the adjacent pixels located around B0 as a1 and a2 from the pixels passed by the sliding track in the coordinate system X0Y, so that the left and right derivatives are calculated based on the coordinate values of the pixels a1 and a2 "directly adjacent to the pixels a1 and B2 instead of the coordinate values of the pixels B1 and B2.
In the embodiment of the invention, if the corner point exists in the pixel through which the sliding track passes, the sliding track is determined to contain the included angle. Thereby further, a specified characteristic of the included angle of the sliding trajectory can be determined.
Of course, in practical applications, other manners may also be adopted to determine whether the sliding track includes an included angle, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the specified feature may be at least one of the following features:
the number of included angles, the opening orientation of the included angles, the angle values of the included angles, the appearance sequence of the included angles with different angle values in the sliding track, and the appearance sequence of the included angles with different opening orientations in the sliding track.
The following describes the determination of the above features in order:
1. the number of angles, which is equal to the number of angular points, can be statistically derived from the number of angular points by the mobile terminal.
2. The opening orientation of the included angle can be determined by the mobile terminal by adopting a certain algorithm. In one embodiment of the present invention, the following method may be used to determine the angled opening orientation:
taking the coordinate system X0Y as an example as shown in fig. 1d, the opening orientation of the included angle can be determined according to the signs of the left and right derivatives of the corner points. For example, taking a certain corner point as an example, when the left derivative of the corner point is less than 0 and the right derivative is greater than 0, it is determined that the opening orientation of the included angle is "upward"; conversely, when the left derivative of the corner point is greater than 0 and the right derivative of the corner point is less than 0, the opening orientation of the included angle is determined to be downward.
Still taking A0 as shown in FIG. 1D as an example, the left and right derivatives are DLA0=1,DRA0Is-1. Due to DLA0And DRA0Satisfies the following conditions: dLA0>0,DRA0<0, therefore, the opening orientation of the angle with a0 as the apex can be judged as "downward".
Taking C0 as shown in FIG. 1e as an example, the left and right derivatives are DLC0=-1,DRC01. Due to DLC0And DRC0Satisfies the following conditions: dLC0<0,DRC0>0, therefore, the opening orientation of the angle with a0 as the apex can be judged to be "upward".
It should be noted that, when the left and right derivatives of a corner are of the same sign, or there is a case where the derivative is 0 or infinite in the left and right derivatives of a corner, the direction of the included angle with the corner as the vertex is determined to be horizontal. The horizontal direction may be specifically classified as left or right.
The angle value of the included angle can be determined by the mobile terminal by adopting a certain algorithm. In one embodiment of the present invention, the following method may be used to determine the angle value of the included angle:
assuming that pixel N0 is present, the angle value for "left angle" can be calculated by the following equation [5 ]:
Figure BDA0001620713040000081
wherein the content of the first and second substances,
Figure BDA0001620713040000091
representing the angle value of the left angle of pixel N0. Formula [5]The meanings of the other parameters are given in the above paragraphs, and are not repeated herein.
Similarly, the value of the angle of "right angle" can be calculated by the following equation [6 ]:
Figure BDA0001620713040000092
wherein the content of the first and second substances,
Figure BDA0001620713040000093
representing the angular value of the right angle of pixel N0. Formula [6]The meanings of the other parameters are given in the above paragraphs, and are not repeated herein.
After the angle value of the left and right included angles of the pixel N0 is calculated, the angle value of the included angle corresponding to the pixel N0 can be further calculated according to the following formula [7 ]:
Figure BDA0001620713040000094
wherein the content of the first and second substances,
Figure BDA0001620713040000095
representing pixel N0 pairsAngle value of the corresponding included angle. Formula [7]For the definition of the other parameters, please refer to the above, which is not repeated herein.
In the embodiment of the present invention, the angle value of the included angle corresponding to the pixel is the angle value of the included angle included in the track in the embodiment of the present invention.
3. The appearance sequence of the included angles of different angle values in the sliding track can also be determined by the mobile terminal by adopting an algorithm.
For example, the mobile terminal may obtain a time when the sliding track corresponding to the touch operation sequentially passes through each pixel (including an angular point); according to the obtained time, the mobile terminal may determine an appearance order of each included angle included in the sliding track — for example, suppose that the time when the sliding track passes through the pixels D0, D1, and D2 is t0, t0+0.01ms, and t0+0.02ms in turn, and suppose that D0, D1, and D2 are 3 corner points included and only included in the sliding track, and the angle values of the included angles corresponding to the corner points are 90 °, 45 °, and 90 °. Then, the mobile terminal may determine, according to the time when the sliding track passes through the pixels D0, D1, and D2, and the angle values of the included angles corresponding to the pixels D0, D1, and D2, that the specified characteristic of the included angle included in the sliding track is: the 90 included angle occurs first, then the 45 included angle occurs, and finally the 90 included angle occurs.
4. The sequence of the angles of different opening orientations in the sliding track can also be determined by the mobile terminal by using an algorithm.
For example, the mobile terminal may obtain a time when the sliding track corresponding to the touch operation sequentially passes through each pixel (including an angular point); according to the obtained time, the mobile terminal may determine the occurrence order of the included angles in the sliding track — for example, suppose that the time when the sliding track passes through the pixels E0, E1, and E2 is t0, t0+0.01ms, and t0+0.02ms in sequence, and suppose that E0, E1, and E2 are 3 corner points included and only included in the sliding track, and the opening directions of the included angles corresponding to the corner points are upward, downward, and upward in sequence. Then, the mobile terminal may determine, according to the time when the sliding track passes through the pixels E0, E1, and E2, and the opening orientations of the included angles corresponding to the pixels E0, E1, and E2, that the specified characteristics of the included angle included in the sliding track are: the upward angle occurs first, then the downward angle occurs, and finally the upward angle occurs.
The above is a description of the manner of determining the specified feature of the included angle described in the embodiment of the present invention. The preset included angle specifying feature described in the embodiment of the present invention is further described below.
In an embodiment of the present invention, an included angle specification feature input by a user may be pre-stored in the mobile terminal, and used as a "reference trigger password" for triggering the mobile terminal to execute a specified operation.
For example, the user may perform a touch operation on a touch-sensitive display of the mobile terminal in a "mode of setting a reference trigger password" of the mobile terminal. In the embodiment of the invention, after the mobile terminal enters the mode of setting the reference trigger password, the touch operation on the touch sensitive display is detected, and the specified characteristic of the included angle of the sliding track corresponding to the detected touch operation is determined. And subsequently, after receiving an instruction of confirming to store the specified included angle feature by the user, the mobile terminal stores the specified included angle feature as the preset included angle specified feature.
According to the difference of the contents of the reference trigger password which the user specifically wants to input, in the 'mode for setting the reference trigger password', the user can flexibly execute touch operation, so that an expected sliding track is drawn.
It should be noted that, after the mobile terminal enters the "mode for setting the reference trigger password", the user may specify at least one object associated with the specified operation for the mobile terminal. The mobile terminal establishes a corresponding relation between the at least one object and the preset included angle designated feature according to the at least one object designated by the user, so that if a touch operation is detected in a user interface locking state, the corresponding designated operation can be executed according to the established corresponding relation under the condition that the designated feature of the included angle of the sliding track corresponding to the touch operation is matched with the preset included angle designated feature.
In the embodiment of the present invention, the process of determining at least one object specified by the user by the mobile terminal may include, for example:
after entering a mode of setting a reference trigger password, the mobile terminal displays each application installed on the mobile terminal;
and the mobile terminal receives a selection instruction of the user for the displayed application, and determines the application corresponding to the selection instruction as an object specified by the user.
Then, the mobile terminal can establish a corresponding relationship between the specified object and the specified feature of the included angle determined in the mode of setting the reference trigger password. Considering that the user may continue to designate some objects, the mobile terminal may display the applications installed on the mobile terminal again for the user to select, so as to determine the object currently designated by the user; after receiving a selection instruction for an application, the mobile terminal may display a sliding track input interface so as to determine a specified characteristic of an included angle of a sliding track input by a user currently based on the interface (referred to as a currently input included angle specified characteristic for short); then, the mobile terminal establishes the corresponding relation between the object currently specified by the user and the currently input included angle specified characteristic.
The mobile terminal can circularly execute the steps until the mobile terminal exits from the mode for setting the reference trigger password.
In this embodiment of the present invention, the manner in which the user specifies at least one object for the mobile terminal may further include:
after entering a mode of setting a reference trigger password, the mobile terminal displays information of each user mode which can be entered by the mobile terminal;
and the mobile terminal receives a selection instruction of the user for the information of the user mode, and determines the user mode corresponding to the selection instruction as an object specified by the user.
The user mode refers to a state in which a user has a certain use right for a resource and/or a state in which the user uses the resource in a certain use mode. The mobile terminal enters the designated user mode, which means that the mobile terminal enters a state that the user has designated use authority for the mobile terminal resource, and/or enters a state that the user uses the mobile terminal resource by adopting a designated use mode. The resources referred to herein include software resources and/or hardware resources.
In the embodiment of the present invention, the user mode may include a "principal mode", a "guest mode", a "child mode", and the like. The different user modes may generally be distinguished according to the rights that the mobile terminal is open to the user when operating in the mode and/or the manner in which the user uses the resources.
For example, in the principal mode, the mobile terminal opens the use authority for all applications in the mobile terminal to the user; in the tourist mode, the mobile terminal only opens the use authority of the application which does not contain the privacy information in the mobile terminal to the user; in the child mode, the mobile terminal opens only a usage right for a game application in the mobile terminal to a user.
For another example, the user mode may further include an "adult mode", an "senior mode", and a "child mode". In the 'adult mode', the mobile terminal displays the text content to the user in a conventional font; in the old man mode, the mobile terminal displays the text content to the user in a bold and black font; in the "child mode", the mobile terminal displays the text content to the user in a cartoon font.
According to the above-mentioned manner of establishing the corresponding relationship, in the embodiment of the present invention, for example, the corresponding relationship shown in table 1 below may be established:
table 1:
specific character of included angle Specified object
a Applications 1
b Application 2
... ...
Still alternatively, it is possible to establish the correspondence as shown in table 2 below:
table 2:
specific character of included angle Specified object
c User mode 1
d User mode 2
... ...
Still alternatively, it is also possible to establish the correspondence shown in table 3 below:
table 3:
specific character of included angle Specified object
e User mode 1, application 1
f User mode 2, application 2
In practical application, what kind of corresponding relation between the specified characteristics of the included angle and the specified object is specifically established, and the corresponding relation can be set by a user according to the needs of the user.
It should be noted that, in order to enable the mobile terminal to distinguish different designated objects when querying the corresponding relationship subsequently, for example, the application 1 stored in the table may specifically be the unique identifier of the application 1.
In order to enable the mobile terminal to distinguish different types of specified objects, such as applications and user modes, when the corresponding relation is queried subsequently, the unique identifier stored in the table, such as the application 1, may include a character "01" indicating that the application 1 is of an "application" type; similarly, user mode 1 (specifically, the unique identifier of user mode 1) stored in the table may contain a character "00" indicating that user mode 1 is of the "user mode" type.
The mobile terminal can determine what specific operation should be performed based on the character indicating the type of the object. For example, in an embodiment of the present invention, the mobile terminal may store a corresponding relationship as shown in table 4 below, so as to determine the specific operation to be performed according to the corresponding relationship:
table 4:
type of object specified Operation to be performed
00 Activation of
01 Operation of
In order to make the reader clear the specific implementation manner of the present solution, the following describes in detail the establishment process of the corresponding relationship between the "application 1" and the specified feature of the included angle, with reference to the accompanying drawings:
the user triggers the mobile terminal to display the user interface shown in fig. 1f by clicking the touch ID and the password under the setting option;
if the user clicks the set reference trigger password in the user interface shown in fig. 1f, the mobile terminal is triggered to display the user interface shown in fig. 1g, at this time, the mobile terminal enters a mode of setting the reference trigger password, the mobile terminal displays prompt information of 'please input a track password' below the interface, the prompt information can be displayed for only 1 second, and then the prompt information is hidden and displayed;
in the mode of setting the reference trigger password, the user may input a sliding track as shown in fig. 1h to the mobile terminal by performing a touch operation on a touch display of the mobile terminal;
the mobile terminal can recognize that the track contains 3 included angles through the identification mode of the included angles;
the mobile terminal can store the '3 included angles' as the designated features of the included angles, namely, as the reference trigger passwords, for example, to the table x;
after the mobile terminal stores the reference trigger password, the mobile terminal displays an interface as shown in fig. 1i, where the interface includes an application (actually, an icon of the application) installed on the mobile terminal;
the user selects the displayed application, so that the mobile terminal determines the application according to the selection instruction, namely the application is assumed to be application 1;
the mobile terminal obtains the unique identifier of the application 1, and stores the unique identifier into the table x in a way of correspondingly storing the unique identifier and the three included angles, so that a corresponding relation between the three included angles and the unique identifier is established.
Of course, the mobile terminal may pre-establish the corresponding relationship as shown in table 4, specifically, for example, the corresponding relationship may be established at the time of factory setting.
Of course, the corresponding relationships shown in tables 1 to 3 may be established at the time of factory setting, for example, and the subsequent user may know the corresponding relationships by reading the operation instructions of the mobile terminal and the like.
After the corresponding relationship between the designated feature of the preset included angle and the object is established, subsequently, when the mobile terminal is in a user interface locking state, if a touch operation on a touch-sensitive display of the mobile terminal is detected, the mobile terminal determines whether the detected designated feature (for convenience of description, referred to as a first designated feature) of the included angle of the sliding track corresponding to the touch operation is matched with a preset included angle designated feature (i.e., a reference trigger password).
In the embodiment of the invention, the first characteristic is matched with the reference trigger password, and the first characteristic can be matched with the reference trigger password accurately or not.
The accurate matching means that the first characteristic is completely consistent with the reference trigger password, and the first characteristic is judged to be matched with the reference trigger password; and the non-exact match means that the first characteristic and the reference trigger code are not completely consistent, but the difference between the first characteristic and the reference trigger code is within a preset deviation range.
Generally, when the reference trigger code is the number of the included angles, the first feature is matched with the reference trigger code, which means an exact match. For example, if the reference trigger password is "3 included angles", the first feature is the number of included angles, and if 3, the first feature is matched with the reference trigger password; otherwise, the first characteristic does not match the reference trigger code.
Similarly, when the reference trigger code is the opening orientation of the included angle, or the appearance sequence of the included angles with different angle values in the sliding track, or the appearance sequence of the included angles with different opening orientations in the sliding track, the first feature is matched with the reference trigger code, which generally refers to an exact match.
When the reference trigger code includes an included angle value, the first feature matches the reference trigger code, either exactly or non-exactly. For example, assume that the reference trigger password is: the angle value of the included angle is 90 °, and therefore, considering that it is difficult for the user to draw the included angle in a precise degree when drawing the trajectory, there may be a certain "tolerance" to the floating of the angle value of the included angle included in the first feature. For example, if the mobile terminal determines that the first characteristic is: if the angle value of the included angle is 85 °, it can be determined whether the following equation holds:
a preset deviation range of between 85 and 90 degrees and less
If so, determining that the first characteristic is matched with the reference trigger code; if not, it may be determined that the first characteristic does not match the reference trigger code.
In practical applications, assuming that the preset deviation range is [ -10 °, 10 ° ], it can be determined that the first characteristic "angle value of the included angle is 85 °" matches the reference trigger code "angle value of the included angle is 90 °".
In the embodiment of the invention, the method adopting the non-precise matching mode has the advantages that a user is not required to have higher drawing capability, and the method provided by the embodiment of the invention can be easily and conveniently used.
And step 13, the mobile terminal executes the specified operation.
Wherein the specifying operation includes at least one of the following operations:
running a designated application installed on the mobile terminal;
triggering the mobile terminal to enter a designated user mode.
In terms of specific implementation, running a specific application installed on a mobile terminal may, in one embodiment, include the following steps:
and the mobile terminal runs the application which is installed on the mobile terminal and corresponds to the specified characteristic of the included angle of the sliding track according to the first corresponding relation.
Wherein, the first corresponding relation specifically includes: and the preset corresponding relation between the application installed on the mobile terminal and the preset included angle designated characteristics. The correspondence between the specified feature of the angle and the specified object as in table 1 above corresponds to the first correspondence described herein.
In another embodiment, the mobile terminal runs the specified application installed on the mobile terminal, which may also mean that at least one specified application installed on the mobile terminal is run by default. The designated application may be designated at the time of factory setting.
In a specific implementation, triggering the mobile terminal to enter the designated user mode may specifically include:
and the mobile terminal is triggered to enter a user mode corresponding to the specified characteristic of the included angle of the sliding track according to the second corresponding relation.
Wherein, the second correspondence here includes: the user mode and the preset corresponding relation of the preset included angle appointed characteristics. The correspondence between the specified feature of the angle and the specified object as in the foregoing table 2 corresponds to the second correspondence as referred to herein.
In another embodiment, the mobile terminal triggers the mobile terminal to enter a specific user mode, which may also be a default user mode. The designated user mode may be designated at the time of factory setting.
In the embodiment of the present invention, the user mode may include a "principal mode", a "guest mode", a "child mode", and the like. The different user modes may generally be distinguished according to the rights that the mobile terminal is open to the user when operating in the mode and/or the manner in which the user uses the resources.
For example, in the principal mode, the mobile terminal opens the use authority for all applications in the mobile terminal to the user; in the tourist mode, the mobile terminal only opens the use authority of the application which does not contain the privacy information in the mobile terminal to the user; in the child mode, the mobile terminal opens only a usage right for a game application in the mobile terminal to a user.
For another example, the user mode may further include an "adult mode", an "senior mode", and a "child mode". In the 'adult mode', the mobile terminal displays the text content to the user in a conventional font; in the old man mode, the mobile terminal displays the text content to the user in a bold and black font; in the "child mode", the mobile terminal displays the text content to the user in a cartoon font.
Step 14, the mobile terminal remains in the user interface lock state.
By adopting the scheme provided by the embodiment of the invention, when the electronic equipment is in the user interface locking state, if the specified characteristic of the included angle of the sliding track is judged to be matched with the preset specified characteristic of the included angle, the specified operation can be executed without the need of a user to execute complicated actions, so that the specified operation can be triggered and executed with higher efficiency, the problems of complicated process and lower efficiency in the mode of triggering the mobile terminal to execute the specified operation provided by the prior art are solved, and the user experience is improved.
In addition, compared with the mode that a user needs to accurately position and unlock the password input area in the prior art, by adopting the scheme provided by the embodiment of the invention, whether the user interface locking state is released or not is judged and the specified operation is executed according to the specified characteristic of the included angle included in the sliding track corresponding to the touch operation, and the shape and the input area of the sliding track are not strictly limited, so that the requirement on the positioning accuracy of the password input area of the user is greatly reduced, and the operation of the user is more convenient.
According to the scheme provided by the embodiment of the invention, the user can be supported to touch the touch-sensitive display according to the own requirements, so that the electronic equipment can acquire the included angle designated characteristic used as the reference trigger password, and therefore, the flexibility is strong; because this scheme supports that the user just can realize setting up the password for electronic equipment and unblock electronic equipment through the mode of "drawing the angle", consequently still possesses stronger interest.
The function of the benchmark trigger password in the embodiment of the invention comprises a reference benchmark used as the electronic equipment to execute the specified operation and a reference benchmark used as the reference benchmark used for releasing the locking state of the user interface of the electronic equipment. In this embodiment of the present invention, when the electronic device is in the user interface lock state, if the specified feature of the included angle of the detected track corresponding to the touch operation matches the reference criterion, the electronic device executes the specified operation on one hand, and on the other hand, releases the user interface lock state. Therefore, the reference trigger password provided by the embodiment of the invention can play a dual role.
Example 2:
in example 2, the following will be presented in order: how a user enters an included angle specified characteristic serving as a reference trigger password into the mobile terminal, and how the mobile terminal subsequently triggers the mobile terminal to enter a specified user mode based on the reference trigger password.
Referring to fig. 2a, fig. 2a shows the steps of the overall process flow to be described in embodiment 2:
step 21, in a mode of setting a reference trigger password, a user draws a track with any number of included angles on a touch-sensitive display screen of the mobile terminal at will;
step 22, the mobile terminal analyzes the track to obtain the total number of included angles contained in the track and the number of included angles of each opening orientation, and stores the total number of included angles and the number of included angles of each opening orientation; in addition, the total number of the obtained included angles and the number of the included angles towards which the openings face can be displayed, so that a user can know the specified characteristics of the included angles of the track drawn by the user;
for a specific implementation manner of step 22, the mobile terminal may store relevant data of the trajectory drawn by the user, including position information of pixels through which the trajectory passes in the image coordinate system, in a buffer (buffer) of the mobile terminal; and then, judging whether each pixel passed by the track is an angular point or not according to the stored related data, and determining information such as opening orientation of an included angle corresponding to the angular point.
Assuming that the trajectory drawn by the user is as shown in fig. 1b, the mobile terminal may display the following information to the user:
the total angle is 4, 2 openings face upwards, 1 opening faces downwards, and 1 opening faces horizontally.
The judging mode of whether the pixel is an angular point comprises the following steps: the left and right derivatives (i.e. the left and right slopes of the pixel, please refer to the description in embodiment 1 of the present application) of each pixel are calculated, and when the values of the left and right derivatives of a pixel are not equal, or the absolute value of the difference between the left and right derivatives is greater than a predetermined threshold, the pixel is determined to be an angular point.
The judgment mode of the orientation of the opening with the included angle comprises the following steps: for the pixel determined as the corner point, the magnitude relationship between the left and right derivatives of the pixel and 0 is analyzed, and then the opening orientation of the included angle is determined according to the analysis result — see the description in embodiment 1 of the present application. It should be noted that, when the derivative number in the left and right derivatives with the same sign or both derivatives is 0 or infinity, the direction of the included angle is determined to be horizontal (possibly towards the left or towards the right).
Step 23, after the total number of included angles and the number of included angles oriented by each opening are successfully stored by the mobile terminal, displaying an interface as shown in fig. 2 b;
the interface shown in fig. 2b contains two options, namely "associated application" and "associated user mode".
Step 24, assuming that the mobile terminal detects the click operation on the "associated user mode", displaying an interface as shown in fig. 2 c;
the interface shown in fig. 2c contains 2 options for selectable user modes, i.e. "principal mode" and "guest mode", respectively.
Step 25, assuming that the mobile terminal detects the click operation on the "guest mode" option, the "guest mode" is used as the object designated by the user, and the interface shown in fig. 2d is further displayed;
above the interface shown in FIG. 2d, the following table 5 is displayed for the user to review his input and selected information; below the interface shown in fig. 2d, an option to "confirm save" is displayed.
Table 5:
Figure BDA0001620713040000191
step 26, assuming that the mobile terminal detects the click operation on the "confirm save" option shown in fig. 2d, the information in table 5 is correspondingly stored in the memory, and the mode of setting the reference trigger password is exited;
through the steps 21 to 26, the mobile terminal establishes a corresponding relationship between the preset included angle designation characteristic and the object designated by the user.
Hereinafter, how the mobile terminal performs the designation operation based on the correspondence relationship will be described by describing steps 27 to 27.
Step 27, after the mobile terminal enters a user interface locking state, drawing a track on a screen locking interface of the mobile terminal by a user; the mobile terminal records the track and calculates the total number of included angles in the track drawn by the user according to the mode of judging the angular points given in the step 22, matches the calculated total number of included angles with the stored total number of included angles, and executes the step 28 when the calculated total number of included angles and the stored total number of included angles are equal; otherwise, the mobile terminal keeps the user interface locking state and prompts the user to redraw the pattern for unlocking;
step 28, the mobile terminal calculates the opening orientations of the included angles and the number of the included angles of the opening orientations according to the method for judging the opening orientations of the included angles given in the step 22, then matches the calculation result with the stored '4 angles in total, namely 2 upward openings, 1 downward opening and 1 horizontal opening orientation', and executes the step 29 when the matching is successful; when the matching is unsuccessful, the mobile terminal keeps the user interface locking state and prompts the user to redraw the pattern for unlocking;
step 29, the mobile terminal inquires the corresponding relation between the stored preset included angle designated characteristics and the objects designated by the user, and determines that the objects corresponding to the number of the included angles of the opening orientations calculated in step 27 are in a 'tourist mode';
in step 210, the mobile terminal releases the user interface lock state and enters the guest mode.
By adopting the scheme provided by the embodiment 2 of the application, a user can draw more randomly without being restricted by the designated pattern when viewing the drawing track, and the method is convenient and fast.
By adopting the scheme provided by the embodiment 2 of the application, when the electronic equipment is in the user interface locking state, if the specified characteristic of the included angle of the sliding track is judged to be matched with the specified characteristic of the preset included angle, the specified tourist mode can be entered, and the user does not need to unlock the mobile terminal firstly like the prior art and then trigger the mobile terminal to enter the tourist mode by changing the setting, so that the mobile terminal can be triggered to enter the specified mode with higher efficiency, and the user experience is greatly improved.
By adopting the scheme provided by the embodiment 2 of the application, a user only needs to memorize the information of the opening direction and the number of the included angle which is relatively simple, and the method is easy to memorize and convenient to operate.
Example 3
The main difference between embodiment 3 of the present invention and embodiment 2 of the present invention is that in embodiment 3, the object specified by the user is an application, not a user mode.
In the following, with reference to the drawings, how a user enters an angle specification feature as a reference trigger password into a mobile terminal and how the mobile terminal subsequently runs an application by triggering the password based on the reference is described.
Referring to fig. 3a, fig. 3a shows the steps of the overall process flow to be described in embodiment 3:
step 31, in the mode of setting the reference trigger password, a user draws a track with any number of included angles on a touch-sensitive display screen of the mobile terminal at will;
step 32, the mobile terminal analyzes the track to obtain the total number of included angles contained in the track and the number of included angles of each opening orientation, and stores the total number of included angles and the number of included angles of each opening orientation; in addition, the total number of the obtained included angles and the number of the included angles towards which the openings face can be displayed, so that a user can know the specified characteristics of the included angles of the track drawn by the user;
step 33, after the total number of included angles and the number of included angles oriented by each opening are successfully stored by the mobile terminal, displaying an interface as shown in fig. 2 b;
the interface shown in fig. 2b contains two options, namely "associated application" and "associated user mode".
Step 34, assuming that the mobile terminal detects a click operation on the "associated application", displaying an interface as shown in fig. 1 i;
the interface shown in fig. 1i contains icons of applications installed on the mobile terminal.
Step 35, assuming that the mobile terminal detects the click operation on the "application 1" icon, the "application 1" is taken as the object designated by the user, and the interface shown in fig. 3b is further displayed;
above the interface shown in FIG. 3b, the following table 6 is displayed for the user to review his input and selected information; below the interface shown in fig. 3b, an option to "confirm save" is displayed.
Table 6:
Figure BDA0001620713040000211
Figure BDA0001620713040000221
step 36, assuming that the mobile terminal detects the click operation on the "confirm save" option shown in fig. 3b, the information in table 6 is correspondingly stored in the memory, and the mode of setting the reference trigger password is exited;
through the steps 31 to 36, the mobile terminal establishes a corresponding relationship between the preset included angle designated characteristics and the object designated by the user.
Step 37, after the mobile terminal enters a user interface locking state, drawing a track on a screen locking interface of the mobile terminal by a user; the mobile terminal records the track and calculates the total number of included angles in the track drawn by the user, matches the total number of the calculated included angles with the total number of the stored included angles, and executes step 38 when the calculated included angles and the stored included angles are equal; otherwise, the mobile terminal keeps the user interface locking state and prompts the user to redraw the pattern for unlocking;
step 38, the mobile terminal calculates the opening orientations of the included angles and the number of the included angles of each opening orientation, then matches the calculation result with the stored '4 angles in total-2 upward, 1 downward and 1 horizontal opening orientation', and if the matching is successful, executes step 39; when the matching is unsuccessful, the mobile terminal keeps the user interface locking state and prompts the user to redraw the pattern for unlocking;
step 39, the mobile terminal queries the stored corresponding relationship between the preset included angle designation characteristics and the objects designated by the user, and determines that the objects corresponding to the number of the included angles of the orientation of each opening calculated in step 37 are 'application 1';
in step 310, the mobile terminal releases the user interface lock state and runs application 1.
By adopting the scheme provided by the embodiment 3 of the application, a user can draw more randomly without being restricted by the designated pattern when viewing the drawing track, and the method is convenient and fast.
By adopting the scheme provided by the embodiment 3 of the application, when the electronic equipment is in the user interface locking state, if the specified characteristic of the included angle of the sliding track is judged to be matched with the preset specified characteristic of the included angle, the specified application can be operated, and the user does not need to unlock the mobile terminal firstly as in the prior art, and then look up and click the icon to trigger the operation application, so that the operation application of the mobile terminal can be triggered with higher efficiency, and the user experience is greatly improved.
By adopting the scheme provided by the embodiment 3 of the application, a user only needs to memorize the information of the opening direction and the number of the included angle which is relatively simple, and the method is easy to memorize and convenient to operate.
Example 4
In order to solve the problems of complicated process and low efficiency in the manner of triggering the mobile terminal to execute the designated operation provided in the prior art, embodiment 4 of the present invention provides an unlocking device 40, where a specific structural schematic diagram of the unlocking device 40 is shown in fig. 4, and the unlocking device includes a determining unit 41 and a designated operation executing unit 42. The functions of the units are described in detail below:
a determining unit 41, configured to determine, when the electronic device is in a user interface lock state, whether a specified feature of an included angle of a sliding track corresponding to a touch operation is matched with a preset included angle specified feature if the touch operation on a touch-sensitive display of the electronic device is detected;
a specifying operation executing unit 42 for executing the specifying operation when the judgment result obtained by the judging unit 41 is yes.
The specifying operation includes: running a specified application installed on the electronic device and/or triggering the electronic device to enter a specified user mode.
In embodiment 4 of the present invention, in an implementation manner, the specifying operation executing unit 42 may specifically include: the application runs the subunit.
The application running subunit is used for running the application which is installed on the electronic equipment and corresponds to the specified feature of the included angle of the sliding track according to the first corresponding relation.
The first correspondence relationship includes: and the preset corresponding relation between the application installed on the electronic equipment and the preset included angle designated characteristics.
In embodiment 4 of the present invention, in an implementation manner, the specifying operation executing unit 42 may specifically include: the user mode enables the subunit.
And the user mode enabling subunit is specifically configured to trigger the electronic device to enter a user mode corresponding to the specified feature of the included angle of the sliding track according to the second correspondence.
The second correspondence relationship includes: the user mode specifies a predetermined correspondence of the feature with a predetermined included angle.
Considering that there may be no included angle with the sliding track, and the specified characteristic of the included angle of the sliding track does not match the preset specified characteristic of the included angle, the unlocking device 40 provided by the embodiment of the present invention may further include a state maintaining unit 43 as shown in fig. 4. The state maintaining unit 43 is specifically configured to maintain the user interface lock state of the electronic device if it is determined that the sliding track does not have the included angle, or if it is determined that the specified feature of the included angle of the sliding track is not matched with the preset specified feature of the included angle by the determining unit 41.
By adopting the scheme provided by the embodiment of the invention, when the electronic equipment is in the user interface locking state, if the specified characteristic of the included angle of the sliding track is judged to be matched with the preset specified characteristic of the included angle, the specified operation can be executed without the need of a user to execute complicated actions, so that the specified operation can be triggered and executed with higher efficiency, the problems of complicated process and lower efficiency in the mode of triggering the mobile terminal to execute the specified operation provided by the prior art are solved, and the user experience is improved.
Example 5
In order to solve the problem that the unlocking efficiency is low due to the fact that the terminal unlocking mode provided by the prior art is not convenient and fast enough, embodiment 5 of the invention provides a mobile terminal.
Fig. 5 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 50 includes, but is not limited to: a radio frequency unit 51, a network module 52, an audio output unit 53, an input unit 54, a sensor 55, a display unit 56, a user input unit 57, an interface unit 58, a memory 59, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile terminal, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to, when the mobile terminal is in a user interface lock state, determine whether an appointed feature of an included angle of a sliding track corresponding to a touch operation matches a preset included angle appointed feature if the touch operation is detected; if the judgment result is yes, the specified operation is executed. The specifying operation includes: running a specified application installed on the mobile terminal and/or triggering the mobile terminal to enter a specified user mode.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1a to fig. 3b, and for avoiding repetition, details are not described here again.
By adopting the scheme provided by the embodiment of the invention, when the mobile terminal is in the user interface locking state, if the specified characteristic of the included angle of the sliding track is judged to be matched with the preset specified characteristic of the included angle, the specified operation can be executed without the need of a user to execute complicated actions, so that the specified operation can be triggered and executed with higher efficiency, the problems of complicated process and lower efficiency in the mode of triggering the mobile terminal to execute the specified operation provided by the prior art are solved, and the user experience is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 51 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 51 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 51 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 52, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 53 may convert audio data received by the radio frequency unit 51 or the network module 52 or stored in the memory 59 into an audio signal and output as sound. Also, the audio output unit 53 may also provide audio output related to a specific function performed by the mobile terminal 50 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 53 includes a speaker, a buzzer, a microphone, and the like.
The input unit 54 is used to receive audio or video signals. The input Unit 54 may include a Graphics Processing Unit (GPU) 541 and a microphone 542, and the Graphics processor 541 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 56. The image frames processed by the graphic processor 541 may be stored in the memory 59 (or other storage medium) or transmitted via the radio frequency unit 51 or the network module 52. The microphone 542 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 51 in case of the phone call mode.
The mobile terminal 50 also includes at least one sensor 55, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 561 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 561 and/or the backlight when the mobile terminal 50 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 55 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 56 is used to display information input by the user or information provided to the user. The Display unit 56 may include a Display panel 561, and the Display panel 561 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 57 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 57 includes a touch panel 571 and other input devices 572. The touch panel 571, i.e., the touch-sensitive display in the embodiment of the present invention, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 571 (e.g., operations of a user on the touch panel 571 or near the touch panel 571 using any suitable object or accessory such as a finger, a stylus, etc.). The touch panel 571 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, receives a command from the processor 510, and executes the command. In addition, the touch panel 571 can be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 57 may include other input devices 572 in addition to the touch panel 571. Specifically, the other input devices 572 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 571 can be overlaid on the display panel 561, and when the touch panel 571 detects a touch operation on or near the touch panel 571, the touch panel is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 561 according to the type of the touch event. Although in fig. 5, the touch panel 571 and the display panel 561 are implemented as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 571 and the display panel 561 may be integrated to implement the input and output functions of the mobile terminal, and the implementation is not limited herein.
The interface unit 58 is an interface for connecting an external device to the mobile terminal 50. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 58 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 50 or may be used to transmit data between the mobile terminal 50 and external devices.
The memory 59 may be used to store software programs as well as various data. The memory 59 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program 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 store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Further, the memory 59 may include high speed random access memory, and may 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 processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 59 and calling data stored in the memory 59, thereby integrally monitoring the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 50 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system.
In addition, the mobile terminal 50 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510 as shown in fig. 5, a memory 59, and a computer program stored in the memory 59 and capable of running on the processor 510, where when the computer program is executed by the processor 510, the computer program implements each process of any one of the method embodiments described in embodiments 1 to 3, and can achieve the same technical effect, and details are not described here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any one of the method embodiments described in embodiments 1 to 3, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the above embodiment method can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile terminal, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An operation execution method, comprising:
when the electronic equipment is in a user interface locking state, if touch operation is detected, judging whether the specified characteristic of the included angle of the sliding track corresponding to the touch operation is matched with a preset specified characteristic of the included angle;
if yes, executing specified operation; the specifying operation includes: running a specified application installed on the electronic equipment and/or triggering the electronic equipment to enter a specified user mode;
the preset included angle specifying characteristics specifically include at least one of the following preset characteristics:
the number of included angles;
the appearance sequence of the included angles with different angle values in the sliding track;
the sequence of the angles of different opening orientations in the sliding trajectory.
2. The method of claim 1, wherein running a specified application installed on the electronic device comprises:
according to the first corresponding relation, running an application which is installed on the electronic equipment and corresponds to the specified feature of the included angle of the sliding track;
the first correspondence relationship includes: and the preset corresponding relation between the application installed on the electronic equipment and the preset included angle designated characteristics.
3. The method of claim 1, wherein triggering the electronic device to enter a designated user mode comprises:
triggering the electronic equipment to enter a user mode corresponding to the specified feature of the included angle of the sliding track according to the second corresponding relation;
the second correspondence relationship includes: the user mode and the preset corresponding relation of the preset included angle appointed characteristics.
4. The method of claim 1, wherein the method further comprises:
and if the sliding track is judged not to have the included angle, or the specified characteristic of the included angle of the sliding track is judged not to be matched with the preset specified characteristic of the included angle, keeping the user interface of the electronic equipment in a locking state.
5. An operation execution apparatus, comprising:
the electronic equipment comprises a judging unit and a judging unit, wherein the judging unit is used for judging whether the specified characteristic of the included angle of the sliding track corresponding to the touch operation is matched with the preset specified characteristic of the included angle if the touch operation is detected when the electronic equipment is in a user interface locking state;
a designated operation execution unit configured to execute a designated operation when the determination result obtained by the determination unit is yes; the specifying operation includes: running a specified application installed on the electronic equipment and/or triggering the electronic equipment to enter a specified user mode;
the preset included angle specifying characteristics specifically include at least one of the following preset characteristics:
the number of included angles;
the appearance sequence of the included angles with different angle values in the sliding track;
the sequence of the angles of different opening orientations in the sliding trajectory.
6. The apparatus of claim 5, wherein the designated operation execution unit comprises:
the application running subunit is used for running the application which is installed on the electronic equipment and corresponds to the specified characteristic of the included angle of the sliding track according to the first corresponding relation;
the first correspondence relationship includes: and the preset corresponding relation between the application installed on the electronic equipment and the preset included angle designated characteristics.
7. The apparatus of claim 5, wherein the designated operation execution unit comprises:
the user mode starting subunit is used for triggering the electronic equipment to enter a user mode corresponding to the specified feature of the included angle of the sliding track according to the second corresponding relation;
the second correspondence relationship includes: the user mode and the preset corresponding relation of the preset included angle appointed characteristics.
8. The apparatus of claim 5, further comprising:
and the state maintaining unit is used for maintaining the user interface locking state of the electronic equipment if the sliding track is judged not to have the included angle, or the judging unit judges that the specified characteristic of the included angle of the sliding track is not matched with the preset specified characteristic of the included angle.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 4.
CN201810305043.9A 2018-04-08 2018-04-08 Operation execution method and device and mobile terminal Active CN108681665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810305043.9A CN108681665B (en) 2018-04-08 2018-04-08 Operation execution method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810305043.9A CN108681665B (en) 2018-04-08 2018-04-08 Operation execution method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108681665A CN108681665A (en) 2018-10-19
CN108681665B true CN108681665B (en) 2020-03-10

Family

ID=63799748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810305043.9A Active CN108681665B (en) 2018-04-08 2018-04-08 Operation execution method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108681665B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113569221B (en) * 2021-04-02 2023-10-24 袁麓 Unlocking method, system and terminal

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482799A (en) * 2009-02-06 2009-07-15 宇龙计算机通信科技(深圳)有限公司 Method for controlling electronic equipment through touching type screen and electronic equipment thereof
KR101153555B1 (en) * 2010-08-06 2012-06-11 삼성전기주식회사 Apparatus for touch screen
KR20140029220A (en) * 2012-08-30 2014-03-10 이영재 A touch screen system
CN103150120A (en) * 2013-03-28 2013-06-12 华为技术有限公司 Method and device for unlocking display screen locking and terminal
CN103870198B (en) * 2014-03-27 2016-06-08 小米科技有限责任公司 A kind of electronic page browse page turning method and device
CN105511774A (en) * 2014-10-17 2016-04-20 深圳Tcl新技术有限公司 Method and device for displaying display terminal interface
CN104778395B (en) * 2015-04-27 2018-02-06 努比亚技术有限公司 terminal control method and device
CN105045501A (en) * 2015-06-23 2015-11-11 上海斐讯数据通信技术有限公司 Electronic equipment and sliding action response method and system applied to electronic equipment
CN105095720B (en) * 2015-08-10 2018-03-30 京东方科技集团股份有限公司 Fingerprint recognition system and method, display device
CN105069347B (en) * 2015-08-27 2017-11-24 广东欧珀移动通信有限公司 The method and terminal of a kind of unblock
CN106293485B (en) * 2016-10-09 2019-07-16 广州艾想电子科技有限公司 A kind of terminal control method and device based on touch track

Also Published As

Publication number Publication date
CN108681665A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN111459367B (en) Display method and electronic equipment
WO2021169959A1 (en) Application starting method and electronic device
CN108897486B (en) Display method and terminal equipment
CN111142991A (en) Application function page display method and electronic equipment
CN111163260B (en) Camera starting method and electronic equipment
CN109739429B (en) Screen switching processing method and mobile terminal equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN111290810B (en) Image display method and electronic equipment
CN110209369B (en) Interface display method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN108062194B (en) Display method and device and mobile terminal
CN109901976B (en) Application program management method and terminal equipment
CN107707762A (en) A kind of method for operating application program and mobile terminal
CN107783747B (en) Interface display processing method and mobile terminal
CN110231972B (en) Message display method and terminal equipment
CN111459362A (en) Information display method, information display device, electronic apparatus, and storage medium
CN108710806B (en) Terminal unlocking method and mobile terminal
CN110753155A (en) Proximity detection method and terminal equipment
CN110908750B (en) Screen capturing method and electronic equipment
CN109933267B (en) Method for controlling terminal equipment and terminal equipment
CN109189514B (en) Terminal device control method and terminal device
CN111078002A (en) Suspended gesture recognition method and terminal equipment
CN111176512B (en) Icon processing method and electronic equipment
CN111460537A (en) Method for hiding page content and electronic equipment
CN108681665B (en) Operation execution method and device and mobile 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
GR01 Patent grant
GR01 Patent grant