CN108304123B - Page display control method and related product - Google Patents
Page display control method and related product Download PDFInfo
- Publication number
- CN108304123B CN108304123B CN201810151310.1A CN201810151310A CN108304123B CN 108304123 B CN108304123 B CN 108304123B CN 201810151310 A CN201810151310 A CN 201810151310A CN 108304123 B CN108304123 B CN 108304123B
- Authority
- CN
- China
- Prior art keywords
- application
- preset
- interface
- electronic equipment
- electronic device
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000004590 computer program Methods 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 230000006399 behavior Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a page display control method and a related product, and the method comprises the steps of receiving a return instruction aiming at a target application when an electronic device is in a screen locking state, detecting whether the electronic device is in an unlocking state, if the electronic device is in the unlocking state, hiding an application interface of each application in a preset application set in a preset time period, and displaying a screen locking page of the electronic device. Therefore, in the process that the electronic equipment returns to the screen locking interface from the application interface of the target application in the screen locking state, the phenomenon of flickering of the display interface is avoided, and the user experience is improved.
Description
Technical Field
The application relates to the technical field of electronic equipment, in particular to a page display control method and a related product.
Background
With the widespread use of electronic devices (such as mobile phones, tablet computers, etc.), the electronic devices have more and more applications and more powerful functions, and the electronic devices are developed towards diversification and personalization, and become indispensable electronic products in the life of users.
At present, many electronic devices can provide some applications for use in the screen locking state, and a user does not need to unlock the electronic devices, that is, some applications are used in the screen locking state, such as emergency call and shooting applications, but when the user uses the applications, the electronic devices return to the screen locking interface, a phenomenon of flashing a desktop or an application interface occurs, and the flashing situation of the display interface can give a user a bad use experience, so that a problem of how to avoid the flashing of the display interface occurs in the process of returning the electronic devices to the screen locking interface is urgently needed to be solved.
Disclosure of Invention
The embodiment of the application provides a page display control method and a related product, which can avoid the phenomenon of display interface flickering in the process of returning an electronic device from an application interface of a target application to a screen locking interface in a screen locking state.
In a first aspect, an embodiment of the present application provides a page display control method, including:
receiving a return instruction aiming at a target application when the electronic equipment is in a screen locking state;
detecting whether the electronic equipment is in an unlocked state;
if the electronic equipment is not in the unlocked state, hiding an application interface of each application in a preset application set in a preset time period, and displaying a lock screen page of the electronic equipment.
In a second aspect, an embodiment of the present application provides a page display control apparatus, including:
the receiving unit is used for receiving a return instruction aiming at the target application when the electronic equipment is in a screen locking state;
the detection unit is used for detecting whether the electronic equipment is in an unlocked state;
and the processing unit is used for hiding the application interface of each application in a preset application set in a preset time period when the electronic equipment is in an unlocked state, and displaying a lock screen page of the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for some or all of the steps as described in the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is used to make a computer execute some or all of the steps described in the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that, in the page display control method and the related product described in the embodiments of the present application, in the method, a return instruction for a target application is received when an electronic device is in a screen lock state, and whether the electronic device is in an unlocked state is detected, if the electronic device is in the unlocked state, an application interface of each application in a preset application set is hidden within a preset time period, and a screen lock page of the electronic device is displayed. Therefore, in the process that the electronic equipment returns to the screen locking interface from the application interface of the target application in the screen locking state, the phenomenon of flickering of the display interface is avoided, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic illustration showing an application interface of an electronic device in a screen-locked state according to an embodiment of the present application;
fig. 1B is a schematic illustration of a demonstration of a lock screen page of an electronic device provided in an embodiment of the present application;
FIG. 1C is a schematic illustration of a demonstration of a flickering application interface of an electronic device according to an embodiment of the present application;
fig. 1D is a schematic flowchart of a page display control method disclosed in an embodiment of the present application;
fig. 1E is a schematic flowchart of a page display control method disclosed in an embodiment of the present application;
FIG. 2 is a schematic flowchart of another page display control method disclosed in the embodiments of the present application;
FIG. 3 is a schematic flowchart of another page display control method disclosed in the embodiments of the present application;
fig. 4A is a schematic structural diagram of a page display control apparatus according to an embodiment of the present application;
FIG. 4B is a schematic structural diagram of a modified structure of the page display control apparatus depicted in FIG. 4A according to an embodiment of the present disclosure;
FIG. 4C is a schematic structural diagram of a modified structure of the page display control apparatus depicted in FIG. 4B according to an embodiment of the present disclosure;
FIG. 4D is a schematic structural diagram of a modified structure of the page display control apparatus depicted in FIG. 4C according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another electronic device provided in the embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Referring to fig. 1A to fig. 1C, in an embodiment of the present application, fig. 1A is a schematic diagram illustrating an application interface of an electronic device in a screen lock state, where after a user uses a target application when the electronic device is in the screen lock state, a return instruction for the target application is triggered to return the electronic device to the screen lock page shown in fig. 1B, but in this process, an application interface may flash, so that the user sees the display interface shown in fig. 1C.
Referring to fig. 1D, fig. 1D is a schematic flow chart of a page display control method according to an embodiment of the present invention, where the page display control method described in this embodiment may include the following steps:
101. and receiving a return instruction aiming at the target application when the electronic equipment is in a screen locking state.
In this embodiment of the application, the target application is an application that is executed by the electronic device on the screen lock interface in the screen lock state, and the target application may be at least one of the following applications: the mobile terminal may further optionally include a camera application, an emergency call application, a calculator application, a WIFI network application, a GPS application, a clock application, a flashlight application, and the like, and the target application may be an existing application of the system when the electronic device leaves the factory, or an application downloaded by the user.
The return instruction is an instruction which is triggered by a user and used for indicating to close an application interface of a target application and enabling the electronic device to return to a screen locking page, and the mode for triggering the return instruction by the user can be that a virtual key on a touch display screen is clicked or a physical key of the electronic device is clicked, for example, the return instruction can be an hang-up operation instruction for hanging up and returning the screen locking page on a call interface, can be an instruction for returning to the screen locking interface by clicking a home key on a display interface of a calculator application, or can be an instruction for returning to the screen locking interface by clicking a return (back) key on a photographing interface of a photographing application; optionally, the method for the user to trigger the return instruction may also be that the return instruction is triggered by voice or an operation behavior of the electronic device held by the user, specifically, the operation behavior is implemented by the electronic device held by the user, the operation behavior of the user may be detected by a motion sensor of the electronic device, motion data of the operation behavior is obtained, and a corresponding return instruction is matched according to the motion data.
102. Detecting whether the electronic equipment is in an unlocked state.
In this embodiment of the application, the non-unlocked state may include a state in which the electronic device does not receive the unlocking instruction after receiving the return instruction, or a state in which the electronic device receives the unlocking instruction after receiving the return instruction but the unlocking fails, and specifically, the manner of receiving the unlocking instruction may include any one of the following: touch unlocking, such as key unlocking and slide unlocking; for example, when a camera of the electronic device detects a face of a user, the electronic device may be caused to execute an unlocking operation, and if the electronic device does not receive an unlocking instruction or receives an unlocking instruction but fails to unlock, it indicates that the electronic device may execute an operation after unlocking: displaying the display interface after unlocking, for example, displaying a desktop of the electronic device or displaying an application interface applied below the lock screen interface, so that it is necessary to detect whether the electronic device is in an unlocked state.
103. If the electronic equipment is not in the unlocked state, hiding an application interface of each application in a preset application set in a preset time period, and displaying a lock screen page of the electronic equipment.
In this embodiment of the application, the preset application set may include applications currently running on the electronic device, and specifically include applications running above the lock screen interface and applications running below the lock screen interface. Optionally, the application set may be all applications in the electronic device, so as to avoid a flicker of an application interface of any one of the applications.
The preset time period may be determined according to the number of applications included in the preset application set, specifically, the larger the number of applications is, the longer the preset time period is, and when the number of applications running on the electronic device is larger, the longer the preset time period is, and the preset time period may be, for example, 0.5s, 0.3s, and the like.
In the embodiment of the application, if the electronic device is in an unlocked state, it is indicated that the electronic device needs to return to the screen locking page, and at this time, the application interface of each application in the preset application set can be prevented from flickering by hiding the application interface of each application in the preset application set.
Optionally, in step 103, hiding the application interface of each application in the preset application set within a preset time period includes:
a1, acquiring the loading duration of an application interface of each application in a preset application set;
a2 and the loading duration determine the hidden priority of each application in the preset application set, wherein the shorter the loading duration is, the higher the priority is;
and A3, hiding the application interface of each application in a preset application set in the preset time period according to the hiding priority.
In the embodiment of the application, the average value of the historical loading duration of each application in the preset application set can be obtained by counting the historical loading duration of each application in the preset application set in advance, each application corresponds to an average value, the average value can be used as the loading duration of the corresponding application, optionally, because the loading duration of the application in the electronic device is possibly influenced by the running application, the loading duration of the application corresponding to each average value can be determined according to the average value and the number of the applications contained in the preset application set, specifically, the influence parameter corresponding to the number of the applications is determined, and the loading duration of the corresponding application is calculated according to the average value and the influence parameter, so that the loading duration of the application interface can be accurately obtained when more or less applications are contained in the preset application set.
The hidden priority of each application is set, the shorter the loading time is, the higher the priority is, the application with longer loading time can be processed preferentially, and under the condition that a plurality of applications are processed simultaneously, all the applications in the preset application set can be hidden in the shortest time.
Referring to fig. 1E in a manner consistent with fig. 1D, fig. 1E is a schematic flowchart of another page display control method provided in an embodiment of the present application, and as shown in fig. 1E, when the return instruction is an instruction that a user hangs up on a call interface, clicks a home key, and clicks a back key to return to a lock screen page, it may be detected whether the return instruction is an instruction that an electronic device is in a lock screen state, and if not, the process is ended.
If the return instruction is an instruction that the electronic equipment is in a screen locking state, detecting whether the electronic equipment is in an unlocked state, if not, displaying an unlocked display interface, and ending the process; if the electronic equipment is not in the non-unlocking state, hiding the application interface of each application in the preset application set in a preset time period, and displaying the lock screen page of the electronic equipment, so that the application interface can be prevented from flickering when the lock screen interface is displayed, and after 0.5s, the application interface of each application in the preset application set is refreshed, so that the application interface of each application in the preset application set can be normally displayed after the subsequent electronic equipment executes unlocking operation.
In the embodiment of the application, the application interface of each application in the preset application set is set to be in an invisible state, the control parameter for refreshing the application interfaces of all the applications can be set to be the first parameter within a preset time period, and the first parameter is used for interrupting the operation of refreshing the application interfaces of all the applications in the preset application set.
Optionally, after the screen locking page of the electronic device is displayed, that is, after the risk of display interface flickering is released, the application interface of each application in the preset application set may be refreshed, so that the preset application set is restored to a normal visible state.
It can be seen that, in the page display control method described in the embodiment of the present application, a return instruction for a target application is received when an electronic device is in a screen lock state, and whether the electronic device is in an unlocked state is detected, if the electronic device is in the unlocked state, an application interface of each application in a preset application set is hidden within a preset time period, and a screen lock page of the electronic device is displayed. Therefore, in the process that the electronic equipment returns to the screen locking interface from the application interface of the target application in the screen locking state, the phenomenon of flickering of the display interface is avoided, and the user experience is improved.
In accordance with the above, please refer to fig. 2, which is a flowchart illustrating an embodiment of a page display control method according to an embodiment of the present application. The page display control method described in this embodiment may include the following steps:
201. and receiving a return instruction aiming at the target application when the electronic equipment is in a screen locking state.
The specific description of step 201 may refer to the corresponding steps of the page display control method described in fig. 1D, and is not repeated herein.
202. Biometric information is acquired.
In an embodiment of the present application, the biometric information may include any one of: the electronic equipment can acquire any one of the biological identification information through the sensor component to trigger an unlocking instruction, so that the unlocking operation is executed.
203. And matching the biological identification information with a preset biological identification information template.
In the embodiment of the application, a biometric information template may be stored in advance, specifically, the biometric information of the user may be collected by a pre-collection device to serve as a preset biometric information template, the currently obtained biometric information is processed to obtain data to be matched, the data to be matched is matched with the preset biometric information template to obtain a matching value, if the matching value is greater than a preset threshold value, it is indicated that the matching is successful, otherwise, it is indicated that the matching of the biometric information is failed.
204. And when the matching of the biological identification information and the preset biological identification information template fails, determining that the electronic equipment is in an unlocked state.
In the embodiment of the application, if the biometric information is successfully matched, the electronic device executes an unlocking process, and if the biometric information is unsuccessfully matched, the electronic device is in an unlocked state, and the electronic device can return to the lock screen page based on a return instruction triggered by a user.
205. Hiding an application interface of each application in a preset application set in a preset time period, and displaying a screen locking page of the electronic equipment.
Optionally, a plurality of third-party applications running in the background may be acquired, and the plurality of third-party applications are taken as the preset application set; the hiding of the application interface of each application in the preset application set in the preset time period may specifically include:
and setting an application interface of each application in the preset application set to be in an invisible state.
The third-party application can comprise an application installed by a user in the electronic equipment, and under the condition that the third-party application runs in a background, the electronic equipment returns to the lock screen page from the target application, and the phenomenon of flickering of an application interface of the third-party application can occur.
It can be seen that, in the page display control method described in the embodiment of the present application, when the electronic device is in the screen lock state, a return instruction for a target application is received, biometric information is acquired, the biometric information is matched with a preset biometric information template, when the biometric information fails to be matched with the preset biometric information template, it is determined that the electronic device is in the non-unlock state, an application interface of each application in a preset application set is hidden within a preset time period, a screen lock page of the electronic device is displayed, whether the electronic device is in the non-unlock state is detected, and if the electronic device is in the non-unlock state, an application interface of each application in the preset application set is hidden within the preset time period, and the screen lock page of the electronic device is displayed. Therefore, in the process that the electronic equipment returns to the screen locking interface from the application interface of the target application in the screen locking state, the phenomenon of flickering of the display interface is avoided, and the user experience is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another page display control method according to an embodiment of the present disclosure. The page display control method described in this embodiment may include the following steps:
301. a return instruction for the target application is received.
302. And detecting whether the return instruction is an instruction of the electronic equipment in a screen locking state.
In the embodiment of the application, in order to distinguish the return instruction from the return instruction when the electronic device is in the unlock state, after the electronic device receives the return instruction, whether the electronic device is in the lock screen state may be determined, and then an operation of detecting that the electronic device returns to the lock screen page may be performed.
303. And if the return instruction is an instruction in a screen locking state, acquiring the biological identification information.
304. And matching the biological identification information with a preset biological identification information template.
305. And when the matching of the biological identification information and the preset biological identification information template fails, determining that the electronic equipment is in an unlocked state.
306. The method comprises the steps of obtaining loading duration of an application interface of each application in a preset application set, and determining hidden priority of each application in the preset application set according to the loading duration, wherein the shorter the loading duration is, the higher the priority is.
307. And hiding the application interface of each application in a preset application set in the preset time period according to the hiding priority, and displaying a lock screen page of the electronic equipment.
308. And after the screen locking page of the electronic equipment is displayed, refreshing an application interface of each application in the preset application set.
After the electronic device displays the screen locking page, the risk of the display interface of the electronic device flickering is removed, the operation of refreshing the application interface of each application in the preset application set can be executed in a restorable manner, specifically, the control parameter for refreshing the application interfaces of all applications in the preset application set can be set as the second parameter, and the application interfaces of the applications are controlled to be refreshed in sequence, so that the application interfaces of each application in the preset application set can be normally displayed after the subsequent electronic device is unlocked.
It can be seen that, in the page display control method described in the embodiment of the present application, by receiving a return instruction for a target application, detecting whether the return instruction is an instruction that an electronic device is in a screen-locked state, if the return instruction is the instruction that the electronic device is in the screen-locked state, acquiring biometric information, matching the biometric information with a preset biometric information template, determining that the electronic device is in an unlocked state when the biometric information is unsuccessfully matched with the preset biometric information template, acquiring a loading duration of an application interface of each application in a preset application set, and determining a hiding priority of each application in the preset application set according to the loading duration, wherein the shorter the loading duration is, the higher the priority is, the application interface of each application in the preset application set is hidden within a preset duration according to the hiding priority, and after a screen-locked page of the electronic device is displayed, the application interface of each application in the preset application set is refreshed, so that the phenomenon of display interface flickering is avoided in the process that the electronic equipment returns to the screen locking interface from the application interface of the target application in the screen locking state, and user experience is improved.
In accordance with the above, the following is an embodiment of the apparatus for performing the method in the embodiment of the method for performing the present application, and for convenience of description, only the relevant portions of the embodiment of the present application are shown, and specific technical details are not disclosed, please refer to the above embodiment of the method for performing the present application.
Referring to fig. 4A, fig. 4A is a schematic structural diagram of a page display control device according to an embodiment of the present application, and as shown in fig. 4, the page display control device may include: a receiving unit 401, a receiving unit 402, and a processing unit 403, wherein,
the receiving unit 401 is configured to receive a return instruction for a target application when the electronic device is in a screen lock state;
a detecting unit 402, configured to detect whether the electronic device is in an unlocked state;
the processing unit 403 is configured to hide an application interface of each application in a preset application set within a preset time period when the electronic device is in an unlocked state, and display a lock screen page of the electronic device.
Optionally, in terms of hiding an application interface of each application in a preset application set within a preset time period, the processing unit 403 is specifically configured to:
acquiring the loading time of an application interface of each application in a preset application set;
the loading duration determines the hidden priority of each application in the preset application set, wherein the shorter the loading duration is, the higher the priority is;
and hiding the application interface of each application in a preset application set in the preset time period according to the hiding priority.
Optionally, referring to fig. 4B, fig. 4B is a schematic structural diagram of a page display control apparatus provided in an embodiment of the present application, where the page display control apparatus shown in fig. 4B is further optimized on the basis of the page display control apparatus shown in fig. 4A, and compared with the page display control apparatus shown in fig. 4A, the page display control apparatus shown in fig. 4B includes, in addition to all units of the page display control apparatus shown in fig. 4A, further:
a first obtaining unit 404, configured to obtain a plurality of third-party applications running in a background, where the plurality of third-party applications are used as the preset application set;
in terms of hiding the application interface of each application in the preset application set within the preset time period, the processing unit 403 is specifically configured to:
setting an application interface of each application in the preset application set to be in an invisible state within a preset time period.
Optionally, referring to fig. 4C, fig. 4C is a schematic structural diagram of a page display control apparatus provided in an embodiment of the present application, where the page display control apparatus shown in fig. 4C is further optimized on the basis of the electronic device shown in fig. 4B, and compared with the apparatus shown in fig. 4B, the apparatus shown in fig. 4C includes, in addition to all units of the apparatus shown in fig. 4B, further:
a second acquisition unit 405 configured to acquire biometric information when receiving the return instruction;
the detecting unit 402 is further configured to:
matching the biological identification information with a preset biological identification information template;
and when the matching of the biological identification information and the preset biological identification information template fails, determining that the electronic equipment is in an unlocked state.
Optionally, referring to fig. 4D, fig. 4D is a schematic structural diagram of a page display control device according to an embodiment of the present application, where the page display control device shown in fig. 4D is further optimized on the basis of the page display control device shown in fig. 4C, and compared with the device shown in fig. 4C, the device shown in fig. 4D includes, besides all units of the device shown in fig. 4C, further:
a refreshing unit 406, configured to refresh an application interface of each application in the preset application set after the lock screen page of the electronic device is displayed.
It can be seen that, the page display control apparatus described in the embodiment of the present application, by receiving a return instruction for a target application, detects whether the return instruction is an instruction that an electronic device is in a screen lock state, and if the return instruction is the instruction that the electronic device is in the screen lock state, acquires biometric information, matches the biometric information with a preset biometric information template, determines that the electronic device is in an unlock state when the biometric information fails to match with the preset biometric information template, acquires a loading duration of an application interface of each application in a preset application set, and determines a hiding priority of each application in the preset application set for the loading duration, where the shorter the loading duration is, the higher the priority is, according to the hiding priority, the application interface of each application in the preset application set is hidden within a preset period, and after a screen lock page of the electronic device is displayed, the application interface of each application in the preset application set is refreshed, so that the phenomenon of display interface flickering is avoided in the process that the electronic equipment returns to the screen locking interface from the application interface of the target application in the screen locking state, and user experience is improved.
In accordance with the above, please refer to fig. 5, fig. 5 is an electronic device according to an embodiment of the present application, the electronic device includes: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of:
receiving a return instruction aiming at a target application when the electronic equipment is in a screen locking state;
detecting whether the electronic equipment is in an unlocked state;
if the electronic equipment is not in the unlocked state, hiding an application interface of each application in a preset application set in a preset time period, and displaying a lock screen page of the electronic equipment.
In one possible example, in hiding the application interface aspect of each application in the preset set of applications for a preset period of time, the program includes instructions for:
acquiring the loading time of an application interface of each application in a preset application set;
the loading duration determines the hidden priority of each application in the preset application set, wherein the shorter the loading duration is, the higher the priority is;
and hiding the application interface of each application in a preset application set in the preset time period according to the hiding priority.
In one possible example, the program includes instructions for performing the steps of:
acquiring a plurality of third-party applications running in a background, and taking the plurality of third-party applications as the preset application set;
in the aspect of hiding the application interface of each application in the preset application set for the preset time period, the program includes instructions for:
and setting an application interface of each application in the preset application set to be in an invisible state.
In one possible example, the program includes instructions for performing the steps of:
acquiring biometric information when receiving the return instruction;
in the detecting whether the electronic device is in an unlocked state, the program includes instructions for:
matching the biological identification information with a preset biological identification information template;
and when the matching of the biological identification information and the preset biological identification information template fails, determining that the electronic equipment is in an unlocked state.
In one possible example, the program further comprises instructions for performing the steps of:
and after the screen locking page of the electronic equipment is displayed, refreshing an application interface of each application in the preset application set.
As shown in fig. 6, for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiments of the present application. The electronic device may be any terminal device including a mobile phone, a tablet computer, a PDA (personal digital assistant), a POS (point of sales), a vehicle-mounted computer, etc., taking the electronic device as the mobile phone as an example:
the electronic device 6000 as shown in fig. 6 includes: at least one processor 6011, a memory 6012, communication interfaces (including SIM interface 6014, audio input interface 6015, serial interface 6016, and other communication interfaces 6017), a signal processing module 6013 (including receiver 6018, transmitter 6019, LOs6020, and signal processor 6021), and input-output modules (including display 6022, speakers 6023, microphone 6024, sensors 6025, etc.). Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the electronic device in detail with reference to fig. 6:
the processor 6011 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 6012 and calling data stored in the memory, thereby integrally monitoring the electronic device. Alternatively, the processor may integrate an application processor (e.g., CPU, or GPU) that primarily handles operating systems, user interfaces, application programs, and the like, and a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor.
The processor 6011 is configured to perform the following steps:
receiving a return instruction aiming at a target application when the electronic equipment is in a screen locking state;
detecting whether the electronic equipment is in an unlocked state;
if the electronic equipment is not in the unlocked state, hiding an application interface of each application in a preset application set in a preset time period, and displaying a lock screen page of the electronic equipment.
The memory 6012 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or another volatile solid-state storage device, in this embodiment, the memory 6012 may be configured to store a preset biometric information template.
The communication interface is used for performing communication connection with an external device, and includes a SIM interface 6014, an audio input interface 6015, a serial interface 6016, and another communication interface 6017.
The input-output module 6010 may include a display 6022, a speaker 6023, a microphone 6024, sensors 6025, etc., wherein the sensors 6025 may include light sensors, motion sensors, brain wave sensors, and other sensors. Specifically, the light sensor may include an environment sensor and a proximity sensor, wherein the environment sensor may adjust brightness of the touch display screen according to brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. The motion sensor may be, for example, an accelerometer sensor, which can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like. Optionally, the motion sensor in this embodiment of the application may be configured to collect motion data of a user performing a preset operation behavior, and send the motion data to the processor 6011.
The signal processing module 6013 is configured to process a signal received by the electronic device from an external device and send the signal to the external device, where the external device may be a base station, for example, the receiver 6018 is configured to receive a signal sent by the external device, for example, a signal sent by the base station or a router, and transmit the signal to the signal processor 6021, and the transmitter 6019 is configured to transmit the signal output by the signal processor 6021.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiments shown in fig. 1D or fig. 2 and fig. 3, the method flows of the steps may be implemented based on the structure of the electronic device.
In the embodiments shown in fig. 4A to 4D and fig. 5, the functions of the units can be implemented based on the structure of the mobile phone.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute part or all of the steps of any one of the page display control methods described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any one of the page display control methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the 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 foregoing 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 the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be 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 of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several 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 described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A page display control method is characterized by comprising the following steps:
receiving a return instruction aiming at a target application when the electronic equipment is in a screen locking state;
detecting whether the electronic equipment is in an unlocked state;
if the electronic equipment is in an unlocked state, hiding an application interface of each application in a preset application set in a preset time period, and displaying a lock screen page of the electronic equipment; the preset application set comprises applications running above a screen locking interface and applications running below the screen locking interface; hiding an application interface of each application in a preset application set in a preset time period comprises the following steps: and setting an application interface of each application in the preset application set to be in an invisible state.
2. The method according to claim 1, wherein hiding the application interface of each application in the preset application set for a preset period of time comprises:
acquiring the loading time of an application interface of each application in a preset application set;
the loading duration determines the hidden priority of each application in the preset application set, wherein the shorter the loading duration is, the higher the priority is;
and hiding the application interface of each application in a preset application set in the preset time period according to the hiding priority.
3. The method according to any one of claims 1 to 2, further comprising:
acquiring biometric information when receiving the return instruction;
the detecting whether the electronic device is in an unlocked state includes:
matching the biological identification information with a preset biological identification information template;
and when the matching of the biological identification information and the preset biological identification information template fails, determining that the electronic equipment is in an unlocked state.
4. The method of any of claims 1-2, wherein after the presenting the lockscreen page of the electronic device, the method further comprises:
and refreshing the application interface of each application in the preset application set.
5. A page display control apparatus, comprising:
the receiving unit is used for receiving a return instruction aiming at the target application when the electronic equipment is in a screen locking state;
the detection unit is used for detecting whether the electronic equipment is in an unlocked state;
the processing unit is used for hiding an application interface of each application in a preset application set in a preset time period when the electronic equipment is in an unlocked state, and displaying a lock screen page of the electronic equipment; the preset application set comprises applications running above a screen locking interface and applications running below the screen locking interface; hiding an application interface of each application in a preset application set in a preset time period comprises the following steps: and setting an application interface of each application in the preset application set to be in an invisible state.
6. The apparatus according to claim 5, wherein the hiding of the application interface aspect of each application in the preset application set within the preset time period is specifically configured to:
acquiring the loading time of an application interface of each application in a preset application set;
the loading duration determines the hidden priority of each application in the preset application set, wherein the shorter the loading duration is, the higher the priority is;
and hiding the application interface of each application in a preset application set in the preset time period according to the hiding priority.
7. The apparatus of any of claims 5 to 6, further comprising:
a second acquisition unit configured to acquire biometric information when receiving the return instruction;
the detection unit is further configured to:
matching the biological identification information with a preset biological identification information template;
and when the matching of the biological identification information and the preset biological identification information template fails, determining that the electronic equipment is in an unlocked state.
8. The apparatus of any of claims 5 to 6, further comprising:
and the refreshing unit is used for refreshing the application interface of each application in the preset application set after the screen locking page of the electronic equipment is displayed.
9. An electronic device, comprising: a processor and a memory; and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for the method of any of claims 1-4.
10. A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810151310.1A CN108304123B (en) | 2018-02-14 | 2018-02-14 | Page display control method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810151310.1A CN108304123B (en) | 2018-02-14 | 2018-02-14 | Page display control method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108304123A CN108304123A (en) | 2018-07-20 |
CN108304123B true CN108304123B (en) | 2021-07-13 |
Family
ID=62865116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810151310.1A Expired - Fee Related CN108304123B (en) | 2018-02-14 | 2018-02-14 | Page display control method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108304123B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889664A (en) * | 2019-02-26 | 2019-06-14 | 上海连尚网络科技有限公司 | It is a kind of for providing the method and apparatus of the locking screen interface of application on a user device |
CN115334191B (en) * | 2021-05-10 | 2023-10-20 | 博泰车联网科技(上海)股份有限公司 | Control method, storage medium and electronic device |
CN113778580B (en) * | 2021-07-28 | 2023-12-08 | 赤子城网络技术(北京)有限公司 | Modal user interface display method, electronic device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019542A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for quickly photographing under screen locking interface |
CN105791537A (en) * | 2016-02-16 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | System and method for starting or closing application |
KR20160106246A (en) * | 2015-03-02 | 2016-09-12 | 옥윤선 | Method for screen locking/unlocking, and driving application with simultaneous touch mode using dual touch panel, and terminal for the same |
CN106250025A (en) * | 2016-08-04 | 2016-12-21 | 北京奇虎科技有限公司 | The method of camera, device and mobile terminal is called under screen lock state |
CN106250152A (en) * | 2016-07-29 | 2016-12-21 | 北京金山安全软件有限公司 | Mobile terminal control method and device and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5762944B2 (en) * | 2011-12-28 | 2015-08-12 | 京セラ株式会社 | Apparatus, method, and program |
-
2018
- 2018-02-14 CN CN201810151310.1A patent/CN108304123B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019542A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method for quickly photographing under screen locking interface |
KR20160106246A (en) * | 2015-03-02 | 2016-09-12 | 옥윤선 | Method for screen locking/unlocking, and driving application with simultaneous touch mode using dual touch panel, and terminal for the same |
CN105791537A (en) * | 2016-02-16 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | System and method for starting or closing application |
CN106250152A (en) * | 2016-07-29 | 2016-12-21 | 北京金山安全软件有限公司 | Mobile terminal control method and device and mobile terminal |
CN106250025A (en) * | 2016-08-04 | 2016-12-21 | 北京奇虎科技有限公司 | The method of camera, device and mobile terminal is called under screen lock state |
Also Published As
Publication number | Publication date |
---|---|
CN108304123A (en) | 2018-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108550353B (en) | Brightness adjusting method and related product | |
CN107643977B (en) | Anti-addiction method and related product | |
EP3162284A1 (en) | Communication method, apparatus and system for wearable device | |
CN106250091B (en) | Information display method and mobile terminal | |
CN108646970B (en) | Display control method and related product | |
US10451648B2 (en) | Sensor control switch | |
CN108304123B (en) | Page display control method and related product | |
CN104992096A (en) | Data protection method and mobile terminal | |
CN107908939B (en) | Terminal alarm method and device and mobile terminal | |
EP3594848A1 (en) | Queue information acquisition method, device and computer readable storage medium | |
EP3261046A1 (en) | Method and device for image processing | |
CN108762613B (en) | State icon display method and mobile terminal | |
CN105681657A (en) | Shooting focusing method and terminal device | |
CN107832067B (en) | Application updating method, mobile terminal and computer readable storage medium | |
CN105162979A (en) | Incoming call mute control method and smartwatch | |
CN108028989B (en) | Method of detecting external device and electronic device processing the same | |
CN107895108B (en) | Operation management method and mobile terminal | |
US20190080152A1 (en) | Method for collecting facial information and related products | |
EP3001652B1 (en) | Method for providing information and an electronic device thereof | |
CN109902232B (en) | Display control method and terminal | |
CN109040457B (en) | Screen brightness adjusting method and mobile terminal | |
CN107862190B (en) | Reminding method and related product | |
CN105607736A (en) | Information display method and terminal | |
CN107273173B (en) | Fingerprint sensor control method and device and storage medium | |
CN108710789A (en) | A kind of unlocking method and terminal device |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: No.18, Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210713 |
|
CF01 | Termination of patent right due to non-payment of annual fee |