WO2020207322A1 - 屏幕解锁方法及终端 - Google Patents

屏幕解锁方法及终端 Download PDF

Info

Publication number
WO2020207322A1
WO2020207322A1 PCT/CN2020/082945 CN2020082945W WO2020207322A1 WO 2020207322 A1 WO2020207322 A1 WO 2020207322A1 CN 2020082945 W CN2020082945 W CN 2020082945W WO 2020207322 A1 WO2020207322 A1 WO 2020207322A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
camera
distance
image
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2020/082945
Other languages
English (en)
French (fr)
Inventor
柯景诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2020207322A1 publication Critical patent/WO2020207322A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a screen unlocking method and terminal.
  • folding screens, double-sided screens, and detachable dual-screen mobile phones have been introduced one after another. These new mobile phones provide users with a rich mobile Internet life experience and multimedia functions. Among them, in terms of screen wake-up and unlock, folding screens, double-sided screens, and detachable dual-screen phones can provide users with more unlocking solutions, which greatly improves the protection of user privacy.
  • the mobile phone unlocking methods adopted in the related technologies basically follow the single-screen mobile phone unlocking methods, such as fingerprints, human faces, and password input.
  • fingerprint recognition and face recognition have become increasingly insecure.
  • a user’s fingerprint is constructed with plastic materials such as wax, and the constructed fake fingerprint can easily unlock the mobile phone.
  • by using high-definition pictures about the user it can be unlocked through face recognition.
  • the embodiments of the present disclosure provide a screen unlocking method and a terminal to solve the problem that when one of the screen devices in the detachable dual-screen terminal of the related technology is lost, the user's privacy information is likely to be leaked.
  • the embodiments of the present disclosure provide a screen unlocking method, which is applied to a terminal, and the terminal includes a detachable first screen and a second screen; the screen unlocking method includes:
  • a screen unlock operation is performed on the first screen and the second screen respectively.
  • the embodiments of the present disclosure provide a terminal, including a detachable first screen and a second screen; the terminal further includes:
  • a first distance detection module configured to obtain the distance between the first screen and the second screen when a preset operation on the terminal is detected
  • the screen unlocking module is configured to perform a screen unlock operation on the first screen and the second screen when the distance between the first screen and the second screen is less than or equal to a first threshold.
  • the embodiments of the present disclosure provide a terminal, including a memory, a processor, and a computer program stored on the memory and running on the processor; the processor executes the program when the program is executed The screen unlocking method described above.
  • the embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps in the screen unlocking method described above are implemented.
  • the screen is unlocked by detecting the distance between the detachable first screen and the second screen of the terminal, that is, only the distance between the detachable first screen and the second screen of the terminal is less than or equal to the first screen. Only a threshold value can be used to unlock the first screen and the second screen. Therefore, when one of the screen devices in the detachable dual-screen terminal is lost, the distance between the two screens cannot be less than or equal to the first threshold. Therefore, the lost screen cannot be unlocked, which solves the problem of user privacy information leakage when one of the screen devices in the detachable dual-screen terminal is lost.
  • FIG. 1 shows a flowchart of a method for unlocking a screen according to an embodiment of the present disclosure
  • Figure 2 shows a schematic diagram of a terminal with a detachable screen in an embodiment of the present disclosure
  • FIG. 3 shows a schematic diagram of the first screen and the second screen being placed relative to each other for screen unlocking in an embodiment of the present disclosure
  • FIG. 4 shows a schematic diagram of modules of a terminal according to an embodiment of the present disclosure
  • FIG. 5 shows a schematic diagram of the hardware structure of a terminal according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure provides a screen unlocking method, which is applied to a terminal, and the terminal includes a detachable first screen and a second screen.
  • a terminal with a detachable screen is shown in Figure 2, that is, there is no physical connection between the two screens of this type of terminal, that is, the first screen 201 and the second screen 202.
  • the main screen is provided with a main processor
  • the sub-screen is provided with a sub-processor
  • the communication codes of the main processor and the sub-processor belonging to the same terminal are unique. Therefore, even processors of the same model cannot communicate with them because the communication codes of different terminals are inconsistent.
  • the screen unlocking method of the embodiment of the present disclosure includes the following steps:
  • Step 101 In the case of detecting a preset operation on the terminal, obtain the distance between the first screen and the second screen.
  • Step 102 When the distance between the first screen and the second screen is less than or equal to a first threshold, perform a screen unlock operation on the first screen and the second screen respectively.
  • the embodiment of the present disclosure performs screen unlocking by detecting the distance between the detachable first screen and the second screen of the terminal, that is, only the distance between the detachable first screen and the second screen of the terminal Only when it is less than or equal to the first threshold can the first screen and the second screen be unlocked. Therefore, when one of the screen devices in the detachable dual-screen terminal is lost, the distance between the two screens cannot be less than or The condition is equal to the first threshold, so that the lost screen cannot be unlocked, which solves the problem that the user's privacy information is easily leaked when one of the screen devices in the detachable dual-screen terminal is lost.
  • the above-mentioned preset operation is an operation that triggers a screen unlocking event, for example, it may be a double-click operation on the first screen or the second screen.
  • the preset operation may be a double-tap operation on the first screen and the second screen.
  • the user may be prompted to unlock the terminal to operate on the primary screen, that is, prompt information for prompting the user to operate on the primary screen to unlock the terminal is displayed on the secondary screen.
  • the terminal system is awakened, so that the first screen and the second screen are communicatively connected via Bluetooth.
  • the first screen is provided with a first camera
  • the second screen is provided with a second camera
  • the acquiring the distance between the first screen and the second screen includes:
  • the distance between the camera set on the first screen and the camera set on the second screen can be used as the distance between the first screen and the second screen.
  • it can be set when the first screen and the second screen are placed opposite to each other, the projection of the setting position of the first camera on the first screen on the second screen, and the setting position of the second camera on the second screen They overlap, so that the distance between the first camera and the second camera at this time is taken as the distance between the first screen and the second screen, so that the detection of the distance between the first screen and the second screen is more accurate.
  • the acquiring the distance between the first camera and the second camera includes:
  • the first camera and the second camera can obtain the location of each other to determine the distance between each other.
  • the second camera on the second screen can be turned on through the first screen control, that is, the first screen communicates with the second screen through Bluetooth, and the control instruction for controlling the turning on of the second camera is sent to the second screen, After receiving the control instruction, the second screen turns on the second camera.
  • performing a screen unlock operation on the first screen and the second screen respectively include:
  • the distance between the first screen and the second screen is less than or equal to a first threshold, acquiring a first image taken by the first camera and a second image taken by the second camera;
  • the first screen and the second screen are respectively matched Perform screen unlock operation.
  • the first preset image displayed on the first screen and the second preset image displayed on the second screen are two randomly generated images. For example, if there are 1024 images stored in the terminal, then from these 1024 images Two randomly selected and displayed on the first screen and the second screen respectively.
  • the first camera is further controlled to capture the image displayed on the second screen
  • the second camera is controlled to capture the image displayed on the first screen.
  • Image and then determine whether the image captured by the first camera matches the second preset image displayed on the second screen, and whether the image captured by the second camera matches the first preset image displayed on the first screen, and both In the case of matching, the unlocking operation is performed on the first screen and the second screen respectively.
  • the lock screen is further improved.
  • the confidentiality of the terminal makes it impossible to unlock the lost screen when any one of the first screen and the second screen of the terminal is lost, thereby avoiding the leakage of user privacy information.
  • the method further includes:
  • the user is prompted that the unlocking fails.
  • the current detected conditions cannot meet the prerequisites for unlocking (that is, the distance between the first screen and the second screen is less than or equal to the first threshold, and the first image captured by the first camera is compared to the one displayed on the second screen. And the second image taken by the second camera), the user is prompted to unlock the failure, so that the user can adjust the distance between the first screen and the second screen, or change the placement of the first screen and the second screen to achieve success
  • the prerequisites for unlocking that is, the distance between the first screen and the second screen is less than or equal to the first threshold
  • the first image captured by the first camera is compared to the one displayed on the second screen.
  • the second image taken by the second camera the user is prompted to unlock the failure, so that the user can adjust the distance between the first screen and the second screen, or change the placement of the first screen and the second screen to achieve success
  • the purpose of unlocking that is, the distance between the first screen and the second screen is less than or equal to the first threshold, and the first image captured by the first camera is
  • the method before acquiring the distance between the first camera and the second camera, the method further includes:
  • the prompt information for prompting the user to place the first screen and the second screen relative to each other is displayed on the first screen or the second screen, so that the user can display the first screen according to the prompt information.
  • the terminal When placed opposite to the second screen, the terminal can obtain the distance between the first camera and the second camera. That is, the prompt information for prompting the user to place the first screen and the second screen relative to each other can instruct the user how to operate the first screen and the second screen to achieve the purpose of screen unlocking, which further facilitates the user's operation.
  • the first threshold is determined through the following process:
  • the target option displayed on the first screen is selected, the distance between the first screen and the second screen is detected, and the target option indicates that the distance between the first screen and the The distance between the second screens to unlock the target unlocking method of the screen;
  • the first screen and the second screen When it is detected that the distance between the first screen and the second screen is less than or equal to the predetermined second threshold, and the first screen and the second screen are both in a stable state, record all The distance between the first screen and the second screen, and the distance between the first screen and the second screen is determined as the first threshold.
  • the steady state is that the jitter frequency of the first screen and the second screen is less than a preset threshold.
  • the first threshold compared in the target unlocking manner of unlocking the screen by detecting the distance between the first screen and the second screen may be set by the user.
  • the distance between the first screen and the second screen at this time can be detected, and the detected distance value can be determined as the first threshold value.
  • the user manually enters the distance value to complete the setting of the first threshold, which is not only convenient, but also allows the user to know the actual distance of the first threshold.
  • the process of determining the first threshold value further includes:
  • the second threshold is built in the system in the terminal, that is, it is predetermined. Therefore, in the embodiments of the present disclosure, when setting the first threshold value, there is a basic value (ie, the second threshold value), so that the user can add a certain value to the basic value.
  • the specific implementation of the screen unlocking method in the embodiment of the present disclosure may be specifically as described in the following steps 11 to 17.
  • the first screen is set as the primary screen
  • the second screen is set as the secondary screen.
  • Step 11 The user picks up the main screen and double-clicks the main screen, where if the user picks up the secondary screen, the user is prompted to unlock the screen to operate on the main screen.
  • Step 12 After step 11, the system wakes up and connects to the secondary screen via Bluetooth. After the Bluetooth connection is successful, both screens turn on at the same time.
  • Step 13 After the main screen and the secondary screen are on (Bluetooth successfully connected), the system randomly generates two pictures a and b. The user does not know which two are generated by the system. Assume that the system itself stores 1024 pictures, where a is The main screen is displayed, and b is displayed on the secondary screen.
  • Step 14 After step 12, the front camera of the main screen is automatically turned on and a signal is sent to the secondary screen via Bluetooth to turn on the front camera of the secondary screen.
  • Step 15 The main screen prompts the user to pick up the sub-screen, so that the main screen and the sub-screen are aligned and close as much as possible (the camera is on the same horizontal line as possible, and slight errors are not counted) as shown in Figure 3.
  • Step 16 The cameras of the main screen and the sub-screen determine the distance between the main screen and the sub-screen by obtaining the positions of the other's cameras respectively. Wherein, if the distance between the main screen and the secondary screen is less than or equal to the first threshold, step 17 is executed, otherwise, it prompts that the unlocking fails.
  • Step 17 The main screen camera obtains the pattern on the secondary screen and transmits it to the system.
  • the secondary screen also obtains the pattern on the main screen and transmits it to the system.
  • the system compares the images from the cameras on the primary and secondary screens. The pattern obtained by the camera is consistent with pattern b, and the pattern obtained by the camera on the secondary screen is consistent with pattern a, the system is unlocked, otherwise, the unlocking fails.
  • the embodiment of the present disclosure uses two screens to unlock, and the efficiency is not only not worse than that of face recognition, fingerprint recognition, input password, graphic password, etc., and the user does not need to deliberately memorize the password, nor does it need to be like face recognition.
  • face recognition data entry is required in advance. And there is no need to worry about the user's password, fingerprint, face, etc. being obtained and then unlocking the terminal without the user's consent, which can well protect the user's privacy when one of the screen devices in the detachable dual-screen terminal is lost.
  • the embodiment of the present disclosure also provides a terminal, including a detachable first screen and a second screen; as shown in FIG. 4, the terminal 400 further includes:
  • the first distance detection module 401 is configured to obtain the distance between the first screen and the second screen when a preset operation on the terminal is detected;
  • the screen unlocking module 402 is configured to perform a screen unlocking operation on the first screen and the second screen respectively when the distance between the first screen and the second screen is less than or equal to a first threshold .
  • the first screen is provided with a first camera
  • the second screen is provided with a second camera
  • the first distance detection module 401 includes:
  • the distance obtaining unit is configured to obtain the distance between the first camera and the second camera, and use the distance between the first camera and the second camera as the first screen and the second camera. The distance between the screens.
  • the distance acquiring unit is specifically configured to:
  • the screen unlocking module 402 includes:
  • a first display unit configured to display a first preset image on the first screen
  • a second display unit configured to display a second preset image on the second screen
  • An image capturing unit configured to obtain the first image captured by the first camera and the second camera captured when the distance between the first screen and the second screen is less than or equal to a first threshold The second image;
  • the screen unlocking unit is configured to: when the first image matches the second preset image, and the second image matches the first preset image, compare the first screen and The second screen performs screen unlocking operations respectively.
  • the terminal further includes:
  • the first prompting module is configured to: when the distance between the first screen and the second screen is greater than the first threshold, or when the first image does not match the second preset image , Or when the second image does not match the first preset image, the user is prompted that the unlocking fails.
  • the terminal further includes:
  • the second prompt module is configured to display prompt information for prompting the user to place the first screen and the second screen relative to each other on the first screen or the second screen.
  • the first threshold is determined by the following modules:
  • the second distance detection module is configured to detect the distance between the first screen and the second screen when the target option displayed on the first screen is selected, and the target option indicates passing detection The distance between the first screen and the second screen to unlock the target unlock mode of the screen;
  • a threshold determination module configured to detect that the distance between the first screen and the second screen is less than or equal to a predetermined second threshold when the second distance detection module detects that the first screen and the When the second screen is in a stable state, record the distance between the first screen and the second screen, and determine the distance between the first screen and the second screen as the first screen A threshold.
  • the module for determining the first threshold value further includes:
  • the third prompting module is used to detect the distance between the first screen and the second screen within a preset period of time, or detect the first screen within the preset interval. In a case where the distance between a screen and the second screen is greater than the second threshold, a prompt message for prompting the user that the target unlocking mode setting fails is displayed.
  • the terminal provided by the embodiment of the present disclosure can implement the various processes implemented by the terminal in the method embodiment of FIG. 1, and to avoid repetition, details are not described herein again.
  • the terminal 400 of the embodiment of the present disclosure performs screen unlocking by detecting the distance between the detachable first screen and the second screen of the terminal, that is, only the distance between the detachable first screen and the second screen of the terminal Only when it is less than or equal to the first threshold can the first screen and the second screen be unlocked. Therefore, when one of the screen devices in the detachable dual-screen terminal is lost, the distance between the two screens cannot be less than or The condition is equal to the first threshold, so that the lost screen cannot be unlocked, which solves the problem that the user's privacy information is easily leaked when one of the screen devices in the detachable dual-screen terminal is lost.
  • the embodiment of the present disclosure also provides a terminal.
  • the terminal 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, User input unit 507, interface unit 508, memory 509, processor 510, power supply 511 and other components.
  • the display unit 506 includes a first screen and a second screen.
  • terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 510 is configured to obtain the distance between the first screen and the second screen when a preset operation on the terminal is detected; when the first screen and the second screen are In the case that the distance between the screens is less than or equal to the first threshold, the screen unlocking operation is performed on the first screen and the second screen respectively.
  • the terminal 500 of the embodiment of the present disclosure performs screen unlocking by detecting the distance between the detachable first screen and the second screen of the terminal, that is, only the distance between the detachable first screen and the second screen of the terminal Only when it is less than or equal to the first threshold can the first screen and the second screen be unlocked. Therefore, when one of the screen devices in the detachable dual-screen terminal is lost, the distance between the two screens cannot be less than or The condition is equal to the first threshold, so that the lost screen cannot be unlocked, which solves the problem that the user's privacy information is easily leaked when one of the screen devices in the detachable dual-screen terminal is lost.
  • the radio frequency unit 501 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 510; Uplink data is sent to the base station.
  • the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
  • the terminal provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 503 may convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the terminal 500 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 504 is used to receive audio or video signals.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
  • the graphics processor 5041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 506.
  • the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502.
  • the microphone 5042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
  • the terminal 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 5061 and/or when the terminal 500 is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
  • the display unit 506 is used to display information input by the user or information provided to the user.
  • the display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 507 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072.
  • the touch panel 5071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 5071 or near the touch panel 5071. operating).
  • the touch panel 5071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 510, the command sent by the processor 510 is received and executed.
  • the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 507 may also include other input devices 5072.
  • other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 5071 can be overlaid on the display panel 5061.
  • the touch panel 5071 detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 5061.
  • the touch panel 5071 and the display panel 5061 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated. Realize the input and output functions of the terminal, which are not limited here.
  • the interface unit 508 is an interface for connecting an external device with the terminal 500.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 508 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal 500 or may be used to communicate between the terminal 500 and the external device. Transfer data between.
  • the memory 509 can be used to store software programs and various data.
  • the memory 509 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 510 is the control center of the terminal. It uses various interfaces and lines to connect the various parts of the entire terminal. It executes by running or executing software programs and/or modules stored in the memory 509, and calling data stored in the memory 509. Various functions of the terminal and processing data, so as to monitor the terminal as a whole.
  • the processor 510 may include one or more processing units; optionally, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
  • the terminal 500 may also include a power source 511 (such as a battery) for supplying power to various components.
  • a power source 511 such as a battery
  • the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the terminal 500 includes some functional modules not shown, which will not be repeated here.
  • the embodiments of the present disclosure also provide a terminal, including a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor implements the above-mentioned screen when the program is executed. Unlock method.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned screen unlocking method embodiment is realized, and the same technology The effect, to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

一种屏幕解锁方法及终端,该方法应用于终端(400),终端(400)包括可分离的第一屏幕(201)和第二屏幕(202);屏幕解锁方法包括:在检测到终端(400)上的预设操作的情况下,获取第一屏幕(201)和第二屏幕(202)之间的距离(101);在第一屏幕(201)与第二屏幕(202)之间的距离小于或等于第一阈值的情况下,对第一屏幕(201)和第二屏幕(202)分别执行屏幕解锁操作(102)。

Description

屏幕解锁方法及终端
相关申请的交叉引用
本申请主张在2019年4月11日在中国提交的中国专利申请No.201910291130.8的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信技术领域,尤其涉及一种屏幕解锁方法及终端。
背景技术
随着手机不断地迭代更新,折叠屏、双面屏,可分离双屏手机相继面世,这些新型的手机为用户提供了丰富的移动互联生活体验以及多媒体功能。其中,在屏幕唤醒和解锁方面,折叠屏,双面屏,可分离双屏手机可以给用户提供更多的解锁方案,极大地提高了对用户隐私的保护。
相关技术中所采用的手机解锁方法基本沿用单屏手机解锁方法,如指纹,人脸,密码输入等。然而,随着破解技术的提升,指纹识别,人脸识别变得越来越不安全。例如,通过蜡等可塑性材料来构造用户的指纹,用构造出来的假冒指纹可以轻易解锁手机。又如,通过使用关于用户的高清图片便可以通过人脸识别解锁等。
其中,对于可分离双屏手机,往往容易丢失其中一个,从而使得丢失的其中一个的锁屏容易被破解,造成用户隐私信息的泄露。
发明内容
本公开的实施例提供了一种屏幕解锁方法及终端,以解决相关技术可分离双屏终端中的其中一个屏幕设备丢失时易造成用户隐私信息泄露的问题。
第一方面,本公开的实施例提供了一种屏幕解锁方法,应用于终端,所述终端包括可分离的第一屏幕和第二屏幕;所述屏幕解锁方法包括:
在检测到所述终端上的预设操作的情况下,获取所述第一屏幕与所述第二屏幕之间的距离;
在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
第二方面,本公开的实施例提供了一种终端,包括可分离的第一屏幕和第二屏幕;所述终端还包括:
第一距离检测模块,用于在检测到所述终端上的预设操作的情况下,获取所述第一屏幕与所述第二屏幕之间的距离;
屏幕解锁模块,用于在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
第三方面,本公开的实施例提供了一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现上述所述的屏幕解锁方法。
第四方面,本公开的实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述所述的屏幕解锁方法中的步骤。
本公开实施例的有益效果是:
本公开的实施例,通过检测终端可分离的第一屏幕与第二屏幕之间的距离来进行屏幕解锁,即只有终端的可分离式第一屏幕与第二屏幕之间的距离小于或等于第一阈值时,才可以对第一屏幕和第二屏幕进行解锁,因而,当可分离双屏终端中的其中一个屏幕设备丢失时,使得两个屏幕之间的距离无法满足小于或等于第一阈值的条件,从而无法对丢失的屏幕进行解锁,解决了可分离双屏终端中的其中一个屏幕设备丢失时易造成用户隐私信息泄露的问题。
附图说明
图1表示本公开实施例的屏幕解锁方法的流程图;
图2表示本公开实施例中可分离屏幕的终端的示意图;
图3表示本公开实施例中第一屏幕与第二屏幕相对放置进行屏幕解锁的示意图;
图4表示本公开实施例的终端的模块示意图;
图5表示本公开实施例的终端的硬件结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开的实施例提供了一种屏幕解锁方法,应用于终端,该终端包括可分离的第一屏幕和第二屏幕。其中,具有可分离式屏幕的终端如图2所示,即此类终端的两个屏幕,即第一屏幕201与第二屏幕202之间不存在物理上的连接关系,但是,一般地,在第一屏幕201与第二屏幕202之中,其中一个作为主屏幕,另外一个作为副屏幕。其中,主屏幕上设置有主处理器,副屏幕上设置有副处理器,并且,属于同一个终端的主处理器与副处理器的通讯编码是唯一的。因此,即使是同型号处理器也无法与他们通讯,因为不同终端的通讯编码不一致。
如图1所示,本公开实施例的屏幕解锁方法包括以下步骤:
步骤101:在检测到所述终端上的预设操作的情况下,获取所述第一屏幕与所述第二屏幕之间的距离。
步骤102:在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
由此可知,本公开的实施例,通过检测终端可分离的第一屏幕与第二屏幕之间的距离来进行屏幕解锁,即只有终端的可分离式第一屏幕与第二屏幕之间的距离小于或等于第一阈值时,才可以对第一屏幕和第二屏幕进行解锁,因而,当可分离双屏终端中的其中一个屏幕设备丢失时,使得两个屏幕之间的距离无法满足小于或等于第一阈值的条件,从而无法对丢失的屏幕进行解锁,解决了可分离双屏终端中的其中一个屏幕设备丢失时易造成用户隐私信息泄露的问题。
其中,上述预设操作即为触发屏幕解锁事件的操作,例如可以为对第一 屏幕或者第二屏幕的双击操作。具体地,所述预设操作可以为对第一屏幕和第二屏幕中的屏幕的双击操作。并且,还可在用户在副屏幕上双击时提示用户解锁终端要在主屏上操作,即在副屏幕上显示用于提示用户解锁终端需要在主屏幕上进行操作的提示信息。
另外,在检测到终端上的预设操作后,终端系统被唤醒,从而通过蓝牙将第一屏幕和第二屏幕通信连接。
可选地,所述第一屏幕设置有第一摄像头,所述第二屏幕设置有第二摄像头;所述获取所述第一屏幕与所述第二屏幕之间的距离,包括:
获取所述第一摄像头和所述第二摄像头之间的距离,将所述第一摄像头和所述第二摄像头之间的距离作为所述第一屏幕与所述第二屏幕之间的距离。
即可以将第一屏幕设置的摄像头与第二屏幕设置的摄像头之间的距离,作为第一屏幕和第二屏幕之间的距离。其中,进一步地,可以设置在第一屏幕与第二屏幕相对放置时,第一摄像头在第一屏幕上的设置位置在第二屏幕上的投影,与第二摄像头在第二屏幕上的设置位置重合,从而将此时第一摄像头和第二摄像头之间的距离作为第一屏幕与第二屏幕之间的距离,使得第一屏幕与第二屏幕之间的距离的检测更加准确。
进一步地,所述获取所述第一摄像头和所述第二摄像头之间的距离,包括:
控制所述第一摄像头获取所述第二摄像头的第一位置,并控制所述第二摄像头获取所述第一摄像头的第二位置;
根据所述第一位置和所述第二位置,获取所述第一摄像头和所述第二摄像头之间的距离。
即可以通过第一摄像头和第二摄像头分别获取对方的位置,来确定彼此之间的距离。其中,第二屏幕上的第二摄像头,可以通过第一屏幕控制进行开启,即第一屏幕通过蓝牙与第二屏幕进行通信,将用于控制第二摄像头开启的控制指令发送给第二屏幕,使得第二屏幕在接收到该控制指令后,将第二摄像头开启。
可选地,所述在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作, 包括:
在所述第一屏幕上显示第一预设图像;
在所述第二屏幕上显示第二预设图像;
在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,获取所述第一摄像头拍摄的第一图像以及所述第二摄像头拍摄的第二图像;
在所述第一图像与所述第二预设图像相匹配,且所述第二图像与所述第一预设图像相匹配的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
其中,第一屏幕上显示的第一预设图像,与第二屏幕上显示的第二预设图像是随机生成的两张图像,例如终端中存储有1024张图像,则从这1024张图像中随机选择两个分别显示在第一屏幕和第二屏幕上。
另外,在判断第一屏幕与第二屏幕之间的距离小于或等于第一阈值的情况下,进一步控制第一摄像头拍摄第二屏幕上显示的图像,控制第二摄像头拍摄第一屏幕上显示的图像,然后判断第一摄像头拍摄的图像与第二屏幕上显示的第二预设图像是否匹配,以及第二摄像头拍摄的图像与第一屏幕上显示的第一预设图像是否匹配,并且在均匹配的情况下,才去对第一屏幕和第二屏幕分别执行解锁操作。
即通过对第一屏幕与第二屏幕之间的距离,以及第一摄像头拍摄的第二屏幕上显示的图像和第二屏幕拍摄的第一屏幕上显示的图像的综合判断,进一步提升了锁屏的保密性,使得在终端的第一屏幕和第二屏幕中的任意一个丢失的情况下,丢失的屏幕无法进行解锁,从而避免了用户隐私信息的泄露。
可选地,获取所述第一摄像头拍摄的第一图像以及所述第二摄像头拍摄的第二图像之后,还包括:
在所述第一屏幕与所述第二屏幕之间的距离大于所述第一阈值的情况下,或者在所述第一图像与所述第二预设图像不匹配,或者所述第二图像与所述第一预设图像不匹配的情况下,提示用户解锁失败。
即在当前检测到的条件无法满足解锁的必备条件(即第一屏幕与第二屏幕之间的距离小于或等于第一阈值,且第一摄像头拍摄的第一图像与第二屏 幕上显示的和第二摄像头拍摄的第二图像)时,提示用户解锁失败,从而使得用户可以调整第一屏幕与第二屏幕之间的距离,或者改变第一屏幕与第二屏幕的放置方式,以达到成功解锁的目的。
可选地,获取所述第一摄像头和所述第二摄像头之间的距离之前,还包括:
在所述第一屏幕或者所述第二屏幕上显示用于提示用户将所述第一屏幕与所述第二屏幕相对放置的提示信息。其中,第一屏幕和第二屏幕相对放置的示意图可如图3所示。
其中,在所述第一屏幕或者所述第二屏幕上显示用于提示用户将所述第一屏幕与所述第二屏幕相对放置的提示信息,从而可以在用户根据该提示信息将第一屏幕和第二屏幕相对放置时,使得终端可以获取第一摄像头和第二摄像头之间的距离。即用于提示用户将所述第一屏幕与所述第二屏幕相对放置的提示信息,能够指导用户如何操作第一屏幕和第二屏幕才能达到屏幕解锁的目的,进一步方便了用户的操作。
可选地,所述第一阈值通过以下过程确定:
在所述第一屏幕上所显示的目标选项被选中的情况下,检测所述第一屏幕与所述第二屏幕之间的距离,所述目标选项表示通过检测所述第一屏幕与所述第二屏幕之间的距离解锁屏幕的目标解锁方式;
在检测到所述第一屏幕与所述第二屏幕之间的距离小于或等于预先确定的第二阈值,且所述第一屏幕与所述第二屏幕均处于平稳状态的情况下,记录所述第一屏幕与所述第二屏幕之间的距离,并将所述第一屏幕与所述第二屏幕之间的距离确定为所述第一阈值。其中,所述平稳状态即为第一屏幕和第二屏幕的抖动频率小于预设阈值。
即通过检测所述第一屏幕与所述第二屏幕之间的距离解锁屏幕的目标解锁方式中所对比的第一阈值可以是用户自行设置的。其中,可以在检测到第一屏幕上所显示的目标选项被选中的情况下,检测此时第一屏幕与第二屏幕之间的距离,并将检测到的距离值确定为第一阈值,无需用户手动输入距离数值,就可以完成对第一阈值的设置,不仅方便,而且可以使得用户明确第一阈值的实际距离长短。
可选地,确定所述第一阈值的过程还包括:
在预设时间段内未检测到所述第一屏幕与所述第二屏幕之间的距离的情况下,或者在所述预设之间段内检测到所述第一屏幕与所述第二屏幕之间的距离大于所述第二阈值的情况下,显示用于提示用户所述目标解锁方式设置失败的提示信息。
其中,第二阈值是终端中系统内置的,即是预先确定的。因此,本公开的实施例,在设置第一阈值时,存在一个基础值(即第二阈值),使得用户可以在该基础值上增加一定数值。
由上述可知,本公开实施例的屏幕解锁方法的具体实施方式可具体如下述步骤11~步骤17所述。其中,设置第一屏幕未主屏幕,第二屏幕为副屏幕。
步骤11:用户拿起主屏幕并双击主屏幕,其中,若用户拿起的是副屏则提示用户解锁屏幕要在主屏幕上操作。
步骤12:步骤11结束后系统唤醒并通过蓝牙连接副屏幕,蓝牙连接成功后两个屏幕同时亮屏。
步骤13:主屏幕与副屏幕亮屏后(蓝牙成功连接)系统随机生成两张图片a,b,其中,用户并不知道系统生成哪两张,假设系统本身存放着1024张图片,其中a在主屏显示,b在副屏显示。
步骤14:步骤12结束后,主屏幕前置摄像头自动开启并通过蓝牙向副屏幕发送信号,打开副屏幕的前置摄像头。
步骤15:主屏幕上提示用户拿起副屏,让主屏幕和副屏幕尽可能对准且靠近(摄像头尽可能在同一水平线上,有轻微误差不计)如图3所示。
步骤16:主屏幕和副屏幕的摄像头分别通过获取对方的摄像头的位置来判断主屏和副屏之间的距离。其中,若主屏和副屏的距离小于或等于第一阈值,则执行步骤17,否则提示解锁失败。
步骤17:主屏幕摄像头获得副屏幕上的图案并传向系统,同时副屏幕也获得主屏幕的图案并传向系统,系统比对主副屏幕上的摄像头传来的图像,若主屏幕上的摄像头获得的图案与图案b一致,且副屏幕上的摄像头获得的图案与图案a一致,则系统解锁,否则,解锁失败。
综上所述,本公开的实施例利用两个屏幕才能解锁,效率不但不比人脸 识别,指纹识别,输入密码,图形密码等方案差,而且用户不用刻意去记密码,也不用像人脸识别或指纹识别一样需要事先对数据进行录入。并且不用担心用户的密码,指纹,人脸等被获取然后在没经过用户同意的情况下解锁终端,在可分离双屏终端中的其中一个屏幕设备丢失时可以很好保护用户的隐私。
本公开的实施例还提供了一种终端,包括可分离的第一屏幕和第二屏幕;如图4所示,该终端400还包括:
第一距离检测模块401,用于在检测到所述终端上的预设操作的情况下,获取所述第一屏幕与所述第二屏幕之间的距离;
屏幕解锁模块402,用于在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
可选地,所述第一屏幕设置有第一摄像头,所述第二屏幕设置有第二摄像头;所述第一距离检测模块401包括:
距离获取单元,用于获取所述第一摄像头和所述第二摄像头之间的距离,将所述第一摄像头和所述第二摄像头之间的距离作为所述第一屏幕与所述第二屏幕之间的距离。
可选地,所述距离获取单元具体用于:
控制所述第一摄像头获取所述第二摄像头的第一位置,并控制所述第二摄像头获取所述第一摄像头的第二位置;
根据所述第一位置和所述第二位置,获取所述第一摄像头和所述第二摄像头之间的距离。
可选地,所述屏幕解锁模块402包括:
第一显示单元,用于在所述第一屏幕上显示第一预设图像;
第二显示单元,用于在所述第二屏幕上显示第二预设图像;
图像拍摄单元,用于在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,获取所述第一摄像头拍摄的第一图像以及所述第二摄像头拍摄的第二图像;
屏幕解锁单元,用于在所述第一图像与所述第二预设图像相匹配,且所 述第二图像与所述第一预设图像相匹配的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
可选地,所述终端还包括:
第一提示模块,用于在所述第一屏幕与所述第二屏幕之间的距离大于所述第一阈值的情况下,或者在所述第一图像与所述第二预设图像不匹配,或者所述第二图像与所述第一预设图像不匹配的情况下,提示用户解锁失败。
可选地,所述终端还包括:
第二提示模块,用于在所述第一屏幕或者所述第二屏幕上显示用于提示用户将所述第一屏幕与所述第二屏幕相对放置的提示信息。
可选地,所述第一阈值通过以下模块确定:
第二距离检测模块,用于在所述第一屏幕上所显示的目标选项被选中的情况下,检测所述第一屏幕与所述第二屏幕之间的距离,所述目标选项表示通过检测所述第一屏幕与所述第二屏幕之间的距离解锁屏幕的目标解锁方式;
阈值确定模块,用于在所述第二距离检测模块检测到所述第一屏幕与所述第二屏幕之间的距离小于或等于预先确定的第二阈值,且所述第一屏幕与所述第二屏幕均处于平稳状态的情况下,记录所述第一屏幕与所述第二屏幕之间的距离,并将所述第一屏幕与所述第二屏幕之间的距离确定为所述第一阈值。
可选地,确定所述第一阈值的模块还包括:
第三提示模块,用于在预设时间段内未检测到所述第一屏幕与所述第二屏幕之间的距离的情况下,或者在所述预设之间段内检测到所述第一屏幕与所述第二屏幕之间的距离大于所述第二阈值的情况下,显示用于提示用户所述目标解锁方式设置失败的提示信息。
本公开实施例提供的终端能够实现图1的方法实施例中终端实现的各个过程,为避免重复,这里不再赘述。
此外,本公开实施例的终端400,通过检测终端可分离的第一屏幕与第二屏幕之间的距离来进行屏幕解锁,即只有终端的可分离式第一屏幕与第二屏幕之间的距离小于或等于第一阈值时,才可以对第一屏幕和第二屏幕进行解锁,因而,当可分离双屏终端中的其中一个屏幕设备丢失时,使得两个屏 幕之间的距离无法满足小于或等于第一阈值的条件,从而无法对丢失的屏幕进行解锁,解决了可分离双屏终端中的其中一个屏幕设备丢失时易造成用户隐私信息泄露的问题。
本公开的实施例还提供了一种终端,如图5所示,该终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。其中,显示单元506包括第一屏幕和第二屏幕。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器510用于在检测到所述终端上的预设操作的情况下,获取所述第一屏幕与所述第二屏幕之间的距离;在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
因此,本公开实施例的终端500,通过检测终端可分离的第一屏幕与第二屏幕之间的距离来进行屏幕解锁,即只有终端的可分离式第一屏幕与第二屏幕之间的距离小于或等于第一阈值时,才可以对第一屏幕和第二屏幕进行解锁,因而,当可分离双屏终端中的其中一个屏幕设备丢失时,使得两个屏幕之间的距离无法满足小于或等于第一阈值的条件,从而无法对丢失的屏幕进行解锁,解决了可分离双屏终端中的其中一个屏幕设备丢失时易造成用户隐私信息泄露的问题。
应理解的是,本公开实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体地,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。
终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。
终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。
用户输入单元507可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包 括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步地,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现终端的输入和输出功能,具体此处不做限定。
接口单元508为外部装置与终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端500内的一个或多个元件或者可以用于在终端500和外部装置之间传输数据。
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例 如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器510是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器510可包括一个或多个处理单元;可选地,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。
终端500还可以包括给各个部件供电的电源511(比如电池),可选地,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,终端500包括一些未示出的功能模块,在此不再赘述。
本公开实施例还提供一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现上述所述的屏幕解锁方法。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述屏幕解锁方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的 技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (14)

  1. 一种屏幕解锁方法,应用于终端,所述终端包括可分离的第一屏幕和第二屏幕,所述屏幕解锁方法包括:
    在检测到所述终端上的预设操作的情况下,获取所述第一屏幕与所述第二屏幕之间的距离;
    在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
  2. 根据权利要求1所述的屏幕解锁方法,其中,所述第一屏幕设置有第一摄像头,所述第二屏幕设置有第二摄像头;所述获取所述第一屏幕与所述第二屏幕之间的距离,包括:
    获取所述第一摄像头和所述第二摄像头之间的距离,将所述第一摄像头和所述第二摄像头之间的距离作为所述第一屏幕与所述第二屏幕之间的距离。
  3. 根据权利要求2所述的屏幕解锁方法,其中,所述获取所述第一摄像头和所述第二摄像头之间的距离,包括:
    控制所述第一摄像头获取所述第二摄像头的第一位置,并控制所述第二摄像头获取所述第一摄像头的第二位置;
    根据所述第一位置和所述第二位置,获取所述第一摄像头和所述第二摄像头之间的距离。
  4. 根据权利要求2所述的屏幕解锁方法,其中,所述在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作,包括:
    在所述第一屏幕上显示第一预设图像;
    在所述第二屏幕上显示第二预设图像;
    在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,获取所述第一摄像头拍摄的第一图像以及所述第二摄像头拍摄的第二图像;
    在所述第一图像与所述第二预设图像相匹配,且所述第二图像与所述第一预设图像相匹配的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕 解锁操作。
  5. 根据权利要求4所述的屏幕解锁方法,其中,所述获取所述第一摄像头拍摄的第一图像以及所述第二摄像头拍摄的第二图像之后,还包括:
    在所述第一屏幕与所述第二屏幕之间的距离大于所述第一阈值的情况下,或者在所述第一图像与所述第二预设图像不匹配,或者所述第二图像与所述第一预设图像不匹配的情况下,提示用户解锁失败。
  6. 根据权利要求2所述的屏幕解锁方法,其中,所述获取所述第一摄像头和所述第二摄像头之间的距离之前,还包括:
    在所述第一屏幕或者所述第二屏幕上显示用于提示用户将所述第一屏幕与所述第二屏幕相对放置的提示信息。
  7. 一种终端,包括可分离的第一屏幕和第二屏幕;所述终端还包括:
    第一距离检测模块,用于在检测到所述终端上的预设操作的情况下,获取所述第一屏幕与所述第二屏幕之间的距离;
    屏幕解锁模块,用于在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
  8. 根据权利要求7所述的终端,其中,所述第一屏幕设置有第一摄像头,所述第二屏幕设置有第二摄像头;所述第一距离检测模块包括:
    距离获取单元,用于获取所述第一摄像头和所述第二摄像头之间的距离,将所述第一摄像头和所述第二摄像头之间的距离作为所述第一屏幕与所述第二屏幕之间的距离。
  9. 根据权利要求8所述的终端,其中,所述距离获取单元具体用于:
    控制所述第一摄像头获取所述第二摄像头的第一位置,并控制所述第二摄像头获取所述第一摄像头的第二位置;
    根据所述第一位置和所述第二位置,获取所述第一摄像头和所述第二摄像头之间的距离。
  10. 根据权利要求8所述的终端,其中,所述屏幕解锁模块包括:
    第一显示单元,用于在所述第一屏幕上显示第一预设图像;
    第二显示单元,用于在所述第二屏幕上显示第二预设图像;
    图像拍摄单元,用于在所述第一屏幕与所述第二屏幕之间的距离小于或等于第一阈值的情况下,获取所述第一摄像头拍摄的第一图像以及所述第二摄像头拍摄的第二图像;
    屏幕解锁单元,用于在所述第一图像与所述第二预设图像相匹配,且所述第二图像与所述第一预设图像相匹配的情况下,对所述第一屏幕和所述第二屏幕分别执行屏幕解锁操作。
  11. 根据权利要求10所述的终端,还包括:
    第一提示模块,用于在所述第一屏幕与所述第二屏幕之间的距离大于所述第一阈值的情况下,或者在所述第一图像与所述第二预设图像不匹配,或者所述第二图像与所述第一预设图像不匹配的情况下,提示用户解锁失败。
  12. 根据权利要求8所述的终端,还包括:
    第二提示模块,用于在所述第一屏幕或者所述第二屏幕上显示用于提示用户将所述第一屏幕与所述第二屏幕相对放置的提示信息。
  13. 一种终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,所述处理器执行所述程序时实现如权利要求1-6任一项所述的屏幕解锁方法。
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1-6任一项所述的屏幕解锁方法中的步骤。
PCT/CN2020/082945 2019-04-11 2020-04-02 屏幕解锁方法及终端 Ceased WO2020207322A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910291130.8A CN110008684A (zh) 2019-04-11 2019-04-11 一种屏幕解锁方法及终端
CN201910291130.8 2019-04-11

Publications (1)

Publication Number Publication Date
WO2020207322A1 true WO2020207322A1 (zh) 2020-10-15

Family

ID=67171208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/082945 Ceased WO2020207322A1 (zh) 2019-04-11 2020-04-02 屏幕解锁方法及终端

Country Status (2)

Country Link
CN (1) CN110008684A (zh)
WO (1) WO2020207322A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008684A (zh) * 2019-04-11 2019-07-12 维沃移动通信有限公司 一种屏幕解锁方法及终端

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120098639A1 (en) * 2010-10-26 2012-04-26 Nokia Corporation Method and apparatus for providing a device unlock mechanism
CN104751034A (zh) * 2015-03-16 2015-07-01 联想(北京)有限公司 一种数据处理方法及电子设备
CN105872255A (zh) * 2016-05-31 2016-08-17 努比亚技术有限公司 一种实现快捷解锁的设备及方法
CN106126065A (zh) * 2016-06-29 2016-11-16 努比亚技术有限公司 一种移动终端及其双屏信息显示方法
CN110008684A (zh) * 2019-04-11 2019-07-12 维沃移动通信有限公司 一种屏幕解锁方法及终端

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9549323B2 (en) * 2012-12-03 2017-01-17 Samsung Electronics Co., Ltd. Method and mobile terminal for controlling screen lock
KR102247893B1 (ko) * 2014-08-08 2021-05-04 엘지전자 주식회사 이동 단말기 및 그것의 통신 시스템
CN104598186B (zh) * 2015-01-16 2018-09-04 广州三星通信技术研究有限公司 用于电子设备的操作的方法及电子设备
CN106303192B (zh) * 2015-05-25 2019-05-07 小米科技有限责任公司 终端控制方法及终端
CN109190356B (zh) * 2018-07-11 2021-01-22 维沃移动通信有限公司 一种屏幕解锁方法及终端
CN109286720A (zh) * 2018-08-01 2019-01-29 维沃移动通信有限公司 一种多屏幕移动终端的主屏幕选择方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120098639A1 (en) * 2010-10-26 2012-04-26 Nokia Corporation Method and apparatus for providing a device unlock mechanism
CN104751034A (zh) * 2015-03-16 2015-07-01 联想(北京)有限公司 一种数据处理方法及电子设备
CN105872255A (zh) * 2016-05-31 2016-08-17 努比亚技术有限公司 一种实现快捷解锁的设备及方法
CN106126065A (zh) * 2016-06-29 2016-11-16 努比亚技术有限公司 一种移动终端及其双屏信息显示方法
CN110008684A (zh) * 2019-04-11 2019-07-12 维沃移动通信有限公司 一种屏幕解锁方法及终端

Also Published As

Publication number Publication date
CN110008684A (zh) 2019-07-12

Similar Documents

Publication Publication Date Title
CN108052819B (zh) 一种人脸识别方法、移动终端及计算机可读存储介质
CN107704086A (zh) 一种移动终端操作方法及移动终端
WO2021169959A1 (zh) 应用程序启动方法及电子设备
WO2019154190A1 (zh) 人脸识别解锁控制方法和移动终端
CN108229420B (zh) 一种人脸识别方法、移动终端
CN111290810A (zh) 一种图像显示方法及电子设备
CN107742072A (zh) 人脸识别方法及移动终端
WO2020238451A1 (zh) 终端控制方法和终端
CN110673725A (zh) 可穿戴设备控制方法、可穿戴设备及计算机可读存储介质
WO2020199987A1 (zh) 信息显示方法及移动终端
CN108108111A (zh) 一种锁屏图片信息的查看方法、装置及移动终端
CN108491713B (zh) 一种安全提醒方法和电子设备
WO2021031695A1 (zh) 终端的控制方法及终端
CN107908983A (zh) 一种控制移动终端屏幕的方法和移动终端
CN111078002A (zh) 一种悬空手势识别方法及终端设备
CN110312035A (zh) 一种终端的控制方法、移动终端及计算机可读存储介质
WO2019101127A1 (zh) 生物识别模块处理方法、装置及移动终端
CN110826044B (zh) 一种解锁方法及电子设备
CN110096893B (zh) 一种对象限制方法及终端设备
WO2021083086A1 (zh) 信息处理方法及设备
CN111459352A (zh) 应用程序图标显示方法及电子设备
WO2020207322A1 (zh) 屏幕解锁方法及终端
CN111381753A (zh) 多媒体文件播放方法及电子设备
WO2020151510A1 (zh) 视频播放控制方法及终端
WO2020011071A1 (zh) 应用程序加锁方法、解锁方法及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20787532

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20787532

Country of ref document: EP

Kind code of ref document: A1