Screen-off display method and electronic equipment
By determining the target screen-based interface based on the application interface and displaying it in the screen-based display state, the problem of lack of flexibility in the screen-based display of smart watches is solved, the user experience and decoration are improved, and the battery life of the device is extended.
Patent Information
- Application Number
- CN202310156882.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
The smart watch's screen display lacks flexibility, resulting in poor user experience and limited battery life, which affects the decorative attributes.
By determining the target screen-based interface based on the application interface of the target application and displaying the interface in the screen-based display state when meeting the screen-based display conditions, the flexibility of the screen-based display is improved and the impact on the continuity of user use is avoided.
It improves the user experience, enhances the decoration and aesthetics of the smart watch, and extends the battery life of the device.
Smart Images

Figure CN118535255A
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic devices, and in particular to a screen-off display method and electronic device. Background Art
[0002] Smart watches are loved by more and more users due to their various functions. However, due to the limitation of battery life, smart watches are usually in the off state, which makes the decorative properties of smart watches much worse than ordinary watches. In order to improve the aesthetics and decorativeness of smart watches, the off-screen display technology on smart watches came into being. Summary of the invention
[0003] The present application provides a screen-off display method and an electronic device, which realize flexible screen-off display, avoid affecting the continuity of user use, and improve user experience.
[0004] In a first aspect, a screen off display method is provided, which is applied to an electronic device, the method comprising: when a screen off display condition is met, determining a target screen off interface according to an application interface of a target application; in an off-screen display state, displaying the target screen off interface; wherein the application interface of the target application is currently in a running state, and a corresponding screen off interface exists for the application interface of the target application.
[0005] In the present application, when the screen-off display conditions are met, the electronic device can determine the target screen-off interface based on the application interface of the target application; and display the above target screen-off interface in the screen-off display state. It should be understood that the application interface of the target application is currently in a running state. In other words, in addition to being a preset screen-off interface, the above target screen-off interface can also be a screen-off interface corresponding to the application interface in the front, back, or background, that is, the present application improves the flexibility of the screen-off display, avoids the impact on the continuity of user use, and improves the user experience.
[0006] According to a second aspect, an electronic device is provided, comprising: a display module and a processing module; wherein the processing module is used to determine a target screen-off interface according to an application interface of a target application when a screen-off display condition is met; and the display module is used to display the above-mentioned target screen-off interface in an screen-off display state; wherein the application interface of the target application is currently in a running state, and a corresponding screen-off interface exists for the application interface of the target application.
[0007] In a third aspect, another electronic device is provided, including a processor, the processor is coupled to a memory, and can be used to execute instructions in the memory to implement the method in any possible implementation of the first aspect. Optionally, the electronic device also includes a memory. Optionally, the electronic device also includes a communication interface, and the processor is coupled to the communication interface.
[0008] In a fourth aspect, a processor is provided, comprising: an input circuit, an output circuit and a processing circuit. The processing circuit is used to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in any possible implementation of the first aspect.
[0009] In the specific implementation process, the processor can be a chip, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a trigger, and various logic circuits. The input signal received by the input circuit can be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit can be the same circuit, which is used as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation methods of the processor and various circuits.
[0010] In a fifth aspect, a processing device is provided, comprising a processor and a memory. The processor is used to read instructions stored in the memory, and can receive signals through a receiver and transmit signals through a transmitter to execute the method in any possible implementation of the first aspect.
[0011] Optionally, there are one or more processors and one or more memories.
[0012] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.
[0013] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.
[0014] It should be understood that the relevant data interaction process, such as sending indication information, can be a process of outputting indication information from a processor, and receiving capability information can be a process of receiving input capability information from a processor. Specifically, the processed output data can be output to a transmitter, and the input data received by the processor can come from a receiver. Among them, the transmitter and the receiver can be collectively referred to as a transceiver.
[0015] The processing device in the fifth aspect mentioned above can be a chip. The processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.
[0016] In a sixth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a method in any possible implementation of the first aspect.
[0017] In a seventh aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of a system architecture of an electronic device provided in an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of an electronic device provided in an embodiment of the present application;
[0021] Figure 4 is a schematic flow chart of a screen-off display method provided in an embodiment of the present application;
[0022] Figure 5 is a schematic flow chart of a first specific example of the screen-off display method provided in an embodiment of the present application;
[0023] Figure 6 is a schematic diagram of a watch interface with an off-screen display provided in an embodiment of the present application;
[0024] Figure 7 is a schematic flow chart of a second specific example of the screen-off display method provided in an embodiment of the present application;
[0025] Figure 8 is a schematic diagram of a watch interface with an off-screen display provided in an embodiment of the present application;
[0026] Fig. 9 is a schematic flow chart of a third specific example of the screen-off display method provided in an embodiment of the present application;
[0027] Fig.10 is a schematic diagram of a watch interface with an off-screen display provided in an embodiment of the present application;
[0028] Fig.11 is a schematic flow chart of a fourth specific example of the screen-off display method provided in an embodiment of the present application;
[0029] Fig.12 is a schematic diagram of a watch with an off-screen display provided in an embodiment of the present application;
[0030] Fig.13 is a schematic block diagram of an electronic device provided in an embodiment of the present application;
[0031] Fig.14 It is a schematic block diagram of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] Glossary:
[0033] 1. AOD / AOD state: always on display, also known as off-screen display, that is, a function in which the screen can continue to display images after the system goes into sleep mode. When an electronic device is in AOD state, the brightness and refresh rate of the screen will be reduced, and the entire system will be in a dormant state. Only when the data on the interface needs to be updated will the system be awakened to draw new interface data for the screen display. Therefore, the AOD state is a low-power continuous screen mode. In this mode, the screen can be continuously on to facilitate users to view information at any time, such as time, number of steps, navigation and other information, and it can save power consumption compared to normal continuous screen on.
[0034] 2. Callback: refers to a proxy object that each application interface registers with the AOD service through inter-process communication technology. Through this proxy object, the AOD service can communicate with the application interface to notify the interface of operations such as entering and exiting AOD mode.
[0035] 3. AOD service: The core service responsible for scheduling all application callbacks, used to confirm whether a certain interface has AOD capabilities, notify a certain interface to enter or exit AOD mode, calculate the target brightness value of the screen in AOD state, and determine the final state of the screen (whether to enter AOD state or turn off the screen).
[0036] 4. AOD mode: refers to a mode in which an application interface switches its current UI interface to another UI interface when the device enters the AOD state. The UI interface in the AOD mode is usually darker and has lower color saturation than the UI interface in the normal bright screen state.
[0037] 5. Life cycle: refers to the process of a series of methods called by the system framework from the time an application interface is created to the time it is destroyed. For example, when an interface is created, displayed, and brought to the foreground to gain focus, the system framework will call the following methods: onCreate(), onStart(), onResume(), etc. When the interface is moved to the background and finally destroyed by the system, the system framework will call the following methods: onPause(), onStop(), onDestroy(), etc. to inform the interface of its current state.
[0038] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0039] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.
[0040] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0041] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.
[0042] Figure 1 The application scenario 100 provided by the embodiment of the present application is shown. Figure 1As shown, the application scenario 100 may include an electronic device 101, and the electronic device 101 may include a display screen. When it is determined that the screen-off display condition is met, the electronic device 101 may display a screen-off interface on its display screen to reduce power consumption.
[0043] However, the screen-off interface displayed above is a preset screen-off interface, that is, the screen-off display method mentioned above is inflexible, which may affect the continuity of user use and result in a poor user experience.
[0044] For example, in the case where the electronic device 101 is a wearable device watch, if the user is using the watch to record the number of steps, if the user does not perform any operation on the watch within a preset time period, the watch may display the preset screen-off interface in the screen-off state, such as a dial-style screen-off interface, causing the preview user to observe the continuity of the above-mentioned step count, resulting in a poor user experience.
[0045] In view of this, the embodiments of the present application provide a method and electronic device for screen-off display, and the electronic device can determine the target screen-off interface according to the application interface of the target application; and display the above target screen-off interface in the screen-off display state. It should be understood that the application interface of the target application is currently in a running state. In other words, in addition to being a preset screen-off interface, the above target screen-off interface can also be a screen-off interface corresponding to the application interface in the front, back, or background, that is, the present application improves the flexibility of screen-off display, avoids the impact on the continuity of user use, and improves the user experience.
[0046] The electronic devices involved in the embodiments of the present application may be mobile phones, watches, laptop computers, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, personal digital assistants (PDAs), etc., but the embodiments of the present application are not limited to this.
[0047] For example, Figure 2A schematic diagram of a system architecture of an electronic device provided in an embodiment of the present application.
[0048] like Figure 2 As shown, the electronic device includes a processor 210, a transceiver 220 and a display unit 270. The display unit 270 may include a display screen.
[0049] Optionally, the electronic device may further include a memory 230. The processor 210, the transceiver 220 and the memory 230 may communicate with each other through an internal connection path to transfer search data. The memory 230 is used to store a computer program, and the processor 210 is used to call and run the computer program from the memory 230.
[0050] The processor 210 and the memory 230 may be combined into a processing device, or more commonly, they are independent components, and the processor 210 is used to execute the program code stored in the memory 230 to implement the above functions. In specific implementation, the memory 230 may also be integrated into the processor 210, or may be independent of the processor 210.
[0051] In addition, in order to make the functions of the electronic device more complete, the electronic device may further include one or more of an input unit 260 , an audio circuit 280 , and a sensor 201 .
[0052] Optionally, the electronic device may further include a power supply 250 for providing power to various devices or circuits in the electronic device.
[0053] Understandably, Figure 2 The operations and / or functions of each module in the electronic device shown are respectively for implementing the corresponding processes in the following method embodiments. For details, please refer to the description in the following method embodiments, and the detailed description is appropriately omitted here to avoid repetition.
[0054] Understandably, Figure 2The processor 210 in the electronic device shown may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0055] The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may store instructions or data that the processor 210 has just used or cyclically used. If the processor 210 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0056] In some embodiments, the processor 210 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0057] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 210 and the transceiver 220. For example, the processor 210 communicates with the Bluetooth module in the transceiver 120 through the UART interface to implement the Bluetooth function. In some embodiments, the audio circuit 280 can transmit an audio signal to the transceiver 220 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0058] The MIPI interface can be used to connect the processor 210 to peripheral devices such as the display unit 270. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 210 and the display unit 270 communicate through the DSI interface to realize the display function of the electronic device.
[0059] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 with the display unit 270, the transceiver 220, the audio module 280, the sensor 201, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0060] It is understandable that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0061] Understandably, Figure 2 The power supply 250 shown is used to supply power to the processor 210 , the memory 230 , the display unit 270 , the input unit 260 , the transceiver 220 , and the like.
[0062] The transceiver 220 can provide wireless communication solutions for electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 220 can be one or more devices integrating at least one communication processing module.
[0063] The electronic device implements the display function through a GPU, a display unit 270, and an application processor. The GPU is a microprocessor for image processing, which connects the display unit 270 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
[0064] The display unit 270 is used to display images, videos, etc. (such as the search interface of the present application). The display unit 270 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc.
[0065] The memory 230 may be used to store computer executable program codes, which include instructions. The memory 230 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as search data), etc. In addition, the memory 230 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 executes various functional applications and data processing of the electronic device by running instructions stored in the memory 230 and / or instructions stored in a memory provided in the processor.
[0066] The electronic device can implement audio functions such as music playing and recording through the audio circuit 280 and the application processor.
[0067] The audio circuit 280 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio circuit 280 can also be used to encode and decode audio signals. In some embodiments, the audio circuit 280 can be arranged in the processor 210, or some functional modules of the audio circuit 280 can be arranged in the processor 210.
[0068] Figure 3 Schematic diagram of an electronic device 300 provided in an embodiment of the present application. Figure 3 As shown, the electronic device 300 may include an application (APPs) module, an AOD service module, a system framework module, a kernel module, and an LCD module. Among them, the APPs module includes a dial, cross-screen navigation, and other AOD SDK Lib (application software development kit) that supports screen-off display, that is, each application in the APPs module is an application with AOD capability, and the application interface of the above application has two states: a normal interface and an AOD interface. When the above application is running in the foreground, the electronic device can enter the AOD display state after determining that the screen-off display condition is met. The AOD service module is a core service for scheduling the APPs module in the electronic device, which is used to confirm whether the current foreground interface has AOD capability and notify a certain interface to enter the AOD state. The above system framework module and the above kernel module can form a system. If the above system framework module is an Android system framework module, the Android system framework module and the above kernel module can form an Android system, and the above LCD module is the screen of the electronic device, which is used to display a graphical user interface and / or receive user interaction operations.
[0069] In order to make the purpose and technical solution of this application clearer and more intuitive, the screen-off display method and electronic device provided by the embodiment of this application will be described in detail below in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain this application and are not used to limit this application.
[0070] Figure 4 is a schematic flow chart of a method 400 for displaying a screen off provided in an embodiment of the present application. The method 400 can be applied to the above Figure 1 The application scenario 100 shown in the figure can also be applied to other scenarios, which are not limited in the present embodiment. Figure 4 As shown, the method 400 may include the following steps:
[0071] S401, when the screen-off display condition is met, the electronic device determines a target screen-off interface according to an application interface of a target application; wherein the application interface of the target application is currently in a running state, and a corresponding screen-off interface exists for the application interface of the target application.
[0072] It should be understood that the electronic device can determine whether the conditions for screen off display are met based on time, user operations, etc.
[0073] Exemplarily, when the electronic device detects a user operation, it is determined that the screen-off display condition is met. The user operation may be covering a specific area of the electronic device, or lowering the hand while holding the electronic device, etc., which is not limited in this application.
[0074] S402, the electronic device displays the above-mentioned target screen-off interface in the screen-off display state.
[0075] It should be understood that the application interface of the above-mentioned target application is currently in a running state. Determining the target screen-off interface based on the application interface of the target application can reduce the probability of interrupting the continuity of the user's use of the application when the screen is in the off-screen display state.
[0076] In the present application, when the screen-off display conditions are met, the electronic device can determine the target screen-off interface based on the application interface of the target application; and display the above target screen-off interface in the screen-off display state. It should be understood that the application interface of the target application is currently in a running state, and the different application interfaces included in the target application correspond to different screen-off interfaces. In other words, in addition to being a preset screen-off interface, the above target screen-off interface can also be a screen-off interface corresponding to the application interface in the front, back, or background, that is, the present application improves the flexibility of the screen-off display, avoids the impact on the continuity of user use, and improves the user experience.
[0077] It should be understood that the at least one application in the running state in the above electronic device may be an application in the foreground running state or an application in the background running state, and this application does not limit this.
[0078] Figure 5 is a schematic flow chart of a method 500 for displaying a screen off provided in an embodiment of the present application. Figure 5 As shown, the method 500 may include the following steps:
[0079] S501, when the screen-off display condition is met, the electronic device determines whether there is an application interface running in the foreground.
[0080] In a possible implementation, the electronic device may determine, through the AOD service module, whether there is an interface identifier containing a first preset mark in the reference set to determine whether there is an application interface running in the foreground.
[0081] It should be understood that the above reference set may include interface identifiers corresponding to application interfaces of all applications in the electronic device, and may also include interface identifiers corresponding to application interfaces of some applications in the electronic device, and this application does not limit this.
[0082] Exemplarily, before the above-mentioned S501, the user can turn on the AOD switch of at least one application in the electronic device so that each application interface of the at least one application can be bound to the AOD service module, and register a callback (Callback) to the AOD service module, that is, the above-mentioned interface identifier. The AOD service module can save the Callback to a collection (that is, the above-mentioned reference collection), where a Callback in the reference combination can represent an interface identifier of an application interface that supports the AOD mode.
[0083] It should be understood that the first preset mark is obtained by the electronic device marking the interface identifier when the application interface corresponding to the interface identifier is in the foreground running state. In other words, the first preset mark can be used to indicate that the application corresponding to the interface identifier is in the foreground running state.
[0084] Exemplarily, the first preset mark can be obtained by the electronic device marking the interface identifier through the AOD service module when the application interface corresponding to the interface identifier is in the foreground running state. In other words, each application interface bound to the AOD service module will be reported to the AOD service module after its life cycle changes, so that the AOD service module can perceive the changes in the foreground application interface.
[0085] Exemplarily, when the application interface with the AOD switch turned on (i.e., the application interface in the above reference set) is in the foreground running state, the application interface can report the onResumed() event to the AOD service module. The AOD service module determines the Callback corresponding to the application interface in the reference set and marks the resumed mark, i.e., the above-mentioned first preset mark.
[0086] For example, when another application interface with the AOD switch turned on is launched to the foreground, the application previously running in the foreground is switched to the background, and the application interface can report the onPaused() event to the AOD service module, and the AOD service module can cancel the resumed mark of the Callback corresponding to the application interface. Similarly, the application interface currently running in the foreground can report the onResumed() event to the AOD service module, and the AOD service module determines the Callback corresponding to the application interface and marks it as resumed.
[0087] For example, when an application interface without an AOD switch turned on is launched to the foreground, that is, when an application without a corresponding interface identifier in the reference set is launched to the foreground, since the application currently running in the foreground has not turned on the AOD switch, it is equivalent to not supporting the AOD mode, that is, the application interface is not bound to the AOD service module, and the Callback is not registered with the AOD service module, so the application interface does not report any events to the AOD service module. In other words, the AOD service only needs to cancel the resumed mark of the Callback corresponding to the previous application interface running in the foreground, and does not mark any other Callback as resumed. At this time, all Callbacks in the reference set do not have a resumed mark.
[0088] S502: When the electronic device determines that there is an application interface in a foreground running state, the electronic device determines the application corresponding to the application interface as a target application.
[0089] Exemplarily, the electronic device can determine through the above-mentioned AOD service module that there is an interface identifier containing a first preset mark (resumed) in the reference set, and when the interface identifier containing the first preset mark corresponds to the application interface of the first application, it can be determined that there is currently an application interface running in the foreground, and that the application interface is the application interface of the above-mentioned first application.
[0090] S503, the electronic device determines the screen-off interface corresponding to the application interface running in the foreground as the target screen-off interface.
[0091] Exemplarily, when the electronic device determines that there is an application interface running in the foreground, the AOD service module can send the current screen brightness (i.e., current display brightness) and AOD brightness (i.e., screen-off display brightness) to the LCD module, so that the LCD module adjusts the screen brightness to the AOD brightness, so as to display the screen-off interface corresponding to the application interface running in the foreground in the screen-off state, wherein the AOD brightness is obtained based on the current screen brightness mapping.
[0092] Optionally, the LCD module may further adjust the screen refresh rate to be less than or equal to a refresh rate threshold, such as reducing the current screen refresh rate to 1 Hz to reduce power consumption.
[0093] It should be understood that the target application may include multiple application interfaces, and each of the multiple application interfaces has a corresponding screen-off interface. The application interface here is the application interface containing the above-mentioned first preset mark among the multiple application interfaces of the target application.
[0094] Figure 6 A schematic diagram of a wearable device watch interface 600 with an off-screen display provided in an embodiment of the present application. As shown in watch interface a in watch interface 600, the interface displays an application interface of a sports application. When it is determined that the off-screen display condition is met, the watch can determine whether an interface identifier with a first preset mark is contained in its reference set, and when it is determined that the interface identifier of the application interface of the above-mentioned sports application contains the above-mentioned first preset mark, it is determined that the above-mentioned sports application is currently in the foreground running state, and the application interface in the foreground running state is the above-mentioned watch interface a. The watch can display the running off-screen interface corresponding to the application interface (watch interface a) of the above-mentioned sports application in the off-screen state.
[0095] As shown in watch interface b, the sports screen-off interface is displayed.
[0096] As shown in watch interface 600, the watch interface b is darker and has lower color saturation than the watch interface a. In other words, in the screen-off state, the watch can continuously display the watch interface b, so that the user can check the running information at any time, such as duration, pace, heart rate, number of steps, etc., and can save power consumption compared with the normal continuous screen (such as the display effect of watch interface a).
[0097] It should be understood that the above-mentioned target screen-off interface can be a screen-off interface corresponding to the application interface of the above-mentioned sports application, or a screen-off interface corresponding to the application interface of other applications, and the application interface of the sports application is merely exemplary and this application does not limit this.
[0098] Optionally, when it is determined that there is no application in the foreground running state, the electronic device can determine the target screen off interface based on the application interface of the application in the background running state, and display the target screen off interface in the screen off display state.
[0099] Figure 7 is a schematic flow chart of a method 700 for displaying a screen off provided in an embodiment of the present application. Figure 7 As shown, the method 700 may include the following steps:
[0100] S701, when the screen-off display condition is met, the electronic device determines whether there is an application interface running in the foreground.
[0101] It should be understood that the details of determining whether there is an interface in the foreground running state can refer to the above S501, and will not be described again here to avoid repetition.
[0102] S702: When the electronic device determines that there is no application interface in the foreground running state, it determines whether there is an application interface in the background running state.
[0103] Exemplarily, the electronic device may determine through the AOD service module whether there is an interface identifier containing a second preset mark in the reference set to determine whether there is an application interface in the background running state.
[0104] It should be understood that before the above S701, when another application interface with the AOD switch turned on is launched to the foreground, the application previously running in the foreground (such as the application interface of the second application) is switched to the background. After the application interface reports the onPaused() event to the AOD service module, the AOD service module can not only cancel the resumed mark of the Callback corresponding to the application interface, but also re-mark the Paused mark for the Callback corresponding to the application interface, that is, the above second preset mark. In other words, the second preset mark can indicate that the application corresponding to the above interface mark is in the background running state.
[0105] S703: When the electronic device determines that the application interface of the second application is in the background running state, the electronic device determines whether the application interface of the second application is a preset type interface.
[0106] Exemplarily, when the electronic device determines through the AOD service module that there is the above-mentioned interface identifier containing the second preset mark Paused, and the interface identifier corresponds to the application interface of the second application, it can be determined that there is currently an application interface in the background running state, and the application interface is the application interface of the second application corresponding to the interface identifier containing the second preset mark. The electronic device can determine whether the application interface of the second application is a preset type interface.
[0107] S704: When the electronic device determines that the application interface of the second application is a preset type interface, the electronic device determines the second application as a target application.
[0108] Exemplarily, the above-mentioned preset type interface may include a sports type interface, etc., which is not limited in the present application.
[0109] S705, the electronic device determines the second screen off interface corresponding to the application interface of the second application as the target screen off interface.
[0110] Exemplarily, when the electronic device determines through the AOD service module that the application interface of the second application is a preset type interface, the electronic device can send the current screen brightness and AOD brightness to the LCD module, so that the LCD module adjusts the screen brightness to the AOD brightness, so as to display the second screen-off interface corresponding to the application interface of the second application in the screen-off state.
[0111] Optionally, the above LCD module can also reduce the current screen refresh rate to 1 Hz to reduce power consumption.
[0112] It should be understood that the second application may include multiple application interfaces, and the multiple application interfaces may correspond to different screen-off interfaces. The application interface here is the application interface containing the above-mentioned second preset mark among the multiple application interfaces of the second application.
[0113] Figure 8 A schematic diagram of a watch interface 800 with an off-screen display provided in an embodiment of the present application. As shown in watch interface a in watch interface 800, the interface displays an application interface of a sports application. When the user wants to use other applications, the user can swipe up on watch interface a, and the watch can generate and execute an instruction to switch back to the application desktop when the swipe up operation is detected.
[0114] It should be understood that the above-mentioned swiping up operation is merely exemplary and is not limited to this application.
[0115] As described in watch interface b, the interface displays an application desktop of the watch, and application icons of multiple applications are displayed on the interface, such as an application icon of a music application and an application icon of a sports application. When a user wants to open a music application, the user can click on the application icon of the music application on the interface, and when the watch detects the operation of clicking on the application icon of the music application, it can generate and execute an instruction to open the music application.
[0116] It should be understood that when the application desktop is displayed, the above-mentioned sports application has been switched from running in the foreground to running in the background.
[0117] As shown in the watch interface c, the interface displays the application interface of the music application. When it is determined that the screen-off display condition is met, the watch can determine whether there is an application interface currently in the foreground running state, and then when it is determined that there is an application interface in the foreground running state, the application is determined as the target application, and the screen-off interface corresponding to the application interface of the application is determined as the target screen-off interface. Alternatively, when it is determined that there is no application interface in the foreground running state, it is determined whether there is an application interface in the background running state.
[0118] Exemplarily, the watch can determine whether there is an interface identifier containing a first preset identifier in its reference set. If the watch determines that there is no interface identifier containing the first preset identifier in the reference set, it determines that there is currently an application interface running in the foreground.
[0119] It should be understood that the above reference set may be preset. Although the above music application is running in the foreground, the interface identifier corresponding to its application interface is not preset in the above reference set, which means that the music application does not support screen-off display.
[0120] When it is determined that there is no application interface running in the foreground, the watch can determine whether there is an interface identifier containing a second preset mark in its reference set, and when it is determined that the interface identifier corresponding to the application interface of the above-mentioned sports application contains the above-mentioned second preset identifier, the sports screen-off interface corresponding to the application interface of the sports application is determined as the target screen-off interface, and the target screen-off interface is displayed in the screen-off state.
[0121] As shown in the watch interface d, the interface shows the target screen-off interface, that is, the sports screen-off interface. The user can learn the sports information through the watch interface d.
[0122] Optionally, before the above S705, the electronic device may also switch the application interface of the above sports application from a background running state to a foreground running state.
[0123] Exemplarily, before displaying the watch interface d in the watch interface 800, that is, when it is determined that the interface identifier corresponding to the application interface of the above-mentioned sports application contains the above-mentioned second preset identifier, the watch can also switch the application interface of the sports application back to the foreground (not shown in the figure).
[0124] Optionally, corresponding to the above S701 or S703, when it is determined that there is no application interface in the background running state, or when it is determined that the application interface of the above second application is not a preset type interface, the electronic device can also perform a screen-off operation. For example, the electronic device can send a screen-off instruction to the LCD module through the AOD service module, so that the LCD module performs the screen-off operation.
[0125] Optionally, corresponding to the above S703, when it is determined that the application interface of the above second application is not a preset type interface, the electronic device may also determine the second screen off interface corresponding to the application interface of the second application as the above target screen off interface when it is determined that the second application is a preset application.
[0126] Fig. 9 is a schematic flow chart of a method 900 for displaying a screen off provided in an embodiment of the present application. Fig. 9 As shown, the method 900 may include the following steps:
[0127] S901, when the screen-off display condition is met, the electronic device determines whether there is an application interface running in the foreground.
[0128] It should be understood that the details of determining whether there is an application interface in the foreground running state can refer to the above S501, and will not be described again here to avoid repetition.
[0129] S902: When the electronic device determines that there is no application interface in the foreground running state, it determines whether there is an application interface in the background running state.
[0130] Exemplarily, the electronic device may determine through the AOD service module whether there is an interface identifier containing a second preset mark in the reference set to determine whether there is an application interface in the background running state.
[0131] It should be understood that in the above S901, when another application interface with the AOD switch turned on is launched to the foreground, the application previously running in the foreground is switched to the background, and after the application interface reports the onPaused() event to the AOD service module, the AOD service module can not only cancel the resumed mark of the Callback corresponding to the application interface, but also re-mark the Paused mark for the Callback corresponding to the application interface, that is, the above second preset mark. In other words, the second preset mark can indicate that the application corresponding to the above interface mark is in the background running state.
[0132] S903: When the electronic device determines that the application interface of the second application is in the background running state, the electronic device determines whether the application interface of the second application is a preset type interface.
[0133] Exemplarily, when the electronic device determines through the AOD service module that there is the above-mentioned interface identifier containing the second preset mark, and the application interface corresponds to the application interface of the second application, it can be determined that there is currently an application interface in the background running state, and the application interface is the application interface of the second application corresponding to the interface identifier containing the second preset mark. The electronic device can determine whether the second application is a preset type interface.
[0134] S904: When the electronic device determines that the application interface of the second application is not a preset type interface, the electronic device determines whether the second application is a preset application.
[0135] Exemplarily, the above-mentioned preset application may be a desktop launcher.
[0136] S905: When determining that the second application is a preset application, the electronic device determines the second application as a target application.
[0137] S906, the electronic device determines the second screen off interface corresponding to the application interface of the second application as the target screen off interface.
[0138] Exemplarily, when the electronic device determines that the second application is a preset application through the AOD service module, the electronic device can send the current screen brightness and AOD brightness to the LCD module, so that the LCD module adjusts the screen brightness to the AOD brightness, so as to display the screen-off interface corresponding to the application interface of the preset application in the screen-off state, and the refresh rate of the current screen can be as low as 1HZ to reduce power consumption.
[0139] It should be understood that the second application is the above-mentioned preset application, such as Launcher, which can have multiple application interfaces of different styles, and the multiple application interfaces can correspond to different screen-off interfaces. The application interface here is the application interface containing the above-mentioned second preset mark among the multiple application interfaces of the second application.
[0140] Fig.10 Schematic diagram of a watch interface 1000 with an off-screen display provided in an embodiment of the present application. Fig.10 As shown, the interface displays the "off-screen display" switches of different applications. The user can slide the switch corresponding to the preset application. When the watch detects the above sliding operation, it can generate and execute an instruction to turn on the off-screen display function of the above preset application.
[0141] As shown in the watch interface b, the switch corresponding to the preset application is currently placed at the back, indicating that the screen-off display function of the current preset application has been turned on. If the user wants to use other applications, the user can perform an upward operation on the watch interface b, and the watch can generate and execute an instruction to switch back to the application desktop when the upward operation is detected.
[0142] As described in watch interface c, the interface displays an application desktop of the watch, and application icons of multiple applications are displayed on the interface, such as an application icon of a music application and an icon of a sports application. When a user wants to open a music application, the user can click on the application icon of the music application on the interface, and when the watch detects the operation of clicking on the application icon of the music application, it can generate and execute an instruction to open the music application.
[0143] As shown in watch interface d, the interface displays the application interface of the music application. When it is determined that the screen-off display condition is met, the watch can determine whether there is an application interface currently in the foreground running state, and then when it is determined that there is an application interface in the foreground running state, the application is determined as the target application, and the screen-off interface corresponding to the application interface of the application is determined as the target screen-off interface. Alternatively, when it is determined that there is no application interface in the foreground running state, it is determined whether there is an application interface in the background running state.
[0144] Exemplarily, the watch can determine whether there is an interface identifier containing a first preset identifier in its reference set. If the watch determines that there is no interface identifier containing the first preset identifier in the reference set, it determines that there is currently an application interface running in the foreground.
[0145] It should be understood that the above reference set may be preset. Although the above music application is running in the foreground, the interface identifier corresponding to its application interface is not preset in the above reference set, that is, the "screen off display" switch of the music application is not turned on and the screen off display is not supported.
[0146] When it is determined that there is no application interface running in the foreground, the watch can determine whether there is an interface identifier containing a second preset mark in its reference set, and when it is determined that there is an interface identifier containing the above-mentioned second preset identifier, and the application corresponding to the interface identifier is a preset application, the screen-off interface corresponding to the application interface of the preset application is determined as the target screen-off interface, and the target screen-off interface is displayed in the screen-off state.
[0147] As shown in the watch interface f, the interface shows the target screen-off interface, that is, the screen-off interface of the preset application, which can also be called the privacy screen-off interface.
[0148] It should be understood that the screen-off interface of the preset application can be a dial-state screen-off interface in addition to the privacy-state screen-off interface shown in the above-mentioned watch interface f. Users can make a selection and determination through the corresponding setting interface, and this application does not limit this.
[0149] Optionally, corresponding to the above S904, when it is determined that the above second application is not a preset application, the electronic device may further perform a screen-off operation, such as sending a screen-off instruction to the LCD module through the AOD service module, so that the LCD module performs the screen-off operation.
[0150] It should be understood that corresponding to the above Figures 7 to 10 In the case where it is determined that there is an application interface in the background running state, the electronic device first determines whether it is a preset type interface, and if it is determined that it is not a preset type interface, it determines whether it is a preset application. In other words, the above embodiment describes the screen display method provided by the present application in the scenario where the priority of the preset type interface is higher than that of the preset application.
[0151] Below, in the scenario where the priority of the above-mentioned preset application is higher than the preset type interface, the screen-off display method provided by the present application is described in detail.
[0152] Fig.11 1 is a schematic flow chart of a method 1100 for displaying a screen off provided in an embodiment of the present application. Fig.11 As shown, the method 1100 may include the following steps:
[0153] S1101, when the screen-off display condition is met, the electronic device determines whether there is an application interface running in the foreground.
[0154] It should be understood that the details of the above determination of whether there is an application interface in the foreground running state can refer to the above S501, and will not be described again here to avoid repetition.
[0155] S1102: When the electronic device determines that there is no application interface in the foreground running state, it determines whether there is an application interface in the background running state.
[0156] Exemplarily, the electronic device may determine whether there is an interface identifier containing a second preset mark in the reference set through the AOD service module to determine whether there is an application interface in the background running state.
[0157] It should be understood that the second preset mark is obtained by the electronic device marking the interface identifier when the application interface corresponding to the interface identifier is in the background running state.
[0158] S1103: When the electronic device determines that the application interface of the third application is in the background running state, the electronic device determines whether the third application is a preset application.
[0159] It should be understood that when it is determined that the application interface of the third application is in the background running state, the electronic device preferentially determines whether the third application is a preset application, which can indicate that the priority of the preset application is higher than the priority of the preset type interface.
[0160] In a possible implementation, before the above S1103, the user can set the priority of the above preset application to be higher than the priority of the above preset type interface through the priority setting interface.
[0161] Fig.12 Schematic diagram of a watch interface 1200 for priority setting provided in an embodiment of the present application. Fig.12 As shown, the watch interface a shows the interface of priority setting, on which two options, a preset type interface and a preset application, are displayed, wherein the preset type interface is located above the preset application, which can indicate that the priority of the preset type interface is higher than that of the preset application. That is, when it is determined that there is an application running in the background, the watch can give priority to determining whether the application interface of the application is a preset type interface.
[0162] It should be understood that in addition to the preset type interface and preset application options shown above, other options may also be displayed, and this application does not limit this.
[0163] As shown in the watch interface a, when the user wants to adjust the priority, the user can perform a drag operation on the above-mentioned preset application. When the watch detects the above-mentioned drag operation, it generates and executes an instruction to adjust the priority.
[0164] As shown in the watch interface b, the preset application is placed above the preset type interface, indicating that the priority of the current preset application is higher than the priority of the preset type interface. That is, under the full screen-off display conditions, the watch prioritizes determining the target screen-off interface based on the screen-off interface corresponding to the application interface of the preset application in the application running in the background.
[0165] It should be understood that in addition to the adjustment of priorities through the drag operation shown above, the present application can also adjust the above priorities through other operations, and the present application is not limited to this.
[0166] S1104: When the electronic device determines that the third application is a preset application, the electronic device determines the third application as a target application.
[0167] S1105, the electronic device determines the third screen off interface corresponding to the application interface of the third application as the target screen off interface.
[0168] Optionally, corresponding to the above S1103, when it is determined that the above third application is not a preset application, the electronic device may further execute S1106.
[0169] S1106, the electronic device determines whether the application interface of the third application is a preset type interface, and when it is determined that the application interface of the third application is a preset type interface, the third screen-off interface corresponding to the application interface of the third application is determined as the target screen-off interface, and displays it, that is, the above S1104 and S1105, which will not be repeated here to avoid repetition.
[0170] Optionally, corresponding to the above S1106, when it is determined that the application interface of the above third application is not a preset type interface, or corresponding to the above S1102, when it is determined that there is no application running in the background, the electronic device may further execute S1107.
[0171] S1107, the screen of the electronic device is turned off.
[0172] Exemplarily, the electronic device may further execute S1308 through the AOD service module to send a screen-off instruction to the LCD module so that the LCD module performs a screen-off operation.
[0173] It should be understood that the above mainly takes the case where there is an application in the background running state as an example to describe the screen off display method provided by the present application. In addition, there may also be multiple applications in the background running state.
[0174] Exemplarily, the applications in the background running state include the application interface of the fourth application and the application interface of the fifth application, wherein the duration of the application interface of the fourth application in the background running state is longer than the duration of the application interface of the fifth application in the background running state, and the priority of the preset application is higher than the priority of the preset type interface. The electronic device can determine whether the fifth application is a preset application, and if it is determined that the fifth application is not a preset application, determine whether the fourth application is a preset application. If it is determined that both the fourth application and the fifth application are not preset applications, the electronic device can perform the judgment operation of the preset type interface on the application interface of the fifth application and the application interface of the fourth application in sequence.
[0175] It should be understood that, when it is determined that the application interface of the fifth application is of a preset type, the electronic device can directly display the screen-off interface corresponding to the application interface of the fifth application in the screen-off state. Alternatively, when it is determined that the application interface of the fifth application is not of a preset type, it is determined whether the application interface of the fourth application is of a preset type.
[0176] Optionally, when determining that the application interface of the fifth application is of a preset type, the electronic device may further continue to determine whether the application interface of the fourth application is a preset type interface, and when determining that the application interface of the fourth application and the application interface of the fifth application are both preset type interfaces, the electronic device may further compare the application interface type of the fourth application and the application interface type of the fifth application, and may display the screen-off interface corresponding to the application interface with a high interface type priority in the screen-off state.
[0177] Exemplarily, as above, the applications in the background running state include the application interface of the fourth application and the application interface of the fifth application, but the priority of the preset type interface is higher than the priority of the preset application. The electronic device can determine whether the application interface of the fifth application is a preset type interface, and when it is determined that the application interface of the fifth application is not a preset type interface, it determines whether the fourth application is a preset type interface. When it is determined that the application interface of the fourth application and the application interface of the fifth application are not preset type interfaces, the electronic device can perform the judgment operation of the preset application on the application interfaces of the fifth application and the fourth application, and can display the screen-off interface corresponding to the application interface of the preset application in the screen-off state.
[0178] It should be understood that the watch form shown above is merely exemplary. In addition, the watch may also be in other forms, or the electronic device may also be other devices including a display screen, and this application does not limit this.
[0179] It should also be understood that the above embodiments may be coupled to each other, and this application does not limit this. Moreover, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0180] Combined with the above Figures 1 to 12 , describes in detail the screen-off display method of the embodiment of the present application, and will now be combined with Figure 13 to Figure 14 , describe in detail the electronic device of the embodiment of the present application.
[0181] Fig.13 An electronic device 1300 provided in an embodiment of the present application is shown. The electronic device 1300 includes: a processing module 1301 and a display module 1302 .
[0182] Among them, the processing module 1301 is used to: determine the target screen off interface according to the application interface of the target application when the screen off display conditions are met; the display module 1302 is used to: display the above-mentioned target screen off interface in the screen off display state; wherein, the application interface of the above-mentioned target application is currently in a running state, and the application interface of the target application has a corresponding screen off interface.
[0183] Optionally, the processing module 1301 is used to: determine whether there is an application interface running in the foreground; if it is determined that there is an application interface running in the foreground, determine the screen off interface corresponding to the application interface running in the foreground as the above-mentioned target screen off interface.
[0184] Optionally, the processing module 1301 is used to: when there is an interface identifier containing a first preset mark in the reference set, determine the existence of the application interface that is in the foreground running state; wherein the above-mentioned reference set includes at least one interface identifier, and the interface identifier is used to indicate at least one application interface of at least one application, and there is a corresponding screen-off interface for the at least one application interface, and the first preset mark is used to indicate that the application interface corresponding to the interface identifier is in the foreground running state.
[0185] Optionally, the application interface in the foreground running state is the application interface of the first application, and the processing module 1301 is used to: when the application interface of the first application is running in the foreground, mark the interface identifier corresponding to the application interface of the first application in the reference set, so that the interface identifier corresponding to the application interface of the first application contains the first preset mark.
[0186] Optionally, the processing module 1301 is used to: when it is determined that the application interface of the first application is not running in the foreground, cancel the first preset mark of the interface identification mark corresponding to the application interface of the first application in the reference set.
[0187] Optionally, the processing module 1301 is used to: when it is determined that the interface identifier containing the first preset mark does not exist in the reference set, determine whether there is an interface identifier containing a second preset mark in the reference set, and the second preset mark is obtained by marking the above-mentioned interface identifier when the above-mentioned electronic device runs the application interface corresponding to the above-mentioned interface identifier in the background; when it is determined that there is an interface identifier containing the second preset mark, determine that there is an application interface running in the background; based on the above-mentioned application interface running in the background, determine the above-mentioned target screen-off interface.
[0188] Optionally, the application interface corresponding to the interface identifier with the second preset mark is the application interface of the second application, and the processing module 1301 is used to: determine whether the application interface of the second application is a preset type interface; when it is determined that the application interface of the second application is a preset type interface, determine the second screen-off interface corresponding to the application interface of the second application as the target screen-off interface.
[0189] Optionally, the processing module 1301 is used to: when it is determined that the application interface of the second application is not the preset type interface, determine whether the second application is a preset application; when it is determined that the second application is the preset application, determine the second screen-off interface corresponding to the application interface of the second application as the target screen-off interface.
[0190] Optionally, the processing module 1301 is used to: turn off the screen when it is determined that the second application is not a preset application.
[0191] Optionally, the application interface corresponding to the interface identifier with the second preset mark is the application interface of the third application, and the processing module 1301 is used to: determine whether the third application is the preset application; when it is determined that the third application is the preset application, determine the third screen-off interface corresponding to the application interface of the third application as the target screen-off interface.
[0192] Optionally, the processing module 1301 is used to: when it is determined that the above-mentioned third application is not a preset application, determine whether the application interface of the third application is a preset type interface; when it is determined that the application interface of the third application is the above-mentioned preset type interface, determine the third screen off interface corresponding to the application interface of the third application as the above-mentioned target screen off interface.
[0193] Optionally, the processing module 1301 is used to: turn off the screen when it is determined that the application interface of the third application is not a preset type interface.
[0194] Optionally, the processing module 1301 is used to: obtain the current display brightness when displaying the application interface of the target application; obtain the screen off display brightness based on the current display brightness mapping; adjust the current display brightness corresponding to the application interface of the target application to the brightness value of the screen off display to display the target screen off interface; wherein the target screen off interface is the screen off interface corresponding to the application interface of the target application, and the current screen refresh rate of the electronic device is less than or equal to the refresh rate threshold.
[0195] It should be understood that the electronic device 1300 here is embodied in the form of a functional module. The term "module" here may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art may understand that the electronic device 1300 may be specifically an electronic device in the above-mentioned embodiment, or the functions of the electronic device in the above-mentioned embodiment may be integrated in the electronic device 1300, and the electronic device 1300 may be used to execute the various processes and / or steps corresponding to the electronic device in the above-mentioned method embodiment, and to avoid repetition, it will not be repeated here.
[0196] The electronic device 1300 has the function of implementing the corresponding steps performed by the electronic device in the method; the above functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0197] In the embodiments of the present application, Fig.13 The electronic device 1300 may also be a chip or a chip system, for example, a system on chip (SoC).
[0198] Fig.14 Another electronic device 1400 provided by an embodiment of the present application is shown. The electronic device 1400 includes: a processor 1401 and a memory 1402, a communication interface 1403 and a bus 1404. The memory 1402 is used to store instructions, and the processor 1401 is used to execute the instructions stored in the memory 1402. The processor 1401, the memory 1402 and the communication interface 1403 are connected to each other through the bus 1404.
[0199] Among them, processor 1401 is used to: determine the target screen off interface according to the application interface of the target application when the screen off display conditions are met; display the above-mentioned target screen off interface in the screen off display state; wherein the application interface of the target application is currently in a running state, and the application interface of the target application has a corresponding screen off interface.
[0200] It should be understood that the electronic device 1400 can specifically be the electronic device in the above-mentioned embodiment, or the functions of the electronic device in the above-mentioned embodiment can be integrated in the electronic device 1400, and the electronic device 1400 can be used to execute the various steps and / or processes corresponding to the electronic device in the above-mentioned method embodiment.
[0201] Optionally, the memory 1402 may include a read-only memory and a random access memory, and provide instructions and data to the processor 1401. A portion of the memory 1402 may also include a non-volatile random access memory. For example, the memory 1402 may also store information about the device type. The processor 1401 may be used to execute the instructions stored in the memory, and when the processor executes the instructions, the processor 1401 may execute the various steps and / or processes corresponding to the electronic device in the above method embodiment.
[0202] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0203] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor executes the instructions in the memory, and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.
[0204] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0205] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0206] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0207] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0208] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0209] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0210] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A screen-off display method, characterized in that: Applied to electronic equipment, the method comprises: When the screen-off display condition is met, determining a target screen-off interface according to an application interface of a target application; In the screen-off display state, displaying the target screen-off interface; Among them, the application interface of the target application is currently in a running state, and the application interface of the target application has a corresponding screen-off interface.
2. The method according to claim 1, characterized in that Before determining the target screen-off interface according to the application interface of the target application, the method further includes: Determine whether there is an application interface running in the foreground; The step of determining a target screen-off interface according to an application interface of a target application includes: When it is determined that there is the application interface in the foreground running state, the screen-off interface corresponding to the application interface in the foreground running state is determined as the target screen-off interface.
3. The method according to claim 2, characterized in that The determining that there is the application interface in the foreground running state includes: In the case where there is an interface identifier containing a first preset mark in the reference set, determining that there is the application interface in the foreground running state; Among them, the reference set includes at least one interface identifier, and the interface identifier is used to indicate at least one application interface of at least one application, and the at least one application interface has a corresponding screen-off interface, and the first preset mark is used to indicate that the application interface corresponding to the interface identifier is in the foreground running state.
4. The method according to claim 3, characterized in that The application interface in the foreground running state is an application interface of the first application. Before determining that there is the application interface in the foreground running state, the method further includes: When the application interface of the first application is running in the foreground, the interface identifier corresponding to the application interface of the first application is marked in the reference set so that the interface identifier corresponding to the application interface of the first application contains the first preset mark.
5. The method according to claim 4, characterized in that The method further comprises: When it is determined that the application interface of the first application is not running in the foreground, the first preset mark of the interface identification mark corresponding to the application interface of the first application is cancelled in the reference set.
6. The method according to claim 3, further comprising: When it is determined that the interface identifier containing the first preset mark does not exist in the reference set, it is determined whether there is an interface identifier containing a second preset mark in the reference set, where the second preset mark is obtained by marking the interface identifier when the electronic device runs the application interface corresponding to the interface identifier in the background; In the case where it is determined that there is an interface identifier containing the second preset mark, determining that there is an application interface in a background running state; Based on the application interface in the background running state, the target screen-off interface is determined.
7. The method according to claim 6, characterized in that The application interface corresponding to the interface identifier having the second preset mark is an application interface of a second application, and before determining the target screen-off interface based on the application interface in the background running state, the method further includes: Determining whether the application interface of the second application is a preset type interface; The determining the target screen-off interface based on the application interface in the background running state includes: When it is determined that the application interface of the second application is the preset type interface, the second screen-off interface corresponding to the application interface of the second application is determined as the target screen-off interface.
8. The method according to claim 7, characterized in that The method further comprises: In the case of determining that the application interface of the second application is not the preset type interface, determining whether the second application is a preset application; When it is determined that the second application is the preset application, the second screen-off interface corresponding to the application interface of the second application is determined as the target screen-off interface.
9. The method according to claim 8, characterized in that The method further comprises: If it is determined that the second application is not the preset application, the screen is turned off.
10. The method according to claim 1, wherein before displaying the target screen-off interface in the screen-off display state, the method further comprises: When displaying the application interface of the target application, obtaining the current display brightness; Obtaining an off-screen display brightness based on the current display brightness mapping; The step of displaying the target screen-off interface in the screen-off display state includes: Adjusting the current display brightness corresponding to the application interface displaying the target application to the off-screen display brightness to display the target off-screen interface; Among them, the target screen-off interface is the screen-off interface corresponding to the application interface of the target application, and the current screen refresh rate of the electronic device is less than or equal to the refresh rate threshold.
11. An electronic device, characterized in that: include: A processing module, configured to determine a target screen-off interface according to an application interface of a target application when a screen-off display condition is met; The display module is used to display the target screen-off interface in the screen-off display state; wherein the application interface of the target application is currently in a running state, and the application interface of the target application has a corresponding screen-off interface.
12. An electronic device, characterized in that: The system comprises a processor and a memory, wherein the memory is used to store code instructions; the processor is used to run the code instructions to execute the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 10.
14. A computer program product, comprising computer program code, characterized in that: When the computer program code is executed on a computer, the computer is caused to implement the method according to any one of claims 1 to 10.
