CN109753336B - Method for switching screen locking interface to desktop, electronic device and computer readable storage medium - Google Patents

Method for switching screen locking interface to desktop, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN109753336B
CN109753336B CN201910035055.9A CN201910035055A CN109753336B CN 109753336 B CN109753336 B CN 109753336B CN 201910035055 A CN201910035055 A CN 201910035055A CN 109753336 B CN109753336 B CN 109753336B
Authority
CN
China
Prior art keywords
screen
desktop
switching
locking interface
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910035055.9A
Other languages
Chinese (zh)
Other versions
CN109753336A (en
Inventor
姚智情
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910035055.9A priority Critical patent/CN109753336B/en
Publication of CN109753336A publication Critical patent/CN109753336A/en
Application granted granted Critical
Publication of CN109753336B publication Critical patent/CN109753336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

A method, an electronic device, and a computer-readable storage medium for switching from a lock screen interface to a desktop to reduce or eliminate flicker when switching from a lock screen interface to a desktop, the method comprising: detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received, wherein the screen locking interface is in a highlight mode under a screen before being switched to the desktop; if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint layer; and displaying the desktop switched from the current screen locking interface. In the technical scheme of the invention, the screen flicker is advanced when the screen is flickered, namely the screen is flickered when the screen is flicked out of the highlight mode under the screen, and the flickers are not leaked to the subsequently displayed desktop any more, so that the display effect when the screen locking interface is switched to the desktop is improved, and the use experience of a user is improved.

Description

Method for switching screen locking interface to desktop, electronic device and computer readable storage medium
Technical Field
The present disclosure relates to the field of optical fingerprints, and in particular, to a method for switching a lock screen interface to a desktop, an electronic device and a computer-readable storage medium.
Background
Optical fingerprint identification is the most widely used fingerprint identification technology at present, and the principle of the optical fingerprint identification is that a finger is placed on an optical lens, and the finger is projected to a charge coupled device by adopting a prism under the irradiation of a built-in light source, so that a digital multi-gray-scale fingerprint image with black ridge lines and white valleys and capable of being processed by a fingerprint device algorithm is formed. Based on the consideration of factors such as cost and precision, under the condition that the full-screen optical fingerprint identification of the terminal cannot be realized, the optical fingerprint identification at the fixed position of the screen is a feasible scheme. To indicate this fixed position to the user, an off-screen highlight mode is typically used to "illuminate" the lock screen interface.
For an underscreen fingerprint, switching from a screen-locking interface to a desktop in a bright screen or off screen state usually needs to maintain a frame of non-optical fingerprint layer, that is, a layer without an optical fingerprint, and the system exits the underscreen highlight mode at the frame of non-optical fingerprint layer.
However, due to reasons such as system delay, it is impossible to achieve the highlight mode just when the frame of the non-optical fingerprint layer exits from the screen, which causes flickering when switching from the screen locking interface to the desktop, and brings a poor use experience to the user.
Disclosure of Invention
The application provides a screen locking interface desktop switching method, an electronic device and a computer readable storage medium, so as to reduce or eliminate flicker when switching from a screen locking interface to a desktop.
A first aspect of the present application provides a method for switching between a lock screen interface and a desktop, including:
detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received, wherein the screen locking interface is in a highlight mode under a screen before being switched to the desktop;
if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint image layer;
and displaying the desktop switched from the current screen locking interface.
A second aspect of the present application provides a device for switching a lock screen interface to a desktop, including:
the device comprises a detection module, a display module and a display module, wherein the detection module is used for detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received or not, and the screen locking interface is in a highlight mode under a screen before being switched to the desktop;
the exit module is used for exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint image layer if a switching instruction for indicating switching from the current screen locking interface to the desktop is received;
and the display module is used for displaying the desktop switched from the current screen locking interface.
A third aspect of the present application provides an electronic apparatus comprising:
detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received, wherein the screen locking interface is in a highlight mode under a screen before being switched to the desktop;
if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint image layer;
and displaying the desktop switched from the current screen locking interface.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the method for switching between a screen locking interface and a desktop provided in the first aspect of the embodiment of the present application, and includes:
detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received, wherein the screen locking interface is in a highlight mode under a screen before being switched to the desktop;
if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint image layer;
and displaying the desktop switched from the current screen locking interface.
According to the technical scheme, if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, the screen lower highlight mode exits before the drawn non-optical fingerprint layer is displayed, and the screen flicker is advanced when the screen flicker occurs, namely the screen lower highlight mode exits, and the screen flicker does not leak to the subsequently displayed desktop any more because the screen lower highlight mode exits earlier than the desktop display, so that the display effect when switching from the screen locking interface to the desktop is improved, and the use experience of a user is improved.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a method for switching between a screen locking interface and a desktop according to an embodiment of the present application;
fig. 2 is a schematic view of a screen locking interface in a screen-up state according to an embodiment of the present application;
fig. 3 is a schematic view of a screen locking interface in a screen extinguishing state according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a device for switching a screen locking interface to a desktop according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a device for switching a screen locking interface to a desktop according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for switching a screen locking interface to a desktop according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a device for switching a screen locking interface to a desktop according to another embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method for switching a screen locking interface to a desktop, which is applied to an electronic device, wherein the electronic device can be a personal computer, a smart phone or a tablet computer.
Referring to fig. 1, a method for switching between a lock screen interface and a desktop in an embodiment of the present application mainly includes the following steps 101 to 103:
step 101, detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received, wherein the screen locking interface is in a screen highlight mode before switching to the desktop.
The screen locking interface is an interface presented to a user when the screen is in a locked state. In the embodiment of the present application, the screen-locking interface is in the under-screen highlight mode before being switched to the desktop, and the under-screen highlight mode is a light supplement method for the under-screen optical fingerprint, and specifically means that the backlight of the screen is lit by using a luminance that is greater than a normal backlight luminance (e.g., 5 to 430nit), for example, 460 to 600nit, so as to light the under-screen optical fingerprint icon. In the screen locking interface, whether a switching instruction for indicating switching from the current screen locking interface to the desktop is received or not can be detected according to whether the drive chip reports a screen pressing event or not. And if the screen pressing event is reported by the driving chip, detecting that a switching instruction for indicating switching from the current screen locking interface to the desktop is received.
And 102, if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint image layer.
As described above, in the screen locking interface, whether a switching instruction for instructing switching from the current screen locking interface to the desktop is received may be detected according to whether the driver chip reports a screen pressing event. Therefore, if the driver chip reports a screen pressing event, for example, a screen pressing event converted when a user finger presses the display position of the optical fingerprint icon, a switching instruction for instructing switching from the current screen locking interface to the desktop is received, which indicates that the current screen locking interface is being switched to the desktop.
In the prior art, the under-screen highlight mode exits from the frame of the non-optical fingerprint layer, however, due to system delay and other reasons, the exiting of the under-screen highlight mode and the inserting of the frame of the non-optical fingerprint layer cannot be synchronized, for example, the under-screen highlight mode exits after the frame of the non-optical fingerprint layer, which causes that when the under-screen highlight mode exits, the bright light is "leaked" to the desktop displayed subsequently, and the screen flickers. In order to solve the above problem, in the embodiment of the present application, if a switching instruction for instructing switching from the current screen locking interface to the desktop is received, the off-screen highlighting mode is exited before the drawn non-optical fingerprint layer is displayed.
As an embodiment of the present application, if a switching instruction for instructing switching from a current screen locking interface to a desktop is received, exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint layer may be: and if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, closing the control switch in the highlight mode under the screen through the sysfs node when the switching is carried out. And closing the control switch of the highlight mode under the screen, closing the mask at the same time, and exiting the highlight mode if the mask fails. The fact that exiting the highlight mode under the screen before displaying the drawn non-optical fingerprint layer can be realized by closing the control switch of the highlight mode under the screen through the sysfs node when switching is performed is based on the following fact: suppose that the time taken for the control switch for turning off the highlight mode under the screen through the sysfs node to exit the highlight mode under the screen when the switching is performed is T, and the time taken for switching from the screen locking interface to the desktop finally is T. Since the final switching from the screen locking interface to the desktop is subject to at least one frame of picture change, for example, a frame of picture of the non-optical fingerprint layer is displayed, the time T consumed by the process is greater than the time T consumed by exiting the under-screen highlight mode, so that the splash screen caused by exiting the under-screen highlight mode is well hidden before the screen locking interface is switched to the desktop.
In the embodiment of the present application, the screen locking interface includes a screen locking interface in a bright screen state and a screen locking interface in an off screen state, where the screen locking desktop in the bright screen state means that the screen is lit and the interface is in the screen locking state, as shown in fig. 2, and the screen locking interface in the off screen state means that the screen is off and the interface is in the screen locking state, as shown in fig. 3.
As another embodiment of the present application, if a switching instruction for instructing switching from a current screen locking interface to a desktop is received, exiting the under-screen highlighting mode before displaying the drawn non-optical fingerprint layer may be: if the current screen locking interface is in the screen off state and a switching instruction for indicating switching from the screen locking interface in the screen off state to the desktop is received, exiting the screen highlighting mode; the desktop is displayed late for the exit of the off-screen highlight mode. Because the screen is in the screen-off state and the desktop is displayed after the screen is in the screen-off highlight mode, the splash screen is hidden in the dark of the screen-off highlight mode, namely the splash screen is eliminated.
As another embodiment of the present application, if a switching instruction for instructing switching from a current screen locking interface to a desktop is received, exiting the under-screen highlighting mode before displaying the drawn non-optical fingerprint layer may be: and if the current screen locking interface is in the screen extinguishing state and a switching instruction for indicating switching from the screen locking interface in the screen extinguishing state to the desktop is received, displaying the non-optical fingerprint image layer drawn by at least two frames before the desktop is displayed, and exiting the under-screen highlight mode when the non-optical fingerprint image layer drawn by the last frame is displayed. Compared with the prior art, at least one frame of non-optical fingerprint layer is displayed before the desktop is displayed, so that the highlight mode exits when the last frame of non-optical fingerprint layer is displayed, the splash screen can be well hidden in the last frame of non-optical fingerprint layer, and equivalently, the splash screen is eliminated.
And 103, displaying the desktop switched from the current screen locking interface.
In this embodiment of the application, displaying the desktop switched from the current screen locking interface may be implemented by any existing technology, and details are not described here.
It can be known from the method for switching the screen locking interface to the desktop illustrated in fig. 1 that if a switching instruction for instructing switching from the current screen locking interface to the desktop is received, the screen-off highlight mode exits before the drawn non-optical fingerprint image layer is displayed, and since the screen-off highlight mode exits earlier than the desktop display, screen flicker will be advanced when a screen flicker occurs, that is, the screen flicker does not "leak" to the desktop displayed subsequently, so that the display effect when switching from the screen locking interface to the desktop is improved, and the use experience of the user is improved.
Fig. 4 is a diagram illustrating a device for switching between a lock screen interface and a desktop according to an embodiment of the present disclosure. The electronic device can be used for implementing the method for switching the screen locking interface to the desktop in the embodiment shown in fig. 1. As shown in fig. 4, the apparatus mainly includes a detection module 401, an exit module 402, and a display module 403, wherein:
the detecting module 401 is configured to detect whether a switching instruction for instructing switching from a current screen locking interface to a desktop is received, where the screen locking interface is in a highlight mode under a screen before switching to the desktop.
The screen locking interface is an interface presented to a user when the screen is in a locked state. In the embodiment of the present application, the screen-locking interface is in the under-screen highlight mode before being switched to the desktop, and the under-screen highlight mode is a light supplement method for the under-screen optical fingerprint, and specifically means that the backlight of the screen is lit by using a luminance that is greater than a normal backlight luminance (e.g., 5 to 430nit), for example, 460 to 600nit, so as to light the under-screen optical fingerprint icon. In the screen lock interface, the detection module 401 may detect whether a switching instruction for instructing switching from the current screen lock interface to the desktop is received according to whether the driver chip reports a screen press event. If the driver chip reports a screen pressing event, the detection module 401 detects that a switching instruction for instructing switching from the current screen locking interface to the desktop is received.
An exit module 402, configured to exit the off-screen highlight mode before displaying the drawn non-optical fingerprint layer if a switching instruction for instructing to switch from the current screen locking interface to the desktop is received.
As described above, in the screen locking interface, whether a switching instruction for instructing switching from the current screen locking interface to the desktop is received may be detected according to whether the driver chip reports a screen pressing event. Therefore, if the driver chip reports a screen pressing event, for example, a screen pressing event converted when a user finger presses the display position of the optical fingerprint icon, a switching instruction for instructing switching from the current screen locking interface to the desktop is received, which indicates that the current screen locking interface is being switched to the desktop.
In the prior art, the under-screen highlight mode exits from the frame of the non-optical fingerprint layer, however, due to system delay and other reasons, the exiting of the under-screen highlight mode and the inserting of the frame of the non-optical fingerprint layer cannot be synchronized, for example, the under-screen highlight mode exits after the frame of the non-optical fingerprint layer, which causes that when the under-screen highlight mode exits, the bright light is "leaked" to the desktop displayed subsequently, and the screen flickers. In order to solve the above problem, in this embodiment of the application, if the detection module 401 receives a switching instruction for instructing to switch from the current screen locking interface to the desktop, the exit module 402 exits the under-screen highlighting mode before displaying the drawn non-optical fingerprint layer.
And a display module 403, configured to display the desktop switched from the current screen locking interface.
It should be noted that, in the embodiment of the apparatus illustrated in fig. 4, the division of the functional modules is only an example, and in practical applications, the above functions may be distributed by different functional modules according to needs, for example, configuration requirements of corresponding hardware or convenience of implementation of software, that is, the internal structure of the electronic apparatus is divided into different functional modules to complete all or part of the functions described above. In practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to various embodiments provided in the present specification, and are not described in detail below.
For a specific process of each function module in the electronic device provided in this embodiment to implement each function, please refer to the specific contents described in the above method embodiments, which is not described herein again.
It can be seen from the above that, in the apparatus for switching a lock screen interface to a desktop in the embodiment of the present application, if a switching instruction for instructing switching from a current lock screen interface to a desktop is received, the highlight mode under the screen is exited before the drawn non-optical fingerprint image layer is displayed, since the highlight mode under the screen is exited earlier than the desktop display, which means that screen flicker when a splash occurs, i.e., the highlight mode under the screen is exited will be advanced, the splash screen is no longer "leaked" to the desktop that is displayed subsequently, thereby improving the display effect when switching from the lock screen interface to the desktop, and improving the use experience of a user.
Optionally, the exit module 402 illustrated in fig. 4 may include a closing unit 501, such as a device for switching between the lock screen interface and the desktop illustrated in fig. 5. The closing unit 501 is configured to close the control switch in the highlight mode in the screen through the sysfs node when switching is performed if a switching instruction for instructing switching from the current screen locking interface to the desktop is received. And closing the control switch of the highlight mode under the screen, closing the mask at the same time, and exiting the highlight mode if the mask fails. The closing unit 501 closes the control switch of the highlight mode under the screen through the sysfs node when the switching is performed, and the fact that the highlight mode under the screen exits before the drawn non-optical fingerprint layer is displayed can be realized based on: assuming that it takes T for the closing unit 501 to close the control switch of the under-screen highlight mode through the sysfs node to exit the under-screen highlight mode while the switching is in progress, and it takes T for the process to finally switch from the screen-locked interface to the desktop. Since the final switching from the screen locking interface to the desktop is subject to at least one frame of picture change, for example, a frame of picture of the non-optical fingerprint layer is displayed, the time T consumed by the process is greater than the time T consumed by exiting the under-screen highlight mode, so that the splash screen caused by exiting the under-screen highlight mode is well hidden before the screen locking interface is switched to the desktop.
In the embodiment of the present application, the screen locking interface includes a screen locking interface in a bright screen state and a screen locking interface in a dead screen state.
Optionally, the exit module 402 illustrated in fig. 4 may include a first highlighted exit unit 601 and a lagging display unit 602, such as the apparatus for switching between the lock screen interface and the desktop illustrated in fig. 6, where:
a first highlight exit unit 601, configured to exit the highlight mode under the screen if the current screen locking interface is the screen locking interface in the screen off state and a switching instruction for instructing switching from the screen locking interface in the screen off state to the desktop is received;
and a lag display unit 602, configured to lag the desktop from displaying when the off-screen highlight mode exits.
Optionally, the exit module 402 illustrated in fig. 4 may include an insertion unit 701 and a second highlighted exit unit 702, such as the device for switching the lock screen interface to the desktop illustrated in fig. 7, where:
the inserting unit 701 is configured to display at least two drawn non-optical fingerprint image layers before desktop display if the current screen locking interface is a screen locking interface in a screen off state and a switching instruction for instructing switching from the screen locking interface in the screen off state to a desktop is received;
and a second highlight exiting unit 702, configured to exit the off-screen highlight mode when the non-optical fingerprint layer drawn by the last frame is displayed.
Fig. 8 provides an electronic device according to an embodiment of the present application. The electronic device can be used for implementing the method for switching the screen locking interface to the desktop in the embodiment shown in fig. 1. As shown in fig. 8, the electronic device mainly includes:
a memory 801, a processor 802, and a computer program stored on the memory 801 and executable on the processor 802, which when executed by the processor 802, implement the method of switching between lock screen interface and desktop in fig. 1 or the illustrated embodiment.
Further, the electronic device further includes:
at least one input device 803 and at least one output device 804.
The memory 801, the processor 802, the input device 803, and the output device 804 are connected by a bus 805.
The input device 803 may be a camera, a touch panel, a physical button, or a mouse. The output device 804 may specifically be a display screen.
The Memory 801 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 801 is used to store a set of executable program code, and the processor 802 is coupled to the memory 801.
It can be seen from the above that, according to the device in the embodiment of the present application, if a switching instruction for instructing switching from a current screen locking interface to a desktop is received, the screen-off highlight mode is exited before the drawn non-optical fingerprint image layer is displayed, because the screen-off highlight mode is earlier than the desktop display, screen flicker occurring when a screen flash occurs, that is, the screen-off highlight mode is exited, will be advanced, the screen flash is no longer "leaked" to the desktop displayed subsequently, so that the display effect when switching from the screen locking interface to the desktop is improved, and the use experience of a user is improved.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 8. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method for switching between the lock screen interface and the desktop in the embodiment shown in fig. 1. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the method for switching between the lock screen interface and the desktop, the electronic device and the computer-readable storage medium provided by the present application, those skilled in the art will have changes in the detailed implementation and application scope according to the ideas of the embodiments of the present application.

Claims (10)

1. A method for switching between a screen locking interface and a desktop is characterized by comprising the following steps:
detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received, wherein the screen locking interface is in a highlight mode under a screen before being switched to the desktop;
if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint image layer;
and displaying the desktop switched from the current screen locking interface.
2. The method for switching from a lock screen interface to a desktop according to claim 1, wherein if a switching instruction indicating switching from a current lock screen interface to the desktop is received, exiting the under-screen highlight mode before displaying the rendered non-optical fingerprint layer comprises:
and if a switching instruction for indicating switching from the current screen locking interface to the desktop is received, closing the control switch of the highlight mode under the screen through the sysfs node when the switching is carried out.
3. The method for switching between the screen locking interface and the desktop according to claim 1, wherein the screen locking interface comprises a screen locking interface in a bright screen state and a screen locking interface in a dead screen state.
4. The method of claim 3, wherein if a switch instruction indicating switching from a current lock screen interface to the desktop is received, exiting the under-screen highlight mode before displaying the rendered non-optical fingerprint layer comprises:
if the current screen locking interface is in the screen off state and a switching instruction for indicating switching from the screen locking interface in the screen off state to the desktop is received, exiting the screen highlight mode;
the desktop is displayed later than when the off-screen highlight mode exits.
5. The method of claim 3, wherein if a switch instruction indicating switching from a current lock screen interface to the desktop is received, exiting the under-screen highlight mode before displaying the rendered non-optical fingerprint layer comprises:
if the current screen locking interface is in the screen off state and a switching instruction for indicating switching from the screen locking interface in the screen off state to the desktop is received, displaying at least two drawn non-optical fingerprint image layers before the desktop is displayed;
and exiting the under-screen highlight mode when the non-optical fingerprint layer drawn by the last frame is displayed.
6. A device for switching a screen locking interface to a desktop is characterized by comprising:
the device comprises a detection module, a display module and a display module, wherein the detection module is used for detecting whether a switching instruction for indicating switching from a current screen locking interface to a desktop is received or not, and the screen locking interface is in a highlight mode under a screen before being switched to the desktop;
the exit module is used for exiting the under-screen highlight mode before displaying the drawn non-optical fingerprint image layer if a switching instruction for indicating switching from the current screen locking interface to the desktop is received;
and the display module is used for displaying the desktop switched from the current screen locking interface.
7. The device for switching between lock screen interface and desktop according to claim 6, wherein the exit module comprises:
and the closing unit is used for closing the control switch of the highlight mode under the screen through the sysfs node when switching is carried out if a switching instruction for indicating switching from the current screen locking interface to the desktop is received.
8. The device for switching the lock screen interface to the desktop according to claim 6, wherein the lock screen interface includes a lock screen interface in a bright screen state and a lock screen interface in a dead screen state, and the exit module includes a first highlight exit unit and a lag display unit, or the exit module includes a layer display unit and a second highlight exit unit;
the first highlight exit unit is configured to exit the screen highlight mode if the current screen locking interface is a screen locking interface in the screen off state and a switching instruction for instructing switching from the screen locking interface in the screen off state to the desktop is received;
the lag display unit is used for displaying the desktop lag behind the exit of the screen highlight mode;
the layer display unit is configured to display at least two frames of drawn non-optical fingerprint layers before desktop display if the current screen locking interface is a screen locking interface in a screen off state and a switching instruction for instructing switching from the screen locking interface in the screen off state to the desktop is received;
and the second highlight exiting unit is used for exiting the under-screen highlight mode when the non-optical fingerprint layer drawn by the last frame is displayed.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201910035055.9A 2019-01-15 2019-01-15 Method for switching screen locking interface to desktop, electronic device and computer readable storage medium Active CN109753336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910035055.9A CN109753336B (en) 2019-01-15 2019-01-15 Method for switching screen locking interface to desktop, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910035055.9A CN109753336B (en) 2019-01-15 2019-01-15 Method for switching screen locking interface to desktop, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109753336A CN109753336A (en) 2019-05-14
CN109753336B true CN109753336B (en) 2022-05-17

Family

ID=66405461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910035055.9A Active CN109753336B (en) 2019-01-15 2019-01-15 Method for switching screen locking interface to desktop, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109753336B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933496B (en) * 2019-12-10 2021-07-23 Oppo广东移动通信有限公司 Image data frame insertion processing method and device, electronic equipment and storage medium
CN114265660B (en) * 2022-03-01 2022-05-03 成都鲁易科技有限公司 Desktop screen locking method and device, storage medium and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469058A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of unlocking screen method and mobile terminal
CN106569586A (en) * 2016-11-11 2017-04-19 奇酷互联网络科技(深圳)有限公司 Terminal device and method and apparatus thereof for turning off screen
EP3189473A1 (en) * 2014-09-06 2017-07-12 Shenzhen Huiding Technology Co., Ltd. Swipe motion registration on a fingerprint sensor
CN107422526A (en) * 2016-05-24 2017-12-01 南昌欧菲生物识别技术有限公司 Backlight module and electronic equipment
CN107527048A (en) * 2017-09-29 2017-12-29 广东欧珀移动通信有限公司 Fingerprint identification method, device, storage medium and mobile terminal
CN107943384A (en) * 2017-10-31 2018-04-20 努比亚技术有限公司 Terminal and its screens switch, lighting control method, computer-readable recording medium
CN108520241A (en) * 2018-04-11 2018-09-11 深圳市万普拉斯科技有限公司 Fingerprint collecting method, device based on optical finger print technology and user terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7877707B2 (en) * 2007-01-06 2011-01-25 Apple Inc. Detecting and interpreting real-world and security gestures on touch and hover sensitive devices
CN106203011B (en) * 2015-05-06 2020-08-25 腾讯科技(深圳)有限公司 Method and device for entering operating system desktop

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3189473A1 (en) * 2014-09-06 2017-07-12 Shenzhen Huiding Technology Co., Ltd. Swipe motion registration on a fingerprint sensor
CN107422526A (en) * 2016-05-24 2017-12-01 南昌欧菲生物识别技术有限公司 Backlight module and electronic equipment
CN106469058A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of unlocking screen method and mobile terminal
CN106569586A (en) * 2016-11-11 2017-04-19 奇酷互联网络科技(深圳)有限公司 Terminal device and method and apparatus thereof for turning off screen
CN107527048A (en) * 2017-09-29 2017-12-29 广东欧珀移动通信有限公司 Fingerprint identification method, device, storage medium and mobile terminal
CN107943384A (en) * 2017-10-31 2018-04-20 努比亚技术有限公司 Terminal and its screens switch, lighting control method, computer-readable recording medium
CN108520241A (en) * 2018-04-11 2018-09-11 深圳市万普拉斯科技有限公司 Fingerprint collecting method, device based on optical finger print technology and user terminal

Also Published As

Publication number Publication date
CN109753336A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
US11289053B2 (en) Method for correcting brightness of display panel and apparatus for correcting brightness of display panel
CN109791437B (en) Display device and control method thereof
EP2963913A1 (en) Shooting method and apparatus of electronic device, and electronic device
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN110457963B (en) Display control method, display control device, mobile terminal and computer-readable storage medium
US20180376121A1 (en) Method and electronic device for displaying panoramic image
CN109118447B (en) Picture processing method, picture processing device and terminal equipment
US20220067330A1 (en) Calibration method, electronic device, and non-transitory computer-readable storage medium
CN109753336B (en) Method for switching screen locking interface to desktop, electronic device and computer readable storage medium
CN108737739A (en) A kind of preview screen acquisition method, preview screen harvester and electronic equipment
CN113015007B (en) Video frame inserting method and device and electronic equipment
CN209859515U (en) Camera shooting display module and terminal equipment
CN112153436A (en) Screen recording method, device, equipment and storage medium
CN112835485A (en) Application interface processing method and device, electronic equipment and readable storage medium
CN110618852B (en) View processing method, view processing device and terminal equipment
CN111833809B (en) Display screen control method and device
CN112367486B (en) Video processing method and device
CN106851052B (en) Control method and electronic equipment
CN111901519B (en) Screen light supplement method and device and electronic equipment
CN109726695B (en) Optical fingerprint icon display method, electronic device and computer readable storage medium
CN112734661A (en) Image processing method and device
CN110430375A (en) Imaging method, device, storage medium and electronic equipment
CN113703592B (en) Secure input method and device
CN113726953B (en) Display content acquisition method and device
CN115562539A (en) Control display method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant