Screen-off display method and electronic equipment

By detecting the area of ​​interest in the wallpaper and moving the AOD pattern, the problem of poor personalized display effect of the wallpaper in the existing technology is solved, rich personalized display and animation effects are achieved, and the user experience is improved.

CN118535058APending Publication Date: 2024-08-23HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410404549.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve a personalized screen-off display effect based on the wallpaper arbitrarily set by the user, and cannot meet the user's personalized needs.

Method used

By detecting the area of ​​interest in the wallpaper set by the user, determine the screen-off display AOD pattern, and move it from the preset position to the determined position in the wallpaper when the user lights up the screen, combined with the animation effect of the wallpaper, to achieve personalized Display content and animation effects.

Benefits of technology

It realizes the determination of AOD display content based on any wallpaper set by the user, improves user experience, meets personalized needs, and increases the fun and vividness of the product through rich display content and animation effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535058A
    Figure CN118535058A
Patent Text Reader

Abstract

The embodiment of the invention provides a screen-off display method and electronic equipment, relates to the field of terminals, and aims to determine the display content of a screen-off display AOD according to any desktop wallpaper or lock screen wallpaper set by a user, meet the individual requirements of the user and improve the user experience. The method comprises the steps that the electronic equipment detects a region of interest in wallpaper set by a user, wherein the region of interest is located at a first position in the wallpaper; the electronic equipment determines an AOD pattern according to the region of interest; when the electronic equipment is in the screen-off state, the AOD pattern is displayed at a second position of the display screen, and the second position is preset; the AOD pattern moves from the second position of the display screen to a third position of the display screen in response to the operation of lightening the display screen by the user, and the third position is determined according to the first position of the region of interest in the wallpaper; and the electronic equipment displays the wallpaper.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202011624908.1, and the original application date is December 30, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of terminals, and in particular to a screen-off display method and an electronic device. Background Art

[0003] Always on display (AOD) means that when the screen of an electronic device is off (off), part of the screen lights up and displays some information (such as time, battery level, SMS reminders, etc.). AOD can also be called off-screen display.

[0004] The display content of AOD was originally black and white, and the form was relatively simple. With the development of technology, color AOD came into being, and the forms of AOD are becoming more and more diverse.

[0005] For example, currently, the display content of AOD can be designed for the wallpaper preset by the system. When the user turns on the phone (unlocking by fingerprint, face recognition or pressing the power button), the display content of AOD can form an animation effect with the wallpaper preset by the system, which can bring users a novel experience. However, it is difficult to achieve a similar effect for the wallpaper set arbitrarily by the user, and it cannot meet the personalized needs of users. Summary of the invention

[0006] The embodiments of the present application provide a screen-off display method and an electronic device, which can determine the display content of the AOD according to any desktop wallpaper or lock screen wallpaper set by the user, thereby meeting the personalized needs of the user and improving the user experience.

[0007] In a first aspect, an embodiment of the present application provides a screen-off display method, including: an electronic device detects an area of ​​interest in a wallpaper set by a user, the area of ​​interest being located at a first position in the wallpaper; the electronic device determines an AOD pattern to be displayed when the screen is off based on the area of ​​interest; when the electronic device is in the screen-off state, the AOD pattern is displayed at a second position of the display screen, and the second position is preset; in response to the user's operation of lighting up the display screen, the AOD pattern moves from the second position of the display screen to a third position of the display screen, and the third position is determined based on the first position of the area of ​​interest in the wallpaper; the electronic device displays the wallpaper.

[0008] Based on the method provided in the embodiment of the present application, the electronic device can detect the area of ​​interest in the wallpaper set by the user, and determine the AOD pattern to be displayed when the screen is off based on the area of ​​interest. When the electronic device is in the off state, the AOD pattern can be displayed. In this way, the display content of the AOD can be determined according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the personalized needs of the user and improve the user experience. In addition, when the user turns on the display screen of the electronic device (enters the unlocking interface or desktop from the off screen interface), the electronic device can display the AOD pattern from the preset position (second position) to the third position (determined according to the position of the area of ​​interest in the lock screen wallpaper or desktop wallpaper), and then spread the animation of lighting up the wallpaper. The effect of this AOD pattern and wallpaper forming an animation can give users a better experience.

[0009] In a possible implementation, the method further includes: receiving an operation of setting a wallpaper by a user; and receiving an operation of determining to perform a screen-off display by a user. After the user sets the wallpaper and sets the screen-off display, the electronic device can determine the display content of the AOD according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the personalized needs of the user and improve the user experience.

[0010] In a possible implementation, the wallpaper set by the user includes a desktop wallpaper or a lock screen wallpaper. Optionally, the user can also set a desktop pictorial or a lock screen pictorial, that is, switch different wallpapers according to a preset rule, for example, a picture can be pushed to the user as a desktop wallpaper or a lock screen wallpaper at a preset time.

[0011] In a possible implementation, the electronic device displays the wallpaper including: the electronic device first displays the wallpaper, and then displays other information corresponding to the wallpaper; when the wallpaper is a lock screen wallpaper, the other information corresponding to the wallpaper includes application icons and controls on the lock screen interface; when the wallpaper is a desktop wallpaper, the other information corresponding to the wallpaper includes application icons and controls on the desktop. This fast animation of first lighting up the wallpaper and then displaying other information corresponding to the wallpaper can provide users with a better experience.

[0012] In one possible implementation, the electronic device detects an area of ​​interest in a wallpaper set by a user, including: the electronic device performs face detection on the wallpaper; when a face exists in the wallpaper, the area of ​​interest includes an area where the face is located; when no face exists in the wallpaper, the electronic device performs saliency detection on the wallpaper, and the area of ​​interest includes a salient area in the wallpaper.

[0013] In one possible implementation, the electronic device determines whether to turn off the screen to display an AOD pattern based on the area of ​​interest, including: if a face is detected, generating an organic shape, cutting out the face area from the wallpaper and placing it in the organic shape to obtain the AOD pattern; if no face is detected, performing a saliency detection on the wallpaper to obtain a first saliency area; if the size of the first saliency area meets a first preset condition, cutting the first saliency area, and performing special-shaped edge fitting on the cut first saliency area to obtain the AOD pattern; if the size of the first saliency area meets a second preset condition, generating an organic shape, and placing the first saliency area in the organic shape to obtain the AOD pattern.

[0014] In a possible implementation, the method further includes: feathering the edge of the AOD pattern, so that the edge of the AOD pattern can be smoother, beautifying the display effect of the AOD pattern, thereby improving the user's viewing experience.

[0015] In a possible implementation, cropping the first salient area includes: directly cropping the first salient area to obtain the AOD pattern; or cropping the first salient area and reducing or enlarging the AOD pattern. In this way, the size of the AOD pattern can be controlled within a reasonable range, beautifying the display effect of the AOD pattern, thereby improving the user's viewing experience.

[0016] In a possible implementation, performing saliency detection on the wallpaper to obtain the first saliency region includes: when the wallpaper includes multiple saliency regions, taking a saliency region selected by the user as the first saliency region; or determining the first saliency region according to a preset rule; wherein the preset rule includes determining the first saliency region according to the saliency of each saliency region among the multiple saliency regions. For example, the saliency region with the highest saliency may be taken as the first saliency region.

[0017] In a possible implementation, fitting the special-shaped edge of the cropped first salient area includes: fitting the edge of the cropped first salient area based on a Bezier curve. The Bezier curve is a smooth curve, and fitting the edge of the cropped first salient area based on the Bezier curve can make the edge of the first salient area smoother, thereby making the edge of the AOD pattern smoother, beautifying the display effect of the AOD pattern, and improving the user's viewing experience.

[0018] In a possible implementation, if a human face is detected, generating an organic shape includes: determining the organic shape according to the characteristics of the human face, the characteristics of the human face include the orientation of the human face; if the size of the first salient area meets the second preset condition, generating the organic shape includes: determining the organic shape according to the characteristics of the first salient area, the characteristics of the first salient area include the direction of the center of gravity, the center of mass or the center of symmetry of the first salient area. In this way, the AOD pattern containing the organic shape can be made more in line with the aesthetic composition and can improve the viewing experience.

[0019] In a possible implementation, the organic shape is composed of Bezier curves. The Bezier curve is a smooth curve, and the organic shape is also a soft shape. The AOD pattern obtained according to the organic shape will also make the user feel better.

[0020] In a possible implementation, cutting out the face area from the wallpaper and placing it in the organic shape includes: a preset distance is set between the top of the face and the top of the organic shape, and the face is located at the golden ratio dividing line of the organic shape; or the face is centered in the organic shape. In this way, the display area containing the face and the organic shape can be more in line with the aesthetic composition, which can improve the viewing experience.

[0021] In a possible implementation, when the electronic device is in the screen-off state, the electronic device also displays at least one of the following information: time, SMS reminder, missed call reminder, application message reminder, weather or battery level. In this way, the display content when the screen is off can be richer, more information can be prompted to the user, and the user can be prevented from missing important information, thereby improving the user experience.

[0022] In a possible implementation, when the electronic device is in the screen-off state, the electronic device still displays the time, the color of the time is determined according to the color of the AOD pattern, and the time is located in the opposite direction of the mass center, center of gravity or symmetry center of the AOD pattern. In this way, a visual balance can be achieved.

[0023] In a possible implementation, the AOD pattern moves from the second position of the display screen to the third position of the display screen, including: time and the AOD pattern move simultaneously, time gradually disappears during the movement, or time disappears after the AOD pattern moves to the third position. Such a design makes the product more diverse, adds interest, makes the AOD effect more vivid, and can improve user experience.

[0024] In a possible implementation, the source of the wallpaper set by the user includes at least one of a picture taken by the electronic device, a picture downloaded by the electronic device, or a screenshot of the electronic device. In this way, the display content of the AOD can be determined according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the personalized needs of the user and improve the user experience.

[0025] In a second aspect, an embodiment of the present application provides an electronic device having the function of implementing the method described in the first aspect and any possible implementation thereof. The function may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0026] In a third aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method as described in the first aspect and any possible implementation thereof.

[0027] In a fourth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method as described in the first aspect and any possible implementation thereof.

[0028] In a fifth aspect, an embodiment of the present application provides a chip system, which includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The chip system can be applied to an electronic device including a communication module and a memory. The interface circuit is used to receive a signal from the memory of the electronic device and send the received signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device can execute the method described in the first aspect and any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of a significant area provided in an embodiment of the present application;

[0030] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0031] Figure 3A A display schematic diagram provided for an embodiment of the present application;

[0032] Figure 3B Another display schematic diagram provided for an embodiment of the present application;

[0033] Figure 3C Another display schematic diagram provided for an embodiment of the present application;

[0034] Figure 4A Another display schematic diagram provided for an embodiment of the present application;

[0035] Figure 4B Another display schematic diagram provided for an embodiment of the present application;

[0036] Figure 4C Another display schematic diagram provided for an embodiment of the present application;

[0037] Figure 4D Another display schematic diagram provided for an embodiment of the present application;

[0038] Figure 5 Another display schematic diagram provided for an embodiment of the present application;

[0039] Figure 6 A schematic diagram of a method flow chart provided for an embodiment of the present application;

[0040] Fig. 7A A schematic diagram of rectangular frames of different sizes provided in an embodiment of the present application;

[0041] Figure 7B A schematic diagram of cutting a significant area provided in an embodiment of the present application;

[0042] Figure 8 A schematic diagram of a special-shaped edge fitting provided in an embodiment of the present application;

[0043] Fig. 9 A schematic diagram of an organic shape provided for an embodiment of the present application;

[0044] Fig.10 A schematic diagram of the layout of a human face in an organic shape provided in an embodiment of the present application;

[0045] Fig.11 A schematic diagram of determining the color of a time control provided in an embodiment of the present application;

[0046] Fig. 12A A schematic diagram of the position of a time control provided in an embodiment of the present application;

[0047] Fig. 12B A schematic diagram of the position of another time control provided in an embodiment of the present application;

[0048] Fig.13 Another display schematic diagram provided for an embodiment of the present application;

[0049] Fig.14 A schematic diagram of another method flow provided in an embodiment of the present application;

[0050] Fig.15 A schematic diagram of a chip structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Wherein, in the description of the present application, unless otherwise specified, "at least one" refers to one or more, and "a plurality of" refers to two or more than two. In addition, in order to facilitate the clear description of the technical scheme of the embodiment of the present application, in the embodiment of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit necessarily different.

[0052] In order to make the description of the following embodiments clear and concise, a brief introduction to the relevant concepts or technologies is first given:

[0053] Saliency detection: Usually when facing an image (a scene), the human eye will automatically focus on certain areas of interest and selectively ignore areas of no interest. These areas of interest are called salient areas. In the field of computer vision, the process of simulating this feature through image processing is called saliency detection. In layman's terms, saliency detection is to extract the most eye-catching part of an image.

[0054] At present, the implementation of saliency detection can include two categories: the first is through traditional image processing methods, and the second is through deep learning. After saliency detection, a saliency map can be obtained. The saliency map can be a grayscale map, and the higher the grayscale value, the higher the saliency.

[0055] For example, Figure 1 As shown, after performing saliency detection on image 001 (image 001 may be a picture taken by a user that includes a speaker and no other debris), image 002 may be obtained. Region 003 in image 002 has a high grayscale value and may be considered a salient region.

[0056] In the embodiment of the present application, for a wallpaper, when there is a face in the wallpaper, the region of interest includes the region where the face is located; when there is no face in the wallpaper, the region of interest includes the salient region in the wallpaper. The region where the face is located can be obtained based on a face detection algorithm (refer to the relevant description below), and the salient region can be obtained based on salient detection.

[0057] Organic shape (also referred to as organic shape, organic figure): generally refers to a shape that is different from a sharp-edged shape and is mainly composed of curves. For example, the organic shape can be composed of Bezier curves.

[0058] Bezier curve: The definition of a Bezier curve includes a starting point, an end point (also called an anchor point), and a middle point. Bezier curves include first-order Bezier curves, second-order Bezier curves, and third-order Bezier curves. Among them, a third-order Bezier curve includes two separated middle points. When sliding the two middle points, the shape of the third-order Bezier curve will change.

[0059] Feathering: The principle is to blur the connecting parts inside and outside the selected area (i.e. the selected area) to achieve a gradual transition, thus achieving a natural connection effect. The larger the feathering value, the wider the blur range and the more natural the connection effect.

[0060] Currently, the display content of the AOD can be designed for the wallpaper preset by the system (for example, the display content of the AOD can be manually designed according to the wallpaper, and the manually designed display content of the AOD can be marked as the content to be finally displayed). However, it is difficult to achieve a similar effect for the wallpaper set arbitrarily by the user, and it is impossible to meet the personalized needs of the user.

[0061] The embodiment of the present application provides a method for displaying a screen off, in which an electronic device can detect an area of ​​interest in a wallpaper set by a user, and the area of ​​interest is located at a first position in the wallpaper; the electronic device determines the AOD pattern to be displayed when the screen is off according to the area of ​​interest, and when the electronic device is in the screen off state, the AOD pattern is displayed at a second position on the display screen. In this way, the display content of the AOD can be determined according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the personalized needs of the user and improve the user experience. In addition, when the user turns on the display screen of the electronic device (enters the unlocking interface or desktop from the screen off interface), the electronic device can display the AOD pattern from the preset position (second position) to the third position (determined according to the position of the area of ​​interest in the lock screen wallpaper or desktop wallpaper), and then diffuse the animation of lighting up the wallpaper. The effect of this AOD pattern and wallpaper forming an animation can give users a better experience.

[0062] like Figure 2As shown, the structure of the electronic device (e.g., mobile phone) provided in the embodiment of the present application is illustrated. The electronic device 200 may include: a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.

[0063] Among them, the above-mentioned sensor module 280 may include sensors such as pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor and bone conduction sensor.

[0064] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 200. In other embodiments, the electronic device 200 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0065] The processor 210 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 memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0066] The controller may be the nerve center and command center of the electronic device 200. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0067] 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.

[0068] 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.

[0069] It is understandable that the interface connection relationship between the modules shown in this embodiment is only a schematic illustration and does not constitute a structural limitation on the electronic device 200. In other embodiments, the electronic device 200 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0070] The charging management module 240 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 240 charges the battery 242, it can also power the electronic device through the power management module 241.

[0071] The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 294, the camera 293, and the wireless communication module 260. In some embodiments, the power management module 241 and the charging management module 240 can also be set in the same device.

[0072] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor. In some embodiments, the antenna 1 of the electronic device 200 is coupled with the mobile communication module 250, and the antenna 2 is coupled with the wireless communication module 260, so that the electronic device 200 can communicate with the network and other devices through wireless communication technology.

[0073] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0074] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.

[0075] The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the same device as at least some modules of the processor 210.

[0076] The wireless communication module 260 can provide wireless communication solutions for application in the electronic device 200, including WLAN (such as (wirelessfidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), nearfield communication technology (nearfield communication, NFC), infrared technology (infrared, IR), etc.

[0077] The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 may also receive signals to be sent from the processor 210, modulate the frequencies of the signals, amplify the signals, and convert the signals into electromagnetic waves for radiation via the antenna 2.

[0078] The electronic device 200 implements the display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 294 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, which execute program instructions to generate or change display information.

[0079] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel.

[0080] The electronic device 200 can realize the shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294 and the application processor. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture a static image or a video. In some embodiments, the electronic device 200 may include 1 or N cameras 293, where N is a positive integer greater than 1.

[0081] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0082] The internal memory 221 may be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the electronic device 200 by running the instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 210 may execute the instructions stored in the internal memory 221, and the internal memory 221 may include a program storage area and a data storage area.

[0083] 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 200 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 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.

[0084] The electronic device 200 can implement audio functions such as music playing and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.

[0085] The button 290 includes a power button, a volume button, etc. The button 290 can be a mechanical button. It can also be a touch button. The motor 291 can generate a vibration prompt. The motor 291 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 292 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card can be connected to and separated from the electronic device 200 by inserting it into the SIM card interface 295 or pulling it out from the SIM card interface 295. The electronic device 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.

[0086] To facilitate understanding, taking a mobile phone as an electronic device as an example, the screen-off display method provided in an embodiment of the present application is specifically introduced in conjunction with the accompanying drawings.

[0087] like Figure 3A As shown in (a) of FIG. 1 , after the mobile phone detects that the user clicks on the setting application 302 on the main interface 301 of the mobile phone A, the following information may be displayed: Figure 3A In the setting interface 303 shown in (b) of FIG. 303, a plurality of setting options may be included, such as a personal account setting item (e.g., Glen Gao), a WLAN setting item, a Bluetooth setting item, a mobile network setting item, a more connection setting item, a desktop and wallpaper setting item, etc. In response to the user clicking on the area 304 corresponding to the desktop and wallpaper setting item, as shown in FIG. Figure 3AAs shown in (c) of FIG. 3 , the mobile phone may display a desktop and wallpaper interface 305. In the desktop and wallpaper interface 305, multiple setting options may be included, such as screen off display (also referred to as screen off display), magazine lock screen, theme, wallpaper, desktop settings, desktop style, lock screen signature, etc. In response to the user clicking on the area 306 corresponding to the wallpaper option, as shown in FIG. Figure 3A As shown in (d) in FIG. 3 , the mobile phone may display a wallpaper interface 307, in which local wallpapers and online wallpapers may be included. In response to the user clicking on the wallpaper 308, as shown in FIG. Figure 3A As shown in (e) in the figure, the mobile phone can display interface 309, in which the original image 310 of wallpaper 308 and three operation options can be included, namely, set as desktop wallpaper option 311, set as lock screen wallpaper option 312 and simultaneous option (i.e., set as desktop wallpaper and lock screen wallpaper at the same time) 313. If the user selects simultaneous option 313, in response to the user's operation, the mobile phone can set wallpaper 310 as both desktop wallpaper and lock screen wallpaper, i.e., the desktop wallpaper and lock screen wallpaper are the same. Of course, the user can set the desktop wallpaper and lock screen wallpaper separately (i.e., the desktop wallpaper and lock screen wallpaper can be different), which is not limited in this application.

[0088] After the user sets the wallpaper, Figure 3B As shown in (a) of FIG. 3 , the interface 305 may be returned, and in response to the user clicking on the screen to display the corresponding area 320, as shown in FIG. Figure 3B As shown in (b) in the figure, the mobile phone can display the screen-off display interface 321. Among them, the prompt animation / prompt picture 322 can be used to demonstrate the effect of the screen-off display to the user. The button 323a corresponding to the screen-off display is used for the user to choose whether to turn on the screen-off display function. After reading the prompt text 323b, the user can understand the function of the screen-off display and decide whether to turn on the switch 323a. If the user turns on the switch 323a, it means that the user agrees to turn on the screen-off display function. In this way, mobile phone A can display the desktop pattern or lock screen pattern, time and other information after the screen is turned off. Optionally, the mobile phone can also display text message reminders, application message reminders, battery power and other information.

[0089] Furthermore, the user can choose to display the desktop pattern when the screen is off (i.e., determine the AOD pattern based on the desktop wallpaper, and finally display the AOD pattern when the screen is off) or the lock screen pattern (i.e., determine the AOD pattern based on the lock screen wallpaper, and finally display the AOD pattern when the screen is off). For the AOD pattern, please refer to the relevant description below. The user can click button 324 to choose to display the desktop pattern, or the user can click button 325 to choose to display the lock screen pattern. When the lock screen wallpaper and the desktop wallpaper are the same, the effect of the user choosing to display the desktop pattern or the lock screen pattern is the same; when the lock screen wallpaper and the desktop wallpaper are different, the effect of the user choosing to display the desktop pattern or the lock screen pattern is different. Usually, the user cannot choose to display both the desktop pattern and the lock screen pattern at the same time. When the user selects one of the display modes, the button corresponding to the other display mode can be grayed out (i.e., unavailable). The user can also set the duration of the screen off display. For example, the user can select the all-day display through button 326 (that is, the screen is off at any time of the day), or the user can decide the start time and end time of the screen off display by himself. The user can adjust the start time (for example, 7:00) and end time (for example, 22:00) of the screen off display through time control 327 and time control 328. The user can also select the clock style when the screen is off.

[0090] like Figure 3C As shown in (a) of FIG. 1 , in response to the user clicking on the area 329 corresponding to the clock style in the interface 321, as shown in FIG. Figure 3C As shown in (b) in the figure, the mobile phone can display an interface 330, in which a clock display style 331 and a clock display style 332 can be included. The clock display style 331 displays time in a single row (the time is displayed in one row / one row), and the clock display style 332 displays time in a double row (the time is displayed in two rows / two rows). For example, in response to the user selecting the clock display style 331 and clicking the finish button 333, the mobile phone can display the clock (time) in the clock display style selected by the user. Optionally, the clock display style 331 can be the default display style of the mobile phone. Of course, the mobile phone can provide more other clock display styles, which are not limited in this application.

[0091] In some embodiments, when the lock screen wallpaper and the desktop wallpaper are different, if the user chooses to display the desktop pattern when the screen is off, the AOD pattern displayed when the phone screen is off can be determined based on the area of ​​interest of the desktop wallpaper. It should be noted that in the embodiments of the present application, the AOD pattern displayed by the phone is determined based on the area of ​​interest in the wallpaper set by the user, rather than being designed in advance (for example, manually set by a designer). For any wallpaper set by the user, the AOD pattern can be intelligently displayed, which can better meet the personalized needs of the user.

[0092] The following describes different situations in which the user chooses to display the desktop pattern when the screen is off:

[0093] (1) When the user enters the desktop from the screen-off state, the AOD pattern and desktop wallpaper can present a continuous animation effect.

[0094] For example, Figure 4A As shown in (a), when the mobile phone is turned off (screen off) and stationary (for example, placed on a desk), the mobile phone can perform AOD, that is, display the screen off interface 340. The display content of AOD can be displayed in the display area 343 of the screen off interface 340, and the display content of AOD may include a time control (hereinafter referred to as time) 341 and a pattern extracted from the desktop wallpaper (hereinafter referred to as AOD pattern) 342. Among them, the AOD pattern 342 may be intercepted from the desktop wallpaper after saliency detection (the process of saliency detection is described in the relevant description below), and the edge of the AOD pattern 342 is an organic shape (the calculation process of the organic shape is described in the relevant description below). If the mobile phone is set with fingerprint recognition, when the sensor of the mobile phone detects that the user picks up, touches or approaches the mobile phone, as shown in Figure 4A As shown in (b) of FIG. 1 , the mobile phone can display a fingerprint pattern 344 in the screen-off interface 340 in response to the user inputting a fingerprint, such as Figure 4A As shown in (c) in FIG. 1 , the time 341 and the AOD pattern 342 can be transferred from the display area 343 (the middle position of the display screen) to a specific position in the display area 345 (the lower right side of the display screen). Optionally, the time 341 can be gradually hidden (the color gradually fades / transparent) during the movement. The specific position in the display area 345 can be the original position of the AOD pattern 342 in the desktop wallpaper. Then, as shown in FIG. Figure 4A As shown in (d) in FIG. 1 , the mobile phone can diffusely light up the wallpaper on the desktop 346, and then, as shown in FIG. Figure 4A As shown in (e), the mobile phone can display other application icons (hereinafter referred to as icons) and / or controls (for example, time controls) on the desktop 346, including various icons and / or controls in display area 347a and display area 347b. In this way, when the user unlocks the mobile phone, the mobile phone can display the AOD pattern from the middle position back to the original position (the position of the AOD pattern in the desktop wallpaper), and then diffusely light up the desktop wallpaper, followed by a quick animation of other icons and / or controls on the desktop. This kind of AOD pattern and the animation effect of the desktop content can give users a better experience. In addition, since the AOD pattern is extracted from the wallpaper set by the user, it can meet the user's personalized needs.

[0095] Optional, such as Figure 4AAs shown in (a) or (b) in FIG. 1 , when the screen is off, the time 341 and the AOD pattern 342 in the display area 343 can be relatively dim to avoid being too glaring and causing discomfort to the user's eyes. Figure 4A From (c) to (d), the AOD pattern 342 can gradually brighten and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort and improve the user experience.

[0096] In a possible design, for different desktop wallpapers, since the content and position of the salient area are different, the display content of the AOD and the animation effect when unlocking may also be different. Figure 3A As shown in (d) in , if the user sets Wallpaper 360 as the desktop wallpaper, Figure 4B As shown in (a) in FIG. 1 , the display content of the AOD may include a time control 372a and an AOD pattern 372b extracted from the desktop wallpaper (the wallpaper corresponding to wallpaper 360). The AOD pattern 372b may be extracted from the desktop wallpaper (the wallpaper corresponding to wallpaper 360) after saliency detection, and the edge of the AOD pattern 372b may be obtained by special-shaped edge fitting (the calculation process of special-shaped edge fitting is described below). When the sensor of the mobile phone detects that the user picks up, touches or approaches the mobile phone, as shown in FIG. Figure 4B As shown in (b) of FIG. 1 , the mobile phone can display a fingerprint pattern 344 in the screen-off interface 340 in response to the user inputting a fingerprint, such as Figure 4B As shown in (c) in FIG. 1 , the time 372a and the AOD pattern 372b can be transferred from the display area 343 (the middle position of the display screen) to a specific position in the display area 373a (the lower part of the display screen), and the specific position in the display area 373a can be the original position of the AOD pattern 372b in the desktop wallpaper. Then, as shown in FIG. Figure 4B As shown in (d) in FIG. 1 , the mobile phone can diffusely light up the wallpaper on the desktop 346, and then, as shown in FIG. Figure 4B As shown in (e), the mobile phone can display other icons and / or controls on the desktop 346, including various icons and / or controls in the display area 347a and the display area 347b.

[0097] Optional, such as Figure 4B As shown in (a) or (b) in the figure, when the screen is off, the time 372a and AOD pattern 372b in the display area 343 can be relatively dim to avoid being too glaring and causing discomfort to the user's eyes. Figure 4B From (c) to (d), the AOD pattern 372b can gradually brighten and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort and improve the user experience.

[0098] In a possible design, if the salient area of ​​the desktop wallpaper is large, the salient area of ​​the desktop wallpaper may be reduced as a whole to generate the AOD pattern. Figure 3A As shown in (d) in FIG. 1 , if the user sets wallpaper 361 as the desktop wallpaper, Figure 4C As shown in (a) in FIG. 1 , the display content of the AOD may include a time control 374a and an AOD pattern 374b extracted from the desktop wallpaper (the wallpaper corresponding to the wallpaper 361). The AOD pattern 374b may be a screenshot containing a salient area taken from the desktop wallpaper (the wallpaper corresponding to the wallpaper 361) after saliency detection and reduced in size. When the sensor of the mobile phone detects that the user picks up the mobile phone, touches the mobile phone, or approaches the mobile phone, as shown in FIG. Figure 4C As shown in (b) of FIG. 1 , the mobile phone can display a fingerprint pattern 344 in the screen-off interface 340 in response to the user inputting a fingerprint, such as Figure 4C As shown in (c) in FIG. 3 , the AOD pattern 374b can be enlarged (magnified) to the original size in the display area 375 to obtain the AOD pattern 374c, and then the enlarged AOD pattern 374c is moved to the original position in the desktop wallpaper. Then, as shown in FIG. Figure 4C As shown in (d) in FIG. 1 , the mobile phone can diffusely light up the wallpaper on the desktop 346, and then, as shown in FIG. Figure 4C As shown in (e), the mobile phone can display other icons and / or controls on the desktop 346, including various icons and / or controls in the display area 347a and the display area 347b.

[0099] Optional, such as Figure 4C As shown in (a) or (b) in the figure, when the screen is off, the time 374a and AOD pattern 374b in the display area 343 can be relatively dim to avoid being too glaring and causing discomfort to the user's eyes. Figure 4C From (c) to (d), the AOD pattern 374c can gradually brighten and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort and improve the user experience.

[0100] Optionally, in response to the user inputting a fingerprint, the AOD pattern 374b may be first moved to the vicinity of the original position in the desktop wallpaper, and then enlarged to obtain the AOD pattern 374c. Alternatively, in response to the user inputting a fingerprint, the AOD pattern 374b may be gradually enlarged to the original size (i.e., the size in the desktop wallpaper) during the process of moving the AOD pattern 374b, which is not limited in this application.

[0101] For example, Figure 3A As shown in (d) in FIG. 1 , if the user sets wallpaper 362 as the desktop wallpaper, such as Figure 4DAs shown in (a) in FIG. 1 , the display content of the AOD may include a time control 377a and an AOD pattern 377b extracted from the desktop wallpaper (the wallpaper corresponding to the wallpaper 360). The AOD pattern 377b may be a screenshot containing a face captured from the desktop wallpaper after face detection, and the edge of the AOD pattern 377b may be an organic shape. When the sensor of the mobile phone detects that the user picks up the mobile phone, touches the mobile phone, or approaches the mobile phone, as shown in FIG. Figure 4D As shown in (b) of FIG. 1 , the mobile phone can display a fingerprint pattern 344 in the screen-off interface 340 in response to the user inputting a fingerprint, such as Figure 4D As shown in (c) in FIG. 1 , the time 377a and the AOD pattern 377b can be transferred from the display area 343 (the middle position of the display screen) to a specific position in the display area 378 (the lower part of the display screen), and the specific position in the display area 378 can be the original position of the AOD pattern 377b in the desktop wallpaper. Then, as shown in FIG. Figure 4D As shown in (d) in FIG. 1 , the mobile phone can diffusely light up the wallpaper on the desktop 346, and then, as shown in FIG. Figure 4D As shown in (e), the mobile phone can display other icons and / or controls on the desktop 346, including various icons and / or controls in the display area 347a and the display area 347b.

[0102] Optional, such as Figure 4D As shown in (a) or (b) in the figure, when the screen is off, the time 377a and AOD pattern 377b in the display area 343 can be relatively dim to avoid being too glaring and causing discomfort to the user's eyes. Figure 4D From (c) to (d), the AOD pattern 377b can gradually brighten and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort and improve the user experience.

[0103] In some embodiments, the unlocking method of the mobile phone (i.e., the method of entering the desktop or application interface from the screen-off state) can also be face recognition unlocking, sliding unlocking, or password unlocking, which is not limited in this application. Regardless of the unlocking method used, after the mobile phone is unlocked, the AOD pattern can be displayed from the middle position back to the original position (the position of the AOD pattern in the desktop wallpaper), and then the desktop wallpaper is diffused and lit, followed by a quick animation of other icons / or controls on the desktop. The effect of this AOD pattern being animated with the content of the desktop can give users a better experience. In addition, since the AOD pattern is extracted from the wallpaper set by the user, it can meet the user's personalized needs.

[0104] Optionally, other icons and / or controls on the desktop may fly into the desktop, or may be displayed from light to dark until normal display, or may be displayed with other animation effects, which are not limited in this application. In this way, a richer visual experience may be presented to the user.

[0105] In some embodiments, the mobile phone can display the corresponding AOD pattern from the middle position back to the original position, and the desktop wallpaper and other icons and controls on the desktop can be displayed at the same time, which can reduce the user's waiting time and improve the user experience.

[0106] In some embodiments, the AOD pattern may disappear immediately, and then the lock screen wallpaper may light up quickly and other information on the lock screen interface may appear, thereby saving the user's waiting time and improving the user experience.

[0107] (2) When the user enters the lock screen interface from the screen-off state, the AOD pattern and the lock screen wallpaper can refer to the presentation method in the prior art, that is, when the user clicks the power button to enter the lock screen interface, the AOD pattern can disappear immediately, and then the mobile phone displays the lock screen wallpaper and the icons and / or controls of the lock screen interface and other information.

[0108] Optionally, the AOD pattern may fade gradually and disappear; or may gradually shrink to a point and then disappear; or may be enlarged and then disappear; for example, the AOD pattern may be enlarged and then decomposed into a snowflake, a meteor, or a heart shape and then disappear, or disappear with other animation effects, which are not limited in this application. In this way, a richer visual experience can be presented to the user.

[0109] (3) When the user enters the lock screen interface from the screen-off state and then enters the desktop, the interaction between the AOD pattern and the lock screen interface can refer to the relevant description in the above situation (2), and the interaction between the lock screen interface and the desktop (i.e., the display effect when entering the desktop from the lock screen interface) can refer to the presentation method in the prior art. For example, when the user enters the fingerprint on the lock screen interface, the lock screen wallpaper and the icons and time of the lock screen interface can disappear immediately, and then the mobile phone displays the desktop wallpaper and the icons and controls of the desktop.

[0110] Optionally, when entering the desktop from the lock screen interface, the lock screen wallpaper and the icons and other information on the lock screen interface may gradually fade and disappear; or may gradually shrink to a point and then disappear; or may enlarge and then disappear; or the lock screen wallpaper and the icons and other information on the lock screen interface may be decomposed into a snowflake shape, a shooting star shape, a heart shape and then disappear, or disappear with other animation effects, which are not limited in this application. In this way, a richer visual experience can be presented to the user.

[0111] In some embodiments, when the lock screen wallpaper and the desktop wallpaper are different, if the user chooses to display the lock screen pattern when the screen is off, the AOD pattern displayed when the phone screen is off can be determined based on the area of ​​interest of the lock screen wallpaper. The following describes different situations in which the user chooses to display the lock screen pattern when the screen is off:

[0112] (1) When the user enters the desktop from the screen-off state, the AOD pattern and the desktop wallpaper can refer to the presentation method in the prior art. For example, when the user clicks the power button to enter the lock screen interface, the AOD pattern can disappear immediately, and then the mobile phone displays the desktop wallpaper and the icons and controls of the lock screen interface.

[0113] Optionally, the AOD pattern may fade gradually and disappear; or may gradually shrink to a point and then disappear; or may be enlarged and then disappear; for example, the AOD pattern may be enlarged and then decomposed into a snowflake, a meteor, or a heart shape and then disappear, or disappear with other animation effects, which are not limited in this application. In this way, a richer visual experience can be presented to the user.

[0114] (2) When the user enters the lock screen interface from the screen-off state, the AOD pattern and lock screen wallpaper can present a continuous animation effect.

[0115] For example, Figure 5 As shown in FIG. 1 , when the mobile phone is turned off (off screen) and is stationary (for example, placed on a desk), the mobile phone can perform AOD, that is, display the screen off interface 340. The display content of AOD can be displayed in the display area 343 of the screen off interface 340, and the display content of AOD can include time 341 and AOD pattern 342 extracted from the lock screen wallpaper. If the mobile phone is set with fingerprint recognition, when the sensor of the mobile phone detects that the user picks up the mobile phone, touches the mobile phone, or approaches the mobile phone, Figure 5 As shown in (b) of FIG. 1 , the mobile phone can display the fingerprint pattern 344 in the screen-off interface 340 in response to the user pressing the power button (unlock button) 348, as shown in FIG. Figure 5 As shown in (c) in FIG. 1 , the time 341 and the AOD pattern 342 can be transferred from the display area 343 (the middle position of the display screen) to a specific position in the display area 345, and the specific position in the display area 345 can be the original position of the AOD pattern 342 in the lock screen wallpaper. Figure 5 As shown in (d) in FIG. 1 , the mobile phone can diffusely light up the wallpaper on the lock screen interface 350, and then, as shown in FIG. Figure 5As shown in (e) in the figure, the mobile phone can display other information on the lock screen interface 350, such as the information in the display area 349 (including time, signal, power, etc.). In this way, when the user turns on the mobile phone (enters the unlock interface from the screen-off interface), the mobile phone can display the AOD pattern from the middle position back to the original position (the position of the AOD pattern in the lock screen wallpaper), then diffusely light up the lock screen wallpaper, and then a fast animation of other information on the lock screen interface appears. This animation effect of the AOD pattern and the lock screen content can give users a better experience.

[0116] Optionally, the way to enter the lock screen interface can also be to approach the phone, touch the phone (for example, double-click the phone), etc., which is not limited in this application. Regardless of which method is used to enter the lock screen interface, the phone can display the AOD pattern from the middle position back to the original position (the position of the AOD pattern in the lock screen wallpaper), then diffuse and light up the lock screen wallpaper, and then a fast animation of other information on the lock screen interface appears. This animation effect of the AOD pattern and the content of the lock screen can give users a better experience.

[0117] It is understandable that when the lock screen wallpaper is wallpaper 360, wallpaper 361, wallpaper 362 or other wallpapers described above, the AOD pattern can be determined according to the corresponding wallpaper, that is, different wallpapers correspond to different AOD patterns. The specific AOD pattern can refer to the relevant description above and will not be repeated here. When the user turns on the phone (enters the unlocking interface from the screen-off interface), the phone can display the corresponding AOD pattern from the middle position back to the original position (the position of the AOD pattern in the lock screen wallpaper), and then spread the lock screen wallpaper, and then a quick animation of other information on the lock screen interface appears. This kind of AOD pattern and the animation effect of the lock screen content can give users a better experience.

[0118] Optionally, other icons and / or controls on the lock screen interface may fly into the lock screen interface, or may be displayed in a manner from light to dark until normal display, or may be displayed with other animation effects, which is not limited in this application. In this way, a richer visual experience may be presented to the user.

[0119] In some embodiments, the mobile phone can display the corresponding AOD pattern from the middle position back to the original position, and then the lock screen wallpaper and other icons and controls on the lock screen interface can be displayed at the same time, which can reduce the user's waiting time and improve the user experience.

[0120] In some embodiments, the AOD pattern may disappear immediately, and then the lock screen wallpaper may light up quickly and other information on the lock screen interface may appear, thereby saving the user's waiting time and improving the user experience.

[0121] (3) When the user enters the lock screen interface from the screen-off state and then enters the desktop, the interaction between the AOD pattern and the lock screen interface can refer to the relevant description in the above situation (2), and the interaction between the lock screen interface and the desktop (i.e., the display effect when entering the desktop from the lock screen interface) can refer to the presentation method in the prior art. For example, when the user enters the fingerprint on the lock screen interface, the lock screen wallpaper and the icons and controls on the lock screen interface can disappear immediately, and then the mobile phone displays the desktop wallpaper and the icons and controls on the desktop.

[0122] Optionally, when entering the desktop from the lock screen interface, the lock screen wallpaper and the icons and other information on the lock screen interface gradually fade and disappear; or they can gradually shrink to a point and then disappear; or they can be enlarged and then disappear; or the lock screen wallpaper and the icons and other information on the lock screen interface can be decomposed into snowflakes, meteors, hearts and then disappear, or disappear with other animation effects, which are not limited in this application. In this way, a richer visual experience can be presented to the user.

[0123] In some embodiments, when the lock screen wallpaper and the desktop wallpaper are the same, the screen off display effect when the user chooses to display the desktop pattern or the lock screen pattern is similar. That is, whether the user chooses to display the desktop pattern when the screen is off, or the user chooses to display the lock screen pattern when the screen is off, the AOD pattern is determined based on the area of ​​interest of the same picture (the picture can be used as both the desktop wallpaper and the lock screen wallpaper).

[0124] When the lock screen wallpaper and the desktop wallpaper are the same, the animation effect when the user enters the lock screen interface from the screen off state can refer to the relevant description above, and the animation effect when the user enters the desktop from the screen off state can also refer to the relevant description above and will not be repeated here.

[0125] It should be noted that compared with the case where the lock screen wallpaper and the desktop wallpaper are different, when the lock screen wallpaper and the desktop wallpaper are the same, the animation effect when the user enters the lock screen interface from the screen-off state and then enters the desktop can be more continuous.

[0126] For example, when entering the desktop from the lock screen interface, since the lock screen wallpaper is the same as the desktop wallpaper, that is, the display background part can remain unchanged, the icons and other information on the lock screen interface can gradually disappear, and the icons and other information on the desktop can gradually enter the display area, such as being displayed from light to dark, or displayed with an animation effect, which is not limited in this application. In this way, after the user enters the lock screen interface from the screen-off state, the animation effect of entering the desktop is more continuous, and the user experience is higher.

[0127] The specific implementation method of the screen-off display method provided in the embodiment of the present application is described below.

[0128] When the user turns on the screen-off display function, in response to the user's operation, such as Figure 6As shown, the mobile phone can perform face detection on the wallpaper (desktop wallpaper or lock screen wallpaper). If a face is detected, an organic shape can be generated, and the face extracted from the wallpaper can be placed in the organic shape. If no face is detected, the wallpaper can be detected for saliency. If the salient area meets the first condition, area demarcation (cropping) and special-shaped edge fitting can be performed to obtain an AOD pattern; if the size of the salient area meets the second condition, an organic shape can be generated, and the salient area extracted from the wallpaper can be placed in the organic shape to obtain an AOD pattern. For images in organic shapes or images with special-shaped edge fitting, feathering processing can be performed to obtain an AOD pattern. Optionally, the AOD pattern can also be rendered.

[0129] Furthermore, if it is also necessary to display the time when performing AOD, the color of the time control can be further determined, and then the combined position of the time control and the AOD pattern can be calculated to obtain the complete AOD display content. At this time, the AOD display content can include the time control (hereinafter referred to as time) and the pattern extracted from the wallpaper (hereinafter referred to as AOD pattern).

[0130] Among them, when detecting whether there is a face in the wallpaper, face detection algorithms (face recognition algorithms) such as VJ (Viola-Jones), multi-task convolutional neural network (MTCNN), FaceBoxes, RetinaFace, and CenterFace can be used, but this application does not limit it.

[0131] When there is no face in the wallpaper (the face detection result is negative), if the size of the salient area meets the first condition, in a possible design, the salient area can be demarcated, for example, the salient area of ​​the wallpaper (also called the foreground content area) can be cropped according to the result of the salient detection to obtain the AOD pattern. Assuming that the height of the salient area is H and the width is W, and the screen width of the mobile phone is w, the first condition can be, for example, H is greater than 40% w and / or W is greater than 30% w.

[0132] For example, Fig. 7A As shown, salient regions of different sizes can be cropped according to different rectangular frames. The size of rectangular frame 701 is: 80% w*60% w (width*height); the size of rectangular frame 702 is: 90% w*40% w; the size of rectangular frame 703 is: 50% w*80% w; and the size of rectangular frame 704 is: 40% w*30% w.

[0133] Assume that the height of the salient area is H, the width is W, and the screen width of the mobile phone is w; when W is greater than 90% w, when H is greater than 60% w, the salient area can be cropped using a rectangular frame 701, and the size of the cropped salient area is 80% w*60% w; when H is less than 60% w and greater than 40% w, the salient area can be cropped using a rectangular frame 701, and the size of the cropped salient area can be 80% w*H; when H is less than 40% w and greater than 30% w, the salient area can be cropped using a rectangular frame 702, and the size of the cropped salient area can be 90% w*H; when H is less than 30% w, the salient area can be cropped using a rectangular frame 704, and the cropped salient area can be placed in an organic shape (refer to the description below for the organic shape).

[0134] When W is greater than 80% w and less than 90% w, when H is greater than 60% w, the rectangular frame 701 can be used to crop the significant area, and the size of the cropped significant area is 80% w*60% w; when H is less than 60% w and greater than 40% w, the rectangular frame 701 can be used to crop the significant area, and the size of the cropped significant area can be 80% w*H; when H is less than 40% w and greater than 30% w, the significant area does not need to be cropped, that is, the size of the significant area is still W*H; when H is less than 30% w, the rectangular frame 704 can be used to crop the significant area, and the cropped significant area can be placed in an organic shape.

[0135] When W is greater than 50% w and less than 80% w, and H is greater than 60% w, the salient area can be cropped using a rectangular frame 701, and the size of the cropped salient area is W*60% w; when H is less than 60% w and greater than 40% w, the salient area may not be cropped, that is, the size of the salient area is still W*H.

[0136] When W is less than 50%w and greater than 30%w, and H is greater than 80%w, the salient area can be cropped using the rectangular frame 701, and the size of the cropped salient area is W*80%w; when H is less than 80%w and greater than 40%w, the salient area does not need to be cropped, that is, the size of the salient area is still W*H.

[0137] When W is less than 30% w, the rectangular frame 704 or the rectangular frame 703 may be used to crop the salient region, and the cropped salient region may be placed in an organic shape.

[0138] In another possible design, when there is no human face in the wallpaper and the size of the salient area meets the first condition, that is, when the salient area is large, the salient area may not be cropped, but the salient area may be reduced as a whole to obtain the AOD pattern. Alternatively, the salient area may be cropped and then reduced as a whole to obtain the AOD pattern.

[0139] When there is no human face in the wallpaper and the size of the salient area meets the second condition, an organic shape can be generated, and the salient area can be placed in the organic shape to obtain an AOD pattern. For example, assuming that the salient area is high H and wide W, and the screen width of the mobile phone is w, the second condition can be that H is less than 40% w and W is less than 30% w.

[0140] like Figure 7B As shown, when cropping the significant area, two thirds lines S1 and S2 can be made vertically, and two thirds lines S3 and S4 can be made horizontally, and four intersection points X1, X2, X3 and X4 between the four thirds lines are obtained. The direction opposite to the center of gravity Z of the significant area (white part) is selected horizontally (left and right) (i.e., the direction away from the center of gravity), and the direction same as the center of gravity of the significant area is selected vertically (up and down) (i.e., the direction close to the center of gravity), so as to select a third point X2, and crop the corresponding area based on the rectangular frame C (based on the rectangular frame determined in the above description) with the selected third point X2 as the center, so as to obtain the AOD pattern.

[0141] In addition, if two significant areas are detected in the wallpaper, the user can choose which significant area to use as the AOD pattern, or the mobile phone system can determine the significant area (i.e., the first significant area) that will eventually be used as the AOD pattern according to preset rules. The significant area (i.e., the first significant area) is then processed to obtain the AOD pattern. The specific process can refer to the relevant description above and will not be repeated here. Among them, the preset rule can be to determine a significant area based on the significance values ​​of multiple significant areas (the significance value is used to characterize the significance of the significant area). For example, determine the most significant significant area as the first significant area.

[0142] After the AOD pattern is determined, in order to make the edge of the AOD pattern smoother and more rounded, profile edge fitting may be performed on the edge pixel blocks of the AOD pattern, and the fitted curve is used as the edge of the AOD pattern finally displayed.

[0143] For example, Figure 8As shown, the midpoint of the line connecting every two convex vertices in the pixel block of the AOD pattern can be set as the starting point and end point of the cubic Bezier curve, and the midpoint of the line between each convex vertex and the midpoint of the line connecting every two convex vertices (i.e., a quarter point of the line connecting every two convex vertices) can be used as the control point of the cubic Bezier curve, thereby forming a closed Bezier curve.

[0144] When there is a face in the wallpaper (i.e. the face detection result is yes), the area where the face is located can be used as the AOD pattern. When there are multiple faces, the area where the face with a larger area is located can be selected as the AOD pattern. And according to the characteristics of the area where the face is located (for example, the orientation of the face, etc.), the organic shape can be calculated as the display edge of the AOD pattern to avoid the risk of strange user perception when the face is directly used as the display edge of the AOD.

[0145] Alternatively, when there is no human face in the wallpaper and the size of the salient area meets the second condition, the organic shape can be calculated based on the characteristics of the salient area (for example, the center of gravity of the salient area, etc.), and the salient area can be placed in the organic shape as an AOD pattern, avoiding the problem of directly using the salient area as the AOD pattern and causing a bad user experience.

[0146] like Fig. 9 As shown in (a), a circle Y with a radius of R is drawn with point O as the center. The value range of R can be 25%w to 30%w, and w is the width of the mobile phone screen. Points A, B, and C are determined on the edge of circle Y. The ordinate (y-axis coordinate) of point A is consistent with that of point O, the angle between the line connecting point A and point O and the line connecting point B and point O is 120°, and the angle between the line connecting point B and point O and the line connecting point C and point O is 120°. A Bezier curve is drawn with point A and point B as the starting point and end point, and with the end point L1 of tangent L and the end point M1 of tangent M as the middle point; and a Bezier curve is drawn with point B and point C as the starting point and end point, and with the end point M2 of tangent M and the end point N1 of tangent N as the middle point; and a Bezier curve is drawn with point C and point A as the starting point and end point, and with the end point N2 of tangent N and the end point L2 of tangent L as the middle point, thereby forming a closed organic shape J1 formed by three third-order Bezier curves. Among them, tangent L is a tangent passing through point A and tangent to circle Y, the midpoint of tangent L is point A, the length from point A to point L1 is R, and the length from point A to point L2 is R, that is, the length of tangent L is 2R. Tangent M is a tangent passing through point B and tangent to circle Y, the midpoint of tangent M is point A, the length from point B to point M1 is R, and the length from point B to point M2 is R, that is, the length of tangent M is 2R. Tangent line N is a tangent line passing through point C and tangent to circle Y. The midpoint of tangent line N is point A. The length from point C to point N1 is R and the length from point C to point N2 is R, that is, the length of tangent line N is 2R.

[0147] Further, such as Fig. 9 As shown in (b), the tangent L can be randomly tilted counterclockwise at a certain angle (the tilt angle is less than 20 degrees, for example, the tilt angle can be 18 degrees) to obtain the tangent L', and the length of the line segment between point C and N2 can be shortened, and the shortening range is between 2 / 3R and 3 / 4R, for example, it can be shortened to 2 / 3R), and then point A and point B are used as the starting point and end point respectively, and the endpoint L1' of the tangent L' and the endpoint M1 of the tangent M are used as the midpoint to draw a Bezier curve; and point B and point C are used as the starting point and end point respectively, and the endpoint M2 of the tangent M and the endpoint N1 of the tangent N are used as the midpoint to draw a Bezier curve; and point C and point A are used as the starting point and end point respectively, and the endpoint N2 of the tangent N and the endpoint L2' of the tangent L' are used as the midpoint to draw a Bezier curve, at this time, an organic shape J2 can be obtained, and the organic shape J2 can be used as an organic shape template.

[0148] After the organic shape template is determined, the screenshot containing the face can be placed into the organic shape in the following manner. The screenshot containing the face is captured from the wallpaper, and its layout is consistent with the layout of the captured part of the wallpaper. Fig.10 As shown in (a)-(d) in the vertical layout, the distance between the top of the person's head and the top edge of the organic shape is about 20%A, for example, 18%A. Wherein A represents the height of the organic shape. Fig.10 As shown in (a) and (b) in FIG. 1 , for a face facing left (front left), in the left-right (horizontal) layout, the face is located at the golden ratio dividing line on the right side of the organic shape. It can be understood that for a face facing right (front right), in the left-right (horizontal) layout, the face is located at the golden ratio dividing line on the left side of the organic shape. Fig.10 As shown in (c) and (d) in FIG. 1 , for a face facing forward, in the left-right (horizontal) layout, the face is located in the middle of the organic shape (i.e., centered). In this way, the display area containing the face and the organic shape can be more in line with the aesthetic composition, which can improve the viewing experience.

[0149] In addition, when the area of ​​a person (face) is too small compared to the organic shape (for example, the height of the person is less than 15% A, such as 1 / 10A or 1 / 15A), the person can be placed in the center, and the distance between the top of the person's head and the top edge of the organic shape is not limited to about 20% A. And for a too small picture without a person (that is, the salient area is too small), the salient area can be placed in the center of the organic shape.

[0150] It should be noted that for wallpapers (pictures) with different patterns, the organic shapes of the AOD patterns can be different. For the same wallpaper (picture), the organic shapes of the AOD patterns displayed each time the screen is turned off can also be different. In this way, such a design not only makes the product more diverse, but also increases the fun, making the AOD effect more vivid and improving the user experience.

[0151] Furthermore, the time control may be combined with the AOD pattern. The time control and the AOD pattern may overlap or not overlap. When the time control and the AOD pattern overlap, the combination of the time control and the AOD pattern includes the following steps:

[0152] (1) Determine the color of the time control. The color of the time control can be adjusted according to the color selection result of the AOD pattern. For example, Fig.11 As shown in (a) in FIG. 1 , the time control (for example, 08 08) can be divided into three parts by dotted lines a and b, wherein the color of the part above dotted line a can be white; the color of the part between dotted line a and dotted line b can be the main color of the AOD pattern; and the color of the part below dotted line b can be the auxiliary color of the AOD pattern. Fig.11 As shown in (b), the time control (for example, 08 08) can be divided into three parts by dotted lines c and d, wherein the color of the part above the dotted line c can be white; the color of the part between the dotted line c and the dotted line d can be the main color of the AOD pattern; and the color of the part below the dotted line d can be the auxiliary color of the AOD pattern.

[0153] (2) Calculate the combined position of the time control and the AOD pattern. First, determine the center of mass, center of gravity (center / geometric center) or symmetry center of the AOD pattern, and place the time control in the opposite direction of the center of mass, center of gravity or symmetry center of the AOD pattern, so as to achieve a visual balance.

[0154] like Fig. 12A As shown in , the time control can be displayed in two rows. Fig. 12A As shown in (a), (b) and (d) in FIG, the center of mass O of the AOD pattern is located in the lower right area, so the time control can be displayed in the upper left area of ​​the AOD pattern to achieve visual balance; Fig. 12A As shown in (c), the centroid O of the AOD pattern is located in the lower left area, so the time control can be displayed in the upper right area of ​​the AOD pattern to achieve visual balance.

[0155] like Fig. 12B As shown in , the time controls can be displayed in a row. Specifically, Fig. 12AAs shown in (a), (b) and (d) in FIG, the center of mass O of the AOD pattern is located in the lower right area, so the time control can be displayed in the upper left area of ​​the AOD pattern to achieve visual balance; Fig. 12A As shown in (c), the centroid O of the AOD pattern is located in the lower left area, so the time control can be displayed in the upper right area of ​​the AOD pattern to achieve visual balance.

[0156] (3) Feathering edges: You can set a preset edge feathering value according to the overall style of the AOD display content (including the digital font style of the time control, the style of the AOD pattern, etc.), so that the AOD display content looks more beautiful.

[0157] In addition, when the time control and the AOD pattern do not overlap, the time control and the AOD pattern can be displayed separately. Fig.13 As shown, the time control 341 can be displayed in the upper center of the mobile phone screen, and the AOD pattern 342 can be displayed in the middle of the mobile phone screen.

[0158] In addition, current mobile phones usually use OLED screens, which can control the light emission of individual pixels. When the screen displays black, the black area does not need to emit light, which can greatly reduce power consumption. It is understandable that the AOD design needs to avoid the burn-in problem unique to OLED screens, that is, several pixels display the same color for a long time, causing aging of the area and affecting the display effect. In order to better extend the service life of OLED, the display content of AOD can be made to jump up and down or left and right within a certain range at a fixed time, that is, move repeatedly within a fixed area, which will not affect the visual perception and can effectively prevent burn-in.

[0159] Based on the method provided in the embodiment of the present application, when the user turns on the mobile phone (enters the unlock interface or desktop from the screen-off interface), the mobile phone can display the AOD pattern from the middle position back to the original position (the position of the AOD pattern in the lock screen wallpaper or desktop wallpaper), and then diffusely light up the lock screen wallpaper or desktop wallpaper, and then a quick animation of other information on the lock screen interface or desktop appears. This effect of the animation of the AOD pattern and the wallpaper can give the user a better experience. Moreover, based on the method provided in the embodiment of the present application, the display content of the AOD can be determined according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the user's personalized needs and improve the user experience.

[0160] like Fig.14 As shown, the embodiment of the present application provides a screen-off display method, comprising:

[0161] 1401. The electronic device detects an area of ​​interest in a wallpaper set by a user, where the area of ​​interest is located at a first position in the wallpaper.

[0162] Among them, the wallpaper set by the user includes a desktop wallpaper or a lock screen wallpaper. The source of the wallpaper set by the user includes at least one of a picture taken by the electronic device, a picture downloaded by the electronic device, or a screenshot of the electronic device. In this way, the display content of the AOD can be determined according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the personalized needs of the user and improve the user experience.

[0163] Optionally, the user can also set a desktop pictorial or a lock screen pictorial, that is, switch different wallpapers according to a preset rule, for example, a picture can be pushed to the user as a desktop wallpaper or a lock screen wallpaper at a preset time interval.

[0164] In some embodiments, the electronic device can perform face detection on the wallpaper; when there is a face in the wallpaper, the area of ​​interest includes the area where the face is located; when there is no face in the wallpaper, the electronic device performs saliency detection on the wallpaper, and the area of ​​interest includes the salient area in the wallpaper.

[0165] 1402. The electronic device determines an AOD pattern according to the area of ​​interest.

[0166] If the electronic device detects a face, an organic shape can be generated, and the face area can be cut out from the wallpaper and placed in the organic shape to obtain an AOD pattern; if no face is detected, a saliency detection can be performed on the wallpaper to obtain a first saliency area; if the size of the first saliency area meets a first preset condition, the first saliency area is cut, and the cut first saliency area is fitted with a special-shaped edge to obtain an AOD pattern; if the size of the first saliency area meets a second preset condition, an organic shape is generated, and the first saliency area is placed in the organic shape to obtain an AOD pattern.

[0167] Optionally, cropping the first salient area includes: directly cropping the first salient area to obtain the AOD pattern; or cropping the first salient area and reducing or enlarging the AOD pattern to obtain the AOD pattern. In this way, the size of the AOD pattern can be controlled within a reasonable range, beautifying the display effect of the AOD pattern, thereby improving the user's viewing experience.

[0168] Optionally, performing a saliency detection on the wallpaper to obtain the first saliency area includes: when the wallpaper includes multiple saliency areas, taking a saliency area selected by the user as the first saliency area; or, determining the first saliency area according to a preset rule; wherein the preset rule includes determining the first saliency area according to the saliency level of each saliency area among the multiple saliency areas.

[0169] Optionally, fitting the special-shaped edge of the cropped first salient area includes: fitting the edge of the cropped first salient area based on a Bezier curve. The Bezier curve is a smooth curve, and fitting the edge of the cropped first salient area based on the Bezier curve can make the edge of the first salient area smoother, thereby making the edge of the AOD pattern smoother, beautifying the display effect of the AOD pattern, and improving the user's viewing experience.

[0170] Optionally, if a human face is detected, generating an organic shape includes: determining the organic shape according to the characteristics of the human face, the characteristics of the human face include the orientation of the human face; if the size of the first salient area meets the second preset condition, generating the organic shape includes: determining the organic shape according to the characteristics of the first salient area, the characteristics of the first salient area include the direction of the center of gravity, center of mass or symmetry center of the first salient area. In this way, the AOD pattern containing the organic shape can be made more in line with the aesthetic composition and can improve the viewing experience.

[0171] Optionally, the organic shape is composed of a Bezier curve. The Bezier curve is a smooth curve, and the organic shape is also a soft shape. The AOD pattern obtained according to the organic shape will also make the user feel better.

[0172] Optionally, cutting out the face area from the wallpaper and placing it in the organic shape includes: a preset distance is provided between the top of the face and the top of the organic shape, and the face is located at the golden ratio dividing line of the organic shape; or the face is centered in the organic shape. In this way, the display area including the face and the organic shape can be more in line with the aesthetic composition, which can improve the viewing experience.

[0173] Optionally, the edge of the AOD pattern may be feathered, so that the edge of the AOD pattern can be smoother, beautifying the display effect of the AOD pattern, thereby improving the user's viewing experience.

[0174] 1403. When the electronic device is in a screen-off state, an AOD pattern is displayed at a second position on the display screen, and the second position is preset.

[0175] Optionally, before executing step 1403, the electronic device may also receive an operation of the user setting wallpaper and an operation of the user determining to perform screen-off display. After the user sets the wallpaper and sets the screen-off display, the electronic device may determine the display content of the AOD according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the user's personalized needs and improve the user experience.

[0176] Optionally, when the electronic device is in the screen-off state, the electronic device also displays at least one of the following information: time, SMS reminder, missed call reminder, application message reminder, weather or battery level. In this way, the display content when the screen is off can be richer, more information can be prompted to the user, and the user can be prevented from missing important information, thereby improving the user experience.

[0177] In some embodiments, when the electronic device is in the screen-off state, the electronic device also displays the time, the color of the time is determined according to the color of the AOD pattern, and the time is located in the opposite direction of the mass center, center of gravity or symmetry center of the AOD pattern, so as to achieve a visual balance.

[0178] Optionally, the AOD pattern moves from the second position to the third position including: the time and the AOD pattern move simultaneously, the time gradually disappears during the movement, or the time disappears after the AOD pattern moves to the third position. Such a design diversifies the product, increases the fun, makes the AOD effect more vivid, and can improve the user experience.

[0179] 1404. In response to the user turning on the display screen, the AOD pattern moves from the second position of the display screen to the third position of the display screen, where the third position is determined according to the first position of the area of ​​interest in the wallpaper.

[0180] It should be understood that when the wallpaper covers the entire display screen, the first position may be the same as the third position; when the wallpaper is scaled down, the third position may be determined with reference to the first position. For example, if the area of ​​interest is located at the lower left corner of the wallpaper, the third position refers to the lower left corner of the display screen.

[0181] 1405. Electronic device displays wallpaper.

[0182] In some embodiments, the electronic device first displays the wallpaper, and then displays other information corresponding to the wallpaper; when the wallpaper is a lock screen wallpaper, the other information corresponding to the wallpaper includes application icons and controls on the lock screen interface; when the wallpaper is a desktop wallpaper, the other information corresponding to the wallpaper includes application icons and controls on the desktop. This fast animation of first lighting up the wallpaper and then displaying other information corresponding to the wallpaper can provide users with a better experience.

[0183] It should be noted that Fig.14 The electronic device in the embodiment described may be the mobile phone in the aforementioned embodiment. Fig.14 For the parts not described in detail in the described embodiment, reference can be made to the aforementioned embodiment and will not be repeated here.

[0184] Based on the method provided in the embodiment of the present application, the electronic device detects the area of ​​interest in the wallpaper set by the user, and the area of ​​interest is located at the first position in the wallpaper; the electronic device determines the AOD pattern to be displayed when the screen is off according to the area of ​​interest, and when the electronic device is in the off state, the AOD pattern is displayed at the second position of the display screen. In this way, the display content of the AOD can be determined according to any desktop wallpaper or lock screen wallpaper set by the user, which can meet the personalized needs of the user and improve the user experience. In addition, when the user turns on the display screen of the electronic device (enters the unlocking interface or desktop from the off screen interface), the electronic device can display the AOD pattern from the preset position (second position) to the third position (determined according to the position of the area of ​​interest in the lock screen wallpaper or desktop wallpaper), and then spread the animation of lighting up the wallpaper. The effect of this AOD pattern and wallpaper forming an animation can give users a better experience.

[0185] The present application also provides a chip system, such as Fig.15 As shown, the chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 and the interface circuit 1502 can be interconnected through a line. For example, the interface circuit 1502 can be used to receive signals from other devices (e.g., a memory of an electronic device). For another example, the interface circuit 1502 can be used to send signals to other devices (e.g., the processor 1501).

[0186] For example, the interface circuit 1502 can read the instructions stored in the memory of the electronic device and send the instructions to the processor 2101. When the instructions are executed by the processor 2101, the electronic device (such as Figure 2 The electronic device 200 shown in the figure performs each step in the above embodiment.

[0187] Of course, the chip system may also include other discrete devices, which is not specifically limited in the embodiments of the present application.

[0188] The present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are in an electronic device (such as Figure 2 When the method is executed on the electronic device 200 shown in the figure, the electronic device 200 executes each function or step executed by the electronic device in the above method embodiment.

[0189] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute each function or step executed by the electronic device in the above method embodiment.

[0190] An embodiment of the present application also provides a screen-off display processing device, which can be divided into different logical units or modules according to functions, and each unit or module performs a different function, so that the device executes each function or step performed by the electronic device in the above method embodiment.

[0191] Some other embodiments of the present application provide an electronic device (such as Figure 2 The electronic device 200 shown in the figure may include: a communication module, a memory and one or more processors. The communication module and the memory are coupled to the processor. The memory is used to store computer program code, and the computer program code includes computer instructions.

[0192] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0193] In the several embodiments provided in the present application, it should be understood that the disclosed 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 modules or 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 device, 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.

[0194] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0195] 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. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0196] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0197] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A screen-off display method, characterized in that: The method comprises: The electronic device detects a first area in a wallpaper set by a user, where the first area is located at a first position in the wallpaper; The electronic device determines to turn off the screen and display a first AOD pattern according to the first area, where the first AOD pattern is a pattern generated by reducing the first area; When the electronic device is in a screen-off state, displaying the first AOD pattern at a second position on the display screen; In response to the operation of lighting up the display screen, the first AOD pattern is enlarged and the display screen is lit up to display the wallpaper; the enlarged first AOD pattern is located at a third position of the display screen, and the third position is determined according to the first position of the first area in the wallpaper.

2. The method according to claim 1, characterized in that In the process of amplifying the first AOD pattern and lighting up the display screen to display the wallpaper, an animation effect from displaying the first AOD pattern to displaying the wallpaper is presented.

3. The method according to claim 2, characterized in that The presenting of the animation effect from displaying the first AOD pattern to displaying the wallpaper includes: The first AOD pattern is enlarged and moved to the third position.

4. The method according to any one of claims 1 to 3, characterized in that: The first AOD pattern is enlarged to its original size in the wallpaper.

5. The method according to any one of claims 1 to 4, characterized in that: The amplifying the first AOD pattern further includes: In the process of amplifying the first AOD pattern, the brightness of the first AOD pattern gradually becomes brighter.

6. The method according to any one of claims 1 to 5, characterized in that: The amplifying the first AOD pattern further includes: In the process of amplifying the first AOD pattern, a wallpaper pattern is displayed with the first AOD pattern as the center and diffused to the periphery, wherein the brightness of the wallpaper pattern is consistent with the brightness of the first AOD pattern.

7. The method according to any one of claims 1 to 6, characterized in that: The displaying of the wallpaper comprises: The electronic device first displays the wallpaper and then displays other information corresponding to the wallpaper, wherein the wallpaper includes a desktop wallpaper or a lock screen wallpaper; When the wallpaper is a lock screen wallpaper, other information corresponding to the wallpaper includes application icons and controls on the lock screen interface; when the wallpaper is a desktop wallpaper, other information corresponding to the wallpaper includes application icons and controls on the desktop.

8. The method according to any one of claims 1 to 7, characterized in that: The electronic device detecting a first area in a wallpaper set by a user comprises: The electronic device performs face detection on the wallpaper; When there is a human face in the wallpaper, the first area includes the area where the human face is located; When there is no human face in the wallpaper, the electronic device performs saliency detection on the wallpaper, and the first area includes a salient area in the wallpaper.

9. The method according to claim 8, characterized in that The electronic device determining, according to the first area, to turn off the screen and display a first AOD pattern comprises: If a human face is detected, an organic shape is generated, and a human face region is cut out from the wallpaper and placed into the organic shape to obtain the first AOD pattern; If no human face is detected, performing saliency detection on the wallpaper to obtain a first saliency region; If the size of the first salient area meets a first preset condition, the first salient area is cropped, and a special-shaped edge fitting is performed on the cropped first salient area to obtain the AOD pattern; If the size of the first significant area meets a second preset condition, an organic shape is generated, and the first significant area is placed in the organic shape to obtain the first AOD pattern.

10. The method according to claim 9, characterized in that The step of cutting out the face area from the wallpaper and placing the face area into the organic shape comprises: A preset distance is provided between the top of the human face and the top of the organic shape, and the human face is located at the golden ratio dividing line of the organic shape; or The human face is centrally placed within the organic shape.

11. The method according to any one of claims 1 to 10, characterized in that: When the electronic device is in the screen-off state, the electronic device also displays at least one of the following information: time, text message reminder, missed call reminder, application message reminder, weather or battery level.

12. The method according to claim 11, characterized in that The first AOD pattern moves from the second position of the display screen to the third position of the display screen, comprising: Before the first AOD pattern moves from the second position of the display screen to the third position of the display screen, the time disappears, or the time moves simultaneously with the AOD pattern and the time gradually disappears during the movement, or the time disappears after the AOD pattern moves to the third position.

13. An electronic device, characterized in that: The electronic device comprises: a memory and one or more processors; the memory is coupled to the processor; The memory is used to store computer program codes, and the computer program codes include computer instructions; when the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1 to 12.

14. A computer-readable storage medium, characterized in that: including computer instructions; When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 12.