WO2022143313A1 - 一种灭屏显示方法和电子设备 - Google Patents

一种灭屏显示方法和电子设备 Download PDF

Info

Publication number
WO2022143313A1
WO2022143313A1 PCT/CN2021/140234 CN2021140234W WO2022143313A1 WO 2022143313 A1 WO2022143313 A1 WO 2022143313A1 CN 2021140234 W CN2021140234 W CN 2021140234W WO 2022143313 A1 WO2022143313 A1 WO 2022143313A1
Authority
WO
WIPO (PCT)
Prior art keywords
wallpaper
aod
pattern
electronic device
region
Prior art date
Application number
PCT/CN2021/140234
Other languages
English (en)
French (fr)
Inventor
张韵叠
苏达
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21914052.2A priority Critical patent/EP4254150A4/en
Priority to US18/259,913 priority patent/US20240069936A1/en
Publication of WO2022143313A1 publication Critical patent/WO2022143313A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20112Image segmentation details
    • G06T2207/20132Image cropping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20192Edge enhancement; Edge preservation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Definitions

  • the present application relates to the field of terminals, and in particular, to a screen-off display method and an electronic device.
  • AOD always on display
  • the screen of an electronic device is off (screen-off)
  • the screen is partially lit up to display some information (for example, time, battery level, SMS reminder, etc.).
  • AOD can also be called off-screen display.
  • the display content of AOD is black and white at first, and the form is relatively simple. With the development of technology, color AOD came into being, and the forms of AOD became more and more abundant.
  • the display content of the AOD can be designed for the wallpaper preset by the system.
  • the display content of the AOD can form an animation with the wallpaper preset by the system.
  • the effect can bring users a novel experience.
  • the wallpaper arbitrarily set by the user it is difficult to achieve a similar effect, and cannot meet the personalized needs of the user.
  • the embodiments of the present application provide an off-screen display method and electronic device, which 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.
  • an embodiment of the present application provides a method for off-screen display, including: an electronic device detects a region of interest in a wallpaper set by a user, and the region of interest is located at a first position in the wallpaper; the electronic device determines the off-screen display according to the region of interest.
  • the screen displays the AOD pattern; when the electronic device is in the off-screen state, the AOD pattern is displayed in the second position of the display screen, and the second position is preset; in response to the user's operation of lighting the display screen, the AOD pattern is displayed from the first position of the display screen.
  • the second position is moved to the third position of the display screen, and the third position is determined according to the first position of the region of interest in the wallpaper; the electronic device displays the wallpaper.
  • the electronic device can detect the region of interest in the wallpaper set by the user, and determine the off-screen display AOD pattern according to the region of interest.
  • 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 user's personalized needs and improve the user experience.
  • the electronic device can display the AOD pattern transferred from the preset position (the second position) to the third position (according to the area of interest in the The lock screen wallpaper or the position in the desktop wallpaper is determined), and then the animation of the wallpaper is diffused.
  • the animation effect of the AOD pattern and the wallpaper can make the user have a better experience.
  • the method further includes: receiving an operation of setting a wallpaper by a user; and receiving an operation of a user determining to perform off-screen 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 user's personalized needs and improve the user experience.
  • the wallpaper set by the user includes a desktop wallpaper or a lock screen wallpaper.
  • 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 the desktop wallpaper or the lock screen wallpaper every preset time.
  • displaying the wallpaper by the electronic device includes: the electronic device displays the wallpaper first, and then displays other information corresponding to the wallpaper; when the wallpaper is the lock screen wallpaper, the other information corresponding to the wallpaper includes the application icon on the lock screen interface and controls; when the wallpaper is a desktop wallpaper, other information corresponding to the wallpaper includes application icons and controls on the desktop.
  • This kind of fast animation of lighting up the wallpaper first and then other information corresponding to the wallpaper can make the user have a better experience.
  • the electronic device detecting the region of interest in the wallpaper set by the user includes: the electronic device performs face detection on the wallpaper; when there is a human face in the wallpaper, the region of interest includes the region where the face is located; When there is no human face in the wallpaper, the electronic device performs saliency detection on the wallpaper, and the region of interest includes the saliency region in the wallpaper.
  • the electronic device determining the off-screen display AOD pattern according to the region of interest includes: if a human face is detected, generating an organic shape, cutting out the face region from the wallpaper and placing it in the organic shape to obtain AOD pattern; if no face is detected, saliency detection is performed on the wallpaper to obtain the first saliency area; if the size of the first saliency area satisfies the first preset condition, the first saliency area is cropped, and the cropped After the first saliency region is fitted with special-shaped edges to obtain the AOD pattern; if the size of the first saliency region satisfies the second preset condition, an organic shape is generated, and the first saliency region is placed in the organic shape, to get the AOD pattern.
  • the method further includes: feathering the edge of the AOD pattern.
  • the edge of the AOD pattern can be made smoother, the display effect of the AOD pattern can be beautified, and the user's perception can be improved.
  • cropping the first saliency region includes: directly cropping the first salient region to obtain an AOD pattern; or, cropping and reducing or enlarging the first salient region to obtain the AOD pattern .
  • the size of the AOD pattern can be controlled within a reasonable range, and the display effect of the AOD pattern can be beautified, thereby improving the user's perception.
  • performing saliency detection on the wallpaper to obtain the first saliency area includes: when the wallpaper includes multiple saliency areas, using a saliency area selected by the user as the first saliency area; or, The first saliency region is determined according to a preset rule; wherein the preset rule includes determining the first saliency region according to the saliency level of each saliency region in the plurality of saliency regions. For example, the saliency region with the highest saliency can be used as the first saliency region.
  • performing irregular edge fitting on the cropped first saliency region includes: fitting an edge of the cropped first salience region based on a Bezier curve.
  • the Bezier curve is a smooth curve. Fitting the edge of the cropped first saliency region based on the Bezier curve can make the edge of the first saliency region smoother, thereby making the edge of the AOD pattern smoother. , beautify the display effect of the AOD pattern and improve the user's perception.
  • generating an organic shape includes: determining the organic shape according to the features of the human face, and the features of the human face include the orientation of the human face; if the size of the first saliency region satisfies the The second preset condition, generating the organic shape includes: determining the organic shape according to the features of the first salient region, where the features of the first salient region include the direction of the center of gravity, the center of mass or the center of symmetry of the first salient region. In this way, the AOD pattern including the organic shape can be made more in line with the aesthetic composition, and the look and feel can be improved.
  • the organic shapes are composed of Bezier curves.
  • the Bezier curve is a smooth curve, and the organic shape is also a soft shape.
  • the AOD pattern obtained from the organic shape will also make the user look better.
  • cropping the face area from the wallpaper and placing it into the organic shape includes: a preset distance is between the top of the human face and the top of the organic shape, and the human face is located in the golden ratio of the organic shape at the dividing line; alternatively, the face is centered in an organic shape.
  • the display area and organic shapes including the human face can be more in line with the aesthetic composition, which can improve the look and feel.
  • the electronic device when the electronic device is in an off-screen state, the electronic device also displays at least one information of time, SMS reminder, missed call reminder, message reminder from an application, weather or battery level.
  • the display content when the screen is off can be enriched, more information can be prompted for the user, the user can be prevented from missing important information, and the user experience can be improved.
  • the electronic device if the electronic device is in the off-screen 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 at the center of mass, the center of gravity or the opposite of the center of symmetry of the AOD pattern direction. This can achieve a visual balance.
  • the moving of the AOD pattern from the second position of the display screen to the third position of the display screen includes: time moves simultaneously with the AOD pattern, and the time gradually disappears during the moving process, or when the AOD pattern moves to the third position Time disappears after three positions.
  • the source of the wallpaper set by the user includes at least one of a picture captured by the electronic device, a picture downloaded by the electronic device, or a screenshot of the electronic device.
  • 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.
  • an embodiment of the present application provides an electronic device, where the electronic device has a function of implementing the method described in the first aspect and any possible implementation manner thereof.
  • the functions can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the present application provides a computer-readable storage medium comprising computer instructions.
  • the computer instructions When the computer instructions are run on an electronic device, the electronic device is caused to perform the method as described in the first aspect and any of its possible implementations.
  • the present application provides a computer program product that, when the computer program product runs on a computer, causes the computer to execute the method according to the first aspect and any possible implementations thereof.
  • an embodiment of the present application provides a chip system, where the chip system includes one or more interface circuits and one or more processors.
  • the interface circuit and the processor are interconnected by wires.
  • the chip system can be applied to electronic equipment including a communication module and a memory.
  • the interface circuit is configured to receive signals from the memory of the electronic device and send the received signals to the processor, the signals including computer instructions stored in the memory.
  • the processor executes the computer instructions, the electronic device can perform the method as described in the first aspect and any of its possible implementations.
  • FIG. 1 is a schematic diagram of a saliency area provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • 3A is a schematic display diagram provided by an embodiment of the present application.
  • FIG. 3B is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 3C is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 4A is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 4B is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 4C is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 4D is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 5 is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method provided by an embodiment of the present application.
  • FIG. 7A is a schematic diagram of a rectangular frame of different sizes provided by an embodiment of the present application.
  • FIG. 7B is a schematic diagram of clipping a saliency region according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a special-shaped edge fitting provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an organic shape provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a layout of a human face in an organic shape according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of determining the color of a time control provided by an embodiment of the present application.
  • 12A is a schematic diagram of the location of a time control provided by an embodiment of the present application.
  • 12B is a schematic diagram of the location of another time control provided by an embodiment of the present application.
  • FIG. 13 is another schematic display diagram provided by an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of another method provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • Saliency detection Usually when faced with an image (a scene), the human eye will automatically focus on some areas of interest, and selectively ignore the areas of no interest. Regions are called saliency regions. In the field of computational vision, the process of simulating this characteristic by means of image processing is called saliency detection. In layman's terms, saliency detection is to extract the most attractive part of an image.
  • the saliency map can be obtained after the saliency test.
  • the saliency map can be a grayscale map, and the higher the grayscale value, the higher the saliency.
  • image 002 can be obtained after saliency detection of image 001 (image 001 may be a picture taken by the user including a speaker and no other debris), and the area 003 in the image 002 The gray value is higher and can be considered as a saliency area.
  • the region of interest when there is a human face in the wallpaper, the region of interest includes the region where the human face is located; when there is no human face in the wallpaper, the region of interest includes the salient region in the wallpaper .
  • the area where the face is located may be obtained based on a face detection algorithm (refer to the relevant description below), and the saliency area may be obtained based on saliency detection.
  • Organic shapes also known as organic shapes, organic graphics: usually refer to shapes that are distinguished from angular shapes, mainly composed of curves. Illustratively, the organic shapes may consist of Bezier curves.
  • Bezier curve The definition of a Bezier curve includes a start point, an end point (also called an anchor point), and an intermediate point.
  • Bezier curves include first-order Bezier curves, second-order Bezier curves, and third-order Bezier curves, among others.
  • the third-order Bezier curve includes two intermediate points separated from each other, and the shape of the third-order Bezier curve changes when the two intermediate points are slid.
  • Feathering processing The principle is to blur the inner and outer connecting parts of the selection area (that is, the selected area), and play a role of gradient, so as to achieve the effect of natural connection.
  • the AOD display content can be designed for the system preset wallpaper (for example, the AOD display content can be artificially designed according to the wallpaper, and the artificially designed AOD display content can be marked as the final content to be displayed).
  • the wallpaper arbitrarily set by the user, it is difficult to achieve a similar effect, and cannot meet the personalized needs of the user.
  • An embodiment of the present application provides an off-screen display method.
  • the electronic device can detect a region of interest in a wallpaper set by a user, and the region of interest is located at a first position in the wallpaper; the electronic device determines an off-screen display AOD pattern according to the region of interest, When the electronic device is in the off-screen state, the AOD pattern is displayed on the second position of the display screen.
  • 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.
  • the electronic device can display the AOD pattern transferred from the preset position (the second position) to the third position (according to the area of interest in the The lock screen wallpaper or the position in the desktop wallpaper is determined), and then the animation of the wallpaper is diffused.
  • the animation effect of the AOD pattern and the wallpaper can make the user have a better experience.
  • 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 charge management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2.
  • Mobile communication module 250 wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, sensor module 280, buttons 290, motor 291, indicator 292, camera 293, display screen 294, And a subscriber identification module (subscriber identification module, SIM) card interface 295 and so on.
  • SIM subscriber identification module
  • the aforementioned sensor module 280 may include sensors such as pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, and bone conduction sensors.
  • sensors such as pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, and bone conduction sensors.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 200 .
  • the electronic device 200 may include more or fewer components than shown, or some components may be combined, or some components may be split, or a different arrangement of components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 200 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 210 for storing instructions and data.
  • the memory in processor 210 is cache memory.
  • the memory may hold instructions or data that have just been used or recycled by the processor 210 . If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided, and the waiting time of the processor 210 is reduced, thereby improving the efficiency of the system.
  • the processor 210 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration, and does not constitute a structural limitation of the electronic device 200 .
  • the electronic device 200 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 240 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger. While the charging management module 240 charges the battery 242 , the power management module 241 can also supply power to the electronic device.
  • 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.
  • the power management module 241 and the charging management module 240 may also be provided in the same device.
  • the wireless communication function of the electronic device 200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modulation and demodulation processor, the baseband processor, and the like.
  • the antenna 1 of the electronic device 200 is coupled with the mobile communication module 250
  • 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.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 200 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 250 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the electronic device 200 .
  • the mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like.
  • the mobile communication module 250 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 250 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 250 may be provided in the processor 210 .
  • at least part of the functional modules of the mobile communication module 250 may be provided in the same device as at least part of the modules of the processor 210 .
  • the wireless communication module 260 can provide applications on the electronic device 200 including WLAN (such as (wireless fidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation ( frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN such as (wireless fidelity, Wi-Fi) network
  • Bluetooth bluetooth, BT
  • global navigation satellite system global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • 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 can also receive the signal to be sent from the processor 210 , perform frequency modulation on the signal, amplify the signal, and then convert it into an electromagnetic wave for radiation through the antenna 2 .
  • the electronic device 200 implements a display function through a GPU, a display screen 294, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 294 is used to display images, videos, and the like.
  • the display screen 294 includes a display panel.
  • 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 .
  • Camera 293 is used to capture still images or video.
  • the electronic device 200 may include 1 or N cameras 293 , where N is a positive integer greater than 1.
  • 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 realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 221 may be used to store computer executable program code, which includes instructions.
  • the processor 210 executes various functional applications and data processing of the electronic device 200 by executing the instructions stored in the internal memory 221 .
  • the processor 210 may execute instructions stored in the internal memory 221, and the internal memory 221 may include a program storage area and a data storage area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 200 and the like.
  • the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the electronic device 200 may implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, and an application processor. Such as music playback, recording, etc.
  • the keys 290 include a power-on key, a volume key, and the like. Keys 290 may be mechanical keys. It can also be a touch key. Motor 291 can generate vibrating cues. The motor 291 can be used for vibrating alerts for incoming calls, 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, the change of power, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 295 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 200 by inserting into the SIM card interface 295 or pulling out from the SIM card interface 295 .
  • the electronic device 200 may 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 card, Micro SIM card, SIM card and so on.
  • the setting interface 303 shown in (b) of FIG. 3A can be displayed.
  • a plurality of setting options may be included, for example, a personal account setting item (eg, Glen Gao), a WLAN setting item, a Bluetooth setting item, a mobile network setting item, a more connection setting item, a desktop and a wallpaper setting may be included items etc.
  • the mobile phone can display the desktop and wallpaper interface 305 .
  • a plurality of setting options may be included, for example, a screen-off display (also referred to as an always-on display), magazine lock screen, theme, wallpaper, desktop settings, desktop style, lock screen signature, etc. may be included.
  • a screen-off display also referred to as an always-on display
  • magazine lock screen In response to the user's operation of clicking on the area 306 corresponding to the wallpaper option, as shown in (d) of FIG. 3A , the mobile phone can display a wallpaper interface 307 , which can include local wallpapers and online wallpapers.
  • the mobile phone can display an interface 309, and the interface 309 can include the original image 310 of the wallpaper 308 and three operation options, which are set as desktop.
  • Wallpaper option 311 set as lock screen wallpaper option 312
  • simultaneous option ie, set as desktop wallpaper and lock screen wallpaper at the same time
  • the mobile phone can set the wallpaper 310 as the desktop wallpaper and the lock screen wallpaper at the same time, that is, the desktop wallpaper and the lock screen wallpaper are the same.
  • the user may set the desktop wallpaper and the lock screen wallpaper respectively (that is, the desktop wallpaper and the lock screen wallpaper may be different), which is not limited in this application.
  • the mobile phone can display The screen is turned off to display the interface 321 .
  • the prompt animation/prompt picture 322 may be used to demonstrate the effect of off-screen display to the user.
  • the button 323a corresponding to the off-screen display is used for the user to select whether to enable the off-screen display function. After reading the prompt text 323b, the user can understand the function of the off-screen display and decide whether to turn on the switch 323a.
  • the switch 323a If the user turns on the switch 323a, it means that the user agrees to turn on the function of off-screen display. In this way, after the screen of the mobile phone A is turned off, information such as a desktop pattern or a lock screen pattern and time can be displayed. Optionally, the mobile phone may also display information such as SMS reminders, application message reminders, and battery level.
  • the user can choose to display the desktop pattern when the screen is off (that is, determine the AOD pattern according to the desktop wallpaper, and finally display the AOD pattern when the screen is off) or the lock screen pattern (that is, determine the AOD pattern according to the lock screen wallpaper, and finally display the AOD pattern according to the lock screen wallpaper.
  • AOD pattern is displayed when the screen is off).
  • the AOD pattern can refer to the related description below.
  • the user may click button 324 and choose to display the desktop pattern, or the user may click button 325 and choose to display the lock screen pattern.
  • 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 .
  • the user cannot choose to display the desktop pattern and the lock screen pattern at the same time.
  • the button corresponding to the other display mode can be grayed out (ie unavailable).
  • the user can also set the duration of the off-screen display.
  • the all-day display can be selected through the button 326 (that is, the off-screen display is performed at any time of the day when the screen is off), or the user can decide the start time and end time of the off-screen display by himself.
  • the user can adjust the start time (for example, start at 7:00) and end time (for example, end at 22:00) of the off-screen display through the time control 327 and the time control 328 .
  • Users can also choose the clock style when the screen is off.
  • the mobile phone in response to the user's operation of clicking on the area 329 corresponding to the clock style in the interface 321, as shown in (b) in FIG. 3C, the mobile phone can display the interface 330.
  • a clock display style 331 and a clock display style 332 may be included.
  • the clock display style 331 adopts the mode of displaying time in a single row (the time is displayed in one row/row), and the clock display mode 332 adopts the mode of displaying the time in two rows (the time is displayed in two rows/rows).
  • the mobile phone in response to the operation of the user selecting the clock display style 331 and clicking the Done button 333, the mobile phone may display the clock (time) in the clock display style selected by the user.
  • the clock display style 331 may be the default display style of the mobile phone.
  • the mobile phone can provide more other clock display styles, which are not limited in this application.
  • the AOD pattern displayed when the screen of the mobile phone is off may be determined according to the area of interest of the desktop wallpaper. It should be noted that, in the embodiment of the present application, the AOD pattern displayed on the mobile phone is determined according to the region of interest in the wallpaper set by the user, rather than being designed in advance (for example, manually set by the designer). Any wallpaper can intelligently display AOD patterns, which can better meet the personalized needs of users.
  • the AOD pattern and desktop wallpaper can present continuous animation effects.
  • the mobile phone when the screen of the mobile phone is off (screen-off) and stands (for example, placed on a desk), the mobile phone can perform AOD, that is, the screen-off interface 340 is displayed.
  • the AOD display content may be displayed in the display area 343 of the screen-off interface 340, and the AOD display content 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.
  • the AOD pattern 342 may be intercepted from the desktop wallpaper after saliency detection (for the process of saliency detection, please refer to the related description below), and the edge of the AOD pattern 342 is an organic shape (for the calculation process of the organic shape, please refer to the relevant description below). describe). If fingerprint recognition is set on the mobile phone, 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 (b) in FIG. In response to the user's operation of inputting a fingerprint, as shown in (c) of FIG.
  • the time 341 and the AOD pattern 342 may be transferred from the display area 343 (the middle position of the display screen) to the display area 345 (the lower right of the display screen) specific location.
  • the time 341 can be gradually faded out (color fades/transparent) during the movement.
  • the particular location in the display area 345 may be the original location of the AOD pattern 342 in the desktop wallpaper. Then, as shown in (d) of FIG. 4A , the mobile phone can diffuse and illuminate the wallpaper on the desktop 346 , and then, as shown in (e) of FIG.
  • the mobile phone can display other application icons on the desktop 346 (hereinafter referred to as the icons) and/or controls (eg, time controls), etc., including respective icons and/or controls in the display area 347a and the display area 347b.
  • 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), then diffuse and illuminate the desktop wallpaper, and then other icons and/or controls on the desktop appear.
  • Fast animation The animation effect of the AOD pattern and the content of the desktop can make the user have a better experience.
  • the AOD pattern is extracted from the wallpaper set by the user, the individual needs of the user can be met.
  • the time 341 and the AOD pattern 342 in the display area 343 may be relatively dim, so as to avoid eye discomfort caused by excessive glare.
  • the AOD pattern 342 can gradually become brighter, and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort. Improve user experience.
  • the displayed content of the AOD and the animation effect when unlocking may also be different.
  • the displayed content of the AOD may include the time control 372a and the wallpaper 360 from the desktop (wallpaper 360 ).
  • the AOD pattern 372b may be intercepted from the desktop wallpaper (the wallpaper corresponding to the wallpaper 360) after the saliency test, and the edge of the AOD pattern 372b may be obtained through the fitting of the special-shaped edge (for the calculation process of the fitting of the special-shaped edge, please refer to the following related description).
  • 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 (b) of FIG.
  • the mobile phone can display a fingerprint pattern 344 in the screen-off interface 340 in response to the user's operation of inputting a fingerprint 4B (c), the time 372a and the AOD pattern 372b can be shifted 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), in the display area 373a
  • the specific position of can be the original position of the AOD pattern 372b in the desktop wallpaper.
  • the mobile phone can diffuse and illuminate the wallpaper on the desktop 346 , and then, as shown in (e) of FIG. 4B , the mobile phone can display other icons and/or controls on the desktop 346 , including various icons and/or controls in display area 347a and display area 347b.
  • the time 372a and the AOD pattern 372b in the display area 343 can be relatively dim, so as to avoid eye discomfort due to excessive glare.
  • the AOD pattern 372b can gradually become brighter, and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort. Improve user experience.
  • the salient area of the desktop wallpaper is large, the salient area of the desktop wallpaper can be reduced as a whole to generate an AOD pattern.
  • the display content of the AOD may include the time control 374a and the wallpaper 361 from the desktop (wallpaper 361 ).
  • Corresponding wallpaper) extracted AOD pattern 374b may be included in the display content of the AOD.
  • the AOD pattern 374b may be a screenshot of a desktop wallpaper (the wallpaper corresponding to the wallpaper 361 ) taken from the desktop wallpaper (the wallpaper corresponding to the wallpaper 361 ) after saliency detection, and a pattern that has undergone reduction processing.
  • 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 (b) of FIG. 4C , the mobile phone can display a fingerprint pattern 344 in the screen-off interface 340 in response to the user's operation of inputting a fingerprint , as shown in (c) of FIG.
  • the AOD pattern 374b can be enlarged (enlarged) 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 (d) of FIG. 4C , the mobile phone may diffusely illuminate the wallpaper on the desktop 346 , and then, as shown in (e) of FIG. 4C , the mobile phone may display other icons and/or controls on the desktop 346 , including various icons and/or controls in display area 347a and display area 347b.
  • the time 374a and the AOD pattern 374b in the display area 343 can be relatively dim, so as to avoid eye discomfort due to excessive glare.
  • the AOD pattern 374c can gradually become brighter, and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort, Improve user experience.
  • the AOD pattern 374b may be moved to the vicinity of the original position in the desktop wallpaper, and then enlarged to obtain the AOD pattern 374c.
  • the AOD pattern 374b may be gradually enlarged to the original size (ie, the size in the desktop wallpaper) during the process of moving the AOD pattern 374b, which is not limited in this application.
  • the displayed content of the AOD may include the time control 377a and the wallpaper from the desktop (wallpaper). 360 corresponding wallpaper) AOD pattern 377b extracted.
  • the AOD pattern 377b may be a screenshot containing a human face taken from the desktop wallpaper after face detection, and the edge of the AOD pattern 377b may be an organic shape.
  • the mobile phone can display a fingerprint pattern 344 in the screen-off interface 340 in response to the user's operation of inputting a fingerprint 4D (c), the time 377a and the AOD pattern 377b can be shifted 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), in the display area 378
  • the specific position of can be the original position of the AOD pattern 377b in the desktop wallpaper.
  • the mobile phone may diffusely illuminate the wallpaper on the desktop 346, and then, as shown in (e) of FIG. 4D, the mobile phone may display other icons and/or controls on the desktop 346 , including various icons and/or controls in display area 347a and display area 347b.
  • the time 377a and the AOD pattern 377b in the display area 343 can be relatively dim, so as to avoid eye discomfort due to excessive glare.
  • the AOD pattern 377b can gradually become brighter, and gradually increase to the same brightness as the desktop, which can improve the user's eye comfort. Improve user experience.
  • the unlocking method of the mobile phone may also be unlocked by face recognition, sliding unlocking, or unlocking by entering a password, which is not limited in this application.
  • face recognition e.g., face recognition
  • sliding unlocking e.g., sliding unlocking
  • unlocking e.g., the password
  • 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 illuminated, and then other icons/or controls on the desktop appear.
  • fast animation e.g., the AOD pattern is extracted from the wallpaper set by the user, the individual needs of the user can be met.
  • other icons and/or controls on the desktop can enter the desktop by flying in, or can be displayed from light to dark until normal display, or, or can be displayed with other animation effects. Not limited. In this way, a richer visual experience can be presented to the user.
  • the mobile phone can display the corresponding AOD pattern from the middle position 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.
  • the AOD pattern can disappear immediately, and then quickly turn on the lock screen wallpaper and display other information on the lock screen interface, which can save the user's waiting time and improve the user experience.
  • 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 immediately disappears, and the phone displays information such as the lock screen wallpaper and the icons and/or controls of the lock screen.
  • the AOD pattern can gradually fade and disappear; or it can be gradually reduced to a point and then disappear; or it can be enlarged and then disappear; for example, the AOD pattern can be enlarged and then decomposed into snowflakes, meteors, and hearts and then disappear. Or disappear with other animation effects, which is not limited in this application. In this way, a richer visual experience can be presented to the user.
  • the interaction between the AOD pattern and the lock screen interface can refer to the relevant description in the above situation (2)
  • the interaction between the lock screen interface and the desktop ie The display effect when entering the desktop from the lock screen interface
  • the lock screen wallpaper and the lock screen interface icons and time information can disappear immediately, and then The mobile phone displays the desktop wallpaper and the icons and controls of the desktop.
  • the information such as the lock screen wallpaper and the icons on the lock screen interface can gradually fade and disappear; or can be gradually reduced to a point and disappear; or can be zoomed in and disappear; or the lock screen can be displayed.
  • Information such as wallpapers and icons on the lock screen interface are decomposed into snowflake shapes, meteor shapes, disappear after love shapes, 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.
  • the AOD pattern displayed when the phone screen is off may be determined according to the area of interest of the lock screen wallpaper . The following describes the different situations in which the user chooses to display the lock screen pattern when the screen is off:
  • the AOD pattern and the desktop wallpaper can refer to the presentation method in the prior art.
  • the AOD pattern can disappear immediately, and then The phone displays the desktop wallpaper and the icons and controls of the lock screen.
  • the AOD pattern can gradually fade and disappear; or it can be gradually reduced to a point and then disappear; or it can be enlarged and then disappear; for example, the AOD pattern can be enlarged and then decomposed into snowflakes, meteors, and hearts and then disappear. Or disappear with other animation effects, which is not limited in this application. In this way, a richer visual experience can be presented to the user.
  • the mobile phone when the screen of the mobile phone is off (screen-off) and stands (for example, placed on a desk), the mobile phone can perform AOD, that is, the screen-off interface 340 is displayed.
  • the display content of the AOD may be displayed in the display area 343 of the screen-off interface 340, and the display content of the AOD may include the time 341 and the AOD pattern 342 extracted from the lock screen wallpaper.
  • 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, as shown in (b) of FIG. In response to the operation of the user pressing the power key (unlock key) 348, as shown in (c) of FIG.
  • the specific location, the specific location in the display area 345 may be the original location of the AOD pattern 342 in the lock screen wallpaper. Then, as shown in (d) of FIG. 5 , the mobile phone can diffuse and illuminate the wallpaper on the lock screen interface 350 , and then, as shown in (e) of FIG. 5 , the mobile phone can display other information on the lock screen interface 350 , for example, the information in the display area 349 (including information such as time, signal, power, etc.).
  • the mobile phone can display the AOD pattern from the middle position and return to the original position (the position of the AOD pattern in the lock screen wallpaper), and then diffuse and light up the lock screen wallpaper, A quick animation of additional information on the lock screen reappears.
  • the animation effect of the AOD pattern and the content of the lock screen can make the user have a better experience.
  • the way to enter the lock screen interface may also be approaching the mobile phone, touching the mobile phone (for example, double-clicking the mobile phone), etc., which is not limited in this application.
  • 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 diffuse and light up the lock screen wallpaper, and then the lock screen interface appears.
  • Quick animation of additional information The animation effect of the AOD pattern and the content of the lock screen can make the user have a better experience.
  • the AOD pattern may be determined according to the corresponding wallpaper, that is, the AOD patterns corresponding to different wallpapers are different.
  • the AOD pattern reference may be made to the above related description, which is not repeated here.
  • other icons and/or controls on the lock screen interface may enter the lock screen interface by flying in, or may be displayed in a manner from fade to dark until normal display, or, or may be displayed with other animation effects. It is not limited in this application. In this way, a richer visual experience can be presented to the user.
  • the mobile phone can display the corresponding AOD pattern from the middle position and return 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 waiting time of the user and improve the user experience.
  • the AOD pattern can disappear immediately, and then quickly turn on the lock screen wallpaper and display other information on the lock screen interface, which can save the user's waiting time and improve the user experience.
  • the interaction between the AOD pattern and the lock screen interface can refer to the relevant description in the above situation (2)
  • the interaction between the lock screen interface and the desktop ie The display effect when entering the desktop from the lock screen interface
  • the lock screen wallpaper and the icons and controls of the lock screen interface can disappear immediately, and then the mobile phone Displays desktop wallpapers and desktop icons and controls, etc.
  • information such as the lock screen wallpaper and the icons on the lock screen interface gradually fades and disappears; or it can be gradually reduced to a point and then disappear; or it can be enlarged and disappear; or the lock screen wallpaper can be changed.
  • Information such as the icons on the lock screen interface are decomposed into snowflake shapes, meteor shapes, disappear after love shapes, 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.
  • the screen-off display effect of the user selecting 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 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). definite.
  • the animation effect when the user enters the lock screen interface from the off-screen state can refer to the relevant description above, and the animation effect when the user enters the desktop from the off-screen state can also refer to the above related description. I won't go into details here.
  • the lock screen wallpaper and the desktop wallpaper are the same. After the user enters the lock screen interface from the off-screen state, the animation effect of entering the desktop can be more continuous.
  • 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 desktop icons and other information can gradually enter the display area.
  • displayed from light to dark, or displayed with an animation effect which is not limited in this application.
  • the animation effect of entering the desktop is more continuous, and the user experience is higher.
  • 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 is put into the organic shape. If no face is detected, saliency detection can be performed on the wallpaper. If the saliency area meets the first condition, area delineation (cropping) and shaped edge fitting can be performed to obtain the AOD pattern; if the size of the saliency area satisfies The second condition, organic shapes can be generated, and the salient regions extracted from the wallpaper can be put into the organic shapes to obtain AOD patterns. For images in organic shapes or images fitted with contoured edges, feathering can be performed to obtain AOD patterns. Optionally, the AOD pattern may also be rendered.
  • the display content of the AOD may include a time control (hereinafter referred to as time) and a pattern extracted from the wallpaper (hereinafter referred to as AOD pattern).
  • face detection algorithms such as VJ (Viola-Jones), multi-task convolutional neural network (MTCNN), FaceBoxes, RetinaFace, and CenterFace can be used (people face recognition algorithm) is not limited in this application.
  • the saliency area can be delineated, for example, it can be determined according to the saliency area.
  • the AOD pattern is obtained by cropping the salient area of the wallpaper (also referred to as the foreground content area) based on the result of the sex detection. Assuming that the height of the saliency region is H, the width is W, and the screen width of the mobile phone is w, the first condition may be, for example, that H is greater than 40%w and/or W is greater than 30%w.
  • saliency regions of different sizes may be cropped according to different rectangular boxes.
  • the size of the rectangular frame 701 is: 80%w*60%w (width*height); the size of the rectangular frame 702 is: 90%w*40%w, and the size of the rectangular frame 703 is: 50%w*80% w, the size of the rectangular frame 704 is: 40%w*30%w.
  • the height of the saliency area is H
  • the width is W
  • the screen width of the mobile phone is w
  • the saliency area can be cropped by using a rectangular frame 701.
  • a rectangular frame 704 can be used to crop the saliency region, and the cropped saliency region can be placed in an organic shape (refer to the description below for the organic shape).
  • a rectangular frame 701 can be used to crop the saliency area, and the size of the cropped saliency area is 80%w*60%w;
  • a rectangular frame 701 can be used to crop the saliency region, and the size of the cropped saliency region can be 80%w*H;
  • the saliency area may not be cropped, that is, the size of the salient area is still W*H; if H is less than 30%w, the salient area can be cropped by using a rectangular frame 704, and the cropped saliency area can be placed in an organic shape.
  • a rectangular frame 701 can be used to crop the saliency region, and the size of the cropped saliency region is W*60%w; If 60%w is greater than 40%w, the saliency region can not be cropped, that is, the size of the saliency region is still W*H.
  • a rectangular frame 701 can be used to crop the saliency region, and the size of the cropped saliency region is W*80%w; If 80%w is greater than 40%w, the saliency region can not be cropped, that is, the size of the saliency region is still W*H.
  • a rectangular frame 704 or a rectangular frame 703 can be used to crop the saliency region, and the cropped saliency region can be placed in an organic shape.
  • the saliency area when there is no face in the wallpaper and the size of the saliency area satisfies the first condition, that is, when the saliency area is large, the saliency area may not be cropped, and the saliency area may not be cropped. The entire area is reduced to obtain an AOD pattern.
  • the salient region can be cropped and then the overall reduction can be performed to obtain the AOD pattern.
  • the second condition When there is no human face in the wallpaper and the size of the salient region satisfies the second condition, an organic shape can be generated, and the salient region can be put into the organic shape to obtain an AOD pattern.
  • the second condition may be that H is less than 40%w and W is less than 30%w.
  • two three-point lines S1 and S2 can be made vertically, and two three-point lines S3 and S4 can be made horizontally, so as to obtain four intersection points between the four three-point lines.
  • X1, X2, X3 and X4 select the direction opposite to the center of gravity Z of the saliency area (white part) in the lateral direction (left and right) (ie, the direction away from the center of gravity), and select the same direction as the center of gravity of the saliency area in the vertical direction (up and down) ( That is, the direction close to the center of gravity), so that a third point X2 is selected, and the corresponding area is cropped 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, and the AOD pattern can be obtained.
  • the user can choose which salient area to use as the AOD pattern, or the mobile phone system can determine the final salient area as the AOD pattern according to preset rules (that is, the first salient area). sexual area). Then, the saliency area (ie, the first saliency area) is processed to obtain the AOD pattern.
  • preset rules that is, the first salient area). sexual area.
  • the preset rule may be to determine a saliency region according to the saliency values of multiple saliency regions (the saliency values are used to characterize the saliency of the saliency regions). For example, one saliency region with the highest saliency is determined as the first saliency region.
  • the edge pixel blocks of the AOD pattern can be fitted with irregular-shaped edges, and the curve obtained by fitting can be used as the edge of the final displayed AOD pattern.
  • the midpoint of the connecting line of every two convex vertices in the pixel block of the AOD pattern can be set to the starting point and the end point of the cubic Bezier curve, and each convex vertex and every two
  • the midpoint of the connection between the midpoints of the connection lines of the two convex vertices (that is, a quarter point of the connection line of every two convex vertices) is used as the control point of the cubic Bezier curve, thereby forming a closed Bezier Er curve.
  • the area where the human face is located can be used as the AOD pattern.
  • the area where the face with a larger area is located can be selected as the AOD pattern.
  • the organic shape can be calculated as the display edge of the AOD pattern according to the characteristics of the area where the face is located (for example, the orientation of the face, etc.), so as to avoid the risk of strange user perception that directly uses the face as the display edge of the AOD.
  • the organic shape can be calculated according to the characteristics of the saliency region (for example, the center of gravity of the saliency region, etc.), and the saliency region can be put into the organic shape
  • the characteristics of the saliency region for example, the center of gravity of the saliency region, etc.
  • a circle Y with a radius R is made with the point O as the center.
  • the value range of R can be 25%w to 30%w
  • w is the width of the mobile phone screen.
  • the tangent line L is the tangent line passing through point A and the circle Y
  • the midpoint of the tangent line L is point A
  • the length from point A to point L1 is R
  • the length from point A to point L2 is R
  • the length of tangent line L is 2R
  • the tangent line M is the tangent line passing through point B and the circle Y.
  • the midpoint of the tangent line M is point A, the length from point B to point M1 is R
  • the length from point B to point M2 is R, that is, the length of the tangent line M is 2R.
  • Tangent line N is the 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
  • the length from point C to point N2 is R
  • the length of tangent line N is 2R .
  • the tangent L' can be randomly inclined at a certain angle counterclockwise (the inclination angle is less than 20 degrees, for example, the inclination angle can be 18 degrees) to obtain the tangent L', and the The length of the line segment between point C and N2 is shortened, and the shortening range is between 2/3R and 3/4R, for example, it can be shortened to 2/3R).
  • the end point L1' and the end point M1 of the tangent line M are the intermediate points to make a Bezier curve; and the B and C points are used as the starting point and the end point respectively, and the end point M2 of the tangent line M and the end point N1 of the tangent line N are used as the intermediate points to make a Bezier curve.
  • Organic shape J2 as the organic shape template.
  • the screenshot containing the human face can be placed into the organic shape as follows.
  • the screenshots containing human faces are taken from the wallpaper, and the layout is the same as that of the intercepted part of the wallpaper.
  • the distance between the top of the human head and the top edge of the organic shape is about 20%A, for example, it may be 18%A.
  • A represents the height of the organic shape.
  • the position of the face is located in the gold on the right side of the organic shape at the scale dividing line. It can be understood that, for a face whose face is oriented to the right (front right), on the left-right (horizontal) layout, the position of the face is located at the golden ratio dividing line on the left side of the organic shape. As shown in (c) and (d) of Fig. 10, for a face with a face facing straight ahead, on the left-right (horizontal) layout, the position of the face is located in the middle of the organic shape (ie, centered). In this way, the display area and organic shapes including the human face can be more in line with the aesthetic composition, which can improve the look and feel.
  • the area of the person (face) is too small compared to the organic shape (for example, the height of the person is less than 15%A, for example, 1/10A or 1/15A)
  • the person can be placed in the center, the person's height
  • the distance between the top of the head and the top edge of the organic shape is not limited to about 20%A.
  • the saliency area can be centered in the organic shape.
  • time controls can be combined with AOD patterns.
  • Time controls and AOD patterns may or may not overlap.
  • the combination of the time control and the AOD pattern includes the following steps:
  • the color of the time control can be obtained by adjusting the color selection result of the AOD pattern.
  • the time control eg, 08 08
  • the time control can be divided into three parts by the dashed line a and the dashed line b, wherein the color of the upper part of the dashed line a can be white; the dashed line a and the dashed line b
  • the color of the part between the dotted lines b may be the main color of the AOD pattern; the color of the part below the dotted line b may be the secondary color of the AOD pattern.
  • the time control (for example, 0808) can be divided into three parts by the dashed line c and the dashed line d, wherein the color of the upper part of the dashed line c can be white; the dashed line c
  • the color of the portion between the dotted line d and the dotted line d may be the main color of the AOD pattern; the color of the portion below the dotted line d may be the secondary color of the AOD pattern.
  • the time controls can be displayed in two rows. Specifically, as shown in (a), (b) and (d) in Figure 12A, the centroid 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; as shown in (c) of Figure 12A, 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.
  • the time controls can be displayed in a row.
  • the centroid 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;
  • 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.
  • the preset edge feathering value can be set according to the overall style of the displayed content of the AOD (including the digital font style of the time control, the style of the AOD pattern, etc.), so that the displayed content of the AOD looks more beautiful.
  • the time control and the AOD pattern can be displayed separately.
  • the time control 341 can be displayed in the upper and center position of the mobile phone screen
  • the AOD pattern 342 can be displayed in the middle position of the mobile phone screen.
  • OLED screens which can control individual pixels to emit light.
  • the black area does not need to emit light, which can greatly reduce power consumption.
  • the AOD design needs to avoid the unique burn-in problem of the OLED screen, that is, several pixels display the same color for a long time, causing the aging of the area to affect the display effect.
  • the display content of AOD can be periodically moved up and down or left and right within a certain range, that is, it moves repeatedly in a fixed area, which does not affect the visual perception and can effectively Prevent burn-in.
  • the mobile phone when the user lights the mobile phone (enters the unlocking interface or the desktop from the off-screen interface), the mobile phone can display the AOD pattern from the middle position and return to the original position (the AOD pattern is in the lock screen wallpaper or desktop wallpaper) position), then diffuse the lock screen wallpaper or desktop wallpaper, and then a quick animation of the lock screen interface or other information on the desktop appears.
  • the animation effect of the AOD pattern and the wallpaper can make the user have a better experience.
  • 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.
  • an embodiment of the present application provides a method for off-screen display, including:
  • the electronic device detects a region of interest in a wallpaper set by a user, where the region of interest is located at a first position in the wallpaper.
  • 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 captured by the electronic device, a picture downloaded by the electronic device, or a screenshot of the electronic device.
  • 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.
  • 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 the desktop wallpaper or the lock screen wallpaper every preset time.
  • a preset rule for example, a picture can be pushed to the user as the desktop wallpaper or the lock screen wallpaper every preset time.
  • the electronic device can perform face detection on the wallpaper; when there is a human face in the wallpaper, the region of interest includes the region where the human face is located; when there is no human face in the wallpaper, the electronic device performs saliency on the wallpaper Detection, the region of interest includes salient regions in the wallpaper.
  • the electronic device determines the AOD pattern according to the region of interest.
  • the electronic device detects a human face, it can generate an organic shape, cut out the face area from the wallpaper and put it into the organic shape to obtain the AOD pattern; if no human face is detected, the wallpaper can be saliency detected to get the first saliency area; if the size of the first saliency area satisfies the first preset condition, the first saliency area is trimmed, and the cropped first saliency area is fitted with a special-shaped edge to obtain an AOD pattern; if The size of the first saliency region satisfies the second preset condition, an organic shape is generated, and the first saliency region is placed in the organic shape to obtain an AOD pattern.
  • cropping the first salient region includes: directly cropping the first salient region to obtain the AOD pattern; or, cropping and reducing or enlarging the first salient region to obtain the AOD pattern.
  • the size of the AOD pattern can be controlled within a reasonable range, and the display effect of the AOD pattern can be beautified, thereby improving the user's perception.
  • performing 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 according to a preset rule.
  • performing irregular edge fitting on the cropped first saliency region includes: fitting an edge of the cropped first salience region based on a Bezier curve.
  • the Bezier curve is a smooth curve, and fitting the edge of the cropped first saliency region based on the Bezier curve can make the edge of the first saliency region smoother, thereby making the edge of the AOD pattern smoother. Smoother, beautify the display effect of AOD patterns, and improve user perception.
  • generating an organic shape includes: determining an organic shape according to features of the human face, and the features of the human face include the orientation of the human face; if the size of the first saliency area satisfies the second preset condition, Generating the organic shape includes: determining the organic shape according to features of the first salience region, where the features of the first salience region include directions in which the center of gravity, the center of mass or the center of symmetry of the first salience region is located. In this way, the AOD pattern including the organic shape can be made more in line with the aesthetic composition, and the look and feel can be improved.
  • organic shapes are composed of bezier curves.
  • the Bezier curve is a smooth curve, and the organic shape is also a soft shape.
  • the AOD pattern obtained from the organic shape will also make the user look better.
  • cropping the face area from the wallpaper and placing it into the organic shape includes: a preset distance 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.
  • the display area and organic shapes including the human face can be more in line with the aesthetic composition, which can improve the look and feel.
  • the edges of the AOD pattern can be feathered.
  • the edge of the AOD pattern can be made smoother, the display effect of the AOD pattern can be beautified, and the user's perception can be improved.
  • the electronic device may also receive an operation of setting a wallpaper by the user, and an operation that the user determines to perform off-screen display. After the user sets the wallpaper and sets it for off-screen 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 user's personalized needs and improve the user experience.
  • the electronic device when the electronic device is in an off-screen state, the electronic device further displays at least one kind of information among time, short message reminder, missed call reminder, message reminder from an application, weather, or battery level.
  • the display content when the screen is off can be enriched, more information can be prompted for the user, the user can be prevented from missing important information, and the user experience can be improved.
  • the electronic device if the electronic device is in the off-screen state, the electronic device also displays 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 center of mass, the center of gravity or the center of symmetry of the AOD pattern. This can achieve a visual balance.
  • the moving of the AOD pattern from the second position to the third position includes: time moves simultaneously with the AOD pattern, and the time gradually disappears during the moving process, or the time disappears when the AOD pattern moves to the third position.
  • time moves simultaneously with the AOD pattern, and the time gradually disappears during the moving process, or the time disappears when the AOD pattern moves to the third position.
  • the AOD pattern moves from the second position of the display screen to a third position of the display screen, where the third position is determined according to the first position of the region of interest in the wallpaper.
  • the first position when the wallpaper covers the display screen, the first position may be the same as the third position; when the wallpaper is displayed in an equal scale, the third position may be determined with reference to the first position. For example, if the region of interest is located in the lower left corner of the wallpaper, the third position refers to the lower left corner of the display screen.
  • the electronic device displays the wallpaper.
  • the electronic device displays the wallpaper first, 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 , and other information corresponding to the wallpaper includes application icons and controls on the desktop.
  • This kind of fast animation of lighting up the wallpaper first and then other information corresponding to the wallpaper can make the user have a better experience.
  • the electronic device in the embodiment shown in FIG. 14 may be the mobile phone in the foregoing embodiment.
  • the electronic device in the embodiment shown in FIG. 14 may be the mobile phone in the foregoing embodiment.
  • the parts not described in detail in the embodiment shown in FIG. 14 reference may be made to the foregoing embodiment, and details are not described here.
  • the electronic device detects the region of interest in the wallpaper set by the user, and the region of interest is located at the first position in the wallpaper; the electronic device determines the off-screen display AOD pattern according to the region of interest, and when the electronic device is in the When the screen is off, the AOD pattern is displayed in the second position of the display screen.
  • 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.
  • the electronic device can display the AOD pattern transferred from the preset position (the second position) to the third position (according to the area of interest in the The lock screen wallpaper or the position in the desktop wallpaper is determined), and then the animation of the wallpaper is diffused.
  • the animation effect of the AOD pattern and the wallpaper can make the user have a better experience.
  • the chip system includes at least one processor 1501 and at least one interface circuit 1502 .
  • the processor 1501 and the interface circuit 1502 may be interconnected by wires.
  • the interface circuit 1502 may be used to receive signals from other devices (eg, memory of an electronic device).
  • the interface circuit 1502 may be used to send signals to other devices (eg, the processor 1501).
  • the interface circuit 1502 may read instructions stored in a memory in the electronic device and send the instructions to the processor 2101 .
  • the electronic device such as the electronic device 200 shown in FIG. 2 can be made to execute each step in the above embodiment.
  • the chip system may also include other discrete devices, which are not specifically limited in this embodiment of the present application.
  • Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium includes computer instructions, when the computer instructions are executed on an electronic device (such as the electronic device 200 shown in FIG. 2 ), the electronic device 200 performs each function or step performed by the electronic device in the foregoing method embodiments.
  • an electronic device such as the electronic device 200 shown in FIG. 2
  • the electronic device 200 performs each function or step performed by the electronic device in the foregoing method embodiments.
  • Embodiments of the present application further provide a computer program product, which, when the computer program product runs on a computer, enables the computer to perform each function or step performed by the electronic device in the foregoing method embodiments.
  • An embodiment of the present application further provides an off-screen display processing device.
  • the device can be divided into different logical units or modules according to functions, and each unit or module performs different functions, so that the device performs the above method embodiments.
  • Various functions or steps performed by an electronic device are possible.
  • an electronic device such as the electronic device 200 shown in FIG. 2
  • the electronic device may include: a communication module, a memory, and one or more processors.
  • the communication module and memory are coupled to the processor.
  • the memory is used to store computer program code comprising computer instructions.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be Incorporation may either be integrated into another device, or some features may be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • 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 may be distributed to multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be realized in the form of hardware, and can also be realized in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, which are stored in a storage medium , including several instructions to make a device (may be a single chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例提供一种灭屏显示方法和电子设备,涉及终端领域,可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定灭屏显示AOD的显示内容,能够满足用户的个性化需求,提高用户体验。其方法为:电子设备检测用户设置的壁纸中的感兴趣区域,感兴趣区域位于壁纸中的第一位置;电子设备根据感兴趣区域确定AOD图案;当电子设备处于灭屏状态时,在显示屏的第二位置显示AOD图案,第二位置是预设的;响应于用户点亮显示屏的操作,AOD图案从显示屏的第二位置移动至显示屏的第三位置,第三位置是根据感兴趣区域在壁纸中的第一位置确定的;电子设备显示壁纸。

Description

一种灭屏显示方法和电子设备
本申请要求于2020年12月30日提交国家知识产权局、申请号为202011624908.1、申请名称为“一种灭屏显示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,尤其涉及一种灭屏显示方法和电子设备。
背景技术
一直显示(always on display,AOD)是指电子设备的屏幕灭屏(息屏)状态下,屏幕局部亮起,显示一些信息(例如,时间,电量、短信提醒等)。AOD也可以称为灭屏显示。
AOD的显示内容起初是黑白的,形式也较为单一。随着技术的发展,彩色AOD应运而生,并且,AOD的形式越来越丰富。
示例性的,目前,可以为系统预置的壁纸设计AOD的显示内容,用户点亮手机(指纹解锁、人脸识别或按压电源键)时,AOD的显示内容可以与系统预置的壁纸形成动画效果,可以带给用户新奇的体验。但是,针对用户任意设定的壁纸,难以达到类似的效果,无法满足用户的个性化需求。
发明内容
本申请实施例提供一种灭屏显示方法和电子设备,可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。
第一方面,本申请实施例提供一种灭屏显示方法,包括:电子设备检测用户设置的壁纸中的感兴趣区域,感兴趣区域位于壁纸中的第一位置;电子设备根据感兴趣区域确定灭屏显示AOD图案;当电子设备处于灭屏状态时,在显示屏的第二位置显示AOD图案,第二位置是预设的;响应于用户点亮显示屏的操作,AOD图案从显示屏的第二位置移动至显示屏的第三位置,第三位置是根据感兴趣区域在壁纸中的第一位置确定的;电子设备显示壁纸。
基于本申请实施例提供的方法,电子设备可以检测用户设置的壁纸中的感兴趣区域,并根据感兴趣区域确定灭屏显示AOD图案,当电子设备处于灭屏状态时,可以显示AOD图案。这样,可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。并且,当用户点亮电子设备的显示屏(从灭屏界面进入解锁界面或桌面)时,电子设备可以显示AOD图案从预设位置(第二位置)转移到第三位置(根据感兴趣区域在锁屏壁纸或桌面壁纸中的位置确定的),再扩散亮起壁纸的动画。这种AOD图案与壁纸形成动画的效果可以让用户产生更好的体验。
在一种可能的实现方式中,方法还包括:接收用户设置壁纸的操作;接收用户确 定进行灭屏显示的操作。用户设置壁纸并设置进行灭屏显示后,电子设备可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。
在一种可能的实现方式中,用户设置的壁纸包括桌面壁纸或锁屏壁纸。可选的,用户也可以设置桌面画报或锁屏画报,即根据预设规律切换不同的壁纸,比如可以每隔预设时间为用户推送一张图片作为桌面壁纸或锁屏壁纸。
在一种可能的实现方式中,电子设备显示壁纸包括:电子设备先显示壁纸,再显示壁纸对应的其他信息;当壁纸为锁屏壁纸时,壁纸对应的其他信息包括锁屏界面上的应用图标和控件;当壁纸为桌面壁纸时,壁纸对应的其他信息包括桌面上的应用图标和控件。这种先亮起壁纸,再出现壁纸对应的其他信息的快速动画可以让用户产生更好的体验。
在一种可能的实现方式中,电子设备检测用户设置的壁纸中的感兴趣区域包括:电子设备对壁纸进行人脸检测;当壁纸中存在人脸时,感兴趣区域包括人脸所在的区域;当壁纸中不存在人脸时,电子设备对壁纸进行显著性检测,感兴趣区域包括壁纸中的显著性区域。
在一种可能的实现方式中,电子设备根据感兴趣区域确定灭屏显示AOD图案包括:若检测到人脸,生成有机形状,从壁纸中裁剪出人脸区域并放入有机形状中,以得到AOD图案;若未检测到人脸,对壁纸进行显著性检测得到第一显著性区域;若第一显著性区域的大小满足第一预设条件,对第一显著性区域进行裁剪,并对裁剪后的第一显著性区域进行异形边缘拟合,以得到AOD图案;若第一显著性区域的大小满足第二预设条件,生成有机形状,并将第一显著性区域放入有机形状中,以得到AOD图案。
在一种可能的实现方式中,方法还包括:对AOD图案的边缘进行羽化处理。这样,可以使AOD图案的边缘更加平滑,美化AOD图案的显示效果,从而可以提高用户观感。
在一种可能的实现方式中,对第一显著性区域进行裁剪包括:对第一显著性区域直接进行裁剪得到AOD图案;或者,对第一显著性区域进行裁剪以及缩小或放大处理得到AOD图案。这样,可以将AOD图案的大小控制在合理范围内,美化AOD图案的显示效果,从而提高用户观感。
在一种可能的实现方式中,对壁纸进行显著性检测得到第一显著性区域包括:当壁纸包括多个显著性区域时,将用户选择的一个显著性区域作为第一显著性区域;或者,根据预设规则确定第一显著性区域;其中,预设规则包括根据多个显著性区域中每个显著性区域的显著性高低确定第一显著性区域。例如,可以将显著性最高的显著性区域作为第一显著性区域。
在一种可能的实现方式中,对裁剪后的第一显著性区域进行异形边缘拟合包括:基于贝塞尔曲线对裁剪后的第一显著性区域的边缘进行拟合。贝塞尔曲线是一种平滑的曲线,基于贝塞尔曲线对裁剪后的第一显著性区域的边缘进行拟合可以使第一显著性区域的边缘更加平滑,从而使得AOD图案的边缘更加平滑,美化AOD图案的显示效果,提高用户观感。
在一种可能的实现方式中,若检测到人脸,生成有机形状,包括:根据人脸的特征确定有机形状,人脸的特征包括人脸的朝向;若第一显著性区域的大小满足第二预 设条件,生成有机形状,包括:根据第一显著性区域的特征确定有机形状,第一显著性区域的特征包括第一显著性区域的重心、质心或对称中心所在的方向。这样,可以使得包含有机形状的AOD图案更加符合美学构图,可以提高观感。
在一种可能的实现方式中,有机形状是由贝塞尔曲线组成的。贝塞尔曲线是一种平滑的曲线,有机形状也是一种柔和的形状,根据有机形状得到的AOD图案也会使得用户观感更好。
在一种可能的实现方式中,从壁纸中裁剪出人脸区域并放入有机形状中包括:人脸的顶部与有机形状的顶部之间间隔预设距离,且人脸位于有机形状的黄金比例分割线处;或者,人脸居中放置于有机形状中。这样,包含人脸的显示区域和有机形可以更加符合美学构图,可以提高观感。
在一种可能的实现方式中,电子设备处于灭屏状态时,电子设备还显示时间、短信提醒、未接来电提醒、应用程序的消息提醒、天气或电量中的至少一种信息。这样,可以使得灭屏时的显示内容更丰富,可以为用户提示更多的信息,防止用户错过重要信息,可以提高用户体验。
在一种可能的实现方式中,若电子设备处于灭屏状态时,电子设备还显示时间,时间的颜色是根据AOD图案的颜色确定的,且时间位于AOD图案的质心、重心或对称中心的相反方向。这样可以达到一种视觉的平衡。
在一种可能的实现方式中,AOD图案从显示屏的第二位置移动至显示屏的第三位置包括:时间与AOD图案同时移动,时间在移动过程中逐渐消失,或者当AOD图案移动到第三位置后时间消失。这样的设计使得产品变得多样化,增加了趣味性,使得AOD的效果更生动,可以提高用户体验。
在一种可能的实现方式中,用户设置的壁纸的来源包括电子设备拍摄得到的图片、电子设备下载的图片或电子设备的截图中的至少一种。这样,可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。
第二方面,本申请实施例提供一种电子设备,该电子设备具有实现上述第一方面及其任一种可能的实现方式所述的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
第三方面,本申请提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令。当计算机指令在电子设备上运行时,使得该电子设备执行如第一方面及其任一种可能的实现方式所述的方法。
第四方面,本申请提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面及其任一种可能的实现方式所述的方法。
第五方面,本申请实施例提供一种芯片系统,该芯片系统包括一个或多个接口电路和一个或多个处理器。该接口电路和处理器通过线路互联。该芯片系统可以应用于包括通信模块和存储器的电子设备。该接口电路用于从电子设备的存储器接收信号,并向处理器发送接收到的信号,该信号包括存储器中存储的计算机指令。当处理器执行该计算机指令时,电子设备可以执行如第一方面及其任一种可能的实现方式所述的 方法。
附图说明
图1为本申请实施例提供的一种显著性区域的示意图;
图2为本申请实施例提供的一种电子设备的结构示意图;
图3A为本申请实施例提供的一种显示示意图;
图3B为本申请实施例提供的又一种显示示意图;
图3C为本申请实施例提供的又一种显示示意图;
图4A为本申请实施例提供的又一种显示示意图;
图4B为本申请实施例提供的又一种显示示意图;
图4C为本申请实施例提供的又一种显示示意图;
图4D为本申请实施例提供的又一种显示示意图;
图5为本申请实施例提供的又一种显示示意图;
图6为本申请实施例提供的一种方法流程示意图;
图7A为本申请实施例提供的一种不同大小的矩形框的示意图;
图7B为本申请实施例提供的一种裁剪显著性区域的示意图;
图8为本申请实施例提供的一种异形边缘拟合的示意图;
图9为本申请实施例提供的一种有机形状的示意图;
图10为本申请实施例提供的一种人脸在有机形状中的布局的示意图;
图11为本申请实施例提供的一种确定时间控件的颜色的示意图;
图12A为本申请实施例提供的一种时间控件的位置示意图;
图12B为本申请实施例提供的又一种时间控件的位置示意图;
图13为本申请实施例提供的又一种显示示意图;
图14为本申请实施例提供的又一种方法流程示意图;
图15为本申请实施例提供的一种芯片结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“至少一个”是指一个或多个,“多个”是指两个或多于两个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。
为了下述各实施例的描述清楚简洁,首先给出相关概念或技术的简要介绍:
显著性检测(saliency detection):通常在面对一幅图像(一个场景)时,人眼会自动地聚焦于某些引起兴趣的区域,而选择性地忽略不感兴趣的区域,这些引起人们兴趣的区域被称之为显著性区域。在计算视觉领域,通过图像处理手段来模拟这一特性的过程称作显著性检测。通俗来讲,显著性检测就是把一幅图像中最吸引人注意的部分提取出来。
目前,显著性检测的实现可以包括两种类别:第一种是通过传统的图像处理方法,第二种是通过深度学习。经过显著性检测可以得到显著性图(saliency map)。显著 性图可以为灰度图,灰度值越高的地方表示显著性越高。
示例性的,如图1所示,对图像001(图像001可以是用户拍摄的一张包括音箱且无其他杂物的图片)进行显著性检测后可以得到图像002,图像002中的区域003的灰度值较高,可以认为是显著性区域。
本申请实施例中,针对一幅壁纸来说,当壁纸中存在人脸时,感兴趣区域包括人脸所在的区域;当壁纸中不存在人脸时,感兴趣区域包括壁纸中的显著性区域。人脸所在的区域可以是基于人脸检测算法(参考下文的相关描述)得到的,显著性区域可以是基于显著性检测得到的。
有机形状(也可以称为有机形,有机图形):通常情况下是指区别于棱角分明的形状,主要由曲线构成。示例性的,有机形状可以由贝塞尔曲线构成。
贝塞尔曲线:贝塞尔曲线的定义包括起始点、终止点(也称锚点)和中间点。贝塞尔曲线包括一阶贝塞尔曲线、二阶贝塞尔曲线和三阶贝塞尔曲线等等。其中,三阶贝塞尔曲线包括两个相互分离的中间点,当滑动两个中间点时,三阶贝塞尔曲线的形状会发生变化。
羽化处理:原理是令选区(即被选中的区域)内外衔接部分虚化,起到渐变的作用,从而达到自然衔接的效果。羽化值越大,虚化范围越宽,衔接效果越自然。
目前,可以为系统预置的壁纸设计AOD的显示内容(例如可以根据壁纸人为设计AOD的显示内容,将人为设计的AOD的显示内容标记起来作为最终要显示的内容)。但是,针对用户任意设定的壁纸,难以达到类似的效果,无法满足用户的个性化需求。
本申请实施例提供一种灭屏显示方法,电子设备可以检测用户设置的壁纸中的感兴趣区域,感兴趣区域位于壁纸中的第一位置;电子设备根据感兴趣区域确定灭屏显示AOD图案,当电子设备处于灭屏状态时,在显示屏的第二位置显示AOD图案。这样,可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。并且,当用户点亮电子设备的显示屏(从灭屏界面进入解锁界面或桌面)时,电子设备可以显示AOD图案从预设位置(第二位置)转移到第三位置(根据感兴趣区域在锁屏壁纸或桌面壁纸中的位置确定的),再扩散亮起壁纸的动画。这种AOD图案与壁纸形成动画的效果可以让用户产生更好的体验。
如图2所示,对本申请实施例提供的电子设备(例如,手机)的结构进行举例说明。电子设备200可以包括:处理器210,外部存储器接口220,内部存储器221,通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。
其中,上述传感器模块280可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器和骨传导传感器等传感器。
可以理解的是,本实施例示意的结构并不构成对电子设备200的具体限定。在另一些实施例中,电子设备200可以包括比图示更多或更少的部件,或者组合某些部件, 或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以是电子设备200的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。
在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备200的结构限定。在另一些实施例中,电子设备200也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块240用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。充电管理模块240为电池242充电的同时,还可以通过电源管理模块241为电子设备供电。
电源管理模块241用于连接电池242,充电管理模块240与处理器210。电源管理模块241接收电池242和/或充电管理模块240的输入,为处理器210,内部存储器221,外部存储器,显示屏294,摄像头293,和无线通信模块260等供电。在一些实施例中,电源管理模块241和充电管理模块240也可以设置于同一个器件中。
电子设备200的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。在一些实施例中,电子设备200的天线1和移动通信模块250耦合,天线2和无线通信模块260耦合,使得电子设备200可以通过无线通信技术与网络以及其他设备通信。
天线1和天线2用于发射和接收电磁波信号。电子设备200中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块250可以提供应用在电子设备200上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块250可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。
移动通信模块250还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。
无线通信模块260可以提供应用在电子设备200上的包括WLAN(如(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。
无线通信模块260可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
电子设备200通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏294用于显示图像,视频等。该显示屏294包括显示面板。
电子设备200可以通过ISP,摄像头293,视频编解码器,GPU,显示屏294以及应用处理器等实现拍摄功能。ISP用于处理摄像头293反馈的数据。摄像头293用于捕获静态图像或视频。在一些实施例中,电子设备200可以包括1个或N个摄像头293,N为大于1的正整数。
外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备200的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器210通过运行存储在内部存储器221的指令,从而执行电子设备200的各种功能应用以及数据处理。例如,在本申请实施例中,处理器210可以通过执行存储在内部存储器221中的指令,内部存储器221可以包括存储程序区和存储数据区。
其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备200使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备200可以通过音频模块270,扬声器270A,受话器270B,麦克风270C, 耳机接口270D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
按键290包括开机键,音量键等。按键290可以是机械按键。也可以是触摸式按键。马达291可以产生振动提示。马达291可以用于来电振动提示,也可以用于触摸振动反馈。指示器292可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口295用于连接SIM卡。SIM卡可以通过插入SIM卡接口295,或从SIM卡接口295拔出,实现和电子设备200的接触和分离。电子设备200可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口295可以支持Nano SIM卡,Micro SIM卡,SIM卡等。
为了便于理解,以电子设备为手机为例,结合附图对本申请实施例提供的灭屏显示方法进行具体介绍。
如图3A中的(a)所示,手机检测到用户在手机A的主界面301点击设置应用302的操作后,可以显示如图3A中的(b)所示的设置界面303。在设置界面303中,可以包括多个设置选项,例如可以包括个人账号设置项(例如,Glen Gao)、WLAN设置项、蓝牙设置项、移动网络设置项、更多连接设置项、桌面和壁纸设置项等。响应于用户点击桌面和壁纸设置项对应的区域304,如图3A中的(c)所示,手机可以显示桌面和壁纸界面305。在桌面和壁纸界面305中,可以包括多个设置选项,例如可以包括灭屏显示(也可以称为息屏显示)、杂志锁屏、主题、壁纸、桌面设置、桌面风格、锁屏签名等。响应于用户点击壁纸选项对应的区域306的操作,如图3A中的(d)所示,手机可以显示壁纸界面307,在壁纸界面307中,可以包括本地壁纸和在线壁纸。响应于用户点击壁纸308的操作,如图3A中的(e)所示,手机可以显示界面309,在界面309中,可以包括壁纸308的原图310以及三个操作选项,分别为设为桌面壁纸选项311、设为锁屏壁纸选项312和同时选项(即同时设为桌面壁纸和锁屏壁纸)313。若用户选择同时选项313,响应于用户的操作,手机可以将壁纸310同时设为桌面壁纸和锁屏壁纸,即桌面壁纸和锁屏壁纸相同。当然,用户可以分别设置桌面壁纸和锁屏壁纸(即桌面壁纸和锁屏壁纸可以不相同),本申请不做限定。
用户设置壁纸完毕后,如图3B中的(a)所示,可以返回界面305,响应于用户点击灭屏显示对应的区域320的操作,如图3B中的(b)所示,手机可以显示灭屏显示界面321。其中,提示动画/提示图片322可以用于向用户演示灭屏显示的效果。灭屏显示对应的按钮323a用于供用户选择是否开启灭屏显示功能。用户可以在阅读提示文字323b后可以了解灭屏显示的功能,并决定是否打开开关323a。若用户打开开关323a,表示用户同意开启灭屏显示的功能。这样,手机A灭屏后可以显示桌面图案或锁屏图案、时间等信息。可选的,手机还可以显示短信提醒、应用程序的消息提醒,电量等信息。
进一步的,用户可以自行选择在灭屏时显示桌面图案(即根据桌面壁纸确定AOD图案,并最终在灭屏时显示AOD图案)还是锁屏图案(即根据锁屏壁纸确定AOD图案,并最终在灭屏时显示AOD图案)。AOD图案可以参考下文的相关描述。用户可以点击按钮324,选择显示桌面图案,或者,用户可以点击按钮325,选择显示锁屏图案。当锁屏壁纸和桌面壁纸相同时,用户选择显示桌面图案或锁屏图案的效果是相同的;当锁屏壁纸和桌面壁纸不相同时,用户选择显示桌面图案或锁屏图案的效果是不同的。 通常用户不可以同时选择显示桌面图案和锁屏图案,当用户选中其中一种显示方式时,另一种显示方式对应的按钮可以置灰(即不可用)。用户也可以设置灭屏显示的时长,例如,可以通过按钮326选择全天显示(即一天的任意时段灭屏都进行灭屏显示),或者,用户可以自行决定灭屏显示的开始时间和结束时间,用户可以通过时间控件327和时间控件328调整灭屏显示的开始时间(例如,7:00开始)和结束时间(例如,22:00结束)。用户还可以自行选择灭屏显示时的时钟样式。
如图3C中的(a)所示,响应于用户在界面321中点击时钟样式对应的区域329的操作,如图3C中的(b)所示,手机可以显示界面330,在界面330中,可以包括时钟显示样式331和时钟显示样式332。时钟显示样式331采用单排显示时间(时间显示为一行/一排)的方式,时钟显示样式332采用双排显示时间(时间显示为两行/两排)的方式。例如,响应于用户选择时钟显示样式331以及点击完成按钮333的操作,手机可以以用户选择的时钟显示样式显示时钟(时间)。可选的,时钟显示样式331可以是手机默认的显示样式。当然,手机可以提供更多其他时钟显示样式,本申请不做限定。
在一些实施例中,当锁屏壁纸和桌面壁纸不相同时,若用户选择在灭屏时显示桌面图案,那么手机灭屏时显示的AOD图案可以是根据桌面壁纸的感兴趣区域确定的。需要说明的是,本申请实施例中,手机显示的AOD图案是根据用户设置的壁纸中的感兴趣区域确定的,而非提前设计好的(例如,由设计师人工设定),对于用户设置的任意壁纸,可以智能显示AOD图案,能够更好地满足用户的个性化需求。
下面对用户选择在灭屏时显示桌面图案的不同情况进行说明:
(1)、当用户从息屏状态进入桌面时,AOD图案和桌面壁纸可以呈现连续的动画效果。
示例性的,如图4A中的(a)所示,当手机灭屏(息屏)静置(例如,放置在办公桌上)时,手机可以进行AOD,即显示灭屏界面340。在灭屏界面340的显示区域343内可以显示AOD的显示内容,AOD的显示内容可以包括时间控件(下文称为时间)341和从桌面壁纸提取的图案(下文简称为AOD图案)342。其中,AOD图案342可以是经过显著性检测后从桌面壁纸截取的(显著性检测的过程参见下文的相关描述),AOD图案342的边缘是一种有机形状(有机形状的计算过程参见下文的相关描述)。若手机设置了指纹识别,当手机的传感器检测到用户拿起手机、触碰手机或靠近手机时,如图4A中的(b)所示,手机可以在灭屏界面340中显示指纹图案344,响应于用户输入指纹的操作,如图4A中的(c)所示,时间341和AOD图案342可以从显示区域343(显示屏的中间位置)转移到显示区域345(显示屏的右下方)中的特定位置。可选的,时间341在移动的过程中可以逐渐隐去(颜色逐渐变淡/透明)。显示区域345中的特定位置可以是AOD图案342在桌面壁纸中的原始位置。而后,如图4A中的(d)所示,手机可以扩散亮起桌面346上的壁纸,接着,如图4A中的(e)所示,手机可以显示桌面346上的其他应用图标(下文简称为图标)和/或控件(例如,时间控件)等,包括显示区域347a和显示区域347b中的各个图标和/或控件。这样,当用户解锁手机时,手机可以显示AOD图案从中间位置回到原始位置(AOD图案在桌面壁纸中的位置),再扩散亮起桌面壁纸,接着出现桌面上的其他图标和/或控件的快速动画。 这种AOD图案与桌面的内容形成动画的效果可以让用户产生更好的体验。并且,由于AOD图案是从用户自行设置的壁纸中提取的,可以满足用户的个性化需求。
可选的,如图4A中的(a)或(b)所示,灭屏显示时,显示区域343内的时间341和AOD图案342可以较为暗淡,避免太过刺眼导致用户的用眼不适。当用户输入指纹解锁时,如图4A中的(c)所示至(d)所示,AOD图案342可以逐渐变亮,逐渐升高与桌面相同的亮度,可以提高用户的用眼舒适度,提高用户体验。
在一种可能的设计中,对于不同的桌面壁纸,由于显著性区域的内容和位置不同,因此AOD的显示内容以及解锁时的动画效果也可以不同。例如,如图3A中的(d)所示,若用户将壁纸360设置为桌面壁纸,如图4B中的(a)所示,AOD的显示内容可以包括时间控件372a和从桌面壁纸(壁纸360对应的壁纸)提取的AOD图案372b。其中,AOD图案372b可以是经过显著性检测后从桌面壁纸(壁纸360对应的壁纸)截取的,AOD图案372b的边缘可以是经过异形边缘拟合得到的(异形边缘拟合的计算过程参见下文的相关描述)。当手机的传感器检测到用户拿起手机、触碰手机或靠近手机时,如图4B中的(b)所示,手机可以在灭屏界面340中显示指纹图案344,响应于用户输入指纹的操作,如图4B中的(c)所示,时间372a和AOD图案372b可以从显示区域343(显示屏的中间位置)转移到显示区域373a(显示屏的下方)中的特定位置,显示区域373a中的特定位置可以是AOD图案372b在桌面壁纸中的原始位置。而后,如图4B中的(d)所示,手机可以扩散亮起桌面346上的壁纸,接着,如图4B中的(e)所示,手机可以显示桌面346上的其他图标和/或控件,包括显示区域347a和显示区域347b中的各个图标和/或控件。
可选的,如图4B中的(a)或(b)所示,灭屏显示时,显示区域343内的时间372a和AOD图案372b可以较为暗淡,避免太过刺眼导致用户的用眼不适。当用户输入指纹解锁时,如图4B中的(c)所示至(d)所示,AOD图案372b可以逐渐变亮,逐渐升高与桌面相同的亮度,可以提高用户的用眼舒适度,提高用户体验。
在一种可能的设计中,如果桌面壁纸的显著性区域较大,可以对桌面壁纸的显著性区域进行整体缩小后生成AOD图案。例如,如图3A中的(d)所示,若用户将壁纸361设置为桌面壁纸,如图4C中的(a)所示,AOD的显示内容可以包括时间控件374a和从桌面壁纸(壁纸361对应的壁纸)提取的AOD图案374b。其中,AOD图案374b可以是经过显著性检测后从桌面壁纸(壁纸361对应的壁纸)截取的包含显著性区域的截图且经过缩小处理的图案。当手机的传感器检测到用户拿起手机、触碰手机或靠近手机时,如图4C中的(b)所示,手机可以在灭屏界面340中显示指纹图案344,响应于用户输入指纹的操作,如图4C中的(c)所示,AOD图案374b可以在显示区域375内扩大(放大)到原始大小,得到AOD图案374c,再将放大后的AOD图案374c移动至桌面壁纸中的原始位置。而后,如图4C中的(d)所示,手机可以扩散亮起桌面346上的壁纸,接着,如图4C中的(e)所示,手机可以显示桌面346上的其他图标和/或控件,包括显示区域347a和显示区域347b中的各个图标和/或控件。
可选的,如图4C中的(a)或(b)所示,灭屏显示时,显示区域343内的时间374a和AOD图案374b可以较为暗淡,避免太过刺眼导致用户的用眼不适。当用户输入指纹解锁时,如图4C中的(c)所示至(d)所示,AOD图案374c可以逐渐变亮, 逐渐升高与桌面相同的亮度,可以提高用户的用眼舒适度,提高用户体验。
可选的,响应于用户输入指纹的操作,可以先移动AOD图案374b至桌面壁纸中的原始位置附近,再放大得到AOD图案374c。或者,响应于用户输入指纹的操作,可以在移动AOD图案374b的过程中,逐渐放大AOD图案374b至原始大小(即在桌面壁纸中的大小),本申请不做限定。
又例如,如图3A中的(d)所示,若用户将壁纸362设置为桌面壁纸,如图4D中的(a)所示,AOD的显示内容可以包括时间控件377a和从桌面壁纸(壁纸360对应的壁纸)提取的AOD图案377b。其中,AOD图案377b可以是经过人脸检测后从桌面壁纸截取的包含人脸的截图,AOD图案377b的边缘可以是一个有机形状。当手机的传感器检测到用户拿起手机、触碰手机或靠近手机时,如图4D中的(b)所示,手机可以在灭屏界面340中显示指纹图案344,响应于用户输入指纹的操作,如图4D中的(c)所示,时间377a和AOD图案377b可以从显示区域343(显示屏的中间位置)转移到显示区域378(显示屏的下方)中的特定位置,显示区域378中的特定位置可以是AOD图案377b在桌面壁纸中的原始位置。而后,如图4D中的(d)所示,手机可以扩散亮起桌面346上的壁纸,接着,如图4D中的(e)所示,手机可以显示桌面346上的其他图标和/或控件,包括显示区域347a和显示区域347b中的各个图标和/或控件。
可选的,如图4D中的(a)或(b)所示,灭屏显示时,显示区域343内的时间377a和AOD图案377b可以较为暗淡,避免太过刺眼导致用户的用眼不适。当用户输入指纹解锁时,如图4D中的(c)所示至(d)所示,AOD图案377b可以逐渐变亮,逐渐升高与桌面相同的亮度,可以提高用户的用眼舒适度,提高用户体验。
在一些实施例中,手机的解锁方式(即从息屏状态进入桌面或应用界面的方式)也可以是人脸识别解锁或滑动解锁或输入密码解锁,本申请不做限定。无论采用哪种解锁方式,手机解锁后,可以显示AOD图案从中间位置回到原始位置(AOD图案在桌面壁纸中的位置),再扩散亮起桌面壁纸,接着出现桌面上的其他图标/或控件的快速动画。这种AOD图案与桌面的内容形成动画的效果可以让用户产生更好的体验。并且,由于AOD图案是从用户自行设置的壁纸中提取的,可以满足用户的个性化需求。
可选的,桌面上的其他图标和/或控件可以采用飞入的方式进入桌面,或者可以采用从淡至深直至正常显示的方式显示出来,或者,或者可以以其他动画效果显示出来,本申请不做限定。这样,可以呈现给用户更丰富的视觉体验。
在一些实施例中,手机可以显示相应的AOD图案从中间位置回到原始位置,桌面壁纸和桌面上的其他图标及控件可以同时显示出来,这样,可以减少用户的等待时间,提高用户体验。
在一些实施例中,AOD图案可以立即消失,然后迅速亮起锁屏壁纸并出现锁屏界面的其他信息,可以节省用户的等待时间,提高用户体验。
(2)、当用户从息屏状态进入锁屏界面时,AOD图案和锁屏壁纸之间可以参考现有技术中的呈现方式,即当用户点击电源键进入锁屏界面时,AOD图案可以立即消失,然后手机显示锁屏壁纸以及锁屏界面的图标和/或控件等信息。
可选的,AOD图案可以逐渐变淡消失;或者可以逐渐缩小为一个点后消失;或者可以放大后消失;例如,可以将AOD图案放大后再分解为雪花状、流星状,爱心状后 消失,或者以其他动画效果消失,本申请不做限定。这样,可以呈现给用户更丰富的视觉体验。
(3)、当用户从息屏状态进入锁屏界面后,再进入桌面时,AOD图案和锁屏界面的互动可以参考上述情况(2)中的相关描述,锁屏界面和桌面的互动(即从锁屏界面进入桌面时的显示效果)可以参考现有技术中的呈现方式,例如当用户在锁屏界面输入指纹后,锁屏壁纸和锁屏界面的图标和时间等信息可以立即消失,然后手机显示桌面壁纸以及桌面的图标和控件等。
可选的,从锁屏界面进入桌面时,锁屏壁纸和锁屏界面的图标等信息可以逐渐变淡消失;或者可以逐渐缩小为一个点后消失;或者可以放大后消失;或者可以将锁屏壁纸和锁屏界面的图标等信息分解为雪花状、流星状,爱心状后消失,或者以其他动画效果消失,本申请不做限定。这样,可以呈现给用户更丰富的视觉体验。
在一些实施例中,当锁屏壁纸和桌面壁纸不相同时,若用户选择在灭屏时显示锁屏图案,那么手机灭屏时显示的AOD图案可以是根据锁屏壁纸的感兴趣区域确定的。下面对用户选择在灭屏时显示锁屏图案的不同情况进行说明:
(1)、当用户从息屏状态进入桌面时,AOD图案和桌面壁纸之间可以参考现有技术中的呈现方式,例如当用户点击电源键进入锁屏界面时,AOD图案可以立即消失,然后手机显示桌面壁纸以及锁屏界面的图标和控件等。
可选的,AOD图案可以逐渐变淡消失;或者可以逐渐缩小为一个点后消失;或者可以放大后消失;例如,可以将AOD图案放大后再分解为雪花状、流星状,爱心状后消失,或者以其他动画效果消失,本申请不做限定。这样,可以呈现给用户更丰富的视觉体验。
(2)、当用户从息屏状态进入锁屏界面时,AOD图案和锁屏壁纸可以呈现连续的动画效果。
示例性的,如图5所示,当手机灭屏(息屏)静置(例如,放置在办公桌上)时,手机可以进行AOD,即显示灭屏界面340。在灭屏界面340的显示区域343内可以显示AOD的显示内容,AOD的显示内容可以包括时间341和从锁屏壁纸提取的AOD图案342。若手机设置了指纹识别,当手机的传感器检测到用户拿起手机、触碰手机或靠近手机时,如图5中的(b)所示,手机可以在灭屏界面340中显示指纹图案344,响应于用户按压电源键(解锁键)348的操作,如图5中的(c)所示,时间341和AOD图案342可以从显示区域343(显示屏的中间位置)转移到显示区域345中的特定位置,显示区域345中的特定位置可以是AOD图案342在锁屏壁纸中的原始位置。而后,如图5中的(d)所示,手机可以扩散亮起锁屏界面350上的壁纸,接着,如图5中的(e)所示,手机可以显示锁屏界面350上的其他信息,例如显示区域349中的信息(包括时间、信号、电量等信息)。这样,当用户点亮手机(从灭屏界面进入解锁界面)时,手机可以显示AOD图案从中间位置回到原始位置(AOD图案在锁屏壁纸中的位置),再扩散亮起锁屏壁纸,再出现锁屏界面的其他信息的快速动画。这种AOD图案与锁屏的内容形成动画的效果可以让用户产生更好的体验。
可选的,进入锁屏界面的方式也可以是靠近手机、触摸手机(例如,双击手机)等,本申请不做限定。无论采用哪种进入锁屏界面的方式,手机都可以显示AOD图案 从中间位置回到原始位置(AOD图案在锁屏壁纸中的位置),再扩散亮起锁屏壁纸,再出现锁屏界面的其他信息的快速动画。这种AOD图案与锁屏的内容形成动画的效果可以让用户产生更好的体验。
可以理解的是,当锁屏壁纸为上文所述的壁纸360,壁纸361、壁纸362或者其他壁纸时,AOD图案可以是根据相应的壁纸确定的,即不同壁纸对应的AOD图案不同,具体的AOD图案可以参考上文的相关描述,在此不做赘述。当用户点亮手机(从灭屏界面进入解锁界面)时,手机可以显示相应的AOD图案从中间位置回到原始位置(AOD图案在锁屏壁纸中的位置),再扩散亮起锁屏壁纸,再出现锁屏界面的其他信息的快速动画。这种AOD图案与锁屏的内容形成动画的效果可以让用户产生更好的体验。
可选的,锁屏界面上的其他图标和/或控件可以采用飞入的方式进入锁屏界面,或者可以采用从淡至深直至正常显示的方式显示出来,或者,或者可以以其他动画效果显示出来,本申请不做限定。这样,可以呈现给用户更丰富的视觉体验。
在一些实施例中,手机可以显示相应的AOD图案从中间位置回到原始位置,然后锁屏壁纸和锁屏界面上的其他图标及控件可以同时显示出来,这样,可以减少用户的等待时间,提高用户体验。
在一些实施例中,AOD图案可以立即消失,然后迅速亮起锁屏壁纸并出现锁屏界面的其他信息,可以节省用户的等待时间,提高用户体验。
(3)、当用户从息屏状态进入锁屏界面后,再进入桌面时,AOD图案和锁屏界面的互动可以参考上述情况(2)中的相关描述,锁屏界面和桌面的互动(即从锁屏界面进入桌面时的显示效果)可以参考现有技术中的呈现方式,例如当用户在锁屏界面输入指纹后,锁屏壁纸和锁屏界面的图标和控件等可以立即消失,然后手机显示桌面壁纸以及桌面的图标和控件等。
可选的,从锁屏界面进入桌面时,锁屏壁纸和锁屏界面的图标等信息逐渐变淡消失;或者可以逐渐缩小为一个点后消失;或者可以放大后消失;或者可以将锁屏壁纸和锁屏界面的图标等信息分解为雪花状、流星状,爱心状后消失,或者以其他动画效果消失,本申请不做限定。这样,可以呈现给用户更丰富的视觉体验。
在一些实施例中,当锁屏壁纸和桌面壁纸相同时,用户选择显示桌面图案或锁屏图案的灭屏显示效果是类似的。即不论用户选择在灭屏时显示桌面图案,还是用户选择在灭屏时显示锁屏图案,AOD图案都是根据同一张图片(该图片可以既作为桌面壁纸也作为锁屏壁纸)的感兴趣区域确定的。
当锁屏壁纸和桌面壁纸相同时,用户从息屏状态进入锁屏界面时的动画效果可以参考上文的相关描述,用户从息屏状态进入桌面时的动画效果也可以参考上文的相关描述在此不做赘述。
需要说明的是,相比锁屏壁纸和桌面壁纸不同的情况,锁屏壁纸和桌面壁纸相同,用户从息屏状态进入锁屏界面后,再进入桌面的动画效果可以是更加连续的。
例如,当从锁屏界面进入桌面时,由于锁屏壁纸和桌面壁纸相同,即显示背景部分可以不变,锁屏界面上的图标等信息可以逐渐消失,桌面的图标等信息可以渐入显示区域,例如从淡至深显示出来,或者以一种动画效果显示出来,本申请不做限定。这样,用户从息屏状态进入锁屏界面后,再进入桌面的动画效果更加连续,用户体验 更高。
下面对本申请实施例提供的灭屏显示方法的具体实现方式进行说明。
当用户开启灭屏显示功能时,响应于用户的操作,如图6所示,手机可以对壁纸(桌面壁纸或锁屏壁纸)进行人脸检测。若检测到人脸,可以生成有机形状,将从壁纸提取的人脸放入有机形状中。若未检测到人脸,可以对壁纸进行显著性检测,若显著性区域满足第一条件,可以进行区域划定(裁剪)和异形边缘拟合,以得到AOD图案;若显著性区域的大小满足第二条件,可以生成有机形状,并可以将从壁纸提取的显著性区域放入有机形状中得到AOD图案。对于有机形状中的图像或异形边缘拟合的图像,可以进行羽化处理,得到AOD图案。可选的,还可以对AOD图案进行渲染处理。
进一步的,如果还需要在进行AOD时显示时间,则可以进一步确定时间控件的颜色,再对时间控件和AOD图案的组合位置进行计算,得到完整的AOD的显示内容。此时,AOD的显示内容可以包括时间控件(下文称为时间)和从壁纸提取的图案(下文简称为AOD图案)。
其中,在检测壁纸中是否存在人脸时,可以采用VJ(Viola-Jones)、多任务卷积神经网络(multi-task convolutional neural network,MTCNN)、FaceBoxes、RetinaFace、CenterFace等人脸检测算法(人脸识别算法)本申请不做限定。
当壁纸中不存在人脸(人脸检测结果为否)时,若显著性区域的大小满足第一条件,在一种可能的设计中,可以对显著性区域进行区域划定,例如可以根据显著性检测的结果对壁纸的显著性区域(也可以称为前景内容区域)进行裁剪得到AOD图案。假设显著性区域高为H,宽为W,手机的屏幕宽为w,第一条件例如可以是H大于40%w和/或W大于30%w。
示例性的,如图7A所示,可以根据不同的矩形框对不同大小的显著性区域进行裁剪。其中,矩形框701的大小为:80%w*60%w(宽*高);矩形框702的大小为:90%w*40%w,矩形框703的大小为:50%w*80%w,矩形框704的大小为:40%w*30%w。
假设显著性区域高为H,宽为W,手机的屏幕宽为w;在W大于90%w的情况下,H大于60%w时,可以采用矩形框701对显著性区域进行裁剪,裁剪后的显著性区域的大小为80%w*60%w;H小于60%w大于40%w时,可以采用矩形框701对显著性区域进行裁剪,裁剪后的显著性区域的大小可以为80%w*H;H小于40%w大于30%w时,可以采用矩形框702对显著性区域进行裁剪,裁剪后的显著性区域的大小可以为90%w*H;H小于30%w时,可以采用矩形框704对显著性区域进行裁剪,裁剪后的显著性区域可以放入有机形状(有机形状参考下文的描述)。
在W大于80%w小于90%w的情况下,H大于60%w时,可以采用矩形框701对显著性区域进行裁剪,裁剪后的显著性区域的大小为80%w*60%w;H小于60%w大于40%w时,可以采用矩形框701对显著性区域进行裁剪,裁剪后的显著性区域的大小可以为80%w*H;H小于40%w大于30%w时,可以不对显著性区域进行裁剪,即显著性区域的大小仍为W*H;H小于30%w,可以采用矩形框704对显著性区域进行裁剪,裁剪后的显著性区域可以放入有机形状。
在W大于50%w小于80%w的情况下,H大于60%w时,可以采用矩形框701对显著性区域进行裁剪,裁剪后的显著性区域的大小为W*60%w;H小于60%w大于40%w,可 以不对显著性区域进行裁剪,即显著性区域的大小仍为W*H。
在W小于50%w大于30%w的情况下,H大于80%w时,可以采用矩形框701对显著性区域进行裁剪,裁剪后的显著性区域的大小为W*80%w;H小于80%w大于40%w,可以不对显著性区域进行裁剪,即显著性区域的大小仍为W*H。
在W小于30%w的情况下,可以采用矩形框704或矩形框703对显著性区域进行裁剪,裁剪后的显著性区域可以放入有机形状。
在另一种可能的设计中,当壁纸中不存在人脸且显著性区域的大小满足第一条件时,即显著性区域较大时,也可以对显著性区域不做裁剪,而对显著性区域进行整体缩小,得到AOD图案。或者,可以对显著性区域裁剪后再进行整体缩小,得到AOD图案。
当壁纸中不存在人脸且显著性区域的大小满足第二条件时,可以生成有机形状,并可以将显著性区域放入有机形状中,得到AOD图案。例如,假设显著性区域高为H,宽为W,手机的屏幕宽为w,第二条件可以是H小于40%w且W小于30%w。
如图7B所示,对显著性区域进行裁剪时,可以纵向做出两条三分线S1和S2,横向做出两条三分线S3和S4,得到四条三分线之间的四个交点X1、X2、X3和X4,横向(左右)选择与显著性区域(白色部分)的重心Z相反的方向(即远离重心的方向),纵向(上下)选择与显著性区域的重心相同的方向(即靠近重心的方向),从而选中一个三分点X2,以选中的三分点X2为中心基于矩形框C(基于上文中说明确定的矩形框)裁剪相应的区域,可以得到AOD图案。
另外,如果检测到壁纸中有两个显著性区域,可以让用户自行选择将哪个显著性区域作为AOD图案,或者手机系统可以根据预设规则确定最终作为AOD图案的显著性区域(即第一显著性区域)。再对该显著性区域(即第一显著性区域)进行处理得到AOD图案,具体过程可以参考上文的相关描述,在此不做赘述。其中,预设规则可以是根据多个显著性区域的显著性值(显著性值用于表征显著性区域的显著性高低)确定一个显著性区域。例如,确定显著性最高的一个显著性区域作为第一显著性区域。
当确定出AOD图案后,为了使得AOD图案的边缘更加平滑圆润,可以对AOD图案的边缘像素块进行异形边缘拟合,用拟合得到的曲线作为最终显示的AOD图案的边缘。
示例性的,如图8所示,可以将AOD图案的像素区块中每两个凸顶点的连线的中点设置为三次贝塞尔曲线的起点和终点,将每个凸顶点与每两个凸顶点的连线的中点之间的连线的中点(即每两个凸顶点的连线的一个四分点)作为三次贝塞尔曲线的控制点,由此形成闭合的贝塞尔曲线。
当壁纸中存在人脸(即人脸检测结果为是)时,可以将人脸所在的区域作为AOD图案。当存在多个人脸时,可以选择面积更大的人脸所在的区域作为AOD图案。并可以根据人脸所在的区域的特征(例如,人脸的朝向等)计算有机形状作为AOD图案的显示边缘,避免直接采用人脸作为AOD的显示边缘存在的用户观感诡异的风险。
或者,当壁纸中不存在人脸且显著性区域的大小满足第二条件时,可以根据显著性区域的特征(例如,显著性区域的重心等)计算有机形状,将显著性区域放入有机形状中作为AOD图案,避免直接采用显著性区域作为AOD图案导致用户观感不好的问题。
如图9中的(a)所示,以O点为圆心作半径为R的圆Y。其中,R的取值范围可以为25%w到30%w,w是手机屏幕的宽度。在圆Y的边上确定A点、B点和C点,A点与圆心O点的纵坐标(y轴坐标)一致,A点与圆心O点的连线以及B点与圆心O点的连线的夹角为120°,B点与圆心O点的连线以及C点与圆心O点的连线的夹角为120°。分别以A点和B点作为起点和终点,以切线L的端点L1和切线M的端点M1为中间点作贝塞尔曲线;并分别以B点和C点作为起点和终点,以切线M的端点M2和切线N的端点N1为中间点作贝塞尔曲线;并分别以C点和A点作为起点和终点,以切线N的端点N2和切线L的端点L2为中间点作贝塞尔曲线,由此形成由三个三阶贝塞尔曲线形成的闭合有机形状J1。其中,切线L是经过A点与圆Y相切的切线,切线L的中点为A点,A点到L1点的长度为R且A点到L2点的长度为R,即切线L的长度为2R。切线M是经过B点与圆Y相切的切线,切线M的中点为A点,B点到M1点的长度为R且B点到M2点的长度为R,即切线M的长度为2R。切线N是经过C点与圆Y相切的切线,切线N的中点为A点,C点到N1点的长度为R且C点到N2点的长度为R,即切线N的长度为2R。
进一步的,如图9中的(b)所示,可以将切线L逆时针进行一定角度的随机倾斜(倾斜角度小于20度,例如,倾斜角度可以为18度)得到切线L’,并且可以将C点与N2之间的线段的长度缩短,缩短范围在2/3R和3/4R之间,例如可以缩短为2/3R),然后分别以A点和B点作为起点和终点,以切线L’的端点L1’和切线M的端点M1为中间点作贝塞尔曲线;并分别以B点和C点作为起点和终点,以切线M的端点M2和切线N的端点N1为中间点作贝塞尔曲线;并分别以C点和A点作为起点和终点,以切线N的端点N2和切线L’的端点L2’为中间点作贝塞尔曲线,此时可以得到有机形状J2,可以将有机形状J2作为有机形状模版。
当确定出有机形状模板后,可以按照如下方式将包含人脸的截图放置到有机形状中。其中,包含人脸的截图是从壁纸中截取的,其布局和壁纸中被截取部分的布局一致。如图10中的(a)-(d)所示,在上下(纵向)布局上,人的头顶与有机形状的顶部边缘之间距离约20%A,例如可以是18%A。其中,A表示有机形的高度。如图10中的(a)和(b)所示,对于人脸朝向为左方(左前方)的人脸,在左右(横向)布局上,人脸的位置位于有机形状的右侧的黄金比例分割线处。可以理解的是,对于人脸朝向为右方(右前方)的人脸,在左右(横向)布局上,人脸的位置位于有机形状的左侧的黄金比例分割线处。如图10中的(c)和(d)所示,对于人脸朝向为正前方的人脸,在左右(横向)布局上,人脸的位置位于有机形状的中间位置(即居中放置)。这样,包含人脸的显示区域和有机形可以更加符合美学构图,可以提高观感。
另外,当人物(人脸)的面积相较于有机形状来说过小(例如,人物的高度小于15%A,例如,为1/10A或1/15A)时,人物可以居中放置,人的头顶与有机形状的顶部边缘之间距离不限定为20%A左右。且对于过小的无人物图片(即显著性区域过小的情况),可以将显著性区域居中放置在有机形状中。
需要说明的是,对于图案不同的壁纸(图片),AOD图案的有机形状可以不同。对于同一个壁纸(图片),每次灭屏时显示的AOD图案的有机形状也可以不同,这样,这样的设计不仅仅会让产品变得多样化,更增加了趣味性,使得AOD的效果更生动, 可以提高用户体验。
进一步的,可以将时间控件与AOD图案组合起来。时间控件与AOD图案可以重叠或者不重叠。当时间控件与AOD图案重叠时,时间控件与AOD图案的组合方式包括以下步骤:
(1)确定时间控件的颜色。可以根据AOD图案的取色结果进行调整得出时间控件的颜色。例如,如图11中的(a)所示,可以用虚线a和虚线b将时间控件(例如,08 08)分为三部分,其中,虚线a的上方部分的颜色可以为白色;虚线a和虚线b之间的部分的颜色可以为AOD图案的主色;虚线b的下方部分的颜色可以为AOD图案的辅色。又例如,如图11中的(b)所示,可以用虚线c和虚线d将时间控件(例如,08 08)分为三部分,其中,虚线c的上方部分的颜色可以为白色;虚线c和虚线d之间的部分的颜色可以为AOD图案的主色;虚线d的下方部分的颜色可以为AOD图案的辅色。
(2)计算时间控件与AOD图案的组合位置。首先,确定AOD图案的质心、重心(中心/几何中心)或对称中心,将时间控件放置在AOD图案的质心,重心或对称中心的相反方向,这样可以达到一种视觉的平衡。
如图12A所示,时间控件可以显示为两排。具体的,如图12A中的(a)、(b)和(d)所示,AOD图案的质心O位于右下区域,因此时间控件可以显示在AOD图案的左上区域,以达到视觉平衡;如图12A中的(c)所示,AOD图案的质心O位于左下区域,因此时间控件可以显示在AOD图案的右上区域,以达到视觉平衡。
如图12B所示,时间控件可以显示为一排。具体的,如图12A中的(a)、(b)和(d)所示,AOD图案的质心O位于右下区域,因此时间控件可以显示在AOD图案的左上区域,以达到视觉平衡;如图12A中的(c)所示,AOD图案的质心O位于左下区域,因此时间控件可以显示在AOD图案的右上区域,以达到视觉平衡。
(3)羽化边缘。可以根据AOD的显示内容的整体风格(包括时间控件的数字字体风格、AOD图案的风格等)设置预设的边缘羽化数值,使得AOD的显示内容看起来更美观。
另外,当时间控件与AOD图案不重叠时,时间控件和AOD图案可以分开显示。例如,如图13所示,时间控件341可以显示在手机屏幕的上方居中位置,AOD图案342可以显示在手机屏幕中间位置。
另外,目前手机通常采用OLED屏幕,可以控制单独的像素点发光,当屏幕显示黑色时,黑色区域不需要发光,可以大大减少耗电量。可以理解的是,AOD设计时需要规避OLED屏特有的烧屏问题,即若干个像素点长时间显示同一个颜色,导致该区域老化影响显示效果。为了更好地延长OLED的使用寿命,可以使AOD的显示内容定时的在一定范围内上下跳动或左右跳动移动位置,即在一个固定的区域内反复移动,这样既不影响视觉观感,又能够有效防止烧屏。
基于本申请实施例提供的方法,当用户点亮手机(从灭屏界面进入解锁界面或桌面)时,手机可以显示AOD图案从中间位置回到原始位置(AOD图案在锁屏壁纸或桌面壁纸中的位置),再扩散亮起锁屏壁纸或桌面壁纸,再出现锁屏界面或桌面上的其他信息的快速动画。这种AOD图案与壁纸形成动画的效果可以让用户产生更好的体验。 并且,基于本申请实施例提供的方法,可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。
如图14所示,本申请实施例提供一种灭屏显示方法,包括:
1401、电子设备检测用户设置的壁纸中的感兴趣区域,感兴趣区域位于壁纸中的第一位置。
其中,用户设置的壁纸包括桌面壁纸或锁屏壁纸。用户设置的壁纸的来源包括电子设备拍摄得到的图片、电子设备下载的图片或电子设备的截图中的至少一种。这样,可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。
可选的,用户也可以设置桌面画报或锁屏画报,即根据预设规律切换不同的壁纸,比如可以每隔预设时间为用户推送一张图片作为桌面壁纸或锁屏壁纸。
在一些实施例中,电子设备可以对壁纸进行人脸检测;当壁纸中存在人脸时,感兴趣区域包括人脸所在的区域;当壁纸中不存在人脸时,电子设备对壁纸进行显著性检测,感兴趣区域包括壁纸中的显著性区域。
1402、电子设备根据感兴趣区域确定AOD图案。
若电子设备检测到人脸,可以生成有机形状,从壁纸中裁剪出人脸区域并放入有机形状中,以得到AOD图案;若未检测到人脸,可以对壁纸进行显著性检测得到第一显著性区域;若第一显著性区域的大小满足第一预设条件,对第一显著性区域进行裁剪,并对裁剪后的第一显著性区域进行异形边缘拟合,以得到AOD图案;若第一显著性区域的大小满足第二预设条件,生成有机形状,并将第一显著性区域放入有机形状中,以得到AOD图案。
可选的,对第一显著性区域进行裁剪包括:对第一显著性区域直接进行裁剪得到AOD图案;或者,对第一显著性区域进行裁剪以及缩小或放大处理得到AOD图案。这样,可以将AOD图案的大小控制在合理范围内,美化AOD图案的显示效果,从而提高用户观感。
可选的,对壁纸进行显著性检测得到第一显著性区域包括:当壁纸包括多个显著性区域时,将用户选择的一个显著性区域作为第一显著性区域;或者,根据预设规则确定第一显著性区域;其中,预设规则包括根据多个显著性区域中每个显著性区域的显著性高低确定第一显著性区域。
可选的,对裁剪后的第一显著性区域进行异形边缘拟合包括:基于贝塞尔曲线对裁剪后的第一显著性区域的边缘进行拟合。其中,贝塞尔曲线是一种平滑的曲线,基于贝塞尔曲线对裁剪后的第一显著性区域的边缘进行拟合可以使第一显著性区域的边缘更加平滑,从而使得AOD图案的边缘更加平滑,美化AOD图案的显示效果,提高用户观感。
可选的,若检测到人脸,生成有机形状,包括:根据人脸的特征确定有机形状,人脸的特征包括人脸的朝向;若第一显著性区域的大小满足第二预设条件,生成有机形状,包括:根据第一显著性区域的特征确定有机形状,第一显著性区域的特征包括第一显著性区域的重心、质心或对称中心所在的方向。这样,可以使得包含有机形状的AOD图案更加符合美学构图,可以提高观感。
可选的,有机形状是由贝塞尔曲线组成的。贝塞尔曲线是一种平滑的曲线,有机形状也是一种柔和的形状,根据有机形状得到的AOD图案也会使得用户观感更好。
可选的,从壁纸中裁剪出人脸区域并放入有机形状中包括:人脸的顶部与有机形状的顶部之间间隔预设距离,且人脸位于有机形状的黄金比例分割线处;或者人脸居中放置于有机形状中。这样,包含人脸的显示区域和有机形可以更加符合美学构图,可以提高观感。
可选的,可以对AOD图案的边缘进行羽化处理。这样,可以使AOD图案的边缘更加平滑,美化AOD图案的显示效果,从而可以提高用户观感。
1403、当电子设备处于灭屏状态时,在显示屏的第二位置显示AOD图案,第二位置是预设的。
可选的,执行步骤1403之前,电子设备还可以接收用户设置壁纸的操作,以及用户确定进行灭屏显示的操作。用户设置壁纸并设置进行灭屏显示后,电子设备可以根据用户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。
可选的,电子设备处于灭屏状态时,电子设备还显示时间、短信提醒、未接来电提醒、应用程序的消息提醒、天气或电量中的至少一种信息。这样,可以使得灭屏时的显示内容更丰富,可以为用户提示更多的信息,防止用户错过重要信息,可以提高用户体验。
在一些实施例中,若电子设备处于灭屏状态时,电子设备还显示时间,时间的颜色是根据AOD图案的颜色确定的,且时间位于AOD图案的质心、重心或对称中心的相反方向。这样可以达到一种视觉的平衡。
可选的,AOD图案从第二位置移动至第三位置包括:时间与AOD图案同时移动,时间在移动过程中逐渐消失,或者当AOD图案移动到第三位置后时间消失。这样的设计使得产品变得多样化,增加了趣味性,使得AOD的效果更生动,可以提高用户体验。
1404、响应于用户点亮显示屏的操作,AOD图案从显示屏的第二位置移动至显示屏的第三位置,第三位置是根据感兴趣区域在壁纸中的第一位置确定的。
应该理解的是,当壁纸铺满显示屏时,第一位置可以与第三位置相同;当壁纸等比例缩小显示时,第三位置可以是参考第一位置确定的。比如,感兴趣区域位于壁纸的左下角,那么第三位置就是指显示屏的左下角。
1405、电子设备显示壁纸。
在一些实施例中,电子设备先显示壁纸,再显示壁纸对应的其他信息;当壁纸为锁屏壁纸时,壁纸对应的其他信息包括锁屏界面上的应用图标和控件;当壁纸为桌面壁纸时,壁纸对应的其他信息包括桌面上的应用图标和控件。这种先亮起壁纸,再出现壁纸对应的其他信息的快速动画可以让用户产生更好的体验。
需要说明的是,图14所述的实施例中的电子设备可以为前述实施例中的手机。图14所述的实施例中未详述的部分,可以参考前述实施例,在此不做赘述。
基于本申请实施例提供的方法,电子设备检测用户设置的壁纸中的感兴趣区域,感兴趣区域位于壁纸中的第一位置;电子设备根据感兴趣区域确定灭屏显示AOD图案,当电子设备处于灭屏状态时,在显示屏的第二位置显示AOD图案。这样,可以根据用 户设定的任意桌面壁纸或者锁屏壁纸确定AOD的显示内容,能够满足用户的个性化需求,提高用户体验。并且,当用户点亮电子设备的显示屏(从灭屏界面进入解锁界面或桌面)时,电子设备可以显示AOD图案从预设位置(第二位置)转移到第三位置(根据感兴趣区域在锁屏壁纸或桌面壁纸中的位置确定的),再扩散亮起壁纸的动画。这种AOD图案与壁纸形成动画的效果可以让用户产生更好的体验。
本申请实施例还提供一种芯片系统,如图15所示,该芯片系统包括至少一个处理器1501和至少一个接口电路1502。处理器1501和接口电路1502可通过线路互联。例如,接口电路1502可用于从其它装置(例如,电子设备的存储器)接收信号。又例如,接口电路1502可用于向其它装置(例如处理器1501)发送信号。
例如,接口电路1502可读取电子设备中存储器中存储的指令,并将该指令发送给处理器2101。当所述指令被处理器2101执行时,可使得电子设备(如图2所示的电子设备200)执行上述实施例中的各个步骤。
当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当所述计算机指令在电子设备(如图2所示的电子设备200)上运行时,使得电子设备200执行上述方法实施例中电子设备执行的各个功能或者步骤。
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例中电子设备执行的各个功能或者步骤。
本申请实施例还提供了一种灭屏显示处理装置,所述装置可以按照功能划分为不同的逻辑单元或模块,各单元或模块执行不同的功能,以使得所述装置执行上述方法实施例中电子设备执行的各个功能或者步骤。
本申请另一些实施例提供了一种电子设备(如图2所示的电子设备200),该电子设备可以包括:通信模块、存储器和一个或多个处理器。该通信模块、存储器与处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成 的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (19)

  1. 一种灭屏显示方法,其特征在于,包括:
    电子设备检测用户设置的壁纸中的感兴趣区域,所述感兴趣区域位于所述壁纸中的第一位置;
    所述电子设备根据所述感兴趣区域确定灭屏显示AOD图案;
    当所述电子设备处于灭屏状态时,在显示屏的第二位置显示所述AOD图案,所述第二位置是预设的;
    响应于所述用户点亮所述显示屏的操作,所述AOD图案从所述显示屏的所述第二位置移动至所述显示屏的第三位置,所述第三位置是根据所述感兴趣区域在所述壁纸中的所述第一位置确定的;
    所述电子设备显示所述壁纸。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收所述用户设置所述壁纸的操作;
    接收所述用户确定进行灭屏显示的操作。
  3. 根据权利要求1或2所述的方法,其特征在于,
    所述用户设置的壁纸包括桌面壁纸或锁屏壁纸。
  4. 根据权利要求3所述的方法,其特征在于,所述电子设备显示所述壁纸包括:
    所述电子设备先显示所述壁纸,再显示所述壁纸对应的其他信息;
    当所述壁纸为锁屏壁纸时,所述壁纸对应的其他信息包括锁屏界面上的应用图标和控件;当所述壁纸为桌面壁纸时,所述壁纸对应的其他信息包括桌面上的应用图标和控件。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述电子设备检测用户设置的壁纸中的感兴趣区域包括:
    所述电子设备对所述壁纸进行人脸检测;
    当所述壁纸中存在人脸时,所述感兴趣区域包括所述人脸所在的区域;
    当所述壁纸中不存在人脸时,所述电子设备对所述壁纸进行显著性检测,所述感兴趣区域包括所述壁纸中的显著性区域。
  6. 根据权利要求5所述的方法,其特征在于,所述电子设备根据所述感兴趣区域确定灭屏显示AOD图案包括:
    若检测到人脸,生成有机形状,从所述壁纸中裁剪出人脸区域并放入所述有机形状中,以得到所述AOD图案;
    若未检测到人脸,对所述壁纸进行显著性检测得到第一显著性区域;
    若所述第一显著性区域的大小满足第一预设条件,对所述第一显著性区域进行裁剪,并对裁剪后的所述第一显著性区域进行异形边缘拟合,以得到所述AOD图案;
    若所述第一显著性区域的大小满足第二预设条件,生成有机形状,并将所述第一显著性区域放入所述有机形状中,以得到所述AOD图案。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    对所述AOD图案的边缘进行羽化处理。
  8. 根据权利要求6或7所述的方法,其特征在于,所述对所述第一显著性区域进 行裁剪包括:
    对所述第一显著性区域直接进行裁剪得到所述AOD图案;或者
    对所述第一显著性区域进行裁剪以及缩小或放大处理得到所述AOD图案。
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述对所述壁纸进行显著性检测得到第一显著性区域包括:
    当所述壁纸包括多个显著性区域时,将所述用户选择的一个显著性区域作为所述第一显著性区域;或者,根据预设规则确定所述第一显著性区域;其中,所述预设规则包括根据所述多个显著性区域中每个显著性区域的显著性高低确定所述第一显著性区域。
  10. 根据权利要求6-9任一项所述的方法,其特征在于,所述对裁剪后的所述第一显著性区域进行异形边缘拟合包括:
    基于贝塞尔曲线对所述裁剪后的所述第一显著性区域的边缘进行拟合。
  11. 根据权利要求6-10任一项所述的方法,其特征在于,所述若检测到人脸,生成有机形状,包括:
    根据所述人脸的特征确定所述有机形状,所述人脸的特征包括所述人脸的朝向;
    所述若所述第一显著性区域的大小满足第二预设条件,生成有机形状,包括:
    根据所述第一显著性区域的特征确定有机形状,所述第一显著性区域的特征包括所述第一显著性区域的重心、质心或对称中心所在的方向。
  12. 根据权利要求11所述的方法,其特征在于,
    所述有机形状是由贝塞尔曲线组成的。
  13. 根据权利要求6-12任一项所述的方法,其特征在于,所述从所述壁纸中裁剪出人脸区域并放入所述有机形状中包括:
    所述人脸的顶部与所述有机形状的顶部之间间隔预设距离,且所述人脸位于所述有机形状的黄金比例分割线处;或者
    所述人脸居中放置于所述有机形状中。
  14. 根据权利要求1-13任一项所述的方法,其特征在于,
    所述电子设备处于灭屏状态时,所述电子设备还显示时间、短信提醒、未接来电提醒、应用程序的消息提醒、天气或电量中的至少一种信息。
  15. 根据权利要求14所述的方法,其特征在于,
    若所述电子设备处于灭屏状态时,所述电子设备还显示时间,所述时间的颜色是根据所述AOD图案的颜色确定的,且所述时间位于所述AOD图案的质心、重心或对称中心的相反方向。
  16. 根据权利要求15所述的方法,其特征在于,所述AOD图案从所述显示屏的所述第二位置移动至所述显示屏的第三位置包括:
    所述时间与所述AOD图案同时移动,所述时间在移动过程中逐渐消失,或者当所述AOD图案移动到所述第三位置后所述时间消失。
  17. 根据权利要求1-16任一项所述的方法,其特征在于,
    所述用户设置的壁纸的来源包括所述电子设备拍摄得到的图片、所述电子设备下载的图片或所述电子设备的截图中的至少一种。
  18. 一种电子设备,其特征在于,所述电子设备包括:无线通信模块、存储器和一个或多个处理器;所述无线通信模块、所述存储器与所述处理器耦合;
    其中,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述计算机指令被所述处理器执行时,使得所述电子设备执行如权利要求1-17中任一项所述的方法。
  19. 一种计算机可读存储介质,其特征在于,包括计算机指令;
    当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-17中任一项所述的方法。
PCT/CN2021/140234 2020-12-30 2021-12-21 一种灭屏显示方法和电子设备 WO2022143313A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21914052.2A EP4254150A4 (en) 2020-12-30 2021-12-21 PERMANENT DISPLAY METHOD AND ELECTRONIC DEVICE
US18/259,913 US20240069936A1 (en) 2020-12-30 2021-12-21 Always ON Display Method and Electronic Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011624908.1A CN114690984B (zh) 2020-12-30 2020-12-30 一种灭屏显示方法和电子设备
CN202011624908.1 2020-12-30

Publications (1)

Publication Number Publication Date
WO2022143313A1 true WO2022143313A1 (zh) 2022-07-07

Family

ID=82133646

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/140234 WO2022143313A1 (zh) 2020-12-30 2021-12-21 一种灭屏显示方法和电子设备

Country Status (4)

Country Link
US (1) US20240069936A1 (zh)
EP (1) EP4254150A4 (zh)
CN (1) CN114690984B (zh)
WO (1) WO2022143313A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115904576A (zh) * 2022-10-28 2023-04-04 荣耀终端有限公司 一种应用壁纸的方法、电子设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215156A1 (zh) * 2016-06-17 2017-12-21 中兴通讯股份有限公司 壁纸处理方法及装置
CN110012153A (zh) * 2019-02-22 2019-07-12 华为技术有限公司 灭屏显示的方法和电子设备
CN110417986A (zh) * 2018-04-28 2019-11-05 华为技术有限公司 一种灭屏显示的方法及电子设备
CN111108506A (zh) * 2018-03-26 2020-05-05 华为技术有限公司 一种提示信息的显示方法及电子设备
CN111857913A (zh) * 2020-07-03 2020-10-30 Oppo广东移动通信有限公司 息屏图像生成方法、装置、电子设备和可读存储介质
CN112083865A (zh) * 2020-09-24 2020-12-15 Oppo广东移动通信有限公司 图像生成方法和装置、终端和可读存储介质
CN112114721A (zh) * 2019-06-21 2020-12-22 北京小米移动软件有限公司 息屏界面的应用方法、装置、设备及可读存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5014110B2 (ja) * 2007-12-27 2012-08-29 三星電子株式会社 撮像装置及び背景画像生成方法
CN109343759B (zh) * 2018-10-25 2021-01-08 维沃移动通信有限公司 一种息屏显示的控制方法及终端
CN111783174A (zh) * 2020-07-06 2020-10-16 深圳创维-Rgb电子有限公司 息屏显示控制方法、装置、终端设备和可读存储介质
CN112055243B (zh) * 2020-08-20 2023-03-24 深圳创维-Rgb电子有限公司 一种双息屏显示的控制方法、终端及存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215156A1 (zh) * 2016-06-17 2017-12-21 中兴通讯股份有限公司 壁纸处理方法及装置
CN111108506A (zh) * 2018-03-26 2020-05-05 华为技术有限公司 一种提示信息的显示方法及电子设备
CN110417986A (zh) * 2018-04-28 2019-11-05 华为技术有限公司 一种灭屏显示的方法及电子设备
CN110012153A (zh) * 2019-02-22 2019-07-12 华为技术有限公司 灭屏显示的方法和电子设备
CN112114721A (zh) * 2019-06-21 2020-12-22 北京小米移动软件有限公司 息屏界面的应用方法、装置、设备及可读存储介质
CN111857913A (zh) * 2020-07-03 2020-10-30 Oppo广东移动通信有限公司 息屏图像生成方法、装置、电子设备和可读存储介质
CN112083865A (zh) * 2020-09-24 2020-12-15 Oppo广东移动通信有限公司 图像生成方法和装置、终端和可读存储介质

Also Published As

Publication number Publication date
CN114690984A (zh) 2022-07-01
EP4254150A1 (en) 2023-10-04
US20240069936A1 (en) 2024-02-29
EP4254150A4 (en) 2024-06-05
CN114690984B (zh) 2024-04-30

Similar Documents

Publication Publication Date Title
CN110929651B (zh) 图像处理方法、装置、电子设备及存储介质
CN110543289B (zh) 控制音量的方法和电子设备
CN114787773A (zh) 应用于具有折叠屏的电子设备的显示方法及电子设备
CN108803896B (zh) 控制屏幕的方法、装置、终端及存储介质
WO2021036585A1 (zh) 一种柔性屏显示方法和电子设备
CN112328130B (zh) 显示处理方法及电子设备
US20220269463A1 (en) Display method and electronic device
CN112907725B (zh) 图像生成、图像处理模型的训练、图像处理方法和装置
CN110263617B (zh) 三维人脸模型获取方法及装置
CN112337105B (zh) 虚拟形象生成方法、装置、终端及存储介质
CN105427369A (zh) 移动终端及其三维形象的生成方法
WO2023142915A1 (zh) 图像处理方法、装置、设备及存储介质
CN110738972B (zh) 用于墨水屏的页面刷新方法及装置
CN111105474B (zh) 字体绘制方法、装置、计算机设备及计算机可读存储介质
WO2022143313A1 (zh) 一种灭屏显示方法和电子设备
CN114513574A (zh) 界面显示方法、电子设备及存储介质
CN112822544B (zh) 视频素材文件生成方法、视频合成方法、设备及介质
CN115145436A (zh) 一种图标处理方法及电子设备
CN113033341A (zh) 图像处理方法、装置、电子设备及存储介质
WO2023040775A1 (zh) 一种预览方法、电子设备及系统
CN114972011A (zh) 图像编辑方法、装置、终端及存储介质
CN117409119A (zh) 基于虚拟形象的画面显示方法、装置以及电子设备
CN116225271A (zh) 信息显示方法、装置、电子设备及计算机可读存储介质
CN111381765A (zh) 文本框的显示方法、装置、计算机设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21914052

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18259913

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2021914052

Country of ref document: EP

Effective date: 20230627

NENP Non-entry into the national phase

Ref country code: DE