Unlocking method and device of mobile terminal, storage medium and mobile terminal

文档序号:882570 发布日期:2021-03-19 浏览:21次 中文

阅读说明:本技术 移动终端的解锁方法、装置、存储介质及移动终端 (Unlocking method and device of mobile terminal, storage medium and mobile terminal ) 是由 俞斌 于 2020-11-25 设计创作,主要内容包括:本申请公开了一种移动终端的解锁方法、装置、存储介质及移动终端。本申请通过获取用户按压所述触摸屏上的滑动轨迹,并判断第一解锁控件及第二解锁控件是否分别位于第一区域及第二区域中,以及当判断出第一解锁控件及第二解锁控件分别位于第一区域及第二区域中时,则确定移动终端处于解除锁定状态。本申请通过对具有触摸屏的移动终端进行滑动快速解锁操作,以提供解锁的可操作性和多样化的滑动轨迹,从而改善用户体验。(The application discloses a method and a device for unlocking a mobile terminal, a storage medium and the mobile terminal. According to the method and the device, the sliding track of the touch screen pressed by the user is obtained, whether the first unlocking control and the second unlocking control are respectively located in the first area and the second area is judged, and when the first unlocking control and the second unlocking control are respectively located in the first area and the second area, the mobile terminal is determined to be in the unlocking state. According to the mobile terminal unlocking method and device, the mobile terminal with the touch screen is subjected to sliding quick unlocking operation, so that the unlocking operability and diversified sliding tracks are provided, and the user experience is improved.)

1. An unlocking method of a mobile terminal, the method comprising the steps of:

when the mobile terminal is in a locked state, displaying a first unlocking control and a second unlocking control which are not overlapped with each other on a touch screen of the mobile terminal;

acquiring a sliding track of a user pressing the touch screen;

judging whether the sliding track forms two intersection points;

when the sliding track is judged to form two intersection points, a first area and a second area formed by the sliding track are obtained;

judging whether the first unlocking control and the second unlocking control are respectively located in the first area and the second area; and

and when the first unlocking control and the second unlocking control are judged to be respectively located in the first area and the second area, determining that the mobile terminal is in the unlocking state.

2. The method according to claim 1, further comprising, after the step of determining whether the first unlocking control and the second unlocking control are located in the first area and the second area, respectively:

and when the first unlocking control and the second unlocking control are not respectively located in the first area and the second area, determining that the mobile terminal keeps a locking state.

3. The unlocking method of the mobile terminal according to claim 1, wherein before the step of displaying the first unlocking control and the second unlocking control which are not overlapped with each other on the touch screen of the mobile terminal when the mobile terminal is in the locked state, the method further comprises the steps of:

and acquiring the positions of a first unlocking control and a second unlocking control preset in the mobile terminal.

4. The method for unlocking a mobile terminal according to claim 1, wherein the first unlocking control and the second unlocking control are circular or quadrilateral.

5. An unlocking apparatus of a mobile terminal, the unlocking apparatus comprising,

the unlocking control display unit is used for displaying a first unlocking control and a second unlocking control which are not overlapped with each other on a touch screen of the mobile terminal when the mobile terminal is in a locked state;

the track acquisition unit is used for acquiring a sliding track of a user pressing the touch screen;

the intersection point judging unit is used for judging whether the sliding track forms two intersection points or not;

the area forming unit is used for acquiring a first area and a second area formed by the sliding track when the sliding track is judged to form two intersection points;

the area judgment unit is used for judging whether the first unlocking control and the second unlocking control are respectively positioned in the first area and the second area; and

and the unlocking unit is used for determining that the mobile terminal is in the unlocking state when the first unlocking control and the second unlocking control are respectively positioned in the first area and the second area.

6. The unlocking device of a mobile terminal according to claim 5, wherein said unlocking device further comprises:

and the screen locking unit is used for determining that the mobile terminal keeps a locking state when the first unlocking control and the second unlocking control are judged not to be respectively located in the first area and the second area.

7. The unlocking device of a mobile terminal according to claim 5, wherein said unlocking device further comprises:

and the position acquisition unit is used for acquiring the positions of a first unlocking control and a second unlocking control preset in the mobile terminal.

8. The unlocking apparatus of a mobile terminal according to claim 5,

the first unlocking control and the second unlocking control are circular or quadrilateral.

9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the method of unlocking a mobile terminal according to any one of claims 1 to 4.

10. A terminal device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the unlocking method for a mobile terminal according to any of claims 1-4.

Technical Field

The application belongs to the technical field of computers, and particularly relates to an unlocking method and device for a mobile terminal, a storage medium and the mobile terminal.

Background

Touch screens have slowly become a common accessory for mobile terminal devices, some devices even eliminate most of the hardware keys, and touch screen operation is the most dominant method of interaction with the user. For a mobile terminal equipped with a touch screen, its lock state can be released by using the input characteristics of the touch screen. For example, for a mobile phone with a touch screen, the virtual key can be used to release the mobile phone locking state. Besides the virtual key unlocking method, there are many touch screen unlocking methods for unlocking through a touch screen, such as a slider unlocking method, a gesture unlocking method, a dragging area unlocking method, a connection unlocking method, and the like.

However, in the existing unlocking method, only the efficiency is considered and the possibility of misoperation is eliminated, and a single operation mode is generally adopted, each unlocking process is similar, and the method has no variability, tediousness and no entertainment. In addition, the existing unlocking method usually needs to store a sliding track in advance, so that not only is the operation complicated, but also if a user forgets to set the unlocking track, the user cannot unlock the screen, and the use of the user is influenced.

Accordingly, the prior art is yet to be improved and developed.

Disclosure of Invention

The embodiment of the application provides an unlocking method and device of a mobile terminal, a storage medium and the mobile terminal, and aims to solve the problems that the operation is complicated because a sliding track needs to be stored in advance in the existing unlocking method, and the use of a user is influenced because the user cannot unlock a screen when the user forgets to set the unlocking track.

The application provides an unlocking method of a mobile terminal, which comprises the following steps: when the mobile terminal is in a locked state, displaying a first unlocking control and a second unlocking control which are not overlapped with each other on a touch screen of the mobile terminal; acquiring a sliding track of a user pressing the touch screen; judging whether the sliding track forms two intersection points; when the sliding track is judged to form two intersection points, a first area and a second area formed by the sliding track are obtained; judging whether the first unlocking control and the second unlocking control are respectively located in the first area and the second area; and when the first unlocking control and the second unlocking control are judged to be respectively located in the first area and the second area, determining that the mobile terminal is in the unlocking state.

Further, after the step of determining whether the first unlocking control and the second unlocking control are respectively located in the first area and the second area, the method further comprises the steps of: and when the first unlocking control and the second unlocking control are not respectively located in the first area and the second area, determining that the mobile terminal keeps a locking state.

Further, before the step of displaying the two non-overlapping first unlocking controls and second unlocking controls on the touch screen of the mobile terminal when the mobile terminal is in the locked state, the method further comprises the steps of: and acquiring the positions of a first unlocking control and a second unlocking control preset in the mobile terminal.

Further, the first unlocking control and the second unlocking control are circular or quadrilateral.

The application also provides an unlocking device of the mobile terminal, which comprises an unlocking control display unit, a first unlocking control display unit and a second unlocking control display unit, wherein the unlocking control display unit is used for displaying a first unlocking control and a second unlocking control which are not overlapped with each other on a touch screen of the mobile terminal when the mobile terminal is in a locking state; the track acquisition unit is used for acquiring a sliding track of a user pressing the touch screen; the intersection point judging unit is used for judging whether the sliding track forms two intersection points or not; the area forming unit is used for acquiring a first area and a second area formed by the sliding track when the sliding track is judged to form two intersection points; the area judgment unit is used for judging whether the first unlocking control and the second unlocking control are respectively positioned in the first area and the second area; and the unlocking unit is used for determining that the mobile terminal is in the unlocking state when the first unlocking control and the second unlocking control are respectively positioned in the first area and the second area.

Further, the unlocking device further includes: and the screen locking unit is used for determining that the mobile terminal keeps a locking state when the first unlocking control and the second unlocking control are judged not to be respectively located in the first area and the second area.

Further, the unlocking device further includes: and the position acquisition unit is used for acquiring the positions of a first unlocking control and a second unlocking control preset in the mobile terminal.

Further, the first unlocking control and the second unlocking control are circular or quadrilateral.

The present application further provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the unlocking method of the mobile terminal.

The application also provides a terminal device, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the step of unlocking the mobile terminal.

The method and the device have the advantages that the sliding track on the touch screen pressed by the user is obtained, whether the first unlocking control and the second unlocking control are located in the first area and the second area respectively is judged, and when the first unlocking control and the second unlocking control are located in the first area and the second area respectively, the mobile terminal is determined to be in the unlocking state. According to the mobile terminal unlocking method and device, the mobile terminal with the touch screen is subjected to sliding quick unlocking operation, so that the unlocking operability and diversified sliding tracks are provided, and the user experience is improved.

Drawings

The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.

Fig. 1 is a flowchart illustrating steps of an unlocking method for a mobile terminal according to an embodiment of the present disclosure.

Fig. 2 is a schematic structural diagram of an unlocking device of a mobile terminal according to an embodiment of the present application.

Fig. 3 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.

Fig. 4 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all 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 application.

The terminology used in the detailed description is for the purpose of describing particular embodiments only and is not intended to be limiting of the concepts of the present application. Unless the context clearly dictates otherwise, expressions used in the singular form encompass expressions in the plural form. In the present specification, it will be understood that terms such as "including," "having," and "containing" are intended to specify the presence of the features, integers, steps, acts, or combinations thereof disclosed in the specification, and are not intended to preclude the presence or addition of one or more other features, integers, steps, acts, or combinations thereof. Like reference symbols in the various drawings indicate like elements.

As shown in fig. 1, the present application provides a flowchart of steps of an unlocking method for a mobile terminal.

The unlocking method of the mobile terminal provided by the embodiment of the application comprises the following steps:

step S110: and acquiring the positions of a first unlocking control and a second unlocking control preset in the mobile terminal.

In this step, the positions of the first unlocking control and the second unlocking control may be randomly set by the mobile terminal, or may be manually set by the user. The first unlocking control and the second unlocking control are circular or quadrilateral, but not limited thereto.

Step S120: when the mobile terminal is in a locked state, displaying a first unlocking control and a second unlocking control which are not overlapped with each other on a touch screen of the mobile terminal.

In this step, the locking state may be a locking state in which the mobile terminal is switched from a screen-off state to a screen-on touch screen; the locking state can also be entered for preventing the user from mistakenly receiving the call when the user receives the call.

Step S130: and acquiring a sliding track of the user pressing the touch screen.

In this step, the sliding trajectory is formed by a continuous sliding of one contact point. For example, the user may be generated by a continuous sliding of a finger or stylus or like implement across the touch screen. And the mobile terminal detects the sliding track and outputs corresponding operation characteristics. The operating characteristics may include a contact pressure and a sliding trajectory of the continuous sliding of the contact point on the touch screen. The continuous sliding refers to that a tool such as a finger or a stylus of a user continuously contacts the touch screen between the starting point and the end point of the continuous sliding, and the continuous sliding is not interrupted between the starting point and the end point of the continuous sliding. The sliding track is a sliding route of the contact point on the touch screen continuously.

Step S140: and judging whether the sliding track forms two intersection points.

In this step, a sliding track of the user on the touch screen is obtained, and whether the sliding track forms two intersection points is monitored.

Step S150: and acquiring a first area and a second area formed by the sliding track.

In this step, when it is determined that the sliding trajectory forms two intersections, a first region and a second region formed by the sliding trajectory are obtained. The shape of the first region and the second region may be arbitrary. But the first area and the second area need to be closed figures.

Step S160: and judging whether the first unlocking control and the second unlocking control are respectively positioned in the first area and the second area.

In this step, it is determined whether sliding track points exist on the upper, lower, left, and right sides of the first unlocking control and the second unlocking control determination region, respectively, and it is determined whether two sliding track points exist between the first unlocking control and the second unlocking control. The unlocking control judgment area comprises two conditions: the central point of the first unlocking control is used as the unlocking control judgment area, and the rectangular area of the second unlocking control is used as the unlocking control judgment area.

When the central point of the unlocking control is taken as the touch control judgment area, the central points of the first unlocking control and the second unlocking control are respectively set as (a, b), (c and d). Whether the upper side, the lower side, the left side and the right side of the first unlocking control and the second unlocking control judgment area have points of a sliding track is judged, namely whether the points meet the condition that the vertical coordinate is larger than b in the sliding track, whether the points meet the condition that the vertical coordinate is smaller than b in the sliding track, whether the points meet the condition that the horizontal coordinate is larger than a in the sliding track, and whether the points meet the condition that the horizontal coordinate is smaller than a in the sliding track are judged.

And judging whether two points of sliding tracks exist between the two first unlocking controls and the second unlocking control, acquiring line segments where the central points of the first unlocking control and the second unlocking control are (a, b) and (c, d), and judging whether the line segments have points on two sliding tracks or not.

Step S170: determining that the mobile terminal is in an unlocked state.

In this step, when it is determined that the first unlocking control and the second unlocking control are located in the first area and the second area, respectively, it is determined that the mobile terminal is in the unlocking state.

Step S180: it is determined that the mobile terminal remains in a locked state.

In this step, when it is determined that the first unlocking control and the second unlocking control are not located in the first area and the second area, respectively, it is determined that the mobile terminal remains in the locked state.

According to the method and the device, the sliding track of the touch screen pressed by the user is obtained, whether the first unlocking control and the second unlocking control are respectively located in the first area and the second area is judged, and when the first unlocking control and the second unlocking control are respectively located in the first area and the second area, the mobile terminal is determined to be in the unlocking state. According to the mobile terminal unlocking method and device, the mobile terminal with the touch screen is subjected to sliding quick unlocking operation, so that the unlocking operability and diversified sliding tracks are provided, and the user experience is improved.

As shown in fig. 2, the present application provides a schematic structural diagram of an unlocking device of a mobile terminal, including: the device comprises a position acquisition unit 10, an unlocking control display unit 20, a track acquisition unit 30, an intersection point judgment unit 40, an area forming unit 50, an area judgment unit 60, an unlocking unit 70 and a screen locking unit 80.

The position obtaining unit 10 is configured to obtain positions of a first unlocking control and a second unlocking control preset in the mobile terminal. In this embodiment, the positions of the first unlocking control and the second unlocking control may be randomly set by the mobile terminal, or may be manually set by the user. The first unlocking control and the second unlocking control are circular or quadrilateral, but not limited thereto.

The unlocking control display unit 20 is configured to display a first unlocking control and a second unlocking control, which are not overlapped with each other, on a touch screen of the mobile terminal when the mobile terminal is in a locked state. In this embodiment, the locked state may be a locked state in which the mobile terminal is switched from a screen-off state to a screen-on touch screen; the locking state can also be entered for preventing the user from mistakenly receiving the call when the user receives the call.

The track acquiring unit 30 is configured to acquire a sliding track of the user pressing the touch screen. In the present embodiment, the sliding trajectory is formed by continuous sliding of one contact point. For example, the user may be generated by a continuous sliding of a finger or stylus or like implement across the touch screen. And the mobile terminal detects the sliding track and outputs corresponding operation characteristics. The operating characteristics may include a contact pressure and a sliding trajectory of the continuous sliding of the contact point on the touch screen. The continuous sliding refers to that a tool such as a finger or a stylus of a user continuously contacts the touch screen between the starting point and the end point of the continuous sliding, and the continuous sliding is not interrupted between the starting point and the end point of the continuous sliding. The sliding track is a sliding route of the contact point on the touch screen continuously.

The intersection point judging unit 40 is configured to judge whether the sliding trajectory forms two intersection points. In this embodiment, in this step, a sliding track of the user on the touch screen is obtained, and whether the sliding track forms two intersection points is monitored.

The area forming unit 50 is configured to obtain a first area and a second area formed by the sliding track. In this embodiment, when it is determined that the sliding track forms two intersections, a first area and a second area formed by the sliding track are obtained. The shape of the first region and the second region may be arbitrary. But the first area and the second area need to be closed figures.

The region determining unit 60 is configured to determine whether the first unlocking control and the second unlocking control are located in the first region and the second region, respectively. In this embodiment, it is determined whether there are sliding track points on the upper, lower, left, and right sides of the first unlocking control and the second unlocking control determination region, respectively, and it is determined whether there are two sliding track points between the first unlocking control and the second unlocking control. The unlocking control judgment area comprises two conditions: the central point of the first unlocking control is used as the unlocking control judgment area, and the rectangular area of the second unlocking control is used as the unlocking control judgment area.

When the central point of the unlocking control is taken as the touch control judgment area, the central points of the first unlocking control and the second unlocking control are respectively set as (a, b), (c and d). Whether the upper side, the lower side, the left side and the right side of the first unlocking control and the second unlocking control judgment area have points of a sliding track is judged, namely whether the points meet the condition that the vertical coordinate is larger than b in the sliding track, whether the points meet the condition that the vertical coordinate is smaller than b in the sliding track, whether the points meet the condition that the horizontal coordinate is larger than a in the sliding track, and whether the points meet the condition that the horizontal coordinate is smaller than a in the sliding track are judged.

And judging whether two points of sliding tracks exist between the two first unlocking controls and the second unlocking control, acquiring line segments where the central points of the first unlocking control and the second unlocking control are (a, b) and (c, d), and judging whether the line segments have points on two sliding tracks or not.

The unlocking unit 70 is used for determining that the mobile terminal is in an unlocked state. In this embodiment, when it is determined that the first unlocking control and the second unlocking control are located in the first area and the second area, respectively, it is determined that the mobile terminal is in the unlocking state.

The screen locking unit 80 is used to determine that the mobile terminal maintains a locked state. In this embodiment, when it is determined that the first unlocking control and the second unlocking control are not located in the first area and the second area, respectively, it is determined that the mobile terminal maintains the locked state. The method and the device have the advantages that the sliding track on the touch screen pressed by the user is obtained, whether the first unlocking control and the second unlocking control are located in the first area and the second area respectively is judged, and when the first unlocking control and the second unlocking control are located in the first area and the second area respectively, the mobile terminal is determined to be in the unlocking state. According to the mobile terminal unlocking method and device, the mobile terminal with the touch screen is subjected to sliding quick unlocking operation, so that the unlocking operability and diversified sliding tracks are provided, and the user experience is improved.

The embodiment of the invention also provides a mobile terminal which can be a smart phone, a tablet computer and other devices. Specifically, as shown in fig. 3, the mobile terminal 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.

The processor 201 is a control center of the mobile terminal 200, 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 running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the mobile terminal.

In this embodiment, the mobile terminal 200 is provided with a plurality of memory partitions, where the plurality of memory partitions includes a system partition and a target partition, and the processor 201 in the mobile terminal 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:

when the mobile terminal is in a locked state, displaying a first unlocking control and a second unlocking control which are not overlapped with each other on a touch screen of the mobile terminal;

acquiring a sliding track of a user pressing the touch screen;

judging whether the sliding track forms two intersection points;

when the sliding track is judged to form two intersection points, a first area and a second area formed by the sliding track are obtained;

judging whether the first unlocking control and the second unlocking control are respectively located in the first area and the second area; and

and when the first unlocking control and the second unlocking control are judged to be respectively located in the first area and the second area, determining that the mobile terminal is in the unlocking state.

Fig. 4 shows a specific structure block diagram of a mobile terminal provided in an embodiment of the present application, where the mobile terminal may be used to implement the unlocking method of the mobile terminal provided in the foregoing embodiment. The mobile terminal 300 may be a smart phone or a tablet computer. In addition, the mobile terminal may further include a RF circuit 310 for receiving and transmitting electromagnetic waves, so as to perform interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11b, IEEE802.11g, and/or IEEE802.11 n standards), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access), wimax, other suitable short message protocols, and may even include those protocols that have not yet been developed.

The memory 320 may be used to store software programs and modules, such as program instructions/modules corresponding to the unlocking method of the mobile terminal in the above-mentioned embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, that is, the function of unlocking the mobile terminal is realized. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 320 may further include memory located remotely from the processor 380, which may be connected to the mobile terminal 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The input unit 330 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, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 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 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 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 340 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 4, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.

The mobile terminal 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the mobile terminal 300 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 may be further configured on the mobile terminal 300, detailed descriptions thereof are omitted.

Audio circuitry 360, speaker 361, and microphone 362 may provide an audio interface between a user and the mobile terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 300.

The mobile terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the mobile terminal 300 and may be omitted entirely within the scope not changing the essence of the invention as needed.

The processor 380 is a control center of the mobile terminal 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, 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 processor 380.

The mobile terminal 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.

Although not shown, the mobile terminal 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:

when the mobile terminal is in a locked state, displaying a first unlocking control and a second unlocking control which are not overlapped with each other on a touch screen of the mobile terminal;

acquiring a sliding track of a user pressing the touch screen;

judging whether the sliding track forms two intersection points;

when the sliding track is judged to form two intersection points, a first area and a second area formed by the sliding track are obtained;

judging whether the first unlocking control and the second unlocking control are respectively located in the first area and the second area; and

and when the first unlocking control and the second unlocking control are judged to be respectively located in the first area and the second area, determining that the mobile terminal is in the unlocking state.

In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.

It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.

To this end, embodiments of the present application provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any one of the unlocking methods for a mobile terminal provided in the embodiments of the present application.

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 may execute the steps in any one of the unlocking methods for a mobile terminal provided in the embodiments of the present application, beneficial effects that can be achieved by any one of the unlocking methods for a mobile terminal provided in the embodiments of the present application may be achieved, which are detailed in the foregoing embodiments and will not be described again here.

The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.

The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, 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 application.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种通过在屏幕手绘图形解锁的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类