[go: up one dir, main page]

HK1257013B - Screen locking method, terminal and screen locking device - Google Patents

Screen locking method, terminal and screen locking device

Info

Publication number
HK1257013B
HK1257013B HK18116134.3A HK18116134A HK1257013B HK 1257013 B HK1257013 B HK 1257013B HK 18116134 A HK18116134 A HK 18116134A HK 1257013 B HK1257013 B HK 1257013B
Authority
HK
Hong Kong
Prior art keywords
touch screen
locked
edge
terminal
sliding operation
Prior art date
Application number
HK18116134.3A
Other languages
Chinese (zh)
Other versions
HK1257013A1 (en
Inventor
杜鸿雁
Original Assignee
荣耀终端有限公司
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority claimed from PCT/CN2016/104148 external-priority patent/WO2018076384A1/en
Publication of HK1257013A1 publication Critical patent/HK1257013A1/en
Publication of HK1257013B publication Critical patent/HK1257013B/en

Links

Description

Screen locking method, terminal and screen locking device
Technical Field
The invention relates to the technical field of terminal screen display, in particular to a screen locking method, a terminal and a screen locking device.
Background
In the handheld device industry including mobile phones, with the technological progress and the demand of users for large screens, handheld device manufacturers tend to use larger display screens, and most touch display screens are used, and the touch range occupies a larger area of the surface of the handheld device.
For handheld equipment with a large screen touch range, when the screen is lighted and touch is effective, a user can easily touch the touch screen of the equipment by mistake, so that a wrong instruction is issued to an application program displayed in the touch screen. In order to avoid the occurrence of the phenomenon of mistaken touch, the hand holding the equipment can only avoid randomly touching the place within the touch range as much as possible, which causes the problem of poor comfort, especially the problem of inconvenient operation, operation error, hand fatigue or slipping of the handheld equipment easily occurs when the equipment is operated by one hand or used by a large handheld equipment, and causes poor user experience.
Some solutions to the phenomenon of false touch currently provide a method of directly locking the entire touch screen, such as locking the entire screen of a mobile phone when a user does not use the terminal and then unlocking the screen when the user needs to use the terminal, and in some applications, for example, a certain video player, an entire screen other than an unlock button is locked by touching a virtual button, and in a locked state, an application does not respond to an operation until the unlock button is restored by being touched and unlocked, and the entire touch screen does not respond to the touch operation, but has a drawback in that the function often depends on the design of the specific application, and can only be used in the specific application with the function, and other user interfaces do not have the function, and meanwhile, the user interfaces of different applications are different, different operation methods are adopted, so that the user is difficult to master, and the user cannot flexibly adjust the touch-locked screen area.
Therefore, how to provide a more flexible screen locking scheme to enable a user to select an area to be locked to lock the area to be locked, and improve the experience of the user holding the device, is a problem to be researched and solved urgently in the industry.
Disclosure of Invention
The embodiment of the invention provides a screen locking method, a terminal and a screen locking device, which are used for providing a more flexible screen locking scheme, so that a user can autonomously select an area to be locked for locking, and the user experience is improved.
In a first aspect, an embodiment of the present invention provides a screen locking method, where the method is applied to a terminal with a touch screen, and the method includes:
when the terminal detects that a first sliding operation applied from a first edge of the touch screen is not released, a second sliding operation applied from a second edge of the touch screen occurs;
the terminal selects an area to be locked of the touch screen based on a first edge and a second edge of the touch screen and the positions of contact points on the touch screen when the first sliding operation and the second sliding operation stop respectively;
and the terminal locks the region to be locked.
It can be seen that, according to the scheme provided by the application, on one hand, a user is allowed to trigger selection and locking of a part of display areas on the touch screen by applying sliding operation on the touch screen, and on the other hand, an area to be locked of the touch screen is selected based on the position of a contact point on the touch screen when the sliding operation applied by the user stops, so that not only can partial screen locking be realized, but also the user can flexibly select the display area to be locked as required by the sliding operation applied on the touch screen, and therefore, compared with the existing screen locking technical scheme, the method and the device are more flexible, different user screen locking requirements can be met, and user experience is improved.
In one possible implementation manner, the region to be locked includes:
a first closed region constituted by a first edge, a straight line parallel to the first edge at a contact point position on the touch screen when stopped by a first slide operation, and the other edge of the touch screen;
and a second closed area formed by a second edge, a straight line parallel to the second edge at a contact point position on the touch screen when stopped by a second sliding operation, and the other edge of the touch screen.
It can be seen that, according to the scheme provided by the application, the selected to-be-locked area is selected based on the first edge and the second edge of the touch screen and the positions of the contacts on the touch screen when the first sliding operation and the second sliding operation stop respectively, and such a selection mode accords with the operation experience of a user, so that the user can conveniently and flexibly select the to-be-locked display area through the sliding operation applied to the touch screen, different user screen locking requirements can be met, and the user experience is improved.
In a possible implementation manner, after the terminal selects the region to be locked of the touch screen, the method further includes:
the terminal detects that a third sliding operation applied from a third edge of the touch screen occurs when the first sliding operation and/or the second sliding operation applied by a touch object for touching the touch screen does not leave the touch screen;
the terminal selects a first additional area to be locked of the touch screen based on the third edge and the contact position on the touch screen when the third sliding operation is stopped;
the terminal locks the region to be locked, including:
and the terminal locks the region to be locked and the first additional region to be locked.
It can be seen that through the scheme provided by the application, the user can be allowed to supplement the area to be locked which needs to be selected through the sliding operation applied from other edges of the touch screen, so that the user can flexibly and conveniently supplement the display area to be locked according to needs through different sliding operations applied on the touch screen based on the user's needs, and the user experience is improved.
In a possible implementation manner, the additional region to be locked includes:
and a third closed region configured by a third edge, a straight line parallel to the third edge at a contact point position on the touch screen when stopped by a third slide operation, and the other edge of the touch screen.
In a possible implementation manner, after the terminal selects the first additional region to be locked of the touch screen, the method further includes:
the terminal detects that a fourth sliding operation applied from a fourth edge of the touch screen occurs when any one or more of the first sliding operation, the second sliding operation and the third sliding operation applied by a touch object for touching the touch screen does not leave the touch screen;
the terminal selects a second additional region to be locked of the touch screen based on the fourth edge and the contact position on the touch screen when the fourth sliding operation is stopped;
the terminal locks the region to be locked, including:
and the terminal locks the region to be locked, the first additional region to be locked and the second additional region to be locked.
It can be seen that, by means of the scheme provided by the application, the user can be allowed to further supplement the area to be locked which needs to be selected through the sliding operation applied from other edges of the touch screen, so that the user can flexibly and conveniently supplement the display area to be locked as required through different sliding operations applied on the touch screen based on the user's own needs, and the user experience is improved.
In a possible implementation manner, the second additional region to be locked includes:
and a fourth closed region including a fourth edge, a straight line parallel to the fourth edge at a contact point position on the touch panel when the touch panel is stopped by a fourth slide operation, and the other edges of the touch panel.
In a possible implementation manner, before the terminal selects the region to be locked of the touch screen, the terminal further includes:
the terminal sets a covering layer for the area to be locked;
the cover layer is any one of the following:
a transparent layer, a translucent layer, a transparent layer or a translucent layer with animation effects, a transparent or translucent layer with touch-lock guide messages, a transparent or translucent layer with visual information;
after the terminal locks the region to be locked, the terminal further includes:
and the terminal deletes the covering layer covering the area to be locked.
The scheme provided by the application can provide the visual prompt of the selected screen area to be locked for the user, and provides user experience.
In a second aspect, an embodiment of the present invention provides a screen locking method, where the method is applied to a terminal with a touch screen, and the method includes:
the terminal detects that the pressure exerted on the touch screen by a first sliding operation exerted from a first edge of the touch screen exceeds a set threshold value;
the terminal selects a region to be locked of the touch screen based on a first edge of the touch screen and a contact point position on the touch screen when a first sliding operation is stopped;
and the terminal locks the region to be locked.
It can be seen that, according to the scheme provided by the application, on one hand, a user is allowed to trigger selection and locking of a part of display areas on the touch screen by applying a sliding operation pressure on the touch screen exceeding a threshold value, and on the other hand, an area to be locked of the touch screen is selected based on a contact position on the touch screen when the sliding operation applied by the user stops, so that not only can partial screen locking be realized, but also the user can flexibly select the display area to be locked as required by the sliding operation applied on the touch screen through the user, and therefore, compared with the existing screen locking technical scheme, the method is more flexible, different user screen locking requirements can be met, and user experience is improved.
In one possible implementation manner, the region to be locked includes:
a first closed region constituted by a first edge, a straight line parallel to the first edge at a contact point position on the touch screen when stopped by a first slide operation, and the other edge of the touch screen.
According to the scheme provided by the application, the selected area to be locked is selected based on the first edge of the touch screen and the position of the contact point on the touch screen when the first sliding operation is stopped, and the selection mode accords with the operation experience of a user, so that the user can conveniently and flexibly select the display area to be locked through the sliding operation applied to the touch screen by the user, different user screen locking requirements can be met, and the user experience is improved.
In a possible implementation manner, after the terminal selects the region to be locked of the touch screen, the method further includes:
the terminal detects a second sliding operation applied from a second edge of the touch screen;
the terminal selects an additional region to be locked of the touch screen based on the second edge and the position of a contact point on the touch screen when the second sliding operation is stopped;
the terminal locks the region to be locked, including:
and the terminal locks the region to be locked and the additional region to be locked.
It can be seen that through the scheme provided by the application, the user can be allowed to supplement the area to be locked which needs to be selected by the pressure of the sliding operation applied from other edges of the touch screen exceeding the threshold value, so that the user can flexibly and conveniently supplement the display area to be locked according to needs by the sliding operation applied on the touch screen based on own needs, and the user experience is improved.
In a possible implementation manner, the additional region to be locked includes:
and a second closed area formed by a second edge, a straight line parallel to the second edge at a contact point position on the touch screen when stopped by a second sliding operation, and the other edge of the touch screen.
In a possible implementation manner, before the terminal selects the region to be locked of the touch screen, the terminal further includes:
the terminal sets a covering layer for the area to be locked;
the cover layer is any one of the following:
a transparent layer, a translucent layer, a transparent layer or a translucent layer with animation effects, a transparent or translucent layer with touch-lock guide messages, a transparent or translucent layer with visual information;
after the terminal locks the region to be locked, the terminal further includes:
and the terminal deletes the covering layer covering the area to be locked.
The scheme provided by the application can provide the visual prompt of the selected screen area to be locked for the user, and provides user experience.
In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes: a touch screen, a memory and a processor; the processor is coupled with the touch screen; the touch screen is used for displaying the screen state of the terminal before, in the screen locking process or after the screen locking; and for sensing an operation applied on the touch screen; the memory is coupled with the processor; the memory is to store computer-executable program code, the program code comprising instructions; when the processor executes the instructions, the instructions cause the terminal to perform the possible screen locking methods according to the first aspect and the first aspect described above. As for the implementation manner and the beneficial effects of the terminal for solving the problems, reference may be made to the implementation manners and the beneficial effects of the possible screen locking methods of the first aspect and the first aspect, reference may be made to the implementation manners of the possible screen locking methods of the first aspect and the first aspect, and repeated details are not repeated.
In a fourth aspect, an embodiment of the present invention provides a screen locking device, where the device is applied to a terminal with a touch screen, and the device includes: the device comprises a detection module, a selection module and a locking module; the device comprises a detection module, a control module and a display module, wherein the detection module is used for detecting whether a first sliding operation applied from a first edge of the touch screen is not released or not, and whether a second sliding operation applied from a second edge of the touch screen occurs or not; the selection module is used for selecting an area to be locked of the touch screen based on the first edge and the second edge of the touch screen and the positions of the contacts on the touch screen when the first sliding operation and the second sliding operation stop respectively when the detection module detects the second sliding operation; and the locking module is used for locking the area to be locked. Based on the same inventive concept, as the principle and the beneficial effects of the device for solving the problems can be referred to the implementation modes and the beneficial effects of the possible screen locking methods of the first aspect and the first aspect, the implementation of the device can be referred to the implementation of the method, and repeated parts are not described again.
In a fifth aspect, an embodiment of the present invention provides a terminal, where the terminal includes: a touch screen, a memory and a processor; the processor is coupled with the touch screen; the touch screen is used for displaying the screen state of the terminal before, in the screen locking process or after the screen locking; and for sensing an operation applied on the touch screen; the memory is coupled with the processor; the memory is to store computer-executable program code, the program code comprising instructions; when executed by the processor, the instructions cause the terminal to perform the possible screen locking methods according to the second aspect and the second aspect described above. As for the implementation and the beneficial effects of the terminal for solving the problems, reference may be made to the implementation and the beneficial effects of the various possible screen locking methods in the second aspect, so that reference may be made to the implementation of the various possible screen locking methods in the second aspect, and repeated descriptions are omitted.
In a sixth aspect, an embodiment of the present invention provides a screen locking device, where the device is applied to a terminal with a touch screen, and the device includes: the device comprises a detection module, a selection module and a locking module; the detection module is used for detecting whether the pressure exerted on the touch screen by a first sliding operation exerted from a first edge of the touch screen exceeds a set threshold value; the selection module is used for selecting an area to be locked of the touch screen based on a first edge of the touch screen and a contact point position on the touch screen when the first sliding operation is stopped when the detection module detects that the pressure exerted on the touch screen by the first sliding operation exceeds the set threshold; and the locking module is used for locking the area to be locked. Based on the same inventive concept, as the principle and the beneficial effects of the device for solving the problems can be referred to the implementation modes and the beneficial effects of the possible screen locking methods of the second aspect and the second aspect, the implementation of the device can be referred to the implementation of the method, and repeated parts are not described again.
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 inventive exercise.
FIG. 1 is a schematic diagram of a portion of a handset according to some embodiments of the invention;
fig. 2 is a schematic flow chart of a screen locking method according to some embodiments of the present invention;
FIG. 3(a) is a schematic edge view of a touchscreen of a cell phone according to some embodiments of the present invention;
FIG. 3(b) is a schematic edge view of a touchscreen of a mobile phone according to further embodiments of the present invention;
FIG. 3(c) is a schematic edge view of a touch screen of a mobile phone according to further embodiments of the present invention;
FIG. 3(d) is a schematic edge view of a touch screen of a mobile phone according to further embodiments of the present invention;
fig. 4(a) is a schematic diagram of a terminal detecting a sliding operation in practical application according to some embodiments of the present invention;
fig. 4(b) is a schematic diagram of a terminal detecting a sliding operation in practical applications according to still another embodiment of the present invention;
FIG. 5 is a schematic view of an area to be locked selected by a sliding operation in some embodiments of the present invention;
FIG. 6(a) is a schematic view of a first additional area to be locked selected in some embodiments of the present invention;
FIG. 6(b) is a schematic view of a first additional area to be locked selected in accordance with further embodiments of the present invention;
FIG. 6(c) is a schematic view of a first additional area to be locked selected in accordance with further embodiments of the present invention;
FIG. 7 is a schematic view of a second additional area to be locked selected in some embodiments of the present invention;
FIG. 8(a) is a schematic diagram of the operation of applying sliding from the end corner in practical use according to some embodiments of the present invention;
FIG. 8(b) is a schematic diagram of the operation of applying sliding from the end corner in practical application of still other embodiments of the present invention;
FIG. 9(a) shows a schematic view of the region to be locked in some embodiments of the invention;
FIG. 9(b) shows a schematic view of a region to be locked in yet further embodiments of the invention;
FIG. 10 illustrates an exemplary situation in which contact occurs on a lock region in some embodiments of the invention;
fig. 11 is a flowchart illustrating a screen locking method according to still other embodiments of the present invention;
fig. 12(a) is a schematic diagram of a terminal detecting a sliding operation in some embodiments of the present invention;
FIG. 12(b) is a diagram illustrating a terminal detecting a sliding operation according to still another embodiment of the present invention;
FIG. 13(a) is a schematic view of an area to be locked in some embodiments of the invention;
FIG. 13(b) is a schematic view of a region to be locked in accordance with still other embodiments of the present invention;
FIG. 14(a) is a schematic diagram of a selected region to be locked according to some embodiments of the present invention;
FIG. 14(b) is a diagram illustrating a selected region to be locked according to still another embodiment of the present invention;
fig. 15 is a schematic structural diagram of a terminal according to some embodiments of the present invention;
fig. 16 is a schematic structural diagram of a screen locking device according to some embodiments of the present invention;
fig. 17 is a schematic structural diagram of a terminal according to some embodiments of the present invention;
fig. 18 is a schematic structural diagram of a screen locking device according to some embodiments of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 screen locking method and a terminal. Through the screen locking scheme provided by the embodiment of the invention, on one hand, a user can trigger the selection and locking of part of the display area on the touch screen by applying the sliding operation on the touch screen, and on the other hand, the user is allowed to flexibly select the display area on the touch screen as required to lock by applying the sliding operation on the touch screen. Therefore, it can be seen that the technical solution provided by the embodiment of the present invention not only can implement partial screen locking, but also allows a user to flexibly select and adjust a display area to be locked on a touch screen as required, so that compared with the existing screen locking technical solution, the technical solution is more flexible, and the experience of the user in performing screen locking or holding the device is improved, and particularly for a handheld device with a large touch screen area, the defects of small holding area and poor holding experience can be improved.
For example, for a bar phone or other types of terminals with larger screen occupation, which are widely used at present, through the screen locking scheme provided by the embodiment of the invention, a user can autonomously select a display area on the touch screen as required to lock, so that the screen locking requirement that the user automatically selects a partial area on the touch screen to lock in different use occasions can be met for various users (such as different use habits, different palm sizes, left-hand type or right-hand type, and the like), and the user can randomly hold the partial area by allowing the user to automatically select different areas on the touch screen to lock, so that the holding experience is improved while the unlocked area is kept to be in touch control, the hand fatigue and the probability of falling down of the phone are reduced, and the user experience is improved.
Embodiments of the present invention relate to a terminal having a touch screen. For example, the terminal having the touch screen described in the embodiments of the present invention may include a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), a vehicle computer, a desktop computer, a notebook computer, and the like.
Terminals typically support a variety of applications, such as one or more of the following: a presentation application, a word processing application, a telephone application, an email application, an instant messaging application, a web browsing application, and the like. Various applications executable on the terminal may use at least one common physical user interface device, such as a touch screen. One or more functions of the touch screen and corresponding information displayed on the device may be adjusted and/or varied from one application to the next and/or within the corresponding application. In this way, a common physical architecture of the terminals, such as a touch screen, can support various applications with a User Interface (UI) that is intuitive and clear to the User.
Taking a terminal as an example of a mobile phone, fig. 1 shows a schematic block diagram of a part of a structure of a mobile phone 100 related to an embodiment of the present invention. Referring to fig. 1, a handset 100 includes, among other components, RF (Radio Frequency) circuitry 110, memory 120, other input devices 130, a touch screen 140, sensors 150, audio circuitry 160, an input/output (I/O) subsystem 170, a processor 180, and a power supply 190. These components may communicate over one or more communication buses or signal lines.
It should be understood that the handset configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, some components may be separated, or a different arrangement of components. The components in the handset architecture shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware, including one or more signal processing and/or application specific integrated circuits.
The following describes the components of the mobile phone 100 in detail with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 180; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 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 Messaging Service (SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone 100 by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required 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 cellular phone 100, and the like. Further, the memory 120 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.
Other input devices 130 may be used to receive entered numeric or character information and generate key signal inputs relating to user settings and function controls of the handset 100. In particular, other input devices 130 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, a light mouse (a light mouse is a touch-sensitive surface that does not display visual output, or is an extension of a touch-sensitive surface formed by a touch screen), and the like. The other input devices 130 are connected to other input device controllers 171 of the I/O subsystem 170 and are in signal communication with the processor 180 under the control of the other input device controllers 171.
The touch screen 140 may be used to display visual output to the user, including displaying information input by the user, information provided to the user, and various menus of the handset 100, as well as providing an input interface and an output interface between the device and the user, accepting user input. The visual output may include graphics, text, icons, video, and any combination thereof. The touch screen 140 may include a display panel 141, and a touch panel 142. The display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel 142, also referred to as a touch-sensitive screen, may collect contact or non-contact operations (e.g., operations performed by a user on or near the touch panel 142 using any suitable object or accessory such as a finger or a stylus, and may also include body sensing operations; the operations include single-point control operations, multi-point control operations, and other operation types) on or near the touch panel 142, and drive the corresponding connection device according to a preset program.
Alternatively, the touch panel 142 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device can be used for detecting the touch position, the direction, the posture or the pressure of a user, detecting a signal caused by touch operation and transmitting the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into information that can be processed by the processor, sends the information to the processor 180, and receives and executes a command sent by the processor 180. In addition, the touch panel 142 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and the touch panel 142 may also be implemented by any technology developed in the future. Further, the touch panel 142 may cover the display panel 141, a user may operate on or near the touch panel 142 covered on the display panel 141 according to the content displayed on the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, virtual keys, icons, etc.), the touch panel 142 detects the operation on or near the touch panel 142, and transmits the operation to the processor 180 through the I/O subsystem 170 to determine a user input, and then the processor 180 provides a corresponding visual output on the display panel 141 through the I/O subsystem 170 according to the user input. Although in fig. 4, the touch panel 142 and the display panel 141 are two separate components to implement the input and output functions of the mobile phone 100, in some embodiments, the touch panel 142 and the display panel 141 may be integrated to implement the input and output functions of the mobile phone 100.
The handset 100 may also include at least one sensor 150, such as a light sensor, motion sensor, pressure sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 and/or the backlight when the mobile phone 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a 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 on the mobile phone 100, further description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and the handset 100. The audio circuit 160 may transmit the converted signal of the received audio data to the speaker 161, and convert the signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signals into signals, which are received by the audio circuit 160 and converted into audio data, which are output to the RF circuit 108 for transmission to, for example, another cell phone, or to the memory 120 for further processing.
The I/O subsystem 170 controls input and output of external devices, which may include other devices, an input controller 171, a sensor controller 172, and a display controller 173. Optionally, one or more other input control device controllers 171 receive signals from and/or transmit signals to other input devices 130, and other input devices 130 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, a light mouse (a light mouse is a touch-sensitive surface that does not display visual output, or is an extension of a touch-sensitive surface formed by a touch screen). It is noted that other input control device controllers 171 may be connected to any one or more of the above-described devices. The display controller 173 in the I/O subsystem 170 receives signals from the touch screen 140 and/or sends signals to the touch screen 140. After the touch screen 140 detects the user input, the display controller 173 converts the detected user input into an interaction with the user interface object displayed on the touch screen 140, i.e., implements a human-machine interaction. The sensor controller 172 may receive signals from one or more sensors 150 and/or transmit signals to one or more sensors 150.
The processor 180 is a control center of the mobile phone 100, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone 100 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The handset 100 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 180 via a power management system to manage charging, discharging, and power consumption via the power management system.
Although not shown, the mobile phone 100 may further include a camera, a bluetooth module, etc., which will not be described herein.
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 2 is a schematic flow chart of a screen locking method provided by some embodiments of the present invention, and the flow chart may be implemented by software programming or a combination of software and hardware, and may be implemented on a terminal with a touch screen, such as the mobile phone 100 with the touch screen 140 shown in fig. 1.
As shown in fig. 2, a flow of a screen locking method provided by some embodiments of the present invention includes the following steps:
step 201: when the terminal detects that the first sliding operation applied from the first edge of the touch screen is not released, a second sliding operation applied from the second edge of the touch screen occurs.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements (e.g., edges, sliding operations, etc.), these elements are not limited by these terms, which are used to distinguish one element from another. For example, a first edge may be named a second edge, and similarly, a second edge may be named a first edge, without departing from the scope of the invention, the first and second edges both being edges, but they are not the same edge.
The "edge" described in the present application may be specifically understood as a screen edge of the touch screen, or may also be understood as an edge area determined by the screen edge of the touch screen according to a preset criterion. For example, in some embodiments of the present invention, an edge region of the touch screen may be a screen region having a predetermined width range and including a screen edge of the touch screen, or may also be a screen region having a predetermined width range and located inside or outside the touch screen at a predetermined distance from the screen edge of the touch screen.
Taking the application of the screen locking scheme provided by some embodiments of the present invention to the mobile phone 100 shown in fig. 1 as an example, fig. 3(a), fig. 3(b), fig. 3(c), and fig. 3(d) respectively show examples of the upper edge area of the touch screen 140 of the mobile phone 100. Wherein the edge areas in fig. 3(a) and 3(b) are both examples of one screen edge containing the touch screen 140; the edge area in fig. 3(c) is an example of an edge area located within the touch screen of the touch screen 140; the edge area of the touch screen 140 in fig. 3(d) is an example of being located outside the touch screen 140.
In this case, the "sliding operation" described in this application may be specifically understood as a sliding operation that is applied from one "edge" of the touch screen and slides into the center area of the touch screen. In particular, typical examples of the touch object for touching the touch screen (or may also be considered as applying the sliding operation) may include a finger, a stylus, a pointer, and the like, and the touch object may specifically be a single point contact (e.g., one finger contact) or a multi-point simultaneous contact (e.g., multiple finger contacts) when applying the sliding operation.
In some embodiments of the present invention, a terminal with a touch screen may be specifically configured to include a plurality of software components or a combination of software and hardware to detect contact applied to the touch screen and to perform various operations related to the contact, such as determining whether a contact has occurred (e.g., detecting a finger-down event), determining whether there is movement of the contact and tracking the movement across the touch screen (e.g., detecting one or more finger-slide events), and determining whether the contact has terminated (e.g., detecting a finger-up event or a break in contact).
As an example, referring to the foregoing description of the mobile phone 100 shown in fig. 1, the mobile phone 100 specifically includes the touch screen 140 and the processor 180. The touch screen 140 may be configured as a display panel 141 and a touch panel 142, and the touch panel 142 may include two parts, namely a touch detection device and a touch controller. Specifically, the touch detection device may be used to detect a contact applied on the touch screen, such as detecting a touch position, orientation, posture, pressure, and the like, and transmit the detected signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into information that can be processed by the processor 180, and sends the information to the processor 180 (for example, converts the detected contact on the touch screen and the movement of the contact on the touch screen into information that can be processed by the processor 180), and the processor 180 determines a subsequent processing flow according to the received information (for example, the execution of a setting flow is triggered by the information).
In some embodiments of the present invention, when the terminal with a touch screen described in step 201 detects that a sliding operation applied from one edge of the touch screen is not released, a sliding operation applied from another edge of the touch screen occurs, and may be specifically configured as an event for triggering the terminal to lock a part of the display area on the touch screen selected based on the sliding operation.
In consideration of user perception, in practical applications, the event described in step 201 in some embodiments of the present invention may be embodied in a variety of situations. For example, still taking the mobile phone 100 shown in fig. 1 as an example, when the touch screen 140 is working, whether a sliding operation is applied from four edges of the touch screen 140 may be continuously detected by the touch screen 140 in the mobile phone 100 or by touch screen software configured in the mobile phone 100, assuming that a touch object used to apply the sliding operation is a user finger, and fig. 4(a) and 4(b) respectively show an example situation of step 201 in practical application of some embodiments of the present invention.
In the example situation shown in fig. 4(a), for the user, an outside-in sliding operation 1 is first applied by the finger 1 from one screen edge a of the touch screen 140 of the mobile phone 100, and if the user applies an outside-in sliding operation 2 from the other screen edge b of the touch screen 140 by the finger 2 when the action applied by the finger 1 is not released (it can also be understood as not leaving the touch screen), it may be determined that, for the mobile phone 100, when a sliding operation applied from one edge of the touch screen is not released as described in step 201 occurs at this time, an event of a sliding operation applied from the other edge of the touch screen occurs, that is, it may be determined that the operation of the user triggers the flow of locking the terminal on the selected portion of the display area on the touch screen based on the sliding operation.
In the example scenario shown in fig. 4(b), for the user, by simultaneously applying the outside-in sliding operations from the screen edge a and the screen edge b of the touch screen 140 by the finger 1 and the finger 2, respectively, in the case that neither of the two sliding operations is released, it may also be determined that the event described in step 201 occurs at this time for the mobile phone 100, and it may further be determined that the operation of the user triggers the process of selecting the partial display area on the touch screen for locking based on the sliding operation by the terminal.
Specifically, in some embodiments of the present invention, in the case that a terminal with a touch screen performs a sliding operation applied from another edge of the touch screen when detecting that a sliding operation applied from one edge of the touch screen is not released, the terminal may trigger execution of a locking procedure for selecting a portion of a display area on the touch screen based on the sliding operation, where the procedure may be specifically as shown in step 202 and step 203 in fig. 2.
Step 202: the terminal selects an area to be locked of the touch screen based on a first edge and a second edge of the touch screen and the positions of contacts on the touch screen when the first sliding operation and the second sliding operation stop respectively.
Step 203: and the terminal locks the region to be locked.
The "stopping" of a sliding operation described in this application may specifically refer to an event that the terminal cannot continuously detect that the touch object applying the sliding operation moves on the touch screen, and typical examples include that the touch object stops moving on the touch screen, that the touch object breaks contact on the touch screen, or that the touch object leaves the touch screen. The touch point position on the touch screen is changed when the sliding operation is not stopped, and the touch point position on the touch screen is not changed after the sliding operation is stopped.
Specifically, the stop timing of the first sliding operation and the second sliding operation is not limited in the description of the present application, and the first sliding operation and the second sliding operation may be stopped at the same time, or may be stopped successively, for example, the first sliding operation is stopped first, the second sliding operation is stopped after the second sliding operation is kept for a certain period of time, and the like.
Specifically, in some embodiments of the present invention, when the terminal performs step 202, the to-be-locked area selected by the first sliding operation may be determined based on the first edge of the touch screen and the position of the contact point on the touch screen when the first sliding operation is stopped, and the to-be-locked area selected by the second sliding operation may be determined based on the second edge of the touch screen and the position of the contact point on the touch screen when the second sliding operation is stopped, so that the to-be-locked area selected by the first sliding operation and the to-be-locked area selected by the second sliding operation may be jointly configured as the selected to-be-locked area on the touch screen.
In some embodiments of the present invention, the terminal determines the area to be locked selected by the first sliding operation based on the first edge of the touch screen and the position of the contact point on the touch screen when the first sliding operation is stopped, particularly, but not limited to, the following ways:
the terminal firstly determines the position of a contact point on the touch screen when the first sliding operation is stopped; the terminal further determines a straight line passing through the contact position and parallel to the first edge according to the contact position; and then the terminal can obtain a closed area surrounded by the straight line and the edge according to the determined straight line, the first edge and other edges of the touch screen, and the closed area can be used as the area to be locked (the first closed area) selected by the first sliding operation.
Accordingly, in some embodiments of the present invention, the terminal determines the area to be locked selected by the second sliding operation based on the second edge of the touch screen and the position of the contact point on the touch screen when the second sliding operation is stopped, and specifically, the terminal may also be an enclosed area (second enclosed area) formed by the second edge, a straight line parallel to the second edge and the position of the contact point on the touch screen when the second sliding operation is stopped, and other edges of the touch screen.
For example, still taking the mobile phone 100 shown in fig. 1 as an example, and based on the example of the sliding operation shown in fig. 4(a), fig. 5 shows an example of the to-be-locked area selected by the sliding operation in some embodiments of the present invention.
As shown in fig. 5, for a sliding operation 1 (corresponding to a first sliding operation) applied by a finger 1 from one screen edge a (corresponding to a first edge) of the touch screen 140 of the mobile phone 100, assuming that a contact point on the touch screen when the sliding operation 1 is stopped is a point a, an Area to be locked selected by the sliding operation 1 is an enclosed Area1 (corresponding to a first enclosed Area) shown in fig. 5; accordingly, for a slide action 2 (equivalent to a second slide operation) applied by the finger 2 from the other screen edge B of the touch screen 140 equivalent to a second edge), assuming that the contact point on the touch screen when the slide operation 2 is stopped is a point B, the Area to be locked selected by the slide operation 2 is an enclosed Area2 (equivalent to a second enclosed Area) as shown in fig. 5; thus, in the example shown in fig. 5, the areas to be locked selected by the terminal include the Area1 and the Area 2.
Specifically, for example, still taking the mobile phone 100 as an example, after the processor 180 performs a locking process to lock the selected region to be locked through information detected by the touch screen, the processor 180 may store the position information of the current locking region in the memory 120, so that in subsequent use, for user contact information detected by the touch screen, it is determined whether user contact occurs on the locking region by reading the stored position information of the locking region, and when contact occurring on the locking region is detected, the locked region does not respond to a touch screen operation of the user, and the region that is not locked may still perform a normal touch screen response according to a preset function definition.
The terminal selects the area to be locked of the touch screen based on the first edge and the second edge of the touch screen and the positions of the contacts on the touch screen when the first sliding operation and the second sliding operation stop respectively, so that a user can flexibly select the display area to be locked according to needs through the sliding operation applied to the touch screen by the user, different user screen locking requirements can be met, and user experience is improved.
It can be further seen that the above embodiments of the present invention only describe an exemplary case where the terminal selects the region to be locked based on two different edges of the touch screen, and for the terminal, there are not only two edges of the touch screen, for example, the touch screen of the mobile phone 100 shown in fig. 1 has four edges, so that, in some embodiments of the present invention, after the terminal triggers the process of selecting and locking the partial region of the touch screen through step 201, the detection of other edges of the touch screen besides the first edge and the second edge can be maintained.
Specifically, in some embodiments of the present invention, after the terminal selects the to-be-locked area of the touch screen based on the first edge and the second edge of the touch screen and the contact position on the touch screen when the first sliding operation and the second sliding operation stop respectively through step 202, in a case where a third sliding operation applied from a third edge of the touch screen occurs when it is detected that the first sliding operation applied by the touch object does not leave the touch screen, or the second sliding operation applied by the touch object does not leave the touch screen, or neither the first sliding operation nor the second sliding operation applied by the touch object leaves the touch screen, an additional to-be-locked area of the touch screen is selected based on the third edge and the contact position on the touch screen when the third sliding operation stops. Further, the terminal may lock the region to be locked determined through the step 202 and the additional region to be locked selected by the third sliding operation when performing the step 203.
The "sliding operation applied by the touch object does not leave the touch screen" described in the present application may specifically include that the contact of the touch object applying the sliding operation on the touch screen is not interrupted or the touch object does not leave the touch screen, and a typical example of "leaving the touch screen" is, for example, a finger lift event.
It will be understood that, similarly to the previous description of the terms "first" and "second", the term "third" in this application is also only used to distinguish one element from another. For example, the third edge may be named a fourth edge, the first edge, the second edge, and the third edge, but they are not the same edge as each other.
Similar to the previous embodiments, in some embodiments of the present invention, the terminal selects the additional region to be locked based on the third edge of the touch screen and the contact position on the touch screen when the third sliding operation is stopped, and a specific example may be a closed region (third closed region) formed by the third edge, a straight line parallel to the third edge and the contact position on the touch screen when the third sliding operation is stopped, and other edges of the touch screen.
For example, in the case of the mobile phone 100 shown in fig. 1, assume that four edges of the touch screen of the mobile phone 100 are a, b, c, and d, respectively. Based on the example of the sliding operation shown in fig. 4(a), it is assumed that the user first applies the sliding operation from the edge a and the edge b by the finger 1 and the finger 2, respectively, so as to trigger the flow of selecting a partial display Area for locking, for example, Area1 and Area2 in the example shown in fig. 5 constitute the selected Area to be locked, and further taken as an example situation:
assuming that the terminal detects the sliding operation (sliding operation 3) applied by the finger 3 from the edge C in the case where the finger 2 leaves the touch screen without the finger 1 leaving the touch screen, the terminal will be able to obtain an additional locking Area Add-Area1 selected by the sliding operation 3 based on the edge C and the contact point position C on the touch screen when the sliding operation 3 stops, such as the example shown in fig. 6(a), where Area1, Area2 and Add-Area1 together constitute the Area where the terminal locks in step 203;
assuming that the terminal detects the sliding operation 3 applied by the finger 3 from the edge C under the condition that neither the finger 1 nor the finger 2 leaves the touch screen, the terminal may also obtain an additional locking Area Add-Area1 'selected by the sliding operation 3 based on the edge C and the contact point position C on the touch screen when the sliding operation 3 stops, such as the example shown in fig. 6(b), where the Area1, the Area2 and the Add-Area 1' together constitute the Area where the terminal locks in step 203;
assuming that the terminal detects the sliding operation 3 applied by the finger 3 from the edge D under the condition that neither the finger 1 nor the finger 2 leaves the touch screen, the terminal may also obtain an additional locking Area Add-Area1 "selected by the sliding operation 3 based on the edge D and the contact position D on the touch screen when the sliding operation 3 stops, such as the example shown in fig. 6(c), where the Area1, the Area2 and the Add-Area 1" together constitute the Area where the terminal locks in step 203.
Further, in some embodiments of the present invention, after the terminal selects one additional to-be-locked area of the touch screen based on the third edge and the contact position on the touch screen when the third sliding operation is stopped, in a case where it is detected that a fourth sliding operation applied from the fourth edge of the touch screen occurs when any one or more of the first sliding operation, the second sliding operation, and the third sliding operation applied by the touch object does not leave the touch screen, a further additional to-be-locked area of the touch screen is selected based on the fourth edge and the contact position on the touch screen when the fourth sliding operation is stopped. Further, the terminal may lock the region to be locked determined by the step 202, the additional region to be locked selected by the third sliding operation, and the additional region to be locked selected by the fourth sliding operation when performing the step 203.
It will be understood that, similarly to the previous description of the terms "first", "second" and "third", the term "fourth" in this application is also only used to distinguish one element from another. For example, the fourth edge may be named a fifth edge, and the first edge, the second edge, the third edge, and the fourth edge are all edges, but they are not the same edge as each other.
Similarly to the foregoing embodiments, in some embodiments of the present invention, the terminal selects the additional area to be locked based on the fourth edge of the touch screen and the contact position on the touch screen when the fourth sliding operation is stopped, and a specific example may be a closed area (fourth closed area) formed by the fourth edge, a line parallel to the fourth edge and the contact position on the touch screen when the fourth sliding operation is stopped, and other edges of the touch screen.
For example, still taking the mobile phone 100 shown in fig. 1 as an example, the four edges of the touch screen of the mobile phone 100 are a, b, c, and d, respectively. Based on the example of the sliding operation shown in fig. 4(a), it is assumed that the user first applies the sliding operation from the edge a, the edge b, and the edge 3 by the finger 1, the finger 2, and the finger 3, respectively, to trigger selection of a partial display Area, and selects Area1, Area2, and Add-Area1 as areas to be locked, and further as an example case: assuming that the terminal detects the sliding operation (the sliding operation 4) applied by the finger 4 from the edge D in the case where the finger 3 is not away from the touch screen and the finger 1 and the finger 2 are both away from the touch screen, the terminal will be able to obtain an additional locking Area Add-Area2 selected by the sliding operation 4 based on the edge D and the contact position D on the touch screen when the sliding operation 4 is stopped, such as the example shown in fig. 7, where Area1, Area2, Add-Area1 and Add-Area2 together constitute the Area where the terminal is locked in step 203.
It should be understood that, although the above-mentioned embodiments of the present invention only relate to the exemplary case of the touch screen with four edges, those skilled in the art should be able to easily think of the application of the technical solution provided by the embodiments of the present invention in the terminal with the touch screen with more or less edges.
It can be seen that, according to the screen locking scheme provided by the above embodiment of the present invention, the area to be locked finally locked by the terminal in step 203 may specifically include an area to be locked that is selected by the terminal based on the sliding operation applied from any two screen edges on the touch screen, and may further include an area to be locked that is complementarily selected by the terminal based on the two sliding operations and that is detected by the terminal based on the sliding operation applied from any other edge or edges of the touch screen.
It should be understood that in the above embodiments of the present invention, based on one edge of the touch screen and the sliding operation corresponding to the edge, a straight line is taken which is parallel to the edge and the position of the contact point on the touch screen when the sliding operation is stopped, in still other embodiments of the present invention, a curve, a wavy line, or a line type which can be set by the user to enrich the user experience may also be taken.
In some embodiments of the present invention, in consideration of user perception, for a specific process that the terminal performs step 202 to select the region to be locked, the terminal may start selection of the region to be locked when the start of performing step 202 is triggered through step 201, and dynamically select the display region of the touch screen along with movement of the touch object in a process that the movement of the sliding operation on the touch screen can be continuously detected until the selected display region at this time is selected as the region to be locked corresponding to the sliding operation after the sliding operation leaves the touch screen. Specifically, for example, taking the mobile phone 100 shown in fig. 1 as an example, the area selected by the sliding operation 1 applied from the edge a may be a rectangular area which is continuously changed in position of the contact point applied on the touch screen following the sliding operation 1 from the edge a of the screen, and the rectangular area selected by the sliding operation 1 when the sliding operation 1 leaves the touch screen is to be fixed as the area to be locked selected by the sliding operation 1.
In consideration of user experience, in some embodiments of the present invention, in the process of initiating selection of a region to be locked when execution of step 202 is triggered by step 201 and dynamically selecting a display region of the touch screen along with movement of the touch object in the process of continuously detecting movement of the sliding operation on the touch screen, a cover layer corresponding to the selected display region may be created for the display region dynamically selected in the above process, and the cover layer may be specifically located above the selected display region, so that the selected region thereof can be visually presented to the user in real time on the user interface. Wherein, the covering layer can adopt any form of the following: a transparent layer, a translucent layer, a transparent layer or translucent layer with animation effects, a transparent or translucent layer with touch-lock guide messages, a transparent or translucent layer with visual information, and the like.
Further, after the area to be locked is selected in step 202, the covering layer corresponding to the selected area to be locked may be kept displayed for a set time period to prompt the user of the selected area to be locked; after the selected area to be locked is locked in step 203, the cover layer may be deleted.
For example, still taking the mobile phone 100 shown in fig. 1 as an example, after a sliding operation applied to the touch screen triggers selection of an area to be locked on the touch screen, a special display effect (e.g., a semi-transparent gray or white effect) may be used to represent the selected area to be locked for any rectangular area formed between any edge where a finger sliding operation is detected and the finger; before the finger is lifted, the selected area can be changed synchronously (such as repeatedly moving inwards or outwards) along with the sliding of the finger to adjust the size of the selected display area; after the finger is lifted, determining a locking range corresponding to the touch sliding operation; after all the slid-in fingers are lifted, the selected region to be locked is completely determined, the region of the special effect display may be delayed for a short period of time (e.g., half a second) to prompt the user for the locked range, and then the special effect display may be canceled, the previous display resumed, and the selected region on the touch screen locked.
Considering that the area to be locked is selected mainly based on the sliding operation applied by the user in the embodiment of the present invention, in the operation of practical application, there are many possible situations of the user operation, such as the situation of sliding in from the edge area from outside to inside as shown in fig. 4(a) and fig. 4(b), or, in some cases, the user operation that occurs may also be an example where the sliding operation of the user, such as that shown in fig. 8(a), slides in from two adjacent ends of the touch screen (two adjacent ends included in any screen edge of the touch screen) to the middle; alternatively, the sliding operation of the user as shown in fig. 8(b) is an example of sliding in from both diagonally opposite ends of the touch screen (both diagonal ends of the touch screen) to the middle; and so on.
Thus, considering the example situations as shown in fig. 8(a) and fig. 8(b), in order to enrich the operation experience of the user, as an extension to the above manner, in some embodiments of the present invention, a recognition area with a preset size may be further set for the edge of the touch screen at the position of the end corner, so that when it is determined in step 201 that a sliding operation condition applied from different end corners of the touch screen occurs, the area to be locked may be selected based on a rule of selecting the area to be locked similarly to the previous embodiments.
Specifically, for example, based on the exemplary situation shown in fig. 8(a), fig. 9(a) shows an exemplary situation of selecting an area to be locked in some embodiments of the present invention, where the area to be locked selected by a sliding operation of sliding in from two adjacent ends of the touch screen (e.g., end corner 1 and end corner 2 in the figure) to the middle may be equivalent to the area to be locked selected by a sliding operation of sliding in from edges b, c, and d of the touch screen to the middle;
for another example, based on the example situation shown in fig. 8(b), fig. 9(b) shows an example situation of selecting an area to be locked in some embodiments of the present invention, where the area to be locked selected by a sliding operation of sliding in from two opposite ends (such as end corner 1 and end corner 3 in the figure) of the touch screen to the middle may be equivalent to the area to be locked selected by a sliding operation of sliding in from edges a, b, c, and d of the touch screen to the middle.
Furthermore, in some embodiments of the present invention, considering that the user may not be satisfied with the area range selected by the process of selecting the area to be locked once, after the selected area to be locked is locked, the selection of the unlocked area on the touch screen may still be triggered again in the same manner as the above-described embodiments of the present invention, so as to supplement a new locked area or adjust an existing locked area.
Further, the adjustment of the to-be-locked area before the to-be-locked area is locked may further include deletion of the selected to-be-locked area (here, deletion may also be understood as unlocking), for example, partial or complete deletion of the selected to-be-locked area may be performed in the following manner:
if an operation for deleting part or all of the selected to-be-locked area is detected within the set time length, the operation is responded, and the locking of the to-be-locked area corresponding to the operation is terminated, wherein the operation can be preset touch operation or key instruction.
In some embodiments of the present invention, after the selected area to be locked is locked through the process shown in fig. 2, when a contact with the locked area on the touch screen, which does not correspond to the preset unlocking operation, is detected, a response of the touch screen to the contact may be further prevented, and an overlay may be further created corresponding to the locked area to remind a user that the contact area is the locked area, where the overlay may display a preset time period or be deleted after the contact leaves the touch screen; when the preset unlocking operation is detected, the locking area on the touch screen can be unlocked, wherein the preset unlocking operation can comprise the operations of an associated smart key function, touch operation, key operation, voice operation, gesture induction and the like.
In some embodiments of the present invention, in terms of display effect, if the user touches the locked display area, the locked display area may be displayed through a special effect (for example, creating a semi-transparent gray or white overlay), so as to remind the user that the operation is located in the locked display area, and will not be effective and cannot be responded, and at the same time, such an effect also prompts the position of the locked display area; when the user's finger leaves the locked display area, the special effect may also be subsequently released in response to the user's finger leaving.
For example, based on the selected region to be locked shown in FIG. 5, which is no longer responsive to contact on the region after being locked, FIG. 10 shows an example situation after contact has occurred on the locked region in some embodiments of the present invention, it can be seen that in the example shown in FIG. 10, the touch screen is not responsive to contact occurring on the locked region, and will also prompt the user that his or her operation is located on the locked region by way of creating a translucent overlay. It should be understood that fig. 10 is only a typical example of prompting the user to lock the area, and in practical applications, the effect of prompting the user that the current operation is located in the locked area may also be achieved by pop-up window, voice, or by combining multiple effects.
In some embodiments of the present invention, the user may also set the lock area by the above method to set the right of the lock area application. Setting the applications in the locked area, the user can set that an additional password or gesture is required to trigger the corresponding application. For example, a user may place an application with a high privacy level or a high security level in a set lock area, so that others cannot directly enter some applications, or a corresponding password or gesture is required when some applications in the lock area are triggered. The mode can also prevent children from making calls and sending messages by mistake when playing the mobile phone, or prevent some payment behaviors which users do not want to happen, and the like. For the application authority of the lock area, the embodiment of the present invention is not specifically limited.
In summary, in the screen locking method provided by some embodiments of the present invention, when the terminal with the touch screen detects that the sliding operation applied from one edge of the touch screen is not released, and when the sliding operation applied from another edge of the touch screen occurs, it is possible to select the area to be locked of the touch screen and lock the area based on the two edges of the touch screen and the positions of the contacts on the touch screen when the two sliding operations are stopped respectively. It can be seen that the above embodiments of the present invention can provide a screen locking scheme based on a sliding operation triggering part of screen locking, and select a screen locking region based on a sliding operation, so that a user can autonomously select a region to be locked for locking, thereby improving user experience.
Through the screen locking scheme provided by the embodiment of the invention, on one hand, a user can trigger the selection and locking of part of the display area on the touch screen by applying the sliding operation on the touch screen, and on the other hand, the user is allowed to flexibly select the display area on the touch screen as required to lock by applying the sliding operation on the touch screen. Therefore, it can be seen that the technical solution provided by the embodiment of the present invention not only can implement partial screen locking, but also allows a user to flexibly select and adjust a display area to be locked on a touch screen as required, so that compared with the existing screen locking technical solution, the technical solution is more flexible, and the experience of the user in performing screen locking or holding the device is improved, and particularly for a handheld device with a large touch screen area, the defects of small holding area and poor holding experience can be improved.
Based on the same technical concept, further embodiments of the present invention further provide a screen locking method. Fig. 11 is a flowchart illustrating a screen locking method according to still other embodiments of the present invention.
Similar to the aforementioned flow of the screen locking method shown in fig. 2, the flow shown in fig. 11 can also be implemented by software programming or a combination of software and hardware, and can be implemented on a terminal with a touch screen, such as the mobile phone 100 with the touch screen 140 shown in fig. 1.
As shown in fig. 11, a flow of a screen locking method according to still other embodiments of the present invention includes the following steps:
step 1101: the terminal detects that the pressure exerted on the touch screen by a first sliding operation exerted from a first edge of the touch screen exceeds a set threshold value;
step 1102: the terminal selects a region to be locked of the touch screen based on a first edge of the touch screen and a contact position on the touch screen when the first sliding operation is stopped;
step 1103: and the terminal locks the region to be locked.
For one "edge" of the touch screen, reference may be specifically made to the description of the "edge" in the foregoing embodiments, and details of the present application will not be repeated here.
It can be seen that in the schematic flow shown in fig. 11, the event for triggering the terminal to select the region to be locked based on the sliding operation is that the pressure exerted on the touch screen by the sliding operation exerted on the touch screen exceeds a set threshold.
As an example, referring to the foregoing description of the touch screen 140 in the mobile phone 100 shown in fig. 1, the touch screen may be configured as a display panel and a touch panel, thereby sensing a touched position and a touched area, and sensing a touch pressure and a touch capacitance, etc., and may convert a change such as a capacitance and a pressure caused by a touch input applied on the touch screen (such as a touch slide operation applied from an edge area of the touch screen) into an electrical input signal. In particular, when a touch input is sensed by the touch detection device, a corresponding signal may be transmitted to the touch controller. The touch controller may process the received signals and then transmit corresponding data to the controller.
Specifically, in the schematic flow shown in fig. 11, an event to trigger the terminal to select the region to be locked based on the sliding operation may occur in various cases. For example, still taking the mobile phone 100 shown in fig. 1 as an example, when the touch screen 140 is in operation, the mobile phone 100 may continuously detect the motion of the finger sliding in from the outside to the inside from the four edges of the touch screen 140 and the pressure applied by the motion on the touch screen 140 by the touch screen 140 or the touch screen software;
in an example situation, such as the example situation shown in fig. 12(a) in which the selection of the display area to be locked on the touch screen is triggered based on the user operation in some embodiments of the present invention, when it is detected that a sliding operation of sliding in from the outside to the inside occurs at an edge of the touch screen 140 (e.g., the edge a shown in fig. 12 (a)), and the pressure applied to the touch screen 140 by the sliding operation exceeds a preset pressure threshold, it may be determined that the selection of the display area to be locked on the basis of the user sliding operation by the terminal is triggered at this time.
In yet another example case, such as the still another example case shown in fig. 12(b) where the selection of the to-be-locked display area on the touch screen based on the user operation is triggered in some embodiments of the present invention, as the user, sliding operations (such as an edge a and an edge b shown in fig. 12 (b)) sliding from outside to inside may also be applied from any two or more screen edges of the touch screen 140 at the same time or sequentially, and if the pressure applied on the touch screen 140 by either or both of the two sliding operations exceeds a preset pressure threshold, it may be determined that the selection of the to-be-locked area on the touch screen 140 by the terminal based on the user sliding operation is triggered at this time.
It should be noted that the event for triggering the terminal to select the to-be-locked area based on the sliding operation is not limited to the two example situations, any possible situation that the sliding operation is applied on the touch screen and the pressure of the applied sliding operation exceeds the threshold value can be designed to trigger the terminal to select the to-be-locked area based on the sliding operation, and in some example situations, the event can also be designed to be combined with other screen characteristics (such as combination position, speed and the like) of the touch screen to trigger the terminal to select the to-be-locked area based on the sliding operation, and the invention will not be described in detail herein.
It can be seen that the method flow shown in fig. 11 differs from the method flow shown in fig. 2 mainly in that there is a difference between the events for triggering the terminal to select the to-be-locked area based on the sliding operation, where in the method flow shown in fig. 2, the event for triggering the terminal to select the to-be-locked area based on the sliding operation is that at least one sliding operation applied from different edges of the touch screen occurs when at least one sliding operation applied from one edge of the touch screen is not released (such as step 201 in fig. 2), and in the method flow shown in fig. 11, the pressure applied to the touch screen for any one sliding operation exceeds a set threshold (such as step 1101 in fig. 11). Thus, for the flow shown in fig. 2 or fig. 11, after the event to trigger the terminal to select the to-be-locked area based on the sliding operation occurs, the process of selecting the to-be-locked area based on the sliding operation by the subsequent terminal may be similar, such as:
in some embodiments of the present invention, the terminal may determine the region to be locked selected by the first sliding operation detected in step 1101 in step 1102 by, but not limited to: the terminal sets a first closed region, which is formed by the first edge, a straight line parallel to the first edge at the position of the contact point on the touch screen when stopped by the first sliding operation, and the other edge of the touch screen, as the region to be locked selected by the first sliding operation.
It can be seen that, in the above manner, the selected region to be locked will also be mainly determined by the sliding operation applied by the user on the touch screen, so that the purpose of flexibly selecting the region to be locked can be achieved.
Accordingly, in some embodiments of the present invention, after the terminal triggers the process of selecting and locking the partial area of the touch screen through step 1101, the detection of other edges of the touch screen besides the first edge may also be maintained.
Specifically, in some embodiments of the present invention, after the terminal selects the region to be locked based on the first edge, the contact position on the touch screen when the first sliding operation is stopped, and also when detecting the second sliding operation applied from the second edge of the touch screen, selects one additional region to be locked on the touch screen selected by the second sliding operation based on the second edge, the contact position on the touch screen when the second sliding operation is stopped, through step 1102; further, the terminal may lock the region to be locked determined in step 1102 and the additional region to be locked selected by the second sliding operation when performing step 1103.
Similar to the previous embodiments, in some embodiments of the present invention, the terminal selects the additional region to be locked based on the second edge of the touch screen and the contact position on the touch screen when the second sliding operation is stopped, and a specific example may be a closed region (second closed region) formed by the second edge, a straight line parallel to the second edge and the contact position on the touch screen when the second sliding operation is stopped, and other edges of the touch screen.
For example, similar to the previous embodiment, taking the mobile phone 100 shown in fig. 1 as an example:
fig. 13(a) shows an example situation of a region to be locked in some embodiments of the present invention based on the slide operation example situation shown in fig. 12 (a). It can be seen that the Area to be locked Area1 selected from the slide operation 1 applied at the edge a is a closed rectangular Area starting from the edge a, ending at the contact point position a on the touch screen and at a straight line parallel to the edge a when the slide operation 1 is stopped, and the Area1 constitutes the selected Area to be locked;
fig. 13(b) shows an example situation of a region to be locked in some embodiments of the present invention based on the slide operation example situation shown in fig. 12 (b). It can be seen that the Area to be locked Area1 selected by the sliding operation 1 applied at the edge a is a closed rectangular Area starting from the edge a and ending at the contact position a on the touch screen and a straight line parallel to the edge a when stopped by the sliding operation 1, and the Area to be locked Area2 selected by the sliding operation 2 applied at the edge B is a closed rectangular Area starting from the edge B and ending at the contact position B on the touch screen and a straight line parallel to the edge B when stopped by the sliding operation 2, and that Area1 and Area2 constitute the selected areas to be locked.
It can be seen that, with the screen locking scheme provided by the above embodiment of the present invention, the area to be locked may be determined based on a sliding operation applied from any edge of the touch screen, where the pressure exceeds a preset pressure threshold, and the sliding operation may be applied from any edge or multiple edges of the touch screen.
Similarly to the foregoing embodiment, for different positions of the edge of the touch screen where the sliding operation is applied, the manner of selecting the region to be locked based on the sliding operation and the edge of the touch screen may be adjusted accordingly.
For example, fig. 14(a) shows an exemplary situation of a selected region to be locked in some embodiments of the present invention, wherein a region selected by a sliding operation that slides in from one end (e.g., end angle 1 in the figure) adjacent to the touch screen to the middle and the pressure exceeds a preset pressure threshold may be set to be similar to a region selected by a sliding operation that slides in from the edges a and b of the touch screen to the middle and the pressure exceeds a preset pressure threshold; fig. 14(b) shows an example of the selected to-be-locked area in some embodiments of the present invention, wherein the selected area by the sliding operation that slides in from the two opposite ends of the touch screen (e.g., end angle 1 and end angle 3 in the figure) to the middle and the pressure exceeds the preset pressure threshold may be set to be similar to the selected area by the sliding operation that slides in from the edges a, b, c and d of the touch screen to the middle and the pressure exceeds the preset pressure threshold.
Similarly to the foregoing embodiments, in some embodiments of the present invention, after the to-be-locked area is selected through step 1102 in the flowchart shown in fig. 11, before the selected to-be-locked area is locked in step 1103, whether an operation for deleting part or all of the selected to-be-locked area occurs may also be detected, and if such an operation is detected to occur, the locking of the area corresponding to the operation may be terminated in response to the operation, where the operation for deleting part or all of the selected to-be-locked area may be a preset touch operation or a key instruction.
Similarly to the foregoing embodiments, in some embodiments of the present invention, a cover layer corresponding to the selected region to be locked may be created for the region to be locked selected in the above-described process. Wherein, the covering layer is any one of the following: a transparent layer, a translucent layer, a transparent layer or a translucent layer with animation effects, a transparent or translucent layer with touch-lock guide messages, a transparent or translucent layer with visual information. After the selected area to be locked is locked in step 1103, the cover layer may be deleted. Reference may be made specifically to the description of the foregoing embodiments.
In summary, in the screen locking method provided by further embodiments of the present invention, when the terminal with a touch screen detects that the pressure exerted on the touch screen by the sliding operation applied from one edge of the touch screen exceeds the set threshold, the to-be-locked area of the touch screen can be selected and locked based on the edge of the touch screen and the position of the contact point on the touch screen when the sliding operation stops. It can be seen that the above embodiments of the present invention can provide a screen locking scheme for triggering part of screen locking based on the sliding operation pressure, and select the screen locking area based on the sliding operation, so that the user can autonomously select the area to be locked for locking, thereby improving the user experience. Through the screen locking scheme provided by the embodiment of the invention, partial screen locking can be realized, and the user is allowed to flexibly select and adjust the display area to be locked on the touch screen according to the requirement, so that the screen locking method is more flexible compared with the traditional screen locking technical scheme, the experience of the user in locking the screen or holding the equipment is improved, and particularly, the defects of small holding area and poor holding experience of the handheld equipment with a large touch screen area can be improved.
Based on the same technical concept, some embodiments of the present invention further provide a terminal, which can implement the flow of the above-described screen locking method embodiment shown in fig. 2. For example, the terminal provided by some embodiments of the present invention may be specifically implemented as the mobile phone 100 shown in fig. 1.
Fig. 15 is a schematic structural diagram of a terminal according to some embodiments of the present invention, and as shown in fig. 15, the terminal includes: a touch screen 1501, a memory 1502, and a processor 1503;
specifically, the processor 1503 is coupled with the touch screen 1501;
the touch screen 1501 may be specifically configured to display a screen state of the terminal before, during, or after screen locking; and may be used to sense an operation applied on the touch screen; the memory 1502 is coupled to the processor 1503;
the memory 1502 is used to store computer-executable program code, which includes instructions; when the processor 1503 executes the instructions, the instructions cause the terminal to execute the flow of the embodiment of the screen locking method according to the present invention as shown in fig. 2.
It should be understood that, as shown in fig. 15, the terminal provided in some embodiments of the present invention may be configured to implement the flow of the screen locking method embodiment shown in fig. 2 and the flow of some specific embodiments of the present invention corresponding to the screen locking method shown in fig. 2, where specific implementation of the flow may refer to the description of the foregoing method embodiment, and in order to avoid redundancy in description, the present application will not be described herein again.
Based on the same technical concept, some embodiments of the present invention further provide a screen locking device, which can be applied to a terminal with a touch screen, and in particular, functional modules of the device can be implemented by hardware, software, or a combination of hardware and software to execute the flow of the above-described screen locking method embodiment shown in fig. 2.
Fig. 16 shows a schematic structural diagram of a terminal provided by some embodiments of the present invention. It should be understood that the functional blocks shown in fig. 16 may be combined or separated into sub-blocks to implement the principles of the present invention described above, and thus the description in this application may support any possible combination or separation or further definition of the blocks described in this application.
As shown in fig. 16, the apparatus includes:
a detecting module 1601, configured to detect whether a second sliding operation applied from a second edge of the touch screen occurs when a first sliding operation applied from a first edge of the touch screen is not released;
a selecting module 1602, configured to select, when the detecting module 1601 detects the second sliding operation, an area to be locked of the touch screen based on the first edge and the second edge of the touch screen and the positions of the contacts on the touch screen when the first sliding operation and the second sliding operation stop respectively;
a locking module 1603 for locking the area to be locked.
It should be understood that the screen locking device provided in some embodiments of the present invention as shown in fig. 16 may be used to execute the flow of the above-mentioned screen locking method embodiment as shown in fig. 2 and the flow of some specific embodiments of the present invention corresponding to the screen locking method as shown in fig. 2, and the specific execution of the flow may refer to the description of the foregoing method embodiment, and in order to avoid redundancy in description, the present application will not be described herein again.
Based on the same technical concept, some embodiments of the present invention further provide a terminal, which can implement the flow of the above-described screen locking method embodiment shown in fig. 11. For example, the terminal provided by some embodiments of the present invention may be specifically implemented as the mobile phone 100 shown in fig. 1.
Fig. 17 is a schematic structural diagram of a terminal according to some embodiments of the present invention, and as shown in fig. 15, the terminal includes: a touch screen 1701, a memory 1702, and a processor 1703;
specifically, the processor 1703 is coupled to the touch screen 1701; the touch screen 1701 is used for displaying the screen state of the terminal before, during or after screen locking; and sensing an operation applied to the touch screen; the memory 1702 is coupled to the processor 1703; the memory 1702 is for storing computer-executable program code, the program code comprising instructions; when the processor 1703 executes the instruction, the instruction causes the terminal to execute the flow of the embodiment of the screen locking method shown in fig. 11 according to the present invention.
It should be understood that the terminal provided in some embodiments of the present invention as shown in fig. 17 may be used to implement the flow of the above-described screen locking method embodiment as shown in fig. 11 and the flow of some specific embodiments of the present invention corresponding to the screen locking method as shown in fig. 11, where specific implementation of the flow may refer to the description of the foregoing method embodiment, and in order to avoid redundancy in description, the present application will not be described herein again.
Based on the same technical concept, some embodiments of the present invention further provide a screen locking device, which can be applied to a terminal with a touch screen, and in particular, functional modules of the device can be implemented by hardware, software, or a combination of hardware and software to execute the flow of the above-described screen locking method embodiment as shown in fig. 11.
Fig. 18 is a schematic structural diagram of a screen locking device according to some embodiments of the present invention. It should be understood that the functional blocks shown in fig. 18 may be combined or separated into sub-blocks to implement the principles of the present invention described above, and thus the description in this application may support any possible combination or separation or further definition of the blocks described in this application.
As shown in fig. 18, the apparatus includes:
a detecting module 1801, configured to detect whether a pressure applied to the touch screen by a first sliding operation applied from a first edge of the touch screen exceeds a set threshold;
a selecting module 1802, configured to, when the detecting module 1801 detects that the pressure applied to the touch screen by the first sliding operation exceeds the set threshold, select an area to be locked of the touch screen based on a first edge of the touch screen and a contact point position on the touch screen when the first sliding operation is stopped;
a locking module 1803, configured to lock the region to be locked.
It should be understood that the screen locking device provided in some embodiments of the present invention as shown in fig. 18 may be used to execute the flow of the above-mentioned screen locking method embodiment as shown in fig. 11 and the flow of some specific embodiments of the present invention corresponding to the screen locking method as shown in fig. 11, and the specific execution of the flow may refer to the description of the foregoing method embodiment, and in order to avoid redundancy in the description, the present application will not be described herein again.
For a software implementation, the techniques may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in memory units and executed by processors. The memory unit may be implemented within the processor or external to the processor.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A screen locking method is applied to a terminal with a touch screen, and is characterized by comprising the following steps:
when the terminal detects that a first sliding operation applied from a first edge of the touch screen is not released, a second sliding operation applied from a second edge of the touch screen occurs;
the terminal selects an area to be locked of the touch screen based on a first edge and a second edge of the touch screen and the positions of contact points on the touch screen when the first sliding operation and the second sliding operation stop respectively;
the terminal locks the region to be locked;
the method for locking the to-be-locked area by the terminal specifically comprises the following steps: determining the region to be locked as a locking region, and controlling the locking region not to respond to the touch screen operation of a user;
wherein, the area to be locked comprises:
a first closed region constituted by a first edge, a straight line parallel to the first edge at a contact point position on the touch screen when stopped by a first slide operation, and the other edge of the touch screen;
and a second closed area formed by a second edge, a straight line parallel to the second edge at a contact point position on the touch screen when stopped by a second sliding operation, and the other edge of the touch screen.
2. The method of claim 1, wherein after the terminal selects the region to be locked of the touch screen, the method further comprises:
the terminal detects that a third sliding operation applied from a third edge of the touch screen occurs when the first sliding operation and/or the second sliding operation applied by a touch object for touching the touch screen does not leave the touch screen;
the terminal selects a first additional area to be locked of the touch screen based on the third edge and the contact position on the touch screen when the third sliding operation is stopped;
the terminal locks the region to be locked, including:
and the terminal locks the region to be locked and the first additional region to be locked.
3. The method of claim 2, wherein the attaching the area to be locked comprises:
and a third closed region configured by a third edge, a straight line parallel to the third edge at a contact point position on the touch screen when stopped by a third slide operation, and the other edge of the touch screen.
4. The method of claim 2 or 3, wherein after the terminal selects the first additional region to be locked of the touch screen, the method further comprises:
the terminal detects that a fourth sliding operation applied from a fourth edge of the touch screen occurs when any one or more of the first sliding operation, the second sliding operation and the third sliding operation applied by a touch object for touching the touch screen does not leave the touch screen;
the terminal selects a second additional region to be locked of the touch screen based on the fourth edge and the contact position on the touch screen when the fourth sliding operation is stopped;
the terminal locks the region to be locked, including:
and the terminal locks the region to be locked, the first additional region to be locked and the second additional region to be locked.
5. The method of claim 4, wherein the second additional area to be locked comprises:
and a fourth closed region including a fourth edge, a straight line parallel to the fourth edge at a contact point position on the touch panel when the touch panel is stopped by a fourth slide operation, and the other edges of the touch panel.
6. The method according to any one of claims 1 to 3, wherein before the terminal selects the region to be locked of the touch screen, the method further comprises:
the terminal sets a covering layer for the area to be locked;
the cover layer is any one of the following:
a transparent layer, a translucent layer, a transparent layer or a translucent layer with animation effects, a transparent or translucent layer with touch-lock guide messages, a transparent or translucent layer with visual information;
after the terminal locks the region to be locked, the terminal further includes:
and the terminal deletes the covering layer covering the area to be locked.
7. A screen locking method is applied to a terminal with a touch screen, and is characterized by comprising the following steps:
the terminal detects that the pressure exerted on the touch screen by a first sliding operation exerted from a first edge of the touch screen exceeds a set threshold value;
the terminal selects a region to be locked of the touch screen based on a first edge of the touch screen and a contact point position on the touch screen when a first sliding operation is stopped;
the terminal locks the region to be locked;
the method for locking the to-be-locked area by the terminal specifically comprises the following steps: determining the region to be locked as a locking region, and controlling the locking region not to respond to the touch screen operation of a user;
wherein, the area to be locked comprises:
a first closed region constituted by a first edge, a straight line parallel to the first edge at a contact point position on the touch screen when stopped by a first slide operation, and the other edge of the touch screen.
8. The method of claim 7, wherein after the terminal selects the region to be locked of the touch screen, the method further comprises:
the terminal detects a second sliding operation applied from a second edge of the touch screen;
the terminal selects an additional region to be locked of the touch screen based on the second edge and the position of a contact point on the touch screen when the second sliding operation is stopped;
the terminal locks the region to be locked, including:
and the terminal locks the region to be locked and the additional region to be locked.
9. The method of claim 8, wherein the attaching the area to be locked comprises:
and a second closed area formed by a second edge, a straight line parallel to the second edge at a contact point position on the touch screen when stopped by a second sliding operation, and the other edge of the touch screen.
10. The method according to any one of claims 7 to 9, wherein before the terminal selects the region to be locked of the touch screen, the method further comprises:
the terminal sets a covering layer for the area to be locked;
the cover layer is any one of the following:
a transparent layer, a translucent layer, a transparent layer or a translucent layer with animation effects, a transparent or translucent layer with touch-lock guide messages, a transparent or translucent layer with visual information;
after the terminal locks the region to be locked, the terminal further includes:
and the terminal deletes the covering layer covering the area to be locked.
11. A terminal, characterized in that the terminal comprises: a touch screen, a memory and a processor; the processor is coupled with the touch screen; the touch screen is used for displaying the screen state of the terminal before, in the screen locking process or after the screen locking; and for sensing an operation applied on the touch screen; the memory is coupled with the processor; the memory is to store computer-executable program code, the program code comprising instructions; when executed by the processor, the instructions cause the terminal to perform the screen locking method according to any one of claims 1 to 6.
12. A screen locking device is applied to a terminal with a touch screen, and comprises: the device comprises a detection module, a selection module and a locking module;
the device comprises a detection module, a control module and a display module, wherein the detection module is used for detecting whether a first sliding operation applied from a first edge of the touch screen is not released or not, and whether a second sliding operation applied from a second edge of the touch screen occurs or not;
the selection module is used for selecting an area to be locked of the touch screen based on the first edge and the second edge of the touch screen and the positions of the contacts on the touch screen when the first sliding operation and the second sliding operation stop respectively when the detection module detects the second sliding operation;
the locking module is used for locking the area to be locked;
wherein the locking module is specifically configured to: determining the region to be locked as a locking region, and controlling the locking region not to respond to the touch screen operation of a user;
wherein, the area to be locked comprises:
a first closed region constituted by a first edge, a straight line parallel to the first edge at a contact point position on the touch screen when stopped by a first slide operation, and the other edge of the touch screen;
and a second closed area formed by a second edge, a straight line parallel to the second edge at a contact point position on the touch screen when stopped by a second sliding operation, and the other edge of the touch screen.
13. A terminal, characterized in that the terminal comprises: a touch screen, a memory and a processor; the processor is coupled with the touch screen; the touch screen is used for displaying the screen state of the terminal before, in the screen locking process or after the screen locking; and sensing an operation applied to the touch screen; the memory is coupled with the processor; the memory is to store computer-executable program code, the program code comprising instructions; when executed by the processor, the instructions cause the terminal to perform the screen locking method according to any one of claims 7 to 10.
14. A screen locking device is applied to a terminal with a touch screen, and comprises: the device comprises a detection module, a selection module and a locking module;
the detection module is used for detecting whether the pressure exerted on the touch screen by a first sliding operation exerted from a first edge of the touch screen exceeds a set threshold value;
the selection module is used for selecting an area to be locked of the touch screen based on a first edge of the touch screen and a contact point position on the touch screen when the first sliding operation is stopped when the detection module detects that the pressure exerted on the touch screen by the first sliding operation exceeds the set threshold;
the locking module is used for locking the area to be locked;
wherein the locking module is specifically configured to: determining the region to be locked as a locking region, and controlling the locking region not to respond to the touch screen operation of a user;
wherein, the area to be locked comprises:
a first closed region constituted by a first edge, a straight line parallel to the first edge at a contact point position on the touch screen when stopped by a first slide operation, and the other edge of the touch screen.
HK18116134.3A 2016-10-31 Screen locking method, terminal and screen locking device HK1257013B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/104148 WO2018076384A1 (en) 2016-10-31 2016-10-31 Screen locking method, terminal and screen locking device

Publications (2)

Publication Number Publication Date
HK1257013A1 HK1257013A1 (en) 2019-10-11
HK1257013B true HK1257013B (en) 2021-04-16

Family

ID=

Similar Documents

Publication Publication Date Title
CN112527431B (en) A widget processing method and related device
KR102240088B1 (en) Application switching method, device and graphical user interface
US9357396B2 (en) Terminal device
EP2508972B1 (en) Portable electronic device and method of controlling same
US20130159927A1 (en) Electronic device with touch screen and screen unlocking method thereof
EP3525075B1 (en) Method for lighting up screen of double-screen terminal, and terminal
EP2472375A1 (en) Method and device for identifying and unlocking with contact surface model
US20140152585A1 (en) Scroll jump interface for touchscreen input/output device
US20140035853A1 (en) Method and apparatus for providing user interaction based on multi touch finger gesture
WO2018082269A1 (en) Menu display method and terminal
KR20140058393A (en) Touch screen device user interface processing method and touch screen device
US20130298079A1 (en) Apparatus and method for unlocking an electronic device
CN109165033B (en) Application update method and mobile terminal
JP2018148286A (en) Electronic device and control method
US11630892B2 (en) Fingerprint unlocking method and terminal
CN111026321A (en) A touch method and electronic device
EP3528103B1 (en) Screen locking method, terminal and screen locking device
CN107179849A (en) Terminal and its input control method, computer-readable recording medium
HK1257013B (en) Screen locking method, terminal and screen locking device
EP3457269B1 (en) Electronic device and method for one-handed operation
KR20120094728A (en) Method for providing user interface and mobile terminal using the same
EP3674867B1 (en) Human-computer interaction method and electronic device
CN110703970B (en) Information processing method and electronic equipment
CN110032854A (en) Solve lock control method, device, mobile terminal and storage medium
CN108595069B (en) A kind of application program startup method and mobile terminal