CN111007981A - Password input method and device for mobile terminal - Google Patents

Password input method and device for mobile terminal Download PDF

Info

Publication number
CN111007981A
CN111007981A CN201911208110.6A CN201911208110A CN111007981A CN 111007981 A CN111007981 A CN 111007981A CN 201911208110 A CN201911208110 A CN 201911208110A CN 111007981 A CN111007981 A CN 111007981A
Authority
CN
China
Prior art keywords
track
password input
intersection point
area
acquiring
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.)
Pending
Application number
CN201911208110.6A
Other languages
Chinese (zh)
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.)
JRD Communication Shenzhen Ltd
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
JRD Communication Shenzhen 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 JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201911208110.6A priority Critical patent/CN111007981A/en
Publication of CN111007981A publication Critical patent/CN111007981A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method and a device for inputting a mobile terminal password; the embodiment of the invention can acquire the track sliding on the unlocking interface; acquiring coordinates of an intersection point of the track and a first operation area of a reference area; calculating an angle formed by a connecting line of the intersection points and a reference line; and executing the corresponding password input operation according to the angle division range value to which the angle belongs. According to the scheme, unlocking can be achieved according to the password track drawn on the unlocking interface by the user, the operation is convenient and fast, forgetting caused by too complicated password setting is avoided, peeping and cracking are not easy to occur, and therefore the safety and the convenience of unlocking the mobile terminal are improved.

Description

Password input method and device for mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a mobile terminal password input method and device.
Background
With the development of science and technology, mobile terminals are more and more intelligent, and can be unlocked in various ways, such as password unlocking, connection unlocking and the like, the unlocking ways need to set an effective password in the mobile terminal firstly, a preset password is input after the terminal enters an unlocking interface, if the input password is detected to be the same as the preset password, the unlocking is successful, and otherwise, the unlocking is failed. In the research and practice process of the prior art, the inventor of the invention finds that the existing password input method of the mobile terminal is not only easy to forget due to too complicated password setting, but also easy to peep or crack and the like, and has lower safety.
Disclosure of Invention
The embodiment of the invention provides a password input method and device for a mobile terminal, which can realize unlocking according to a password track drawn on an unlocking interface by a user, and improve the safety and convenience of unlocking the mobile terminal.
The embodiment of the invention provides a mobile terminal password input method, which comprises the following steps:
acquiring a track sliding on an unlocking interface;
acquiring coordinates of an intersection point of the track and a first operation area of a reference area;
calculating an angle formed by a connecting line of the intersection points and a reference line;
and executing the corresponding password input operation according to the angle division range value to which the angle belongs.
Optionally, in some embodiments of the present invention, before the obtaining the track of the password input, the method includes:
setting corresponding relations between different angle division range values and different password input operations;
setting password input times required by each unlocking;
a first operating region and a second operating region of the reference region are defined.
Optionally, in some embodiments of the present invention, the setting of the correspondence between different angle division range values and different password input operations includes:
dividing 0 to 180 degrees into any number of angle division range values;
each angle division range value corresponds to a password which can be unlocked or an operation which cannot be unlocked.
Optionally, in some embodiments of the present invention, the defining the first operating region and the second operating region of the reference region includes:
selecting any two points which are not on the same horizontal line and the same vertical line on a display interface;
obtaining horizontal and vertical straight lines passing through the two points;
acquiring a rectangle surrounded by the straight lines, and defining the rectangle as the reference area;
defining four sides of the rectangle as a first operation area of the reference area, and defining an inner area of the rectangle as a second operation area of the reference area.
Optionally, in some embodiments of the present invention, the obtaining coordinates of an intersection point of the track and the first operation region of the reference region includes:
acquiring an intersection point of the track and the first operation area, recording as a first target intersection point, and acquiring a first coordinate;
and acquiring the last intersection point of the track and the first operation area, recording as a second target intersection point, and acquiring a second coordinate.
Optionally, in some embodiments of the present invention, acquiring an intersection point where the track intersects with the first operation region, which is denoted as a first target intersection point, and acquiring a first coordinate includes:
if the track is intersected with the first operation area for the first time, acquiring coordinates of an intersection point of the first intersection and recording the coordinates as first coordinates;
and if the track intersects the first operation area again after the first coordinate is obtained, obtaining the coordinate of the intersection point again, and replacing the first coordinate with the coordinate of the intersection point again.
Optionally, in some embodiments of the present invention, the calculating an angle formed by a connection line of the intersection and a reference line includes:
defining a straight line in the horizontal direction as a datum line and defining the horizontal right direction as the positive direction of the datum line;
defining the slope of a connecting line of the first target intersection point and the second target intersection point as k and the angle as x;
if k is equal to or greater than 0, x is arctan k, if k is less than 0, x is 180+ arctan k, and if k is not present, x is 90.
Correspondingly, the embodiment of the invention also provides a mobile terminal password input device, which comprises:
the track acquisition module is used for acquiring a track sliding on the unlocking interface;
the coordinate acquisition module is used for acquiring the coordinates of the intersection point of the track and the first operation area of the reference area;
the calculation module is used for calculating an angle formed by a connecting line of the intersection points and the reference line;
and the execution module is used for executing the corresponding password input operation according to the angle division range value to which the angle belongs.
Correspondingly, the embodiment of the invention also provides terminal equipment, which comprises a memory and a processor; the memory stores an application program, and the processor is used for running the application program in the memory to execute the operation in the mobile terminal password input method provided by any one of the embodiments of the present invention.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in the mobile terminal password input method according to any one of the embodiments of the present invention.
In the embodiment of the invention, 0 to 180 degrees are divided into any number of angle division range values in the terminal in advance, each angle division range value corresponds to a password which can be unlocked or an operation which cannot be unlocked, password input operations corresponding to different angle division range values are set, a first operation area and a second operation area of a reference area are defined at the same time, when a user draws a password track on an unlocking interface, the terminal obtains coordinates of an intersection point of the track and the first operation area of the reference area, calculates an angle formed by a connecting line of the intersection point and a reference line, and executes the corresponding password input operation according to the angle division range value to which the angle belongs, and in the process, the user can unlock the terminal without inputting a complex password on the interface to be unlocked and only needs to draw a proper password track on a display interface. Therefore, the problem that the password is set to be complicated and forgotten can be avoided by the scheme, and meanwhile, the password is not easy to peep and crack, so that the unlocking safety and convenience of the mobile terminal are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of a password input method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a password input method of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a flowchart of coordinate acquisition of a password input method of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal password input method apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method and a device for inputting a password of a mobile terminal. The application device is integrated in a terminal, and the terminal can be a mobile phone, a tablet computer, a notebook computer and other equipment.
For example, as shown in fig. 1, the terminal divides 0 to 180 degrees into any number of angle division range values in advance, each angle division range value corresponds to a password that can be unlocked or an operation that cannot be unlocked, and sets a password input operation corresponding to a different angle division range value, and defines a first operation region and a second operation region of a reference region on an unlocking interface at the same time, when a user draws a password trajectory on the unlocking interface, the terminal obtains a trajectory that slides on the unlocking interface, obtains coordinates of two target intersections of the trajectory and the first operation region of the reference region, selects a direction of a reference line to be applied, calculates an angle formed by a connecting line of the intersections and the selected reference line, and executes the corresponding password input operation according to the angle division range value to which the angle belongs, thereby unlocking the terminal.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment will be described from the perspective of a mobile terminal password input device, which may be specifically integrated in a terminal, which may include a mobile phone, a wearable smart device, a tablet Computer, a notebook Computer, a Personal Computer (PC), and the like.
A password input method for a mobile terminal comprises the following steps: acquiring a track sliding on an unlocking interface; acquiring coordinates of an intersection point of the track and a first operation area of a reference area; calculating an angle formed by a connecting line of the intersection points and a reference line; and executing the corresponding password input operation according to the angle division range value to which the angle belongs.
As shown in fig. 2, the specific flow of the mobile terminal password input method is as follows:
101. and acquiring a track sliding on the unlocking interface.
For example, before a track sliding on an unlocking interface is obtained, corresponding relations between different angle division range values and different password input operations are set, password input times required for unlocking each time are set, sliding on the unlocking interface and inputting corresponding passwords are required when a terminal is unlocked each time, so that the unlocking times are successful, and a first operation area and a second operation area of a reference area are defined at the same time. When the mobile terminal is unlocked, firstly, a power key is pressed down in a black screen state to lighten a screen, then, an unlocking interface is entered, a user randomly draws a track on the unlocking interface, and the mobile terminal acquires the track sliding on the unlocking interface.
Wherein, setting the corresponding relation between the different angle division range values and the different password input operations comprises:
dividing 0 to 180 degrees into any number of angle division range values; and each angle division range value corresponds to a password which can be unlocked or an operation which cannot be unlocked, and finally, the preset corresponding password input operation is executed according to the calculated angle division range value to which the angle belongs.
Wherein defining the first and second operating regions of the reference region comprises:
selecting any two points which are not on the same horizontal line and the same vertical line on a display interface; obtaining horizontal and vertical straight lines passing through the two points; acquiring a rectangle surrounded by the straight lines, and defining the rectangle as the reference area; defining four sides of the rectangle as a first operation area of the reference area, and defining an inner area of the rectangle as a second operation area of the reference area.
Specifically, a reference region position is determined by two points, two points a (ac1, bc1) and B (ac2, bc2) are optionally selected on the display interface, and for one point C (a, B), when B-bc 1 or B-bc 2 and ac1< a < ac2, or a-ac 1 or a-ac 2 and bc1 ≦ B ≦ bc2 are satisfied, (a, B) is located in a first operation region of the reference region; that is, the first operation region of the reference region is a point set { (a, b) | ((b ═ bc1) | (b ═ bc2) & & (ac1< a < ac2)) | ((a ═ ac1) | (a ═ ac2) & & (bc1 ≦ b ≦ bc2)) }; when ac1< a < ac2 and bc1< b < bc2 are satisfied, (a, b) is located in a second operating region of the reference region; that is, the second operation region of the reference region is a point set { (a, b) | (ac1< a < ac2) & (bc1< b < bc2) }.
Wherein, the A, B two points are any two points on the display interface, C is any one point on the sliding track on the unlocking interface, | symbol is "or", & & symbol is "and".
The reference area is not limited to a rectangle, and any closed figure can be considered as the reference area, and those skilled in the art can teach to set the reference area in other shapes, for example, a triangle, a circle, a pentagon, etc., and define the outer edge of the closed area as the first operation area and the inner area of the closed area as the second operation area.
102. And acquiring coordinates of an intersection point of the track and the first operation area of the reference area.
For example, sliding the track on the unlocking interface so that there are at least two intersection points with the first operation region of the predefined operation region, acquiring two specific target intersection points of the track sliding on the unlocking interface and the first operation region of the reference region, and acquiring coordinate values of the final two specific target intersection points, which are denoted as the first coordinate and the second coordinate, as shown in fig. 3, the following steps are performed:
(1) when the sliding track on the unlocking interface is intersected with the first operation area of the reference area on the display interface for the first time, the intersection point is obtained and recorded as a first target intersection point, and a first coordinate is obtained.
(2) Then, the position relation between the sliding track on the unlocking interface and the reference area is divided into three conditions: if the sliding track on the unlocking interface still intersects with the first operation area of the reference area, acquiring the coordinates of the intersected point, replacing the first coordinates with the coordinates of the intersected point, and then still executing the step (2); if the track sliding on the unlocking interface slides out of the first operation area of the reference area, ending the unlocking, sliding the track on the unlocking interface again, and returning to the step (1); and (4) if the sliding track on the unlocking interface enters the second operation area of the reference area, executing the step (3).
(3) Then, according to the position relation between the sliding track on the unlocking interface and the reference area, the method is divided into two conditions: if the sliding track on the unlocking interface is intersected with the first operation area of the reference area, acquiring the intersection point, marking as a second target intersection point, acquiring a second coordinate, and then executing the step (4); and (4) if the sliding track on the unlocking interface is still in the second operation area of the reference area, re-executing the step (3).
(4) Then, the position relation between the sliding track on the unlocking interface and the reference area is divided into three conditions: if the sliding track on the unlocking interface still intersects with the first operation area of the reference area, acquiring the coordinates of the intersected point, replacing the second coordinates with the coordinates of the intersected point, and continuing to execute the step (4); if the sliding track on the unlocking interface slides out of the first operation area of the reference area, taking the second target intersection point obtained at the last time as the finally determined second target intersection point, and obtaining a second coordinate; and (4) if the sliding track on the unlocking interface enters the second operation area of the reference area, returning to the step (3).
Optionally, in the step (1), the first target intersection point and the first coordinate are obtained, in the step (2), if the track sliding on the unlocking interface still intersects with the first operation area of the reference area, it is not necessary to obtain the first target intersection point and the first coordinate again, the first coordinate in the step (1) is kept unchanged, then the step (2) is still performed, and the rest is the same as the above step.
103. And calculating an angle formed by the connecting line of the intersection points and the reference line.
For example, a straight line in the horizontal direction on the display interface is defined as a reference line, the horizontal right direction is the forward direction of the reference line, the slope of a connecting line between the first target intersection point and the second target intersection point is defined as k, the angle formed by the connecting line of the intersection points and the forward direction of the reference line is defined as x, if k is greater than or equal to 0, x is arctan k, if k is less than 0, x is 180+ arctan k, and if k is not present, x is 90.
Optionally, if the angle formed by the connecting line of the intersection and the positive direction of the reference line is obtained, the calculated angle may be subtracted from 180 degrees, so as to obtain the angle formed by the connecting line of the intersection and the negative direction of the reference line, and the corresponding password input operation may be executed according to the angle division range value to which the angle belongs.
Optionally, a straight line in a vertical direction on the display interface may be defined as a reference line, a vertical direction is a positive direction of the reference line, a vertical direction is a negative direction of the reference line, a slope of a connecting line between the first target intersection point and the second target intersection point is defined as k, an angle formed by the connecting line between the first target intersection point and the second target intersection point and the negative direction of the reference line is defined as y, if k is greater than or equal to 0, y is arctan k, if k is less than 0, y is 180+ arctan k, and if k is not present, y is 90. Similarly, the calculated angle may be subtracted from 180 degrees to obtain an angle formed by the connecting line of the intersection and the forward direction of the reference line, and the corresponding password input operation may be executed according to the angle division range value to which the angle belongs.
104. And executing the corresponding password input operation according to the angle division range value to which the angle belongs.
For example, 0 to 180 degrees are divided into 0 to 45 degrees, 45 to 135 degrees and 135 to 180 degrees, wherein 0 to 45 degrees correspond to a password A which can be successfully unlocked, 45 to 135 degrees correspond to a password B which can be successfully unlocked, 135 to 180 degrees correspond to an operation which cannot be successfully unlocked, and corresponding password input operation is executed according to three angle division range values which are calculated and belong to angles formed by a connecting line of the intersection points and a reference line, so that whether unlocking can be successfully performed or not is determined.
Optionally, a plurality of angle division range values may be preset, and different operations that can be successfully unlocked and cannot be successfully unlocked are corresponded, so that security and autonomy of password input of the mobile terminal are achieved.
In order to better implement the above method, an embodiment of the present invention may further provide a mobile terminal password input apparatus, where the mobile terminal password input apparatus may be specifically integrated in a network device, and the network device may be a terminal or the like.
For example, as shown in fig. 4, the mobile terminal password input apparatus may include a trajectory acquisition unit 401, a coordinate acquisition unit 402, a calculation unit 403, and an execution unit 404, as follows:
(1) trajectory acquisition unit 401
A trajectory acquiring unit 401, configured to acquire a trajectory sliding on the unlocking interface.
For example, when the terminal is unlocked, a power key is pressed, a screen is lit, the terminal enters an unlocking interface, a user can draw a track for inputting a password on the unlocking interface, and the track acquisition unit 401 acquires a track sliding on the unlocking interface at this time.
(2) Coordinate acquisition unit 402
A coordinate obtaining unit 402, configured to obtain coordinates of an intersection of the track and the first operation region of the reference region.
For example, a user may define a reference area in the terminal in advance, where the reference area is a closed planar graph, an outer edge of the reference area is a first operation area, and an inner portion of the reference area is a second operation area, when unlocking the terminal, the terminal may obtain a trajectory that the user slides on an unlocking interface, where the trajectory inevitably intersects with the first operation area of the reference area, and obtain two specific intersection points according to corresponding rules, which are denoted as a first target intersection point and a second target intersection point, and at this time, the coordinate obtaining unit 402 may record coordinates of the first target intersection point and the second target intersection point, which are denoted as a first coordinate and a second coordinate.
(3) Computing unit 403
A calculating unit 403, configured to calculate an angle formed by a connecting line of the intersection and the reference line.
For example, after the first coordinate and the second coordinate are acquired, the slope of the connecting line of the two intersections is calculated to be k, the reference line is defined as a straight line in the horizontal direction or the vertical direction on the display interface, and the calculating unit 403 calculates the angle formed by the connecting line of the intersections and the reference line by using the mathematical idea.
(4) Execution unit 404
The execution unit 404 is configured to execute a password input operation corresponding to the angle according to the angle division range value to which the angle belongs.
For example, an angle value formed by the connection line and the reference line is calculated, a preset angle division range value to which the angle value belongs is determined, and the execution unit 404 executes a corresponding password input operation according to the corresponding relationship.
The password input operation comprises a password which can be unlocked and an operation which cannot be unlocked.
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 5, the terminal may include a Radio Frequency (RF) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a Wireless Fidelity (WiFi) module 507, a processor 508 including one or more processing cores, and a power supply 509. Those skilled in the art will appreciate that the terminal structure shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by 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 terminal, etc. Further, the memory 502 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. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means 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 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 506, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 506 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508, and then transmitted to, for example, another terminal via the RF circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile phone. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The terminal also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 508 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application programs stored in the memory 502, thereby implementing various functions.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the mobile terminal password input methods provided by the embodiments of the present invention, the beneficial effects that can be achieved by any of the mobile terminal password input methods provided by the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The mobile terminal password input method and device provided by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A mobile terminal password input method is characterized by comprising the following steps:
acquiring a track sliding on an unlocking interface;
acquiring coordinates of an intersection point of the track and a first operation area of a reference area;
calculating an angle formed by a connecting line of the intersection points and a reference line;
and executing the corresponding password input operation according to the angle division range value to which the angle belongs.
2. The method of claim 1, wherein obtaining the track of password inputs is preceded by:
setting corresponding relations between different angle division range values and different password input operations;
setting password input times required by each unlocking;
a first operating region and a second operating region of the reference region are defined.
3. The method according to claim 2, wherein the setting of the correspondence between different angle division range values and different password input operations comprises:
dividing 0 to 180 degrees into any number of angle division range values;
each angle division range value corresponds to a password which can be unlocked or an operation which cannot be unlocked.
4. The method of claim 2, wherein defining the first and second operating regions of the reference region comprises:
selecting any two points which are not on the same horizontal line and the same vertical line on a display interface;
obtaining horizontal and vertical straight lines passing through the two points;
acquiring a rectangle surrounded by the straight lines, and defining the rectangle as the reference area;
defining four sides of the rectangle as a first operation area of the reference area, and defining an inner area of the rectangle as a second operation area of the reference area.
5. The method of claim 1, wherein obtaining coordinates of an intersection of the trajectory and a first operational area of a reference area comprises:
acquiring an intersection point of the track and the first operation area, recording as a first target intersection point, and acquiring a first coordinate;
and acquiring the last intersection point of the track and the first operation area, recording as a second target intersection point, and acquiring a second coordinate.
6. The method of claim 5, wherein obtaining an intersection of the trajectory and the first operating region, denoted as a first target intersection, and obtaining first coordinates comprises:
if the track is intersected with the first operation area for the first time, acquiring coordinates of an intersection point of the first intersection and recording the coordinates as first coordinates;
and if the track intersects the first operation area again after the first coordinate is obtained, obtaining the coordinate of the intersection point again, and replacing the first coordinate with the coordinate of the intersection point again.
7. The method of claim 1, wherein said calculating an angle formed by a line connecting said intersection points and a reference line comprises:
defining a straight line in the horizontal direction as a datum line and defining the horizontal right direction as the positive direction of the datum line;
defining the slope of a connecting line of the first target intersection point and the second target intersection point as k and the angle as x;
if k is equal to or greater than 0, x is arctan k, if k is less than 0, x is 180+ arctan k, and if k is not present, x is 90.
8. A password input device of a mobile terminal, comprising:
the track acquisition unit is used for acquiring a track sliding on the unlocking interface;
the coordinate acquisition unit is used for acquiring the coordinates of the intersection point of the track and the first operation area of the reference area;
the calculating unit is used for calculating an angle formed by a connecting line of the intersection points and a reference line;
and the execution unit is used for executing the corresponding password input operation according to the angle division range value to which the angle belongs.
9. A terminal device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the operations of the mobile terminal password input method according to any one of claims 1 to 7.
10. A storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor to perform the steps of the mobile terminal password input method according to any one of claims 1 to 7.
CN201911208110.6A 2019-11-30 2019-11-30 Password input method and device for mobile terminal Pending CN111007981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911208110.6A CN111007981A (en) 2019-11-30 2019-11-30 Password input method and device for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911208110.6A CN111007981A (en) 2019-11-30 2019-11-30 Password input method and device for mobile terminal

Publications (1)

Publication Number Publication Date
CN111007981A true CN111007981A (en) 2020-04-14

Family

ID=70113637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911208110.6A Pending CN111007981A (en) 2019-11-30 2019-11-30 Password input method and device for mobile terminal

Country Status (1)

Country Link
CN (1) CN111007981A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140025957A1 (en) * 2012-07-19 2014-01-23 Phison Electronics Corp. Method for entering password and portable electronic device and unlocking method and data authenticating method
CN105068746A (en) * 2015-07-31 2015-11-18 Tcl移动通信科技(宁波)有限公司 Touch screen based application icon operation method and system
CN106293382A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of control method and device
CN108664204A (en) * 2018-04-08 2018-10-16 维沃移动通信有限公司 A kind of unlocking method, device and mobile terminal
CN109542313A (en) * 2018-11-21 2019-03-29 维沃移动通信有限公司 A kind of switching method and mobile terminal of system account

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140025957A1 (en) * 2012-07-19 2014-01-23 Phison Electronics Corp. Method for entering password and portable electronic device and unlocking method and data authenticating method
CN106293382A (en) * 2015-06-12 2017-01-04 联想(北京)有限公司 A kind of control method and device
CN105068746A (en) * 2015-07-31 2015-11-18 Tcl移动通信科技(宁波)有限公司 Touch screen based application icon operation method and system
CN108664204A (en) * 2018-04-08 2018-10-16 维沃移动通信有限公司 A kind of unlocking method, device and mobile terminal
CN109542313A (en) * 2018-11-21 2019-03-29 维沃移动通信有限公司 A kind of switching method and mobile terminal of system account

Similar Documents

Publication Publication Date Title
US11227042B2 (en) Screen unlocking method and apparatus, and storage medium
CN104852885B (en) Method, device and system for verifying verification code
CN106778175B (en) Interface locking method and device and terminal equipment
US10133480B2 (en) Method for adjusting input-method keyboard and mobile terminal thereof
EP3499918A1 (en) Data sharing method and terminal
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN110531915B (en) Screen operation method and terminal equipment
CN106951143B (en) Method and device for hiding application icons
EP3764254A1 (en) Fingerprint unlocking method, and terminal
WO2015010570A1 (en) A method, device, and terminal for hiding or un-hiding content
CN110719361B (en) Information transmission method, mobile terminal and storage medium
CN109600514B (en) Unlocking control method and device, mobile terminal and storage medium
CN110109788B (en) Multi-key detection method and device, electronic equipment and storage medium
WO2016131180A1 (en) Keyboard display method, apparatus and terminal device
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN109831770B (en) Pairing method and device of mobile terminal, storage medium and mobile terminal
CN111007981A (en) Password input method and device for mobile terminal
CN108322600B (en) Network access method and mobile terminal
CN111966206A (en) Power-saving control method and device for fingerprint sensor and mobile terminal
CN106657278B (en) Data transmission method and device and computer equipment
CN106230709B (en) Method and device for distinguishing and synchronizing chat information
CN105988801B (en) Method and device for displaying annotation information
CN112532791B (en) Unlocking method and device of mobile terminal, storage medium and mobile terminal
CN112380521B (en) Touch screen unlocking method and device, storage medium and terminal
CN110505343B (en) Method, device, storage medium and electronic equipment for user information intercommunication

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200414

RJ01 Rejection of invention patent application after publication