CN108733428B - Screen display control method and device - Google Patents

Screen display control method and device Download PDF

Info

Publication number
CN108733428B
CN108733428B CN201810445249.1A CN201810445249A CN108733428B CN 108733428 B CN108733428 B CN 108733428B CN 201810445249 A CN201810445249 A CN 201810445249A CN 108733428 B CN108733428 B CN 108733428B
Authority
CN
China
Prior art keywords
mobile terminal
application program
layer data
screen
application
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
CN201810445249.1A
Other languages
Chinese (zh)
Other versions
CN108733428A (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 CN201810445249.1A priority Critical patent/CN108733428B/en
Publication of CN108733428A publication Critical patent/CN108733428A/en
Application granted granted Critical
Publication of CN108733428B publication Critical patent/CN108733428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Abstract

The embodiment of the application discloses a screen display control method and device. The method comprises the following steps: when detecting that the mobile terminal enters a screen-off display AOD mode, determining an application program operated by a foreground; when the application program is detected to be a preset application program, storing layer data of an application interface currently displayed by the application program; when the mobile terminal is detected to enter an unlocking and screen-lighting mode from the AOD mode, the layer data is obtained; and loading the layer data to redisplay the application interface. The embodiment of the application is favorable for rapidly displaying the application interface before the screen is locked when the mobile terminal enters the unlocking screen-lighting mode from the AOD mode, and avoids the phenomena of screen blockage, screen flashing and screen splash.

Description

Screen display control method and device
Technical Field
The application relates to the technical field of mobile terminals, in particular to a screen display control method and device.
Background
With the rapid development of related technologies of smart phones, the functions of smart phones are more and more abundant and diversified, users can check smart phones for many times every day, and most of the time is just for checking time and notification, so that for the convenience of users to obtain information, many smart phones are added with an off-screen display (AOD) function, so that when the smart phones are in a locked state, partial areas of the screen are kept on for long time to display information such as time and notification, and for users who are used to check time with smart phones, the mobile phone screens do not need to be frequently lighted, and the smart phones are very convenient and fast.
Disclosure of Invention
The embodiment of the application provides a screen display control method and device, which can avoid the situations of screen jamming, screen flashing and screen blooming when a mobile terminal enters an unlocking and screen-lighting mode from an AOD mode.
In a first aspect, an embodiment of the present application provides a screen display control method, which is applied to a mobile terminal, and the method includes:
when detecting that the mobile terminal enters a screen-off display AOD mode, determining an application program operated by a foreground;
when the application program is detected to be a preset application program, storing layer data of an application interface currently displayed by the application program;
when the mobile terminal is detected to enter an unlocking and screen-lighting mode from the AOD mode, the layer data is obtained;
and loading the layer data to redisplay the application interface.
In a second aspect, an embodiment of the present application provides a screen display control method, including a determining unit, a storing unit, an obtaining unit, and a processing unit,
the determining unit is used for determining the application program operated in the foreground when the mobile terminal is detected to enter the screen-off display AOD mode;
the storage unit is used for storing the layer data of the application interface currently displayed by the application program when the application program is detected to be a preset application program;
the obtaining unit is configured to obtain the layer data when it is detected that the mobile terminal enters an unlocking bright-screen mode from the AOD mode;
and the processing unit is used for loading the layer data to redisplay the application interface.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in any of the methods of the first aspect of the embodiments of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in any one of the methods of the first aspect or the second aspect of the embodiments of the present application.
It can be seen that, in the embodiment of the present application, the mobile terminal first determines an application program running in a foreground when detecting that the mobile terminal enters the screen-off display AOD mode, then stores layer data of an application interface currently displayed by the application program when detecting that the application program is a preset application program, then acquires the layer data when detecting that the mobile terminal enters the screen-on unlocking mode from the AOD mode, and finally loads the layer data to redisplay the application interface. The mobile terminal stores the layer data of the application interface of the preset application program running in the foreground when entering the AOD mode, and directly displays the stored layer data of the application interface when entering the unlocking screen-lighting mode from the AOD mode, so that the mobile terminal can quickly display the application interface after the screen is lighted, and the phenomena of blockage, screen flashing and screen blooming are avoided.
Drawings
Reference will now be made in brief to the accompanying drawings, to which embodiments of the present application relate.
Fig. 1 is a schematic flowchart of a screen display control method according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating another screen display control method according to an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating another screen display control method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 5 is a block diagram illustrating functional units of a mobile terminal according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an 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 accompanying 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 Mobile terminal according to the embodiment 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, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a mobile terminal. The operating system related to the embodiment of the invention is a software system which performs unified management on hardware resources and provides a service interface for a user.
Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic flowchart of a screen display control method provided in an embodiment of the present application, and the screen display control method is applied to a mobile terminal, and includes:
s101, when detecting that the mobile terminal enters a screen-off display AOD mode, the mobile terminal determines an application program operated by a foreground.
When the mobile terminal runs foreground applications before the screen is turned off, for example, when the applications such as video applications and game applications are running, and when the mobile terminal enters the unlocking and screen-lighting mode from the AOD mode, the mobile terminal can re-enter the interface of the foreground applications before the screen is turned off, if the layer data loading capacity of the interface of the foreground applications is large or the interfaces are updated, the layer loading speed is slow, and therefore the mobile terminal is enabled to be blocked, flicked and displayed.
When the mobile terminal is detected to be in the screen-off display AOD mode, the application program running in the foreground can be determined, and whether display control on the mobile terminal is needed or not can be determined.
S102, when the mobile terminal detects that the application program is a preset application program, storing the layer data of the application interface currently displayed by the application program.
When detecting that the application program running in the foreground is the preset application program, the mobile terminal needs to store the layer data of the current display interface of the application program, the preset application data can be set by a user, the user can set the application program with a large loading amount when the layer data is loaded as the preset application program, such as a video application program, a game application program and the like, or the user can set the application program running in the foreground when the application program is most likely to be jammed, flicked and displayed after the application program enters the unlocking bright screen mode from the AOD mode in the using process as the preset application program.
The application interface usually displays different elements such as text elements, graphic elements and the like, multiple elements of the application interface may be located in multiple layers, and when the application interface is displayed, loading needs to be performed on one layer by one layer, so that when the layer data is large, the loading amount is large.
S103, the mobile terminal acquires the layer data when detecting that the mobile terminal enters an unlocking bright screen mode from the AOD mode.
When the mobile terminal is detected to enter the unlocking bright screen mode from the AOD mode, the pre-stored layer data can be synchronously acquired, so that the application interface corresponding to the layer data can be rapidly displayed after the bright screen is unlocked.
And S104, the mobile terminal loads the layer data to redisplay the application interface.
The mobile terminal redisplays the application interface before screen-off by loading the prestored layer data, and all information of the application interface is not changed.
The mobile terminal loads prestored layer data, an application interface before screen extinguishing can be successfully displayed after the layer data are loaded, the mobile terminal can be controlled not to light the screen immediately after unlocking when the loading time is longer than the processing time for unlocking and lighting the screen, the screen is lightened again after the loading of the layer data is detected, the application interface before screen extinguishing can be directly displayed after the screen is lightened, and the phenomena of screen jamming, screen flashing and screen blooming are effectively avoided.
It can be seen that, in the embodiment of the present application, the mobile terminal first determines an application program running in a foreground when detecting that the mobile terminal enters the screen-off display AOD mode, then stores layer data of an application interface currently displayed by the application program when detecting that the application program is a preset application program, then acquires the layer data when detecting that the mobile terminal enters the screen-on unlocking mode from the AOD mode, and finally loads the layer data to redisplay the application interface. The mobile terminal stores the layer data of the application interface of the preset application program running in the foreground when entering the AOD mode, and directly displays the stored layer data of the application interface when entering the unlocking screen-lighting mode from the AOD mode, so that the mobile terminal can quickly display the application interface after the screen is lighted, and the phenomena of blockage, screen flashing and screen blooming are avoided.
In one possible example, the determining, when it is detected that the mobile terminal enters an off-screen display AOD mode, an application running in a foreground includes: acquiring a first preset operation aiming at the mobile terminal; controlling the mobile terminal to enter an AOD mode according to the first preset operation; and determining the identity information of the application program running in the foreground and the load of the application program displaying the current application interface.
The first preset operation for the mobile terminal can be operations such as pressing a power key or shaking a mobile phone, so that the mobile terminal enters an AOD mode, the mobile terminal is turned off after entering the AOD mode, only time and notification messages are displayed, and meanwhile, identity information of an application program running in a foreground and the load of the application program for displaying the current application interface are determined.
As can be seen, in this example, when the operation acquired for the mobile terminal is the preset operation, the identity information of the application running in the foreground and the load of the application displaying the current application interface are determined at the same time, which is beneficial to determining the time for loading the application interface according to the load after the application is detected to be the preset application.
In a possible example, the storing layer data of an application interface currently displayed by the application program when it is detected that the application program is a preset application program includes: when the application program is detected to be a preset application program, determining whether the load of the application program for displaying the current application interface is greater than a preset load threshold; and when detecting that the loading amount is larger than a preset loading amount threshold value, storing the layer data.
According to the identity information of the application program, when the application program is detected to be the preset application program, whether the load amount of the current application interface displayed by the application program is larger than a preset load amount threshold value or not is judged, and when the load amount is detected to be larger than the preset load amount threshold value, the longer load time required for displaying the application interface can be determined, so that the layer data of the application interface can be prestored.
As can be seen, in this example, when it is detected that the load of the current application interface displayed by the application program is greater than the preset load threshold, the layer data of the application interface is stored, and the layer data is transported and stored to the memory of the mobile terminal, which is equivalent to buffering the layer data to the memory in advance, which is beneficial to reducing the delay wait caused when the layer data is loaded from the network.
In a possible example, the obtaining the layer data when it is detected that the mobile terminal enters a bright screen mode from the AOD mode includes: when a second preset operation aiming at the mobile terminal is detected, the layer data is obtained, and the second preset operation is used for controlling the mobile terminal to enter an unlocking bright screen mode; and according to the layer data, an application interface displayed after the mobile terminal is unlocked and the screen is lightened is predetermined.
When a second preset operation aiming at the mobile terminal is detected, the mobile terminal is indicated to enter an unlocking and screen-lighting mode from the AOD mode, at the moment, pre-stored layer data can be obtained, and an application interface to be displayed after the mobile terminal unlocks and screens can be determined according to the layer data.
Therefore, in this example, when the second preset operation for the mobile terminal is detected, the pre-stored layer data is obtained in parallel, and the application interface displayed after the mobile terminal is unlocked and the screen is lightened is determined according to the layer data, which is equivalent to that the actual preparation work of the application interface is made in advance, and the application interface can be displayed quickly after the mobile terminal is successfully unlocked and the screen is lightened.
In a possible example, after the loading of the layer data to redisplay the application interface, the method further includes: and deleting the stored layer data of the application interface currently displayed by the application program.
After the mobile terminal successfully redisplays the application interface before the screen is turned off, the previously stored layer data can be deleted to release the storage space.
As can be seen, in this example, by pre-storing the layer data of the application interface before the screen is turned off, the application interface can be quickly displayed by loading the layer data after the screen is moved and turned on.
Referring to fig. 2, fig. 2 is a schematic flowchart of a screen display control method provided in an embodiment of the present application, and is applied to a mobile terminal, where as shown in the figure, the screen display control method includes:
s201, the mobile terminal acquires a first preset operation aiming at the mobile terminal.
S202, the mobile terminal controls the mobile terminal to enter an AOD mode according to the first preset operation.
S203, the mobile terminal determines the identity information of the application program running in the foreground and the load of the application program displaying the current application interface.
S204, when the mobile terminal detects that the application program is a preset application program, storing the layer data of the application interface currently displayed by the application program.
S205, the mobile terminal acquires the layer data when detecting that the mobile terminal enters an unlocking bright screen mode from the AOD mode.
S206, the mobile terminal loads the layer data to redisplay the application interface.
It can be seen that, in the embodiment of the present application, the mobile terminal first determines an application program running in a foreground when detecting that the mobile terminal enters the screen-off display AOD mode, then stores layer data of an application interface currently displayed by the application program when detecting that the application program is a preset application program, then acquires the layer data when detecting that the mobile terminal enters the screen-on unlocking mode from the AOD mode, and finally loads the layer data to redisplay the application interface. The mobile terminal stores the layer data of the application interface of the preset application program running in the foreground when entering the AOD mode, and directly displays the stored layer data of the application interface when entering the unlocking screen-lighting mode from the AOD mode, so that the mobile terminal can quickly display the application interface after the screen is lighted, and the phenomena of blockage, screen flashing and screen blooming are avoided.
In addition, when the operation of the mobile terminal is the preset operation, the identity information of the application program running in the foreground and the load of the application program displaying the current application interface are determined, and the time for loading the application interface is determined according to the load after the application program is detected to be the preset application program.
Referring to fig. 3, fig. 3 is a schematic flowchart of a screen display control method provided in an embodiment of the present application, and is applied to a mobile terminal, where as shown in the figure, the screen display control method includes:
s301, the mobile terminal acquires a first preset operation aiming at the mobile terminal.
S302, the mobile terminal controls the mobile terminal to enter an AOD mode according to the first preset operation.
S303, the mobile terminal determines the identity information of the application program running in the foreground and the load of the application program displaying the current application interface.
S304, when the mobile terminal detects that the application program is a preset application program, determining whether the load of the application program for displaying the current application interface is larger than a preset load threshold.
S305, when detecting that the load is larger than a preset load threshold, the mobile terminal stores the layer data.
S306, the mobile terminal acquires the layer data when detecting that the mobile terminal enters an unlocking bright screen mode from the AOD mode.
S307, the mobile terminal loads the layer data to redisplay the application interface.
It can be seen that, in the embodiment of the present application, the mobile terminal first determines an application program running in a foreground when detecting that the mobile terminal enters the screen-off display AOD mode, then stores layer data of an application interface currently displayed by the application program when detecting that the application program is a preset application program, then acquires the layer data when detecting that the mobile terminal enters the screen-on unlocking mode from the AOD mode, and finally loads the layer data to redisplay the application interface. The mobile terminal stores the layer data of the application interface of the preset application program running in the foreground when entering the AOD mode, and directly displays the stored layer data of the application interface when entering the unlocking screen-lighting mode from the AOD mode, so that the mobile terminal can quickly display the application interface after the screen is lighted, and the phenomena of blockage, screen flashing and screen blooming are avoided.
In addition, when the operation of the mobile terminal is the preset operation, the identity information of the application program running in the foreground and the load of the application program displaying the current application interface are determined, and the time for loading the application interface is determined according to the load after the application program is detected to be the preset application program.
In addition, when the application program is detected to display that the loading capacity of the current application interface is larger than the preset loading capacity threshold, the layer data of the application interface is stored and the layer data is transported to the memory of the mobile terminal, which is equivalent to buffering the layer data to the memory in advance, and is beneficial to reducing delay waiting caused by loading the layer data from the network.
Consistent with the embodiments shown in fig. 1, fig. 2, and fig. 3, please refer to fig. 4, and fig. 4 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application, where the mobile terminal runs one or more application programs and an operating system, and as shown in the figure, the mobile terminal includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are different from the one or more application programs, and the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:
when detecting that the mobile terminal enters a screen-off display AOD mode, determining an application program operated by a foreground;
when the application program is detected to be a preset application program, storing layer data of an application interface currently displayed by the application program;
when the mobile terminal is detected to enter an unlocking and screen-lighting mode from the AOD mode, the layer data is obtained;
and loading the layer data to redisplay the application interface.
It can be seen that, in the embodiment of the present application, the mobile terminal first determines an application program running in a foreground when detecting that the mobile terminal enters the screen-off display AOD mode, then stores layer data of an application interface currently displayed by the application program when detecting that the application program is a preset application program, then acquires the layer data when detecting that the mobile terminal enters the screen-on unlocking mode from the AOD mode, and finally loads the layer data to redisplay the application interface. The mobile terminal stores the layer data of the application interface of the preset application program running in the foreground when entering the AOD mode, and directly displays the stored layer data of the application interface when entering the unlocking screen-lighting mode from the AOD mode, so that the mobile terminal can quickly display the application interface after the screen is lighted, and the phenomena of blockage, screen flashing and screen blooming are avoided.
In a possible example, in the aspect of determining the application program running in the foreground when it is detected that the mobile terminal enters the screen-off display AOD mode, the instructions in the program are specifically configured to perform the following operations: acquiring a first preset operation aiming at the mobile terminal; controlling the mobile terminal to enter an AOD mode according to the first preset operation; and determining the identity information of the application program running in the foreground and the load of the application program displaying the current application interface.
In a possible example, in the aspect of storing the layer data of the application interface currently displayed by the application program when the application program is detected to be a preset application program, the instruction in the program is specifically configured to perform the following operations: when the application program is detected to be a preset application program, determining whether the load of the application program for displaying the current application interface is greater than a preset load threshold; and when detecting that the loading amount is larger than a preset loading amount threshold value, storing the layer data.
In a possible example, in the aspect of acquiring the layer data when it is detected that the mobile terminal enters the bright-screen mode from the AOD mode, the instructions in the program are specifically configured to perform the following operations: when a second preset operation aiming at the mobile terminal is detected, the layer data is obtained, and the second preset operation is used for controlling the mobile terminal to enter an unlocking bright screen mode; and according to the layer data, an application interface displayed after the mobile terminal is unlocked and the screen is lightened is predetermined.
In a possible example, after the loading of the layer data to redisplay the application interface, the instructions in the program are further configured to: and deleting the stored layer data of the application interface currently displayed by the application program.
The scheme of the embodiment of the application is introduced mainly from the perspective of the method-side implementation process. It is to be understood that the mobile terminal, in order to implement the functions, includes a corresponding hardware structure and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the mobile terminal may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In case of integrated units, fig. 5 shows a block diagram of one possible functional unit composition of the mobile terminal involved in the described embodiment. The mobile terminal 500 is applied to a mobile terminal, on which an operating system and one or more application programs are run, and the mobile terminal 500 includes: a determination unit 501, a storage unit 502, an acquisition unit 503 and a processing unit 504,
the determining unit 501 is configured to determine an application program running in a foreground when it is detected that the mobile terminal enters an off-screen display AOD mode;
the storage unit 502 is configured to store layer data of an application interface currently displayed by the application program when it is detected that the application program is a preset application program;
the obtaining unit 503 is configured to obtain the layer data when it is detected that the mobile terminal enters an unlocking bright-screen mode from the AOD mode;
the processing unit 504 is configured to load the layer data to redisplay the application interface.
In a possible example, in the aspect of determining the application running in the foreground when it is detected that the mobile terminal enters the screen-off display AOD mode, the determining unit 501 is specifically configured to: acquiring a first preset operation aiming at the mobile terminal; the mobile terminal is controlled to enter the AOD mode according to the first preset operation; and the method is used for determining the identity information of the application program running in the foreground and the load of the application program displaying the current application interface.
In a possible example, in the aspect of storing the layer data of the application interface currently displayed by the application program when the application program is detected to be a preset application program, the storage unit 502 is specifically configured to: when the application program is detected to be a preset application program, determining whether the load of the application program for displaying the current application interface is greater than a preset load threshold; and the image layer data storage unit is used for storing the image layer data when the loading amount is detected to be larger than a preset loading amount threshold value.
In a possible example, in the aspect of acquiring the layer data when it is detected that the mobile terminal enters the bright screen mode from the AOD mode, the acquiring unit 503 is specifically configured to: when a second preset operation aiming at the mobile terminal is detected, the layer data is obtained, and the second preset operation is used for controlling the mobile terminal to enter an unlocking bright screen mode; and an application interface displayed after the mobile terminal is unlocked and the screen is lightened is predetermined according to the layer data.
In a possible example, after the layer data is loaded to redisplay the application interface, the processing unit 504 is further configured to load the layer data to redisplay the application interface
It should be noted that the mobile terminal described in the embodiment of the apparatus of the present invention is in the form of a functional unit. The term "unit" as used herein is to be understood in its broadest possible sense, and objects used to implement the functions described by the respective "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or chipset) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
Among them, the determining unit 501, the storing unit 502, the obtaining unit 503 and the processing unit 504 may be a processor or a controller.
As shown in fig. 6, fig. 6 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application, where the electronic device 100 includes: the electronic device comprises a shell 110, a circuit board 120 arranged in the shell 110, a display screen 130 and a camera 140 which are arranged on the shell 110, wherein a processor 121, a sensor 122 and a memory 123 are arranged on the circuit board 120, the sensor 122 and the memory 123 are connected with the processor 121, and the processor 121 is connected with the display screen 130; wherein the content of the first and second substances,
the processor 121 is configured to determine an application program running in a foreground when it is detected that the mobile terminal enters an off-screen display AOD mode; the application program display method comprises the steps of detecting an application program, and storing layer data of an application interface currently displayed by the application program when the application program is detected to be a preset application program; the image layer data are acquired when the mobile terminal is detected to enter an unlocking bright screen mode from the AOD mode; and the application interface is used for loading the layer data to redisplay the application interface.
In a possible example, in the aspect of determining the application running in the foreground when it is detected that the mobile terminal enters the screen-off display AOD mode, the processor 121 is specifically configured to: acquiring a first preset operation aiming at the mobile terminal; the mobile terminal is controlled to enter the AOD mode according to the first preset operation; and the method is used for determining the identity information of the application program running in the foreground and the load of the application program displaying the current application interface.
In a possible example, in the aspect of storing the layer data of the application interface currently displayed by the application program when the application program is detected to be a preset application program, the processor 121 is specifically configured to: when the application program is detected to be a preset application program, determining whether the load of the application program for displaying the current application interface is greater than a preset load threshold; and the image layer data storage unit is used for storing the image layer data when the loading amount is detected to be larger than a preset loading amount threshold value.
In a possible example, in the aspect of acquiring the layer data when it is detected that the mobile terminal enters the bright-screen mode from the AOD mode, the processor 121 is specifically configured to: when a second preset operation aiming at the mobile terminal is detected, the layer data is obtained, and the second preset operation is used for controlling the mobile terminal to enter an unlocking bright screen mode; and an application interface displayed after the mobile terminal is unlocked and the screen is lightened is predetermined according to the layer data.
In a possible example, after the loading of the layer data to redisplay the application interface, the processor 121 is further configured to delete the stored layer data of the application interface currently displayed by the application program.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the method embodiments. The computer program product may be a software installation package, said computer comprising a mobile terminal.
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 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 can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, 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: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the embodiments described herein may be performed by associated hardware as instructed by a program, which may be stored in a computer readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, 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 screen display control method is applied to a mobile terminal, and the method comprises the following steps:
when detecting that the mobile terminal enters a screen-off display AOD mode, determining an application program operated by a foreground; when detecting that the mobile terminal enters the screen-off display AOD mode, determining the application program operated in the foreground comprises the following steps:
acquiring a first preset operation aiming at the mobile terminal;
controlling the mobile terminal to enter an AOD mode according to the first preset operation;
determining identity information of an application program running in a foreground and the load of the application program for displaying a current application interface;
when the application program is detected to be a preset application program, storing layer data of an application interface currently displayed by the application program;
when the mobile terminal is detected to enter an unlocking and screen-lighting mode from the AOD mode, the layer data is obtained;
loading the layer data according to the loading amount and determining loading time; when the loading time is longer than the processing time of the unlocking bright screen mode, detecting whether the layer data is completely loaded; and after the layer data is detected to be completely loaded, redisplaying the application interface.
2. The method according to claim 1, wherein the storing layer data of an application interface currently displayed by the application program when the application program is detected to be a preset application program comprises:
when the application program is detected to be a preset application program, determining whether the load of the application program for displaying the current application interface is greater than a preset load threshold;
and when detecting that the loading amount is larger than a preset loading amount threshold value, storing the layer data.
3. The method according to any one of claims 1 to 2, wherein the obtaining the layer data when detecting that the mobile terminal enters an unlocked bright screen mode from the AOD mode comprises:
when a second preset operation aiming at the mobile terminal is detected, the layer data is obtained, and the second preset operation is used for controlling the mobile terminal to enter an unlocking bright screen mode;
and according to the layer data, an application interface displayed after the mobile terminal is unlocked and the screen is lightened is predetermined.
4. The method of any of claims 1-2, wherein after the loading the tier data to redisplay the application interface, the method further comprises:
and deleting the stored layer data of the application interface currently displayed by the application program.
5. A mobile terminal is characterized by comprising a determining unit, a storage unit, an obtaining unit and a processing unit,
the determining unit is used for determining the application program operated in the foreground when the mobile terminal is detected to enter the screen-off display AOD mode; in the aspect of determining the foreground-running application program when it is detected that the mobile terminal enters the screen-off display AOD mode, the determining unit is specifically configured to: acquiring a first preset operation aiming at the mobile terminal; the mobile terminal is controlled to enter the AOD mode according to the first preset operation; the method comprises the steps of determining identity information of an application program operated in a foreground and the load of the application program for displaying a current application interface;
the storage unit is used for storing the layer data of the application interface currently displayed by the application program when the application program is detected to be a preset application program;
the obtaining unit is configured to obtain the layer data when it is detected that the mobile terminal enters an unlocking bright-screen mode from the AOD mode;
the processing unit is used for loading the layer data according to the loading amount and determining loading time; when the loading time is longer than the processing time of the unlocking bright screen mode, detecting whether the layer data is completely loaded; and after the layer data is detected to be completely loaded, redisplaying the application interface.
6. The mobile terminal according to claim 5, wherein in the aspect of storing the layer data of the application interface currently displayed by the application program when it is detected that the application program is a preset application program, the storage unit is specifically configured to: when the application program is detected to be a preset application program, determining whether the load of the application program for displaying the current application interface is greater than a preset load threshold; and the image layer data storage unit is used for storing the image layer data when the loading amount is detected to be larger than a preset loading amount threshold value.
7. The mobile terminal according to any one of claims 5 to 6, wherein in the aspect of acquiring the layer data when it is detected that the mobile terminal enters an unlocked bright-screen mode from the AOD mode, the acquiring unit is specifically configured to: when a second preset operation aiming at the mobile terminal is detected, the layer data is obtained, and the second preset operation is used for controlling the mobile terminal to enter an unlocking bright screen mode; and an application interface displayed after the mobile terminal is unlocked and the screen is lightened is predetermined according to the layer data.
8. The mobile terminal according to any one of claims 5 to 6, wherein after the map layer data is loaded to redisplay the application interface, the processing unit is further configured to load the map layer data to redisplay the application interface.
9. A mobile terminal comprising a processor, memory, a communications interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1-4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-4.
CN201810445249.1A 2018-05-10 2018-05-10 Screen display control method and device Active CN108733428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810445249.1A CN108733428B (en) 2018-05-10 2018-05-10 Screen display control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810445249.1A CN108733428B (en) 2018-05-10 2018-05-10 Screen display control method and device

Publications (2)

Publication Number Publication Date
CN108733428A CN108733428A (en) 2018-11-02
CN108733428B true CN108733428B (en) 2021-06-25

Family

ID=63937289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810445249.1A Active CN108733428B (en) 2018-05-10 2018-05-10 Screen display control method and device

Country Status (1)

Country Link
CN (1) CN108733428B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096329B (en) * 2019-05-09 2022-04-01 Oppo广东移动通信有限公司 Display content control method, electronic device and computer readable storage medium
CN112989292A (en) * 2019-12-17 2021-06-18 中移(成都)信息通信科技有限公司 Interface display method, device and medium
CN116055627B (en) * 2022-08-19 2023-11-10 荣耀终端有限公司 Screen-off control method, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897559A (en) * 2016-05-20 2016-08-24 维沃移动通信有限公司 Control method for HTML5 (Hyper Text Markup Language 5) application and mobile terminal
CN105930537A (en) * 2016-06-23 2016-09-07 乐视控股(北京)有限公司 Page storing method and electronic equipment
CN106469058A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of unlocking screen method and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130100059A1 (en) * 2011-10-21 2013-04-25 Zuse, Inc. Content display engine for touch-enabled devices
CN105389372A (en) * 2015-11-17 2016-03-09 杭州九言科技股份有限公司 Page display method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897559A (en) * 2016-05-20 2016-08-24 维沃移动通信有限公司 Control method for HTML5 (Hyper Text Markup Language 5) application and mobile terminal
CN105930537A (en) * 2016-06-23 2016-09-07 乐视控股(北京)有限公司 Page storing method and electronic equipment
CN106469058A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of unlocking screen method and mobile terminal

Also Published As

Publication number Publication date
CN108733428A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
US11132219B2 (en) Starting method for applications which are closed automatically based on the insufficient memory of the system
KR102387115B1 (en) Electronic device and Method for controlling the electronic device thereof
CN108733428B (en) Screen display control method and device
US20140208328A1 (en) Method for terminal acceleration, terminal and storage medium
CN109144627B (en) Screen locking method and mobile terminal
CN112732143B (en) Interface processing method and equipment, storage medium and terminal thereof
US20130122960A1 (en) Mobile terminal and controlling method thereof
CN103345390A (en) Picture output method and device for mobile terminal and mobile terminal
CN103559055A (en) Activity starting method and device applied to Android platform
US20220058772A1 (en) Image Processing Method and Device
CN108121493B (en) Display control method and related product
US11231836B2 (en) Multi-window displaying apparatus and method and mobile electronic equipment
CN104881844A (en) Picture combination method and device and terminal equipment
US10416751B2 (en) Power saving mode control method and device for multiple operating systems, and terminal
CN106713612B (en) Electronic device and message display method
CN110609718A (en) Picture loading method and device, electronic equipment and readable storage medium
CN106775521B (en) Screen-off display method and device
CN108334253A (en) A kind of information displaying method, device and terminal device
CN111210496B (en) Picture decoding method, device and equipment
CN106775230B (en) Application freezing method and device and terminal
CN108693951B (en) Display content updating method and device
CN112948730A (en) Webpage data display method and device, storage medium and electronic equipment
CN113806000A (en) Display method and device and electronic equipment
CN111782100A (en) Method, device, terminal and storage medium for previewing background picture
CN108924411B (en) Photographing control method and 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
GR01 Patent grant
GR01 Patent grant